]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Use PIC relocation in ALIAS_IMPL
[thirdparty/glibc.git] / ChangeLog
1 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
2 H.J. Lu <hongjiu.lu@intel.com>
3
4 [BZ #19590]
5 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
6 relocation.
7
8 2016-02-15 Carlos O'Donell <carlos@redhat.com>
9
10 [BZ #18665]
11 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
12 *herrno_p.
13 (gaih_getanswer): Document functional behviour. Return tryagain
14 if any result is tryagain.
15 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
16 when freed.
17 * resolv/res_send.c: Add copyright text.
18 (__libc_res_nsend): Document that MAXPACKET is expected.
19 (send_vc): Document. Remove buffer reuse.
20 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
21 size of the buffer. Add Dprint for truncated UDP buffer.
22
23 2016-02-14 Carlos O'Donell <carlos@redhat.com>
24
25 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
26 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
27 * INSTALL: Regenerate.
28
29 2016-02-14 Jakub Jelinek <jakub@redhat.com>
30 Jonathan Wakely <jwakely@redhat.com>
31 Carlos O'Donell <carlos@redhat.com>
32
33 [BZ 19439]
34 * math/Makefile (tests): Add test-math-isinff.
35 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
36 * math/bits/mathcalls.h [__USE_MISC]: Use
37 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
38 functions not in C++11 and which don't conflict e.g. isinff,
39 isinfl etc.
40 * math/test-math-isinff.cc: New file.
41
42 2016-02-12 Florian Weimer <fweimer@redhat.com>
43
44 * misc/bug18240.c (do_test): Set RLIMIT_AS.
45
46 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
47
48 [BZ #19529]
49 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
50
51 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
52
53 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
54
55 2016-02-01 Joseph Myers <joseph@codesourcery.com>
56
57 [BZ #19550]
58 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
59 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
60 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
61 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
62 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
63 New syscall entry.
64 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
65 New syscall entry.
66 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
67 syscall entry.
68
69 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
70
71 [BZ #18240]
72 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
73 unsigned int wraparound.
74
75 2016-01-27 Florian Weimer <fweimer@redhat.com>
76
77 [BZ #18240]
78 * misc/bug18240.c: New test.
79 * misc/Makefile (tests): Add it.
80
81 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
82 Joseph Myers <joseph@codesourcery.com>
83
84 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
85 load in branch delay slot when less than a word of input left.
86
87 2016-01-27 Andreas Schwab <schwab@suse.de>
88
89 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
90 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
91 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
92 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
93
94 2016-01-26 David S. Miller <davem@davemloft.net>
95
96 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
97
98 2016-01-25 David S. Miller <davem@davemloft.net>
99
100 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
101 __sqrtl_finite.
102 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
103 instead using versioned_symbol.
104 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
105 of entries.
106
107 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
108 __sqrtl_finite to GLIBC_2.23
109
110 2016-01-25 Ricchard Henderson <rth@redhat.com>
111
112 * sysdeps/alpha/fpu/libm-test-ulps: Update.
113
114 2016-01-25 Andreas Schwab <schwab@suse.de>
115
116 [BZ #17514]
117 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
118 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
119 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
120 * nptl/tst-mutex-errorcheck.c: New file.
121
122 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
123
124 [BZ #18560]
125 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
126 (IPCOP_semop): Likewise.
127 (IPCOP_semget): Likewise.
128 (IPCOP_semctl): Likewise.
129 (IPCOP_msgsnd): Likewise.
130 (IPCOP_msgrcv): Likewise.
131 (IPCOP_msgget): Likewise.
132 (IPCOP_msgctl): Likewise.
133 (IPCOP_shmat): Likewise.
134 (IPCOP_shmdt): Likewise.
135 (IPCOP_shmget): Likewise.
136 (IPCOP_shmctl): Likewise.
137
138 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
139
140 * string/tst-endian.c: Include <libc-internal.h>.
141 (do_test): Ignore tautological-compare warnings around
142 "htobeXX (beXXtoh (i)) != i" and
143 "htoleXX (leXXtoh (i)) != i" if-statements.
144
145 2016-01-24 David S. Miller <davem@davemloft.net>
146
147 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
148 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
149 alias.
150 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
151 __sqrtl_finite.
152
153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
154
155 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
156
157 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
158 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
159 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
160
161 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
162
163 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
164 (thread_func): Use new function to simplify barrier check.
165 (do_test): Use new function to simplify checking barrier exit
166 code, and actually join the child thread.
167
168 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
169
170 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
171 semicolon.
172 (__libc_tend): Likewise.
173 (__libc_tabort): Likewise.
174
175 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
176
177 * sysdeps/nios2/libm-test-ulps: Update.
178 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
179 (__gtsf2): Likewise.
180 (__unorddf2): Likewise.
181 (__unordsf2): Likewise.
182 (__ledf2): Likewise.
183
184 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
185
186 * nis/nis_table.c (__follow_path): Disable diagnostic for
187 uninitialized variable that is a false positive for gcc 4.7.
188 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
189
190 2016-01-20 Roland McGrath <roland@hack.frob.com>
191
192 * sysdeps/nacl/lowlevellock-futex.h
193 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
194 Always evaluate PRIVATE argument.
195
196 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
197
198 [BZ #19490]
199 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
200 (pthread_cond_broadcast): Use ENTRY/END
201 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
202 (pthread_cond_signal): Likewise
203 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
204 Likewise
205 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
206 Likewise
207 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
208 Likewise
209
210 2016-01-20 Joseph Myers <joseph@codesourcery.com>
211
212 * sysdeps/ieee754/dbl-64/s_finite.c
213 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
214 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
215 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
216 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
217 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
218
219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
220 (__gtsf2): Add as optional for libc.so.
221 (__unordsf2): Likewise.
222 (__signbit): Remove for libc.so.
223 (__signbitl): Likewise.
224
225 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
226
227 * iconvdata/bug-iconv11.c (test_ibm93x):
228 Use %zu printf format specifier for size_t argument.
229
230 2016-01-19 Joseph Myers <joseph@codesourcery.com>
231
232 * math/gen-libm-test.pl (parse_ulps): Do not reduce
233 already-recorded ulps.
234 * sysdeps/arm/libm-test-ulps: Regenerated.
235 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
236 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
237 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
238
239 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
240 Paul Pluzhnikov <ppluzhnikov@google.com>
241
242 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
243 assembler not supporting AVX-512.
244
245 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
246
247 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
248
249 2016-01-18 Joseph Myers <joseph@codesourcery.com>
250
251 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
252 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
253
254 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
255
256 * sysdeps/arm/libm-test-ulps: Regenerated.
257
258 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
259
260 [BZ #19451]
261 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
262
263 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
264
265 [BZ #19486]
266 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
267 * sysdeps/generic/fix-fp-int-convert-overflow.h
268 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
269 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
270 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
271 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
272 Likewise.
273 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
274 Avoid conversions to long int where inexact exceptions
275 could be raised.
276 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
277 Likewise.
278 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
279 Avoid conversions to long long int where inexact exceptions
280 could be raised.
281 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
282 Likewise.
283
284 2016-01-17 Mike Frysinger <vapier@gentoo.org>
285
286 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
287 * configure: Regenerated.
288
289 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
290
291 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
292
293 2016-01-16 Mike Frysinger <vapier@gentoo.org>
294
295 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
296 outside of comment.
297
298 2016-01-15 Torvald Riegel <triegel@redhat.com>
299
300 * nptl/tst-barrier1.c: Add description on first line.
301 * nptl/tst-barrier2.c: Likewise.
302 * nptl/tst-barrier3.c: Likewise.
303 * nptl/tst-barrier4.c: Likewise.
304 * nptl/tst-barrier5.c: Likewise.
305
306 2016-01-15 Torvald Riegel <triegel@redhat.com>
307
308 [BZ #18868]
309 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
310
311 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
312
313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
314 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
315 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
316 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
317 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
318 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
319 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
320 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
321 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
322 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
323 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
324
325 2016-01-15 Torvald Riegel <triegel@redhat.com>
326
327 [BZ #13065]
328 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
329 new implementation.
330 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
331 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
332 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
333 (BARRIER_IN_THRESHOLD): New macro.
334 * nptl/pthread_barrierattr_setpshared.c
335 (pthread_barrierattr_setpshared): Clean up.
336 * nptl/tst-barrier4.c: Correct comment.
337 * nptl/tst-barrier5.c: New file.
338 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
339 (gen-as-const-headers): Remove lowlevelbarrier.sym.
340 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
341 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
342 * nptl/lowlevelbarrier.sym: Remove.
343 * nptl/DESIGN-barrier.txt: Remove.
344 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
345 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
346 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
347 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
348 error.
349 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
350 implementation.
351
352 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
353
354 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
355 (do_child): Mask SIGRTMIN while thr is running.
356
357 2016-01-15 Martin Sebor <msebor@redhat.com>
358
359 [BZ #19432]
360 * iconvdata/Makefile: Add bug-iconv11.
361 * iconvdata/bug-iconv11.c: New test.
362 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
363 * iconvdata/ibm933.c: Same.
364 * iconvdata/ibm935.c: Same.
365 * iconvdata/ibm937.c: Same.
366 * iconvdata/ibm939.c: Same.
367
368 2016-01-15 Martin Sebor <msebor@redhat.com>
369
370 [BZ #19443]
371 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
372 [DEBUG] (_ufc_set_bits): Declare used.
373 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
374 [DEBUG] (print_all): Declare used.
375 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
376 operands of the ternary ?: expression to target type.
377 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
378 calling the undeclared abort.
379 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
380
381 2016-01-15 Martin Sebor <msebor@redhat.com>
382
383 [BZ #18755]
384 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
385 warnings.
386 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
387 (__gai_create_helper_thread): Same.
388 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
389 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
390 to suppress -Wmaybe-uninitialized warnings.
391
392 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
393
394 [BZ #19465]
395 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
396 inside if.
397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
398 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
399 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
400
401 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
402
403 [BZ #19466]
404 * time/tst-mktime2.c (time_t_max): Removed.
405 (time_t_min): Likewise.
406 (TYPE_SIGNED): New.
407 (TYPE_MINIMUM): Likewise.
408 (TYPE_MAXIMUM): Likewise.
409 (TIME_T_MIN): Likewise.
410 (TIME_T_MAX): Likewise.
411 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
412 and TIME_T_MIN.
413 (do_test): Likewise.
414
415 2016-01-14 Amit Pawar <amit.pawar@amd.com>
416
417 [BZ #19467]
418 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
419 index_Fast_Unaligned_Load flag for Excavator family CPUs.
420
421 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
422
423 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
424
425 2016-01-13 Carlos O'Donell <carlos@redhat.com>
426
427 * benchtests/Makefile (PYTHON): Define.
428 (bench-func): Use $(PYTHON) to run python scripts.
429 ($(objpfx)bench-%.c): Likewise.
430
431 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
432
433 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
434 leading slash when `file_name' is "/".
435
436 2016-01-12 Joseph Myers <joseph@codesourcery.com>
437
438 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
439 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
440 Likewise.
441 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
442 Likewise.
443 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
444 Likewise.
445 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
446 enum constant and macro.
447 (PTRACE_SETSIGMASK): Likewise.
448 (PTRACE_SECCOMP_GET_FILTER): Likewise.
449 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
450 (PTRACE_GETSIGMASK): Likewise.
451 (PTRACE_SETSIGMASK): Likewise.
452 (PTRACE_SECCOMP_GET_FILTER): Likewise.
453 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
454 Likewise.
455 (PTRACE_SETSIGMASK): Likewise.
456 (PTRACE_SECCOMP_GET_FILTER): Likewise.
457 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
458 (PTRACE_GETSIGMASK): Likewise.
459 (PTRACE_SETSIGMASK): Likewise.
460 (PTRACE_SECCOMP_GET_FILTER): Likewise.
461 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
462 Likewise.
463 (PTRACE_SETSIGMASK): Likewise.
464 (PTRACE_SECCOMP_GET_FILTER): Likewise.
465 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
466 Likewise.
467 (PTRACE_SETSIGMASK): Likewise.
468 (PTRACE_SECCOMP_GET_FILTER): Likewise.
469 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
470 Likewise.
471 (PTRACE_SETSIGMASK): Likewise.
472 (PTRACE_SECCOMP_GET_FILTER): Likewise.
473
474 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
475 Adhemerval Zanella <adhemerval.zanella@linaro.org>
476
477 [BZ #19439]
478 * math/bits/mathcalls.h
479 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
480 prototype.
481 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
482
483 2016-01-11 Andreas Schwab <schwab@suse.de>
484
485 [BZ #19253]
486 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
487 cache when TZDEFRULES was used.
488 * time/tst-tzname.c: New file.
489 * time/Makefile (test): Add tst-tzname.
490 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
491 * timezone/Makefile (test-zones): Add $(posixrules-file).
492 ($(testdata)/$(posixrules-file)): New rule.
493
494 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
495
496 Fix doc quoting problems with Texinfo 5
497 Without this change, in the info file output, Texinfo 5 quotes code
498 in text with undirected single quotes 'like this' and generates
499 code examples that with many PDF readers cannot be cut out of PDFs
500 and pasted into code.
501 * manual/libc.texinfo: Configure the libc manual like the GNU
502 Emacs manual, by using @documentencoding and setting
503 txicodequoteundirected and txicodequotebacktick. This way,
504 Texinfo 5 quotes code in text with directed single quotes ‘like
505 this’ and produces examples that can be cut out of PDFs. This
506 change causes Texinfo 5 to generate info files that contain UTF-8
507 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
508 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
509
510 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
511
512 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
513 __libc_tabort, __libc_tend): New wrappers that enforce compiler
514 barriers to their respective compiler built-ins.
515 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
516 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
517 * sysdeps/powerpc/sysdep.h: Likewise.
518 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
519 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
520 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
521
522 2016-01-08 Marko Myllynen <myllynen@redhat.com>
523
524 * scripts/config.guess: Revert previous shebang change.
525 * scripts/config.sub: Likewise.
526 * scripts/mkinstalldirs: Likewise.
527
528 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
529
530 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
531 PPC_FEATURE2_HAS_IEEE128.
532 * sysdeps/powerpc/dl-procinfo.c:
533 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
534
535 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
536
537 [BZ #19415]
538 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
539 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
540 (_dl_lookup_address): Rewrite using function resolver trampoline.
541 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
542 two bits in address.
543
544 2016-01-07 Mike Frysinger <vapier@gentoo.org>
545
546 * longlong.h: Change !__SHMEDIA__ to
547 (!defined (__SHMEDIA__) || !__SHMEDIA__).
548 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
549
550 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
551 Joseph Myers <joseph@codesourcery.com>
552 Mark Shinwell <shinwell@codesourcery.com>
553 Andrew Stubbs <ams@codesourcery.com>
554 Rich Felker <dalias@libc.org>
555
556 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
557
558 2016-01-07 Richard Henderson <rth@redhat.com>
559
560 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
561
562 2016-01-07 Mike Frysinger <vapier@gentoo.org>
563
564 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
565 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
566 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
567 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
568 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
569
570 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
571 Joseph Myers <joseph@codesourcery.com>
572
573 * timezone/private.h: Update from tzcode 2015g.
574 * timezone/tzfile.h: Likewise.
575 * timezone/tzselect.ksh: Likewise.
576 * timezone/zdump.c: Likewise.
577 * timezone/zic.c: Likewise.
578 * timezone/ialloc.c: Remove file.
579 * timezone/scheck.c: Likewise.
580 * timezone/Makefile (extra-objs): Remove variable.
581 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
582 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
583 -Wno-maybe-uninitialized.
584 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
585 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
586 (CFLAGS-ialloc.c): Remove variable.
587 (CFLAGS-scheck.c): Likewise.
588 * timezone/README: Update list of files from tzcode.
589
590 2016-01-07 Khem Raj <raj.khem@gmail.com>
591
592 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
593 instead of __fxprintf when _LIBC is undefined.
594
595 2016-01-07 Marko Myllynen <myllynen@redhat.com>
596
597 * catgets/test-gencat.sh: Remove space after shebang.
598 * conform/GlibcConform.pm: Likewise.
599 * conform/check-header-lists.sh: Likewise.
600 * conform/conformtest.pl: Likewise.
601 * conform/linknamespace.pl: Likewise.
602 * conform/list-header-symbols.pl: Likewise.
603 * debug/catchsegv.sh: Likewise.
604 * elf/genrtldtbl.awk: Likewise.
605 * elf/tst-pathopt.sh: Likewise.
606 * elf/tst-rtld-load-self.sh: Likewise.
607 * grp/tst_fgetgrent.sh: Likewise.
608 * iconvdata/gen-8bit-gap-1.sh: Likewise.
609 * iconvdata/gen-8bit-gap.sh: Likewise.
610 * iconvdata/gen-8bit.sh: Likewise.
611 * iconvdata/run-iconv-test.sh: Likewise.
612 * intl/tst-gettext.sh: Likewise.
613 * intl/tst-gettext2.sh: Likewise.
614 * intl/tst-gettext4.sh: Likewise.
615 * intl/tst-gettext6.sh: Likewise.
616 * intl/tst-translit.sh: Likewise.
617 * io/ftwtest-sh: Likewise.
618 * libio/test-freopen.sh: Likewise.
619 * locale/gen-translit.pl: Likewise.
620 * malloc/tst-mtrace.sh: Likewise.
621 * manual/check-safety.sh: Likewise.
622 * manual/libc-texinfo.sh: Likewise.
623 * manual/tsort.awk: Likewise.
624 * manual/xtract-typefun.awk: Likewise.
625 * nptl/tst-cancel-wrappers.sh: Likewise.
626 * nptl/tst-tls6.sh: Likewise.
627 * posix/globtest.sh: Likewise.
628 * posix/tst-getconf.sh: Likewise.
629 * posix/wordexp-tst.sh: Likewise.
630 * scripts/check-c++-types.sh: Likewise.
631 * scripts/check-local-headers.sh: Likewise.
632 * scripts/config.guess: Likewise.
633 * scripts/config.sub: Likewise.
634 * scripts/cpp: Likewise.
635 * scripts/cross-test-ssh.sh: Likewise.
636 * scripts/documented.sh: Likewise.
637 * scripts/evaluate-test.sh: Likewise.
638 * scripts/gen-libc-abis: Likewise.
639 * scripts/gen-sorted.awk: Likewise.
640 * scripts/list-fixed-bugs.py: Likewise.
641 * scripts/merge-test-results.sh: Likewise.
642 * scripts/mkinstalldirs: Likewise.
643 * scripts/rellns-sh: Likewise.
644 * scripts/test-installation.pl: Likewise.
645 * scripts/update-copyrights: Likewise.
646 * stdio-common/tst-printf.sh: Likewise.
647 * stdio-common/tst-unbputc.sh: Likewise.
648 * stdlib/tst-fmtmsg.sh: Likewise.
649 * stdlib/tst-setcontext3.sh: Likewise.
650 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
651 * sysdeps/unix/make-syscalls.sh: Likewise.
652
653 2016-01-06 John David Anglin <dave.anglin@bell.net>
654
655 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
656 asm stw with atomic_exchange_rel. Add explanatory comment.
657 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
658 Likewise.
659
660 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
661
662 [BZ #19122]
663 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
664 * sysdeps/generic/dl-unistd.h: New file.
665 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
666
667 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
668
669 [BZ #19122]
670 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
671 * sysdeps/generic/dl-mman.h: New file.
672 * sysdeps/mach/hurd/dl-mman.h: Likewise.
673
674 2016-01-05 Joseph Myers <joseph@codesourcery.com>
675
676 * manual/texinfo.tex: Update to version 2016-01-04.21 with
677 trailing whitespace removed.
678 * scripts/config.guess: Update to version 2016-01-01.
679 * scripts/config.sub: Update to version 2016-01-01.
680 * scripts/move-if-change: Update from gnulib.
681
682 2016-01-04 Anton Blanchard <anton@samba.org>
683
684 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
685 for array indices.
686 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
687
688 2016-01-04 Joseph Myers <joseph@codesourcery.com>
689
690 * NEWS: Update copyright dates.
691 * catgets/gencat.c (print_version): Likewise.
692 * csu/version.c (banner): Likewise.
693 * debug/catchsegv.sh: Likewise.
694 * debug/pcprofiledump.c (print_version): Likewise.
695 * debug/xtrace.sh (do_version): Likewise.
696 * elf/ldconfig.c (print_version): Likewise.
697 * elf/ldd.bash.in: Likewise.
698 * elf/pldd.c (print_version): Likewise.
699 * elf/sotruss.sh: Likewise.
700 * elf/sprof.c (print_version): Likewise.
701 * iconv/iconv_prog.c (print_version): Likewise.
702 * iconv/iconvconfig.c (print_version): Likewise.
703 * locale/programs/locale.c (print_version): Likewise.
704 * locale/programs/localedef.c (print_version): Likewise.
705 * login/programs/pt_chown.c (print_version): Likewise.
706 * malloc/memusage.sh (do_version): Likewise.
707 * malloc/memusagestat.c (print_version): Likewise.
708 * malloc/mtrace.pl: Likewise.
709 * manual/libc.texinfo: Likewise.
710 * nptl/version.c (banner): Likewise.
711 * nscd/nscd.c (print_version): Likewise.
712 * nss/getent.c (print_version): Likewise.
713 * nss/makedb.c (print_version): Likewise.
714 * posix/getconf.c (main): Likewise.
715 * scripts/test-installation.pl: Likewise.
716 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
717
718 * All files with FSF copyright notices: Update copyright dates
719 using scripts/update-copyrights.
720 * intl/plural.c: Regenerated.
721 * locale/programs/charmap-kw.h: Likewise.
722 * locale/programs/locfile-kw.h: Likewise.
723
724 2016-01-02 Helge Deller <deller@gmx.de>
725
726 [BZ #19285]
727 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
728 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
729 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
730 (MADV_xxK_PAGES): Remove.
731
732 2016-01-01 Mike Frysinger <vapier@gentoo.org>
733
734 [BZ #15421]
735 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
736 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
737 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
738 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
739
740 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
741
742 [BZ #19408]
743 * sysdeps/unix/sysv/linux/personality.c: New file.
744 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
745 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
746 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
747 (sysdep_routines): Add personality.
748 (tests): Add tst-personality.
749 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
750 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
751 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
752 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
753 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
754 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
755 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
756 Likewise.
757 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
758 Likewise.
759 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
760 Likewise.
761 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
762 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
763 Likewise.
764
765 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
766
767 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
768 (PATH_ARM_SYSTYPE): Remove.
769 (PATH_CPUINFO): Likewise.
770 (IO_BASE_FOOTBRIDGE): Likewise.
771 (IO_SHIFT_FOOTBRIDGE): Likewise.
772 (struct platform): Likewise.
773 (init_iosys): Remove compatibility code for 2.4 kernels.
774 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
775
776 2015-12-29 Florian Weimer <fweimer@redhat.com>
777
778 * malloc/tst-malloc-thread-fail.c: New file.
779 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
780 (tst-malloc-thread-fail): Link against libpthread.
781
782 2015-12-29 Mike Frysinger <vapier@gentoo.org>
783
784 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
785 (get_parser): New function.
786 (main): New function.
787
788 2015-12-29 Rob Wu <rob@robwu.nl>
789
790 [BZ #19369]
791 * resolv/res_init.c (__res_vinit): Reset defdname before use.
792
793 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
794
795 [BZ #19270]
796 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
797
798 2015-12-28 Mike Frysinger <vapier@gentoo.org>
799
800 [BZ #15421]
801 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
802
803 2015-12-23 Torvald Riegel <triegel@redhat.com>
804
805 [BZ #13690]
806 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
807 after releasing it.
808 (__lll_robust_unlock): Likewise.
809 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
810 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
811 (lll_robust_unlock): Likewise.
812 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
813 Prevent warnings in callers.
814
815 2015-12-23 Florian Weimer <fweimer@redhat.com>
816
817 * malloc/arena.c (list_lock): Update comment.
818
819 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
820
821 * sysdeps/powerpc/hwcapinfo.c: Export symbol
822 __parse_hwcap_and_convert_at_platform to libc.a.
823
824 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
825
826 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
827 platform and feature support for POWER9.
828 * sysdeps/powerpc/dl-procinfo.h: Likewise.
829 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
830 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
831 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
832 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
833 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
834 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
835 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
836
837 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
838
839 Harmonize generic stdio-lock support with nptl
840
841 This fixes build when _IO_funlockfile is a macro, fixes build where
842 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
843 stack unwind.
844
845 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
846 _IO_release_lock ): Use cleanup attribute on new
847 _IO_acquire_lock_file variable instead of assuming that
848 _IO_release_lock will be called.
849 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
850 _IO_acquire_lock_needs_exceptions_enabled.
851 (_IO_acquire_lock_clear_flags2): New macro.
852
853 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
854
855 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
856
857 2015-12-21 Florian Weimer <fweimer@redhat.com>
858
859 [BZ #19182]
860 * malloc/arena.c (list_lock): Document lock ordering requirements.
861 (free_list_lock): New lock.
862 (ptmalloc_lock_all): Comment on free_list_lock.
863 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
864 (detach_arena): Update comment. free_list_lock is now needed.
865 (_int_new_arena): Use free_list_lock around detach_arena call.
866 Acquire arena lock after list_lock. Add comment, including FIXME
867 about incorrect synchronization.
868 (get_free_list): Switch to free_list_lock.
869 (reused_arena): Acquire free_list_lock around detach_arena call
870 and attached threads counter update. Add two FIXMEs about
871 incorrect synchronization.
872 (arena_thread_freeres): Switch to free_list_lock.
873 * malloc/malloc.c (struct malloc_state): Update comments to
874 mention free_list_lock.
875
876 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
877
878 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
879 Remove functions.
880 (sloww, sloww1): Accept argument to offset quadrant.
881 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
882 quadrant.
883 (__sin, __cos): Consolidate common code into new functions.
884 (reduce_sincos_1, do_sincos_1): New functions.
885 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
886
887 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
888 code to new functions.
889 (reduce_sincos_2, do_sincos_2): New functions.
890 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
891
892 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
893 common code for sincos.
894 (__cos) [!IN_SINCOS]: Likewise.
895 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
896 New function.
897 (__sincos): Use it.
898
899 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
900
901 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
902 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
903 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
904
905 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
906
907 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
909 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
910 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
911 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
912 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
913 index_Prefer_No_VZEROUPPER): New feature.
914 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
915 Prefer_No_VZEROUPPER for Knights Landing.
916
917 015-12-18 Torvald Riegel <triegel@redhat.com>
918
919 * math/atest-exp2.c (mp_exp_m1): Remove.
920
921 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
922
923 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
924 syscalls.
925 (__SYSCALL0): New macro.
926 (__SYSCALL1): Likewise.
927 (__SYSCALL2): Likewise.
928 (__SYSCALL3): Likewise.
929 (__SYSCALL4): Likewise.
930 (__SYSCALL5): Likewise.
931 (__SYSCALL6): Likewise.
932 (__SYSCALL_CONCAT_X): Likewise.
933 (__SYSCALL_CONCAT): Likewise.
934 (__SYSCALL_DIST): Likewise.
935 (__SYSCALL_CALL): Likewise.
936
937 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
938
939 [BZ #19363]
940 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
941
942 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
943
944 [BZ #19375]
945 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
946 negative subnormals.
947
948 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
949
950 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
951 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
952 (INTERNAL_SYSCALL_NCS): Use it.
953 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
954
955 2015-12-16 Florian Weimer <fweimer@redhat.com>
956
957 [BZ #19243]
958 * malloc/arena.c (get_free_list): Remove assert and adjust
959 reference count handling. Add comment about reused_arena
960 interaction.
961 (reused_arena): Add comments abount get_free_list interaction.
962 * malloc/tst-malloc-thread-exit.c: New file.
963 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
964 (tst-malloc-thread-exit): Link against libpthread.
965
966 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
967
968 [BZ #19367]
969 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
970 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
971 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
972 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
973 (index_Prefer_MAP_32BIT_EXEC): Likewise.
974
975 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
976
977 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
978 Silvermont optimizations for Knights Landing.
979
980 2015-12-15 Andreas Schwab <schwab@suse.de>
981
982 [BZ #17197]
983 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
984 immediately after emitting SI.
985 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
986 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
987 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
988 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
989 * iconvdata/bug-iconv10.c: New file.
990 * iconvdata/Makefile (tests): Add bug-iconv10.
991 ($(objpfx)bug-iconv10.out): New rule.
992
993 2015-12-15 Florian Weimer <fweimer@redhat.com>
994
995 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
996 aliasing violation.
997
998 2015-12-14 Joseph Myers <joseph@codesourcery.com>
999
1000 [BZ #18472]
1001 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
1002 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
1003 conditionals for them.
1004 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
1005 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
1006 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
1007 sys/kdaemon.h.
1008 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
1009 compat-only syscall, obsoleted in glibc 2.23.
1010 (create_module): Likewise.
1011 (get_kernel_syms): Likewise.
1012 (query_module): Likewise.
1013 (uselib): Likewise.
1014 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
1015
1016 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
1017
1018 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
1019 <linux/version.h>.
1020 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
1021 conditional code.
1022 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
1023 and ioshift_name initialization.
1024
1025 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
1026
1027 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1028 Fix indentation.
1029
1030 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
1031
1032 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
1033
1034 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
1035
1036 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
1037
1038 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
1039 Jakub Wilk <jwilk@debian.org>
1040
1041 [BZ #19347]
1042 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
1043 to change the group of the device to the tty group.
1044
1045 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
1046
1047 Split large string section; add truncation advice
1048 * manual/examples/strncat.c: Remove.
1049 This example was misleading, as the code would have undefined
1050 behavior if "hello" was longer than SIZE. Anyway, the manual
1051 shouldn't encourage strncpy+strncat for this sort of thing.
1052 * manual/string.texi (Copying Strings and Arrays): Split into
1053 three sections Copying Strings and Arrays, Concatenating Strings,
1054 and Truncating Strings, as this section was way too long. All
1055 cross-referenced changed. Add advice about string-truncation
1056 functions. Remove misleading strncat example.
1057
1058 2015-12-10 Carlos O'Donell <carlos@redhat.com>
1059
1060 * manual/nss.texi (NSS Modules Interface): Document
1061 NSS_STATUS_NOTFOUND and SUCCESS.
1062
1063 2015-12-09 Mike FABIAN <mfabian@redhat.com>
1064
1065 [BZ 18568]
1066 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1067 201505L, for Unicode 8.
1068
1069 2015-12-09 Carlos O'Donell <carlos@redhat.com>
1070
1071 * locale/C-translit.h: Regenerate.
1072
1073 2015-12-09 Mike FABIAN <mfabian@redhat.com>
1074
1075 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
1076 and U+0153.
1077
1078 2015-12-09 Joseph Myers <joseph@codesourcery.com>
1079
1080 [BZ #19351]
1081 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
1082 expanding log(1+z), compare z rather than its square with epsilon
1083 to determine when to avoid evaluating the expansion.
1084
1085 [BZ #19350]
1086 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1087 Increase overflow threshold.
1088
1089 [BZ #19349]
1090 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
1091 when small.
1092
1093 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1094 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1095 New macro.
1096 [__LINUX_KERNEL_VERSION >= 0x040300]
1097 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1098 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1099 Likewise.
1100 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1101 Likewise.
1102 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1103 Likewise.
1104 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1105 Likewise.
1106 [__LINUX_KERNEL_VERSION >= 0x040300]
1107 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1108 [__LINUX_KERNEL_VERSION >= 0x040300]
1109 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1110 [__LINUX_KERNEL_VERSION >= 0x040300]
1111 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1112 [__LINUX_KERNEL_VERSION >= 0x040300]
1113 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1114 [__LINUX_KERNEL_VERSION >= 0x040300]
1115 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1116 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1117 Likewise.
1118 [__LINUX_KERNEL_VERSION >= 0x040300]
1119 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1120 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1121 Likewise.
1122 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1123 Likewise.
1124 [__LINUX_KERNEL_VERSION >= 0x040300]
1125 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1126 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1127 Likewise.
1128 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1129 Likewise.
1130 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1131 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
1132 Likewise.
1133 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
1134 Likewise.
1135 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
1136 Likewise.
1137 [__LINUX_KERNEL_VERSION >= 0x040300]
1138 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1139 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
1140 Likewise.
1141 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
1142 Likewise.
1143 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
1144 Likewise.
1145 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
1146 Likewise.
1147 [__LINUX_KERNEL_VERSION >= 0x040300]
1148 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
1149 [__LINUX_KERNEL_VERSION >= 0x040300]
1150 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1151 [__LINUX_KERNEL_VERSION >= 0x040300]
1152 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1153 [__LINUX_KERNEL_VERSION >= 0x040300]
1154 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1155 [__LINUX_KERNEL_VERSION >= 0x040300]
1156 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1157 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
1158 Likewise.
1159 [__LINUX_KERNEL_VERSION >= 0x040300]
1160 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1161 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
1162 Likewise.
1163 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
1164 Likewise.
1165 [__LINUX_KERNEL_VERSION >= 0x040300]
1166 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
1167 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
1168 Likewise.
1169 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
1170 Likewise.
1171 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1172 (__ASSUME_SOCKET_SYSCALL): Likewise.
1173 (__ASSUME_BIND_SYSCALL): Likewise.
1174 (__ASSUME_CONNECT_SYSCALL): Likewise.
1175 (__ASSUME_LISTEN_SYSCALL): Likewise.
1176 (__ASSUME_ACCEPT_SYSCALL): Likewise.
1177 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1178 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1179 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1180 (__ASSUME_SEND_SYSCALL): Likewise.
1181 (__ASSUME_SENDTO_SYSCALL): Likewise.
1182 (__ASSUME_RECV_SYSCALL): Likewise.
1183 (__ASSUME_RECVFROM_SYSCALL): Likewise.
1184 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
1185 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1186 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1187 (__ASSUME_SENDMSG_SYSCALL): Likewise.
1188 (__ASSUME_RECVMSG_SYSCALL): Likewise.
1189 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1190 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
1191 Likewise.
1192 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
1193 Likewise.
1194 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
1195 Likewise.
1196 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
1197 Likewise.
1198 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
1199 Likewise.
1200 [__LINUX_KERNEL_VERSION >= 0x020625]
1201 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
1202 [__LINUX_KERNEL_VERSION >= 0x020625]
1203 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
1204 [__LINUX_KERNEL_VERSION >= 0x020625]
1205 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
1206 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
1207 Likewise.
1208 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
1209 Likewise.
1210 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
1211 Likewise.
1212 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
1213 Likewise.
1214 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
1215 Likewise.
1216 [__LINUX_KERNEL_VERSION >= 0x020625]
1217 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
1218 [__LINUX_KERNEL_VERSION >= 0x020625]
1219 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
1220 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
1221 Likewise.
1222 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
1223 Likewise.
1224
1225 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
1226
1227 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
1228 record the current if the current ABI and CPU support the FP64
1229 extension.
1230 (has-modd-spreg): Define to record the current if the current ABI and
1231 CPU support 32-bit floating point values in odd FPU registers.
1232 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1233 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
1234 $(has-modd-spreg) equals yes.
1235 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
1236 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
1237 $(has-modd-spreg) equal yes.
1238
1239 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
1240
1241 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
1242 basename.
1243
1244 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
1245
1246 * benchtests/Makefile (bench-math): Move ffs and ffsll...
1247 (bench-string): ... here.
1248 (bench): Add bench-string.
1249 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
1250 to *-benchset to reflect what they are.
1251 (benchset): Adjust.
1252
1253 * benchtests/sincos-inputs: Add inputs from sin-inputs and
1254 cos-inputs.
1255
1256 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
1257
1258 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
1259 __attribute__ ((__simd__)) for vector math function declarations.
1260
1261 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
1262
1263 Fix typo in strncat, wcsncat manual entries
1264 * manual/string.texi (Copying and Concatenation): Fix typos in
1265 sample implementations of strncat and wcsncat, by having them use
1266 the old value of the destination length, not the new one.
1267
1268 2015-12-04 Joseph Myers <joseph@codesourcery.com>
1269
1270 [BZ #16961]
1271 [BZ #16962]
1272 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
1273 string on the stack for strtod.
1274 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
1275 a string on the stack for strtof.
1276 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
1277 constructing a string on the stack for strtold.
1278 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
1279 __strtold_nan to GLIBC_PRIVATE.
1280 * math/test-nan-overflow.c: New file.
1281 * math/test-nan-payload.c: Likewise.
1282 * math/Makefile (tests): Add test-nan-overflow and
1283 test-nan-payload.
1284
1285 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
1286
1287 Consistency about byte vs character in string.texi
1288 * manual/string.texi (String and Array Utilities):
1289 Distinguish more carefully among bytes, multibyte characters,
1290 and wide characters. Use "byte" when talking about C 'char',
1291 to distinguish it more clearly from multibyte characters.
1292 Say "wide character" or "multibyte character" instead of
1293 "character", when a wide or multibyte character is intended.
1294 Similarly for "multibyte string" versus "string".
1295 Define these terms more carefully.
1296
1297 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
1298
1299 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
1300 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
1301 Likewise.
1302 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1303 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
1304 * sysdeps/sh/math_private.h: New file.
1305 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
1306 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
1307 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
1308 long double function name.
1309 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1310 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1311 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1312 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1313 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
1315 Remove __finitel, __isinfl, and __isnanl.
1316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1317 Likewise.
1318 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1320 Remove __finitel.
1321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1322 Likewise.
1323 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1324
1325 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
1326
1327 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
1328 installed libmvec_nonshared.a.
1329
1330 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1331
1332 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
1333 (sysdep_routines): Likewise.
1334 (sysdep-rtld-routines): Likewise.
1335 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
1336 [$(subdir) = nptl](tests-static): test-get_hwcap-static
1337 * sysdeps/powerpc/Versions: Added new
1338 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
1339 * sysdeps/powerpc/hwcapinfo.c: New file.
1340 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
1341 and parse hwcap, hwcap2 and platform number information.
1342 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
1343 to store HWCAP+HWCAP2 and platform number.
1344 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
1345 for HWCAP+HWCAP2 and platform number in the TCB.
1346 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
1347 the HWCAP, HWCAP2 and platform number in the TCB.
1348 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
1349 (TLS_INIT_TP): Included calls to add the hwcap and
1350 at_platform values in the TCB in TP initialization.
1351 (TLS_DEFINE_INIT_TP): Likewise.
1352 (THREAD_GET_HWCAP): New macro.
1353 (THREAD_SET_HWCAP): Likewise.
1354 (THREAD_GET_AT_PLATFORM): Likewise.
1355 (THREAD_SET_AT_PLATFORM): Likewise.
1356 * sysdeps/powerpc/powerpc32/dl-machine.h:
1357 (dl_platform_init): New function that calls
1358 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
1359 powerpc32.
1360 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
1361 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
1362 this functionality, static linking case.
1363 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
1364 linking case.
1365 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
1366 __parse_hwcap_and_convert_at_platform for the static linking case.
1367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
1368 Included the new __parse_hwcap_and_convert_at_platform symbol in the
1369 ABI list for GLIBC 2.23.
1370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
1371 Likewise.
1372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
1373 Likewise.
1374
1375 2015-12-02 Ludovic Courtès <ludo@gnu.org>
1376
1377 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
1378 * configure: Regenerate.
1379 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
1380 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
1381
1382 2015-12-02 Carlos O'Donell <carlos@redhat.com>
1383
1384 * iconvdata/ibm930.c: Add comment explaining encoding uses.
1385 * iconvdata/ibm933.c: Likewise.
1386 * iconvdata/ibm935.c: Likewise.
1387 * iconvdata/ibm937.c: Likewise.
1388 * iconvdata/ibm939.c: Likewise.
1389
1390 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1391
1392 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
1393 pthread_join.
1394 * nptl/tst-cancel21.c (tf): Likewise.
1395
1396 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
1397
1398 [BZ #19313]
1399 * bits/typesizes.h (__CPU_MASK_TYPE): New.
1400 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1401 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
1402 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
1403 Likewise.
1404 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
1405 Likewise.
1406 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
1407 Likewise.
1408 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
1409 Likewise.
1410 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
1411 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
1412 unsigned long int with __CPU_MASK_TYPE.
1413
1414 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1415
1416 * sysdeps/aarch64/libm-test-ulps: Regenerated.
1417
1418 2015-12-01 Joseph Myers <joseph@codesourcery.com>
1419
1420 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
1421 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
1422 t512.x.
1423 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
1424
1425 2015-11-30 Amit Pawar <amit.pawar@amd.com>
1426
1427 [BZ #19214]
1428 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
1429 argument to return extended model. Update family and model
1430 with extended family and model when family == 0x0f.
1431 (init_cpu_features): Updated.
1432
1433 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1434
1435 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
1436 signed off_t, so 32bit bigger than 2GiB values are fine actually.
1437
1438 * sysdeps/mach/hurd/mmap64.c: New file.
1439
1440 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
1441
1442 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
1443 rights for its main user thread in NEWTASK.
1444
1445 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
1446
1447 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
1448 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
1449
1450 2015-11-27 Carlos O'Donell <carlos@redhat.com>
1451
1452 [BZ #14259]
1453 * Makeconfig: Rename localedir to complocaledir.
1454 Rename inst_localedir to inst_complocaledir.
1455 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
1456 * config.make.in: Use complocaledir and libc_cv_complocaledir.
1457 * configure.ac: Use libc_cv_complocaledir.
1458 * configure: Regenerate.
1459 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
1460 -DCOMPLOCALEDIR.
1461 * locale/findlocale.c: Use COMPLOCALEDIR.
1462 * locale/loadarchive.c: Likewise.
1463 * locale/programs/locale.c: Likewise.
1464 * locale/programs/localedef.c: Likewise.
1465 * locale/programs/locarchive.c: Likewise.
1466 * localedata/Makefile: Use inst_complocaledir.
1467 * sysdeps/gnu/configure: Regenerate.
1468 * sysdeps/hppa/configure: Regenerate.
1469 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
1470 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1472 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
1473 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
1474 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
1475 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
1476
1477 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
1478
1479 [BZ #19058]
1480 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
1481 AS_NEEDED.
1482 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
1483 workaround.
1484 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
1485 libmvec-static-only-routines): Added new file.
1486 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
1487
1488 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
1489
1490 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
1491 of interrupted RPC instead of restoring it.
1492
1493 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
1494 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
1495 libc_hidden_def.
1496 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
1497 into initialized data instead of common. Define rtld_hidden_data_def.
1498 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
1499 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
1500 libc_hidden_def.
1501 (if_freenameindex): Add libc_hidden_weak.
1502 (if_nameindex): Add libc_hidden_weak.
1503 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
1504 __open64.
1505 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
1506 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
1507 * sysdeps/mach/nanosleep.c: Include <time.h>
1508 (__nanosleep): Rename to __libc_nanosleep.
1509 (__nanosleep): Add weak_alias.
1510 (nanosleep): Update alias.
1511
1512 2015-11-24 Joseph Myers <joseph@codesourcery.com>
1513
1514 * stdlib/strtod_nan.c: New file.
1515 * stdlib/strtod_nan_double.h: Likewise.
1516 * stdlib/strtod_nan_float.h: Likewise.
1517 * stdlib/strtod_nan_main.c: Likewise.
1518 * stdlib/strtod_nan_narrow.h: Likewise.
1519 * stdlib/strtod_nan_wide.h: Likewise.
1520 * stdlib/strtof_nan.c: Likewise.
1521 * stdlib/strtold_nan.c: Likewise.
1522 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
1523 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
1524 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
1525 * wcsmbs/wcstod_nan.c: Likewise.
1526 * wcsmbs/wcstof_nan.c: Likewise.
1527 * wcsmbs/wcstold_nan.c: Likewise.
1528 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
1529 strtold_nan.
1530 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
1531 wcstof_nan.
1532 * include/stdlib.h (__strtof_nan): Declare and use
1533 libc_hidden_proto.
1534 (__strtod_nan): Likewise.
1535 (__strtold_nan): Likewise.
1536 (__wcstof_nan): Likewise.
1537 (__wcstod_nan): Likewise.
1538 (__wcstold_nan): Likewise.
1539 * include/wchar.h (____wcstoull_l_internal): Declare.
1540 * stdlib/strtod_l.c: Do not include <ieee754.h>.
1541 (____strtoull_l_internal): Remove declaration.
1542 (STRTOF_NAN): Define macro.
1543 (SET_MANTISSA): Remove macro.
1544 (STRTOULL): Likewise.
1545 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
1546 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
1547 (STRTOF_NAN): Define macro.
1548 (SET_MANTISSA): Remove macro.
1549 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
1550 (SET_MANTISSA): Remove macro.
1551 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
1552 macro.
1553 (SET_MANTISSA): Remove macro.
1554 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
1555 macro.
1556 (SET_MANTISSA): Remove macro.
1557 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
1558 (SET_MANTISSA): Remove macro.
1559 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
1560 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
1561 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
1562
1563 [BZ #19266]
1564 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
1565 upper case and lower case letters inside NAN(), not using TOLOWER.
1566 * stdlib/tst-strtod-nan-locale-main.c: New file.
1567 * stdlib/tst-strtod-nan-locale.c: Likewise.
1568 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
1569 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
1570 Depend on $(gen-locales).
1571 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
1572 * wcsmbs/tst-wcstod-nan-locale.c: New file.
1573 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
1574 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
1575 Depend on $(gen-locales).
1576 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
1577
1578 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
1579
1580 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
1581
1582 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
1584 __finitel, __isinfl, and __isnanl.
1585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1586 Likewise.
1587 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
1589 __finitel.
1590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1591 Likewise.
1592 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1593
1594 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1595
1596 * malloc/memusage.c (me): Remove redundant getenv call.
1597
1598 2015-10-24 Florian Weimer <fweimer@redhat.com>
1599
1600 [BZ #19143]
1601 [BZ #19164]
1602 * nptl/check-cpuset.h: Remove.
1603 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
1604 Remove CPU set size check.
1605 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
1606 Likewise.
1607 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
1608 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1609 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
1610 (__pthread_setaffinity_new): Remove CPU set size check.
1611 * sysdeps/unix/sysv/linux/sched_setaffinity.c
1612 (__kernel_cpumask_size): Remove.
1613 (__sched_setaffinity_new): Remove CPU set size check.
1614 * manual/threads.texi (Default Thread Attributes): Remove stale
1615 reference to check_cpuset_attr, determine_cpumask_size in comment.
1616 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
1617 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
1618 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
1619 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
1620 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
1621 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
1622 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
1623 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
1624 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
1625 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
1626 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
1627 skeleton test file.
1628 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
1629 tst-affinity-pid.
1630
1631 2015-11-24 Florian Weimer <fweimer@redhat.com>
1632
1633 * scripts/update-abilist.sh: New file.
1634 * Makefile (+subdir_targets): Add subdir_update-all-abi.
1635 * Makerules (update-all-abi-%, update-all-abi)
1636 (subdir_update-all-abi): New targets.
1637 * elf/Makefile (update-all-abi): New target.
1638
1639 2015-11-24 Florian Weimer <fweimer@redhat.com>
1640
1641 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
1642 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
1643 (__libc_lock_define_initialized): Use it.
1644 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
1645 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
1646 * malloc/malloc.c (main_arena): Likewise.
1647 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1648 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1649
1650 2015-11-23 Joseph Myers <joseph@codesourcery.com>
1651
1652 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1653 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
1654 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1655 (PTRACE_O_MASK): Update value.
1656 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
1657 New value in enum __ptrace_setoptions.
1658 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1659 (PTRACE_O_MASK): Update value.
1660 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1661 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1662 (PTRACE_O_MASK): Update value.
1663 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1664 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1665 (PTRACE_O_MASK): Update value.
1666 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
1667 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1668 (PTRACE_O_MASK): Update value.
1669 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
1670 New value in enum __ptrace_setoptions.
1671 (PTRACE_O_MASK): Update value.
1672 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
1673 New value in enum __ptrace_setoptions.
1674 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1675 (PTRACE_O_MASK): Update value.
1676
1677 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
1678 New macro.
1679 (PACKET_AUXDATA): Likewise.
1680 (PACKET_ORIGDEV): Likewise.
1681 (PACKET_VERSION): Likewise.
1682 (PACKET_HDRLEN): Likewise.
1683 (PACKET_RESERVE): Likewise.
1684 (PACKET_TX_RING): Likewise.
1685 (PACKET_LOSS): Likewise.
1686 (PACKET_VNET_HDR): Likewise.
1687 (PACKET_TX_TIMESTAMP): Likewise.
1688 (PACKET_TIMESTAMP): Likewise.
1689 (PACKET_FANOUT): Likewise.
1690 (PACKET_TX_HAS_OFF): Likewise.
1691 (PACKET_QDISC_BYPASS): Likewise.
1692 (PACKET_ROLLOVER_STATS): Likewise.
1693 (PACKET_FANOUT_DATA): Likewise.
1694 (PACKET_MR_UNICAST): Likewise.
1695
1696 [BZ #19242]
1697 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
1698 (TOUPPER): Likewise.
1699 * stdlib/tst-strtol-locale-main.c: New file.
1700 * stdlib/tst-strtol-locale.c: Likewise.
1701 * stdlib/Makefile (tests): Add tst-strtol-locale.
1702 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
1703 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
1704 Depend on $(gen-locales).
1705 * wcsmbs/tst-wcstol-locale.c: New file.
1706 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
1707 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
1708 tr_TR.ISO-8859-9.
1709 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
1710 Depend on $(gen-locales).
1711
1712 2015-11-20 Roland McGrath <roland@hack.frob.com>
1713
1714 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
1715 __glibc_likely instead of __builtin_expect. After falling back to
1716 dyncode_create in a non-ET_DYN case, use the allocate_code_data
1717 system interface to register the code pages as occupied.
1718
1719 2015-11-20 Joseph Myers <joseph@codesourcery.com>
1720
1721 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1722 [!ARM_MATH_PRIVATE_H].
1723 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
1724 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1725 [!HPPA_MATH_PRIVATE_H].
1726 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
1727 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
1728 to [!I386_MATH_PRIVATE_H].
1729 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
1730 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
1731 Change guard to [!M68K_MATH_PRIVATE_H].
1732 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
1733 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
1734 guard to [!MICROBLAZE_MATH_PRIVATE_H].
1735 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
1736 macro.
1737 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1738 [!MIPS_MATH_PRIVATE_H].
1739 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
1740 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1741 [!NIO2_MATH_PRIVATE_H].
1742 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
1743 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1744 [!TILE_MATH_PRIVATE_H].
1745 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
1746
1747 [BZ #15421]
1748 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
1749 initialize with 0 and define as weak alias of __signgam.
1750 * include/math.h [!_ISOMAC] (__signgam): Declare.
1751 * math/Makefile (libm-calls): Add w_lgamma_compat.
1752 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
1753 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
1754 test-signgam-ullong-init.
1755 (tests-static): Add test-signgam-uchar-static,
1756 test-signgam-uchar-init-static, test-signgam-uint-static,
1757 test-signgam-uint-init-static, test-signgam-ullong-static and
1758 test-signgam-ullong-init-static.
1759 (CFLAGS-test-signgam-uchar.c): New variable.
1760 (CFLAGS-test-signgam-uchar-init.c): Likewise.
1761 (CFLAGS-test-signgam-uchar-static.c): Likewise.
1762 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
1763 (CFLAGS-test-signgam-uint.c): Likewise.
1764 (CFLAGS-test-signgam-uint-init.c): Likewise.
1765 (CFLAGS-test-signgam-uint-static.c): Likewise.
1766 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
1767 (CFLAGS-test-signgam-ullong.c): Likewise.
1768 (CFLAGS-test-signgam-ullong-init.c): Likewise.
1769 (CFLAGS-test-signgam-ullong-static.c): Likewise.
1770 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
1771 * math/Versions (libm): Add GLIBC_2.23.
1772 * math/lgamma-compat.h: New file.
1773 * math/test-signgam-main.c: Likewise.
1774 * math/test-signgam-uchar-init-static.c: Likewise.
1775 * math/test-signgam-uchar-init.c: Likewise.
1776 * math/test-signgam-uchar-static.c: Likewise.
1777 * math/test-signgam-uchar.c: Likewise.
1778 * math/test-signgam-uint-init-static.c: Likewise.
1779 * math/test-signgam-uint-init.c: Likewise.
1780 * math/test-signgam-uint-static.c: Likewise.
1781 * math/test-signgam-uint.c: Likewise.
1782 * math/test-signgam-ullong-init-static.c: Likewise.
1783 * math/test-signgam-ullong-init.c: Likewise.
1784 * math/test-signgam-ullong-static.c: Likewise.
1785 * math/test-signgam-ullong.c: Likewise.
1786 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
1787 wrapper of w_lgamma_main.c.
1788 * math/w_lgamma_compat.c: New file.
1789 * math/w_lgamma_compatf.c: Likewise.
1790 * math/w_lgamma_compatl.c: Likewise.
1791 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
1792 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
1793 defining compatibility symbols.
1794 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
1795 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
1796 wrapper of w_lgammaf_main.c.
1797 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
1798 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
1799 defining compatibility symbols.
1800 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
1801 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
1802 wrapper of w_lgammal_main.c.
1803 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
1804 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
1805 defining compatibility symbols.
1806 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
1807 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
1808 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
1809 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
1810 <lgamma-compat.h>.
1811 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
1812 (__ieee754_gamma): Define as alias.
1813 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
1814 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
1815 <lgamma-compat.h>.
1816 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
1817 (__ieee754_gammaf): Define as alias.
1818 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
1819 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
1820 <lgamma-compat.h>.
1821 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
1822 (__ieee754_gammal): Define as alias.
1823 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
1824 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
1825 <math/w_lgamma_compat.c>.
1826 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
1827 Define as alias of __lgamma_compat and use in defining lgammal.
1828 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
1829 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
1830 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
1831 (USE_AS_COMPAT): New macro.
1832 (LGAMMA_OLD_VER): Undefine and redefine.
1833 (lgammal): Do not define here.
1834 (gammal): Only define here if [GAMMA_ALIAS].
1835 * conform/linknamespace.pl (@whitelist): Remove signgam.
1836 * sysdeps/nacl/libm.abilist: Update.
1837 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1838 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1839 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1840 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1841 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1842 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1843 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1844 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1845 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1846 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1847 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1848 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1850 Likewise.
1851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1852 Likewise.
1853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1854 Likewise.
1855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1856 Likewise.
1857 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1858 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1859 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1860 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1861 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1863 Likewise.
1864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1865 Likewise.
1866 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1867 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1868 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1869
1870 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1871
1872 [BZ #16364]
1873 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
1874 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
1875
1876 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1877
1878 * sysdeps/s390/fpu/bits/mathinline.h:
1879 Use __asm__ [__volatile__] instead of asm [volatile].
1880 * sysdeps/s390/abort-instr.h: Likewise.
1881 * sysdeps/s390/atomic-machine.h: Likewise.
1882 * sysdeps/s390/bits/string.h: Likewise.
1883 * sysdeps/s390/dl-tls.h: Likewise.
1884 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
1885 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
1886 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
1887 * sysdeps/s390/fpu/fesetround.c: Likewise.
1888 * sysdeps/s390/fpu/fpu_control.h: Likewise.
1889 * sysdeps/s390/fpu/s_fma.c: Likewise.
1890 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
1891 * sysdeps/s390/memusage.h: Likewise.
1892 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
1893 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1894 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1895 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1896 * sysdeps/s390/nptl/tls.h: Likewise.
1897 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
1898 * sysdeps/s390/s390-32/backtrace.c: Likewise.
1899 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1900 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1901 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1902 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1903 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
1904 * sysdeps/s390/s390-64/backtrace.c: Likewise.
1905 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1906 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
1907 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1908 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1909 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1910 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
1911 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
1912 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
1913 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
1914 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1915 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
1916 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1917 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
1918 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1919 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
1920
1921 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1922 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1923
1924 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
1925 Add lwarx hint, and use macro for acquire instruction.
1926 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1927 Likewise.
1928 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
1929 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
1930 update to use new atomic macros.
1931
1932 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1933
1934 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1935 (__lll_trylock_elision): Fix setting of adapt_count.
1936 * sysdeps/unix/sysv/linux/powerpc/htm.h
1937 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
1938 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
1939 (_ABORT_SYSCALL): Renumber, and clarify definition.
1940 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
1941
1942 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1943
1944 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
1945 after system headers to prevent MIN/MAX redefinition. Define
1946 HAVE_ALLOCA to preserve builtin alloca usage.
1947
1948 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
1949
1950 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
1951 static and don't set or restore rounding.
1952 (__cos)[IN_SINCOS]: Likewise.
1953 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
1954 (__sincos): Set and restore rounding mode. Remove check for infinite
1955 or NaN input.
1956
1957 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
1958
1959 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
1960 as used.
1961
1962 2015-11-16 Florian Weimer <fweimer@redhat.com>
1963
1964 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
1965
1966 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
1967
1968 * config.make.in (have-glob-dat-reloc): New.
1969 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
1970 target supports GLOB_DAT relocaton. AC_SUBST.
1971 * configure: Regenerated.
1972 * elf/Makefile (tests): Add tst-prelink.
1973 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1974 (tst-prelink-ENV): New.
1975 ($(objpfx)tst-prelink-conflict.out): Likewise.
1976 ($(objpfx)tst-prelink-cmp.out): Likewise.
1977 * sysdeps/x86/tst-prelink.c: Moved to ...
1978 * elf/tst-prelink.c: Here.
1979 * sysdeps/x86/tst-prelink.exp: Moved to ...
1980 * elf/tst-prelink.exp: Here.
1981 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
1982 (tst-prelink-ENV): Removed.
1983 ($(objpfx)tst-prelink-conflict.out): Likewise.
1984 ($(objpfx)tst-prelink-cmp.out): Likewise.
1985 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
1986
1987 2015-11-13 Joseph Myers <joseph@codesourcery.com>
1988
1989 [BZ #14551]
1990 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
1991 (__mpn_construct_long_double): If high part overflows to infinity,
1992 set errno and recompute overflowed result of the correct sign.
1993 * sysdeps/ieee754/ldbl-128ibm/Makefile
1994 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
1995 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
1996 $(libm).
1997 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
1998
1999 2015-11-12 Joseph Myers <joseph@codesourcery.com>
2000
2001 [BZ #15479]
2002 [BZ #19238]
2003 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
2004 floating-point state after first operation on input. Restore full
2005 state rather than just rounding mode.
2006 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2007 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2008 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2009
2010 [BZ #19235]
2011 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
2012 add 0.5 to integer arguments.
2013 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
2014 Likewise.
2015 (.LC2): New object.
2016
2017 2015-11-11 Mike Frysinger <vapier@gentoo.org>
2018
2019 * scripts/pylintrc (reports): Set to no.
2020
2021 2015-11-10 Roland McGrath <roland@hack.frob.com>
2022
2023 * elf/dl-load.c (open_verify): Take new argument FD.
2024 Skip __open call if passed FD is not -1.
2025 (_dl_map_object, open_path): Update callers.
2026 * elf/dl-sysdep-open.h: New file.
2027 * elf/dl-load.c: Include it.
2028 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
2029 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
2030 * sysdeps/nacl/dl-sysdep-open.h: New file.
2031 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
2032 from libc to rtld.
2033
2034 2015-11-10 Joseph Myers <joseph@codesourcery.com>
2035
2036 [BZ #19228]
2037 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
2038 and restore full floating-point state.
2039 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2040 Likewise.
2041 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2042 Likewise.
2043 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2044 Likewise.
2045 * math/test-nearbyint-except-2.c: New file.
2046 * math/Makefile (tests): Add test-nearbyint-except-2.
2047
2048 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
2049
2050 [BZ #19178]
2051 * sysdeps/x86/Makefile (tests): Add tst-prelink.
2052 (tst-prelink-ENV): New.
2053 ($(objpfx)tst-prelink-conflict.out): Likewise.
2054 ($(objpfx)tst-prelink-cmp.out): Likewise.
2055 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
2056 * sysdeps/x86/tst-prelink.c: New file.
2057 * sysdeps/x86/tst-prelink.exp: Likewise.
2058
2059 2015-11-10 Joseph Myers <joseph@codesourcery.com>
2060
2061 * math/auto-libm-test-in: Add another test of pow.
2062 * math/auto-libm-test-out: Regenerated.
2063 * math/libm-test.inc (pow_test_data): Add another test.
2064
2065 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2066
2067 [BZ #19219]
2068 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
2069 weak_alias to nearbyintl.
2070
2071 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
2072
2073 * sysdeps/aarch64/bits/string.h: New file.
2074 (_STRING_ARCH_unaligned): Define.
2075
2076 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
2077
2078 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
2079 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2080 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2081 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
2082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
2083
2084 2015-11-09 Ulrich Drepper <drepper@gmail.com>
2085
2086 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
2087 for original name of the DSO. Add it to the name list of the DSO
2088 if it is actually given.
2089 (_dl_map_object): Keep track of whether an audit module rewrote
2090 the file name. If yes, pass the original name to
2091 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
2092 debugging is enabled, log the change of the file name.
2093 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
2094 _dl_map_object_from_fd.
2095 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
2096 * elf/tst-audit11.c: New file
2097 * elf/tst-auditmod11.c: New file.
2098 * elf/tst-audit11mod1.c: New file.
2099 * elf/tst-audit11mod2.c: New file.
2100 * elf/tst-audit11mod2.map: New file.
2101 * elf/tst-audit12.c: New file
2102 * elf/tst-auditmod12.c: New file.
2103 * elf/tst-audit12mod1.c: New file.
2104 * elf/tst-audit12mod2.c: New file.
2105 * elf/tst-audit12mod2.map: New file.
2106 * elf/tst-audit12mod3.c: New file.
2107
2108 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
2109
2110 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
2111 Don't create weak aliases,
2112 because versioned symbols are created later.
2113 * sysdeps/s390/s390-32/setjmp.S
2114 (setjmp, _setjmp): Remove weak and rename to an unique name
2115 in SHARED case due to existing versioned symbols.
2116 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2117 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
2118 (getcontext): Create weak alias only in non SHARED case.
2119 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2120
2121 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
2122
2123 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
2124 (__ASSUME_*_SYSCALL) Define new macros.
2125 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
2126 Remove socketcall syscalls.
2127 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
2128 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
2129 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
2130 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
2131 * sysdeps/unix/sysv/linux/send.c (__libc_send):
2132 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
2133
2134 2015-11-09 Florian Weimer <fweimer@redhat.com>
2135
2136 [BZ #12926]
2137 Terminate process on invalid netlink response.
2138 * sysdeps/unix/sysv/linux/netlinkaccess.h
2139 (__netlink_assert_response): Declare.
2140 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
2141 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
2142 (sysdep_routines): Add netlink_assert_response.
2143 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
2144 __netlink_assert_response.
2145 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2146 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2147 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
2148 __netlink_assert_response.
2149
2150 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
2151
2152 [BZ #19178]
2153 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
2154 (RTYPE_CLASS_PLT): Likewise.
2155 (RTYPE_CLASS_COPY): Likewise.
2156 (RTYPE_CLASS_TLS): Likewise.
2157 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
2158 to set relocation type class for DL_DEBUG_PRELINK. Keep only
2159 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
2160 DL_DEBUG_PRELINK.
2161
2162 2015-11-06 Joseph Myers <joseph@codesourcery.com>
2163
2164 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
2165 calls with argument -0.5.
2166 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
2167
2168 * configure.ac (libc_cv_z_nodelete): Remove configure test.
2169 (libc_cv_z_nodlopen): Likewise.
2170 (libc_cv_z_initfirst): Likewise.
2171 * configure: Regenerated.
2172
2173 2015-11-06 Florian Weimer <fweimer@redhat.com>
2174
2175 Simplify abilist format to be line-based.
2176 * scripts/abilist.awk: Collect descriptors in the descs variable.
2177 (emit): Write descs variable and sort it
2178 externally, with sort.
2179 * sysdeps/**/*.abilist: Convert to new format.
2180
2181 2015-11-06 Mark Wielaard <mjw@redhat.com>
2182
2183 [BZ #11460]
2184 * io/Makefile (routines): Add fts64.
2185 (tests): Add tst-fts and tst-fts-lfs.
2186 (CFLAGS-fts64.c): New.
2187 * io/Versions (GLIBC_2.23): New.
2188 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
2189 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
2190 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
2191 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
2192 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
2193 (FTSENT64): Likewise.
2194 (fts64_children): Likewise.
2195 (fts64_close): Likewise.
2196 (fts64_open): Likewise.
2197 (fts64_read): Likewise.
2198 (fts64_set): Likewise.
2199 * io/fts64.c: New file.
2200 * io/tst-fts.c: New test.
2201 * io/tst-fts-lfs.c: Likewise.
2202 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
2203 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
2204 fts64_set.
2205 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2206 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2207 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2208 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2209 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2210 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2211 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2212 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2213 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2214 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2215 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2216 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2217 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2219 Likewise.
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2221 Likewise.
2222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2224 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2225 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2226 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2227 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2228 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2231 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2232 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2233 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2234 * sysdeps/wordsize-64/fts.c: New file.
2235 * sysdeps/wordsize-64/fts64.c: Likewise.
2236 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
2237 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
2238 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
2239 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
2240
2241 2015-11-05 Joseph Myers <joseph@codesourcery.com>
2242
2243 * math/libm-test.inc (NON_FINITE): New macro.
2244 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
2245 * math/gen-libm-test.pl (show_exceptions): Add argument
2246 $non_finite.
2247 (parse_args): Update call to show_exceptions.
2248 * math/test-math-finite.h: New file.
2249 * math/test-math-no-finite.h: Likewise.
2250 * math/test-double-finite.c: Likewise.
2251 * math/test-float-finite.c: Likewise.
2252 * math/test-ldouble-finite.c: Likewise.
2253 * math/test-double.c: Include "test-math-no-finite.h".
2254 * math/test-float.c: Include "test-math-no-finite.h".
2255 * math/test-ldouble.c: Include "test-math-no-finite.h".
2256 * math/test-math-inline.h (TEST_FINITE): New macro.
2257 * math/test-math-vector.h (TEST_FINITE): Likewise.
2258 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
2259 (libm-tests): Add test-float-finite and test-double-finite.
2260 ($(objpfx)test-float-finite.o): New dependency on
2261 $(objpfx)libm-test.stmp.
2262 ($(objpfx)test-double-finite.o): Likewise.
2263 ($(objpfx)test-ldouble-finite.o): Likewise.
2264 (libm-test-no-inline-cflags): New variable.
2265 (libm-test-finite-cflags): Likewise.
2266 (CFLAGS-test-float-finite.c): Likewise.
2267 (CFLAGS-test-double-finite.c): Likewise.
2268 (CFLAGS-test-ldouble-finite.c): Likewise.
2269 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
2270 (CFLAGS-test-double.c): Likewise.
2271 (CFLAGS-test-ldouble.c): Likewise.
2272
2273 2015-11-05 Roland McGrath <roland@hack.frob.com>
2274
2275 * io/fcntl.c (__fcntl): Add ... to prototype.
2276 * misc/ioctl.c (__ioctl): Likewise.
2277 * misc/syscall.c (syscall): Likewise.
2278
2279 2015-11-05 Joseph Myers <joseph@codesourcery.com>
2280
2281 * scripts/list-fixed-bugs.py: New file.
2282
2283 [BZ #19213]
2284 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
2285 returned for argument 1.
2286 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
2287 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
2288 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
2289 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
2290 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
2291 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
2292
2293 [BZ #19211]
2294 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
2295 __USE_XOPEN], not if [!__USE_ISOC99].
2296 (lgammaf): Likewise.
2297 (lgammal): Likewise.
2298 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
2299 (gammaf): Likewise.
2300 (gammal): Likewise.
2301 * math/test-signgam-finite-c11.c: New file.
2302 * math/test-signgam-finite-c99.c: Likewise.
2303 * math/test-signgam-finite.c: Likewise.
2304 * math/Makefile (tests): Add test-signgam-finite,
2305 test-signgam-finite-c99 and test-signgam-finite-c11.
2306 (CFLAGS-test-signgam-finite.c): New variable.
2307 (CFLAGS-test-signgam-finite-c99.c): Likewise.
2308 (CFLAGS-test-signgam-finite-c11.c): Likewise.
2309
2310 [BZ #19212]
2311 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
2312 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
2313 500].
2314 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
2315 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
2316 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
2317 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
2318 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
2319 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
2320 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
2321 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
2322 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
2323 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
2324
2325 [BZ #19209]
2326 * math/bits/math-finite.h (ldexp): Remove declaration.
2327 (ldexpf): Likewise.
2328 (ldexpl): Likewise.
2329
2330 [BZ #19205]
2331 * math/bits/math-finite.h (acosf): Condition declaration on
2332 [__USE_ISOC99].
2333 (acosl): Likewise.
2334 (acoshf): Likewise.
2335 (acoshl): Likewise.
2336 (asinf): Likewise.
2337 (asinl): Likewise.
2338 (atan2f): Likewise.
2339 (atan2l): Likewise.
2340 (atanhf): Likewise.
2341 (atanhl): Likewise.
2342 (coshf): Likewise.
2343 (coshl): Likewise.
2344 (expf): Likewise.
2345 (expl): Likewise.
2346 (fmodf): Likewise.
2347 (fmodl): Likewise.
2348 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
2349 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
2350 (j0l): Likewise.
2351 (y0f): Likewise.
2352 (y0l): Likewise.
2353 (j1f): Likewise.
2354 (j1l): Likewise.
2355 (y1f): Likewise.
2356 (y1l): Likewise.
2357 (jnf): Likewise.
2358 (jnl): Likewise.
2359 (ynf): Likewise.
2360 (ynl): Likewise.
2361 (lgammaf_r): Condition declaration on [__USE_ISOC99].
2362 (lgammal_r): Likewise.
2363 (__lgamma_r_finite): New declaration.
2364 (__lgammaf_r_finite): Likewise.
2365 (__lgammal_r_finite): Likewise.
2366 (lgamma): Use __lgamma_r_finite.
2367 (lgammaf): Condition definition on [__USE_ISOC99]. Use
2368 __lgammaf_r_finite.
2369 (lgammal): Condition definition on [__USE_ISOC99]. Use
2370 __lgammal_r_finite.
2371 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
2372 __lgamma_r_finite.
2373 (gammaf): Condition definition on [__USE_ISOC99]. Use
2374 __lgammaf_r_finite.
2375 (gammal): Condition definition on [__USE_ISOC99]. Use
2376 __lgammal_r_finite.
2377 (logf): Condition declaration on [__USE_ISOC99].
2378 (logl): Likewise.
2379 (log10f): Likewise.
2380 (log10l): Likewise.
2381 (ldexpf): Likewise.
2382 (ldexpl): Likewise.
2383 (powf): Likewise.
2384 (powl): Likewise.
2385 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
2386 __USE_ISOC99].
2387 (remainderf): Condition declaration on [__USE_ISOC99].
2388 (remainderl): Likewise.
2389 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
2390 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
2391 (scalbl): Likewise.
2392 (sinhf): Condition declaration on [__USE_ISOC99].
2393 (sinhl): Likewise.
2394 (sqrtf): Likewise.
2395 (sqrtl): Likewise.
2396
2397 2015-11-04 Joseph Myers <joseph@codesourcery.com>
2398
2399 * sysdeps/arm/atomic-machine.h
2400 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2401 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2402 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
2403 Remove conditional code.
2404 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
2405 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
2406 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
2407 Change conditional to [__ASSEMBLER__].
2408 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2409 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
2410 [!__ASSEMBLER__].
2411 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
2412 code.
2413 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
2414 conditional macro definitions.
2415 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
2416 (__arch_compare_and_exchange_val_16_acq): Likewise.
2417 (__arch_compare_and_exchange_val_32_acq): Likewise.
2418 (atomic_exchange_and_add): Likewise.
2419 (atomic_add): Likewise.
2420 (atomic_add_negative): Likewise.
2421 (atomic_add_zero): Likewise.
2422 (atomic_bit_set): Likewise.
2423 (atomic_bit_test_set): Likewise.
2424 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
2425 code unconditional.
2426 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2427
2428 * math/test-math-errno.h: New file.
2429 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
2430 empty.
2431 (TEST_ERRNO): New macro.
2432 (TEST_EXCEPTIONS): Likewise.
2433 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
2434 (TEST_EXCEPTIONS): Likewise.
2435 * math/test-math-vector.h (TEST_ERRNO): Likewise.
2436 * math/test-double.c: Include "test-math-errno.h".
2437 * math/test-float.c: Likewise.
2438 * math/test-ldouble.c: Likewise.
2439 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
2440 code unconditional.
2441 (test_exceptions): Only run code if TEST_EXCEPTIONS.
2442 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
2443 unconditional.
2444 (test_errno): Only run code if TEST_ERRNO.
2445 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
2446
2447 2015-11-04 Florian Weimer <fweimer@redhat.com>
2448
2449 * nptl/tst-once5.cc: Remove attribution.
2450
2451 2015-11-04 Joseph Myers <joseph@codesourcery.com>
2452
2453 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
2454 sqrt, tan, tanh, y0, y1 and yn.
2455 * math/auto-libm-test-out: Regenerated.
2456 * math/libm-test.inc (scalb_test_data): Add more tests.
2457 (scalbn_test_data): Likewise.
2458 (scalbln_test_data): Likewise.
2459 (signbit_test_data): Likewise.
2460 (sin_test_data): Likewise.
2461 (sincos_test_data): Likewise.
2462 (sinh_test_data): Likewise.
2463 (sqrt_test_data): Likewise.
2464 (tan_test_data): Likewise.
2465 (tanh_test_data): Likewise.
2466 (tgamma_test_data): Likewise.
2467 (y0_test_data): Likewise.
2468 (y1_test_data): Likewise.
2469 (yn_test_data): Likewise.
2470 (significand_test_data): Likewise.
2471 * sysdeps/i386/fpu/libm-test-ulps: Update.
2472
2473 2015-11-03 David Kastrup <dak@gnu.org>
2474
2475 [BZ #18604]
2476 * assert/assert.h (assert): Don't macro-expand failed assertion
2477 expression in error message.
2478 * malloc/malloc.c (assert): Likewise.
2479
2480 2015-11-03 Joseph Myers <joseph@codesourcery.com>
2481
2482 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
2483 test.
2484 * configure: Regenerated.
2485
2486 2015-11-02 Joseph Myers <joseph@codesourcery.com>
2487
2488 * math/libm-test.inc (modf_test_data): Add more tests.
2489 (nearbyint_test_data): Likewise.
2490 (nextafter_test_data): Likewise.
2491 (nexttoward_test_data): Likewise.
2492 (pow_test_data): Likewise.
2493 (remainder_test_data): Likewise.
2494 (remquo_test_data): Likewise.
2495 (rint_test_data): Likewise.
2496
2497 [BZ #19201]
2498 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2499 Check for zero remainder in case of large exponents and ensure
2500 correct sign of result in that case.
2501 * math/libm-test.inc (remainder_test_data): Add more tests.
2502
2503 [BZ #6799]
2504 * math/s_nextafter.c: Include <errno.h>.
2505 (__nextafter): Set errno on overflow and underflow.
2506 * math/s_nexttowardf.c: Include <errno.h>.
2507 (__nexttowardf): Set errno on overflow and underflow.
2508 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
2509 (__nextafterl): Set errno on overflow and underflow.
2510 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
2511 (__nexttoward): Set errno on overflow and underflow.
2512 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
2513 (__nexttowardf): Set errno on overflow and underflow.
2514 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
2515 (__nextafterf): Set errno on overflow and underflow.
2516 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
2517 (__nextafterl): Set errno on overflow and underflow.
2518 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
2519 (__nexttoward): Set errno on overflow and underflow.
2520 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
2521 (__nexttowardf): Set errno on overflow and underflow.
2522 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
2523 (__nextafterl): Set errno on overflow and underflow.
2524 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
2525 (__nexttoward): Set errno on overflow and underflow.
2526 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
2527 (__nexttowardf): Set errno on overflow and underflow.
2528 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
2529 (__nexttoward): Set errno on overflow and underflow.
2530 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
2531 (__nexttowardf): Set errno on overflow and underflow.
2532 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
2533 (__nldbl_nexttowardf): Set errno on overflow and underflow.
2534 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
2535 (__nextafterl): Set errno on overflow and underflow.
2536 * math/libm-test.inc (nextafter_test_data): Do not allow errno
2537 setting to be missing on overflow. Add more tests.
2538 (nexttoward_test_data): Likewise.
2539
2540 * configure.ac (libc_cv_initfini_array): Remove configure test.
2541 * configure: Regenerated.
2542
2543 2015-10-29 Joseph Myers <joseph@codesourcery.com>
2544
2545 [BZ #19189]
2546 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
2547 non-finite argument handle arguments with negative sign.
2548
2549 * math/libm-test.inc (j0_test_data): Do not test sign of zero
2550 result from infinite argument.
2551 (j1_test_data): Likewise.
2552 (jn_test_data): Likewise.
2553 (y0_test_data): Likewise.
2554 (y1_test_data): Likewise.
2555 (yn_test_data): Likewise.
2556
2557 [BZ #16171]
2558 * math/w_remainder.c (drem): Define as weak alias of __remainder.
2559 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
2560 * math/w_remainderf.c (dremf): Define as weak alias of
2561 __remainderf.
2562 * math/w_remainderl.c (dreml): Define as weak alias of
2563 __remainderl.
2564 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
2565 __remainder.
2566 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
2567 __remainderf.
2568 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
2569 __remainderl.
2570 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
2571 weak alias of remainderl.
2572 * sysdeps/ieee754/ldbl-opt/w_remainder.c
2573 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
2574 alias of __remainder.
2575 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
2576 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
2577 strong alias of __remainderl.
2578 (dreml): Use long_double_symbol.
2579 * math/Makefile (libm-calls): Remove w_drem.
2580 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
2581 (CFLAGS-nldbl-drem.c): Remove variable.
2582 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
2583 * math/w_drem.c: Remove file.
2584 * math/w_dremf.c: Likewise.
2585 * math/w_dreml.c: Likewise.
2586 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
2587 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
2588 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
2589
2590 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
2591 * sysdeps/i386/configure: Regenerated.
2592 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
2593 * sysdeps/x86_64/configure: Regenerated.
2594
2595 * configure.ac (libc_cv_asm_protected_directive): Remove configure
2596 test.
2597 (libc_cv_visibility_attribute): Likewise.
2598 (libc_cv_protected_data): Test unconditionally.
2599 (libc_cv_broken_visibility_attribute): Remove configure test.
2600 (libc_cv_have_sdata_section): Test unconditionally.
2601 * configure: Regenerated.
2602
2603 * include/libc-internal.h (libc_max_align_t): Remove typedef.
2604 * include/scratch_buffer.h: Include <stddef.h> instead of
2605 <libc-internal.h>.
2606 (struct scratch_buffer): Use max_align_t instead of
2607 libc_max_align_t.
2608
2609 2015-10-29 Florian Weimer <fweimer@redhat.com>
2610
2611 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
2612 instead of extend_alloca. Change control flow to avoid a goto.
2613 Remove assert which is trivially always true.
2614
2615 2015-10-28 Joseph Myers <joseph@codesourcery.com>
2616
2617 [BZ #16068]
2618 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
2619 (FE_ALL_EXCEPT_X86): New macro.
2620 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2621 FE_ALL_EXCEPT. Ensure precision control is included in
2622 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2623 handle "denormal operand exception" and clear FZ and DAZ bits.
2624 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
2625 (FE_ALL_EXCEPT_X86): New macro.
2626 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2627 FE_ALL_EXCEPT. Ensure precision control is included in
2628 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2629 handle "denormal operand exception" and clear FZ and DAZ bits.
2630 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
2631 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
2632 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2633 test-fenv-x87 and test-fenv-sse-2.
2634 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
2635
2636 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
2637 * math/test-double.h (BUILD_COMPLEX): New macro.
2638 * math/test-float.h (BUILD_COMPLEX): Likewise.
2639 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
2640
2641 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
2642 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
2643 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
2644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
2645 instead of DBL_DENORM_MIN in comment.
2646 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
2647 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2648 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
2649 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
2650 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
2651 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2652
2653 2015-10-28 Florian Weimer <fweimer@redhat.com>
2654
2655 [BZ# 19048]
2656 * malloc/malloc.c (struct malloc_state): Update comment. Add
2657 attached_threads member.
2658 (main_arena): Initialize attached_threads.
2659 * malloc/arena.c (list_lock): Update comment.
2660 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
2661 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
2662 (deattach_arena): New function.
2663 (_int_new_arena): Initialize arena reference count and deattach
2664 replaced arena.
2665 (get_free_list, reused_arena): Update reference count and deattach
2666 replaced arena.
2667 (arena_thread_freeres): Update arena reference count and only put
2668 unreferenced arenas on the free list.
2669
2670 2015-10-28 Joseph Myers <joseph@codesourcery.com>
2671
2672 [BZ #19181]
2673 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
2674 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
2675 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
2676 * math/test-fenv-clear-main.c: New file.
2677 * math/test-fenv-clear.c: Likewise.
2678 * math/Makefile (tests): Add test-fenv-clear.
2679 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
2680 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2681 test-fenv-clear-sse.
2682 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
2683
2684 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
2685 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
2686 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
2687
2688 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2689
2690 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
2691 static libc.
2692
2693 2015-10-28 Joseph Myers <joseph@codesourcery.com>
2694
2695 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
2696 test.
2697 * sysdeps/i386/configure: Regenerated.
2698 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
2699 test.
2700 * sysdeps/x86_64/configure: Regenerated.
2701 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
2702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2703 memset-avx2 unconditionally instead of conditionally on
2704 [$(config-cflags-avx2) = yes].
2705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2706 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
2707 unconditional.
2708 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
2709 * sysdeps/x86_64/multiarch/memset_chk.S
2710 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
2711 to [IS_IN (libc) && SHARED].
2712
2713 2015-10-27 Joseph Myers <joseph@codesourcery.com>
2714
2715 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
2716 configure test.
2717 * sysdeps/arm/configure: Regenerated.
2718 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
2719 Define variable if not already defined.
2720
2721 [BZ #17404]
2722 * sysdeps/mips/atomic-machine.h
2723 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
2724 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
2725 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2726
2727 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
2728 unconditional.
2729 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
2730 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2731 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
2732 unconditional.
2733 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2734 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
2735 unconditional.
2736 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2737 * stdlib/setenv.c
2738 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
2739 code unconditional.
2740 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
2741 Remove conditional code.
2742 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2743 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
2744 unconditional.
2745 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2746 code.
2747 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2748 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
2749 unconditional.
2750 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2751 code.
2752 * sysdeps/ieee754/ldbl-128/k_tanl.c
2753 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2754 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2755 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2756 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2757 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2758 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2759 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
2760 unconditional.
2761 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2762 code.
2763 * sysdeps/ieee754/ldbl-96/k_tanl.c
2764 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2765 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2766
2767 * nptl/tst-initializers1-c11.c: New file.
2768 * nptl/tst-initializers1-gnu11.c: Likewise.
2769 * nptl/Makefile (tests): Add these new tests.
2770 (CFLAGS-tst-initializers1-c11.c): New variable.
2771 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2772
2773 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
2774 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
2775 instead of -std=gnu99.
2776 * configure.ac (systemtap): Test with -std=gnu11 instead of
2777 -std=gnu99.
2778 * configure: Regenerated.
2779 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
2780 in compilation command in comment.
2781
2782 * sysdeps/nptl/configure.ac: Remove file.
2783 * sysdeps/nptl/configure: Remove generated file.
2784 * configure.ac (libc_cv_forced_unwind): Do not substitute.
2785 * configure: Regenerated.
2786 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
2787 * config.make.in (have-forced-unwind): Remove variable.
2788 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2789 unconditional.
2790 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
2791 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
2792 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
2793 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
2794 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2795 unconditional.
2796
2797 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2798
2799 [BZ #19174]
2800 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
2801 .skip_lock_out_of_tbegin_retries.
2802 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2803 (__lll_lock_elision): Likewise, and respect a value of
2804 try_tbegin <= 0.
2805
2806 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2807
2808 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
2809 statement.
2810
2811 2015-10-27 Joseph Myers <joseph@codesourcery.com>
2812
2813 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
2814 variable.
2815 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2816 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2817
2818 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
2819 of -std=c1x -D_ISOC11_SOURCE.
2820
2821 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
2822 * configure: Regenerated.
2823 * manual/install.texi (Tools for Compilation): Document
2824 requirement for GCC 4.7 or later.
2825 * INSTALL: Regenerated.
2826
2827 2015-10-27 Ludovic Courtès <ludo@gnu.org>
2828
2829 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
2830 on CNT to a conditional jump to 'puntdata'.
2831
2832 2015-10-27 Joseph Myers <joseph@codesourcery.com>
2833
2834 * configure.ac (libc_cv_gcc___thread): Remove configure test.
2835 (libc_cv_gcc_tls_model_attr): Likewise.
2836 * configure: Regenerated.
2837
2838 * configure.ac (libc_cv_need_minus_P): Remove configure test.
2839 * configure: Regenerated.
2840 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
2841
2842 2015-10-26 Joseph Myers <joseph@codesourcery.com>
2843
2844 * configure.ac (old_glibc_headers): Remove configure test.
2845 * configure: Regenerated.
2846 * config.make.in (old-glibc-headers): Remove variable.
2847 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
2848 (install): Remove dependency on remove-old-headers.
2849 (headers2_0): Remove variable.
2850 (remove-old-headers): Remove rule.
2851
2852 * configure.ac (libc_cv_dot_text): Remove configure test.
2853 (libc_cv_asm_set_directive): Use .text instead of
2854 ${libc_cv_dot_text} in configure test.
2855 * configure: Regenerated.
2856
2857 2015-10-26 Florian Weimer <fweimer@redhat.com>
2858
2859 [BZ #19168]
2860 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2861
2862 2015-10-26 Florian Weimer <fweimer@redhat.com>
2863
2864 * configure.ac (CXX): Clear the variable if the C++ toolchain does
2865 not support static linking.
2866 * configure: Regenerate.
2867
2868 2015-10-23 Joseph Myers <joseph@codesourcery.com>
2869
2870 * math/libm-test.inc (check_float_internal): Do not special-case
2871 errors up to 0.5 ulp.
2872
2873 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2874 log2.
2875 * math/auto-libm-test-out: Regenerated.
2876 * math/libm-test.inc (MAX_EXP): New macro.
2877 (ilogb_test_data): Add more tests.
2878 (isfinite_test_data): Likewise.
2879 (isgreater_test_data): Likewise.
2880 (isgreaterequal_test_data): Likewise.
2881 (isinf_test_data): Likewise.
2882 (isless_test_data): Likewise.
2883 (islessequal_test_data): Likewise.
2884 (islessgreater_test_data): Likewise.
2885 (isnan_test_data): Likewise.
2886 (isnormal_test_data): Likewise.
2887 (issignaling_test_data): Likewise.
2888 (isunordered_test_data): Likewise.
2889 (j0_test_data): Likewise.
2890 (j1_test_data): Likewise.
2891 (jn_test_data): Likewise.
2892 (lgamma_test_data): Likewise.
2893 (log_test_data): Likewise.
2894 (log10_test_data): Likewise.
2895 (log1p_test_data): Likewise.
2896 (log2_test_data): Likewise.
2897 (logb_test_data): Likewise.
2898 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2899
2900 [BZ #18611]
2901 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
2902 avoid excess range and precision on underflow.
2903 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2904 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
2905 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2906 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
2907 underflow.
2908 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2909 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2910 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2911 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2912 * math/auto-libm-test-in: Do not allow missing errno setting for
2913 tests of j1 and jn.
2914 * math/auto-libm-test-out: Regenerated.
2915
2916 2015-10-22 Joseph Myers <joseph@codesourcery.com>
2917
2918 [BZ #15491]
2919 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
2920 floating-point environment instead of clearing all exceptions.
2921 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2922 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
2923 merging in "invalid" exceptions from frndint.
2924 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2925 * math/test-nearbyint-except.c: New file.
2926 * math/Makefile (tests): Add test-nearbyint-except.
2927
2928 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
2929
2930 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
2931
2932 * sysdeps/tile/libm-test-ulps: Regenerated.
2933
2934 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2935
2936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
2937 (__NR_sync_file_range2): Assume it is always defined.
2938 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2939 (__NR_sync_file_range): Assume it is always defined.
2940
2941 2015-10-22 Andreas Schwab <schwab@suse.de>
2942
2943 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2944 INTERNAL_SYSCALL_ERRNO.
2945 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2946 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2947 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2948 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2949 Likewise.
2950 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2951
2952 2015-10-21 Joseph Myers <joseph@codesourcery.com>
2953
2954 * io/tst-fcntl.c (fd): New static variable.
2955 (do_prepare): Open temporary file here....
2956 (do_test): ...not here.
2957
2958 * io/ftwtest-sh: Also trap on exit to remove temporary files.
2959
2960 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
2961
2962 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
2963 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2964 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2965 Moved before "#ifdef __ASSEMBLER__".
2966
2967 2015-10-21 Joseph Myers <joseph@codesourcery.com>
2968
2969 [BZ #19156]
2970 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
2971 arguments very close to 0.
2972
2973 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
2974
2975 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
2976 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
2977
2978 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
2979
2980 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2981 New. Defined for GCC 5 and above when not compiling for
2982 profiling.
2983 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2984
2985 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2986 Renamed to ...
2987 (CFLAGS-epoll_pwait.o): This.
2988 (CFLAGS-mmap.c): Renamed to ...
2989 (CFLAGS-mmap.o): This.
2990 (CFLAGS-mmap64.c): Renamed to ...
2991 (CFLAGS-mmap64.o): This.
2992 (CFLAGS-epoll_pwait.os): New.
2993 (CFLAGS-mmap.os): Likewise.
2994 (CFLAGS-mmap64.os): Likewise.
2995 (CFLAGS-semtimedop.os): Likewise.
2996 (CFLAGS-semtimedop.c): Renamed to ...
2997 (CFLAGS-semtimedop.o): This.
2998
2999 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3000
3001 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
3002 warning message.
3003
3004 2015-10-21 Joseph Myers <joseph@codesourcery.com>
3005
3006 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
3007 * Makefile ($(objpfx)c++-types-check.out): Filter out
3008 $(+gccwarn-c) instead of -Wstrict-prototypes.
3009
3010 * io/fts.c (fts_open): Convert to prototype-style function
3011 definition.
3012 * malloc/mcheck.c (mcheck): Likewise.
3013 (mcheck_pedantic): Likewise.
3014 * posix/regexec.c (re_search_2_stub): Likewise. Use
3015 internal_function.
3016 (re_search_internal): Likewise.
3017 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
3018 prototype-style function definition.
3019 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3020 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3021 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
3022 (xdr_utmpptr): Likewise.
3023 (xdr_utmparr): Likewise.
3024 (xdr_utmpidle): Likewise.
3025 (xdr_utmpidleptr): Likewise.
3026 (xdr_utmpidlearr): Likewise.
3027
3028 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
3029 log, log10 and log2.
3030 * math/auto-libm-test-out: Regenerated.
3031 * math/libm-test.inc (fmod_test_data): Add more tests.
3032 (fpclassify_test_data): Likewise.
3033 (frexp_test_data): Likewise.
3034 (hypot_test_data): Likewise.
3035 (ilogb_test_data): Likewise.
3036
3037 2015-10-20 Joseph Myers <joseph@codesourcery.com>
3038
3039 * debug/fortify_fail.c (__fortify_fail): Convert to
3040 prototype-style function definition. Use internal_function.
3041 * libio/genops.c (save_for_backup): Convert to prototype-style
3042 function definition.
3043 * libio/wgenops.c (save_for_wbackup): Likewise.
3044 * login/grantpt.c (grantpt): Likewise.
3045 * login/ptsname.c (ptsname): Likewise.
3046 (__ptsname_r): Likewise.
3047 * login/unlockpt.c (unlockpt): Likewise.
3048 * mach/msgserver.c (__mach_msg_server): Likewise.
3049 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
3050 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
3051 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
3052 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
3053 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
3054 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
3055 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
3056 Likewise.
3057 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
3058 internal_function.
3059 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
3060 prototype-style function definition.
3061 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
3062 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
3063 (__pthread_create_2_0): Likewise.
3064 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
3065 * nptl/register-atfork.c (__register_atfork): Likewise.
3066 * posix/glob.c (glob): Likewise.
3067 * posix/regcomp.c (re_comp): Likewise.
3068 * posix/regexec.c (re_exec): Likewise.
3069 * stdlib/add_n.c [__STDC__]: Make code unconditional.
3070 [!__STDC__]: Remove conditional code.
3071 * stdlib/cmp.c [__STDC__]: Make code unconditional.
3072 [!__STDC__]: Remove conditional code.
3073 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
3074 [!__STDC__]: Remove conditional code.
3075 * stdlib/divrem.c [__STDC__]: Make code unconditional.
3076 [!__STDC__]: Remove conditional code.
3077 * stdlib/lshift.c [__STDC__]: Make code unconditional.
3078 [!__STDC__]: Remove conditional code.
3079 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
3080 [!__STDC__]: Remove conditional code.
3081 * stdlib/mul.c [__STDC__]: Make code unconditional.
3082 [!__STDC__]: Remove conditional code.
3083 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
3084 [!__STDC__]: Remove conditional code.
3085 * stdlib/rshift.c [__STDC__]: Make code unconditional.
3086 [!__STDC__]: Remove conditional code.
3087 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
3088 function definition.
3089 (STRTOF): Likewise.
3090 * stdlib/strtod_l.c (__STRTOF): Likewise.
3091 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
3092 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
3093 (__strtol_l): Likewise.
3094 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
3095 [!__STDC__]: Remove conditional code.
3096 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
3097 definition.
3098 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3099 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3100 type.
3101 (__strcasecmp): Convert to prototype-style function definition.
3102 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
3103 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3104 type.
3105 (__strncasecmp): Convert to prototype-style function definition.
3106 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
3107 * sunrpc/xdr.c (xdr_union): Likewise.
3108 * sunrpc/xdr_array.c (xdr_array): Likewise.
3109 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
3110 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
3111 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
3112 Likewise.
3113 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
3114 Likewise.
3115 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
3116 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
3117 Likewise.
3118 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
3119 (LOCALE_PARAM_PROTO): Likewise.
3120 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
3121 argument type.
3122 (ut_argument_spec): Remove macro.
3123 (ut_argument_spec_iso): Rename to ut_argument_spec.
3124 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
3125 prototype-style function definition.
3126 (memcpy_uppcase): Likewise.
3127 (__strftime_internal): Likewise.
3128 (my_strftime): Likewise.
3129 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
3130 (LOCALE_PARAM_DECL): Likewise.
3131 [_LIBC] (LOCALE_PARAM): Include argument type.
3132 (__strptime_internal): Convert to prototype-style function
3133 definition.
3134 (strptime): Likewise.
3135 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
3136 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3137 type.
3138 (__wcscasecmp): Convert to prototype-style function definition.
3139 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
3140 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
3141 type.
3142 (__wcsncasecmp): Convert to prototype-style function definition.
3143
3144 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
3145 function definition.
3146 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3147 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3148 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
3149 * elf/dl-minimal.c (_itoa): Likewise.
3150 * hurd/hurdmalloc.c (malloc): Likewise.
3151 (free): Likewise.
3152 (realloc): Likewise.
3153 * inet/inet6_option.c (inet6_option_space): Likewise.
3154 (inet6_option_init): Likewise.
3155 (inet6_option_append): Likewise.
3156 (inet6_option_alloc): Likewise.
3157 (inet6_option_next): Likewise.
3158 (inet6_option_find): Likewise.
3159 * io/ftw.c (FTW_NAME): Likewise.
3160 (NFTW_NAME): Likewise.
3161 (NFTW_NEW_NAME): Likewise.
3162 (NFTW_OLD_NAME): Likewise.
3163 * libio/iofwide.c (_IO_fwide): Likewise.
3164 * libio/strops.c (_IO_str_init_static_internal): Likewise.
3165 (_IO_str_init_static): Likewise.
3166 (_IO_str_init_readonly): Likewise.
3167 (_IO_str_overflow): Likewise.
3168 (_IO_str_underflow): Likewise.
3169 (_IO_str_count): Likewise.
3170 (_IO_str_seekoff): Likewise.
3171 (_IO_str_pbackfail): Likewise.
3172 (_IO_str_finish): Likewise.
3173 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
3174 (_IO_wstr_overflow): Likewise.
3175 (_IO_wstr_underflow): Likewise.
3176 (_IO_wstr_count): Likewise.
3177 (_IO_wstr_seekoff): Likewise.
3178 (_IO_wstr_pbackfail): Likewise.
3179 (_IO_wstr_finish): Likewise.
3180 * locale/programs/localedef.c (normalize_codeset): Likewise.
3181 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3182 (add_locales_to_archive): Likewise.
3183 (delete_locales_from_archive): Likewise.
3184 * malloc/malloc.c (__libc_mallinfo): Likewise.
3185 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
3186 * misc/tsearch.c (__tfind): Likewise.
3187 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
3188 * nptl/pthread_attr_getdetachstate.c
3189 (__pthread_attr_getdetachstate): Likewise.
3190 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
3191 Likewise.
3192 * nptl/pthread_attr_getinheritsched.c
3193 (__pthread_attr_getinheritsched): Likewise.
3194 * nptl/pthread_attr_getschedparam.c
3195 (__pthread_attr_getschedparam): Likewise.
3196 * nptl/pthread_attr_getschedpolicy.c
3197 (__pthread_attr_getschedpolicy): Likewise.
3198 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
3199 Likewise.
3200 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
3201 Likewise.
3202 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
3203 Likewise.
3204 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
3205 Likewise.
3206 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
3207 (__pthread_attr_init_2_0): Likewise.
3208 * nptl/pthread_attr_setdetachstate.c
3209 (__pthread_attr_setdetachstate): Likewise.
3210 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
3211 Likewise.
3212 * nptl/pthread_attr_setinheritsched.c
3213 (__pthread_attr_setinheritsched): Likewise.
3214 * nptl/pthread_attr_setschedparam.c
3215 (__pthread_attr_setschedparam): Likewise.
3216 * nptl/pthread_attr_setschedpolicy.c
3217 (__pthread_attr_setschedpolicy): Likewise.
3218 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
3219 Likewise.
3220 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
3221 Likewise.
3222 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
3223 Likewise.
3224 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
3225 Likewise.
3226 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
3227 Likewise.
3228 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
3229 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
3230 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
3231 use internal_function.
3232 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
3233 prototype-style function definition.
3234 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
3235 (__pthread_mutex_cond_lock_adjust): Likewise. Use
3236 internal_function.
3237 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
3238 Convert to prototype-style function definition.
3239 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3240 Likewise.
3241 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3242 Likewise.
3243 (__pthread_mutex_unlock): Likewise.
3244 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
3245 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
3246 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
3247 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
3248 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
3249 * nss/makedb.c (process_input): Likewise.
3250 * posix/fnmatch.c (__strchrnul): Likewise.
3251 (__wcschrnul): Likewise.
3252 (fnmatch): Likewise.
3253 * posix/fnmatch_loop.c (FCT): Likewise.
3254 * posix/glob.c (globfree): Likewise.
3255 (__glob_pattern_type): Likewise.
3256 (__glob_pattern_p): Likewise.
3257 * posix/regcomp.c (re_compile_pattern): Likewise.
3258 (re_set_syntax): Likewise.
3259 (re_compile_fastmap): Likewise.
3260 (regcomp): Likewise.
3261 (regerror): Likewise.
3262 (regfree): Likewise.
3263 * posix/regexec.c (regexec): Likewise.
3264 (re_match): Likewise.
3265 (re_search): Likewise.
3266 (re_match_2): Likewise.
3267 (re_search_2): Likewise.
3268 (re_search_stub): Likewise. Use internal_function
3269 (re_copy_regs): Likewise.
3270 (re_set_registers): Convert to prototype-style function
3271 definition.
3272 (prune_impossible_nodes): Likewise. Use internal_function.
3273 * resolv/inet_net_pton.c (inet_net_pton): Convert to
3274 prototype-style function definition.
3275 (inet_net_pton_ipv4): Likewise.
3276 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3277 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
3278 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
3279 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
3280 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3281 Make variadic.
3282 * time/strptime_l.c (localtime_r): Convert to prototype-style
3283 function definition.
3284 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3285 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3286 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3287 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3288
3289 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
3290 definition.
3291 (_ufc_doit_r): Likewise.
3292 * crypt/crypt_util.c (_ufc_copymem): Likewise.
3293 (_ufc_output_conversion_r): Likewise.
3294 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
3295 * inet/rcmd.c (rcmd_af): Likewise.
3296 (rcmd): Likewise.
3297 (ruserok_af): Likewise.
3298 (ruserok): Likewise.
3299 (ruserok2_sa): Likewise.
3300 (ruserok_sa): Likewise.
3301 (iruserok_af): Likewise.
3302 (iruserok): Likewise.
3303 (__ivaliduser): Likewise.
3304 (__validuser2_sa): Likewise.
3305 * inet/rexec.c (rexec_af): Likewise.
3306 (rexec): Likewise.
3307 * inet/ruserpass.c (ruserpass): Likewise.
3308 * locale/programs/xmalloc.c (xcalloc): Likewise.
3309 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
3310 * math/w_drem.c (__drem): Likewise.
3311 * math/w_dremf.c (__dremf): Likewise.
3312 * math/w_dreml.c (__dreml): Likewise.
3313 * misc/daemon.c (daemon): Likewise.
3314 * resolv/res_debug.c (p_fqnname): Likewise.
3315 * stdlib/div.c (div): Likewise.
3316 * string/memcmp.c (memcmp_bytes): Likewise.
3317 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
3318 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3319
3320 * crypt/cert.c (main): Convert to prototype-style function
3321 definition.
3322 * io/pipe.c (__pipe): Likewise.
3323 * io/pipe2.c (__pipe2): Likewise.
3324 * misc/futimesat.c (futimesat): Likewise.
3325 * misc/utimes.c (__utimes): Likewise.
3326 * posix/execve.c (__execve): Likewise.
3327 * posix/execvp.c (execvp): Likewise.
3328 * posix/execvpe.c (__execvpe): Likewise.
3329 * posix/fexecve.c (fexecve): Likewise.
3330 * socket/socketpair.c (socketpair): Likewise.
3331 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3332 * stdlib/erand48.c (erand48): Likewise.
3333 * stdlib/erand48_r.c (__erand48_r): Likewise.
3334 * stdlib/jrand48.c (jrand48): Likewise.
3335 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
3336 * stdlib/lcong48.c (lcong48): Likewise.
3337 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
3338 * stdlib/nrand48.c (nrand48): Likewise.
3339 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
3340 * stdlib/seed48.c (seed48): Likewise.
3341 * stdlib/seed48_r.c (__seed48_r): Likewise.
3342 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
3343 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
3344 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
3345
3346 2015-10-19 Joseph Myers <joseph@codesourcery.com>
3347
3348 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
3349 * configure: Regenerated.
3350 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
3351 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
3352 unconditional.
3353 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3354 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3355 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3356 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
3357 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
3358 unconditional.
3359 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
3360
3361 * posix/Makefile (CFLAGS-regex.c): Remove variable.
3362 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
3363
3364 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
3365 function definition.
3366 * crypt/crypt_util.c (__encrypt_r): Likewise.
3367 * libio/genops.c (_IO_no_init): Likewise.
3368 * libio/iofopncook.c (_IO_fopencookie): Likewise.
3369 (_IO_old_fopencookie): Likewise.
3370 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3371 * libio/iogetline.c (_IO_getline): Likewise.
3372 (_IO_getline_info): Likewise.
3373 * libio/iogetwline.c (_IO_getwline): Likewise.
3374 (_IO_getwline_info): Likewise.
3375 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
3376 * libio/vswprintf.c (_IO_vswprintf): Likewise.
3377 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
3378 (find_entry): Likewise.
3379 (iterate_table): Likewise.
3380 (lookup): Likewise.
3381 * login/forkpty.c (forkpty): Likewise.
3382 * misc/hsearch_r.c (__hsearch_r): Likewise.
3383 * misc/select.c (__select): Likewise.
3384 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
3385 Likewise.
3386 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
3387 Likewise.
3388 * nptl/old_pthread_cond_timedwait.c
3389 (__pthread_cond_timedwait_2_0): Likewise.
3390 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
3391 * nptl/pthread_barrierattr_getpshared.c
3392 (pthread_barrierattr_getpshared): Likewise.
3393 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3394 Likewise.
3395 * nptl/pthread_mutex_setprioceiling.c
3396 (pthread_mutex_setprioceiling): Likewise.
3397 * nptl/pthread_mutexattr_getprioceiling.c
3398 (pthread_mutexattr_getprioceiling): Likewise.
3399 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
3400 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3401 Likewise.
3402 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3403 Likewise.
3404 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
3405 Likewise.
3406 * socket/recvfrom.c (__recvfrom): Likewise.
3407 * socket/sendto.c (__sendto): Likewise.
3408 * socket/setsockopt.c (__setsockopt): Likewise.
3409 * stdio-common/_itoa.c (_itoa): Likewise.
3410 * stdio-common/_itowa.c (_itowa): Likewise.
3411 * stdio-common/reg-printf.c (__register_printf_specifier):
3412 Likewise.
3413 (__register_printf_function): Likewise.
3414 * stdio-common/tempname.c (__path_search): Likewise.
3415 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
3416 * stdlib/mul_1.c (mpn_mul_1): Likewise.
3417 * stdlib/random_r.c (__initstate_r): Likewise.
3418 * stdlib/setenv.c (__add_to_environ): Likewise.
3419 * stdlib/submul_1.c (mpn_submul_1): Likewise.
3420 * streams/getpmsg.c (getpmsg): Likewise.
3421 * streams/putmsg.c (putmsg): Likewise.
3422 * streams/putpmsg.c (putpmsg): Likewise.
3423 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
3424 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3425 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
3426 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3427 * sunrpc/pm_getport.c (pmap_getport): Likewise.
3428 * sunrpc/svc_udp.c (cache_get): Likewise.
3429 * sunrpc/xdr_array.c (xdr_vector): Likewise.
3430 * sysdeps/mach/hurd/getcwd.c
3431 (__canonicalize_directory_name_internal): Likewise.
3432 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
3433 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
3434 * sysdeps/mach/hurd/select.c (__select): Likewise.
3435 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
3436 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
3437 * sysdeps/sparc/nptl/pthread_barrier_init.c
3438 (__pthread_barrier_init): Likewise.
3439 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
3440 (__pthread_cond_timedwait): Likewise.
3441 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
3442 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
3443 Likewise.
3444 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
3445 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
3446 Likewise.
3447 * sysvipc/semtimedop.c (semtimedop): Likewise.
3448 * time/setitimer.c (__setitimer): Likewise.
3449 * time/strftime_l.c (emacs_strftime): Likewise.
3450
3451 2015-10-19 Mike Frysinger <vapier@gentoo.org>
3452
3453 * config.make.in (have-ssp): Delete.
3454 (stack-protector): New variable.
3455 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
3456 cache test for -fstack-protector-strong. Export stack_protector to
3457 the best ssp flag.
3458 * configure: Regenerated.
3459 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
3460 * nscd/Makefile (CFLAGS-nscd): Likewise.
3461 * resolv/Makefile (CFLAGS-libresolv): Likewise.
3462
3463 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
3464
3465 [BZ #19122]
3466 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
3467 attribute_hidden.
3468
3469 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3470
3471 [BZ #18743]
3472 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
3473 code to...
3474 (ELIDE_LOCK): ...here.
3475 (__get_new_count): New function with part of the code from
3476 __elide_lock that updates the value of adapt_count after a
3477 transaction abort.
3478 (__elided_trylock): Moved this code to...
3479 (ELIDE_TRYLOCK): ...here.
3480
3481 2015-10-19 Mike Frysinger <vapier@gentoo.org>
3482
3483 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
3484 * configure: Regenerate.
3485 * INSTALL: Regenerate.
3486 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
3487 and tweak grammar.
3488
3489 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
3490
3491 * login/programs/pt_chown.c: Include signal.h
3492 (main): Clear any signal mask from the parent process.
3493
3494 2015-10-19 Joseph Myers <joseph@codesourcery.com>
3495
3496 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
3497 * configure: Regenerated.
3498 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
3499 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
3500 $(gnu89-inline-CFLAGS).
3501
3502 * configure.ac (libc_cv_asm_weak_directive): Remove configure
3503 test.
3504 (libc_cv_asm_weakext_directive): Likewise.
3505 * configure: Regenerated.
3506 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
3507 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
3508 * include/libc-symbols.h
3509 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
3510 #error.
3511 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
3512 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
3513
3514 * sysdeps/arm/backtrace.c (__backtrace): Convert to
3515 prototype-style function definition.
3516 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3517 * sysdeps/i386/ffs.c (__ffs): Likewise.
3518 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3519 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
3520 Likewise.
3521 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3522 Likewise.
3523 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3524 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3525 Likewise.
3526 * sysdeps/m68k/ffs.c (__ffs): Likewise.
3527 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
3528 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
3529 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
3530 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
3531 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
3532 * sysdeps/mach/hurd/access.c (__access): Likewise.
3533 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3534 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
3535 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3536 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
3537 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
3538 (cthread_getspecific): Likewise.
3539 (cthread_setspecific): Likewise.
3540 (__libc_getspecific): Likewise.
3541 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
3542 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
3543 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
3544 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
3545 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
3546 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
3547 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
3548 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
3549 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
3550 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
3551 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
3552 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
3553 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
3554 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
3555 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
3556 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
3557 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
3558 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
3559 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
3560 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
3561 * sysdeps/mach/hurd/link.c (__link): Likewise.
3562 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
3563 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
3564 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3565 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
3566 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3567 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
3568 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
3569 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
3570 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3571 * sysdeps/mach/hurd/rename.c (rename): Likewise.
3572 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
3573 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
3574 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
3575 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
3576 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
3577 * sysdeps/mach/hurd/send.c (__send): Likewise.
3578 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
3579 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
3580 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
3581 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
3582 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
3583 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
3584 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
3585 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
3586 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
3587 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
3588 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
3589 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3590 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
3591 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
3592 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3593 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3594 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
3595 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
3596 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
3597 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3598 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
3599 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
3600 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
3601 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
3602 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
3603 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
3604 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
3605 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3606 * sysdeps/posix/alarm.c (alarm): Likewise.
3607 * sysdeps/posix/cuserid.c (cuserid): Likewise.
3608 * sysdeps/posix/dirfd.c (dirfd): Likewise.
3609 * sysdeps/posix/dup.c (__dup): Likewise.
3610 * sysdeps/posix/dup2.c (__dup2): Likewise.
3611 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
3612 (main): Likewise.
3613 * sysdeps/posix/flock.c (__flock): Likewise.
3614 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3615 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3616 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
3617 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
3618 * sysdeps/posix/isatty.c (__isatty): Likewise.
3619 * sysdeps/posix/killpg.c (killpg): Likewise.
3620 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3621 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
3622 * sysdeps/posix/raise.c (raise): Likewise.
3623 * sysdeps/posix/remove.c (remove): Likewise.
3624 * sysdeps/posix/rename.c (rename): Likewise.
3625 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
3626 * sysdeps/posix/seekdir.c (seekdir): Likewise.
3627 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3628 * sysdeps/posix/sigignore.c (sigignore): Likewise.
3629 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
3630 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
3631 * sysdeps/posix/sigset.c (sigset): Likewise.
3632 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
3633 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3634 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
3635 * sysdeps/posix/time.c (time): Likewise.
3636 * sysdeps/posix/ttyname.c (getttyname): Likewise.
3637 (ttyname): Likewise.
3638 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
3639 * sysdeps/posix/utime.c (utime): Likewise.
3640 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
3641 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3642 Likewise.
3643 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
3644 (pthread_spin_trylock): Likewise.
3645 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
3646 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
3647 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
3648 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
3649 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
3650 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
3651 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
3652 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
3653 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
3654 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
3655 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
3656 * sysdeps/s390/ffs.c (__ffs): Likewise.
3657 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
3658 Likewise.
3659 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3660 Likewise.
3661 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
3662 Likewise.
3663 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
3664 (pthread_barrier_destroy): Likewise.
3665 * sysdeps/sparc/nptl/pthread_barrier_wait.c
3666 (__pthread_barrier_wait): Likewise.
3667 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
3668 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3669 (__pthread_barrier_wait): Likewise.
3670 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
3671 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
3672 (memcmp_not_common_alignment): Likewise.
3673 (MEMCMP): Likewise.
3674 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
3675 (_wordcopy_fwd_dest_aligned): Likewise.
3676 (_wordcopy_bwd_aligned): Likewise.
3677 (_wordcopy_bwd_dest_aligned): Likewise.
3678 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
3679 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
3680 * sysdeps/unix/bsd/stty.c (stty): Likewise.
3681 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
3682 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
3683 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
3684 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
3685 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
3686 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
3687 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
3688 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
3689 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3690 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
3691 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
3692 * sysdeps/unix/stime.c (stime): Likewise.
3693 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
3694 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
3695 Likewise. Use internal_function.
3696 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
3697 Convert to prototype-style function definition.
3698 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3699 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3700 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
3701 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3702 Likewise. Use internal_function.
3703 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
3704 prototype-style function definition
3705 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3706 Likewise.
3707 (__getlogin_r): Likewise.
3708 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
3709 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
3710 (__pthread_cond_broadcast): Likewise.
3711 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
3712 (__pthread_cond_destroy): Likewise.
3713 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
3714 (__pthread_cond_init): Likewise.
3715 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
3716 (__pthread_cond_signal): Likewise.
3717 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3718 (__pthread_cond_wait): Likewise.
3719 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
3720 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3721 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
3722 Likewise.
3723 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
3724 Likewise.
3725 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
3726 Likewise.
3727 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
3728 Likewise.
3729 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
3730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
3731 (__ftruncate64): Likewise.
3732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
3733 (truncate64): Likewise.
3734 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
3735 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
3736 (pthread_getcpuclockid): Likewise.
3737 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3738 Likewise.
3739 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3740 Likewise.
3741 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
3742 Likewise.
3743 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3744 Likewise.
3745 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
3746 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
3747 (__libc_sigaction): Likewise.
3748 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
3749 Likewise.
3750 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
3751 (__sigprocmask): Likewise.
3752 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
3753 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
3754 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
3755 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3756 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3757 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
3758 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3759 Likewise.
3760 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3761 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3762 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3763 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
3764 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
3765 Likewise.
3766 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
3767 (__sigprocmask): Likewise.
3768 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
3769 (cfgetispeed): Likewise.
3770 (cfsetospeed): Likewise.
3771 (cfsetispeed): Likewise.
3772 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
3773 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
3774 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3775 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3776 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
3777 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
3778 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
3779 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
3780 Likewise.
3781 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
3782 Likewise.
3783 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
3784 Likewise.
3785 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
3786 Likewise.
3787 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3788
3789 2015-10-17 Florian Weimer <fweimer@redhat.com>
3790
3791 sunrpc: Rewrite with explicit TLS access using __thread.
3792 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
3793 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
3794 directly.
3795 (__rpc_thread_variables): Access thread_rpc_vars directly.
3796 Eliminate redundant assignment of the tvp variable.
3797
3798 2015-10-17 Florian Weimer <fweimer@redhat.com>
3799
3800 malloc: Rewrite with explicit TLS access using __thread.
3801 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
3802 (tsd_setspecific, tsd_getspecific): Remove.
3803 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
3804 (tsd_setspecific, tsd_getspecific): Likewise.
3805 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
3806 (tsd_setspecific, tsd_getspecific): Likewise.
3807 * malloc/arena.c (thread_arena): New TLS variable.
3808 (arena_key): Remove variable.
3809 (arena_get): Use thread_arena.
3810 (arena_lookup): Remove macro.
3811 (malloc_atfork, free_atfork, ptmalloc_lock_all)
3812 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
3813 (_int_new_arena, get_free_list, reused_arena)
3814 (arena_thread_freeres): Use thread_arena.
3815 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
3816 tsd_getspecific, tsd_setspecific from safety annotations.
3817 (Allocating Cleared Space): Remove arena_lookup from safety
3818 annotations.
3819
3820 2015-10-17 Florian Weimer <fweimer@redhat.com>
3821
3822 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
3823 struct scratch_buffer instead of extend_alloca.
3824
3825 2015-10-17 Florian Weimer <fweimer@redhat.com>
3826
3827 * sysdeps/unix/sysv/linux/kernel-features.h
3828 (__ASSUME_SOCK_CLOEXEC): Remove.
3829 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
3830 (__have_paccept): Remove unused macro.
3831 * include/unistd.h (__have_sock_cloexec): Remove declaration.
3832 * misc/syslog.c (openlog_internal): Remove fallback code for
3833 !__ASSUME_SOCK_CLOEXEC.
3834 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
3835 missing SOCK_CLOEXEC.
3836 * nscd/connections.c (have_sock_cloexec): Remove definition.
3837 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3838 * nscd/nscd_helper.c (open_socket): Remove fallback code for
3839 !__ASSUME_SOCK_CLOEXEC.
3840 * resolv/res_send.c (__have_o_nonblock): Remove definition.
3841 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3842 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
3843 definition.
3844 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
3845 code for !__ASSUME_SOCK_CLOEXEC.
3846
3847 2015-10-17 Florian Weimer <fweimer@redhat.com>
3848
3849 [BZ #18982]
3850 * manual/stdio.texi (Variable Arguments Output): Add portability
3851 note, explaining that vfprintf clobbers the va_list pointer.
3852
3853 2015-10-16 Joseph Myers <joseph@codesourcery.com>
3854
3855 * math/libm-test.inc (fabs_test_data): Add more tests.
3856 (fdim_test_data): Likewise.
3857 (fma_test_data): Likewise.
3858 (fmax_test_data): Likewise.
3859 (fmin_test_data): Likewise.
3860 (fmod_test_data): Likewise.
3861
3862 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
3863
3864 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
3865 data.
3866
3867 2015-10-16 Joseph Myers <joseph@codesourcery.com>
3868
3869 * math/libm-test.inc (ceil_test_data): Add more tests and more
3870 expectations for "inexact".
3871 (floor_test_data): Add more tests.
3872 (round_test_data): Likewise.
3873 (trunc_test_data): Likewise.
3874
3875 * crypt/cert.c (good_bye): Convert to prototype-style function
3876 definition.
3877 (get8): Likewise.
3878 (put8): Likewise.
3879 * crypt/crypt-entry.c (crypt): Likewise.
3880 (__fcrypt): Likewise.
3881 * crypt/crypt_util.c (_ufc_prbits): Likewise.
3882 (_ufc_set_bits): Likewise.
3883 (_ufc_clearmem): Likewise.
3884 (__init_des_r): Likewise.
3885 (shuffle_sb): Likewise.
3886 (shuffle_sb): Likewise.
3887 (_ufc_setup_salt_r): Likewise.
3888 (_ufc_mk_keytab_r): Likewise.
3889 (_ufc_dofinalperm_r): Likewise.
3890 (encrypt): Likewise.
3891 (__setkey_r): Likewise.
3892 (setkey): Likewise.
3893 * crypt/md5.c (md5_init_ctx): Likewise.
3894 (md5_read_ctx): Likewise.
3895 (md5_finish_ctx): Likewise.
3896 (md5_stream): Likewise.
3897 (md5_buffer): Likewise.
3898 (md5_process_bytes): Likewise.
3899 * crypt/sha256.c (__sha256_init_ctx): Likewise.
3900 (__sha256_finish_ctx): Likewise.
3901 (__sha256_process_bytes): Likewise.
3902 * crypt/sha512.c (__sha512_init_ctx): Likewise.
3903 (__sha512_finish_ctx): Likewise.
3904 (__sha512_process_bytes): Likewise.
3905 * ctype/isctype.c (__isctype): Likewise.
3906 * debug/backtrace.c (__backtrace): Likewise.
3907 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
3908 * debug/fgets_chk.c (__fgets_chk): Likewise.
3909 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
3910 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
3911 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3912 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3913 * debug/memset_chk.c (__memset_chk): Likewise.
3914 * debug/strcat_chk.c (__strcat_chk): Likewise.
3915 * debug/strncat_chk.c (__strncat_chk): Likewise.
3916 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
3917 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
3918 * dirent/dirfd.c (dirfd): Likewise.
3919 * dirent/getdents.c (__getdirentries): Likewise.
3920 * dirent/getdents64.c (getdirentries64): Likewise.
3921 * dirent/rewinddir.c (__rewinddir): Likewise.
3922 * dirent/seekdir.c (seekdir): Likewise.
3923 * dirent/telldir.c (telldir): Likewise.
3924 * elf/sln.c (makesymlinks): Likewise.
3925 (makesymlink): Likewise.
3926 * gmon/gmon.c (__moncontrol): Likewise.
3927 (__monstartup): Likewise.
3928 (write_hist): Likewise.
3929 (write_call_graph): Likewise.
3930 (write_bb_counts): Likewise.
3931 * grp/setgroups.c (setgroups): Likewise.
3932 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3933 * inet/inet_net.c (inet_network): Likewise.
3934 * inet/inet_netof.c (inet_netof): Likewise.
3935 * inet/rcmd.c (rresvport_af): Likewise.
3936 (rresvport): Likewise.
3937 * io/access.c (__access): Likewise.
3938 * io/chdir.c (__chdir): Likewise.
3939 * io/chmod.c (__chmod): Likewise.
3940 * io/chown.c (__chown): Likewise.
3941 * io/close.c (__close): Likewise.
3942 * io/creat.c (creat): Likewise.
3943 * io/creat64.c (creat64): Likewise.
3944 * io/dup.c (__dup): Likewise.
3945 * io/dup2.c (__dup2): Likewise.
3946 * io/dup3.c (__dup3): Likewise.
3947 * io/euidaccess.c (__euidaccess): Likewise.
3948 * io/faccessat.c (faccessat): Likewise.
3949 * io/fchmod.c (__fchmod): Likewise.
3950 * io/fchmodat.c (fchmodat): Likewise.
3951 * io/fchown.c (__fchown): Likewise.
3952 * io/fchownat.c (fchownat): Likewise.
3953 * io/fcntl.c (__fcntl): Likewise.
3954 * io/flock.c (__flock): Likewise.
3955 * io/fts.c (fts_load): Likewise.
3956 (fts_close): Likewise.
3957 (fts_read): Likewise.
3958 (fts_set): Likewise.
3959 (fts_children): Likewise.
3960 (fts_build): Likewise.
3961 (fts_stat): Likewise.
3962 (fts_sort): Likewise.
3963 (fts_alloc): Likewise.
3964 (fts_lfree): Likewise.
3965 (fts_palloc): Likewise.
3966 (fts_padjust): Likewise.
3967 (fts_maxarglen): Likewise.
3968 (fts_safe_changedir): Likewise.
3969 * io/getwd.c (getwd): Likewise.
3970 * io/isatty.c (__isatty): Likewise.
3971 * io/lchown.c (__lchown): Likewise.
3972 * io/link.c (__link): Likewise.
3973 * io/linkat.c (linkat): Likewise.
3974 * io/lseek.c (__libc_lseek): Likewise.
3975 * io/mkdir.c (__mkdir): Likewise.
3976 * io/mkdirat.c (mkdirat): Likewise.
3977 * io/mkfifo.c (mkfifo): Likewise.
3978 * io/mkfifoat.c (mkfifoat): Likewise.
3979 * io/open.c (__libc_open): Likewise.
3980 * io/open64.c (__libc_open64): Likewise.
3981 * io/readlink.c (__readlink): Likewise.
3982 * io/readlinkat.c (readlinkat): Likewise.
3983 * io/rmdir.c (__rmdir): Likewise.
3984 * io/symlink.c (__symlink): Likewise.
3985 * io/symlinkat.c (symlinkat): Likewise.
3986 * io/ttyname.c (ttyname): Likewise.
3987 * io/ttyname_r.c (__ttyname_r): Likewise.
3988 * io/umask.c (__umask): Likewise.
3989 * io/unlink.c (__unlink): Likewise.
3990 * io/unlinkat.c (unlinkat): Likewise.
3991 * io/utime.c (utime): Likewise.
3992 * libio/clearerr.c (clearerr): Likewise.
3993 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
3994 * libio/feof.c (_IO_feof): Likewise.
3995 * libio/feof_u.c (feof_unlocked): Likewise.
3996 * libio/ferror.c (_IO_ferror): Likewise.
3997 * libio/ferror_u.c (ferror_unlocked): Likewise.
3998 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3999 * libio/fileno.c (__fileno): Likewise.
4000 * libio/fputc.c (fputc): Likewise.
4001 * libio/fputc_u.c (fputc_unlocked): Likewise.
4002 * libio/fputwc.c (fputwc): Likewise.
4003 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
4004 * libio/freopen.c (freopen): Likewise.
4005 * libio/freopen64.c (freopen64): Likewise.
4006 * libio/fseek.c (fseek): Likewise.
4007 * libio/fseeko.c (fseeko): Likewise.
4008 * libio/fseeko64.c (fseeko64): Likewise.
4009 * libio/ftello.c (__ftello): Likewise.
4010 * libio/ftello64.c (ftello64): Likewise.
4011 * libio/fwide.c (fwide): Likewise.
4012 * libio/genops.c (_IO_un_link): Likewise.
4013 (_IO_link_in): Likewise.
4014 (_IO_least_marker): Likewise.
4015 (_IO_switch_to_main_get_area): Likewise.
4016 (_IO_switch_to_backup_area): Likewise.
4017 (_IO_switch_to_get_mode): Likewise.
4018 (_IO_free_backup_area): Likewise.
4019 (_IO_switch_to_put_mode): Likewise.
4020 (__overflow): Likewise.
4021 (__underflow): Likewise.
4022 (__uflow): Likewise.
4023 (_IO_setb): Likewise.
4024 (_IO_doallocbuf): Likewise.
4025 (_IO_default_underflow): Likewise.
4026 (_IO_default_uflow): Likewise.
4027 (_IO_default_xsputn): Likewise.
4028 (_IO_sgetn): Likewise.
4029 (_IO_default_xsgetn): Likewise.
4030 (_IO_sync): Likewise.
4031 (_IO_default_setbuf): Likewise.
4032 (_IO_default_seekpos): Likewise.
4033 (_IO_default_doallocate): Likewise.
4034 (_IO_init): Likewise.
4035 (_IO_old_init): Likewise.
4036 (_IO_default_sync): Likewise.
4037 (_IO_default_finish): Likewise.
4038 (_IO_default_seekoff): Likewise.
4039 (_IO_sputbackc): Likewise.
4040 (_IO_sungetc): Likewise.
4041 (_IO_set_column): Likewise.
4042 (_IO_set_column): Likewise.
4043 (_IO_adjust_column): Likewise.
4044 (_IO_get_column): Likewise.
4045 (_IO_init_marker): Likewise.
4046 (_IO_remove_marker): Likewise.
4047 (_IO_marker_difference): Likewise.
4048 (_IO_marker_delta): Likewise.
4049 (_IO_seekmark): Likewise.
4050 (_IO_unsave_markers): Likewise.
4051 (_IO_nobackup_pbackfail): Likewise.
4052 (_IO_default_pbackfail): Likewise.
4053 (_IO_default_seek): Likewise.
4054 (_IO_default_stat): Likewise.
4055 (_IO_default_read): Likewise.
4056 (_IO_default_write): Likewise.
4057 (_IO_default_showmanyc): Likewise.
4058 (_IO_default_imbue): Likewise.
4059 (_IO_iter_next): Likewise.
4060 (_IO_iter_file): Likewise.
4061 * libio/getc.c (_IO_getc): Likewise.
4062 * libio/getwc.c (_IO_getwc): Likewise.
4063 * libio/iofclose.c (_IO_new_fclose): Likewise.
4064 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
4065 * libio/iofflush.c (_IO_fflush): Likewise.
4066 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
4067 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
4068 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
4069 * libio/iofgets.c (_IO_fgets): Likewise.
4070 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
4071 * libio/iofgetws.c (fgetws): Likewise.
4072 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4073 * libio/iofopen64.c (_IO_fopen64): Likewise.
4074 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4075 (_IO_cookie_write): Likewise.
4076 (_IO_cookie_seek): Likewise.
4077 (_IO_cookie_close): Likewise.
4078 (_IO_cookie_seekoff): Likewise.
4079 (_IO_old_cookie_seek): Likewise.
4080 * libio/iofputs.c (_IO_fputs): Likewise.
4081 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
4082 * libio/iofputws.c (fputws): Likewise.
4083 * libio/iofputws_u.c (fputws_unlocked): Likewise.
4084 * libio/iofread.c (_IO_fread): Likewise.
4085 * libio/iofread_u.c (__fread_unlocked): Likewise.
4086 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
4087 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
4088 * libio/ioftell.c (_IO_ftell): Likewise.
4089 * libio/iofwrite.c (_IO_fwrite): Likewise.
4090 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4091 * libio/iogets.c (_IO_gets): Likewise.
4092 * libio/iopadn.c (_IO_padn): Likewise.
4093 * libio/iopopen.c (_IO_new_proc_open): Likewise.
4094 (_IO_new_popen): Likewise.
4095 (_IO_new_proc_close): Likewise.
4096 * libio/ioputs.c (_IO_puts): Likewise.
4097 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
4098 (_IO_seekoff): Likewise.
4099 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
4100 (_IO_seekpos): Likewise.
4101 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
4102 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
4103 * libio/ioungetc.c (_IO_ungetc): Likewise.
4104 * libio/ioungetwc.c (ungetwc): Likewise.
4105 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
4106 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
4107 * libio/iowpadn.c (_IO_wpadn): Likewise.
4108 * libio/libc_fatal.c (__libc_fatal): Likewise.
4109 * libio/memstream.c (__open_memstream): Likewise.
4110 (_IO_mem_sync): Likewise.
4111 (_IO_mem_finish): Likewise.
4112 * libio/oldfileops.c (_IO_old_file_init): Likewise.
4113 (_IO_old_file_close_it): Likewise.
4114 (_IO_old_file_finish): Likewise.
4115 (_IO_old_file_fopen): Likewise.
4116 (_IO_old_file_attach): Likewise.
4117 (_IO_old_file_setbuf): Likewise.
4118 (_IO_old_do_write): Likewise.
4119 (old_do_write): Likewise.
4120 (_IO_old_file_underflow): Likewise.
4121 (_IO_old_file_overflow): Likewise.
4122 (_IO_old_file_sync): Likewise.
4123 (_IO_old_file_seekoff): Likewise.
4124 (_IO_old_file_write): Likewise.
4125 (_IO_old_file_xsputn): Likewise.
4126 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
4127 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4128 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
4129 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
4130 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4131 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
4132 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
4133 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
4134 (_IO_old_popen): Likewise.
4135 (_IO_old_proc_close): Likewise.
4136 * libio/oldpclose.c (__old_pclose): Likewise.
4137 * libio/pclose.c (__new_pclose): Likewise.
4138 * libio/peekc.c (_IO_peekc_locked): Likewise.
4139 * libio/putc.c (_IO_putc): Likewise.
4140 * libio/putc_u.c (putc_unlocked): Likewise.
4141 * libio/putchar.c (putchar): Likewise.
4142 * libio/putchar_u.c (putchar_unlocked): Likewise.
4143 * libio/putwc.c (putwc): Likewise.
4144 * libio/putwc_u.c (putwc_unlocked): Likewise.
4145 * libio/putwchar.c (putwchar): Likewise.
4146 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
4147 * libio/rewind.c (rewind): Likewise.
4148 * libio/setbuf.c (setbuf): Likewise.
4149 * libio/setlinebuf.c (setlinebuf): Likewise.
4150 * libio/vasprintf.c (_IO_vasprintf): Likewise.
4151 * libio/vscanf.c (_IO_vscanf): Likewise.
4152 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
4153 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
4154 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
4155 * libio/wgenops.c (_IO_least_wmarker): Likewise.
4156 (_IO_switch_to_main_wget_area): Likewise.
4157 (_IO_switch_to_wbackup_area): Likewise.
4158 (_IO_wsetb): Likewise.
4159 (_IO_wdefault_pbackfail): Likewise.
4160 (_IO_wdefault_finish): Likewise.
4161 (_IO_wdefault_uflow): Likewise.
4162 (__woverflow): Likewise.
4163 (__wuflow): Likewise.
4164 (__wunderflow): Likewise.
4165 (_IO_wdefault_xsputn): Likewise.
4166 (_IO_wdefault_xsgetn): Likewise.
4167 (_IO_wdoallocbuf): Likewise.
4168 (_IO_wdefault_doallocate): Likewise.
4169 (_IO_switch_to_wget_mode): Likewise.
4170 (_IO_free_wbackup_area): Likewise.
4171 (_IO_switch_to_wput_mode): Likewise.
4172 (_IO_sputbackwc): Likewise.
4173 (_IO_sungetwc): Likewise.
4174 (_IO_adjust_wcolumn): Likewise.
4175 (_IO_init_wmarker): Likewise.
4176 (_IO_wmarker_delta): Likewise.
4177 (_IO_seekwmark): Likewise.
4178 (_IO_unsave_wmarkers): Likewise.
4179 * libio/wmemstream.c (open_wmemstream): Likewise.
4180 (_IO_wmem_sync): Likewise.
4181 (_IO_wmem_finish): Likewise.
4182 * locale/nl_langinfo.c (nl_langinfo): Likewise.
4183 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
4184 * locale/programs/simple-hash.c (init_hash): Likewise.
4185 (delete_hash): Likewise.
4186 (insert_entry): Likewise.
4187 (set_entry): Likewise.
4188 (next_prime): Likewise.
4189 (is_prime): Likewise.
4190 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
4191 (xmalloc): Likewise.
4192 (xrealloc): Likewise.
4193 * locale/programs/xstrdup.c (xstrdup): Likewise.
4194 * localedata/collate-test.c (xstrcoll): Likewise.
4195 * localedata/xfrm-test.c (xstrcmp): Likewise.
4196 * login/getlogin_r.c (__getlogin_r): Likewise.
4197 * login/getpt.c (__posix_openpt): Likewise.
4198 * login/login_tty.c (login_tty): Likewise.
4199 * login/setlogin.c (setlogin): Likewise.
4200 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
4201 (mach_msg_destroy_port): Likewise.
4202 (mach_msg_destroy_memory): Likewise.
4203 * malloc/mcheck.c (flood): Likewise.
4204 * misc/acct.c (acct): Likewise.
4205 * misc/brk.c (__brk): Likewise.
4206 * misc/chflags.c (chflags): Likewise.
4207 * misc/chroot.c (chroot): Likewise.
4208 * misc/fchflags.c (fchflags): Likewise.
4209 * misc/fstab.c (getfsspec): Likewise.
4210 (getfsfile): Likewise.
4211 * misc/fsync.c (fsync): Likewise.
4212 * misc/ftruncate.c (__ftruncate): Likewise.
4213 * misc/ftruncate64.c (__ftruncate64): Likewise.
4214 * misc/getdomain.c (getdomainname): Likewise.
4215 (getdomainname): Likewise.
4216 * misc/gethostname.c (__gethostname): Likewise.
4217 * misc/getpass.c (getpass): Likewise.
4218 * misc/getttyent.c (skip): Likewise.
4219 (value): Likewise.
4220 * misc/gtty.c (gtty): Likewise.
4221 * misc/hsearch.c (hsearch): Likewise.
4222 (hcreate): Likewise.
4223 * misc/hsearch_r.c (__hcreate_r): Likewise.
4224 (__hdestroy_r): Likewise.
4225 * misc/ioctl.c (__ioctl): Likewise.
4226 * misc/mkdtemp.c (mkdtemp): Likewise.
4227 * misc/mkostemp.c (mkostemp): Likewise.
4228 * misc/mkostemp64.c (mkostemp64): Likewise.
4229 * misc/mkostemps.c (mkostemps): Likewise.
4230 * misc/mkostemps64.c (mkostemps64): Likewise.
4231 * misc/mkstemp.c (mkstemp): Likewise.
4232 * misc/mkstemp64.c (mkstemp64): Likewise.
4233 * misc/mkstemps.c (mkstemps): Likewise.
4234 * misc/mkstemps64.c (mkstemps64): Likewise.
4235 * misc/mktemp.c (__mktemp): Likewise.
4236 * misc/preadv.c (preadv): Likewise.
4237 * misc/preadv64.c (preadv64): Likewise.
4238 * misc/pwritev.c (pwritev): Likewise.
4239 * misc/pwritev64.c (pwritev64): Likewise.
4240 * misc/readv.c (__readv): Likewise.
4241 * misc/revoke.c (revoke): Likewise.
4242 * misc/setdomain.c (setdomainname): Likewise.
4243 * misc/setegid.c (setegid): Likewise.
4244 * misc/seteuid.c (seteuid): Likewise.
4245 * misc/sethostid.c (sethostid): Likewise.
4246 * misc/sethostname.c (sethostname): Likewise.
4247 * misc/setregid.c (__setregid): Likewise.
4248 * misc/setreuid.c (__setreuid): Likewise.
4249 * misc/sstk.c (sstk): Likewise.
4250 * misc/stty.c (stty): Likewise.
4251 * misc/syscall.c (syscall): Likewise.
4252 * misc/syslog.c (setlogmask): Likewise.
4253 * misc/truncate.c (__truncate): Likewise.
4254 * misc/truncate64.c (truncate64): Likewise.
4255 * misc/ualarm.c (ualarm): Likewise.
4256 * misc/usleep.c (usleep): Likewise.
4257 * misc/ustat.c (ustat): Likewise.
4258 * misc/writev.c (__writev): Likewise.
4259 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
4260 * nptl/old_pthread_cond_broadcast.c
4261 (__pthread_cond_broadcast_2_0): Likewise.
4262 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
4263 Likewise.
4264 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
4265 Likewise.
4266 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
4267 Likewise.
4268 * nptl/pt-raise.c (raise): Likewise.
4269 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
4270 Likewise.
4271 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
4272 * nptl/pthread_barrierattr_destroy.c
4273 (pthread_barrierattr_destroy): Likewise.
4274 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
4275 Likewise.
4276 * nptl/pthread_barrierattr_setpshared.c
4277 (pthread_barrierattr_setpshared): Likewise.
4278 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4279 Likewise.
4280 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4281 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4282 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4283 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
4284 Likewise.
4285 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
4286 Likewise.
4287 * nptl/pthread_condattr_getpshared.c
4288 (pthread_condattr_getpshared): Likewise.
4289 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
4290 Likewise.
4291 * nptl/pthread_condattr_setpshared.c
4292 (pthread_condattr_setpshared): Likewise.
4293 * nptl/pthread_detach.c (pthread_detach): Likewise.
4294 * nptl/pthread_equal.c (__pthread_equal): Likewise.
4295 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
4296 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
4297 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
4298 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
4299 Likewise.
4300 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
4301 Likewise.
4302 * nptl/pthread_mutex_getprioceiling.c
4303 (pthread_mutex_getprioceiling): Likewise.
4304 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
4305 Likewise.
4306 * nptl/pthread_mutexattr_getprotocol.c
4307 (pthread_mutexattr_getprotocol): Likewise.
4308 * nptl/pthread_mutexattr_getpshared.c
4309 (pthread_mutexattr_getpshared): Likewise.
4310 * nptl/pthread_mutexattr_getrobust.c
4311 (pthread_mutexattr_getrobust): Likewise.
4312 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4313 Likewise.
4314 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
4315 Likewise.
4316 * nptl/pthread_mutexattr_setprioceiling.c
4317 (pthread_mutexattr_setprioceiling): Likewise.
4318 * nptl/pthread_mutexattr_setprotocol.c
4319 (pthread_mutexattr_setprotocol): Likewise.
4320 * nptl/pthread_mutexattr_setpshared.c
4321 (pthread_mutexattr_setpshared): Likewise.
4322 * nptl/pthread_mutexattr_setrobust.c
4323 (pthread_mutexattr_setrobust): Likewise.
4324 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
4325 Likewise.
4326 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
4327 Likewise.
4328 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
4329 Likewise.
4330 * nptl/pthread_rwlockattr_getkind_np.c
4331 (pthread_rwlockattr_getkind_np): Likewise.
4332 * nptl/pthread_rwlockattr_getpshared.c
4333 (pthread_rwlockattr_getpshared): Likewise.
4334 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
4335 Likewise.
4336 * nptl/pthread_rwlockattr_setkind_np.c
4337 (pthread_rwlockattr_setkind_np): Likewise.
4338 * nptl/pthread_rwlockattr_setpshared.c
4339 (pthread_rwlockattr_setpshared): Likewise.
4340 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
4341 Likewise.
4342 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
4343 Likewise.
4344 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
4345 Likewise.
4346 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4347 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
4348 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
4349 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
4350 * nptl/sem_close.c (sem_close): Likewise.
4351 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
4352 * nptl/sem_init.c (__old_sem_init): Likewise.
4353 * nptl/sigaction.c (__sigaction): Likewise.
4354 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4355 * posix/_exit.c (_exit): Likewise.
4356 * posix/alarm.c (alarm): Likewise.
4357 * posix/confstr.c (confstr): Likewise.
4358 * posix/fpathconf.c (__fpathconf): Likewise.
4359 * posix/getgroups.c (__getgroups): Likewise.
4360 * posix/getpgid.c (__getpgid): Likewise.
4361 * posix/group_member.c (__group_member): Likewise.
4362 * posix/pathconf.c (__pathconf): Likewise.
4363 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
4364 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
4365 * posix/setgid.c (__setgid): Likewise.
4366 * posix/setpgid.c (__setpgid): Likewise.
4367 * posix/setuid.c (__setuid): Likewise.
4368 * posix/sleep.c (__sleep): Likewise.
4369 * posix/sysconf.c (__sysconf): Likewise.
4370 * posix/times.c (__times): Likewise.
4371 * posix/uname.c (__uname): Likewise.
4372 * posix/waitid.c (__waitid): Likewise.
4373 * pwd/getpw.c (__getpw): Likewise.
4374 * resolv/base64.c (b64_pton): Likewise.
4375 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
4376 * resolv/gethnamaddr.c (Dprintf): Likewise.
4377 (gethostbyname): Likewise.
4378 (gethostbyname2): Likewise.
4379 (gethostbyaddr): Likewise.
4380 (_sethtent): Likewise.
4381 (_gethtbyname): Likewise.
4382 (_gethtbyname2): Likewise.
4383 (_gethtbyaddr): Likewise.
4384 (map_v4v6_address): Likewise.
4385 (map_v4v6_hostent): Likewise.
4386 (addrsort): Likewise.
4387 (ht_sethostent): Likewise.
4388 (ht_gethostbyname): Likewise.
4389 (ht_gethostbyaddr): Likewise.
4390 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
4391 (inet_net_ntop_ipv4): Likewise.
4392 * resolv/inet_neta.c (inet_neta): Likewise.
4393 * resolv/inet_ntop.c (inet_ntop): Likewise.
4394 (inet_ntop4): Likewise.
4395 (inet_ntop6): Likewise.
4396 * resolv/inet_pton.c (__inet_pton): Likewise.
4397 (inet_pton4): Likewise.
4398 (inet_pton6): Likewise.
4399 * resolv/res_debug.c (loc_aton): Likewise.
4400 (loc_ntoa): Likewise.
4401 * resource/getpriority.c (__getpriority): Likewise.
4402 * resource/getrusage.c (__getrusage): Likewise.
4403 * resource/nice.c (nice): Likewise.
4404 * resource/setpriority.c (__setpriority): Likewise.
4405 * resource/setrlimit64.c (setrlimit64): Likewise.
4406 * resource/vlimit.c (vlimit): Likewise.
4407 * resource/vtimes.c (vtimes): Likewise.
4408 * rt/aio_error.c (aio_error): Likewise.
4409 * rt/aio_return.c (aio_return): Likewise.
4410 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
4411 * signal/kill.c (__kill): Likewise.
4412 * signal/killpg.c (killpg): Likewise.
4413 * signal/raise.c (raise): Likewise.
4414 * signal/sigaction.c (__sigaction): Likewise.
4415 * signal/sigaddset.c (sigaddset): Likewise.
4416 * signal/sigaltstack.c (sigaltstack): Likewise.
4417 * signal/sigandset.c (sigandset): Likewise.
4418 * signal/sigblock.c (__sigblock): Likewise.
4419 * signal/sigdelset.c (sigdelset): Likewise.
4420 * signal/sigempty.c (sigemptyset): Likewise.
4421 * signal/sigfillset.c (sigfillset): Likewise.
4422 * signal/sighold.c (sighold): Likewise.
4423 * signal/sigignore.c (sigignore): Likewise.
4424 * signal/sigintr.c (siginterrupt): Likewise.
4425 * signal/sigisempty.c (sigisemptyset): Likewise.
4426 * signal/sigismem.c (sigismember): Likewise.
4427 * signal/signal.c (signal): Likewise.
4428 * signal/sigorset.c (sigorset): Likewise.
4429 * signal/sigpause.c (__sigpause): Likewise.
4430 * signal/sigpending.c (sigpending): Likewise.
4431 * signal/sigprocmask.c (__sigprocmask): Likewise.
4432 * signal/sigrelse.c (sigrelse): Likewise.
4433 * signal/sigreturn.c (__sigreturn): Likewise.
4434 * signal/sigset.c (sigset): Likewise.
4435 * signal/sigsetmask.c (__sigsetmask): Likewise.
4436 * signal/sigstack.c (sigstack): Likewise.
4437 * signal/sigsuspend.c (__sigsuspend): Likewise.
4438 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
4439 * signal/sysv_signal.c (__sysv_signal): Likewise.
4440 * socket/accept.c (accept): Likewise.
4441 * socket/accept4.c (__libc_accept4): Likewise.
4442 * socket/bind.c (__bind): Likewise.
4443 * socket/connect.c (__connect): Likewise.
4444 * socket/getpeername.c (getpeername): Likewise.
4445 * socket/getsockname.c (__getsockname): Likewise.
4446 * socket/getsockopt.c (getsockopt): Likewise.
4447 * socket/listen.c (__listen): Likewise.
4448 * socket/recv.c (__recv): Likewise.
4449 * socket/recvmsg.c (__recvmsg): Likewise.
4450 * socket/send.c (__send): Likewise.
4451 * socket/sendmsg.c (__sendmsg): Likewise.
4452 * socket/shutdown.c (shutdown): Likewise.
4453 * socket/sockatmark.c (sockatmark): Likewise.
4454 * socket/socket.c (__socket): Likewise.
4455 * stdio-common/ctermid.c (ctermid): Likewise.
4456 * stdio-common/cuserid.c (cuserid): Likewise.
4457 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
4458 * stdio-common/remove.c (remove): Likewise.
4459 * stdio-common/rename.c (rename): Likewise.
4460 * stdio-common/renameat.c (renameat): Likewise.
4461 * stdio-common/tempname.c (__gen_tempname): Likewise.
4462 * stdio-common/xbug.c (InitBuffer): Likewise.
4463 (AppendToBuffer): Likewise.
4464 (ReadFile): Likewise.
4465 * stdlib/a64l.c (a64l): Likewise.
4466 * stdlib/drand48_r.c (drand48_r): Likewise.
4467 * stdlib/getcontext.c (getcontext): Likewise.
4468 * stdlib/getenv.c (getenv): Likewise.
4469 * stdlib/l64a.c (l64a): Likewise.
4470 * stdlib/llabs.c (llabs): Likewise.
4471 * stdlib/lldiv.c (lldiv): Likewise.
4472 * stdlib/lrand48_r.c (lrand48_r): Likewise.
4473 * stdlib/mrand48_r.c (mrand48_r): Likewise.
4474 * stdlib/putenv.c (putenv): Likewise.
4475 * stdlib/random.c (__srandom): Likewise.
4476 (__initstate): Likewise.
4477 (__setstate): Likewise.
4478 * stdlib/random_r.c (__srandom_r): Likewise.
4479 (__setstate_r): Likewise.
4480 (__random_r): Likewise.
4481 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
4482 * stdlib/setcontext.c (setcontext): Likewise.
4483 * stdlib/setenv.c (setenv): Likewise.
4484 (unsetenv): Likewise.
4485 * stdlib/srand48.c (srand48): Likewise.
4486 * stdlib/srand48_r.c (__srand48_r): Likewise.
4487 * stdlib/swapcontext.c (swapcontext): Likewise.
4488 * stdlib/system.c (__libc_system): Likewise.
4489 * stdlib/tst-strtod.c (expand): Likewise.
4490 * stdlib/tst-strtol.c (expand): Likewise.
4491 * stdlib/tst-strtoll.c (expand): Likewise.
4492 * streams/fattach.c (fattach): Likewise.
4493 * streams/fdetach.c (fdetach): Likewise.
4494 * streams/getmsg.c (getmsg): Likewise.
4495 * streams/isastream.c (isastream): Likewise.
4496 * string/ffs.c (__ffs): Likewise.
4497 * string/ffsll.c (ffsll): Likewise.
4498 * string/memcmp.c (memcmp_common_alignment): Likewise.
4499 (memcmp_not_common_alignment): Likewise.
4500 (MEMCMP): Likewise.
4501 * string/memcpy.c (memcpy): Likewise.
4502 * string/memmove.c (MEMMOVE): Likewise.
4503 * string/memset.c (memset): Likewise.
4504 * string/rawmemchr.c (RAWMEMCHR): Likewise.
4505 * string/strchrnul.c (STRCHRNUL): Likewise.
4506 * string/strerror.c (strerror): Likewise.
4507 * string/strndup.c (__strndup): Likewise.
4508 * string/strverscmp.c (__strverscmp): Likewise.
4509 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
4510 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
4511 (clnttcp_freeres): Likewise.
4512 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
4513 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
4514 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
4515 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
4516 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
4517 (xdr_callhdr): Likewise.
4518 * sunrpc/rpcinfo.c (udpping): Likewise.
4519 (tcpping): Likewise.
4520 (pstatus): Likewise.
4521 (pmapdump): Likewise.
4522 (brdcst): Likewise.
4523 (deletereg): Likewise.
4524 (getprognum): Likewise.
4525 (getvers): Likewise.
4526 (get_inet_address): Likewise.
4527 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
4528 * sunrpc/svc_udp.c (svcudp_create): Likewise.
4529 (svcudp_stat): Likewise.
4530 (svcudp_recv): Likewise.
4531 (svcudp_reply): Likewise.
4532 (svcudp_getargs): Likewise.
4533 (svcudp_freeargs): Likewise.
4534 (svcudp_destroy): Likewise.
4535 * sunrpc/xdr.c (xdr_bytes): Likewise.
4536 (xdr_netobj): Likewise.
4537 (xdr_string): Likewise.
4538 (xdr_wrapstring): Likewise.
4539 * sunrpc/xdr_float.c (xdr_float): Likewise.
4540 (xdr_double): Likewise.
4541 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
4542 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
4543 * sysvipc/ftok.c (ftok): Likewise.
4544 * sysvipc/msgctl.c (msgctl): Likewise.
4545 * sysvipc/msgget.c (msgget): Likewise.
4546 * sysvipc/msgrcv.c (msgrcv): Likewise.
4547 * sysvipc/msgsnd.c (msgsnd): Likewise.
4548 * sysvipc/semget.c (semget): Likewise.
4549 * sysvipc/semop.c (semop): Likewise.
4550 * sysvipc/shmat.c (shmat): Likewise.
4551 * sysvipc/shmctl.c (shmctl): Likewise.
4552 * sysvipc/shmdt.c (shmdt): Likewise.
4553 * sysvipc/shmget.c (shmget): Likewise.
4554 * termios/cfmakeraw.c (cfmakeraw): Likewise.
4555 * termios/speed.c (cfgetospeed): Likewise.
4556 (cfgetispeed): Likewise.
4557 (cfsetospeed): Likewise.
4558 (cfsetispeed): Likewise.
4559 * termios/tcflow.c (tcflow): Likewise.
4560 * termios/tcflush.c (tcflush): Likewise.
4561 * termios/tcgetattr.c (__tcgetattr): Likewise.
4562 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
4563 * termios/tcgetsid.c (tcgetsid): Likewise.
4564 * termios/tcsendbrk.c (tcsendbreak): Likewise.
4565 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
4566 * time/adjtime.c (__adjtime): Likewise.
4567 * time/dysize.c (dysize): Likewise.
4568 * time/ftime.c (ftime): Likewise.
4569 * time/getitimer.c (__getitimer): Likewise.
4570 * time/gettimeofday.c (__gettimeofday): Likewise.
4571 * time/gmtime.c (__gmtime_r): Likewise.
4572 (gmtime): Likewise.
4573 * time/localtime.c (__localtime_r): Likewise.
4574 (localtime): Likewise.
4575 * time/offtime.c (__offtime): Likewise.
4576 * time/settimeofday.c (__settimeofday): Likewise.
4577 * time/stime.c (stime): Likewise.
4578 * time/strftime_l.c (tm_diff): Likewise.
4579 (iso_week_days): Likewise.
4580 * time/strptime.c (strptime): Likewise.
4581 * time/time.c (time): Likewise.
4582 * time/timespec_get.c (timespec_get): Likewise.
4583 * time/tzset.c (tzset_internal): Likewise.
4584 (compute_change): Likewise.
4585 (__tz_compute): Likewise.
4586 * wcsmbs/btowc.c (__btowc): Likewise.
4587 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
4588 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
4589 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
4590 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
4591 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
4592 * wcsmbs/wcscat.c (__wcscat): Likewise.
4593 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4594 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
4595 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
4596 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4597 * wcsmbs/wcsdup.c (wcsdup): Likewise.
4598 * wcsmbs/wcslen.c (__wcslen): Likewise.
4599 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
4600 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
4601 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
4602 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
4603 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4604 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
4605 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4606 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4607 * wcsmbs/wcstok.c (wcstok): Likewise.
4608 * wcsmbs/wctob.c (wctob): Likewise.
4609 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
4610 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4611 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
4612 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
4613 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
4614 * wcsmbs/wmemset.c (__wmemset): Likewise.
4615 * wctype/wcfuncs.c (__towlower): Likewise.
4616 (__towupper): Likewise.
4617
4618 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
4619 (lll_unlock_elision): Add adapt_count parameter.
4620
4621 2015-10-15 Joseph Myers <joseph@codesourcery.com>
4622
4623 * sysdeps/nptl/configure.ac: Do not give errors based on the
4624 results of top-level configure tests.
4625 * sysdeps/nptl/configure: Regenerated.
4626
4627 * configure.ac (libc_cv_Bgroup): Remove configure test.
4628 * configure: Regenerated.
4629 * config.make.in (have-Bgroup): Remove variable.
4630
4631 * configure.ac (sizeof_long_double): Remove configure test.
4632 * configure: Regenerated.
4633 * config.make.in (sizeof-long-double): Remove variable.
4634
4635 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
4636 * configure: Regenerated.
4637 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
4638 variable.
4639 (exceptions): Likewise.
4640 * sysdeps/arm/configure: Regenerated.
4641 * config.make.in (exceptions): Remove variable.
4642 * Makeconfig (uses-callbacks): Use -fexceptions instead of
4643 $(exceptions).
4644 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
4645 (CFLAGS-vdprintf_chk.c): Likewise.
4646 (CFLAGS-printf_chk.c): Likewise.
4647 (CFLAGS-fprintf_chk.c): Likewise.
4648 (CFLAGS-vprintf_chk.c): Likewise.
4649 (CFLAGS-vfprintf_chk.c): Likewise.
4650 (CFLAGS-gets_chk.c): Likewise.
4651 (CFLAGS-fgets_chk.c): Likewise.
4652 (CFLAGS-fgets_u_chk.c): Likewise.
4653 (CFLAGS-fread_chk.c): Likewise.
4654 (CFLAGS-fread_u_chk.c): Likewise.
4655 (CFLAGS-wprintf_chk.c): Likewise.
4656 (CFLAGS-fwprintf_chk.c): Likewise.
4657 (CFLAGS-vwprintf_chk.c): Likewise.
4658 (CFLAGS-vfwprintf_chk.c): Likewise.
4659 (CFLAGS-fgetws_chk.c): Likewise.
4660 (CFLAGS-fgetws_u_chk.c): Likewise.
4661 * libio/Makefile (CFLAGS-fileops.c): Likewise.
4662 (CFLAGS-fputc.c): Likewise.
4663 (CFLAGS-fputwc.c): Likewise.
4664 (CFLAGS-freopen64.c): Likewise.
4665 (CFLAGS-freopen.c): Likewise.
4666 (CFLAGS-fseek.c): Likewise.
4667 (CFLAGS-fseeko64.c): Likewise.
4668 (CFLAGS-fseeko.c): Likewise.
4669 (CFLAGS-ftello64.c): Likewise.
4670 (CFLAGS-ftello.c): Likewise.
4671 (CFLAGS-fwide.c): Likewise.
4672 (CFLAGS-genops.c): Likewise.
4673 (CFLAGS-getc.c): Likewise.
4674 (CFLAGS-getchar.c): Likewise.
4675 (CFLAGS-getwc.c): Likewise.
4676 (CFLAGS-getwchar.c): Likewise.
4677 (CFLAGS-iofclose.c): Likewise.
4678 (CFLAGS-iofflush.c): Likewise.
4679 (CFLAGS-iofgetpos64.c): Likewise.
4680 (CFLAGS-iofgetpos.c): Likewise.
4681 (CFLAGS-iofgets.c): Likewise.
4682 (CFLAGS-iofgetws.c): Likewise.
4683 (CFLAGS-iofputs.c): Likewise.
4684 (CFLAGS-iofputws.c): Likewise.
4685 (CFLAGS-iofread.c): Likewise.
4686 (CFLAGS-iofsetpos64.c): Likewise.
4687 (CFLAGS-iofsetpos.c): Likewise.
4688 (CFLAGS-ioftell.c): Likewise.
4689 (CFLAGS-iofwrite.c): Likewise.
4690 (CFLAGS-iogetdelim.c): Likewise.
4691 (CFLAGS-iogetline.c): Likewise.
4692 (CFLAGS-iogets.c): Likewise.
4693 (CFLAGS-iogetwline.c): Likewise.
4694 (CFLAGS-ioputs.c): Likewise.
4695 (CFLAGS-ioseekoff.c): Likewise.
4696 (CFLAGS-ioseekpos.c): Likewise.
4697 (CFLAGS-iosetbuffer.c): Likewise.
4698 (CFLAGS-iosetvbuf.c): Likewise.
4699 (CFLAGS-ioungetc.c): Likewise.
4700 (CFLAGS-ioungetwc.c): Likewise.
4701 (CFLAGS-oldfileops.c): Likewise.
4702 (CFLAGS-oldiofclose.c): Likewise.
4703 (CFLAGS-oldiofgetpos64.c): Likewise.
4704 (CFLAGS-oldiofgetpos.c): Likewise.
4705 (CFLAGS-oldiofsetpos64.c): Likewise.
4706 (CFLAGS-oldiofsetpos.c): Likewise.
4707 (CFLAGS-peekc.c): Likewise.
4708 (CFLAGS-putc.c): Likewise.
4709 (CFLAGS-putchar.c): Likewise.
4710 (CFLAGS-putwc.c): Likewise.
4711 (CFLAGS-putwchar.c): Likewise.
4712 (CFLAGS-rewind.c): Likewise.
4713 (CFLAGS-wfileops.c): Likewise.
4714 (CFLAGS-wgenops.c): Likewise.
4715 (CFLAGS-oldiofopen.c): Likewise.
4716 (CFLAGS-iofopen.c): Likewise.
4717 (CFLAGS-iofopen64.c): Likewise.
4718 (CFLAGS-oldtmpfile.c): Likewise.
4719 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
4720 (CFLAGS-fprintf.c): Likewise.
4721 (CFLAGS-printf.c): Likewise.
4722 (CFLAGS-vfwprintf.c): Likewise.
4723 (CFLAGS-vfscanf.c): Likewise.
4724 (CFLAGS-vfwscanf.c): Likewise.
4725 (CFLAGS-fscanf.c): Likewise.
4726 (CFLAGS-scanf.c): Likewise.
4727 (CFLAGS-isoc99_vfscanf.c): Likewise.
4728 (CFLAGS-isoc99_vscanf.c): Likewise.
4729 (CFLAGS-isoc99_fscanf.c): Likewise.
4730 (CFLAGS-isoc99_scanf.c): Likewise.
4731 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
4732 (CFLAGS-isoc99_fwscanf.c): Likewise.
4733 (CFLAGS-isoc99_vwscanf.c): Likewise.
4734 (CFLAGS-isoc99_vfwscanf.c): Likewise.
4735
4736 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
4737 after mkstemp64.
4738 * login/tst-utmp.c (do_prepare): Likewise.
4739 * rt/tst-aio.c (do_prepare): Likewise.
4740 * rt/tst-aio64.c (do_prepare): Likewise.
4741
4742 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4743
4744 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4745 (__lll_lock_elision): Remove adapt_count decrement...
4746 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4747 (__lll_trylock_elision): Likewise.
4748 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4749 (__lll_unlock_elision): ... to here. And utilize
4750 new adapt_count parameter.
4751 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4752 (__lll_unlock_elision): Update to include adapt_count
4753 parameter.
4754 (lll_unlock_elision): Pass pointer to adapt_count
4755 variable.
4756
4757 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4758
4759 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
4760 Add elision adapt_count parameter to list of arguments.
4761 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4762 (lll_unlock_elision): Update with new parameter list
4763 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4764 (lll_unlock_elision): Likewise
4765 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
4766 (lll_unlock_elision): Likewise
4767
4768 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
4769
4770 [BZ #19122]
4771 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
4772 attribute_hidden.
4773
4774 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
4775 attribute_hidden.
4776 [IS_IN (rtld)] (__strdup): Likewise.
4777 [IS_IN (rtld)] (__strerror_r): Likewise.
4778 [IS_IN (rtld)] (__strsep_g): Likewise.
4779 [IS_IN (rtld)] (memchr): Likewise.
4780 [IS_IN (rtld)] (memcmp): Likewise.
4781 [IS_IN (rtld)] (memcpy): Likewise.
4782 [IS_IN (rtld)] (memmove): Likewise.
4783 [IS_IN (rtld)] (memset): Likewise.
4784 [IS_IN (rtld)] (rawmemchr): Likewise.
4785 [IS_IN (rtld)] (stpcpy): Likewise.
4786 [IS_IN (rtld)] (strchr): Likewise.
4787 [IS_IN (rtld)] (strcmp): Likewise.
4788 [IS_IN (rtld)] (strlen): Likewise.
4789 [IS_IN (rtld)] (strnlen): Likewise.
4790 [IS_IN (rtld)] (strsep): Likewise.
4791
4792 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
4793 attribute_hidden.
4794 [IS_IN (rtld)] (__strtoul_internal): Likewise.
4795
4796 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
4797 attribute_hidden.
4798 [IS_IN (rtld)] (__libc_sigaction): Likewise.
4799
4800 * include/setjmp.h (__longjmp): Add attribute_hidden.
4801 [IS_IN (rtld)] (__sigsetjmp): Likewise.
4802
4803 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
4804 Add attribute_hidden.
4805
4806 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
4807 [IS_IN (rtld)] (__open): Likewise.
4808 [IS_IN (rtld)] (__fcntl): Likewise.
4809
4810 * include/dirent.h (__opendirat): Add attribute_hidden.
4811 (__getdents): Likewise.
4812 (__getdents64): Likewise.
4813 (__alloc_dir): Likewise.
4814 [IS_IN (rtld)] (__closedir): Likewise.
4815 [IS_IN (rtld)] (__fdopendir): Likewise.
4816 [IS_IN (rtld)] (__readdir): Likewise.
4817 [IS_IN (rtld)] (__readdir64): Likewise.
4818 [IS_IN (rtld)] (__rewinddir): Likewise.
4819
4820 * include/dlfcn.h (_dl_catch_error): Moved to ...
4821 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
4822 attribute_hidden.
4823
4824 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
4825 (_itoa_word): Likewise.
4826
4827 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
4828 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4829 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4830 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
4831 (_dl_higher_prime_number): Likewise.
4832 (_dl_debug_printf_c): Likewise.
4833 (_dl_signal_cerror): Likewise.
4834 (_dl_receive_error): Likewise.
4835 (_dl_reloc_bad_type): Likewise.
4836 (_dl_resolve_conflicts): Likewise.
4837 (_dl_check_all_versions): Likewise.
4838 (_dl_check_map_versions): Likewise.
4839 (_dl_sort_fini): Likewise.
4840 (_dl_debug_initialize): Likewise.
4841 (_dl_init_paths): Likewise.
4842 (_dl_show_auxv): Likewise.
4843 (_dl_next_ld_env_entry): Likewise.
4844 (_dl_important_hwcaps): Likewise.
4845 (_dl_load_cache_lookup): Likewise.
4846 (_dl_update_slotinfo): Likewise.
4847 (_dl_show_scope): Likewise.
4848
4849 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
4850 attribute_hidden.
4851 (_wordcopy_fwd_dest_aligned): Likewise.
4852 (_wordcopy_bwd_aligned): Likewise.
4853 (_wordcopy_bwd_dest_aligned): Likewise.
4854
4855 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4856 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4857 Likewise.
4858 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4859 Likewise.
4860 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4861
4862 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
4863
4864 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
4865 GCC 5 requirement.
4866
4867 2015-10-15 Joseph Myers <joseph@codesourcery.com>
4868
4869 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
4870 test.
4871 * sysdeps/i386/configure: Regenerated.
4872 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
4873 code unconditional.
4874
4875 * configure.ac (libc_cv_asm_previous_directive): Remove configure
4876 test.
4877 (libc_cv_asm_popsection_directive): Likewise.
4878 * configure: Regenerated.
4879 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
4880 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
4881 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
4882 (__make_section_unallocated): Make definition unconditional.
4883 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
4884 Remove conditional definition.
4885 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
4886 (__make_section_unallocated): Likewise.
4887
4888 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
4889 * configure: Regenerated.
4890 * config.make.in (static-libgcc): Remove variable.
4891 * Makerules (build-shlib-helper): Use -static-libgcc instead of
4892 $(static-libgcc).
4893 (build-module-helper): Likewise.
4894
4895 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
4896 * configure: Regenerated.
4897
4898 2015-10-15 Florian Weimer <fweimer@redhat.com>
4899
4900 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
4901 (struct char_buffer): New type.
4902 (char_buffer_start, char_buffer_size, char_buffer_error)
4903 (char_buffer_rewind, char_buffer_add): New functions.
4904 (ADDW): Remove macro, replaced by the char_buffer_add function.
4905 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
4906 of extend_alloca. Make control flow more explicit.
4907
4908 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
4909
4910 [BZ #19137]
4911 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4912 Add -fomit-frame-pointer.
4913 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
4914
4915 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
4916
4917 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
4918 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
4919 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
4920 only if !__GNUC_PREREQ (5,0).
4921 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
4922 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4923 (INTERNAL_SYSCALL_NCS): Likewise.
4924 (LOADREGS_0): New macro for GCC 5.
4925 (ASMARGS_0): Likewise.
4926 (LOADREGS_1): Likewise.
4927 (ASMARGS_1): Likewise.
4928 (LOADREGS_2): Likewise.
4929 (ASMARGS_2): Likewise.
4930 (LOADREGS_3): Likewise.
4931 (ASMARGS_3): Likewise.
4932 (LOADREGS_4): Likewise.
4933 (ASMARGS_4): Likewise.
4934 (LOADREGS_5): Likewise.
4935 (ASMARGS_5): Likewise.
4936 (LOADREGS_6): Likewise.
4937 (ASMARGS_6): Likewise.
4938
4939 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
4940
4941 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
4942 -fomit-frame-pointer.
4943 (CFLAGS-mmap64.c): Likewise.
4944 (CFLAGS-semtimedop.c): Likewise.
4945 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
4946 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
4947 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4948 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4949
4950 2015-10-15 Florian Weimer <fweimer@redhat.com>
4951
4952 [BZ #18928]
4953 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
4954 _dl_pointer_guard member.
4955 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
4956 initializer.
4957 (security_init): Always set up pointer guard.
4958 (process_envvars): Do not process LD_POINTER_GUARD.
4959
4960 2015-10-14 Joseph Myers <joseph@codesourcery.com>
4961
4962 [BZ #19134]
4963 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
4964 (.LC2): Likewise.
4965 (.LC3): Likewise.
4966 (__lround): Do not add 0.5 to integer or out-of-range arguments.
4967
4968 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
4969
4970 [BZ #19129]
4971 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
4972 r0 and r1.
4973
4974 2015-10-14 Namhyung Kim <namhyung@gmail.com>
4975
4976 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
4977
4978 2015-10-14 Carlos O'Donell <carlos@redhat.com>
4979
4980 * include/stap-probe.h: Fix macro definition formatting.
4981
4982 2015-10-14 Florian Weimer <fweimer@redhat.com>
4983
4984 [BZ #19074]
4985 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
4986 load and store num_ifs.
4987
4988 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
4989
4990 [BZ #18822]
4991 * sysdeps/unix/sysv/linux/sched_getaffinity.c
4992 (__sched_getaffinity_new): Add libc_hidden_proto and
4993 libc_hidden_def.
4994
4995 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
4996
4997 [BZ #19007]
4998 * scripts/localplt.awk: Also allow GOT references.
4999 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
5000 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
5001 with "+ REL R_386_GLOB_DAT".
5002 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
5003 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
5004
5005 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
5006
5007 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
5008 INLINE_SYSCALL_ERROR_RETURN_VALUE.
5009 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
5010 Likewise.
5011 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5012 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
5013 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
5014 INTERNAL_SYSCALLINTERNAL_SYSCALL and
5015 INLINE_SYSCALL_ERROR_RETURN_VALUE.
5016 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
5017 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
5018 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
5019 Likewise.
5020 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
5021
5022 2015-10-13 Joseph Myers <joseph@codesourcery.com>
5023
5024 [BZ #19125]
5025 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
5026 <math_private.h> and <stdint.h>.
5027 (__llround): Avoid conversions to and from long long int, and
5028 subtractions, where those might raise spurious exceptions.
5029 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
5030 <math_private.h> and <stdint.h>.
5031 (__llroundf): Avoid conversions to and from long long int, and
5032 subtractions, where those might raise spurious exceptions.
5033
5034 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
5035
5036 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
5037 INLINE_SYSCALL_ERROR_RETURN_VALUE.
5038 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5039 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
5040 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5041 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5042 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
5043 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
5044 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
5045 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
5046 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5047 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5048 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
5049 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
5050 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
5051 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
5052 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
5053 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5054 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
5055 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
5056 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5057 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
5058 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
5059 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5060 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
5061 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5062 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
5063 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5064 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
5065 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
5066 (__xstat64_conv): Likewise.
5067 (__xstat32_conv): Likewise.
5068
5069 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
5070
5071 * sysdeps/unix/sysv/linux/sysdep.h: New file.
5072 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
5073 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
5074 <sysdeps/unix/sysv/linux/sysdep.h>.
5075 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5076 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
5077 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
5078 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5079 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5080 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
5081 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
5082 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5083 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5086 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5087 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5088 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5089 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5090 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5091 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
5092 (sysdep-dl-routines): Add sysdep.
5093 [$(subdir) == nptl] (libpthread-routines): Likewise.
5094 [$(subdir) == rt] (librt-routines): Likewise.
5095 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
5096 PIC when branching to SYSCALL_ERROR_LABEL.
5097 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
5098 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
5099 <sysdeps/unix/sysv/linux/sysdep.h>.
5100 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
5101 (SYSCALL_ERROR_ERRNO): Removed.
5102 (SYSCALL_ERROR_HANDLER): Changed to empty.
5103 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
5104 (__syscall_error): New prototype.
5105 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
5106 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
5107
5108 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
5109
5110 [BZ #19124]
5111 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
5112 (_dl_runtime_resolve_avx512): Make it a hidden alias of
5113 _dl_runtime_resolve_avx.
5114 (_dl_runtime_profile_avx512): Make it a hidden alias of
5115 _dl_runtime_profile_avx.
5116
5117 2015-10-13 Joseph Myers <joseph@codesourcery.com>
5118
5119 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
5120 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
5121 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
5122 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
5123
5124 [BZ #16422]
5125 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
5126 New configure test.
5127 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
5128 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
5129 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
5130 <math_private.h> and <stdint.h>.
5131 (__llrint): Avoid conversions to long long int where those might
5132 raise spurious exceptions.
5133 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
5134 <math_private.h> and <stdint.h>.
5135 (__llrintf): Avoid conversions to long long int where those might
5136 raise spurious exceptions.
5137
5138 2015-10-12 Andreas Schwab <schwab@suse.de>
5139
5140 [BZ #18969]
5141 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
5142 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
5143 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
5144 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
5145 $(gen-locales).
5146 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
5147 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
5148 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
5149 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
5150 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
5151 $(gen-locales).
5152 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
5153 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
5154 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
5155 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
5156 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
5157 ($(objpfx)tst-ftell-active-handler.out)
5158 ($(objpfx)tst-ftell-append.out)
5159 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
5160 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
5161 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
5162 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
5163 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
5164 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
5165 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
5166 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
5167 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
5168 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
5169 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
5170 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
5171 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
5172 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
5173 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
5174 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
5175 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
5176 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
5177 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
5178 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
5179 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
5180 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
5181 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
5182 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
5183 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
5184 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
5185 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
5186 $(gen-locales).
5187 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
5188 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
5189 $(gen-locales).
5190 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
5191 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
5192 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
5193 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
5194 $(gen-locales).
5195 * libio/tst_wprintf2.c (main): Use explicit locale.
5196 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
5197
5198 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5199
5200 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
5201 __msg_sig_post.
5202 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
5203
5204 2015-10-09 Joseph Myers <joseph@codesourcery.com>
5205
5206 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5207 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5208
5209 * sysdeps/arm/libm-test-ulps: Regenerated.
5210
5211 [BZ #15470]
5212 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
5213
5214 [BZ #16399]
5215 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
5216 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
5217 and <fix-fp-int-convert-overflow.h>.
5218 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5219 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5220 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
5221 and <fix-fp-int-convert-overflow.h>.
5222 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
5223 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5224 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
5225 <fix-fp-int-convert-overflow.h>.
5226 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
5227 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5228 * sysdeps/ieee754/dbl-64/s_lround.c: Include
5229 <fix-fp-int-convert-overflow.h>.
5230 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
5231 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5232 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
5233 and <fix-fp-int-convert-overflow.h>.
5234 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5235 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5236 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
5237 <limits.h> and <fix-fp-int-convert-overflow.h>.
5238 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5239 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5240 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
5241 and <fix-fp-int-convert-overflow.h>.
5242 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
5243 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5244 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
5245 and <fix-fp-int-convert-overflow.h>.
5246 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
5247 FIX_DBL_LLONG_CONVERT_OVERFLOW.
5248 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
5249
5250 2015-10-09 Carlos O'Donell <carlos@redhat.com>
5251
5252 [BZ #18589]
5253 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
5254 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
5255 $(gen-locales).
5256
5257 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5258 Phil Blundell <pb@pbcl.net>
5259
5260 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
5261 * nptl/tst-cancel26.c: New file.
5262 * nptl/tst-cancel27.c: Likewise.
5263
5264 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
5265
5266 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
5267 __ILP32__ isn't defined.
5268 (lrint): Likewise.
5269 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
5270 (lrintf): Likewise.
5271 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
5272 (lrintl): Likewise.
5273 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
5274 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
5275 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
5276
5277 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5278
5279 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5280 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5281
5282 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
5283 file.
5284 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
5285 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5286
5287 2015-10-09 Joseph Myers <joseph@codesourcery.com>
5288
5289 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
5290 configure test.
5291 * sysdeps/i386/configure: Regenerated.
5292 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
5293 configure test.
5294 * sysdeps/x86_64/configure: Regenerated.
5295 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
5296 Make code unconditional.
5297
5298 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
5299 test.
5300 * sysdeps/i386/configure: Regenerated.
5301 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
5302 test.
5303 * sysdeps/x86_64/configure: Regenerated.
5304 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
5305 Make code unconditional.
5306 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5307 Likewise.
5308 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
5309 Likewise.
5310 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5311 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
5312 code unconditional.
5313 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5314 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
5315 code unconditional.
5316 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5317 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
5318 code unconditional.
5319 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
5320 code unconditional.
5321 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5322 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
5323 code unconditional.
5324 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5325 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
5326 code unconditional.
5327 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5328 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
5329 code unconditional.
5330 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5331 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
5332 code unconditional.
5333 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
5334 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
5335
5336 [BZ #19095]
5337 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
5338 mantissa to long int before shifting left.
5339
5340 2015-10-08 Joseph Myers <joseph@codesourcery.com>
5341
5342 [BZ #19094]
5343 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
5344 <limits.h>.
5345 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5346 when result overflows but exception would not result from cast.
5347 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
5348 <limits.h>.
5349 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5350 when result overflows but exception would not result from cast.
5351 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
5352 <limits.h>.
5353 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5354 when result overflows but exception would not result from cast.
5355 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
5356 <limits.h>.
5357 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5358 when result overflows but exception would not result from cast.
5359 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
5360 <limits.h>.
5361 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
5362 when result overflows but exception would not result from cast.
5363 * math/libm-test.inc (lrint_test_data): Add more tests.
5364 (llrint_test_data): Likewise.
5365
5366 2015-10-08 Roland McGrath <roland@hack.frob.com>
5367
5368 [BZ #18872]
5369 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
5370 Move out from under [$(run-built-tests) = yes] conditional.
5371 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
5372 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
5373
5374 2015-10-08 Carlos O'Donell <carlos@redhat.com>
5375
5376 [BZ #18589]
5377 * string/Makefile (tests): Add bug-strcoll2.
5378 (LOCALES): Add cs_CZ.UTF-8.
5379 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
5380
5381 [BZ #18589]
5382 * string/bug-strcoll2.c: New file.
5383 * locale/categories.def: Revert commit
5384 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
5385 * locale/langinfo.h: Likewise.
5386 * locale/localeinfo.h: Likewise.
5387 * locale/C-collate.c: Likewise.
5388 * locale/programs/ld-collate.c (collate_output): Likewise.
5389 * string/strcoll_l.c (STRDIFF): Likewise.
5390 (STRCOLL): Likewise.
5391 * wcsmbs/wcscoll_l.c: Likewise.
5392
5393 2015-10-08 Joseph Myers <joseph@codesourcery.com>
5394
5395 * math/libm-test.inc (lround_test_data): Do not expect the absence
5396 of "inexact" for some tests with non-integer arguments.
5397 (llround_test_data): Likewise.
5398
5399 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
5400 test.
5401 (libc_cv_cc_sse2avx): Likewise.
5402 * sysdeps/i386/configure: Regenerated.
5403 * sysdeps/i386/i686/multiarch/Makefile
5404 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
5405 [$(subdir) = math].
5406 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
5407 code unconditional.
5408 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5409 Likewise.
5410 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
5411 Likewise.
5412 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5413 Likewise.
5414 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
5415 test.
5416 (libc_cv_cc_sse2avx): Likewise.
5417 * sysdeps/x86_64/configure: Regenerated.
5418 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
5419 unconditional.
5420 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
5421 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
5422 unconditional.
5423 (_dl_runtime_profile)
5424 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
5425 conditional code.
5426 * sysdeps/x86_64/fpu/multiarch/Makefile
5427 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
5428 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5429 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5430 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5431 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5432 * sysdeps/x86_64/fpu/multiarch/e_log.c
5433 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5434 * sysdeps/x86_64/fpu/multiarch/s_atan.c
5435 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5436 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5437 Likewise.
5438 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5439 Likewise.
5440 * sysdeps/x86_64/fpu/multiarch/s_sin.c
5441 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5442 * sysdeps/x86_64/fpu/multiarch/s_tan.c
5443 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5444 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
5445 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
5446 (HAVE_SSE2AVX_SUPPORT): Likewise.
5447
5448 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
5449
5450 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
5451 instead of #pragma optimize.
5452
5453 2015-10-07 Carlos O'Donell <carlos@redhat.com>
5454
5455 [BZ #17195]
5456 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
5457 as is similarly done in systrim and _int_free already.
5458
5459 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5460
5461 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
5462
5463 2015-10-07 Joseph Myers <joseph@codesourcery.com>
5464
5465 [BZ #19088]
5466 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
5467 <limits.h>.
5468 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5469 overflows but exception would not result from cast.
5470 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
5471 and <limits.h>.
5472 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5473 overflows but exception would not result from cast.
5474 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
5475 <limits.h>.
5476 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5477 overflows but exception would not result from cast.
5478 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
5479 <limits.h>.
5480 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5481 overflows but exception would not result from cast.
5482 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
5483 <limits.h>.
5484 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5485 overflows but exception would not result from cast.
5486 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
5487 <limits.h>.
5488 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5489 overflows but exception would not result from cast.
5490 * math/libm-test.inc (lround_test_data): Add more tests.
5491 (llround_test_data): Likewise.
5492
5493 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
5494
5495 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
5496 (CFLAGS-ialloc.c): Ditto.
5497 (CFLAGS-scheck.c): Ditto.
5498
5499 2015-10-07 Carlos O'Donell <carlos@redhat.com>
5500
5501 [BZ #19086]
5502 * manual/filesys.texi (Storage Allocation): Fix argument order for
5503 posix_fallocate64.
5504
5505 2015-10-07 Joseph Myers <joseph@codesourcery.com>
5506
5507 [BZ #19085]
5508 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
5509 exponent below 48 inside case for non-overflowing exponent.
5510 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5511
5512 2015-10-07 Florian Weimer <fweimer@redhat.com>
5513
5514 * iconvdata/cp737.h (from_idx): Add const.
5515 * iconvdata/cp775.h (from_idx): Likewise.
5516
5517 2015-10-07 Joseph Myers <joseph@codesourcery.com>
5518
5519 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
5520 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5521 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
5522
5523 [BZ #19079]
5524 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
5525 file, conditioned on [!_LP64].
5526 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
5527 [!_LP64] (__lround): Do not define as function or alias.
5528 [!_LP64] (lround): Likewise.
5529 [!_LP64] (__lroundl): Likewise.
5530 [!_LP64] (lroundl): Likewise.
5531 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
5532 macro.
5533 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5534 Likewise.
5535
5536 2015-10-06 Joseph Myers <joseph@codesourcery.com>
5537
5538 * math/libm-test.inc (lrint_test_data): Add more tests.
5539 (llrint_test_data): Likewise.
5540 (lround_test_data): Likewise.
5541 (llround_test_data): Likewise.
5542
5543 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
5544 (llrint_test_data): Add tests used for lrint.
5545
5546 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
5547 test.
5548 * sysdeps/i386/configure: Regenerated.
5549 * sysdeps/i386/i686/multiarch/Makefile
5550 [$(config-cflags-sse4) = yes]: Make code unconditional.
5551 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5552 Likewise.
5553 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
5554 Likewise.
5555 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
5556 test.
5557 * sysdeps/x86_64/configure: Regenerated.
5558 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
5559 Make code unconditional.
5560 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5561 Likewise.
5562 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
5563 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
5564
5565 * scripts/rpm2dynsym.sh: Remove file.
5566
5567 2015-10-06 Florian Weimer <fweimer@redhat.com>
5568
5569 * configure.ac (libc_cv_cxx_thread_local): Define.
5570 * configure: Regenerate.
5571 * config.make.in (have-cxx-thread_local): Define.
5572 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
5573 (LDLIBS-tst-thread_local1): Define.
5574 (tests): Add tst-thread_local1.
5575 [have-cxx-thread_local != yes] (tests-unsupported): Add
5576 tst-thread_local1.
5577 * nptl/tst-thread_local1.cc: New file.
5578
5579 2015-10-06 Joseph Myers <joseph@codesourcery.com>
5580
5581 [BZ #19078]
5582 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
5583 (u_thres): Likewise.
5584 (__expl): Determine whether to call __kernel_standard_l based on
5585 value of result, not argument.
5586
5587 * math/libm-test.inc (scalb_test_data): Add more expectations for
5588 the "inexact" exception.
5589
5590 [BZ #19077]
5591 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
5592 0.0L for argument 1.0L.
5593
5594 [BZ #19076]
5595 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
5596 constant 0.0L when computing infinite result.
5597
5598 2015-10-06 Florian Weimer <fweimer@redhat.com>
5599
5600 [BZ #10432]
5601 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
5602 malloc_usable_size.
5603
5604 2015-10-06 Florian Weimer <fweimer@redhat.com>
5605
5606 [BZ #19018]
5607 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5608 Mangle function pointer before storing it.
5609 (__call_tls_dtors): Demangle function pointer before calling it.
5610
5611 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5612
5613 [BZ #19012]
5614 * iconv/gconv_db.c (gen_steps): Check for additional errors.
5615 Clean up on failure.
5616
5617 2015-10-05 Joseph Myers <joseph@codesourcery.com>
5618
5619 [BZ #19071]
5620 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
5621 long int variable to store possibly incremented high part of
5622 mantissa.
5623 * math/libm-test.inc (lround_test_data): Add tests used for
5624 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
5625 for tests requiring 64-bit long. Do not condition tests on
5626 [TEST_FLOAT] unnecessarily.
5627 (llround_test_data): Add tests used for lround. Add another
5628 expectation for the "inexact" exception. Do not condition tests
5629 on [TEST_FLOAT] unnecessarily.
5630
5631 [BZ #887]
5632 [BZ #19049]
5633 [BZ #19050]
5634 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
5635 * sysdeps/ieee754/dbl-64/e_log10.c: Include
5636 <fix-int-fp-convert-zero.h>.
5637 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5638 * sysdeps/ieee754/dbl-64/e_log2.c: Include
5639 <fix-int-fp-convert-zero.h>.
5640 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5641 * sysdeps/ieee754/dbl-64/s_erf.c: Include
5642 <fix-int-fp-convert-zero.h>.
5643 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5644 * sysdeps/ieee754/dbl-64/s_logb.c: Include
5645 <fix-int-fp-convert-zero.h>.
5646 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5647 * sysdeps/ieee754/flt-32/e_log10f.c: Include
5648 <fix-int-fp-convert-zero.h>.
5649 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5650 * sysdeps/ieee754/flt-32/e_log2f.c: Include
5651 <fix-int-fp-convert-zero.h>.
5652 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5653 * sysdeps/ieee754/flt-32/s_erff.c: Include
5654 <fix-int-fp-convert-zero.h>.
5655 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5656 * sysdeps/ieee754/flt-32/s_logbf.c: Include
5657 <fix-int-fp-convert-zero.h>.
5658 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5659 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
5660 <fix-int-fp-convert-zero.h>.
5661 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5662 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
5663 <fix-int-fp-convert-zero.h>.
5664 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5665 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
5666 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
5667 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
5668 file.
5669 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
5670
5671 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5672
5673 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5674
5675 2015-10-02 Joseph Myers <joseph@codesourcery.com>
5676
5677 [BZ #19059]
5678 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
5679 overflowing computation.
5680 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5681 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5682 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5683 Likewise.
5684 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5685 Likewise.
5686 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5687 Likewise.
5688 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5689 Likewise.
5690 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5691 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5692 Likewise.
5693 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5694 Likewise.
5695 * math/libm-test.inc (nexttoward_test_data): Add more tests.
5696
5697 * nss/rewrite_field.c (__nss_rewrite_field): Use
5698 internal_function.
5699 * nss/valid_field.c (__nss_valid_field): Likewise.
5700 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
5701
5702 2015-10-02 Florian Weimer <fweimer@redhat.com>
5703
5704 [BZ #18724]
5705 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
5706 (__nss_invalid_field_characters, __nss_valid_field)
5707 (__nss_valid_list_field, __nss_rewrite_field): Declare.
5708 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
5709 tst-field.c: New file.
5710 * nss/Makefile (routines): Add valid_field, rewrite_field.
5711 (tests-static): Define unconditionally.
5712 (tests): Include tests-static.
5713 [build-static-nss] (tests-static): Use append.
5714 [build-static-nss] (tests): Remove modification.
5715 * nss/getent.c (print_group): Call putgrent. Report error.
5716 (print_gshadow): Call putsgent. Report error.
5717 (print_passwd): Call putpwent. Report error.
5718 (print_shadow): Call putspent. Report error.
5719 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
5720 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
5721 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
5722 name, password, directory, shell fields for valid syntax. Rewrite
5723 GECOS field to match syntax.
5724 * pwd/Makefile (tests): Add tst-putpwent.
5725 * pwd/tst-putpwent.c: New file.
5726 * grp/putgrent.c (putgrent): Convert to ISO function definition.
5727 Check grName, grpasswd, gr_mem fields for valid syntax.
5728 Change loop variable i to size_t.
5729 * grp/Makefile (tests): Add tst-putgrent.
5730 * grp/tst-putgrent.c: New file.
5731 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
5732 valid syntax.
5733 * shadow/Makefile (tests): Add tst-putspent.
5734 * shadow/tst-putspent.c: New file.
5735 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
5736 sg_mem fields for valid syntax.
5737 * gshadow/Makefile (tests): Add tst-putsgent.
5738 * gshadow/tst-putsgent.c: New file.
5739
5740 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5741
5742 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
5743 assembly instructions.
5744
5745 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5746
5747 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
5748 prefix from operands.
5749
5750 2015-10-01 Joseph Myers <joseph@codesourcery.com>
5751
5752 [BZ #16347]
5753 [BZ #19046]
5754 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
5755 <libc-internal.h>.
5756 (MAXLGM): Do not use diagnostic control macros.
5757 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
5758 threshold for ldbl-128ibm.
5759 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
5760 instead of multiplying by log then subtracting.
5761 * math/auto-libm-test-in: Add more tests of lgamma.
5762 * math/auto-libm-test-out: Regenerated.
5763
5764 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
5765 (TYPE_HEX_DIG): Likewise.
5766 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
5767 precisions when printing floating-point numbers.
5768 (check_float_internal): Likewise.
5769
5770 2015-09-30 Joseph Myers <joseph@codesourcery.com>
5771
5772 [BZ #16620]
5773 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
5774 of log (10) rounded downward to 48 bits.
5775 (log10_low): Use corresponding low part of log (10).
5776
5777 [BZ #19032]
5778 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
5779 compute result as (x - x) / (x - x) not as 0 / 0.
5780 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5781 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
5782
5783 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5784 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
5785 and expm1.
5786 * math/auto-libm-test-out: Regenerated.
5787 * math/libm-test.inc (acos_test_data): Add more tests.
5788 (asin_test_data): Likewise.
5789 (asinh_test_data): Likewise.
5790 (atan_test_data): Likewise.
5791 (atanh_test_data): Likewise.
5792 (atan2_test_data): Likewise.
5793 (cbrt_test_data): Likewise.
5794 (ceil_test_data): Likewise.
5795 (copysign_test_data): Likewise.
5796 (cos_test_data): Likewise.
5797 (cosh_test_data): Likewise.
5798 (erf_test_data): Likewise.
5799 (erfc_test_data): Likewise.
5800 (exp_test_data): Likewise.
5801 (exp10_test_data): Likewise.
5802 (exp2_test_data): Likewise.
5803 (expm1_test_data): Likewise.
5804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5805
5806 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
5807
5808 [BZ #19006]
5809 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
5810 to ...
5811 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
5812 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
5813 to ...
5814 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
5815 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
5816 to ...
5817 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
5818 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
5819 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
5820 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
5821 to ...
5822 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
5823 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5824 Moved to ...
5825 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
5826 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5827 Moved to ...
5828 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
5829 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
5830 to ...
5831 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
5832 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5833 Moved to ...
5834 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
5835 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
5836 to ...
5837 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
5838 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
5839 Removed.
5840 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
5841 Likewise.
5842 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
5843 Likewise.
5844 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
5845 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
5846 Likewise.
5847 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5848 Likewise.
5849 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5850 Likewise.
5851 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5852 Likewise.
5853 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5854 Likewise.
5855 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
5856 Likewise.
5857 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
5858 Likewise.
5859 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
5860 Likewise.
5861 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
5862 Likewise.
5863 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
5864 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
5865 Likewise.
5866 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5867 Likewise.
5868 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5869 Likewise.
5870 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5871 Likewise.
5872 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
5873 Likewise.
5874 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5875 Replace ../i486/pthread_cond_timedwait.S with
5876 ../pthread_cond_timedwait.S.
5877
5878 2015-09-30 Joseph Myers <joseph@codesourcery.com>
5879
5880 * math/libm-test.inc (acos_test_data): Refine expectations for
5881 errno and "inexact" exceptions.
5882 (acosh_test_data): Likewise.
5883 (asin_test_data): Likewise.
5884 (asinh_test_data): Likewise.
5885 (atan_test_data): Likewise.
5886 (atanh_test_data): Likewise.
5887 (atan2_test_data): Likewise.
5888 (cbrt_test_data): Likewise.
5889 (ceil_test_data): Likewise.
5890 (copysign_test_data): Likewise.
5891 (cosh_test_data): Likewise.
5892 (erf_test_data): Likewise.
5893 (erfc_test_data): Likewise.
5894 (exp_test_data): Likewise.
5895 (exp10_test_data): Likewise.
5896 (exp2_test_data): Likewise.
5897 (expm1_test_data): Likewise.
5898 (fabs_test_data): Likewise.
5899 (floor_test_data): Likewise.
5900 (fma_test_data): Likewise.
5901 (fmax_test_data): Likewise.
5902 (fmin_test_data): Likewise.
5903 (fmod_test_data): Likewise.
5904 (fpclassify_test_data): Likewise.
5905 (frexp_test_data): Likewise.
5906 (hypot_test_data): Likewise.
5907 (ilogb_test_data): Likewise.
5908 (isgreater_test_data): Likewise.
5909 (isgreaterequal_test_data): Likewise.
5910 (isinf_test_data): Likewise.
5911 (isless_test_data): Likewise.
5912 (islessequal_test_data): Likewise.
5913 (islessgreater_test_data): Likewise.
5914 (isnan_test_data): Likewise.
5915 (isnormal_test_data): Likewise.
5916 (issignaling_test_data): Likewise.
5917 (isunordered_test_data): Likewise.
5918 (j0_test_data): Likewise.
5919 (j1_test_data): Likewise.
5920 (jn_test_data): Likewise.
5921 (lgamma_test_data): Likewise.
5922 (lrint_test_data): Likewise.
5923 (llrint_test_data): Likewise.
5924 (log_test_data): Likewise.
5925 (log10_test_data): Likewise.
5926 (log1p_test_data): Likewise.
5927 (log2_test_data): Likewise.
5928 (logb_test_data): Likewise.
5929 (lround_test_data): Likewise.
5930 (llround_test_data): Likewise.
5931 (modf_test_data): Likewise.
5932 (nearbyint_test_data): Likewise.
5933 (nextafter_test_data): Likewise.
5934 (nexttoward_test_data): Likewise.
5935 (pow_test_data): Likewise.
5936 (remainder_test_data): Likewise.
5937 (remquo_test_data): Likewise.
5938 (rint_test_data): Likewise.
5939 (round_test_data): Likewise.
5940 (signbit_test_data): Likewise.
5941 (sinh_test_data): Likewise.
5942 (sqrt_test_data): Likewise.
5943 (tanh_test_data): Likewise.
5944 (tgamma_test_data): Likewise.
5945 (trunc_test_data): Likewise.
5946 (y0_test_data): Likewise.
5947 (y1_test_data): Likewise.
5948 (yn_test_data): Likewise.
5949 (significand_test_data): Likewise.
5950
5951 2015-09-29 Carlos O'Donell <carlos@redhat.com>
5952
5953 * manual/filesys.texi (Storage Allocation): Document that
5954 posix_fallocate emulation fails when fd is open with O_WRONLY.
5955
5956 2015-09-28 Joseph Myers <joseph@codesourcery.com>
5957
5958 [BZ #19016]
5959 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
5960 allow more cases with X^2 + Y^2 >= 0.5.
5961 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
5962 normal element in sum instead of special-casing based on values of
5963 arguments.
5964 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
5965 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
5966 -1 as normal element in sum instead of special-casing based on
5967 values of arguments.
5968 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
5969 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
5970 (__x2y2m1): Update comment.
5971 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
5972 as normal element in sum instead of special-casing based on values
5973 of arguments.
5974 * math/s_clog.c (__clog): Handle more cases using log1p without
5975 hypot.
5976 * math/s_clog10.c (__clog10): Likewise.
5977 * math/s_clog10f.c (__clog10f): Likewise.
5978 * math/s_clog10l.c (__clog10l): Likewise.
5979 * math/s_clogf.c (__clogf): Likewise.
5980 * math/s_clogl.c (__clogl): Likewise.
5981 * math/auto-libm-test-in: Add more tests of clog and clog10.
5982 * math/auto-libm-test-out: Regenerated.
5983 * sysdeps/i386/fpu/libm-test-ulps: Update.
5984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5985
5986 2015-09-28 Martin Sebor <msebor@redhat.com>
5987
5988 [BZ #18969]
5989 * string/Makefile (LOCALES): Define.
5990 (gen-locales.mk): Include.
5991 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
5992 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
5993 * string/tst-strxfrm2.c (do_test): Print the name of the locale
5994 on setlocale failure.
5995
5996 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5997
5998 [BZ #18985]
5999 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
6000 (__strftime_internal): Likewise.
6001 * time/tst-strftime.c (do_bz18985): New test.
6002 (do_test): Call it.
6003
6004 2015-09-26 Joseph Myers <joseph@codesourcery.com>
6005
6006 [BZ #18956]
6007 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
6008 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
6009 extracting high part.
6010 * math/auto-libm-test-in: Add another test of pow.
6011 * math/auto-libm-test-out: Regenerated.
6012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6013
6014 2015-09-25 Joseph Myers <joseph@codesourcery.com>
6015
6016 [BZ #18825]
6017 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
6018 New macro.
6019 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
6020 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6021 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
6022 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
6023 DBL_NARROW_EVAL, reloading the PIC register as needed.
6024 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
6025 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
6026 FLT_NARROW_EVAL. Use separate return path for case when first
6027 argument is NaN.
6028 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
6029 DEFINE_LDBL_MIN.
6030 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
6031 PIC register.
6032 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
6033 math_check_force_underflow_nonneg.
6034 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
6035 underflow for subnormal result.
6036 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6037 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
6038 math_check_force_underflow_nonneg.
6039 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
6040 math_check_force_underflow.
6041 * sysdeps/x86_64/fpu/x86_64-math-asm.h
6042 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
6043 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
6044 DEFINE_LDBL_MIN.
6045 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
6046 * math/auto-libm-test-in: Add more tests of pow.
6047 * math/auto-libm-test-out: Regenerated.
6048
6049 2015-09-25 Florian Weimer <fweimer@redhat.com>
6050
6051 * nss/bug17079.c (init_test_items): Add diagnostic for
6052 inconsistent entries.
6053 (test_buffer_size): Skip inconsistent entries.
6054
6055 2015-09-25 Joseph Myers <joseph@codesourcery.com>
6056
6057 [BZ #13304]
6058 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
6059 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
6060 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
6061
6062 [BZ #13304]
6063 * sysdeps/microblaze/s_fma.c: New file.
6064 * sysdeps/microblaze/s_fmaf.c: Likewise.
6065 * sysdeps/microblaze/sfp-machine.h: Likewise.
6066
6067 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
6068
6069 [BZ #17250]
6070 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
6071 member.
6072
6073 2015-09-24 Joseph Myers <joseph@codesourcery.com>
6074
6075 [BZ #18803]
6076 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
6077 (MO): New macro.
6078 (__ieee754_hypot) [PIC]: Load PIC register.
6079 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
6080 DBL_NARROW_EVAL.
6081 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
6082 math_check_force_underflow_nonneg in case where result might be
6083 tiny.
6084 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6085 Likewise.
6086 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6087 Likewise.
6088 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6089 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
6090 * math/auto-libm-test-in: Add more tests of hypot.
6091 * math/auto-libm-test-out: Regenerated.
6092
6093 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
6094
6095 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
6096
6097 2015-09-24 Joseph Myers <joseph@codesourcery.com>
6098
6099 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
6100 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
6101 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6102 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6103 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
6104 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6105 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6106
6107 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
6108 LOAD_PIC_REG.
6109
6110 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
6111 (FLT_CHECK_FORCE_UFLOW): Likewise.
6112 (DBL_CHECK_FORCE_UFLOW): Likewise.
6113 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
6114 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
6115 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
6116 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6117 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
6118 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6119 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6120 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
6121 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
6122 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6123 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
6124 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
6125 (flt_min): Replace with use of DEFINE_FLT_MIN.
6126 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
6127 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
6128 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6129 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
6130 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
6131 (flt_min): Replace with use of DEFINE_FLT_MIN.
6132 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
6133 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
6134 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6135 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
6136 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
6137 (flt_min): Replace with use of DEFINE_FLT_MIN.
6138 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
6139 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
6140 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
6141 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
6142 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
6143 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
6144 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
6145 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
6146 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6147 (__atan): Use DBL_CHECK_FORCE_UFLOW.
6148 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
6149 (flt_min): Replace with use of DEFINE_FLT_MIN.
6150 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
6151 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
6152 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6153 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
6154 main computation.
6155 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
6156 (flt_min): Replace with use of DEFINE_FLT_MIN.
6157 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
6158 main computation.
6159 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
6160 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6161 (MO): New macro.
6162 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
6163 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
6164 (flt_min): Replace with use of DEFINE_FLT_MIN.
6165 (MO): New macro.
6166 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
6167 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
6168 (__log1pl): Use MO.
6169
6170 [BZ #19003]
6171 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
6172 $(config-cflags-nofma).
6173
6174 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
6175
6176 * sysdeps/aarch64/libm-test-ulps: Regenerated.
6177
6178 2015-09-23 Joseph Myers <joseph@codesourcery.com>
6179
6180 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
6181 (TWO127): Likewise.
6182
6183 * sysdeps/generic/math_private.h (fabs_tg): New macro.
6184 (min_of_type): Likewise.
6185 (math_check_force_underflow): Likewise.
6186 (math_check_force_underflow_nonneg): Likewise.
6187 (math_check_force_underflow_complex): Likewise.
6188 * math/e_exp2l.c (__ieee754_exp2l): Use
6189 math_check_force_underflow_nonneg.
6190 * math/k_casinh.c (__kernel_casinh): Likewise.
6191 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6192 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6193 * math/s_catan.c (__catan): Use
6194 math_check_force_underflow_complex.
6195 * math/s_catanf.c (__catanf): Likewise.
6196 * math/s_catanh.c (__catanh): Likewise.
6197 * math/s_catanhf.c (__catanhf): Likewise.
6198 * math/s_catanhl.c (__catanhl): Likewise.
6199 * math/s_catanl.c (__catanl): Likewise.
6200 * math/s_ccosh.c (__ccosh): Likewise.
6201 * math/s_ccoshf.c (__ccoshf): Likewise.
6202 * math/s_ccoshl.c (__ccoshl): Likewise.
6203 * math/s_cexp.c (__cexp): Likewise.
6204 * math/s_cexpf.c (__cexpf): Likewise.
6205 * math/s_cexpl.c (__cexpl): Likewise.
6206 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
6207 * math/s_clog10.c (__clog10): Likewise.
6208 * math/s_clog10f.c (__clog10f): Likewise.
6209 * math/s_clog10l.c (__clog10l): Likewise.
6210 * math/s_clogf.c (__clogf): Likewise.
6211 * math/s_clogl.c (__clogl): Likewise.
6212 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
6213 * math/s_csinf.c (__csinf): Likewise.
6214 * math/s_csinh.c (__csinh): Likewise.
6215 * math/s_csinhf.c (__csinhf): Likewise.
6216 * math/s_csinhl.c (__csinhl): Likewise.
6217 * math/s_csinl.c (__csinl): Likewise.
6218 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
6219 * math/s_csqrtf.c (__csqrtf): Likewise.
6220 * math/s_csqrtl.c (__csqrtl): Likewise.
6221 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
6222 * math/s_ctanf.c (__ctanf): Likewise.
6223 * math/s_ctanh.c (__ctanh): Likewise.
6224 * math/s_ctanhf.c (__ctanhf): Likewise.
6225 * math/s_ctanhl.c (__ctanhl): Likewise.
6226 * math/s_ctanl.c (__ctanl): Likewise.
6227 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
6228 instead of volatile.
6229 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
6230 math_check_force_underflow.
6231 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
6232 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
6233 volatile when forcing underflow.
6234 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6235 math_check_force_underflow_nonneg.
6236 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
6237 Likewise.
6238 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
6239 math_check_force_underflow.
6240 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6241 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6242 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
6243 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
6244 math_check_force_underflow_nonneg.
6245 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
6246 math_check_force_underflow.
6247 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
6248 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
6249 instead of volatile.
6250 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
6251 math_check_force_underflow.
6252 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6253 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6254 math_check_force_underflow_nonneg.
6255 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
6256 math_check_force_underflow.
6257 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
6258 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6259 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
6260 math_check_force_underflow_nonneg.
6261 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6262 Likewise.
6263 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
6264 math_check_force_underflow.
6265 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6266 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6267 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
6268 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
6269 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
6270 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
6271 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
6272 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
6273 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6274 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
6275 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
6276 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
6277 Likewise.
6278 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
6279 math_check_force_underflow_nonneg.
6280 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6281 Likewise.
6282 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
6283 math_check_force_underflow.
6284 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6285 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
6286 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6287 Likewise.
6288 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
6289 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
6290 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
6291 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
6292 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
6293 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
6294 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
6295 instead of volatile.
6296 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
6297 math_check_force_underflow.
6298 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
6299 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
6300 math_check_force_underflow.
6301 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
6302 Likewise.
6303 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6304 Use math_check_force_underflow_nonneg.
6305 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
6306 math_check_force_underflow.
6307 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
6308 Likewise.
6309 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6310 Likewise.
6311 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6312 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6313 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6314 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6315 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
6316 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6317 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
6318 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
6319 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
6320 math_check_force_underflow_nonneg.
6321 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
6322 math_check_force_underflow.
6323 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6324 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
6325 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
6326 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
6327 math_check_force_underflow_nonneg.
6328 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
6329 math_check_force_underflow.
6330 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
6331 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
6332 instead of volatile.
6333 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
6334 math_check_force_underflow.
6335
6336 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
6337 * stdlib/strtod_l.c: Include <math_private.h>.
6338 (overflow_value): Use math_narrow_eval.
6339 (underflow_value): Likewise.
6340 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6341 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
6342 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
6343 (__ieee754_gamma_r): Likewise.
6344 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
6345 Likewise.
6346 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6347 Likewise.
6348 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
6349 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
6350 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
6351 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
6352 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
6353 (__ieee754_gammaf_r): Likewise.
6354 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6355 Likewise.
6356 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
6357 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
6358 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
6359 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
6360 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
6361 volatile.
6362 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
6363 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
6364 math_narrow_eval.
6365 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
6366 Likewise.
6367 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6368 Likewise.
6369 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
6370 Likewise.
6371 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
6372 volatile.
6373 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
6374 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
6375 math_narrow_eval.
6376 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6377 Likewise.
6378 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6379 Likewise.
6380
6381 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
6382
6383 * nptl/Versions: Remove ignored symbols.
6384
6385 2015-09-22 Florian Weimer <fweimer@redhat.com>
6386
6387 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
6388 * nss/Makefile (tests): Update.
6389
6390 2015-09-22 Florian Weimer <fweimer@redhat.com>
6391
6392 * nss/bug18287.c: New file.
6393 * nss/Makefile (tests): Add bug18287.
6394
6395 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6396
6397 * mach/Versions (__mach_host_self_): Add symbol.
6398
6399 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
6400
6401 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
6402 vm_page_size.
6403
6404 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
6405
6406 Really fix sysdeps/i386/fpu/s_scalbn.S build
6407
6408 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
6409 (libc: GLIBC_2_22): Remove unused version set.
6410
6411 2015-09-18 Mike Frysinger <vapier@gentoo.org>
6412
6413 * config.make.in (enable-timezone-tools): New variable.
6414 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
6415 (enable_timezone_tools): Export to generated files.
6416 * configure: Regenerate.
6417 * INSTALL: Regenerate.
6418 * manual/install.texi (--disable-timezone-tools): Document new flag.
6419 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
6420 ifeq ($(enable-timezone-tools),yes) check.
6421
6422 2015-09-18 Joseph Myers <joseph@codesourcery.com>
6423
6424 * timezone/Makefile: Revert previous change.
6425
6426 [BZ #18980]
6427 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
6428 (DEFINE_DBL_MIN): Likewise.
6429 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6430 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6431 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6432 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6433 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
6434 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6435 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6436 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
6437 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
6438 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6439 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6440 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
6441 (flt_min): Replace with use of DEFINE_FLT_MIN.
6442 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6443 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
6444 (dbl_min): Replace with use of DEFINE_DBL_MIN.
6445 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6446 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
6447 (flt_min): Replace with use of DEFINE_FLT_MIN.
6448 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6449 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
6450 (flt_min): Replace with use of DEFINE_FLT_MIN.
6451 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6452 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
6453 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
6454 (__ieee754_hypot): Use DBL_NARROW_EVAL.
6455 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
6456 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
6457 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
6458 (__ieee754_pow): Use DBL_NARROW_EVAL.
6459 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
6460 (__ieee754_powf): Use FLT_NARROW_EVAL.
6461 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
6462 (__ieee754_expf_sse2): Convert double-precision result to single
6463 precision.
6464 * sysdeps/i386/fpu/libm-test-ulps: Update.
6465
6466 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
6467
6468 * timezone/Makefile: Ignore unused variable errors due to private.h
6469 (time_t_min) and (time_t_max).
6470 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
6471 Likewise.
6472
6473 2015-09-18 Joseph Myers <joseph@codesourcery.com>
6474
6475 [BZ #18981]
6476 * sysdeps/i386/fpu/i386-math-asm.h: New file.
6477 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
6478 (__ieee754_scalb): Use DBL_NARROW_EVAL.
6479 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
6480 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
6481 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
6482 (__scalbn): Use DBL_NARROW_EVAL.
6483 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
6484 (__scalbnf): Use FLT_NARROW_EVAL.
6485
6486 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
6487
6488 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
6489 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
6490 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
6491 * stdio-common/printf_fp.c (___printf_fp):
6492 Use signbit to get the sign. Use isinf macro to allow inlining.
6493 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
6494 * stdio-common/printf_size.c (__printf_size): Likewise.
6495
6496 2015-09-18 Mike Frysinger <vapier@gentoo.org>
6497
6498 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
6499
6500 2015-09-18 Joseph Myers <joseph@codesourcery.com>
6501
6502 [BZ #18980]
6503 * sysdeps/generic/math_private.h: Include <float.h>.
6504 (math_narrow_eval): New macro.
6505 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
6506 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
6507 math_narrow_eval on overflowing return value.
6508 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
6509 Likewise.
6510 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6511 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
6512 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
6513 Likewise.
6514 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6515
6516 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
6517
6518 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
6519 * math/Makefile: Remove isinf_ns.c.
6520 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
6521 * math/multc3.c (__multc3): Likewise.
6522 * math/s_casin.c (__casin): Likewise.
6523 * math/s_casinf.c (__casinf): Likewise.
6524 * math/s_casinl.c (__casinl): Likewise.
6525 * math/s_cproj.c (__cproj): Likewise.
6526 * math/s_cprojf.c (__cprojf): Likewise.
6527 * math/s_cprojl.c (__cprofl): Likewise.
6528 * math/s_ctan.c (__ctan): Likewise.
6529 * math/s_ctanf.c (__ctanf): Likewise.
6530 * math/s_ctanh.c (__ctanh): Likewise.
6531 * math/s_ctanhf.c (__ctanhf): Likewise.
6532 * math/s_ctanhl.c (__ctanhl): Likewise.
6533 * math/s_ctanl.c (__ctanl): Likewise.
6534 * math/w_fmod.c (__fmod): Likewise.
6535 * math/w_fmodf.c (__fmodf): Likewise.
6536 * math/w_fmodl.c (_fmodl): Likewise.
6537 * math/w_remainder.c (__remainder): Likewise.
6538 * math/w_remainderf.c (__remainderf): Likewise.
6539 * math/w_remainderl.c (__remainderl): Likewise.
6540 * math/w_scalb.c (__scalb): Likewise.
6541 * math/w_scalbf.c (__scalbf): Likewise.
6542 * math/w_scalbl.c (__scalbl): Likewise.
6543 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
6544 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
6545 with isinf.
6546 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
6547 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
6548 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
6549 __isinf_nsf with isinf.
6550 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
6551 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
6552 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
6553 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
6554 with isinf.
6555 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
6556 __isinf_nsl with isinf.
6557 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
6558 with isinf.
6559 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
6560 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
6561 __isinf_nsl with isinf.
6562 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
6563 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
6564 with isinf.
6565
6566 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
6567
6568 * resolv/base64.c (rcsid): Remove unused static.
6569 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
6570 static. (tqpi1): Likewise.
6571 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
6572 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
6573 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
6574 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
6575 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
6576 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
6577 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
6578 * timezone/private.h (time_t_min): Likewise. (time_t_max):
6579 Likewise.
6580
6581 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
6582
6583 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
6584 <nptl/pthreadP.h>.
6585 (_longjmp_unwind): Use __libc_ptf_call.
6586 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
6587
6588 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
6589
6590 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
6591 * sysdeps/arm/__longjmp.S: Likewise
6592
6593 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
6594
6595 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
6596 Use __builtin_signbit.
6597 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
6598 Use __builtin_signbitf.
6599 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
6600 Use __builtin_signbitl.
6601 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6602 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
6603
6604 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
6605
6606 [BZ #15367]
6607 [BZ #17441]
6608
6609 * math/Makefile: Build test-snan.c with -fsignaling-nans.
6610 * math/math.h (fpclassify): Use __builtin_fpclassify when
6611 available. (signbit): Use __builtin_signbit(f/l).
6612 (isfinite): Use__builtin_isfinite. (isnormal): Use
6613 __builtin_isnormal. (isnan): Use __builtin_isnan.
6614 (isinf): Use __builtin_isinf_sign.
6615
6616 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
6617
6618 * benchtests/Makefile: Add bench-math-inlines, link with libm.
6619 * benchtests/bench-math-inlines.c: New benchmark.
6620 * benchtests/bench-util.h: New file.
6621 * benchtests/bench-util.c: New file.
6622 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
6623
6624 2015-09-18 Carlos O'Donell <carlos@redhat.com>
6625
6626 * elf/tst-dlmopen1.c: Define TEST_SO.
6627 (do_test): Use TEST_SO.
6628
6629 * elf/dl-load.c: Include libc-internal.h.
6630 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
6631
6632 2015-09-18 Vincent Bernat <vincent@bernat.im>
6633
6634 [BZ #17887]
6635 * time/strptime_l.c (__strptime_internal): Make %z accept
6636 [+-]HH:MM time zones.
6637
6638 2015-09-18 Vincent Bernat <vincent@bernat.im>
6639
6640 [BZ #17886]
6641 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
6642 valid time zone.
6643
6644 2015-09-17 Mike Frysinger <vapier@gentoo.org>
6645
6646 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
6647 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
6648 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6649 (__ASSUME_FDATASYNC): Delete.
6650
6651 2015-09-17 Joseph Myers <joseph@codesourcery.com>
6652
6653 * conform/linknamespace.pl: Require weak undefined symbols to be
6654 in the standard namespace.
6655 (%strong_syms): Rename to %seen_syms.
6656 (%strong_seen): Rename to %seen_where.
6657
6658 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
6659
6660 [BZ #18970]
6661 * misc/error.c (error): Replace pthread_setcancelstate with
6662 __pthread_setcancelstate.
6663 (error_at_line): Likewise.
6664 * posix/wordexp.c (parse_comm): Likewise.
6665 * stdlib/fmtmsg.c (fmtmsg): Likewise.
6666 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
6667 (__pthread_setcancelstate): This.
6668 (pthread_setcancelstate): Add an alias.
6669 * nptl/nptl-init.c (pthread_functions): Replace
6670 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
6671 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
6672 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
6673 hidden_proto.
6674 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
6675 it with hidden_def.
6676 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
6677 (pthread_setcancelstate): Renamed to ...
6678 (__pthread_setcancelstate): This.
6679 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
6680 __libc_ptf_call with __pthread_setcancelstate.
6681
6682 2015-09-17 Joseph Myers <joseph@codesourcery.com>
6683 Andreas Schwab <schwab@suse.de>
6684
6685 [BZ #17118]
6686 * math/s_ctan.c (__ctan): Determine sign of zero real part of
6687 result when imaginary part of argument is infinite using sine and
6688 cosine.
6689 * math/s_ctanf.c (__ctanf): Likewise.
6690 * math/s_ctanl.c (__ctanl): Likewise.
6691 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
6692 of result when real part of argument is infinite using sine and
6693 cosine.
6694 * math/s_ctanhf.c (__ctanhf): Likewise.
6695 * math/s_ctanhl.c (__ctanhl): Likewise.
6696 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
6697 (ctanh_test_data): Add more tests of ctanh.
6698
6699 2015-09-17 Joseph Myers <joseph@codesourcery.com>
6700
6701 [BZ #15384]
6702 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
6703 bit-mask as in subtraction.
6704 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
6705 Likewise.
6706 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
6707 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
6708 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
6709
6710 [BZ #18951]
6711 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
6712 underflow exception for small results.
6713 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6714 Likewise.
6715 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6716 Likewise.
6717 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6718 Likewise.
6719 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6720 Likewise.
6721 * math/auto-libm-test-in: Add more tests of tgamma.
6722 * math/auto-libm-test-out: Regenerated.
6723
6724 2015-09-17 Andreas Schwab <schwab@suse.de>
6725
6726 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
6727
6728 2015-09-16 Joseph Myers <joseph@codesourcery.com>
6729
6730 [BZ #18977]
6731 * math/bits/mathcalls.h
6732 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
6733 not declare.
6734 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
6735 Likewise.
6736 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
6737 Likewise.
6738 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
6739 Likewise.
6740 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
6741 Likewise.
6742 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
6743 Likewise.
6744 * conform/data/math.h-data
6745 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
6746 function.
6747 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
6748 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
6749 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
6750 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
6751 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
6752 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
6753 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
6754 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
6755 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
6756 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
6757 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
6758
6759 [BZ #6803]
6760 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
6761 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
6762 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
6763 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
6764 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
6765 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
6766 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
6767 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
6768 [NO_LONG_DOUBLE] (scalbnl): Likewise.
6769 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
6770 Likewise.
6771 [NO_LONG_DOUBLE] (scalbnl): Likewise.
6772 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
6773 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
6774 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
6775 long_double_symbol calls.
6776 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
6777 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
6778 strong alias of __ldexpl.
6779 (scalbnl): Define using long_double_symbol.
6780 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
6781 Remove alias.
6782 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
6783 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
6784 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
6785 (scalbln_test_data): Add more errno expectations.
6786
6787 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
6788
6789 Cache the host port like we cache the task port. This way we do not
6790 need to call the kernel just to get the port. Furthermore, we no
6791 longer increase the reference count on every invocation of
6792 `mach_host_self'.
6793
6794 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
6795 Protect declarations against the macro expansion.
6796 * mach/mach_init.c (__mach_host_self_): New variable.
6797 (mach_init): Initialize `__mach_host_self_'.
6798 * mach/mach_init.h (__mach_host_self_): New declaration.
6799 (__mach_host_self, mach_host_self): New macros.
6800 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
6801 Release reference.
6802
6803 2015-09-16 Joseph Myers <joseph@codesourcery.com>
6804
6805 [BZ #4404]
6806 * po/de.po: Update from Translation Project.
6807
6808 [BZ #16415]
6809 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
6810 (__expm1l): Remove code to handle positive infinity and overflow.
6811 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
6812 variable.
6813 (__expm1l): Remove code to handle positive infinity and overflow.
6814
6815 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
6816 Paul Pluzhnikov <ppluzhnikov@google.com>
6817
6818 [BZ #18872]
6819 * stdio-common/Makefile (tst-printf-bz18872): New test.
6820 (tst-printf-bz18872-mem.out): Likewise.
6821 * stdio-common/tst-printf-bz18872.sh: Generate new test.
6822 * stdio-common/vfprintf.c: Fix memory leaks.
6823
6824 2015-09-16 Andreas Schwab <schwab@suse.de>
6825
6826 [BZ #17244]
6827 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
6828 Remove extra va_start/va_end calls.
6829
6830 [BZ #17243]
6831 * posix/execl.c (execl): Add missing va_end.
6832 * posix/execle.c (execle): Likewise.
6833 * posix/execlp.c (execlp): Likewise.
6834
6835 2015-09-15 Roland McGrath <roland@hack.frob.com>
6836
6837 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
6838 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
6839
6840 2015-09-15 Joseph Myers <joseph@codesourcery.com>
6841
6842 [BZ #18967]
6843 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
6844 undefine around includes of <bits/mathcalls.h>.
6845 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
6846 not declare function.
6847 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
6848 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
6849 (scalb): Likewise.
6850 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
6851 not define macro.
6852 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
6853 variable.
6854 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6855 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6856 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6857
6858 [BZ #18857]
6859 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
6860 return non-finite argument without doing ordered comparisons on
6861 it.
6862
6863 [BZ #16296]
6864 * math/fenv.h (fegetround): Use __attribute_pure__.
6865 * include/fenv.h (__fegetround): Likewise.
6866
6867 [BZ #18595]
6868 * math/s_ctan.c (__ctan): Force underflow exception for results
6869 whose real or imaginary part has small absolute value.
6870 * math/s_ctanf.c (__ctanf): Likewise.
6871 * math/s_ctanh.c (__ctanh): Likewise.
6872 * math/s_ctanhf.c (__ctanhf): Likewise.
6873 * math/s_ctanhl.c (__ctanhl): Likewise.
6874 * math/s_ctanl.c (__ctanl): Likewise.
6875 * math/auto-libm-test-in: Do not allow missing underflow for ctan
6876 and ctanh. Add more tests of ctan and ctanh.
6877
6878 [BZ #15918]
6879 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
6880 handling of cases where one argument is an infinity.
6881
6882 [BZ #18875]
6883 [BZ #18966]
6884 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
6885 (MO): New macro.
6886 (__ieee754_exp10): For small results, force underflow exception
6887 and remove excess range and precision from return value.
6888 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
6889 (MO): New macro.
6890 (__ieee754_exp10f): For small results, force underflow exception
6891 and remove excess range and precision from return value.
6892 * math/auto-libm-test-in: Add more tests of exp10.
6893 * math/auto-libm-test-out: Regenerated.
6894
6895 2015-09-14 Joseph Myers <joseph@codesourcery.com>
6896
6897 [BZ #18875]
6898 [BZ #18961]
6899 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
6900 (MO): New macro.
6901 (__ieee754_exp): For small results, force underflow exception and
6902 remove excess range and precision from return value.
6903 (__exp_finite): Likewise.
6904 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
6905 (MO): New macro.
6906 (__ieee754_expf): For small results, force underflow exception and
6907 remove excess range and precision from return value.
6908 (__expf_finite): Likewise.
6909 * math/auto-libm-test-in: Add more tests of exp.
6910 * math/auto-libm-test-out: Regenerated.
6911
6912 [BZ #16521]
6913 [BZ #18875]
6914 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
6915 small results.
6916 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
6917 (MO): New macro.
6918 (__ieee754_exp2): For small results, force underflow exception and
6919 remove excess range and precision from return value.
6920 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
6921 (MO): New macro.
6922 (__ieee754_exp2f): For small results, force underflow exception
6923 and remove excess range and precision from return value.
6924 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
6925 (MO): New macro.
6926 (__ieee754_exp2l): Force underflow exception for small results.
6927 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6928 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6929 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
6930 (MO): New macro.
6931 (__ieee754_exp2l): Force underflow exception for small results.
6932 * math/auto-libm-test-in: Add more tests or exp2.
6933 * math/auto-libm-test-out: Regenerated.
6934
6935 2015-09-14 Carlos O'Donell <carlos@redhat.com>
6936
6937 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
6938
6939 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
6940 /dev/null.
6941
6942 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
6943
6944 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6945 io fs process)): Drop spurious backslash.
6946
6947 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6948
6949 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
6950 Use sysinfo system call instead of parsing /proc/meminfo.
6951 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
6952 Likewise.
6953
6954 2015-09-11 Mike Frysinger <vapier@gentoo.org>
6955
6956 [BZ #16985]
6957 * programs/localedef.c (main): Display argv[remaining] when
6958 output_path is NULL.
6959
6960 2015-09-11 Joseph Myers <joseph@codesourcery.com>
6961
6962 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6963 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
6964 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
6965 tanh.
6966 * math/auto-libm-test-out: Regenerated.
6967 * sysdeps/i386/fpu/libm-test-ulps: Update.
6968 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6969 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6971
6972 2015-09-11 Roland McGrath <roland@hack.frob.com>
6973
6974 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
6975 Use 'override' keyword to freeze the value here, preventing
6976 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
6977
6978 2015-09-11 Joseph Myers <joseph@codesourcery.com>
6979
6980 [BZ #14912]
6981 * sysdeps/aarch64/bits/atomic.h: Move to ...
6982 * sysdeps/aarch64/atomic-machine.h: ...here.
6983 (_AARCH64_BITS_ATOMIC_H): Rename macro to
6984 _AARCH64_ATOMIC_MACHINE_H.
6985 * sysdeps/alpha/bits/atomic.h: Move to ...
6986 * sysdeps/alpha/atomic-machine.h: ...here.
6987 * sysdeps/arm/bits/atomic.h: Move to ...
6988 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
6989 * bits/atomic.h: Move to ...
6990 * sysdeps/generic/atomic-machine.h: ...here.
6991 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6992 * sysdeps/i386/bits/atomic.h: Move to ...
6993 * sysdeps/i386/atomic-machine.h: ...here.
6994 * sysdeps/ia64/bits/atomic.h: Move to ...
6995 * sysdeps/ia64/atomic-machine.h: ...here.
6996 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
6997 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
6998 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6999 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
7000 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
7001 * sysdeps/microblaze/bits/atomic.h: Move to ...
7002 * sysdeps/microblaze/atomic-machine.h: ...here.
7003 * sysdeps/mips/bits/atomic.h: Move to ...
7004 * sysdeps/mips/atomic-machine.h: ...here.
7005 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
7006 * sysdeps/powerpc/bits/atomic.h: Move to ...
7007 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
7008 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
7009 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
7010 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
7011 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
7012 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
7013 <atomic-machine.h> instead of <bits/atomic.h>.
7014 * sysdeps/s390/bits/atomic.h: Move to ...
7015 * sysdeps/s390/atomic-machine.h: ...here.
7016 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
7017 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
7018 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7019 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
7020 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
7021 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
7022 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
7023 * sysdeps/tile/bits/atomic.h: Move to ...
7024 * sysdeps/tile/atomic-machine.h: ...here.
7025 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
7026 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
7027 <sysdeps/tile/atomic-machine.h> instead of
7028 <sysdeps/tile/bits/atomic.h>.
7029 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7030 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
7031 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
7032 <sysdeps/tile/atomic-machine.h> instead of
7033 <sysdeps/tile/bits/atomic.h>.
7034 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7035 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
7036 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
7037 <sysdeps/arm/atomic-machine.h> instead of
7038 <sysdeps/arm/bits/atomic.h>.
7039 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
7040 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
7041 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7042 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
7043 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
7044 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
7045 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
7046 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
7047 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
7048 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
7049 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
7050 * sysdeps/x86_64/bits/atomic.h: Move to ...
7051 * sysdeps/x86_64/atomic-machine.h: ...here.
7052 * include/atomic.h: Include <atomic-machine.h> instead of
7053 <bits/atomic.h>.
7054
7055 * sysdeps/mips/mips32/libm-test-ulps: Update.
7056 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7057
7058 [BZ #18952]
7059 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
7060 not convert non-integer negative arguments to int to determine the
7061 value of signgam.
7062 * math/auto-libm-test-in: Add more tests of lgamma.
7063 * math/auto-libm-test-out: Regenerated.
7064
7065 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
7066 cosh, csqrt, erfc, expm1 and lgamma.
7067 * math/auto-libm-test-out: Regenerated.
7068 * sysdeps/i386/fpu/libm-test-ulps: Update.
7069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7070
7071 2015-09-10 Joseph Myers <joseph@codesourcery.com>
7072
7073 [BZ #2542]
7074 [BZ #2543]
7075 [BZ #2558]
7076 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
7077 __lgamma_neg for arguments from -28.0 to -2.0.
7078 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
7079 __lgamma_negf for arguments from -15.0 to -2.0.
7080 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7081 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
7082 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
7083 Call __lgamma_negl for arguments from -33.0 to -2.0.
7084 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
7085 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7086 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
7087 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
7088 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7089 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7090 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
7091 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
7092 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
7093 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7094 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
7095 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
7096 (__lgamma_neg): Likewise.
7097 (__lgamma_negl): Likewise.
7098 (__lgamma_product): Likewise.
7099 (__lgamma_productl): Likewise.
7100 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
7101 * math/auto-libm-test-in: Add more tests of lgamma.
7102 * math/auto-libm-test-out: Regenerated.
7103 * sysdeps/i386/fpu/libm-test-ulps: Update.
7104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7105
7106 2015-09-09 Justin Maggard <jmaggard@netgear.com>
7107
7108 [BZ #18675]
7109 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
7110
7111 2015-09-08 Joseph Myers <joseph@codesourcery.com>
7112
7113 [BZ #14912]
7114 * bits/libc-lock.h: Move to ...
7115 * sysdeps/generic/libc-lock.h: ...here.
7116 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7117 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
7118 * sysdeps/mach/hurd/libc-lock.h: ...here.
7119 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7120 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
7121 * sysdeps/mach/bits/libc-lock.h: Move to ...
7122 * sysdeps/mach/libc-lock.h: ...here.
7123 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7124 * sysdeps/nptl/bits/libc-lock.h: Move to ...
7125 * sysdeps/nptl/libc-lock.h: ...here.
7126 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
7127 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
7128 * sysdeps/nptl/libc-lockP.h: ...here.
7129 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
7130 * crypt/crypt_util.c: Include <libc-lock.h> instead of
7131 <bits/libc-lock.h>.
7132 * dirent/scandir-tail.c: Likewise.
7133 * dlfcn/dlerror.c: Likewise.
7134 * elf/dl-close.c: Likewise.
7135 * elf/dl-iteratephdr.c: Likewise.
7136 * elf/dl-lookup.c: Likewise.
7137 * elf/dl-open.c: Likewise.
7138 * elf/dl-support.c: Likewise.
7139 * elf/dl-writev.h: Likewise.
7140 * elf/rtld.c: Likewise.
7141 * grp/fgetgrent.c: Likewise.
7142 * gshadow/fgetsgent.c: Likewise.
7143 * gshadow/sgetsgent.c: Likewise.
7144 * iconv/gconv_conf.c: Likewise.
7145 * iconv/gconv_db.c: Likewise.
7146 * iconv/gconv_dl.c: Likewise.
7147 * iconv/gconv_int.h: Likewise.
7148 * iconv/gconv_trans.c: Likewise.
7149 * include/link.h: Likewise.
7150 * inet/getnameinfo.c: Likewise.
7151 * inet/getnetgrent.c: Likewise.
7152 * inet/getnetgrent_r.c: Likewise.
7153 * intl/bindtextdom.c: Likewise.
7154 * intl/dcigettext.c: Likewise.
7155 * intl/finddomain.c: Likewise.
7156 * intl/gettextP.h: Likewise.
7157 * intl/loadmsgcat.c: Likewise.
7158 * intl/localealias.c: Likewise.
7159 * intl/textdomain.c: Likewise.
7160 * libidn/idn-stub.c: Likewise.
7161 * libio/libioP.h: Likewise.
7162 * locale/duplocale.c: Likewise.
7163 * locale/freelocale.c: Likewise.
7164 * locale/newlocale.c: Likewise.
7165 * locale/setlocale.c: Likewise.
7166 * login/getutent_r.c: Likewise.
7167 * login/getutid_r.c: Likewise.
7168 * login/getutline_r.c: Likewise.
7169 * login/utmp-private.h: Likewise.
7170 * login/utmpname.c: Likewise.
7171 * malloc/mtrace.c: Likewise.
7172 * misc/efgcvt.c: Likewise.
7173 * misc/error.c: Likewise.
7174 * misc/fstab.c: Likewise.
7175 * misc/getpass.c: Likewise.
7176 * misc/mntent.c: Likewise.
7177 * misc/syslog.c: Likewise.
7178 * nis/nis_call.c: Likewise.
7179 * nis/nis_callback.c: Likewise.
7180 * nis/nss-default.c: Likewise.
7181 * nis/nss_compat/compat-grp.c: Likewise.
7182 * nis/nss_compat/compat-initgroups.c: Likewise.
7183 * nis/nss_compat/compat-pwd.c: Likewise.
7184 * nis/nss_compat/compat-spwd.c: Likewise.
7185 * nis/nss_nis/nis-alias.c: Likewise.
7186 * nis/nss_nis/nis-ethers.c: Likewise.
7187 * nis/nss_nis/nis-grp.c: Likewise.
7188 * nis/nss_nis/nis-hosts.c: Likewise.
7189 * nis/nss_nis/nis-network.c: Likewise.
7190 * nis/nss_nis/nis-proto.c: Likewise.
7191 * nis/nss_nis/nis-pwd.c: Likewise.
7192 * nis/nss_nis/nis-rpc.c: Likewise.
7193 * nis/nss_nis/nis-service.c: Likewise.
7194 * nis/nss_nis/nis-spwd.c: Likewise.
7195 * nis/nss_nisplus/nisplus-alias.c: Likewise.
7196 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7197 * nis/nss_nisplus/nisplus-grp.c: Likewise.
7198 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7199 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
7200 * nis/nss_nisplus/nisplus-network.c: Likewise.
7201 * nis/nss_nisplus/nisplus-proto.c: Likewise.
7202 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7203 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7204 * nis/nss_nisplus/nisplus-service.c: Likewise.
7205 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7206 * nis/ypclnt.c: Likewise.
7207 * nptl/libc_pthread_init.c: Likewise.
7208 * nss/getXXbyYY.c: Likewise.
7209 * nss/getXXent.c: Likewise.
7210 * nss/getXXent_r.c: Likewise.
7211 * nss/nss_db/db-XXX.c: Likewise.
7212 * nss/nss_db/db-netgrp.c: Likewise.
7213 * nss/nss_db/nss_db.h: Likewise.
7214 * nss/nss_files/files-XXX.c: Likewise.
7215 * nss/nss_files/files-alias.c: Likewise.
7216 * nss/nsswitch.c: Likewise.
7217 * posix/regex_internal.h: Likewise.
7218 * posix/wordexp.c: Likewise.
7219 * pwd/fgetpwent.c: Likewise.
7220 * resolv/res_hconf.c: Likewise.
7221 * resolv/res_libc.c: Likewise.
7222 * shadow/fgetspent.c: Likewise.
7223 * shadow/lckpwdf.c: Likewise.
7224 * shadow/sgetspent.c: Likewise.
7225 * socket/opensock.c: Likewise.
7226 * stdio-common/reg-modifier.c: Likewise.
7227 * stdio-common/reg-printf.c: Likewise.
7228 * stdio-common/reg-type.c: Likewise.
7229 * stdio-common/vfprintf.c: Likewise.
7230 * stdio-common/vfscanf.c: Likewise.
7231 * stdlib/abort.c: Likewise.
7232 * stdlib/cxa_atexit.c: Likewise.
7233 * stdlib/fmtmsg.c: Likewise.
7234 * stdlib/random.c: Likewise.
7235 * stdlib/setenv.c: Likewise.
7236 * string/strsignal.c: Likewise.
7237 * sunrpc/auth_none.c: Likewise.
7238 * sunrpc/bindrsvprt.c: Likewise.
7239 * sunrpc/create_xid.c: Likewise.
7240 * sunrpc/key_call.c: Likewise.
7241 * sunrpc/rpc_thread.c: Likewise.
7242 * sysdeps/arm/backtrace.c: Likewise.
7243 * sysdeps/generic/ldsodefs.h: Likewise.
7244 * sysdeps/generic/stdio-lock.h: Likewise.
7245 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
7246 * sysdeps/i386/backtrace.c: Likewise.
7247 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
7248 * sysdeps/m68k/backtrace.c: Likewise.
7249 * sysdeps/mach/hurd/cthreads.c: Likewise.
7250 * sysdeps/mach/hurd/dirstream.h: Likewise.
7251 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7252 * sysdeps/nptl/malloc-machine.h: Likewise.
7253 * sysdeps/nptl/stdio-lock.h: Likewise.
7254 * sysdeps/posix/dirstream.h: Likewise.
7255 * sysdeps/posix/getaddrinfo.c: Likewise.
7256 * sysdeps/posix/system.c: Likewise.
7257 * sysdeps/pthread/aio_suspend.c: Likewise.
7258 * sysdeps/s390/s390-32/backtrace.c: Likewise.
7259 * sysdeps/s390/s390-64/backtrace.c: Likewise.
7260 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7261 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7262 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
7263 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
7264 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
7265 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7266 * sysdeps/unix/sysv/linux/system.c: Likewise.
7267 * sysdeps/x86_64/backtrace.c: Likewise.
7268 * time/alt_digit.c: Likewise.
7269 * time/era.c: Likewise.
7270 * time/tzset.c: Likewise.
7271 * wcsmbs/wcsmbsload.c: Likewise.
7272 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
7273 instead of <bits/libc-lock.h> in comment.
7274
7275 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
7276
7277 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
7278 Only use .set mips2 if the current ISA is below mips2.
7279 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
7280 Likewise.
7281 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
7282 mips32r2 if the current ISA is below mips32r2.
7283 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
7284 (TLS_IE): Updated to use the TLD_RDHWR macro.
7285 (TLS_LE): Likewise.
7286 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
7287 __ASSEMBLER__ condition.
7288
7289 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
7290
7291 Fix parallel build of before-compile targets.
7292
7293 * sysdeps/mach/Makefile ($(patsubst
7294 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
7295 mach-before-compile target.
7296 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7297 io fs process)): Move rule to dedicated hurd-before-compile target.
7298
7299 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7300
7301 Fix rules generating headers in hurd/ and mach/ when initial make call
7302 has subdir= explicitly set.
7303
7304 * sysdeps/mach/Makefile ($(patsubst
7305 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
7306 calling $(MAKE).
7307 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
7308 io fs process)): Force subdir to hurd when calling $(MAKE).
7309 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
7310 subdir to mach when calling $(MAKE).
7311
7312 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
7313
7314 Check sysheaders when looking for Mach and Hurd headers
7315
7316 * sysdeps/mach/configure.ac: Add sysheaders check.
7317 * sysdeps/mach/configure: Regenerate.
7318 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
7319 * sysdeps/mach/hurd/configure: Regenerate.
7320
7321 2015-09-04 Roland McGrath <roland@hack.frob.com>
7322
7323 [BZ #18921]
7324 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
7325 Fix inverted sense of test of 'o_directory_works' value.
7326 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
7327 Bernhard Voelker <mail@bernhard-voelker.de>.
7328
7329 2015-09-04 Joseph Myers <joseph@codesourcery.com>
7330
7331 [BZ #14912]
7332 * bits/linkmap.h: Move to ...
7333 * sysdeps/generic/linkmap.h: ...here.
7334 * sysdeps/aarch64/bits/linkmap.h: Move to ...
7335 * sysdeps/aarch64/linkmap.h: ...here.
7336 * sysdeps/arm/bits/linkmap.h: Move to ...
7337 * sysdeps/arm/linkmap.h: ...here.
7338 * sysdeps/hppa/bits/linkmap.h: Move to ...
7339 * sysdeps/hppa/linkmap.h: ...here.
7340 * sysdeps/ia64/bits/linkmap.h: Move to ...
7341 * sysdeps/ia64/linkmap.h: ...here.
7342 * sysdeps/mips/bits/linkmap.h: Move to ...
7343 * sysdeps/mips/linkmap.h: ...here.
7344 * sysdeps/s390/bits/linkmap.h: Move to ...
7345 * sysdeps/s390/linkmap.h: ...here.
7346 * sysdeps/sh/bits/linkmap.h: Move to ...
7347 * sysdeps/sh/linkmap.h: ...here.
7348 * sysdeps/x86/bits/linkmap.h: Move to ...
7349 * sysdeps/x86/linkmap.h: ...here.
7350 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
7351
7352 2015-09-04 Andreas Schwab <schwab@suse.de>
7353
7354 [BZ #18635]
7355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
7356 (__makecontext): Terminate FDE before return label.
7357 (__novec_makecontext): Likewise.
7358
7359 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7360
7361 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
7362 first member of struct sv in syscall macro.
7363
7364 2015-09-04 Joseph Myers <joseph@codesourcery.com>
7365
7366 [BZ #14912]
7367 * bits/stdio-lock.h: Move to ...
7368 * sysdeps/generic/stdio-lock.h: ...here.
7369 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7370 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
7371 * sysdeps/nptl/stdio-lock.h: ...here.
7372 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
7373 * include/libio.h: Include <stdio-lock.h> instead of
7374 <bits/stdio-lock.h>.
7375 * sysdeps/nptl/fork.c: Likewise.
7376 * sysdeps/pthread/flockfile.c: Likewise.
7377 * sysdeps/pthread/ftrylockfile.c: Likewise.
7378 * sysdeps/pthread/funlockfile.c: Likewise.
7379
7380 [BZ #14912]
7381 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
7382 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
7383 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
7384 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
7385 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
7386 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7387 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
7388
7389 2015-09-03 Roland McGrath <roland@hack.frob.com>
7390
7391 * elf/Makefile (test-xfail-tst-protected1a): New variable.
7392 (test-xfail-tst-protected1b): New variable.
7393
7394 2015-09-03 Joseph Myers <joseph@codesourcery.com>
7395
7396 [BZ #14912]
7397 * bits/libc-tsd.h: Move to ...
7398 * sysdeps/generic/libc-tsd.h: ...here.
7399 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
7400 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
7401 * sysdeps/mach/hurd/libc-tsd.h: ...here.
7402 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
7403 * include/ctype.h: Include <libc-tsd.h> instead of
7404 <bits/libc-tsd.h>.
7405 * include/rpc/rpc.h: Likewise.
7406 * locale/localeinfo.h: Likewise.
7407 * sunrpc/rpc_thread.c: Likewise.
7408 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
7409 * sysdeps/nptl/malloc-machine.h: Likewise.
7410
7411 * Makefile (headers): Remove bits/libc-lock.h.
7412 * libio/Makefile (headers): Remove bits/stdio-lock.h.
7413
7414 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
7415 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
7416 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
7417 <bits/stdio-lock.h>.
7418 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
7419 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
7420
7421 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7422
7423 [BZ #18757]
7424 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
7425 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
7426 BZ #18757.
7427
7428 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7429
7430 * malloc/mtrace.pl: Filter out NULL entries.
7431
7432 2015-09-01 Joseph Myers <joseph@codesourcery.com>
7433
7434 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
7435 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
7436 macro.
7437
7438 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
7439 (TCP_CC_INFO): Likewise.
7440 (TCP_SAVE_SYN): Likewise.
7441 (TCP_SAVED_SYN): Likewise.
7442
7443 2015-08-31 Brett Neumeier <brett@neumeier.us>
7444
7445 [BZ #18870]
7446 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
7447
7448 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
7449
7450 [BZ #18873]
7451 Fix broken overflow check in posix_fallocate
7452 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
7453 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
7454 Fix parenthesization typo.
7455
7456 2015-08-28 Mike Frysinger <vapier@gentoo.org>
7457
7458 [BZ #18887]
7459 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
7460 tst-mntent-blank-passno.
7461 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
7462 * misc/tst-mntent-blank-corrupt.c: New test.
7463 * misc/tst-mntent-blank-passno.c: New test ripped from ...
7464 * misc/tst-mntent.c (do_test): ... here.
7465
7466 2015-08-29 Mike Frysinger <vapier@gentoo.org>
7467
7468 [BZ #4404]
7469 * po/de.po: Fix SIGALRM typo.
7470
7471 2015-08-28 James Perkins <james@loowit.net>
7472
7473 * time/tst-strptime2.c (tests): Replace short list of test
7474 strings for strptime %z specifier with code which exhaustively
7475 tests every combination of sign and 0 to 5 digits. Tests for
7476 rejection of invalid strings.
7477
7478 2015-08-28 James Perkins <james@loowit.net>
7479
7480 [BZ #16141]
7481 * time/strptime_l.c (__strptime_internal): Fix %z minutes
7482 calculation, removing incorrect decimal time rounding, so that
7483 all minute values result in a valid seconds value.
7484 * time/strptime_l.c (__strptime_internal): Extend %z time zone
7485 offset range limits to UTC-99:59 through UTC+99:59 to parse
7486 current and historical use cases.
7487 * time/tst-strptime2.c (tests): Modify and add tests for the
7488 strptime %z input field descriptor, specifically conversion of
7489 minutes to seconds and validating an offset range of -9959 to
7490 +9959.
7491
7492 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7493 Dmitry V. Levin <ldv@altlinux.org>
7494
7495 [BZ #18877]
7496 * posix/Makefile (tests): Add tst-mmap-offset.
7497 * posix/tst-mmap.c: New file.
7498 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
7499 offset calculation for negative values.
7500
7501 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7502
7503 * sysdeps/i386/init-arch.h: New file.
7504 * sysdeps/i386/i586/init-arch.h: Likewise.
7505 * sysdeps/i386/i686/init-arch.h: Likewise.
7506 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
7507 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
7508 * sysdeps/x86/cpu-features.h (bit_I586): New.
7509 (bit_I686): Likewise.
7510 (bit_CX8): Likewise.
7511 (bit_CMOV): Likewise.
7512 (index_CX8): Likewise.
7513 (index_CMOV): Likewise.
7514 (index_I586): Likewise.
7515 (index_I686): Likewise.
7516 (reg_CX8): Likewise.
7517 (reg_CMOV): Likewise.
7518 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
7519 available at compile-time.
7520 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
7521 available at compile-time.
7522 * sysdeps/x86/init-arch.h (USE_I586): New macro.
7523 (USE_I686): Likewise.
7524
7525 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7526
7527 * sysdeps/i386/bcopy.S: New file.
7528 * sysdeps/i386/bzero.S: Likewise.
7529 * sysdeps/i386/memcpy.S: Likewise.
7530 * sysdeps/i386/memmove.S: Likewise.
7531 * sysdeps/i386/mempcpy.S: Likewise.
7532 * sysdeps/i386/memset.S: Likewise.
7533 * sysdeps/i386/bzero.c: Removed.
7534 * sysdeps/i386/memset.c: Likewise.
7535 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
7536 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
7537 * sysdeps/i386/i586/memset_chk.S: Likewise.
7538 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
7539 * sysdeps/i386/memcpy_chk.S: Here.
7540 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
7541 * sysdeps/i386/memmove_chk.S: Here.
7542 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
7543 * sysdeps/i386/mempcpy_chk.S: Likewise.
7544 * sysdeps/i386/i686/memset_chk.S: Moved to ...
7545 * sysdeps/i386/memset_chk.S: Likewise.
7546
7547 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
7548
7549 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
7550 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
7551 file, move DIAG_POP_NEEDS_COMMENT to end of file.
7552 * soft-fp/fmadf4.c: Ditto.
7553 * soft-fp/fmatf4.c: Ditto.
7554
7555 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7556
7557 * sysdeps/i386/i586/Implies: Removed.
7558 * sysdeps/i386/i686/Implies: Likewise.
7559
7560 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7561
7562 * sysdeps/i386/i486/strlen.S: Moved to ...
7563 * sysdeps/i386/strlen.S: Here.
7564
7565 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7566
7567 * sysdeps/i386/i486/strcat.S: Moved to ...
7568 * sysdeps/i386/strcat.S: Here.
7569
7570 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7571
7572 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
7573 * sysdeps/i386/pthread_spin_trylock.S: Here.
7574 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
7575 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
7576
7577 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7578
7579 * sysdeps/i386/i486/string-inlines.c: Moved to ...
7580 * sysdeps/i386/string-inlines.c: Here.
7581
7582 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7583
7584 * sysdeps/i386/i486/htonl.S: Moved ...
7585 * sysdeps/i386/htonl.S: here.
7586
7587 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7588
7589 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
7590 * sysdeps/i386/bits/atomic.h: Here.
7591
7592 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
7593
7594 * sysdeps/i386/i486/Versions: Removed.
7595
7596 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
7597
7598 [BZ #2898]
7599 * misc/mktemp.c: Add mkdtemp to the link_warning message.
7600 Based on patch by Aurelien Jarno.
7601
7602 2015-08-26 Stan Shebs <stanshebs@google.com>
7603
7604 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
7605 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7606
7607 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7608
7609 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
7610 * sysdeps/powerpc/dl-procinfo.c:
7611 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
7612 feature so it shows when LD_SHOW_AUXV=1.
7613
7614 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7615
7616 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7617 (__arch_compare_and_exchange_val_32_acq): Remove and use common
7618 definition. ISA 2.07B no longer requires full sync.
7619
7620 2015-08-26 Mike Frysinger <vapier@gentoo.org>
7621
7622 [BZ #18863]
7623 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
7624 (si_call_addr): Define.
7625 (si_syscall): Define.
7626 (si_arch): Define.
7627
7628 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
7629
7630 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
7631 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
7632 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
7633 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7634 (__memset_zero_constant_len_parameter): New.
7635 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
7636 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7637 (__memset_zero_constant_len_parameter): Don't define if
7638 __memset_chk or USE_AS_BZERO are defined.
7639
7640 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
7641 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
7642 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
7643
7644 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
7645 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
7646 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
7647 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
7648 comments.
7649 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
7650 -mno-mmx for $(all-rtld-routines).
7651 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
7652 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
7653 i386.
7654
7655 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7656
7657 * sysdeps/generic/unwind.h
7658 (_Unwind_Word): Use __mode__(__unwind_word__)
7659 instead of __mode__(__word__).
7660 (_Unwind_Sword): Likewise.
7661
7662 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7663 (MAX_NEEDED_INPUT): New define.
7664 (MAX_NEEDED_OUTPUT): New define.
7665
7666 * NEWS: New item for IBM z13 string optimizations.
7667
7668 * sysdeps/s390/multiarch/memrchr-c.c: New File.
7669 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
7670 * sysdeps/s390/multiarch/memrchr.c: Likewise.
7671 * sysdeps/s390/multiarch/Makefile
7672 (sysdep_routines): Add memrchr functions.
7673 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7674 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
7675
7676 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
7677 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
7678 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
7679 * sysdeps/s390/multiarch/Makefile
7680 (sysdep_routines): Add wmemcmp functions.
7681 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7682 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
7683 * benchtests/bench-wmemcmp.c: New File.
7684 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
7685
7686 * sysdeps/s390/multiarch/wmemset-c.c: New File.
7687 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
7688 * sysdeps/s390/multiarch/wmemset.c: Likewise.
7689 * sysdeps/s390/multiarch/Makefile
7690 (sysdep_routines): Add wmemset functions.
7691 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7692 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
7693 * wcsmbs/wmemset.c: Use WMEMSET if defined.
7694 * string/test-memset.c: Add wmemset support.
7695 * wcsmbs/test-wmemset.c: New File.
7696 * wcsmbs/Makefile (strop-tests): Add wmemset.
7697 * benchtests/bench-memset.c: Add wmemset support.
7698 * benchtests/bench-wmemset.c: New File.
7699 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
7700
7701 * sysdeps/s390/multiarch/memccpy-c.c: New File.
7702 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
7703 * sysdeps/s390/multiarch/memccpy.c: Likewise.
7704 * sysdeps/s390/multiarch/Makefile
7705 (sysdep_routines): Add memccpy functions.
7706 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7707 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
7708 * string/memccpy.c: Use MEMCCPY if defined.
7709
7710 * sysdeps/s390/multiarch/memchr-vx.S: New File.
7711 * sysdeps/s390/multiarch/memchr.c: Likewise.
7712 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
7713 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
7714 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7715 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
7716 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
7717 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7718 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
7719 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7720 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
7721 and rawmemchr functions.
7722 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7723 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
7724 and wmemchr.
7725 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
7726 * string/test-memchr.c: Add wmemchr support.
7727 * wcsmbs/test-wmemchr.c: New File.
7728 * wcsmbs/Makefile (strop-tests): Add wmemchr.
7729 * benchtests/bench-memchr.c: Add wmemchr support.
7730 * benchtests/bench-wmemchr.c: New File.
7731 * benchtests/Makefile (wcsmbs-bench): wmemchr.
7732
7733 * sysdeps/s390/multiarch/strcspn-c.c: New File.
7734 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
7735 * sysdeps/s390/multiarch/strcspn.c: Likewise.
7736 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
7737 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
7738 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
7739 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
7740 wcscspn functions.
7741 * sysdeps/s390/multiarch/ifunc-impl-list.c
7742 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
7743 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
7744 * string/test-strcspn.c: Add wcscspn support.
7745 * wcsmbs/test-wcscspn.c: New File.
7746 * wcsmbs/Makefile (strop-tests): Add wcscspn.
7747 * benchtests/bench-strcspn.c: Add wcscspn support.
7748 * benchtests/bench-wcscspn.c: New File.
7749 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
7750
7751 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
7752 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
7753 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7754 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
7755 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
7756 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7757 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
7758 wcspbrk functions.
7759 * sysdeps/s390/multiarch/ifunc-impl-list.c
7760 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
7761 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
7762 * string/test-strpbrk.c: Add wcspbrk support.
7763 * wcsmbs/test-wcspbrk.c: New File.
7764 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
7765 * benchtests/bench-strpbrk.c: Add wcspbrk support.
7766 * benchtests/bench-wcspbrk.c: New File.
7767 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
7768
7769 * sysdeps/s390/multiarch/strspn-c.c: New File.
7770 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
7771 * sysdeps/s390/multiarch/strspn.c: Likewise.
7772 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
7773 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
7774 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7775 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
7776 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
7777 wcsspn functions.
7778 * sysdeps/s390/multiarch/ifunc-impl-list.c
7779 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
7780 * string/test-strspn.c: Add wcsspn support.
7781 * wcsmbs/test-wcsspn.c: New File.
7782 * wcsmbs/Makefile (strop-tests): Add wcsspn.
7783 * benchtests/bench-strspn.c: Add wcsspn support.
7784 * benchtests/bench-wcsspn.c: New File.
7785 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
7786
7787 * sysdeps/s390/multiarch/strrchr-c.c: New File.
7788 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
7789 * sysdeps/s390/multiarch/strrchr.c: Likewise.
7790 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
7791 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
7792 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
7793 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
7794 wcsrchr functions.
7795 * sysdeps/s390/multiarch/ifunc-impl-list.c
7796 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
7797 * benchtests/bench-wcsrchr.c: New File.
7798 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
7799
7800 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
7801 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
7802 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
7803 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
7804 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
7805 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
7806 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
7807 wcschrnul functions.
7808 * sysdeps/s390/multiarch/ifunc-impl-list.c
7809 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
7810 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
7811 * string/test-strchr.c: Add wcschrnul support.
7812 * wcsmbs/test-wcschrnul.c: New File.
7813 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
7814 * benchtests/bench-strchr.c: Add wcschrnul support.
7815 * benchtests/bench-wcschrnul.c: New File.
7816 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
7817
7818 * sysdeps/s390/multiarch/strchr-c.c: New File.
7819 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
7820 * sysdeps/s390/multiarch/strchr.c: Likewise.
7821 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
7822 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
7823 * sysdeps/s390/multiarch/wcschr.c: Likewise.
7824 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
7825 wcschr functions.
7826 * sysdeps/s390/multiarch/ifunc-impl-list.c
7827 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
7828 * string/strchr.c (STRCHR): Define and use macro.
7829 * benchtests/bench-wcschr.c: New File.
7830 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
7831
7832 * sysdeps/s390/multiarch/strncmp-c.c: New File.
7833 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
7834 * sysdeps/s390/multiarch/strncmp.c: Likewise.
7835 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
7836 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
7837 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
7838 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
7839 wcsncmp functions.
7840 * sysdeps/s390/multiarch/ifunc-impl-list.c
7841 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
7842 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
7843 * benchtests/bench-strncmp.c: Add wcsncmp support.
7844 * benchtests/bench-wcsncmp.c: New File.
7845 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
7846
7847 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
7848 * sysdeps/s390/multiarch/strcmp.c: Likewise.
7849 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
7850 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
7851 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7852 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
7853 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7854 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
7855 wcscmp functions.
7856 * sysdeps/s390/multiarch/ifunc-impl-list.c
7857 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
7858 * string/strcmp.c (STRCMP): Define and use macro.
7859 * benchtests/bench-wcscmp.c: New File.
7860 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
7861 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
7862 instead of _HAVE_STRING_ARCH_memchr.
7863
7864 * sysdeps/s390/multiarch/strncat-c.c: New File.
7865 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
7866 * sysdeps/s390/multiarch/strncat.c: Likewise.
7867 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
7868 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
7869 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
7870 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
7871 wcsncat functions.
7872 * sysdeps/s390/multiarch/ifunc-impl-list.c
7873 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
7874 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
7875 * string/test-strncat.c: Add wcsncat support.
7876 * wcsmbs/test-wcsncat.c: New File.
7877 * wcsmbs/Makefile (strop-tests): Add wcsncat.
7878 * benchtests/bench-strncat.c: Add wcsncat support.
7879 * benchtests/bench-wcsncat.c: New File.
7880 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
7881
7882 * sysdeps/s390/multiarch/strcat-c.c: New File.
7883 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
7884 * sysdeps/s390/multiarch/strcat.c: Likewise.
7885 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
7886 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
7887 * sysdeps/s390/multiarch/wcscat.c: Likewise.
7888 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
7889 wcscat functions.
7890 * sysdeps/s390/multiarch/ifunc-impl-list.c
7891 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
7892 * string/strcat.c (STRCAT): Define and use macro.
7893 * wcsmbs/wcscat.c: Use WCSCAT if defined.
7894 * string/test-strcat.c: Add wcscat support.
7895 * wcsmbs/test-wcscat.c: New File.
7896 * wcsmbs/Makefile (strop-tests): Add wcscat.
7897 * benchtests/bench-strcat.c: Add wcscat support.
7898 * benchtests/bench-wcscat.c: New File.
7899 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
7900
7901 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
7902 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
7903 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7904 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
7905 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
7906 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
7907 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
7908 wcpncpy functions.
7909 * sysdeps/s390/multiarch/ifunc-impl-list.c
7910 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
7911 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
7912 * string/test-stpncpy.c: Add wcpncpy support.
7913 * wcsmbs/test-wcpncpy.c: New File.
7914 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
7915 * benchtests/bench-stpncpy.c: Add wcpncpy support.
7916 * benchtests/bench-wcpncpy.c: New File.
7917 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
7918
7919 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
7920 * sysdeps/s390/multiarch/strncpy.c: Likewise.
7921 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
7922 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
7923 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
7924 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
7925 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7926 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
7927 wcsncpy functions.
7928 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
7929 * sysdeps/s390/multiarch/ifunc-impl-list.c
7930 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
7931 * string/test-strncpy.c: Add wcsncpy support.
7932 * wcsmbs/test-wcsncpy.c: New File.
7933 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
7934 * benchtests/bench-strncpy.c: Add wcsncpy support.
7935 * benchtests/bench-wcsncpy.c: New File.
7936 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
7937
7938 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
7939 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
7940 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7941 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
7942 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
7943 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
7944 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
7945 wcpcpy functions.
7946 * string/stpcpy.c: Use STPCPY if defined.
7947 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
7948 * sysdeps/s390/multiarch/ifunc-impl-list.c
7949 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
7950 * string/test-stpcpy.c: Add wcpcpy support.
7951 * wcsmbs/test-wcpcpy.c: New File.
7952 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
7953 * benchtests/bench-stpcpy.c: Add wcpcpy support.
7954 * benchtests/bench-wcpcpy.c: New File.
7955 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
7956
7957 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
7958 * sysdeps/s390/multiarch/strcpy.c: Likewise.
7959 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
7960 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
7961 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
7962 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
7963 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7964 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
7965 wcscpy functions.
7966 * sysdeps/s390/multiarch/ifunc-impl-list.c
7967 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
7968 * benchtests/bench-wcscpy.c: New File.
7969 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
7970
7971 * sysdeps/s390/multiarch/strnlen-c.c: New File.
7972 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
7973 * sysdeps/s390/multiarch/strnlen.c: Likewise.
7974 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
7975 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
7976 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
7977 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
7978 wcsnlen functions.
7979 * sysdeps/s390/multiarch/ifunc-impl-list.c
7980 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
7981 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
7982 * string/test-strnlen.c: Add wcsnlen support.
7983 * wcsmbs/test-wcsnlen.c: New File.
7984 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
7985 * benchtests/bench-strnlen.c: Add wcsnlen support.
7986 * benchtests/bench-wcsnlen.c: New File.
7987 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
7988
7989 * sysdeps/s390/multiarch/Makefile: New File.
7990 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
7991 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
7992 * sysdeps/s390/multiarch/strlen.c: Likewise.
7993 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
7994 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
7995 * sysdeps/s390/multiarch/wcslen.c: Likewise.
7996 * string/strlen.c (STRLEN): Define and use macro.
7997 * sysdeps/s390/multiarch/ifunc-impl-list.c
7998 (IFUNC_VX_IMPL): New macro function.
7999 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
8000 * benchtests/Makefile (wcsmbs-bench): New variable.
8001 (string-bench-all): Added wcsmbs-bench.
8002 * benchtests/bench-wcslen.c: New File.
8003
8004 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
8005 s390_vx_libc_ifunc2): New macro function.
8006
8007 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
8008 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
8009 assembler support.
8010 * sysdeps/s390/configure: Regenerated.
8011
8012 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
8013 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
8014
8015 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
8016 * sysdeps/s390/dl-procinfo.h: Add vector capability.
8017 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
8018
8019 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
8020 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
8021 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
8022 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
8023 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
8024 (memcmp, bcmp): Use __memcmp_default as alias source.
8025 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
8026 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
8027 Rename to __memcmp_default.
8028 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
8029 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
8030 (memcpy): Use __memcpy_default as alias source.
8031 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
8032 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
8033 Rename to __memcpy_default.
8034 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
8035 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
8036 (memset): Use __memset_default as alias source.
8037 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
8038 * sysdeps/s390/s390-32/memset.S (__memset_g5):
8039 Rename to __memset_default.
8040 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
8041 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
8042 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
8043 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
8044 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
8045 (memcmp, bcmp): Use __memcmp_default as alias source.
8046 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
8047 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
8048 Rename to __memcmp_default.
8049 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
8050 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
8051 (memcpy): Use __memcpy_default as alias source.
8052 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
8053 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
8054 Rename to __memcpy_default.
8055 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
8056 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
8057 (memset): Use __memset_default as alias source.
8058 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
8059 * sysdeps/s390/s390-64/memset.S (__memset_z900):
8060 Rename to __memset_default.
8061 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
8062 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
8063
8064 [BZ #18610]
8065 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
8066 __ieee_instruction_pointer to __unused.
8067 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
8068 __ieee_instruction_pointer.
8069 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
8070 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
8071 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8072 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8073 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
8074 Mark dxc-field as reserved.
8075
8076 2015-08-25 Roland McGrath <roland@hack.frob.com>
8077
8078 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
8079 if the weak reference is not null.
8080
8081 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
8082
8083 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
8084
8085 [BZ #11214]
8086 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
8087
8088 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8089
8090 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
8091 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
8092 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
8093 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
8094 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
8095 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
8096 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
8097 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
8098 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
8099 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
8100 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
8101 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
8102 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
8103 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
8104 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
8105 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
8106 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
8107 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
8108
8109 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8110
8111 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
8112 register other than r0 for tabort, it has special meaning.
8113 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
8114 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
8115 transaction before starting syscall.
8116
8117 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8118
8119 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
8120
8121 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
8122
8123 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
8124
8125 * sysdeps/x86_64/rtld-memcmp.c: Removed.
8126 * sysdeps/x86_64/rtld-memset.S: Likewise.
8127 * sysdeps/x86_64/rtld-strchr.S: Likewise.
8128 * sysdeps/x86_64/rtld-strlen.S: Likewise.
8129 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
8130 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8131
8132 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
8133
8134 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
8135
8136 * debug/strcpy_chk.c: Improve performance.
8137 * debug/stpcpy_chk.c: Likewise.
8138 * sysdeps/x86_64/strcpy_chk.S: Remove.
8139 * sysdeps/x86_64/stpcpy_chk.S: Remove.
8140
8141 [BZ #18240]
8142 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
8143
8144 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
8145
8146 [BZ #15128]
8147 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
8148 ifuncmain8.
8149 (modules-names): Add ifuncmod8.
8150 ($(objpfx)ifuncmain8): New rule.
8151 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
8152 <cpuid.h>.
8153 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
8154 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
8155 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
8156 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
8157 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
8158 * sysdeps/x86_64/dl-trampoline.h: Likewise.
8159 * sysdeps/x86_64/ifuncmain8.c: New file.
8160 * sysdeps/x86_64/ifuncmod8.c: Likewise.
8161 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
8162 Removed.
8163 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
8164 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
8165 Change rtld_savespace_sse to __glibc_unused2.
8166 (RTLD_CHECK_FOREIGN_CALL): Removed.
8167 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
8168 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
8169 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
8170
8171 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8172
8173 * sysdeps/aarch64/bzero.S (__bzero): Remove.
8174
8175 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
8176
8177 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
8178 Unconditionally set __fpcr to avoid uninialized warning.
8179 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
8180
8181 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8182
8183 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
8184 is corrupt.
8185
8186 * malloc/arena.c (arena_get2): Drop unused argument.
8187 (arena_lock): Adjust.
8188 (arena_get_retry): Likewise.
8189
8190 2015-08-24 Andreas Schwab <schwab@suse.de>
8191
8192 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
8193 Don't define.
8194 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8195 (__ASSUME_IPC64): Don't undef.
8196 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
8197 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8198 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8199 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
8200 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
8201 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
8202 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
8203 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
8204 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
8205 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
8206 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
8207 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
8208 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
8209 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
8210 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
8211 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
8212 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
8213 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
8214 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
8215 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
8216 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
8217
8218 2015-08-21 Mike Frysinger <vapier@gentoo.org>
8219
8220 * manual/Makefile (install): Only build manual when perl is available.
8221
8222 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8223
8224 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
8225 '#undef memcpy' by '#undef memchr'.
8226
8227 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8228
8229 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
8230 memchr not point to the internal __GI_memchr implementation.
8231
8232 2015-08-20 Joseph Myers <joseph@codesourcery.com>
8233
8234 * timezone/Makefile (CFLAGS-zdump.c): Remove
8235 -Wno-strict-prototypes.
8236 (CFLAGS-zic.c): Likewise.
8237 (CFLAGS-ialloc.c): Likewise.
8238 (CFLAGS-scheck.c): Likewise.
8239
8240 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
8241 -Wno-error=undef.
8242
8243 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
8244
8245 * i386/i686/multiarch/strcasestr-c.c: Removed.
8246 * x86_64/multiarch/strcasestr.c: Likewise.
8247 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8248 Remove strcasestr.
8249
8250 2015-08-20 Joseph Myers <joseph@codesourcery.com>
8251
8252 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
8253
8254 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
8255 variables for high and low parts before possibly modifying them.
8256
8257 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
8258
8259 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
8260 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
8261 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
8262 of "multiarch/init-arch.h".
8263 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
8264 * sysdeps/x86/init-arch.h: This.
8265
8266 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
8267
8268 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
8269 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
8270
8271 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
8272
8273 [BZ #17787]
8274 * manual/macros.texi: Add twoexp macro.
8275 * manual/filesys.texi: Fix exponents.
8276 * manual/llio.texi: Likewise.
8277 * manual/stdio.texi: Likewise.
8278
8279 2015-08-20 Florian Weimer <fweimer@redhat.com>
8280
8281 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
8282 incorrect use.
8283
8284 2015-08-19 Joseph Myers <joseph@codesourcery.com>
8285
8286 [BZ #18370]
8287 * math/s_csqrt.c (__csqrt): Force underflow exception for results
8288 whose real or imaginary part has small absolute value.
8289 * math/s_csqrtf.c (__csqrtf): Likewise.
8290 * math/s_csqrtl.c (__csqrtl): Likewise.
8291 * math/auto-libm-test-in: Add more tests of csqrt.
8292 * math/auto-libm-test-out: Regenerated.
8293 * sysdeps/i386/fpu/libm-test-ulps: Update.
8294
8295 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
8296
8297 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
8298 __ppc_set_ppr_very_low): New functions.
8299 * manual/platform.texi: Add documentation about
8300 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
8301
8302 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
8303
8304 * string/stpncpy.c (stpncpy): Improve performance using
8305 __strnlen/memcpy/memset.
8306
8307 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
8308
8309 [BZ #18796]
8310 * scripts/test-installation.pl: Don't add -lmvec to build options if
8311 libmvec wasn't built.
8312
8313 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
8314
8315 [BZ #14341]
8316 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
8317 case when there is a gap between DT_REL and DT_JMPREL sections.
8318 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
8319 (LDFLAGS-tst-split-dynreloc): New.
8320 (tst-split-dynreloc-ENV): Likewise.
8321 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
8322 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
8323
8324 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
8325
8326 [BZ #18822]
8327 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
8328 attribute_hidden.
8329 (__xstat64_conv): Likewise.
8330 (__xstat32_conv): Likewise.
8331
8332 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
8333
8334 [BZ #18822]
8335 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
8336 Don't load %ebx when calling __setcontext. Call __setcontext
8337 with HIDDEN_JUMPTARGET.
8338 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
8339 libc_hidden_def.
8340
8341 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
8342
8343 * sysdeps/i386/i686/Makefile
8344 [$(subdir) == string] (sysdep_routines): Moved to ...
8345 * sysdeps/i386/Makefile: Here.
8346 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
8347 * sysdeps/i386/cacheinfo.c: Here.
8348 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
8349 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
8350 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
8351 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
8352
8353 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
8354
8355 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
8356 __i586__ is defined.
8357 (HAS_I686): Defined to 1 if __i686__ is defined.
8358
8359 2015-08-19 Joseph Myers <joseph@codesourcery.com>
8360
8361 * elf/Makefile [$(have-z-execstack) = yes]
8362 (CPPFLAGS-tst-execstack.c): New variable.
8363
8364 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
8365 conditional to [defined UTMPX || _HAVE_UT_TYPE].
8366 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
8367 UTMPX || _HAVE_UT_TV].
8368 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
8369 UTMPX || _HAVE_UT_TV - 0].
8370
8371 2015-08-18 Joseph Myers <joseph@codesourcery.com>
8372
8373 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
8374 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
8375 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
8376
8377 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8378
8379 * sysdeps/powerpc/dl-procinfo.c:
8380 (_dl_powerpc_cap_flags): Added missing strings for some
8381 hwcap features.
8382 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
8383
8384 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
8385
8386 Port the 0x7efe...feff pattern to GCC 6.
8387 See Steve Ellcey's bug report in:
8388 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
8389 * string/memrchr.c (MEMRCHR):
8390 * string/rawmemchr.c (RAWMEMCHR):
8391 * string/strchr.c (strchr):
8392 * string/strchrnul.c (STRCHRNUL):
8393 Rewrite code to avoid issues with signed shift overflow.
8394
8395 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
8396
8397 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
8398 whether cpuid is available only if HAS_CPUID is 0.
8399 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
8400 (HAS_I586): Likewise.
8401 (HAS_I686): Likewise.
8402
8403 2015-08-18 Zack Weinberg <zackw@panix.com>
8404
8405 * misc/Versions (libc): Add GLIBC_2.23.
8406
8407 2015-08-18 Alan Modra <amodra@gmail.com>
8408
8409 [BZ #18421]
8410 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
8411 .Lp__global.
8412 (_start): Load %dp via .Lp__global.
8413 [!SHARED]: Use .section .rodata.
8414
8415 2015-08-18 Mike Frysinger <vapier@gentoo.org>
8416
8417 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
8418 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
8419
8420 2015-08-18 Mike Frysinger <vapier@gentoo.org>
8421
8422 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
8423 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
8424
8425 2015-08-18 Mike Frysinger <vapier@gentoo.org>
8426
8427 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
8428 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
8429
8430 2015-08-18 Mike Frysinger <vapier@gentoo.org>
8431
8432 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
8433 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
8434
8435 2015-08-18 Mike Frysinger <vapier@gentoo.org>
8436
8437 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
8438 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
8439
8440 2015-08-18 Mike Frysinger <vapier@gentoo.org>
8441
8442 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
8443 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
8444
8445 2015-08-18 Mike Frysinger <vapier@gentoo.org>
8446
8447 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
8448
8449 2015-08-18 Mike Frysinger <vapier@gentoo.org>
8450
8451 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
8452 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
8453 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8454 (__ASSUME_LWS_CAS): Delete.
8455
8456 2015-08-18 Mike Frysinger <vapier@gentoo.org>
8457
8458 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
8459 * sysdeps/hppa/configure: Regenerated.
8460 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
8461 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
8462 * sysdeps/hppa/nptl/tls.h: Likewise.
8463
8464 2015-08-17 Joseph Myers <joseph@codesourcery.com>
8465
8466 [BZ #18823]
8467 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
8468 for scaling up small arguments.
8469 * math/s_csqrtf.c (__csqrtf): Likewise.
8470 * math/s_csqrtl.c (__csqrtl): Likewise.
8471 * math/auto-libm-test-in: Add more tests of csqrt.
8472 * math/auto-libm-test-out: Regenerated.
8473
8474 2015-08-17 Andreas Schwab <schwab@suse.de>
8475
8476 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
8477 version set GLIBC_2.19.
8478
8479 2015-08-16 Zack Weinberg <zackw@panix.com>
8480
8481 [BZ #18681]
8482 * misc/regexp.h: This interface is no longer supported.
8483 Remove all contents, leaving only an #error directive.
8484 * misc/regexp.c (loc1, loc2, locs, step, advance):
8485 Demote to compatibility symbols.
8486
8487 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
8488
8489 [BZ #18084]
8490 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
8491 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
8492 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8493 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
8494 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
8495 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
8496 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
8497 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
8498 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8499
8500 2015-08-15 Zack Weinberg <zackw@panix.com>
8501
8502 [BZ #18795]
8503 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
8504 buffer length is known to be too large, not if it's known to be
8505 small enough.
8506 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
8507 overflow at runtime, involving a length parameter, twice: once
8508 with a compile-time constant length parameter, once without.
8509
8510 2015-08-14 Joseph Myers <joseph@codesourcery.com>
8511
8512 [BZ #18824]
8513 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
8514 scaling x * y up instead of down.
8515 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8516 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8517 * math/auto-libm-test-in: Add more tests of fma.
8518 * math/auto-libm-test-out: Regenerated.
8519
8520 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8521
8522 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8523
8524 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8525
8526 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
8527 unnecessary movq.
8528 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
8529 Likewise.
8530
8531 2015-08-13 Joseph Myers <joseph@codesourcery.com>
8532
8533 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8534 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
8535 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
8536 and tgamma.
8537 * math/auto-libm-test-out: Regenerated.
8538 * sysdeps/i386/fpu/libm-test-ulps: Update.
8539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8540
8541 [BZ #16520]
8542 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
8543 (__tanh): Force underflow exception for arguments with small
8544 absolute value.
8545 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
8546 (__tanhf): Force underflow exception for arguments with small
8547 absolute value.
8548 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
8549 (__tanhl): Force underflow exception for arguments with small
8550 absolute value.
8551 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
8552 (__tanhl): Force underflow exception for arguments with small
8553 absolute value.
8554 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
8555 (__tanhl): Force underflow exception for arguments with small
8556 absolute value.
8557 * math/auto-libm-test-in: Add more tests of tanh.
8558 * math/auto-libm-test-out: Regenerated.
8559 * sysdeps/i386/fpu/libm-test-ulps: Update.
8560
8561 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
8562
8563 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
8564 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
8565
8566 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
8567
8568 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
8569 <cpuid.h>.
8570
8571 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
8572
8573 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
8574 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
8575
8576 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
8577
8578 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
8579 Remove $(objpfx)init-arch.o.
8580 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
8581 init-arch.
8582 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
8583 (INIT_ARCH_EXT): Defined as empty.
8584 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
8585 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
8586 __init_cpu_features call. Replace HAS_XXX with
8587 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8588 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
8589 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
8590 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
8591 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
8592 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8593 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
8594 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
8595 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8596 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
8597 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
8598 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8599 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
8600 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
8601 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8602 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
8603 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
8604 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8605 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8606 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
8607 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
8608 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8609 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
8610 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
8611 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8612 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
8613 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
8614 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8615 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
8616 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
8617 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8618 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
8619 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
8620 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8621 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
8622 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
8623
8624 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
8625
8626 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
8627 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8628 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8629 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8630 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
8631 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
8632 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
8633 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
8634 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
8635 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
8636 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
8637 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
8638 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8639 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8640 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8641 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8642 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8643 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8644 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8645 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8646 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8647 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8648 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8649 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8650 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8651 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8652 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8653 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8654 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8655 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8656 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8657 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8658 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8659 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8660 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8661 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8662 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8663 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8664 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8665 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8666 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8667 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8668 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8669
8670 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
8671
8672 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
8673 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8674 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8675 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8676 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8677 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
8678 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8679 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
8680 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8681 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8682 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8683 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
8684 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
8685 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
8686 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
8687 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
8688 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
8689 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
8690 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
8691 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
8692 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8693 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
8694 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
8695 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8696 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8697 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
8698 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
8699 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
8700 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8701 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8702 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8703 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8704 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8705 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8706 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8707 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8708 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8709 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8710 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8711 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8712 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8713 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8714 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8715
8716 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
8717
8718 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
8719 (dl_platform_init): Call init_cpu_features.
8720 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
8721 * sysdeps/i386/i686/cacheinfo.c
8722 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
8723 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
8724 * sysdeps/i386/i686/multiarch/Versions: Removed.
8725 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
8726 Removed.
8727 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
8728 * sysdeps/unix/sysv/linux/x86/Makefile
8729 (libpthread-sysdep_routines): Remove init-arch.
8730 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
8731 <sysdeps/x86_64/dl-procinfo.c> instead of
8732 sysdeps/generic/dl-procinfo.c>.
8733 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
8734 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
8735 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
8736 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
8737 [$(subdir) == elf] (tests-static): Add
8738 tst-get-cpu-features-static.
8739 * sysdeps/x86/Versions: New file.
8740 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
8741 * sysdeps/x86/cpu-features.c: Likewise.
8742 * sysdeps/x86/cpu-features.h: Likewise.
8743 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
8744 * sysdeps/x86/libc-start.c: Likewise.
8745 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8746 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
8747 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
8748 * sysdeps/x86_64/dl-procinfo.c: Likewise.
8749 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
8750 Assume USE_MULTIARCH is defined and don't check it.
8751 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
8752 (is_amd): Likewise.
8753 (max_cpuid): Likewise.
8754 (intel_check_word): Likewise.
8755 (__cache_sysconf): Don't call __init_cpu_features.
8756 (__x86_preferred_memory_instruction): Removed.
8757 (init_cacheinfo): Don't call __init_cpu_features. Replace
8758 __cpu_features with GLRO(dl_x86_cpu_features).
8759 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
8760 (dl_platform_init): Call init_cpu_features.
8761 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
8762 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
8763 * sysdeps/x86_64/multiarch/Versions: Removed.
8764 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
8765 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
8766 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
8767 Removed.
8768 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
8769
8770 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8771
8772 [BZ #18820]
8773 * libio/Makefile (test-fmemopen-mem): New test.
8774 * libio/test-fmemopen.c (do_bz18820): New test.
8775 * libio/fmemopen.c (__fmemopen): Fix memory leak.
8776 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
8777
8778 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8779
8780 [BZ #16734]
8781 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
8782 (FREE_BUF): Delete.
8783 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
8784 * libio/genops.c (_IO_setb): Use malloc and free directly.
8785 (_IO_default_doallocate, _IO_default_finish): Likewise.
8786 ( _IO_unbuffer_all): Likewise.
8787 ( libc_freeres_fn): Likewise.
8788 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8789 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8790 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
8791 (_IO_wdefault_doallocate): Likewise.
8792
8793 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8794
8795 [BZ #18086]
8796 * sysdeps/posix/nice.c (nice): Restore old errno.
8797 * posix/tst-nice.c (do_test): Add test for BZ #18086.
8798
8799 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
8800
8801 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
8802
8803 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8804
8805 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
8806 __bcopy and add a weak_alias to bcopy.
8807 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
8808 for static build.
8809
8810 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
8811 cleanup macro usage.
8812 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
8813 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
8814 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8815 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
8816 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8817 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
8818 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
8819 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8820 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8821 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
8822 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8823 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
8824 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8825 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
8826 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8827 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
8828 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
8829 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
8830 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8831
8832 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
8833 libc_hidden_def.
8834 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
8835
8836 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
8837 (sysdep_routines): Add strstr-ppc64.
8838 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
8839
8840 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
8841
8842 [BZ #18778]
8843 * elf/Makefile (tests): Add Add tst-nodelete2.
8844 (modules-names): Add tst-nodelete2mod.
8845 (tst-nodelete2mod.so-no-z-defs): New.
8846 ($(objpfx)tst-nodelete2): Likewise.
8847 ($(objpfx)tst-nodelete2.out): Likewise.
8848 (LDFLAGS-tst-nodelete2): Likewise.
8849 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
8850 out of loop through all loaded libraries.
8851 * elf/tst-nodelete2.c: New file.
8852 * elf/tst-nodelete2mod.c: Likewise.
8853 * elf/tst-znodelete-zlib.cc: Delete.
8854
8855 2015-08-11 Andreas Schwab <schwab@suse.de>
8856
8857 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
8858 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
8859 (__openat64_nocancel): Likewise.
8860
8861 2015-08-11 Joseph Myers <joseph@codesourcery.com>
8862
8863 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
8864 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
8865 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
8866 * math/auto-libm-test-out: Regenerated.
8867 * sysdeps/i386/fpu/libm-test-ulps: Update.
8868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8869
8870 2015-08-10 Joseph Myers <joseph@codesourcery.com>
8871
8872 [BZ #18790]
8873 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
8874 threshold for returning +/- 1.
8875 * math/auto-libm-test-in: Add more tests of tanh.
8876 * math/auto-libm-test-out: Regenerated.
8877 * sysdeps/i386/fpu/libm-test-ulps: Update.
8878
8879 2015-08-10 Andreas Schwab <schwab@suse.de>
8880
8881 [BZ #18781]
8882 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
8883 MORE_OFLAGS to oflag.
8884 * io/test-lfs.c (do_test): Test openat64.
8885
8886 2015-08-10 Joseph Myers <joseph@codesourcery.com>
8887
8888 [BZ #18789]
8889 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
8890 smaller threshold for returning the argument.
8891 * math/auto-libm-test-in: Add more tests of sinh.
8892 * math/auto-libm-test-out: Regenerated.
8893 * sysdeps/i386/fpu/libm-test-ulps: Update.
8894
8895 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
8896
8897 [BZ #18674]
8898 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
8899 break.
8900
8901 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
8902
8903 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
8904 (generated): Don't add $(addprefix z.,$(tzfiles)).
8905
8906 2015-08-09 Mike Frysinger <vapier@gentoo.org>
8907
8908 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
8909 * scripts/sysd-rules.awk: Likewise.
8910
8911 2015-08-09 Mike Frysinger <vapier@gentoo.org>
8912
8913 * iconvdata/tst-tables.sh: Change echo -n to printf.
8914 * nss/db-Makefile: Likewise.
8915 * posix/tst-getconf.sh: Likewise.
8916 * stdio-common/tst-unbputc.sh: Likewise.
8917
8918 2015-08-09 Mike Frysinger <vapier@gentoo.org>
8919
8920 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
8921 MADV_*_PAGES defines behind this feature check.
8922
8923 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
8924
8925 [BZ #18480]
8926 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
8927 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
8928 Define.
8929 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
8930 LOAD_REGS_5, LOAD_REGS_6): Update.
8931 (INTERNAL_SYSCALL): Update using new LOAD defines.
8932 (INTERNAL_SYSCALL_NCS): Likewise.
8933 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
8934
8935 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8936
8937 [BZ #16734]
8938 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
8939
8940 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8941
8942 [BZ #17905]
8943 * catgets/Makefile (tst-catgets-mem): New test.
8944 * catgets/catgets.c (catopen): Don't use unbounded alloca.
8945 * catgets/open_catalog.c (__open_catalog): Likewise.
8946 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
8947
8948 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
8949
8950 [BZ #18787]
8951 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
8952 clobber registers.
8953 (atomic_compare_and_exchange_val_acq): Use register asms to assign
8954 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
8955 Cast return to __typeof (oldval).
8956
8957 2015-08-08 Mike Frysinger <vapier@gentoo.org>
8958
8959 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
8960 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
8961 and delete sys/syscall.h include.
8962
8963 2015-08-07 Joseph Myers <joseph@codesourcery.com>
8964
8965 [BZ #16517]
8966 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
8967 (tan): Force underflow exception for arguments with small absolute
8968 value.
8969 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
8970 (__kernel_tanf): Force underflow exception for arguments with
8971 small absolute value.
8972 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
8973 (__kernel_tanl): Force underflow exception for arguments with
8974 small absolute value.
8975 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
8976 (__kernel_tanl): Force underflow exception for arguments with
8977 small absolute value.
8978 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
8979 (__kernel_tanl): Force underflow exception for arguments with
8980 small absolute value.
8981 * math/auto-libm-test-in: Add more tests of tan.
8982 * math/auto-libm-test-out: Regenerated.
8983
8984 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8985
8986 Fix sysdeps/i386/fpu/s_scalbn.S build
8987
8988 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
8989
8990 2015-08-07 Mike Frysinger <vapier@gentoo.org>
8991
8992 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8993
8994 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
8995
8996 Fix gcrt0.o compilation
8997
8998 When static-start-installed-name is different from
8999 start-installed-name, we must not use the shared objects.
9000
9001 * csu/Makefile
9002 (extra-objs): Add gmon-start.o when building shared library and
9003 $(static-start-installed-name) is different from
9004 $(start-installed-name).
9005 $(objpfx)g$(static-start-installed-name): When building shared
9006 library and $(static-start-installed-name) is different from
9007 $(static-start-installed-name), revert to non-shared rule,
9008 i.e. using $(objpfx)% and gmon-start.o.
9009
9010 2015-08-06 Joseph Myers <joseph@codesourcery.com>
9011
9012 [BZ #16519]
9013 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
9014 (__ieee754_sinh): Force underflow exception for arguments with
9015 small absolute value.
9016 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
9017 (__ieee754_sinhf): Force underflow exception for arguments with
9018 small absolute value.
9019 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
9020 (__ieee754_sinhl): Force underflow exception for arguments with
9021 small absolute value.
9022 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
9023 (__ieee754_sinhl): Force underflow exception for arguments with
9024 small absolute value.
9025 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
9026 (__ieee754_sinhl): Force underflow exception for arguments with
9027 small absolute value.
9028 * math/auto-libm-test-in: Add more tests of sinh.
9029 * math/auto-libm-test-out: Regenerated.
9030 * sysdeps/i386/fpu/libm-test-ulps: Update.
9031
9032 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9033
9034 * libio/oldfileops.c: Include unistd.h.
9035
9036 2015-08-06 Mike Frysinger <vapier@gentoo.org>
9037
9038 * stdlib/isomac.c: Include ctype.h.
9039
9040 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
9041
9042 * dirent/tst-seekdir.c (main): Converted to ...
9043 (do_test): ... this.
9044 (TEST_FUNCTION): New macro.
9045 Include test-skeleton.c.
9046 * elf/tst-dlmodcount.c (main): Converted to ...
9047 (do_test): ... this.
9048 (TEST_FUNCTION): New macro.
9049 Include test-skeleton.c.
9050 * elf/tst-order-main.c (main): Converted to ...
9051 (do_test): ... this.
9052 (TEST_FUNCTION): New macro.
9053 Include test-skeleton.c.
9054 * elf/tst-pie2.c (main): Converted to ...
9055 (do_test): ... this.
9056 (TEST_FUNCTION): New macro.
9057 Include test-skeleton.c.
9058 * inet/tst-ether_aton.c (main): Converted to ...
9059 (do_test): ... this.
9060 (TEST_FUNCTION): New macro.
9061 Include test-skeleton.c.
9062 * misc/tst-mntent.c (main): Converted to ...
9063 (do_test): ... this.
9064 (TEST_FUNCTION): New macro.
9065 Include test-skeleton.c.
9066 * misc/tst-tsearch.c (main): Converted to ...
9067 (do_test): ... this.
9068 (TEST_FUNCTION): New macro.
9069 Include test-skeleton.c.
9070 * posix/tst-regexloc.c (main): Converted to ...
9071 (do_test): ... this.
9072 (TEST_FUNCTION): New macro.
9073 Include test-skeleton.c.
9074 * resolv/tst-aton.c (main): Converted to ...
9075 (do_test): ... this.
9076 (TEST_FUNCTION): New macro.
9077 Include test-skeleton.c.
9078 * stdio-common/test-fwrite.c (main): Converted to ...
9079 (do_test): ... this.
9080 (TEST_FUNCTION): New macro.
9081 Include test-skeleton.c.
9082 * stdio-common/tst-ferror.c (main): Converted to ...
9083 (do_test): ... this.
9084 (TEST_FUNCTION): New macro.
9085 Include test-skeleton.c.
9086 * stdio-common/tst-printf.c (main): Converted to ...
9087 (do_test): ... this.
9088 (TEST_FUNCTION): New macro.
9089 Include test-skeleton.c.
9090 * stdio-common/tst-printfsz.c (main): Converted to ...
9091 (do_test): ... this.
9092 (TEST_FUNCTION): New macro.
9093 Include test-skeleton.c.
9094 * stdlib/tst-strtod.c (main): Converted to ...
9095 (do_test): ... this.
9096 (TEST_FUNCTION): New macro.
9097 Include test-skeleton.c.
9098 * string/tst-strlen.c (main): Converted to ...
9099 (do_test): ... this.
9100 (TEST_FUNCTION): New macro.
9101 Include test-skeleton.c.
9102 * string/tst-svc.c (main): Converted to ...
9103 (do_test): ... this.
9104 (TEST_FUNCTION): New macro.
9105 Include test-skeleton.c.
9106 * time/tst-strptime.c (main): Converted to ...
9107 (do_test): ... this.
9108 (TEST_FUNCTION): New macro.
9109 Include test-skeleton.c.
9110 * timezone/tst-timezone.c (main): Converted to ...
9111 (do_test): ... this.
9112 (TEST_FUNCTION): New macro.
9113 Include test-skeleton.c.
9114
9115 2015-08-05 Zack Weinberg <zackw@panix.com>
9116
9117 * misc/regexp.h: Update comments.
9118
9119 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
9120
9121 [BZ #18635]
9122 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
9123 before return label.
9124
9125 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
9126
9127 [BZ #18661]
9128 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
9129 when calling __errno_location.
9130 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
9131 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
9132
9133 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
9134
9135 [BZ #18661]
9136 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
9137 (__lll_timedwait_tid): Align stack to 16 bytes when calling
9138 __gettimeofday.
9139
9140 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
9141
9142 [BZ #18661]
9143 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9144 (__start_context): Don't use pop to restore %rdi so that stack
9145 is aligned to 16 bytes when calling __setcontext.
9146
9147 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
9148
9149 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
9150 only for libc.
9151 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9152
9153 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
9154
9155 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
9156 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
9157 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
9158
9159 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
9160
9161 * string/memccpy.c (memccpy):
9162 Improve performance by using memchr/memcpy/__mempcpy.
9163
9164 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
9165
9166 * string/strncpy.c (strncpy):
9167 Improve performance by using __strnlen/memcpy.
9168
9169 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
9170
9171 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9172 Optimize to avoid an unnecessary FPCR read.
9173
9174 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
9175
9176 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9177 Optimize to reduce FPCR/FPSR accesses.
9178
9179 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
9180
9181 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
9182 dead->data[category] != NULL.
9183
9184 2015-08-05 Joseph Myers <joseph@codesourcery.com>
9185
9186 [BZ #18647]
9187 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
9188 and |x| close to 1, use absolute value of x when computing log.
9189 * math/auto-libm-test-in: Add more tests of pow.
9190 * math/auto-libm-test-out: Regenerated.
9191
9192 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9193
9194 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
9195 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
9196 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
9197
9198 2015-08-05 Marko Myllynen <myllynen@redhat.com>
9199
9200 [BZ #18525]
9201 * locales/km_KH: Remove timezone definition.
9202 * locales/lo_LA: Likewise.
9203 * locales/my_MM: Likewise.
9204 * locales/nan_TW@latin: Likewise.
9205 * locales/th_TH: Likewise.
9206 * locales/uk_UA: Likewise.
9207
9208 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
9209
9210 [BZ #18265]
9211 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
9212 (wcsncat): Likewise.
9213 (wcscmp): Likewise.
9214 (wcsncmp): Likewise.
9215
9216 2015-08-05 Mike Frysinger <vapier@gentoo.org>
9217
9218 * test-skeleton.c (usage): New function.
9219 (main): Call usage when opt is '?'.
9220
9221 2015-08-05 Mike Frysinger <vapier@gentoo.org>
9222
9223 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
9224 before first use.
9225
9226 2015-08-05 Mike Frysinger <vapier@gentoo.org>
9227
9228 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
9229 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
9230 in there too.
9231
9232 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
9233
9234 * version.h (RELEASE): Set to "development".
9235 (VERSION): Set to "2.22.90"
9236
9237 * version.h (RELEASE): Set to "stable".
9238 (VERSION): Set to "2.22"
9239 * include/features.h (__GLIBC_MINOR__): Set to 22.
9240
9241 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
9242
9243 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
9244 Restructure macro to avoid "value computed is not used" warning.
9245 (atomic_compare_and_exchange_val_acq): Likewise.
9246
9247 2015-08-04 Andreas Schwab <schwab@suse.de>
9248
9249 [BZ #18635]
9250 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
9251 ret.
9252 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
9253
9254 2015-08-01 Carlos O'Donell <carlos@redhat.com>
9255
9256 * po/pl.po: Updated translation.
9257 * po/uk.po: Likewise.
9258 * po/fi.po: Likewise.
9259 * po/ko.po: Likewise.
9260 * po/ru.po: Likewise.
9261 * po/vi.po: Likewise.
9262
9263 2015-07-31 Zack Weinberg <zackw@panix.com>
9264
9265 [BZ #18681]
9266 * regexp.h: Add unconditional #warning stating that this header
9267 will be removed soon. Revise banner comment to match.
9268 (compile): Consistently use ERROR instead of RETURN to report
9269 errors (partial fix for bz#18681).
9270 * regexp.c: Don't include regexp.h. Remove some unnecessary
9271 declarations.
9272
9273 2015-07-31 Carlos O'Donell <carlos@redhat.com>
9274
9275 * po/libc.pot: Regenerated.
9276
9277 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
9278
9279 [BZ #18740]
9280 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
9281 float-vlen4-arch-ext-cflags): Removed.
9282 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
9283 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
9284
9285 2015-07-30 Mike Frysinger <vapier@gentoo.org>
9286
9287 [BZ #14113]
9288 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
9289 aligned to __aligned__.
9290 (pthread_cond_t, pthread_rwlock_t): Likewise.
9291
9292 2015-07-30 Torvald Riegel <triegel@redhat.com>
9293
9294 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
9295
9296 2015-07-30 Mike Frysinger <vapier@gentoo.org>
9297
9298 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
9299 (struct sigaction): Change sa_flags from a long to an int, and add
9300 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
9301
9302 2015-07-30 Mike Frysinger <vapier@gentoo.org>
9303
9304 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
9305 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
9306 sysdeps/generic/sysdep.h include.
9307 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
9308 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
9309 sysdeps/hppa/sysdep.h.
9310 (ENTRY, PSEUDO): Undefine before defining.
9311
9312 2015-07-30 Mike Frysinger <vapier@gentoo.org>
9313
9314 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
9315 from scratch to use INTERNAL_SYSCALL.
9316
9317 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
9318
9319 [BZ #18078]
9320 * scripts/check-localplt.awk: Support alternate relocations.
9321 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
9322 sections.
9323 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
9324 malloc entries with + REL R_386_GLOB_DAT.
9325 * sysdeps/x86_64/localplt.data: New file.
9326
9327 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
9328
9329 [BZ #18731]
9330 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
9331 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9332 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9333
9334 2015-07-27 Mike Frysinger <vapier@gentoo.org>
9335
9336 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
9337
9338 2015-07-27 Mike Frysinger <vapier@gentoo.org>
9339
9340 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
9341 directly in terms of __sync_fetch_and_add and delete (int) cast.
9342
9343 2015-07-27 Mike Frysinger <vapier@gentoo.org>
9344
9345 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
9346 the -D_ASM_IA64_CURRENT_H flag.
9347
9348 2015-07-27 Mike Frysinger <vapier@gentoo.org>
9349
9350 [BZ #18641]
9351 * pwd/pwd.h (putpwent): Delete __nonnull markings.
9352
9353 2015-07-27 Andreas Schwab <schwab@suse.de>
9354
9355 * conform/conformtest.pl (checknamespace): Filter out string
9356 literals while tokenizing.
9357
9358 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
9359
9360 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9361 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
9362 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9363
9364 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
9365
9366 * nptl/tst-join7mod.c: Add #include <string.h>.
9367
9368 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
9369
9370 * sysdeps/nios2/libm-test-ulps: Update.
9371
9372 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
9373
9374 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
9375 Fix order of arguments to the rt_sigprocmask syscall.
9376 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
9377 Likewise.
9378
9379 2015-07-24 Roland McGrath <roland@hack.frob.com>
9380
9381 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
9382
9383 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9384
9385 [BZ #18457]
9386 * nptl/Makefile (tests): New test case tst-join7.
9387 (modules-names): New test case module tst-join7mod.
9388 * nptl/tst-join7.c: New file.
9389 * nptl/tst-join7mod.c: New file.
9390 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
9391 all translation units in libc.so, libpthread.so and rtld.
9392
9393 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9394
9395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9396
9397 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
9398
9399 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
9400 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9401 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9402 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9403 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9404 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9405 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9406 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9407 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9408 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9409 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9410 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9411 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
9412 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
9413 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
9414 implementation.
9415
9416 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
9417
9418 [BZ #17711]
9419 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9420 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
9421 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9422 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9423 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
9424 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9425
9426 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9427
9428 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
9429 instead of just saying load lock in the comments.
9430
9431 2015-07-23 Roland McGrath <roland@hack.frob.com>
9432
9433 * sysdeps/unix/Subdirs: Moved ...
9434 * sysdeps/posix/Subdirs: ... here.
9435 * login/pty.h (struct termios, struct winsize): Add forward decls.
9436 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
9437 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
9438 * sysdeps/arm/nacl/libc.abilist: Updated.
9439 * sysdeps/nacl/libutil.abilist: New file.
9440
9441 * bits/signum.h: Update comments to mention 1003.1-2013 too.
9442 (SIGWINCH): New macro.
9443
9444 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
9445 * sysdeps/arm/nacl/libc.abilist: Add it.
9446
9447 2015-07-23 Mike Frysinger <vapier@gentoo.org>
9448
9449 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
9450
9451 2015-07-23 Mike Frysinger <vapier@gentoo.org>
9452
9453 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9454 Swap __glibc_reserved0 and sa_flags order.
9455
9456 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9457
9458 [BZ #18657]
9459 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
9460 are pending TLS destructor calls.
9461 * include/link.h (struct link_map): Add concurrency note for
9462 L_TLS_DTOR_COUNT.
9463 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9464 Don't touch the link map flag. Atomically increment
9465 l_tls_dtor_count.
9466 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
9467 Avoid taking the load lock and don't touch the link map flag.
9468 * stdlib/tst-tls-atexit-nodelete.c: New test case.
9469 * stdlib/Makefile (tests): Use it.
9470 * stdlib/tst-tls-atexit.c (do_test): dlopen
9471 tst-tls-atexit-lib.so again before dlclose. Add conditionals
9472 to allow tst-tls-atexit-nodelete test case to use it.
9473
9474 2015-07-22 Mike Frysinger <vapier@gentoo.org>
9475
9476 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
9477 to bits/types.h.
9478 (msgqnum_t): New typedef.
9479 (msglen_t): Likewise.
9480 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
9481 and msg_qbytes type to msglen_t.
9482
9483 2015-07-22 Mike Frysinger <vapier@gentoo.org>
9484
9485 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
9486 pad0 to __glibc_reserved0.
9487 (struct stat64): Likewise.
9488
9489 2015-07-22 Mike Frysinger <vapier@gentoo.org>
9490
9491 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9492 Change sa_flags from a long to an int and add __glibc_reserved0 before
9493 it for padding.
9494
9495 2015-07-22 Mike Frysinger <vapier@gentoo.org>
9496
9497 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
9498 anonymous by deleting "siginfo" name.
9499
9500 2015-07-21 Roland McGrath <roland@hack.frob.com>
9501
9502 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
9503 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
9504 rather than __nacl_irt_filename.
9505 * sysdeps/nacl/xstat.c (__xstat): Likewise.
9506
9507 * NEWS: New item for arm-nacl port.
9508 * sysdeps/arm/nacl/libc.abilist: New file.
9509 * sysdeps/nacl/ld.abilist: New file.
9510 * sysdeps/nacl/libBrokenLocale.abilist: New file.
9511 * sysdeps/nacl/libanl.abilist: New file.
9512 * sysdeps/nacl/libcrypt.abilist: New file.
9513 * sysdeps/nacl/libdl.abilist: New file.
9514 * sysdeps/nacl/libm.abilist: New file.
9515 * sysdeps/nacl/libpthread.abilist: New file.
9516 * sysdeps/nacl/libresolv.abilist: New file.
9517 * sysdeps/nacl/librt.abilist: New file.
9518
9519 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
9520
9521 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
9522 __startcontext to initialize the new context.
9523 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
9524 up CFI directive to forbid further backtracing.
9525
9526 2015-07-21 Marko Myllynen <myllynen@redhat.com>
9527
9528 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
9529 reference.
9530 * charmaps/ANSI_X3.4-1968: Likewise.
9531 * charmaps/BS_4730: Likewise.
9532 * charmaps/BS_VIEWDATA: Likewise.
9533 * charmaps/CP1250: Likewise.
9534 * charmaps/CP1251: Likewise.
9535 * charmaps/CP1252: Likewise.
9536 * charmaps/CP1253: Likewise.
9537 * charmaps/CP1254: Likewise.
9538 * charmaps/CP1255: Likewise.
9539 * charmaps/CP1256: Likewise.
9540 * charmaps/CSN_369103: Likewise.
9541 * charmaps/EBCDIC-DK-NO: Likewise.
9542 * charmaps/GB_1988-80: Likewise.
9543 * charmaps/GREEK-CCITT: Likewise.
9544 * charmaps/GREEK7: Likewise.
9545 * charmaps/INIS-8: Likewise.
9546 * charmaps/ISIRI-3342: Likewise.
9547 * charmaps/ISO_2033-1983: Likewise.
9548 * charmaps/ISO_5427-EXT: Likewise.
9549 * locales/POSIX: Likewise.
9550 * locales/ar_SA: Likewise.
9551 * locales/be_BY: Likewise.
9552 * locales/be_BY@latin: Likewise.
9553 * locales/ca_ES: Likewise.
9554 * locales/cs_CZ: Likewise.
9555 * locales/da_DK: Likewise.
9556 * locales/de_BE: Likewise.
9557 * locales/de_CH: Likewise.
9558 * locales/de_LU: Likewise.
9559 * locales/en_AU: Likewise.
9560 * locales/en_BW: Likewise.
9561 * locales/en_CA: Likewise.
9562 * locales/en_DK: Likewise.
9563 * locales/en_GB: Likewise.
9564 * locales/en_IE: Likewise.
9565 * locales/en_NZ: Likewise.
9566 * locales/en_ZA: Likewise.
9567 * locales/en_ZW: Likewise.
9568 * locales/es_AR: Likewise.
9569 * locales/es_BO: Likewise.
9570 * locales/es_CL: Likewise.
9571 * locales/es_CO: Likewise.
9572 * locales/es_DO: Likewise.
9573 * locales/es_EC: Likewise.
9574 * locales/es_ES: Likewise.
9575 * locales/es_HN: Likewise.
9576 * locales/es_MX: Likewise.
9577 * locales/es_PA: Likewise.
9578 * locales/es_PE: Likewise.
9579 * locales/es_PY: Likewise.
9580 * locales/es_SV: Likewise.
9581 * locales/es_US: Likewise.
9582 * locales/es_UY: Likewise.
9583 * locales/es_VE: Likewise.
9584 * locales/et_EE: Likewise.
9585 * locales/fa_IR: Likewise.
9586 * locales/fo_FO: Likewise.
9587 * locales/fr_CA: Likewise.
9588 * locales/fr_CH: Likewise.
9589 * locales/gv_GB: Likewise.
9590 * locales/he_IL: Likewise.
9591 * locales/hr_HR: Likewise.
9592 * locales/id_ID: Likewise.
9593 * locales/is_IS: Likewise.
9594 * locales/it_CH: Likewise.
9595 * locales/iw_IL: Likewise.
9596 * locales/kl_GL: Likewise.
9597 * locales/ko_KR: Likewise.
9598 * locales/kw_GB: Likewise.
9599 * locales/lg_UG: Likewise.
9600 * locales/lt_LT: Likewise.
9601 * locales/lv_LV: Likewise.
9602 * locales/mi_NZ: Likewise.
9603 * locales/nhn_MX: Likewise.
9604 * locales/nl_BE: Likewise.
9605 * locales/pl_PL: Likewise.
9606 * locales/sk_SK: Likewise.
9607 * locales/sl_SI: Likewise.
9608 * locales/sv_FI: Likewise.
9609 * locales/tl_PH: Likewise.
9610 * locales/tr_TR: Likewise.
9611 * locales/vi_VN: Likewise.
9612
9613 2015-07-21 Khem Raj <raj.khem@gmail.com>
9614
9615 [BZ #17475]
9616 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
9617 of tu_IN and bh_IN.
9618
9619 2015-07-21 Mike Frysinger <vapier@gentoo.org>
9620
9621 [BZ #18694]
9622 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
9623 bits/wordsize.h.
9624 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
9625
9626 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9627
9628 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
9629 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
9630 (spawn_thread): New function.
9631 (load): Rename to reg_dtor_and_close. Move dlopen to...
9632 (do_test): ... here. Use IS_LOADED to test for its
9633 availability.
9634
9635 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
9636
9637 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9638
9639 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
9640
9641 [BZ #18696]
9642 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
9643 si_addr_bnd.
9644 (si_lower): New.
9645 (si_upper): Likewise.
9646
9647 2015-07-16 David S. Miller <davem@davemloft.net>
9648
9649 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9650
9651 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9652
9653 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
9654 buffer.
9655 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
9656 fail output information.
9657
9658 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9659
9660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
9661 and strstr-ppc64..
9662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9663 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
9664 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
9665 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
9666 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
9667
9668 2015-07-16 Mike Frysinger <vapier@gentoo.org>
9669
9670 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9671 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9672 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9673 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9674
9675 2015-07-16 Mike Frysinger <vapier@gentoo.org>
9676
9677 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9678 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
9679 rtld_hidden_proto.
9680 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
9681
9682 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9683
9684 * tst-nodelete-opened.c (do_test): Add comment to clarify how
9685 the test can fail.
9686
9687 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
9688
9689 [BZ #18676]
9690 * elf/tst-nodelete-opened.c: New test case.
9691 * elf/tst-nodelete-opened-lib.c: New test case module.
9692 * elf/Makefile (tests, modules-names): Use them.
9693 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
9694 early.
9695
9696 2015-07-15 David S. Miller <davem@davemloft.net>
9697
9698 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
9699 futex-intenal.h
9700 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
9701 * sysdeps/sparc/sparc64/Makefile: Likewise.
9702 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9703 Remove space from macro define.
9704 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
9705
9706 2015-07-15 Pravin Satpute <psatpute@redhat.com>
9707
9708 [BZ #17475]
9709 * locale/iso-639.def: Update Bhili and Tulu language codes as
9710 per iso639-3.
9711
9712 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
9713
9714 * elf/tst-leaks1.c (main): Converted to ...
9715 (do_test): ... this.
9716 (TEST_FUNCTION): New macro.
9717 Include test-skeleton.c.
9718 * localedata/tst-langinfo.c (main): Converted to ...
9719 (do_test): ... this.
9720 (TEST_FUNCTION): New macro.
9721 Include test-skeleton.c.
9722 * math/test-fpucw.c (main): Converted to ...
9723 (do_test): ... this.
9724 (TEST_FUNCTION): New macro.
9725 Include test-skeleton.c.
9726 * math/test-tgmath.c (main): Converted to ...
9727 (do_test): ... this.
9728 (TEST_FUNCTION): New macro.
9729 Include test-skeleton.c.
9730 * math/test-tgmath2.c (main): Converted to ...
9731 (do_test): ... this.
9732 (TEST_FUNCTION): New macro.
9733 Include test-skeleton.c.
9734 * setjmp/tst-setjmp.c (main): Converted to ...
9735 (do_test): ... this.
9736 (TEST_FUNCTION): New macro.
9737 Include test-skeleton.c.
9738 * stdio-common/tst-sscanf.c (main): Converted to ...
9739 (do_test): ... this.
9740 (TEST_FUNCTION): New macro.
9741 Include test-skeleton.c.
9742 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
9743 (do_test): ... this.
9744 (TEST_FUNCTION): New macro.
9745 Include test-skeleton.c.
9746
9747 * elf/tst-audit9.c (main): Converted to ...
9748 (do_test): ... this.
9749 (TEST_FUNCTION): New macro.
9750 Include test-skeleton.c.
9751
9752 2015-07-15 Mike Frysinger <vapier@gentoo.org>
9753
9754 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
9755
9756 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
9757
9758 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
9759 New variable.
9760
9761 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
9762
9763 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9764
9765 2015-07-14 Roland McGrath <roland@hack.frob.com>
9766
9767 * sysdeps/generic/dl-fileid.h: New file.
9768 * sysdeps/posix/dl-fileid.h: New file.
9769 * sysdeps/nacl/dl-fileid.h: New file.
9770 * include/link.h: Include <dl-fileid.h>.
9771 (struct link_map): Replace l_dev and l_ino with l_file_id.
9772 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
9773 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
9774 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
9775
9776 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9777
9778 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
9779
9780 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9781
9782 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
9783 Add iff $CXX is set.
9784 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
9785 Likewise.
9786 (tst-nodelete-zmodiff): Likewise.
9787 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
9788
9789 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9790
9791 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
9792
9793 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
9794
9795 * sysdeps/aarch64/fpu/math_private.h
9796 (define math_opt_barrier): Add AArch64 version.
9797 (math_force_eval): Likewise.
9798
9799 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
9800
9801 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
9802
9803 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
9804
9805 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
9806 %ld with %jd and cast to intmax_t.
9807 (do_test_length_zero): Likewise.
9808
9809 2015-07-10 Roland McGrath <roland@hack.frob.com>
9810
9811 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
9812
9813 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
9814
9815 * sysdeps/tile/libm-test-ulps: Regenerated.
9816
9817 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
9818 Comment out the whole function, not just its body.
9819
9820 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9821
9822 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
9823 locks.
9824
9825 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
9826
9827 2015-07-10 Torvald Riegel <triegel@redhat.com>
9828
9829 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
9830 (sem_assume_only_signals_cause_futex_EINTR): Remove.
9831
9832 2015-07-10 Torvald Riegel <triegel@redhat.com>
9833
9834 * sysdeps/nptl/futex-internal.h: New file.
9835 * sysdeps/nacl/futex-internal.h: New file.
9836 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
9837 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
9838 error checking.
9839 (setxid_unmark_thread): Likewise.
9840 (__nptl_setxid): Likewise.
9841 (__wait_lookup_done): Likewise.
9842 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
9843 * nptl/nptl-init.c (sighandler_setxid): Likewise.
9844 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
9845 * nptl/pthread_once.c (clear_once_control): Likewise.
9846 (__pthread_once_slow): Likewise.
9847 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9848 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
9849 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
9850 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9851 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
9852 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
9853 Likewise.
9854 (__pthread_rwlock_rdlock): Likewise.
9855 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9856 Likewise.
9857 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9858 Likewise.
9859 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9860 Likewise.
9861 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
9862 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
9863 Likewise.
9864 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
9865 __ASSUME_PRIVATE_FUTEX check.
9866 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
9867 Check that shared futexes are supported.
9868 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
9869 wrappers with error checking.
9870 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
9871 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
9872 * nptl/pthread_barrierattr_setpshared.c
9873 (pthread_barrierattr_setpshared): Check that shared futexes are
9874 supported.
9875 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
9876 Likewise.
9877 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
9878 Likewise.
9879 * nptl/sem_init.c (futex_private_if_supported): Remove.
9880 (__new_sem_init): Adapt and check that shared futexes are supported.
9881 * nptl/sem_open.c (sem_open): Likewise.
9882 * nptl/sem_post.c (futex_wake): Remove.
9883 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
9884 (do_futex_wait): Use futex wrappers with error checking.
9885 * nptl/sem_wait.c: Include lowlevellock.h.
9886 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
9887 Use futex_supports_pshared.
9888 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
9889 Use futex wrappers with error checking.
9890 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
9891 Likewise.
9892 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
9893 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
9894 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
9895 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
9896 (futex_wake): Likewise.
9897 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
9898 (do_futex_wait): Use futex wrappers with error checking.
9899 (__new_sem_wait_slow): Update EINTR handling.
9900 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
9901
9902 2015-07-09 Martin Sebor <msebor@redhat.com>
9903
9904 [BZ #18435]
9905 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9906 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
9907 * nptl/Makefile (test-xfail-tst-once5): Define.
9908
9909 2015-07-09 Roland McGrath <roland@hack.frob.com>
9910
9911 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
9912 * elf/dl-minimal.c: For readability, reorder some definitions and
9913 introduce more page breaks. Include <stdio.h>.
9914 (__libc_fatal): New function.
9915
9916 * include/unistd.h: Add rtld_hidden_proto for _exit.
9917 * posix/_exit.c: Add rtld_hidden_def.
9918 * sysdeps/mach/hurd/_exit.c: Likewise.
9919 * sysdeps/nacl/_exit.c: Likewise.
9920 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
9921 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
9922
9923 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
9924
9925 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
9926 bndmov encoding with zero displacement.
9927
9928 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
9929 H.J. Lu <hongjiu.lu@intel.com>
9930
9931 [BZ #18134]
9932 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
9933 * sysdeps/i386/configure: Regenerated.
9934 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
9935 (_dl_runtime_profile): Save and restore Intel MPX return bound
9936 registers when calling _dl_call_pltexit. Add
9937 PRESERVE_BND_REGS_PREFIX before return.
9938 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
9939 (LRV_BND1_OFFSET): Likewise.
9940 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
9941 lrv_bnd1.
9942 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
9943 typo in bndmov encoding.
9944 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
9945 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
9946 branch instructions to preserve bounds.
9947
9948 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9949
9950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9951 [GLIBC_2.22]: Add fmemopen.
9952
9953 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
9954
9955 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
9956 returns an error, also try to use host port from __mach_host_self for
9957 the __vm_wire call.
9958 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
9959
9960 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
9961
9962 [BZ #18400]
9963 [BZ #18648]
9964 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
9965 Fix pr_uid and pr_gid members.
9966 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
9967 definition to elf_greg_t.
9968
9969 2015-07-08 Roland McGrath <roland@hack.frob.com>
9970
9971 [BZ #18383]
9972 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
9973 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
9974 * sysdeps/arm/configure: Regenerated.
9975 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
9976 (test-xfail-tst-tlsalign-static): Variable removed.
9977
9978 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
9979 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
9980 rather than explicit 'ln -s'.
9981
9982 * resolv/rpc/netdb.h: New file.
9983 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
9984
9985 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9986
9987 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
9988 length buffers.
9989 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9990 test-skeleton.c.
9991
9992 [BZ #6544]
9993 [BZ #11216]
9994 [BZ #12836]
9995 [BZ #13151]
9996 [BZ #13152]
9997 [BZ #14292]
9998 * include/stdio.h (fmemopen): Remove hidden prototype.
9999 (__fmemopen): Add new hidden prototype.
10000 * libio/Makefile: Add oldfmemopen object.
10001 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
10002 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
10003 compliance.
10004 * libio/oldfmemopen.c: New file: old fmemopen implementation for
10005 symbol compatibility.
10006 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
10007 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
10008 fmemopen.
10009 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
10010 on append and read mode.
10011 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
10012 fmemopen.
10013 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
10014 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
10015 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
10016 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
10017 Likewise.
10018 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10019 [GLIBC_2.22]: Likewise.
10020 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
10021 Likewise.
10022 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
10023 Likewise.
10024 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10025 [GLIBC_2.22]: Likewise.
10026 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10027 [GLIBC_2.22]: Likewise.
10028 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10029 [GLIBC_2.22]: Likewise.
10030 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10031 [GLIBC_2.22]: Likewise.
10032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10033 [GLIBC_2.22]: Likewise.
10034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10035 [GLIBC_2.22]: Likewise.
10036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10037 [GLIBC_2.22]: Likewise.
10038 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
10039 Likewise.
10040 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
10041 Likewise.
10042 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
10043 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10044 [GLIBC_2.22]: Likewise.
10045 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10046 [GLIBC_2.22]: Likewise.
10047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10048 [GLIBC_2.22]: Likewise.
10049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10050 [GLIBC_2.22]: Likewise.
10051 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
10052 Likewise.
10053 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
10054 Likewise.
10055 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
10056 Likewise.
10057 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
10058 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
10059
10060 2015-07-08 Carlos O'Donell <carlos@redhat.com>
10061
10062 [BZ #18643]
10063 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
10064 IPV6_PATHMTU, and IPV6_DONTFRAG.
10065
10066 2015-07-08 Feng Gao <gfree.wind@gmail.com>
10067
10068 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
10069 and _IO_UNBUFFERED.
10070 * libio/oldfileops.c: Likewise.
10071 * libio/wfileops.c: Likewise.
10072
10073 2015-07-08 Mike Frysinger <vapier@gentoo.org>
10074
10075 * nscd/selinux.c: Delete selinux/flask.h include.
10076
10077 2015-07-08 Mike Frysinger <vapier@gentoo.org>
10078
10079 [BZ #18641]
10080 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
10081 (putpwent): Likewise.
10082 (getpwnam): Likewise.
10083 (getpwent_r): Likewise.
10084 (getpwuid_r): Likewise.
10085 (getpwnam_r): Likewise.
10086 (fgetpwent_r): Likewise.
10087
10088 2015-07-08 Carlos O'Donell <carlos@redhat.com>
10089
10090 [BZ #18557]
10091 * inet/rcmd.c (__validuser2_sa): Check user first to
10092 short-circuit host check.
10093
10094 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
10095 Mikhail Ilin <m.ilin@samsung.com>
10096
10097 [BZ #17833]
10098 * elf/Makefile (tests): Add tst-nodelete.
10099 (modules-names): Add tst-nodelete-uniquemod.
10100 (tst-nodelete-uniquemod.so-no-z-defs): New.
10101 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
10102 (tst-nodelete-zmod.so-no-z-defs): Likewise.
10103 ($(objpfx)tst-nodelete): Likewise.
10104 ($(objpfx)tst-nodelete.out): Likewise.
10105 (LDFLAGS-tst-nodelete): Likewise.
10106 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
10107 * elf/dl-close.c (_dl_close_worker): Add a parameter to
10108 implement forced object deletion.
10109 (_dl_close): Pass false to _dl_close_worker.
10110 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
10111 * elf/tst-nodelete.cc: New file.
10112 * elf/tst-nodeletelib.cc: Likewise.
10113 * elf/tst-znodeletelib.cc: Likewise.
10114 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
10115
10116 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
10117
10118 [BZ #18508]
10119 * stdlib/Makefile ($(objpfx)tst-makecontext3):
10120 Depend on $(libdl).
10121 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
10122 is not called infinitely times.
10123 (backtrace_helper): New function.
10124 (trace_arg): New struct.
10125 (st1): Enlarge stack size.
10126 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10127 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
10128 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10129 Likewise.
10130
10131 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
10132
10133 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10134
10135 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
10136
10137 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
10138 Include sys/types.h instead of bits/types.h.
10139 Remove inclusion of bits/wordsize.h.
10140
10141 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
10142
10143 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
10144 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
10145 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
10146 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
10147 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
10148 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
10149
10150 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
10151
10152 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
10153 link-defines.sym.
10154 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
10155 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
10156 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
10157 and LR_SIZE.
10158 * sysdeps/i386/link-defines.sym: New file.
10159
10160 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
10161
10162 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
10163 (modules-names): Add tst-auditmod3a tst-auditmod3b.
10164 ($(objpfx)tst-audit3): New rule.
10165 ($(objpfx)tst-audit3.out): Likewise.
10166 * sysdeps/i386/tst-audit3.c: New file.
10167 * sysdeps/i386/tst-audit3.h: Likewise.
10168 * sysdeps/i386/tst-auditmod3a.c: Likewise.
10169 * sysdeps/i386/tst-auditmod3b.c: Likewise.
10170
10171 2015-07-07 Torvald Riegel <triegel@redhat.com>
10172
10173 [BZ #18633]
10174 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
10175 pointer in C code.
10176 (__strcat_c): Likewise.
10177 (__strcat_g): Likewise.
10178
10179 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
10180
10181 [BZ #18592]
10182 * misc/sbrk.c: Set errno to ENOMEM on overflow.
10183
10184 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
10185
10186 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
10187 New function. (__ieee754_sqrtf): New function.
10188 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
10189 New function.
10190 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
10191 New function.
10192
10193 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
10194
10195 * sysdeps/ieee754/support.c: Remove unused file.
10196
10197 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
10198
10199 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
10200 registers instead of d ones so the layout is kernel abi compatible.
10201 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
10202 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
10203 Likewise.
10204
10205 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
10206
10207 * sysdeps/aarch64/libm-test-ulps: Regenerated.
10208
10209 2015-07-01 Joseph Myers <joseph@codesourcery.com>
10210
10211 [BZ #18619]
10212 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
10213 and return argument in case of subnormal argument.
10214
10215 2015-07-01 Martin Sebor <msebor@redhat.com>
10216
10217 [BZ #18435]
10218 * nptl/Makefile: Add tst-once5.cc.
10219 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
10220 Remove macro redefinitions.
10221 * nptl/tst-once5.cc: New test.
10222
10223 2015-07-01 Joseph Myers <joseph@codesourcery.com>
10224
10225 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10226
10227 * sysdeps/arm/libm-test-ulps: Regenerated.
10228
10229 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10230 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10231
10232 2015-06-30 Torvald Riegel <triegel@redhat.com>
10233
10234 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
10235 lll_lock_wait_private and lll_futex_wake probes.
10236
10237 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10238 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
10239 Likewise.
10240 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
10241 atomic_spin_nop.
10242 * sysdeps/x86_64/bits/atomic.h: Likewise.
10243 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
10244 to atomic_spin_nop and move ...
10245 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
10246 ... here and ...
10247 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
10248 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
10249 atomic_spin_nop instead of BUSY_WAIT_NOP.
10250 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
10251 Likewise.
10252 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
10253 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
10254 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
10255 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
10256 instead of atomic_delay.
10257
10258 2015-06-29 Joseph Myers <joseph@codesourcery.com>
10259
10260 [BZ #18613]
10261 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
10262 X_ADJ not X when adjusting exponent.
10263 (__ieee754_gamma_r): Do intermediate computations in
10264 round-to-nearest then adjust overflowing and underflowing results
10265 as needed.
10266 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
10267 of X_ADJ not X when adjusting exponent.
10268 (__ieee754_gammaf_r): Do intermediate computations in
10269 round-to-nearest then adjust overflowing and underflowing results
10270 as needed.
10271 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
10272 log of X_ADJ not X when adjusting exponent.
10273 (__ieee754_gammal_r): Do intermediate computations in
10274 round-to-nearest then adjust overflowing and underflowing results
10275 as needed. Use 1.0L not 1.0f as numerator of division.
10276 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
10277 log of X_ADJ not X when adjusting exponent.
10278 (__ieee754_gammal_r): Do intermediate computations in
10279 round-to-nearest then adjust overflowing and underflowing results
10280 as needed. Use 1.0L not 1.0f as numerator of division.
10281 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
10282 of X_ADJ not X when adjusting exponent.
10283 (__ieee754_gammal_r): Do intermediate computations in
10284 round-to-nearest then adjust overflowing and underflowing results
10285 as needed. Use 1.0L not 1.0f as numerator of division.
10286 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
10287 to auto-libm-test-in.
10288 (tgamma_test): Use ALL_RM_TEST.
10289 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
10290 tests of tgamma with spurious-overflow.
10291 * math/auto-libm-test-out: Regenerated.
10292 * math/gen-libm-have-vector-test.sh: Do not check for START.
10293 * sysdeps/i386/fpu/libm-test-ulps: Update.
10294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10295
10296 [BZ #18612]
10297 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
10298 arguments, just return 0.5 times the argument, with underflow
10299 forced as needed.
10300 * math/auto-libm-test-in: Add more tests of j1.
10301 * math/auto-libm-test-out: Regenerated.
10302
10303 [BZ #16559]
10304 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
10305 (__ieee754_j1): Force underflow exception for small results.
10306 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10307 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
10308 (__ieee754_j1f): Force underflow exception for small results.
10309 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10310 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10311 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10312 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
10313 (__ieee754_j1l): Force underflow exception for small results.
10314 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10315 * math/auto-libm-test-in: Add more tests of j1 and jn.
10316 * math/auto-libm-test-out: Regenerated.
10317
10318 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
10319 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
10320 (PF_MPLS): Likewise.
10321 (AF_IB): Likewise.
10322 (AF_MPLS): Likewise.
10323 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
10324 value and macro.
10325 (MS_RMT_MASK): Include MS_LAZYTIME.
10326
10327 2015-06-26 Mel Gorman <mgorman@suse.de>
10328
10329 [BZ #18502]
10330 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
10331 already minimal.
10332
10333 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
10334
10335 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
10336 (DT_MIPS_NUM): Update.
10337 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
10338 DT_MIPS_RLD_MAP_REL.
10339
10340 2015-06-25 Joseph Myers <joseph@codesourcery.com>
10341
10342 [BZ #16559]
10343 [BZ #18602]
10344 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
10345 round-to-nearest internally then recompute results that
10346 underflowed to zero in the original rounding mode.
10347 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10348 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10349 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10350 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
10351 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
10352 * sysdeps/i386/fpu/libm-test-ulps: Update.
10353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10354
10355 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
10356
10357 * NEWS: Fixed description of link with vector math library.
10358
10359 2015-06-25 Andreas Schwab <schwab@suse.de>
10360
10361 [BZ #18549]
10362 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
10363 * libio/test-fmemopen.c (do_test): Add test for it.
10364
10365 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
10366
10367 [BZ #17841]
10368 * Makeconfig (no-pie-ldflag): New.
10369 (+link): Set to $(+link-pie) if default to PIE.
10370 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
10371 * config.make.in (build-pie-default): New.
10372 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
10373 is default. AC_SUBST.
10374 * configure: Regenerated.
10375 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
10376
10377 2015-06-24 Roland McGrath <roland@hack.frob.com>
10378
10379 * nptl/descr.h (struct pthread): Change type of field setxid_futex
10380 to 'unsigned int'.
10381
10382 * resolv/gai_misc.h (struct waitlist): Change type of field
10383 counterp to 'volatile unsigned int *'.
10384 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
10385 FUTEXADDR and OLDVAL.
10386 * resolv/getaddrinfo_a.c (getaddrinfo_a):
10387 Give local variable TOTAL type 'volatile unsigned int'.
10388 (struct async_waitlist): Change type of field counter to 'unsigned int'.
10389 * resolv/gai_suspend.c (gai_suspend):
10390 Give local variable CNTR type 'unsigned int'.
10391
10392 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
10393 counterp to 'volatile unsigned int *'.
10394 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
10395 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
10396 (aio_suspend): Give local variable CNTR type 'unsigned int'.
10397 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
10398 Give local variable TOTAL type 'volatile unsigned int'.
10399 (struct async_waitlist): Change type of field counter to 'unsigned int'.
10400
10401 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
10402
10403 [BZ #18383]
10404 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
10405 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
10406 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
10407 comment for i386/x86-64.
10408 (test-xfail-tst-tlsalign-extern-static): Removed.
10409
10410 2015-06-24 Joseph Myers <joseph@codesourcery.com>
10411
10412 * math/test-double.h: New file.
10413 * math/test-float.h: Likewise.
10414 * math/test-ldouble.h: Likewise.
10415 * math/test-math-inline.h: Likewise.
10416 * math/test-math-no-inline.h: Likewise.
10417 * math/test-math-scalar.h: Likewise.
10418 * math/test-math-vector.h: Likewise.
10419 * math/test-vec-loop.h: Remove file. Contents moved into
10420 test-math-vector.h.
10421 * math/libm-test.inc (MATHCONST): Do not document macro.
10422 * math/test-double.c: Include test-double.h, test-math-no-inline.h
10423 and test-math-scalar.h.
10424 (FUNC): Remove macro.
10425 (FUNC_TEST): Likewise.
10426 (FLOAT): Likewise.
10427 (MATHCONST): Likewise.
10428 (PRINTF_EXPR): Likewise.
10429 (PRINTF_XEXPR): Likewise.
10430 (PRINTF_NEXPR): Likewise.
10431 (TEST_DOUBLE): Likewise.
10432 (TEST_MATHVEC): Likewise.
10433 (__NO_MATH_INLINES): Likewise.
10434 * math/test-float.c: Include test-float.h, test-math-no-inline.h
10435 and test-math-scalar.h.
10436 (FUNC): Remove macro.
10437 (FUNC_TEST): Likewise.
10438 (FLOAT): Likewise.
10439 (MATHCONST): Likewise.
10440 (PRINTF_EXPR): Likewise.
10441 (PRINTF_XEXPR): Likewise.
10442 (PRINTF_NEXPR): Likewise.
10443 (TEST_FLOAT): Likewise.
10444 (TEST_MATHVEC): Likewise.
10445 (__NO_MATH_INLINES): Likewise.
10446 * math/test-idouble.c: Include test-double.h, test-math-inline.h
10447 and test-math-scalar.h.
10448 (FUNC): Remove macro.
10449 (FUNC_TEST): Likewise.
10450 (FLOAT): Likewise.
10451 (MATHCONST): Likewise.
10452 (PRINTF_EXPR): Likewise.
10453 (PRINTF_XEXPR): Likewise.
10454 (PRINTF_NEXPR): Likewise.
10455 (TEST_DOUBLE): Likewise.
10456 (TEST_MATHVEC): Likewise.
10457 (TEST_INLINE): Likewise.
10458 (__NO_MATH_INLINES): Likewise.
10459 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
10460 test-math-scalar.h.
10461 (FUNC): Remove macro.
10462 (FUNC_TEST): Likewise.
10463 (FLOAT): Likewise.
10464 (MATHCONST): Likewise.
10465 (PRINTF_EXPR): Likewise.
10466 (PRINTF_XEXPR): Likewise.
10467 (PRINTF_NEXPR): Likewise.
10468 (TEST_FLOAT): Likewise.
10469 (TEST_MATHVEC): Likewise.
10470 (TEST_INLINE): Likewise.
10471 (__NO_MATH_INLINES): Likewise.
10472 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
10473 and test-math-scalar.h.
10474 (FUNC): Remove macro.
10475 (FUNC_TEST): Likewise.
10476 (FLOAT): Likewise.
10477 (MATHCONST): Likewise.
10478 (PRINTF_EXPR): Likewise.
10479 (PRINTF_XEXPR): Likewise.
10480 (PRINTF_NEXPR): Likewise.
10481 (TEST_LDOUBLE): Likewise.
10482 (TEST_MATHVEC): Likewise.
10483 (TEST_INLINE): Likewise.
10484 (__NO_MATH_INLINES): Likewise.
10485 * math/test-ldouble.c: Include test-ldouble.h,
10486 test-math-no-inline.h and test-math-scalar.h.
10487 (FUNC): Remove macro.
10488 (FUNC_TEST): Likewise.
10489 (FLOAT): Likewise.
10490 (MATHCONST): Likewise.
10491 (PRINTF_EXPR): Likewise.
10492 (PRINTF_XEXPR): Likewise.
10493 (PRINTF_NEXPR): Likewise.
10494 (TEST_LDOUBLE): Likewise.
10495 (TEST_MATHVEC): Likewise.
10496 (__NO_MATH_INLINES): Likewise.
10497 * math/test-double-vlen2.h: Include test-double.h,
10498 test-math-no-inline.h and test-math-vector.h.
10499 (FLOAT): Remove macro.
10500 (FUNC): Likewise.
10501 (MATHCONST): Likewise.
10502 (PRINTF_EXPR): Likewise.
10503 (PRINTF_XEXPR): Likewise.
10504 (PRINTF_NEXPR): Likewise.
10505 (TEST_DOUBLE): Likewise.
10506 (TEST_MATHVEC): Likewise.
10507 (__NO_MATH_INLINES): Likewise.
10508 (CNCT): Likewise.
10509 (CONCAT): Likewise.
10510 (WRAPPER_NAME): Likewise.
10511 (WRAPPER_DECL): Likewise.
10512 (WRAPPER_DECL_ff): Likewise.
10513 (WRAPPER_DECL_fFF): Likewise.
10514 (VECTOR_WRAPPER): Likewise.
10515 (VECTOR_WRAPPER_ff): Likewise.
10516 (VECTOR_WRAPPER_fFF): Likewise.
10517 (VEC_LEN): New macro.
10518 * math/test-double-vlen4.h: Include test-double.h,
10519 test-math-no-inline.h and test-math-vector.h.
10520 (FLOAT): Remove macro.
10521 (FUNC): Likewise.
10522 (MATHCONST): Likewise.
10523 (PRINTF_EXPR): Likewise.
10524 (PRINTF_XEXPR): Likewise.
10525 (PRINTF_NEXPR): Likewise.
10526 (TEST_DOUBLE): Likewise.
10527 (TEST_MATHVEC): Likewise.
10528 (__NO_MATH_INLINES): Likewise.
10529 (CNCT): Likewise.
10530 (CONCAT): Likewise.
10531 (WRAPPER_NAME): Likewise.
10532 (WRAPPER_DECL): Likewise.
10533 (WRAPPER_DECL_ff): Likewise.
10534 (WRAPPER_DECL_fFF): Likewise.
10535 (VECTOR_WRAPPER): Likewise.
10536 (VECTOR_WRAPPER_ff): Likewise.
10537 (VECTOR_WRAPPER_fFF): Likewise.
10538 (VEC_LEN): New macro.
10539 * math/test-double-vlen8.h: Include test-double.h,
10540 test-math-no-inline.h and test-math-vector.h.
10541 (FLOAT): Remove macro.
10542 (FUNC): Likewise.
10543 (MATHCONST): Likewise.
10544 (PRINTF_EXPR): Likewise.
10545 (PRINTF_XEXPR): Likewise.
10546 (PRINTF_NEXPR): Likewise.
10547 (TEST_DOUBLE): Likewise.
10548 (TEST_MATHVEC): Likewise.
10549 (__NO_MATH_INLINES): Likewise.
10550 (CNCT): Likewise.
10551 (CONCAT): Likewise.
10552 (WRAPPER_NAME): Likewise.
10553 (WRAPPER_DECL): Likewise.
10554 (WRAPPER_DECL_ff): Likewise.
10555 (WRAPPER_DECL_fFF): Likewise.
10556 (VECTOR_WRAPPER): Likewise.
10557 (VECTOR_WRAPPER_ff): Likewise.
10558 (VECTOR_WRAPPER_fFF): Likewise.
10559 (VEC_LEN): New macro.
10560 * math/test-float-vlen4.h: Include test-float.h,
10561 test-math-no-inline.h and test-math-vector.h.
10562 (FLOAT): Remove macro.
10563 (FUNC): Likewise.
10564 (MATHCONST): Likewise.
10565 (PRINTF_EXPR): Likewise.
10566 (PRINTF_XEXPR): Likewise.
10567 (PRINTF_NEXPR): Likewise.
10568 (TEST_FLOAT): Likewise.
10569 (TEST_MATHVEC): Likewise.
10570 (__NO_MATH_INLINES): Likewise.
10571 (CNCT): Likewise.
10572 (CONCAT): Likewise.
10573 (WRAPPER_NAME): Likewise.
10574 (WRAPPER_DECL): Likewise.
10575 (WRAPPER_DECL_ff): Likewise.
10576 (WRAPPER_DECL_fFF): Likewise.
10577 (VECTOR_WRAPPER): Likewise.
10578 (VECTOR_WRAPPER_ff): Likewise.
10579 (VECTOR_WRAPPER_fFF): Likewise.
10580 (VEC_LEN): New macro.
10581 * math/test-float-vlen8.h: Include test-float.h,
10582 test-math-no-inline.h and test-math-vector.h.
10583 (FLOAT): Remove macro.
10584 (FUNC): Likewise.
10585 (MATHCONST): Likewise.
10586 (PRINTF_EXPR): Likewise.
10587 (PRINTF_XEXPR): Likewise.
10588 (PRINTF_NEXPR): Likewise.
10589 (TEST_FLOAT): Likewise.
10590 (TEST_MATHVEC): Likewise.
10591 (__NO_MATH_INLINES): Likewise.
10592 (CNCT): Likewise.
10593 (CONCAT): Likewise.
10594 (WRAPPER_NAME): Likewise.
10595 (WRAPPER_DECL): Likewise.
10596 (WRAPPER_DECL_ff): Likewise.
10597 (WRAPPER_DECL_fFF): Likewise.
10598 (VECTOR_WRAPPER): Likewise.
10599 (VECTOR_WRAPPER_ff): Likewise.
10600 (VECTOR_WRAPPER_fFF): Likewise.
10601 (VEC_LEN): New macro.
10602 * math/test-float-vlen16.h: Include test-float.h,
10603 test-math-no-inline.h and test-math-vector.h.
10604 (FLOAT): Remove macro.
10605 (FUNC): Likewise.
10606 (MATHCONST): Likewise.
10607 (PRINTF_EXPR): Likewise.
10608 (PRINTF_XEXPR): Likewise.
10609 (PRINTF_NEXPR): Likewise.
10610 (TEST_FLOAT): Likewise.
10611 (TEST_MATHVEC): Likewise.
10612 (__NO_MATH_INLINES): Likewise.
10613 (CNCT): Likewise.
10614 (CONCAT): Likewise.
10615 (WRAPPER_NAME): Likewise.
10616 (WRAPPER_DECL): Likewise.
10617 (WRAPPER_DECL_ff): Likewise.
10618 (WRAPPER_DECL_fFF): Likewise.
10619 (VECTOR_WRAPPER): Likewise.
10620 (VECTOR_WRAPPER_ff): Likewise.
10621 (VECTOR_WRAPPER_fFF): Likewise.
10622 (VEC_LEN): New macro.
10623 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
10624 test-vec-loop.h.
10625 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10626 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10627 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10628 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10629 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10630 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10631 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10632
10633 2015-06-24 Roland McGrath <roland@hack.frob.com>
10634
10635 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
10636 (__getlogin_r): ... this.
10637
10638 2015-06-24 Joseph Myers <joseph@codesourcery.com>
10639
10640 [BZ #18594]
10641 * math/s_ccosh.c (__ccosh): Compare with least normal value
10642 instead of comparing class with FP_SUBNORMAL.
10643 * math/s_ccoshf.c (__ccoshf): Likewise.
10644 * math/s_ccoshl.c (__ccoshl): Likewise.
10645 * math/s_cexp.c (__cexp): Likewise.
10646 * math/s_cexpf.c (__cexpf): Likewise.
10647 * math/s_cexpl.c (__cexpl): Likewise.
10648 * math/s_csin.c (__csin): Likewise.
10649 * math/s_csinf.c (__csinf): Likewise.
10650 * math/s_csinh.c (__csinh): Likewise.
10651 * math/s_csinhf.c (__csinhf): Likewise.
10652 * math/s_csinhl.c (__csinhl): Likewise.
10653 * math/s_csinl.c (__csinl): Likewise.
10654 * math/s_ctan.c (__ctan): Likewise.
10655 * math/s_ctanf.c (__ctanf): Likewise.
10656 * math/s_ctanh.c (__ctanh): Likewise.
10657 * math/s_ctanhf.c (__ctanhf): Likewise.
10658 * math/s_ctanhl.c (__ctanhl): Likewise.
10659 * math/s_ctanl.c (__ctanl): Likewise.
10660 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
10661 csin, csinh, ctan and ctanh.
10662 * math/auto-libm-test-out: Regenerated.
10663 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
10664 * sysdeps/i386/fpu/libm-test-ulps: Update.
10665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10666
10667 2015-06-24 Roland McGrath <roland@hack.frob.com>
10668
10669 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
10670 return value is wrong, print the expected value too.
10671
10672 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
10673
10674 [BZ #18585]
10675 * elf/readlib.c (is_gdb_python_file): New.
10676 (process_file): Don't issue errors on filenames with -gdb.py
10677 suffix.
10678
10679 2015-06-24 Joseph Myers <joseph@codesourcery.com>
10680
10681 * math/auto-libm-test-in: Add more tests of csin and csinh.
10682 * math/auto-libm-test-out: Regenerated.
10683 * math/libm-test.inc (csin_test_data): Remove tests moved to
10684 auto-libm-test-in.
10685 (csinh_test_data): Likewise.
10686
10687 [BZ #18593]
10688 * math/s_csin.c (__csin): Negate before rather than after possibly
10689 overflowing multiplication.
10690 * math/s_csinf.c (__csinf): Likewise.
10691 * math/s_csinh.c (__csinh): Likewise.
10692 * math/s_csinhf.c (__csinhf): Likewise.
10693 * math/s_csinhl.c (__csinhl): Likewise.
10694 * math/s_csinl.c (__csinl): Likewise.
10695 * math/auto-libm-test-in: Add some tests of csin and csinh.
10696 * math/auto-libm-test-out: Regenerated.
10697 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
10698 (csinh_test_data): Likewise.
10699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10700
10701 [BZ #18586]
10702 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
10703 underflow exception for small results.
10704
10705 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
10706
10707 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10708 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
10709 variable and included header.
10710 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
10711 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
10712 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
10713 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
10714 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
10715 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10716 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10717 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
10718 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
10719 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
10720 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
10721 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
10722 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
10723 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
10724 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
10725 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
10726
10727 2015-06-23 Joseph Myers <joseph@codesourcery.com>
10728
10729 [BZ #16526]
10730 [BZ #16538]
10731 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
10732 (__sin): Force underflow exception for arguments with small
10733 absolute value.
10734 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
10735 (__kernel_sinf): Force underflow exception for arguments with
10736 small absolute value.
10737 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
10738 (__kernel_sincosl): Force underflow exception for arguments with
10739 small absolute value.
10740 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
10741 (__kernel_sinl): Force underflow exception for arguments with
10742 small absolute value.
10743 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
10744 (__kernel_sincosl): Force underflow exception for arguments with
10745 small absolute value.
10746 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
10747 (__kernel_sinl): Force underflow exception for arguments with
10748 small absolute value.
10749 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
10750 (__kernel_sinl): Force underflow exception for arguments with
10751 small absolute value.
10752 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
10753 (__kernel_sinf): Force underflow exception for arguments with
10754 small absolute value.
10755 * math/auto-libm-test-in: Add more tests of sin and sincos.
10756 * math/auto-libm-test-out: Regenerated.
10757
10758 [BZ #18245]
10759 [BZ #18583]
10760 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
10761 (__kernel_standard_l): Use feholdexcept and fesetenv around
10762 conversion to double instead of special-casing overflow and
10763 underflow.
10764 * math/libm-test.inc (fmod_test_data): Add more tests.
10765 (remainder_test_data): Likewise.
10766 (sqrt_test_data): Likewise.
10767
10768 2015-06-23 Torvald Riegel <triegel@redhat.com>
10769
10770 [BZ #17403]
10771 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
10772 atomic_read_barrier, atomic_write_barrier): Define.
10773 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
10774 atomic_read_barrier, atomic_write_barrier): Define.
10775
10776 2015-06-23 Joseph Myers <joseph@codesourcery.com>
10777
10778 * math/Makefile [$(PERL) != no]
10779 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
10780 dependency on libm-test.stmp below the inclusion of Rules.
10781
10782 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
10783
10784 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10785 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
10786 and included header.
10787 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
10788 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
10789 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
10790 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
10791 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
10792 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
10793 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10794 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10795 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
10796 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
10797 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
10798 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
10799 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
10800 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
10801 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
10802 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
10803 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
10804 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
10805 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
10806
10807 2015-06-23 Joseph Myers <joseph@codesourcery.com>
10808
10809 [BZ #18371]
10810 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
10811 intermediate but not final result might underflow.
10812 * math/s_csqrtf.c (__csqrtf): Likewise.
10813 * math/s_csqrtl.c (__csqrtl): Likewise.
10814 * math/auto-libm-test-in: Add more tests of csqrt.
10815 * math/auto-libm-test-out: Regenerated.
10816 * sysdeps/i386/fpu/libm-test-ulps: Update.
10817
10818 [BZ #18219]
10819 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
10820 threshold on absolute value of exponent for which scaling is used.
10821 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10822 * math/auto-libm-test-in: Add more tests of exp2.
10823 * math/auto-libm-test-out: Regenerated.
10824
10825 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
10826
10827 [BZ #17977]
10828 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
10829 when initializing interface list, based on the bug analysis
10830 and the patch proposed by Eric Newton.
10831 * resolv/tst-res_hconf_reorder.c: New test.
10832 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
10833 tst-res_hconf_reorder.
10834 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
10835 and $(shared-thread-library).
10836 (tst-res_hconf_reorder-ENV): New variable.
10837
10838 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
10839 in comment.
10840
10841 2015-06-22 Joseph Myers <joseph@codesourcery.com>
10842
10843 [BZ #16353]
10844 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
10845 (__expm1): Force underflow exception for arguments with small
10846 absolute value.
10847 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
10848 (__expm1f): Force underflow exception for arguments with small
10849 absolute value.
10850 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
10851 (__expm1): Force underflow exception for arguments with small
10852 absolute value.
10853 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
10854 (__expm1f): Force underflow exception for arguments with small
10855 absolute value.
10856 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10857 Check for small arguments before calling __expm1.
10858 * math/auto-libm-test-in: Do not mark underflow exceptions as
10859 possibly missing for bug 16353.
10860 * math/auto-libm-test-out: Regenerated.
10861
10862 2015-06-22 Andreas Schwab <schwab@suse.de>
10863
10864 [BZ #18513]
10865 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
10866 PTR queries.
10867
10868 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
10869
10870 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
10871
10872 * string/strcoll_l.c: Remove unused struct element idxnow.
10873
10874 2015-06-21 Joseph Myers <joseph@codesourcery.com>
10875
10876 [BZ #18569]
10877 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
10878 underflow and return argument in case of subnormal argument.
10879 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10880 Likewise.
10881 * math/auto-libm-test-in: Add more tests of expm1.
10882 * math/auto-libm-test-out: Regenerated.
10883
10884 [BZ #16361]
10885 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10886 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10887 tiny results.
10888 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10889 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10890 tiny results.
10891 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
10892 mark underflow exceptions as possibly missing for bug 16361.
10893 * math/auto-libm-test-out: Regenerated.
10894
10895 2015-06-19 Joseph Myers <joseph@codesourcery.com>
10896
10897 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
10898 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
10899 Remove variable.
10900 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10901 (test-xfail-XOPEN2K8/utmpx.h/conform).
10902
10903 * conform/conformtest.pl ($xerrors): New variable.
10904 (note_error): New function.
10905 (compiletest): New argument $xfail. Use not_error.
10906 (runtest): Likewise.
10907 (top level): Handle xfail- lines. Update calls to compiletest and
10908 runtest. Handle xfail- and optional- in headers listed with
10909 allow-header.
10910 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
10911 (O_EXEC): Likewise.
10912 (O_SEARCH): Likewise.
10913 * conform/data/stropts.h-data (ioctl): Likewise.
10914 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
10915 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
10916 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
10917 (msghdr.msg_controllen): Likewise.
10918 (cmsghdr.cmsg_len): Likewise.
10919 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
10920 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
10921 variable.
10922 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10923 (test-xfail-XPG4/stropts.h/conform): Likewise.
10924 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10925 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10926 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10927 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10928 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10929 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10930 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10931 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10932 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10933 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10934 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10935 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10936 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10937 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10938 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10939 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10940 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10941 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10942 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10943
10944 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
10945
10946 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
10947 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
10948 definitions for proper unfolding of __MATHDECL_VEC.
10949
10950 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
10951
10952 * benchtests/bench-strcoll.c:
10953 Include string.h.
10954 (main): Remove unused variable res.
10955
10956 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
10957
10958 * timezone/Makefile (%/UTC %/Universal):
10959 Generate test-result files for UTC and Universal.
10960
10961 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
10962
10963 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10964
10965 2015-06-18 Joseph Myers <joseph@codesourcery.com>
10966
10967 [BZ #16350]
10968 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
10969 for arguments with small absolute value.
10970 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
10971 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
10972 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
10973 (__asinh): Force underflow exception for arguments with small
10974 absolute value.
10975 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
10976 (__asinhf): Force underflow exception for arguments with small
10977 absolute value.
10978 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
10979 (__asinhl): Force underflow exception for arguments with small
10980 absolute value.
10981 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
10982 (__asinhl): Force underflow exception for arguments with small
10983 absolute value.
10984 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
10985 (__asinhl): Force underflow exception for arguments with small
10986 absolute value.
10987 * math/auto-libm-test-in: Do not mark underflow exceptions as
10988 possibly missing for bug 16350.
10989 * math/auto-libm-test-out: Regenerated.
10990
10991 * include/bits/ipc.h: Remove file.
10992 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
10993 variable.
10994 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10995 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10996 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10997 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10998 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10999 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11000 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11001 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11002 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11003
11004 * math/auto-libm-test-in: Remove spurious underflow allowance for
11005 tests of cexp.
11006 * math/auto-libm-test-out: Regenerated.
11007
11008 [BZ #18558]
11009 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
11010 unconditional definition.
11011 (MCAST_BLOCK_SOURCE): Likewise.
11012 (MCAST_UNBLOCK_SOURCE): Likewise.
11013 (MCAST_LEAVE_GROUP): Likewise.
11014 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11015 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11016 (MCAST_MSFILTER): Likewise.
11017 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
11018 Remove variable.
11019 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11020 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11021 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11022 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11023 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11024
11025 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
11026
11027 * NEWS: Mention addition of x86_64 vector sincosf.
11028 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
11029 * math/test-float-vlen4.h: Likewise.
11030 * math/test-float-vlen8.h: Likewise.
11031 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11032 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
11033 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11034 * sysdeps/x86_64/fpu/Versions: New versions added.
11035 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11036 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11037 Added build of SSE, AVX2 and AVX512 IFUNC versions.
11038 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
11039 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
11040 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
11041 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
11042 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
11043 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
11044 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
11045 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
11046 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
11047 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
11048 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
11049 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
11050 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
11051 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
11052 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11053 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11054 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11055 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11056 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11057 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11058 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11059
11060 * NEWS: Mention addition of x86_64 vector sincos.
11061 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
11062 * math/math.h (__MATHDECL_VEC): New macro.
11063 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
11064 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
11065 declaration under condition.
11066 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
11067 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
11068 TEST_VEC_LOOP change.
11069 * math/test-double-vlen4.h: Likewise.
11070 * math/test-double-vlen8.h: Likewise.
11071 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
11072 * math/test-float-vlen4.h: Likewise.
11073 * math/test-float-vlen8.h: Likewise.
11074 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11075 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
11076 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11077 * sysdeps/x86_64/fpu/Versions: New versions added.
11078 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11079 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11080 Added build of SSE, AVX2 and AVX512 IFUNC versions.
11081 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
11082 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
11083 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
11084 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
11085 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
11086 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
11087 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
11088 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
11089 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
11090 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
11091 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
11092 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
11093 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
11094 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
11095 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11096 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11097 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11098 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11099 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11100 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11101 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11102
11103 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11104 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11105 redirections for powf.
11106 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11107 * sysdeps/x86_64/fpu/Versions: New versions added.
11108 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11109 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11110 Added build of SSE, AVX2 and AVX512 IFUNC versions.
11111 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
11112 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
11113 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
11114 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
11115 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
11116 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
11117 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
11118 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
11119 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
11120 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
11121 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
11122 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
11123 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
11124 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
11125 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11126 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11127 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11128 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11129 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11130 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11131 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11132 * math/test-float-vlen16.h: Fixed 2 argument macro.
11133 * math/test-float-vlen4.h: Likewise.
11134 * math/test-float-vlen8.h: Likewise.
11135 * NEWS: Mention addition of x86_64 vector powf.
11136
11137 2015-06-17 Joseph Myers <joseph@codesourcery.com>
11138
11139 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11140 and redefine.
11141 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11142 and redefine.
11143 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
11144 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11145 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11146
11147 [BZ #18553]
11148 * resource/getpriority.c (getpriority): Rename to __getpriority
11149 and define as weak alias of __getpriority.
11150 * resource/setpriority.c (setpriority): Rename to __setpriority
11151 and define as weak alias of __setpriority.
11152 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
11153 __getpriority and define as weak alias of __getpriority.
11154 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
11155 __setpriority and define as weak alias of __setpriority.
11156 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
11157 strong name.
11158 (setpriority): Use __setpriority as strong name.
11159 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
11160 __getpriority and define as weak alias of __getpriority.
11161 * include/sys/resource.h (__getpriority): Declare. Use
11162 libc_hidden_proto.
11163 (__setpriority): Likewise.
11164 (getpriority): Don't use libc_hidden_proto.
11165 (setpriority): Likewise.
11166 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
11167 getpriority. Call __setpriority instead of setpriority.
11168 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
11169 Remove variable.
11170
11171 [BZ #18547]
11172 * misc/getttyent.c (getttynam): Rename to __getttynam and define
11173 as weak alias of __getttynam. Use prototype function definition.
11174 Call __setttyent, __getttyent and __endttyent instead of
11175 setttyent, getttyent and endttyent.
11176 (getttyent): Rename to __getttyent and define as weak alias of
11177 __getttyent. Call __setttyent instead of setttyent. Call
11178 __fgets_unlocked instead of fgets_unlocked.
11179 (setttyent): Rename to __setttyent and define as weak alias of
11180 __setttyent.
11181 (endttyent): Rename to __endttyent and define as weak alias of
11182 __endttyent.
11183 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
11184 (__setttyent): Likewise.
11185 (__endttyent): Likewise.
11186 (getttyent): Don't use libc_hidden_proto.
11187 (setttyent): Likewise.
11188 (endttyent): Likewise.
11189 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
11190 __endttyent instead of setttyent, getttyent and endttyent.
11191 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
11192 Remove variable.
11193
11194 [BZ #18546]
11195 * socket/recv.c (__recv): Use libc_hidden_def.
11196 * socket/socket.c (__socket): Likewise.
11197 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11198 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11199 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
11200 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
11201 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
11202 libc_hidden_def.
11203 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
11204 libc_hidden_weak.
11205 * include/sys/socket.h (__socket): Do not use attribute_hidden.
11206 Use libc_hidden_proto.
11207 (__recv): Likewise.
11208 * socket/Versions (libc): Export __recv and __socket at version
11209 GLIBC_PRIVATE.
11210 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
11211 instead of recv.
11212 (init_mq_netlink): Call __socket instead of socket.
11213 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
11214 Remove variable.
11215
11216 [BZ #18545]
11217 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
11218 __mq_timedreceive and define as alias of __mq_timedreceive. Use
11219 hidden_weak.
11220 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
11221 define as alias of __mq_timedsend. Use hidden_weak.
11222 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
11223 __mq_timedsend as strong name.
11224 (mq_timedreceive): Use __mq_timedreceive as strong name.
11225 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
11226 (__mq_timedreceive): Likewise.
11227 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
11228 __mq_timedreceive instead of mq_timedreceive.
11229 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
11230 instead of mq_timedsend.
11231 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
11232 Remove variable.
11233
11234 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
11235 hidden_def and hidden_weak instead of libc_hidden_def and
11236 libc_hidden_weak.
11237 (top level): Refer to hidden_def in comment.
11238 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
11239 macro. Use it instead of libc_hidden_def.
11240 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
11241 specify __GI_* name explicitly.
11242 (mq_timedreceive): Likewise.
11243 (mq_setattr): Likewise.
11244
11245 [BZ #18544]
11246 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
11247 __pthread_barrier_init and define as weak alias of
11248 __pthread_barrier_init.
11249 * sysdeps/sparc/nptl/pthread_barrier_init.c
11250 (pthread_barrier_init): Likewise.
11251 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
11252 __pthread_barrier_wait and define as weak alias of
11253 __pthread_barrier_wait.
11254 * sysdeps/sparc/nptl/pthread_barrier_wait.c
11255 (pthread_barrier_wait): Likewise.
11256 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11257 (pthread_barrier_wait): Likewise.
11258 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
11259 (pthread_barrier_wait): Likewise.
11260 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
11261 (pthread_barrier_wait): Likewise.
11262 * nptl/Versions (libpthread): Export __pthread_barrier_init and
11263 __pthread_barrier_wait at version GLIBC_PRIVATE.
11264 * include/pthread.h (__pthread_barrier_init): Declare.
11265 (__pthread_barrier_wait): Likewise.
11266 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
11267 Call __pthread_barrier_wait instead of pthread_barrier_wait.
11268 (helper_thread): Likewise.
11269 (init_mq_netlink): Call __pthread_barrier_init instead of
11270 pthread_barrier_init.
11271
11272 [BZ #18542]
11273 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
11274 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
11275 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
11276 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
11277 vswscanf.
11278 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
11279 Remove variable.
11280
11281 [BZ #18540]
11282 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
11283 strong alias of _IO_fflush. Use libc_hidden_def.
11284 * libio/iofflush_u.c (fflush_unlocked): Rename to
11285 __fflush_unlocked and define as weak alias of __fflush_unlocked.
11286 Use libc_hidden_weak.
11287 * include/stdio.h (__fflush_unlocked): Declare. Use
11288 libc_hidden_proto.
11289 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
11290 fflush_unlocked.
11291 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
11292 Remove variable.
11293
11294 [BZ #18539]
11295 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
11296 define as weak alias of __addseverity.
11297 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
11298 Remove variable.
11299 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11300 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11301 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11302
11303 [BZ #18536]
11304 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
11305 (__tfind): Likewise.
11306 (__tdelete): Likewise.
11307 (__twalk): Likewise.
11308 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
11309 __twalk to GLIBC_PRIVATE.
11310 * include/search.h (__tsearch): Use libc_hidden_proto.
11311 (__tfind): Likewise.
11312 (__tdelete): Likewise.
11313 (__twalk): Likewise.
11314 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
11315 Call __tdelete instead of tdelete.
11316 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
11317 tfind. Call __tsearch instead of tsearch.
11318 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
11319 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
11320 Remove variable.
11321 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11322
11323 [BZ #18534]
11324 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
11325 (dprintf): Define as a weak alias of __dprintf, not a strong
11326 alias.
11327 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
11328 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
11329 dprintf.
11330 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
11331 Remove variable.
11332 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11333 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11334
11335 [BZ #18533]
11336 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
11337 not a strong alias.
11338 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
11339 Remove variable.
11340
11341 [BZ #18532]
11342 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
11343 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
11344 (in6addr_loopback): Rename to __in6addr_loopback and define as
11345 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
11346 * include/netinet/in.h (__in6addr_loopback): Declare. Use
11347 libc_hidden_proto.
11348 (__in6addr_any): Likewise.
11349 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
11350 in6addr_any.
11351 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
11352 variable.
11353 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11354
11355 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
11356
11357 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
11358 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
11359 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11360 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11361 redirections for pow.
11362 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11363 * sysdeps/x86_64/fpu/Versions: New versions added.
11364 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11365 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11366 build of SSE, AVX2 and AVX512 IFUNC versions.
11367 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
11368 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
11369 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
11370 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
11371 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
11372 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
11373 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
11374 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
11375 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
11376 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
11377 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
11378 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
11379 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
11380 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
11381 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11382 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11383 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11384 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11385 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11386 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11387 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11388 * NEWS: Mention addition of x86_64 vector pow.
11389
11390 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11391 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11392 redirections for expf.
11393 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11394 * sysdeps/x86_64/fpu/Versions: New versions added.
11395 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11396 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11397 build of SSE, AVX2 and AVX512 IFUNC versions.
11398 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
11399 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
11400 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
11401 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
11402 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
11403 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
11404 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
11405 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
11406 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
11407 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
11408 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
11409 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
11410 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
11411 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11412 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11413 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11414 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11415 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11416 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11417 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11418 * NEWS: Mention addition of x86_64 vector expf.
11419
11420 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
11421 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
11422 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11423 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11424 redirections for exp.
11425 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11426 * sysdeps/x86_64/fpu/Versions: New versions added.
11427 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11428 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11429 build of SSE, AVX2 and AVX512 IFUNC versions.
11430 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
11431 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
11432 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
11433 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
11434 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
11435 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
11436 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
11437 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
11438 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
11439 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
11440 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
11441 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
11442 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
11443 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11444 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11445 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11446 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11447 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11448 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11449 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11450 * NEWS: Mention addition of x86_64 vector exp.
11451
11452 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11453 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11454 redirections for logf.
11455 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11456 * sysdeps/x86_64/fpu/Versions: New versions added.
11457 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11458 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11459 build of SSE, AVX2 and AVX512 IFUNC versions.
11460 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
11461 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
11462 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
11463 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
11464 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
11465 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
11466 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
11467 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
11468 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
11469 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
11470 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
11471 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
11472 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
11473 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11474 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11475 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11476 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11477 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11478 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11479 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11480 * NEWS: Mention addition of x86_64 vector logf.
11481
11482 * bits/libm-simd-decl-stubs.h: Added stubs for log.
11483 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
11484 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11485 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11486 redirections for log.
11487 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11488 * sysdeps/x86_64/fpu/Versions: New versions added.
11489 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11490 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11491 build of SSE, AVX2 and AVX512 IFUNC versions.
11492 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
11493 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
11494 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
11495 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
11496 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
11497 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
11498 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
11499 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
11500 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
11501 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
11502 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
11503 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
11504 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
11505 test.
11506 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11507 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11508 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11509 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11510 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11511 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11512 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11513 * NEWS: Mention addition of x86_64 vector log.
11514
11515 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
11516
11517 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
11518 cfi_adjust_cfa_offset argument.
11519 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
11520 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
11521
11522 [BZ #18034]
11523 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
11524 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
11525 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
11526 ordering using ldar.
11527 (_dl_tlsdesc_dynamic): Likewise.
11528 (_dl_tlsdesc_return_lazy): Likewise.
11529 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
11530 relaxed atomics instead of volatile and synchronize with release store.
11531 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
11532 volatile.
11533 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11534
11535 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
11536
11537 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11538 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
11539 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11540 * sysdeps/x86_64/fpu/Versions: New versions added.
11541 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11542 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11543 build of SSE, AVX2 and AVX512 IFUNC versions.
11544 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
11545 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
11546 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
11547 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
11548 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
11549 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
11550 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
11551 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
11552 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
11553 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
11554 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
11555 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
11556 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
11557 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11558 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11559 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11560 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11561 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11562 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11563 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11564 * NEWS: Mention addition of x86_64 vector sinf.
11565
11566 2015-06-14 Joseph Myers <joseph@codesourcery.com>
11567
11568 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
11569 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
11570 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
11571 Remove variable.
11572 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11573 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11574
11575 2015-06-12 Joseph Myers <joseph@codesourcery.com>
11576
11577 [BZ #18530]
11578 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
11579 strong alias of _IO_fputs. Use libc_hidden_def.
11580 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
11581 and define as weak alias of __fputs_unlocked. Use
11582 libc_hidden_weak.
11583 * include/stdio.h (__fputs_unlocked): Declare. Use
11584 libc_hidden_proto.
11585 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
11586 fputs_unlocked.
11587
11588 [BZ #18529]
11589 * resolv/netdb.h [__USE_POSIX]: Change condition to
11590 [__USE_XOPEN2K].
11591 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
11592 not expect.
11593 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
11594 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
11595 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
11596 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
11597 [XPG4 || UNIX98] (AI_ALL): Likewise.
11598 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
11599 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
11600 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
11601 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
11602 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
11603 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
11604 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
11605 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
11606 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
11607 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
11608 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
11609 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
11610 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
11611 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
11612 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
11613 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11614 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11615 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
11616 [XPG4 || UNIX98] (gai_strerror): Likewise.
11617 [XPG4 || UNIX98] (getaddrinfo): Likewise.
11618 [XPG4 || UNIX98] (getnameinfo): Likewise.
11619
11620 [BZ #18528]
11621 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
11622 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
11623 __USE_XOPEN2K8].
11624 (getgrent): Likewise.
11625 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
11626 expect.
11627 [XPG3 || POSIX2008] (endgrent): Likewise.
11628 [XPG3] (setgrent): Likewise.
11629 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
11630 variable.
11631 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11632
11633 [BZ #18527]
11634 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
11635 define as weak alias of __getlogin_r. Use libc_hidden_weak.
11636 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
11637 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
11638 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
11639 * include/unistd.h (__getlogin_r): Declare. Use
11640 libc_hidden_proto.
11641 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
11642 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
11643 variable.
11644 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11645 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11646 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11647
11648 2015-06-12 Martin Sebor <msebor@redhat.com>
11649
11650 [BZ #18512]
11651 * Makerules (check-install-supported): New target.
11652 (install): Add check-install-supported as a dependency.
11653 * manual/install.texi (Installing the C Library): Document
11654 that overriding prefix and exec_prefix is not supported.
11655 Mention DESTDIR.
11656 * INSTALL: Regenerate from the above.
11657
11658 2015-06-12 Joseph Myers <joseph@codesourcery.com>
11659
11660 [BZ #18519]
11661 * posix/Versions (libc): Export __libc_pread at version
11662 GLIBC_PRIVATE.
11663 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
11664 instead of pread.
11665 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
11666 variable.
11667
11668 [BZ #18522]
11669 * misc/efgcvt_r.c
11670 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
11671 (cvt_symbol): Use weak_alias instead of strong_alias.
11672 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
11673 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
11674 Remove variable.
11675 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11676 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11677
11678 [BZ #18520]
11679 * inet/herrno.c (h_errno): Rename to __h_errno.
11680 (__libc_h_errno): Define as alias of __h_errno not h_errno.
11681 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
11682 to __h_errno instead of h_errno.
11683 * nptl/herrno.c (h_errno): Rename to __h_errno.
11684 (__h_errno_location): Refer to __h_errno not h_errno.
11685 * resolv/Versions (h_errno): Rename to __h_errno.
11686 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
11687 Remove variable.
11688 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11689
11690 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
11691
11692 * configure.ac: More strict check for AVX512 assembler support.
11693 * configure: Regenerated.
11694
11695 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
11696 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
11697 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11698 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
11699 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11700 * sysdeps/x86_64/fpu/Versions: New versions added.
11701 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11702 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11703 Added build of SSE, AVX2 and AVX512 IFUNC versions.
11704 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
11705 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
11706 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
11707 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
11708 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
11709 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
11710 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
11711 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
11712 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
11713 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
11714 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
11715 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
11716 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
11717 test.
11718 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11719 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11720 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11721 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11722 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11723 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11724 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11725 * NEWS: Mention addition of x86_64 vector sin.
11726
11727 2015-06-11 Florian Weimer <fweimer@redhat.com>
11728
11729 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
11730 comment.
11731
11732 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
11733
11734 [BZ #18479]
11735 * nptl/pt-interp.c: New file.
11736 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
11737 Add pt-interp.
11738 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
11739 $(common-objpfx)runtime-linker.h.
11740
11741 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
11742
11743 * Makeconfig (+interp): Remove unused variable.
11744 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
11745 only. Depend on $(common-objpfx)runtime-linker.h instead of
11746 $(elf-objpfx)runtime-linker.h.
11747 ($(elf-objpfx)runtime-linker.h): Rename to
11748 $(common-objpfx)runtime-linker.h and move ...
11749 * Makerules [$(build-shared) = yes]: ... here.
11750 * elf/interp.c: Include <runtime-linker.h> instead of
11751 <elf/runtime-linker.h>.
11752
11753 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11754
11755 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
11756 (__gettimeofday_syscall): Remove vsyscall fallback.
11757 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
11758 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
11759 Add syscall fallback function.
11760 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
11761 if vDSO is not present.
11762 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
11763 fallback function.
11764 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
11765 present.
11766 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
11767 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11768
11769 2015-06-09 Joseph Myers <joseph@codesourcery.com>
11770
11771 [BZ #18497]
11772 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
11773 of wcscmp.
11774 (wcscmp): Define as weak alias of WCSCMP.
11775 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
11776 wcscoll.
11777 (USE_HIDDEN_DEF): Define.
11778 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
11779 __wcscoll. Don't use libc_hidden_weak.
11780 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
11781 wcscmp.
11782 * sysdeps/i386/i686/multiarch/wcscmp-c.c
11783 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
11784 __GI_wcscmp.
11785 (weak_alias): Undefine and redefine.
11786 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
11787 __wcscmp and define as weak alias of __wcscmp.
11788 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
11789 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
11790 (__wcscoll): Likewise.
11791 (wcscmp): Don't use libc_hidden_proto.
11792 (wcscoll): Likewise.
11793 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
11794 wcscoll.
11795 * posix/regexec.c (check_node_accept_bytes): Likewise.
11796 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
11797 variable.
11798 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11799 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11800
11801 [BZ #18507]
11802 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
11803 __fstatvfs and define as weak alias of __fstatvfs. Use
11804 libc_hidden_weak.
11805 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
11806 and define as weak alias of __statvfs. Use libc_hidden_weak.
11807 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
11808 Define as alias of __fstatvfs, not fstatvfs.
11809 (fstatvfs64): Likewise.
11810 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
11811 Define as alias of __statvfs, not statvfs.
11812 (statvfs64): Likewise.
11813 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
11814 Remove variable.
11815
11816 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11817
11818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11819 (HAVE_GETCPU_VSYSCALL): Define.
11820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11821 (HAVE_GETCPU_VSYSCALL): Likewise.
11822 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
11823 * sysdeps/unix/sysv/linux/sched_getcpu.c
11824 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
11825 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
11826 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
11827 prototype.
11828 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11829 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
11830 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
11831 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
11832 Define.
11833 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
11834 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11835 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
11836 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11837
11838 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
11839
11840 * sysdeps/x86_64/fpu/Makefile: New file.
11841 * sysdeps/x86_64/fpu/Versions: New file.
11842 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
11843 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
11844 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
11845 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
11846 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
11847 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
11848 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
11849 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
11850 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
11851 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
11852 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
11853 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
11854 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
11855 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11856 Added build of SSE, AVX2 and AVX512 IFUNC versions.
11857 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
11858 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
11859 * sysdeps/x86_64/configure.ac: Options for libmvec build.
11860 * sysdeps/x86_64/configure: Regenerated.
11861 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
11862 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
11863 * manual/install.texi (Configuring and compiling): Document
11864 --disable-mathvec.
11865 * INSTALL: Regenerated.
11866 * NEWS: Mention addition of libmvec and x86_64 vector cos.
11867
11868 * math/Makefile: Added rules for vector tests.
11869 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
11870 declaration under condition.
11871 * math/test-double-vlen2.h: New file.
11872 * math/test-double-vlen4.h: New file.
11873 * math/test-double-vlen8.h: New file.
11874 * math/test-vec-loop.h: Added initialization macro.
11875 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
11876 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
11877 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
11878 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
11879 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
11880 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
11881 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
11882 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
11883 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
11884 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
11885 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
11886
11887 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11888 * sysdeps/x86_64/fpu/Versions: New versions added.
11889 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
11890 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
11891 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
11892 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
11893 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
11894 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
11895 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
11896 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
11897 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
11898 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
11899 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
11900 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
11901 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
11902 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11903 Added build of SSE, AVX2 and AVX512 IFUNC versions.
11904 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11905 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
11906 * NEWS: Mention addition of x86_64 vector cosf.
11907
11908 * math/Makefile: Added CFLAGS for new tests.
11909 * math/test-float-vlen16.h: New file.
11910 * math/test-float-vlen4.h: New file.
11911 * math/test-float-vlen8.h: New file.
11912 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
11913 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
11914 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11915 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
11916 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
11917 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
11918 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
11919 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
11920 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
11921 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
11922 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
11923
11924 2015-06-09 Marko Myllynen <myllynen@redhat.com>
11925
11926 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
11927 * locale/programs/ld-ctype.c: Likewise.
11928
11929 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
11930
11931 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
11932 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
11933 bit_ZMM16_31_state): New macro.
11934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11935 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
11936
11937 2015-06-08 Joseph Myers <joseph@codesourcery.com>
11938
11939 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
11940
11941 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
11942
11943 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
11944
11945 2015-06-05 Joseph Myers <joseph@codesourcery.com>
11946
11947 [BZ #18498]
11948 * libio/memstream.c (open_memstream): Rename to __open_memstream
11949 and define as weak alias of __open_memstream.
11950 * include/stdio.h (__open_memstream): Declare. Use
11951 libc_hidden_proto.
11952 (open_memstream): Don't use libc_hidden_proto.
11953 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
11954 open_memstream.
11955 * posix/getopt.c (_getopt_internal_r): Likewise.
11956 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
11957 variable.
11958 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11959 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11960 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11961
11962 [BZ #18496]
11963 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
11964 instead of wcrtomb.
11965
11966 [BZ #18483]
11967 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
11968 [__USE_XOPEN2K8]. Remove redundant #endif.
11969 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
11970 Remove redundant #if.
11971 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
11972 Remove variable.
11973 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11974 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11975
11976 [BZ #18495]
11977 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
11978 (__iswlower): Likewise.
11979 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
11980 (__iswlower): Likewise.
11981 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
11982 instead of towlower.
11983 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
11984 instead of iswlower. Call __towupper instead of towupper.
11985 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
11986 instead of iswalnum.
11987
11988 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11989
11990 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
11991 errors to stderr.
11992
11993 2015-06-05 Florian Weimer <fweimer@redhat.com>
11994
11995 [BZ #15661]
11996 [BZ #17322]
11997 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11998 Check for overflow properly. Check for O_APPEND. Ignore large
11999 file system block sizes. Add comments about problems.
12000 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
12001 * manual/filesys.texi (Storage Allocation): New node.
12002
12003 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12004
12005 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
12006 cancellable syscalls.
12007 (SYS_ify): Add guard to no redefine it.
12008 (INLINE_SYSCALL): Likewise.
12009 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
12010 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
12011 SYSCALL_CANCEL instead.
12012 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
12013 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
12014 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
12015 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
12016 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
12017 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
12018 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
12019 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
12020 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
12021 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
12022 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
12023 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
12024 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
12025 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
12026 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
12027 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
12028 Likewise.
12029 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
12030 (__libc_pread64): Likewise.
12031 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
12032 (__libc_preadv): Likewise.
12033 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
12034 (__libc_readv64): Likewise.
12035 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
12036 (__libc_pwrite): Likewise.
12037 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
12038 (__libc_pwrite64): Likewise.
12039 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
12040 (__libc_pwritev): Likewise.
12041 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
12042 (__libc_pwritev64): Likewise.
12043 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
12044 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12045 (sync_file_range): Likewise.
12046 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
12047 Likewise.
12048 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
12049 Likewise.
12050 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
12051 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
12052 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
12053 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
12054 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
12055 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
12056 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
12057 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
12058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
12059 Likewise.
12060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12061 (__libc_read64): Likewise.
12062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
12063 Likewise.
12064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
12065 Likewise.
12066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
12067 Likewise.
12068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
12069 Likewise.
12070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12071 (__libc_pread64): Likewise.
12072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
12073 Likewise.
12074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12075 (__libc_pwrite64): Likewise.
12076 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
12077 (sync_file_range): Likewise.
12078 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
12079 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
12080 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
12081 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
12082 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
12083 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12084 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12085 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
12086 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
12087 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12088 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12089 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
12090 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
12091 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
12092 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
12093 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
12094 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
12095 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
12096 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
12097 Likewise.
12098 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
12099 Likewise.
12100 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
12101 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
12102 Likewise.
12103 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
12104 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
12105 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
12106 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
12107 Likewise.
12108 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
12109 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
12110 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
12111 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
12112 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
12113
12114 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
12115
12116 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
12117 Include dl-vdso.
12118 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
12119 Use VDSO routines for gettimeofday, clock_gettime if
12120 available.
12121 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
12122 Declare VDSO symbols.
12123 * sysdeps/unix/sysv/linux/arm/sysdep.h:
12124 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
12125 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12126 * sysdeps/unix/sysv/linux/arm/Versions: Add
12127 __vdso_clock_gettime.
12128
12129 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12130
12131 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
12132 be an inline implementation regardless of library is built within.
12133 (open_not_cancel_2): Likewise.
12134 (__read_nocancel): Likewise.
12135 (__write_nocancel): Likewise.
12136 (openat_not_cancel): Likewise.
12137 (openat_not_cancel_3): Likewise.
12138 (openat64_not_cancel): Likewise.
12139 (openat64_not_cancel_3): Likewise.
12140 (__close_nocancel): Likewise.
12141 (pause_not_cancel): Likewise.
12142 (nanosleep_not_cancel): Likewise.
12143 (sigsuspend_not_cancel): Likewise.
12144
12145 2015-06-04 Torvald Riegel <triegel@redhat.com>
12146
12147 [BZ #14958]
12148 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
12149 wake-up.
12150 (__pthread_rwlock_rdlock_slow): Likewise.
12151 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12152 Likewise.
12153 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12154 Likewise.
12155 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
12156 * nptl/tst-rwlock16.c: New file.
12157 * nptl/Makefile (tests): Add new test.
12158
12159 2015-06-04 Torvald Riegel <triegel@redhat.com>
12160
12161 [BZ #18324]
12162 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
12163 missing wake-up of readers.
12164 * nptl/tst-rwlock15.c: New file.
12165 * nptl/Makefile (tests): Add new test.
12166
12167 2015-06-03 Roland McGrath <roland@hack.frob.com>
12168
12169 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
12170 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
12171 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
12172 and __nacl_supply_interface_rtld.
12173 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
12174 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
12175 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
12176 Add __nacl_supply_interface_rtld.
12177 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
12178
12179 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
12180
12181 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
12182 isfinite.
12183 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12184 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
12185
12186 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
12187
12188 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
12189 __signbit* with standard C99 macros.
12190 * math/e_exp10l.c: Likewise.
12191 * math/e_exp2l.c: Likewise.
12192 * math/e_scalb.c: Likewise.
12193 * math/e_scalbf.c: Likewise.
12194 * math/e_scalbl.c: Likewise.
12195 * math/s_ldexp.c: Likewise.
12196 * math/s_ldexpf.c: Likewise.
12197 * math/s_ldexpl.c: Likewise.
12198 * math/w_atan2.c: Likewise.
12199 * math/w_atan2f.c: Likewise.
12200 * math/w_atan2l.c: Likewise.
12201 * math/w_cosh.c: Likewise.
12202 * math/w_coshf.c: Likewise.
12203 * math/w_coshl.c: Likewise.
12204 * math/w_exp10.c: Likewise.
12205 * math/w_exp10f.c: Likewise.
12206 * math/w_exp10l.c: Likewise.
12207 * math/w_exp2.c: Likewise.
12208 * math/w_exp2f.c: Likewise.
12209 * math/w_exp2l.c: Likewise.
12210 * math/w_fmod.c: Likewise.
12211 * math/w_fmodf.c: Likewise.
12212 * math/w_fmodl.c: Likewise.
12213 * math/w_hypot.c: Likewise.
12214 * math/w_hypotf.c: Likewise.
12215 * math/w_hypotl.c: Likewise.
12216 * math/w_jnl.c: Likewise.
12217 * math/w_lgamma.c: Likewise.
12218 * math/w_lgamma_r.c: Likewise.
12219 * math/w_lgammaf.c: Likewise.
12220 * math/w_lgammaf_r.c: Likewise.
12221 * math/w_lgammal.c: Likewise.
12222 * math/w_lgammal_r.c: Likewise.
12223 * math/w_pow.c: Likewise.
12224 * math/w_powf.c: Likewise.
12225 * math/w_powl.c: Likewise.
12226 * math/w_remainder.c: Likewise.
12227 * math/w_remainderf.c: Likewise.
12228 * math/w_remainderl.c: Likewise.
12229 * math/w_scalb.c: Likewise.
12230 * math/w_scalbf.c: Likewise.
12231 * math/w_scalbl.c: Likewise.
12232 * math/w_scalbln.c: Likewise.
12233 * math/w_scalblnf.c: Likewise.
12234 * math/w_scalblnl.c: Likewise.
12235 * math/w_sinh.c: Likewise.
12236 * math/w_sinhf.c: Likewise.
12237 * math/w_sinhl.c: Likewise.
12238 * math/w_tgamma.c: Likewise.
12239 * math/w_tgammaf.c: Likewise.
12240 * math/w_tgammal.c: Likewise.
12241 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12242 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
12243 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12244 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12245 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12246 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12247 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
12248 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12249 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12250 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12251 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12252 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
12253 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12254 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12255 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12256 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12257 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12258 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
12259 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
12260 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12261 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12262 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12263 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12264 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12265 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12266 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12267 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
12268 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12269 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12270 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12271 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
12272 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
12273 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
12274 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
12275 * stdio-common/printf_fp.c: Likewise.
12276 * stdio-common/printf_fphex.c: Likewise.
12277 * stdio-common/printf_size.c: Likewise.
12278
12279 2015-06-03 Joseph Myers <joseph@codesourcery.com>
12280
12281 [BZ #18470]
12282 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
12283 strnlen.
12284 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
12285 Remove variable.
12286 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
12287 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
12288 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
12289 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
12290 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
12291 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
12292 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
12293 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
12294 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
12295 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
12296
12297 [BZ #18468]
12298 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
12299 weak alias of __wmemchr. Use libc_hidden_weak.
12300 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
12301 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
12302 instead of wmemchr.
12303
12304 2015-06-02 Roland McGrath <roland@hack.frob.com>
12305
12306 [BZ #18383]
12307 * elf/tst-tlsalign-extern.c: New file.
12308 * elf/tst-tlsalign-extern-static.c: New file.
12309 * elf/tst-tlsalign-vars.c: New file.
12310 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
12311 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
12312 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
12313 ($(objpfx)tst-tlsalign-extern-static): Likewise.
12314 (test-xfail-tst-tlsalign-extern-static): New variable.
12315
12316 2015-06-02 Joseph Myers <joseph@codesourcery.com>
12317
12318 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
12319 Use variable name _sc_err instead of err.
12320 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
12321 instead of ret.
12322 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
12323 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
12324 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
12325 (INLINE_SYSCALL): Likewise.
12326
12327 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
12328 * include/string.h (__strnlen): Use libc_hidden_proto.
12329 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
12330 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
12331 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
12332 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
12333 (libc_hidden_def): Undefine and redefine.
12334 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
12335 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
12336 __GI_strnlen.
12337 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
12338 libc_hidden_def.
12339 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
12340
12341 [BZ #18469]
12342 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
12343 weak alias of __towlower. Use libc_hidden_weak.
12344 (towupper): Rename to __towupper and define as weak alias of
12345 __towupper. Use libc_hidden_weak.
12346 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
12347 (__towupper): Likewise.
12348 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
12349 __towlower instead of towlower.
12350
12351 2015-06-02 Roland McGrath <roland@hack.frob.com>
12352
12353 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
12354 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
12355
12356 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12357
12358 * sysdeps/aarch64/libm-test-ulps: Update.
12359
12360 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12361
12362 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
12363 Define.
12364 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12365 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12366 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12367 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12368 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
12369 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
12370 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
12371
12372 2015-06-01 Martin Sebor <msebor@redhat.com>
12373
12374 [BZ #18116]
12375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
12376 (__setcontext): Use extended four-operand version of mtsf whenever
12377 possible.
12378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
12379 (__novec_swapcontext): Likewise.
12380
12381 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12382
12383 * benchtests/scripts/compare_bench.py: New file.
12384 * benchtests/scripts/import_bench.py (mean): New function.
12385 (split_list): Likewise.
12386 (do_for_all_timings): Likewise.
12387 (compress_timings): Likewise.
12388
12389 * benchtests/scripts/import_bench.py: New file.
12390 * benchtests/scripts/validate_benchout.py: Import import_bench
12391 instead of jsonschema.
12392 (validate_bench): Remove function.
12393 (main): Use import_bench.
12394
12395 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
12396
12397 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
12398 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
12399
12400 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12401
12402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12403
12404 2015-05-28 Roland McGrath <roland@hack.frob.com>
12405
12406 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
12407 set THREAD_SELF->tid to a magic value and futex-wake it.
12408 Pass its address to the thread_exit system call.
12409 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
12410 bit is clear.
12411 * sysdeps/nacl/lowlevellock.h: New file.
12412 * sysdeps/nacl/lll_timedwait_tid.c: New file.
12413
12414 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
12415 Add TIMEOUT to current time, don't subtract it.
12416
12417 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
12418
12419 [BZ #2981]
12420 [BZ #18422]
12421 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
12422 ($(objpfx)tst-audit2.out): Also depend on
12423 $(objpfx)tst-auditmod9b.so.
12424 * elf/tst-audit2.c: Include <dlfcn.h>.
12425 (calloc_called): New.
12426 (calloc): Allow to be called more than once.
12427 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
12428
12429 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
12430
12431 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
12432 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
12433
12434 2015-05-27 Marko Myllynen <myllynen@redhat.com>
12435
12436 * stdlib/monetary.h: Fix comment.
12437
12438 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
12439
12440 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
12441 Avoid using variables in #defines that might cause shadowing.
12442 (INTERNAL_VSYSCALL_CALL): Likewise.
12443
12444 2015-05-26 Roland McGrath <roland@hack.frob.com>
12445
12446 * sysdeps/nacl/lll_timedlock_wait.c: New file.
12447
12448 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
12449 * nptl/lll_timedlock_wait.c: ... to this new file.
12450 * nptl/Makefile (libpthread-routines): Add it.
12451 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
12452 * nptl/lll_timedwait_tid.c: ... to this new file.
12453 * nptl/Makefile (libpthread-routines): Add it.
12454 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
12455 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
12456 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
12457 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
12458 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
12459 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
12460 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
12461 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
12462 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
12463 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
12464
12465 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12466
12467 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
12468 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12469 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12470 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
12471 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12472 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12473 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12474 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12475 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12476 * sysdeps/unix/sysv/linux/tile/sysdep.h
12477 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12478 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
12479 using vDSO syscall macro.
12480
12481 2015-05-26 Andriy Rysin <arysin@gmail.com>
12482
12483 [BZ #17293]
12484 * uk_UA: Fix sorting order for Ukrainian locale
12485
12486 2015-05-26 Marko Myllynen <myllynen@redhat.com>
12487
12488 * stdlib/monetary.h: Fix comment.
12489
12490 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
12491
12492 [BZ #18234]
12493 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
12494 st_mtim and st_ctim members.
12495 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
12496 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
12497 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
12498 (struct stat64): Likewise.
12499 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
12500 (struct stat64): Likewise.
12501 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
12502 (struct stat64): Likewise.
12503
12504 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12505
12506 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
12507 Define and include sysdep-vdso.h.
12508 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
12509 Likewise.
12510 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
12511 Likewise.
12512 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
12513 Define with VDSO_SYMBOL and use PTR_MANGLE.
12514 (__vdso_clock_gettime): Likewise.
12515 (__vdso_clock_getres): Likewise.
12516 (_libc_vdso_platform_setup): Likewise.
12517 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12518 Likewise.
12519 (_libc_vdso_platform_setup): Likewise.
12520 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
12521 Likewise.
12522 (__vdso_clock_gettime): Likewise.
12523 (__vdso_clock_getres): Likewise.
12524 (__vdso_get_tbfreq): Likewise.
12525 (__vdso_getcpu): Likewise.
12526 (__vdso_time): Likewise.
12527 (__vdso_sigtramp_rt64): Likewise.
12528 (__vdso_signtramp32): Likewise.
12529 (__vdso_sigtramp_rt32): Likewise.
12530 (_libc_vdso_platform_setup): Likewise.
12531 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
12532 Likewise.
12533 (__vdso_clock_gettime): Likewise.
12534 (__vdso_clock_getres): Likewise.
12535 (_libc_vdso_platform_setup): Likewise.
12536 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
12537 Likewise.
12538 (__vdso_clock_gettime): Likewise.
12539 (_libc_vdso_platform_setup): Likewise.
12540 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
12541 Likewise.
12542 (__vdso_getcpu): Likewise.
12543 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
12544 Use VDSO_SYMBOL macro to define.
12545 (__vdso_clock_gettime): Likewise.
12546 (__vdso_clock_getres): Likewise.
12547 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
12548 Likewise.
12549 (__vdso_clock_gettime): Likewise.
12550 (__vdso_clock_getres): Likewise.
12551 (__vdso_get_tbfreq): Likewise.
12552 (__vdso_getcpu): Likewise.
12553 (__vdso_time): Likewise.
12554 (__vdso_sigtramp_rt64): Likewise.
12555 (__vdso_signtramp32): Likewise.
12556 (__vdso_sigtramp_rt32): Likewise.
12557 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
12558 Likewise.
12559 (__vdso_clock_gettime): Likewise.
12560 (__vdso_clock_getres): Likewise.
12561 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
12562 Likewise.
12563 (__vdso_clock_gettime): Likewise.
12564 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12565 Likewise.
12566 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
12567 macro.
12568 (INTERNAL_VSYSCALL): Likewise.
12569 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
12570 Remove macro.
12571 (INTERNAL_VSYSCALL): Likewise.
12572 (INTERNAL_VSYSCALL_NCS): Likewise.
12573 (INTERNAL_VSYSCALL_CALL): New macro.
12574 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12575 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
12576 Likewise.
12577 (INTERNAL_VSYSCALL): Likewise.
12578 (INTERNAL_VSYSCALL_NCS): Likewise.
12579 (INTERNAL_VSYSCALL_CALL): New macro.
12580 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12582 (INLINE_VSYSCALL): Remove macro.
12583 (INTERNAL_VSYSCALL): Remove macro.
12584 (INTERNAL_VSYSCALL_NCS): Remove macro.
12585 (INTERNAL_VSYSCALL_CALL): New macro.
12586 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
12587 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
12588 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12589 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
12590 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12592 (INLINE_VSYSCALL): Remove macro.
12593 (INTERNAL_VSYSCALL): Likewise.
12594 (INTERNAL_VSYSCALL_NCS): Likewise.
12595 (INTERNAL_VSYSCALL_CALL): New macro.
12596 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
12597 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
12598 PTR_DEMANGLE on vDSO pointer.
12599 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12600 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
12601 macro.
12602 (INTERNAL_SYSCALL): Likewise.
12603 (INTERNAL_VSYSCALL_NCS): Remove macro.
12604 (INTERNAL_VSYSCALL_CALL): New macro.
12605 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
12606 Remove macro.
12607 (INTERNAL_VSYSCALL): Likewise.
12608 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
12609 sysdep-vdso.h instead of libc-vdso.h.
12610 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
12611 definition.
12612 (INLINE_VSYSCALL): Likewise.
12613 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
12614 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
12615 definition.
12616 (INLINE_VSYSCALL): Likewise.
12617 (INTERNAL_VSYSCALL): Likewise.
12618 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12619 * sysdeps/unix/sysv/linux/timespec_get.c
12620 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12621 (timespec_get): Use ANSI prototype.
12622 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
12623 and definition for Linux.
12624
12625 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
12626
12627 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
12628 * include/libc-symbols.h: libmvec_hidden_* macro series added.
12629
12630 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
12631
12632 [BZ #2981]
12633 [BZ #18410]
12634 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
12635 for missing DT_PLTRELSZ.
12636
12637 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
12638
12639 Remove obsolete aliases that broke 'locale -a'
12640 [BZ #18412]
12641 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
12642 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
12643 breaking some applications that use 'locale -a' output.
12644 Change the encoding of this file from Latin-1 to ASCII to avoid
12645 other potential problems with people grepping this file.
12646
12647 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12648
12649 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
12650 -fasynchronous-unwind-tables.
12651 (CFLAGS-sendto.c): Likewise.
12652 (CFLAGS-sendmsg.c): Likewise.
12653 (CFLAGS-connect.c): Likewise.
12654 (CFLAGS-recvmsg.c): Likewise.
12655 (CFLAGS-recvfrom.c): Likewise.
12656 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
12657 (SOCKETCALL): New macro: non-cancellable socketcall.
12658 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
12659 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
12660 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
12661 * sysdeps/unix/sysv/linux/accept.c: New file.
12662 * sysdeps/unix/sysv/linux/bind.c: Likewise.
12663 * sysdeps/unix/sysv/linux/connect.c: Likewise.
12664 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
12665 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
12666 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
12667 * sysdeps/unix/sysv/linux/listen.c: Likewise.
12668 * sysdeps/unix/sysv/linux/recv.c: Likewise.
12669 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
12670 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12671 * sysdeps/unix/sysv/linux/send.c: Likewise.
12672 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12673 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
12674 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
12675 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
12676 * sysdeps/unix/sysv/linux/socket.c: Likewise.
12677 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
12678 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
12679 prototype.
12680 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
12681 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12682 instead of __internal_xxx function.
12683 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
12684 prototype.
12685 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
12686 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12687 instead of __internal_xxx function.
12688 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
12689 prototype.
12690 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
12691 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12692 instead of __internal_xxx function.
12693 * sysdeps/unix/sysv/linux/accept.S: Remove file.
12694 * sysdeps/unix/sysv/linux/bind.S: Likewise.
12695 * sysdeps/unix/sysv/linux/connect.S: Likewise.
12696 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
12697 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
12698 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
12699 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
12700 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
12701 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
12702 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
12703 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
12704 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12705 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
12706 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
12707 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
12708 * sysdeps/unix/sysv/linux/listen.S: Likewise.
12709 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
12710 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
12711 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
12712 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
12713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
12714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
12715 * sysdeps/unix/sysv/linux/recv.S: Likewise.
12716 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12717 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12718 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
12719 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12720 * sysdeps/unix/sysv/linux/send.S: Likewise.
12721 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12722 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12723 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
12724 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
12725 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
12726 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
12727 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
12728 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
12729 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
12730 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
12731 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
12732 socketcall is implemented in GLIBC.
12733
12734 2015-05-22 Joseph Myers <joseph@codesourcery.com>
12735
12736 * soft-fp/fmadf4.c: Include <libc-internal.h>.
12737 (__fma): Ignore uninitialized warnings around packing.
12738 * soft-fp/fmasf4.c: Include <libc-internal.h>.
12739 (__fmaf): Ignore uninitialized warnings around packing.
12740 * soft-fp/fmatf4.c: Include <libc-internal.h>.
12741 (__fmal): Ignore uninitialized warnings around packing.
12742
12743 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
12744 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12745 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
12746 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12747
12748 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
12749 switch statement into default case.
12750 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
12751
12752 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
12753 a conditional in forcing "inexact".
12754 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12755 Likewise.
12756
12757 2015-05-22 Roland McGrath <roland@hack.frob.com>
12758
12759 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12760 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
12761 for each INTERNAL_SYSCALL use.
12762
12763 2015-05-22 Joseph Myers <joseph@codesourcery.com>
12764
12765 [BZ #438]
12766 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
12767 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
12768 variable.
12769
12770 [BZ #18444]
12771 * string/basename.c (basename): Rename to __basename and define as
12772 weak alias of __basename. Use libc_hidden_weak.
12773 * include/string.h (__basename): Declare. Use libc_hidden_proto.
12774 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
12775 __basename instead of basename.
12776 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
12777 Remove variable.
12778 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12779
12780 2015-05-18 Florian Weimer <fweimer@redhat.com>
12781
12782 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
12783 (_IO_JUMPS_FILE_plus): New.
12784 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
12785 _IO_CAST_FIELD_ACCESS.
12786 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
12787 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
12788 * libio/freopen.c (freopen): Likewise.
12789 * libio/freopen64.c (freopen64): Likewise.
12790 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
12791 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
12792 * libio/iofwide.c (_IO_fwide): Likewise.
12793 * libio/memstream.c (open_memstream): Likewise.
12794 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12795 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12796 * libio/oldiopopen.c (_IO_old_popen): Likewise.
12797
12798 2015-05-21 Joseph Myers <joseph@codesourcery.com>
12799
12800 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
12801 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
12802 NADJ.
12803 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
12804 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
12805 NADJ.
12806 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
12807 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
12808 NADJ.
12809
12810 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
12811 (p == 4) case.
12812
12813 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
12814 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
12815 Remove variable.
12816 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12817 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12818 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12819
12820 2015-05-21 Florian Weimer <fweimer@redhat.com>
12821
12822 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
12823 Adjust jump table label generation macros.
12824
12825 2015-05-21 Florian Weimer <fweimer@redhat.com>
12826
12827 * stdio-common/vfprintf.c (vfprintf): Move local variables
12828 args_malloced, specs, specs_malloced, and the code after
12829 do_positional to the printf_positional function.
12830 (printf_positional): New function.
12831
12832 2015-05-21 Florian Weimer <fweimer@redhat.com>
12833
12834 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
12835 function.
12836 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
12837 STEP4_TABLE, process_arg): Move macro definitions
12838 out of the vfprintf function. (Cosmetic change only.)
12839
12840 2015-05-21 Carlos O'Donell <carlos@redhat.com>
12841
12842 * benchtests/Makefile (stdio-common-bench): Define.
12843 (benchset): Add stdio-common-bench.
12844 * sprintf-inputs: New file.
12845 * sprintf-source.c: New file.
12846
12847 2015-05-21 Andreas Schwab <schwab@suse.de>
12848
12849 [BZ #13028]
12850 [BZ #17053]
12851 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
12852 of struct __res_state.
12853 * resolv/res_send.c (__libc_res_nsend): Likewise.
12854 (get_nsaddr): New function.
12855 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
12856 statp directly.
12857
12858 2015-05-20 Joseph Myers <joseph@codesourcery.com>
12859
12860 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
12861 -D_POSIX_C_SOURCE=199506L.
12862
12863 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
12864
12865 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
12866 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
12867 Do not mention otherwise.
12868 [POSIX] (_XOPEN_VERSION): Do not expect.
12869 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
12870 [POSIX] (_POSIX2_C_BIND): Likewise.
12871 [POSIX] (_POSIX2_VERSION): Likewise.
12872 [POSIX] (_XOPEN_XPG2): Likewise.
12873 [POSIX] (_XOPEN_XPG3): Likewise.
12874 [POSIX] (_XOPEN_XPG4): Likewise.
12875 [POSIX] (_XOPEN_UNIX): Likewise.
12876 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
12877 [POSIX] (_POSIX_BARRIERS): Likewise.
12878 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
12879 [POSIX] (_POSIX_CPUTIME): Likewise.
12880 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
12881 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
12882 [POSIX] (_POSIX_SHELL): Likewise.
12883 [POSIX] (_POSIX_SPAWN): Likewise.
12884 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
12885 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
12886 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
12887 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
12888 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
12889 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
12890 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
12891 [POSIX] (_XBS5_LP64_OFF64): Likewise.
12892 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
12893 [POSIX] (_POSIX_TIMEOUTS): Likewise.
12894 [POSIX] (_POSIX2_PBS): Likewise.
12895 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
12896 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
12897 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
12898 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
12899 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
12900 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
12901 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
12902 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
12903 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
12904 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
12905 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
12906 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
12907 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
12908 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
12909 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
12910 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
12911 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
12912 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
12913 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
12914 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
12915 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
12916 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
12917 [POSIX] (_SC_2_C_BIND): Likewise.
12918 [POSIX] (_SC_2_C_VERSION): Likewise.
12919 [POSIX] (_SC_2_PBS): Likewise.
12920 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
12921 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
12922 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
12923 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
12924 [POSIX] (_SC_2_PBS_TRACK): Likewise.
12925 [POSIX] (_SC_ATEXIT_MAX): Likewise.
12926 [POSIX] (_SC_BARRIERS): Likewise.
12927 [POSIX] (_SC_BASE): Likewise.
12928 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
12929 [POSIX] (_SC_DEVICE_IO): Likewise.
12930 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
12931 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
12932 [POSIX] (_SC_FD_MGMT): Likewise.
12933 [POSIX] (_SC_FIFO): Likewise.
12934 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
12935 [POSIX] (_SC_FILE_LOCKING): Likewise.
12936 [POSIX] (_SC_FILE_SYSTEM): Likewise.
12937 [POSIX] (_SC_IOV_MAX): Likewise.
12938 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
12939 [POSIX] (_SC_NETWORKING): Likewise.
12940 [POSIX] (_SC_PAGE_SIZE): Likewise.
12941 [POSIX] (_SC_PASS_MAX): Likewise.
12942 [POSIX] (_SC_PIPE): Likewise.
12943 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
12944 [POSIX] (_SC_REGEXP): Likewise.
12945 [POSIX] (_SC_SHELL): Likewise.
12946 [POSIX] (_SC_SIGNALS): Likewise.
12947 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
12948 [POSIX] (_SC_SPIN_LOCKS): Likewise.
12949 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
12950 [POSIX] (_SC_USER_GROUPS): Likewise.
12951 [POSIX] (_SC_USER_GROUPS_R): Likewise.
12952 [POSIX] (_SC_STREAMS): Likewise.
12953 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
12954 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
12955 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
12956 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
12957 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
12958 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
12959 [POSIX] (_PC_FILESIZEBITS): Likewise.
12960 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
12961 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
12962 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
12963 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
12964 [POSIX] (uid_t): Likewise.
12965 [POSIX] (gid_t): Likewise.
12966 [POSIX] (off_t): Likewise.
12967 [POSIX] (pid_t): Likewise.
12968 [POSIX] (cuserid): Allow.
12969 (_SC_2_CHAR_TERM): Require constant.
12970 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
12971 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
12972 variable.
12973
12974 2015-05-20 Roland McGrath <roland@hack.frob.com>
12975
12976 * sysdeps/nacl/pthread-pids.h: New file.
12977 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
12978 (create_thread): Use __nacl_get_tid to initialize PD->tid.
12979
12980 * nptl/pthread-pids.h: New file.
12981 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
12982 * nptl/nptl-init.c: Include <pthread-pids.h>.
12983 (__pthread_initialize_minimal_internal):
12984 Call __pthread_initialize_pids instead of set_tid_address syscall.
12985
12986 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
12987 * sysdeps/posix/usleep.c: ... here.
12988
12989 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12990
12991 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
12992 call_pselect6 object.
12993 [$(subdir) = io]: Remove call_sync_file_range object.
12994 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
12995 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
12996 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
12997 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
12998
12999 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
13000
13001 * math/s_cproj.c: Add include "math_private.h".
13002 * math/s_cprojf.c: Likewise.
13003 * math/s_cprojl.c: Likewise.
13004
13005 2015-05-19 Joseph Myers <joseph@codesourcery.com>
13006
13007 [BZ #18244]
13008 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
13009 high mantissa bit when testing whether P is a NaN.
13010 * math/libm-test.inc (remainder_test_data): Add more tests.
13011 (remquo_test_data): Likewise.
13012
13013 [BZ #18049]
13014 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
13015 below -32, return the argument, with underflow if subnormal.
13016 * math/auto-libm-test-in: Add more tests of atanh.
13017 * math/auto-libm-test-out: Regenerated.
13018
13019 2015-05-19 Roland McGrath <roland@hack.frob.com>
13020
13021 [BZ #18434]
13022 * nptl/tst-sem15.c: New file.
13023 * nptl/Makefile (tests): Add it.
13024 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
13025 s/<</>>/ to fix typo in EOVERFLOW check.
13026 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
13027
13028 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13029
13030 * manual/strings.texi (envz_remove): Fix typo in safety
13031 annotations.
13032
13033 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
13034 Steve Ellcey <sellcey@imgtec.com>
13035
13036 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
13037 in order to avoid strict alias warnings.
13038 (iruserok_af): Ditto for ra.
13039
13040 2015-05-19 James Lemke <jwlemke@codesourcery.com>
13041
13042 [BZ #17581]
13043 * malloc/hooks.c
13044 (magicbyte): Convert to a function and avoid returning 0x01.
13045 (mem2mem_check): Avoid using a length byte equal to the magic byte.
13046 (mem2chunk_check): Fix unsigned comparisons to zero.
13047 Hoist defs of sz and magic.
13048
13049 2015-05-19 Richard Henderson <rth@redhat.com>
13050
13051 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
13052
13053 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13054
13055 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13056
13057 [BZ #16159]
13058 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
13059 * malloc/arena.c (arena_lock): Check if arena is corrupt.
13060 (reused_arena): Find a non-corrupt arena.
13061 (heap_trim): Pass arena to unlink.
13062 * malloc/hooks.c (malloc_check_get_size): Pass arena to
13063 malloc_printerr.
13064 (top_check): Likewise.
13065 (free_check): Likewise.
13066 (realloc_check): Likewise.
13067 * malloc/malloc.c (malloc_printerr): Add arena argument.
13068 (unlink): Likewise.
13069 (munmap_chunk): Adjust.
13070 (ARENA_CORRUPTION_BIT): New macro.
13071 (arena_is_corrupt): Likewise.
13072 (set_arena_corrupt): Likewise.
13073 (sysmalloc): Use mmap if there are no usable arenas.
13074 (_int_malloc): Likewise.
13075 (__libc_malloc): Don't fail if arena_get returns NULL.
13076 (_mid_memalign): Likewise.
13077 (__libc_calloc): Likewise.
13078 (__libc_realloc): Adjust for additional argument to
13079 malloc_printerr.
13080 (_int_free): Likewise.
13081 (malloc_consolidate): Likewise.
13082 (_int_realloc): Likewise.
13083 (_int_memalign): Don't touch corrupt arenas.
13084 * malloc/tst-malloc-backtrace.c: New test case.
13085
13086 * Makefile (summarize-tests): Fix return value on success.
13087
13088 * manual/string.texi (Envz Functions): Add envz_remove.
13089
13090 2015-05-18 Roland McGrath <roland@hack.frob.com>
13091
13092 * sysdeps/posix/opendir.c: Include <stdbool.h>.
13093 (invalid_name): New function, broken out of ...
13094 (__opendirat): ... here. Call it.
13095 (need_isdir_precheck): New function, broken out of ...
13096 (__opendirat): ... here. Call it.
13097 Use __fxstatat64, not __xstatat64.
13098 (opendir_oflags): New function, broken out of ...
13099 (__opendirat): ... here. Call it.
13100 (opendir_tail): New function, broken out of ...
13101 (__opendirat): ... here. Call it.
13102 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
13103 opendir_tail, rather than punting to __opendirat.
13104 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
13105
13106 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13107
13108 * .gitignore: Ignore generated *.pyc.
13109
13110 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
13111
13112 * include/stdio.h: Define __need_wint_t.
13113 * test-skeleton.c: Avoid `for' loop initial declaration.
13114 * nptl/tst-initializers1.c: Use test-skeleton.c.
13115
13116 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13117
13118 [BZ #18418]
13119 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
13120
13121 2015-05-15 Joseph Myers <joseph@codesourcery.com>
13122
13123 [BZ #16352]
13124 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
13125 (__ieee754_atanh): Force underflow exception for results with
13126 small absolute value.
13127 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
13128 (__ieee754_atanhf): Force underflow exception for results with
13129 small absolute value.
13130 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
13131 (__ieee754_atanh): Force underflow exception for results with
13132 small absolute value.
13133 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
13134 (__ieee754_atanhf): Force underflow exception for results with
13135 small absolute value.
13136 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
13137 (__ieee754_atanhl): Force underflow exception for results with
13138 small absolute value.
13139 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
13140 (__ieee754_atanhl): Force underflow exception for results with
13141 small absolute value.
13142 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
13143 (__ieee754_atanhl): Force underflow exception for results with
13144 small absolute value.
13145 * math/auto-libm-test-in: Do not allow missing underflow
13146 exceptions from atanh.
13147 * math/auto-libm-test-out: Regenerated.
13148
13149 [BZ #18221]
13150 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
13151 2**-28 as threshold for returning x or +/- 1/x.
13152 * math/auto-libm-test-in: Add more tests of tan.
13153 * math/auto-libm-test-out: Regenerated.
13154
13155 [BZ #18220]
13156 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13157 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
13158 * math/auto-libm-test-in: Add another test of lgamma.
13159 * math/auto-libm-test-out: Regenerated.
13160
13161 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
13162
13163 * stdio-common/printf_fp.c (___printf_fp): Use abs.
13164 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
13165 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
13166 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
13167 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
13168 (ADD2A): Use fabs. (SUB2A): Use fabs.
13169 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
13170 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
13171 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
13172 (log1): Use fabs. (my_log2): Use fabs.
13173 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
13174 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
13175 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
13176 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
13177 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
13178 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
13179 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
13180 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
13181 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
13182 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
13183 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
13184
13185 2015-05-15 Joseph Myers <joseph@codesourcery.com>
13186
13187 [BZ #18217]
13188 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
13189 as threshold for returning 1 - x.
13190 * math/auto-libm-test-in: Add more tests of erfc.
13191 * math/auto-libm-test-out: Regenerated.
13192
13193 2015-05-14 Joseph Myers <joseph@codesourcery.com>
13194
13195 [BZ #18196]
13196 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
13197 threshold for large arguments.
13198 * math/auto-libm-test-in: Add another test of atan.
13199 * math/auto-libm-test-out: Regenerated.
13200
13201 [BZ #16339]
13202 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
13203 (__log1p): Force underflow exception for results with small
13204 absolute value.
13205 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
13206 (__log1pf): Force underflow exception for results with small
13207 absolute value.
13208 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
13209 (__log1p): Force underflow exception for results with small
13210 absolute value.
13211 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
13212 (__log1pf): Force underflow exception for results with small
13213 absolute value.
13214 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
13215 (__log1pl): Force underflow exception for results with small
13216 absolute value.
13217 * math/auto-libm-test-in: Do not allow missing underflow
13218 exceptions from log1p.
13219 * math/auto-libm-test-out: Regenerated.
13220
13221 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
13222 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13223
13224 [BZ #16704]
13225 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
13226
13227 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
13228
13229 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
13230 (libmvec): New variable.
13231 * configure.ac: Added option for mathvec build.
13232 * configure: Regenerated.
13233 * mathvec/Depend: New file.
13234 * mathvec/Makefile: New file.
13235 * shlib-versions: Added libmvec.
13236 * math/Makefile: Added rule for libm.so installation.
13237
13238 * bits/math-vector.h: New file.
13239 * bits/libm-simd-decl-stubs.h: New header.
13240 * math/Makefile (headers): Added new header
13241 libm-simd-decl-stubs.h.
13242 * math/math.h (__MATHCALL_VEC): New macro.
13243
13244 * math/gen-libm-have-vector-test.sh: Script generates series of macros
13245 for conditions in testing functions.
13246 * math/Makefile: Added call of libm-have-vector-test.sh.
13247 * math/libm-test.inc (HAVE_VECTOR): New macros.
13248
13249 * math/libm-test.inc: START refactored.
13250 * math/test-double.c (TEST_MATHVEC): Add define.
13251 * math/test-float.c: Likewise.
13252 * math/test-idouble.c: Likewise.
13253 * math/test-ifloat.c: Likewise.
13254 * math/test-ildoubl.c: Likewise.
13255 * math/test-ldouble.c: Likewise.
13256 * sysdeps/generic/math-tests-arch.h
13257 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
13258 architecture check.
13259
13260 * math/test-double.c (FUNC_TEST): New macro.
13261 * math/test-float.c: Likewise.
13262 * math/test-idouble.c: Likewise.
13263 * math/test-ifloat.c: Likewise.
13264 * math/test-ildoubl.c: Likewise.
13265 * math/test-ldouble.c: Likewise.
13266 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
13267
13268 2015-05-13 Roland McGrath <roland@hack.frob.com>
13269
13270 * sysdeps/nacl/fdopendir.c: New file.
13271
13272 * dirent/scandir-tail.c: New file.
13273 * dirent/scandir64-tail.c: New file.
13274 * dirent/Makefile (routines): Add them.
13275 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
13276 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
13277 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
13278 [!SCANDIR] (SCANDIR_TAIL): New macro.
13279 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
13280 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
13281 (SCANDIRAT): Macro removed.
13282 (SCANDIR_TAIL): New macro.
13283 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
13284 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
13285 (SCANDIRAT): Just call __opendirat and __scandir_tail.
13286 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
13287 (READDIR): Macro removed.
13288 (SCANDIR_TAIL): New macro.
13289 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
13290 (SCANDIR_TAIL): New macro.
13291
13292 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
13293 * dirent/scandir-cancel.c: ... to this new file.
13294 * dirent/Makefile (routines): Add it.
13295 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
13296 * sysdeps/unix/sysv/linux/i386/scandir64.c
13297 (SKIP_SCANDIR_CANCEL): Macro removed.
13298 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
13299
13300 * dirent/tst-scandir.c: New file.
13301 * dirent/tst-scandir64.c: New file.
13302 * dirent/Makefile (tests): Add them.
13303
13304 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
13305
13306 [BZ #18409]
13307 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
13308
13309 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
13310
13311 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
13312 list.
13313
13314 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
13315
13316 * benchtests/bench-strcoll.c: New benchmark.
13317 * benchtests/Makefile: Generate locales and run benchmark.
13318 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
13319 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
13320 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
13321 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
13322 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
13323 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
13324 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
13325 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
13326 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
13327 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
13328 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
13329 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
13330 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
13331 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
13332 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
13333 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
13334 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
13335 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
13336 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
13337 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
13338 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
13339 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
13340 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
13341 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
13342
13343 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
13344
13345 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
13346 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13347
13348 2015-05-12 Roland McGrath <roland@hack.frob.com>
13349
13350 * posix/uname-values.h: New file.
13351 * posix/uname.c: Include that instead of <config-name.h>.
13352 * sysdeps/nacl/uname-values.h: New file.
13353 * sysdeps/arm/nacl/uname-values.h: New file.
13354
13355 2015-05-12 Joseph Myers <joseph@codesourcery.com>
13356
13357 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
13358 splitting into fields.
13359
13360 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
13361
13362 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
13363 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
13364 * locale/localeinfo.h: Add enum collation_encoding_type.
13365 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
13366 * programs/ld-collate.c (collate_output): Add encoding type info.
13367 * string/strcoll_l.c (STRDIFF): New function.
13368 * (STRCOLL): Use STRDIFF to skip over equal prefix.
13369 * wcsmbs/wcscoll_l.c: Define STRDIFF.
13370
13371 2015-05-11 Joseph Myers <joseph@codesourcery.com>
13372
13373 [BZ #18397]
13374 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
13375 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
13376 <fpu_control.h> instead of <math/fpu_control.c>.
13377 * sysdeps/mips/mips32/fpu/Makefile: New file.
13378
13379 2015-05-11 Andreas Schwab <schwab@suse.de>
13380
13381 [BZ #18007]
13382 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
13383 nss_endgrent.
13384 (_nss_compat_endgrent): Call nss_endgrent.
13385 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
13386 nss_endpwent.
13387 (_nss_compat_endpwent): Call nss_endpwent.
13388 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
13389 needent, call nss_setspent only if non-zero.
13390 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
13391 (internal_endspent): Don't call nss_endspent.
13392 (_nss_compat_endspent): Call nss_endspent.
13393 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
13394 Remove. All uses removed.
13395 (internal_setent): Remove parameter stayopen, add parameter
13396 stream. Use it instead of global variable.
13397 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
13398 (internal_endent, internal_getent): Add parameter stream. Use it
13399 instead of global variable.
13400 (CONCAT(_nss_files_end,ENTNAME))
13401 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
13402 (_nss_files_get##name##_r): Pass local stream. Remove locking.
13403 * nss/nss_files/files-alias.c (position, last_use): Remove. All
13404 uses removed.
13405 (internal_setent, internal_endent): Add parameter stream. Use it
13406 instead of global variable.
13407 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
13408 stream.
13409 (get_next_alias): Add parameter stream.
13410 (_nss_files_getaliasent_r): Pass global stream.
13411 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
13412 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
13413 (_nss_files_gethostbyname4_r): Pass local stream to
13414 internal_setent, internal_getent and internal_endent. Remove
13415 locking.
13416
13417 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13418
13419 * tst-strfmon1.c (tests): Update expected currency symbol.
13420
13421 2015-05-08 Roland McGrath <roland@hack.frob.com>
13422
13423 * sysdeps/nacl/gethostname.c: New file.
13424
13425 2015-05-08 Joseph Myers <joseph@codesourcery.com>
13426
13427 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
13428 and sinh.
13429 * math/auto-libm-test-out: Regenerated.
13430 * sysdeps/i386/fpu/libm-test-ulps: Update.
13431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13432
13433 2015-05-08 Carlos O'Donell <carlos@redhat.com>
13434
13435 [BZ #18125]
13436 * stdlib/tst-setcontext3.c: New file.
13437 * stdlib/tst-setcontext3.sh: New file.
13438 * stdlib/Makefile (tests): Add tst-setcontext3.
13439 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
13440 to verify test program created output file.
13441 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
13442 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
13443 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
13444 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
13445
13446 2015-05-06 Roland McGrath <roland@hack.frob.com>
13447
13448 [BZ #18383]
13449 * elf/tst-tlsalign.c: New file.
13450 * elf/tst-tlsalign-static.c: New file.
13451 * elf/tst-tlsalign-lib.c: New file.
13452 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
13453 (tests-static): Add tst-tlsalign-static.
13454 (modules-names): Add tst-tlsalign-lib.
13455 (test-xfail-tst-tlsalign): New variable.
13456 (test-xfail-tst-tlsalign-static): New variable.
13457
13458 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
13459 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
13460
13461 2015-05-06 Joseph Myers <joseph@codesourcery.com>
13462
13463 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
13464 csqrt, erfc, sin and sincos.
13465 * math/auto-libm-test-out: Regenerated.
13466 * sysdeps/i386/fpu/libm-test-ulps: Update.
13467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13468
13469 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
13470
13471 * sysdeps/aarch64/libm-test-ulps: Update.
13472
13473 2015-05-05 Joseph Myers <joseph@codesourcery.com>
13474
13475 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
13476 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
13477 * math/auto-libm-test-out: Regenerated.
13478 * sysdeps/i386/fpu/libm-test-ulps: Update.
13479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13480
13481 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
13482
13483 [BZ #18265]
13484 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
13485 (wcsncpy): Likewise.
13486
13487 2015-05-05 Florian Weimer <fweimer@redhat.com>
13488
13489 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13490 Assume __ASSUME_FALLOCATE is always true.
13491 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13492 (__posix_fallocate64_l64): Likweise.
13493 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
13494 (posix_fallocate): Likewise.
13495 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
13496 (__posix_fallocate64_l64): Likewise.
13497 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13498 [!__ASSUME_FALLOCATE]: Add comment.
13499
13500 2015-05-05 Florian Weimer <fweimer@redhat.com>
13501
13502 * sysdeps/unix/sysv/linux/i386/Makefile
13503 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
13504 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
13505 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
13506 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13507 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13508 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
13509 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
13510
13511 2015-05-02 Joseph Myers <joseph@codesourcery.com>
13512
13513 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
13514 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
13515 tgamma.
13516 * math/auto-libm-test-out: Regenerated.
13517 * sysdeps/i386/fpu/libm-test-ulps: Update.
13518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13519
13520 2015-05-01 Joseph Myers <joseph@codesourcery.com>
13521
13522 * math/auto-libm-test-in: Add more tests of tgamma.
13523 * math/auto-libm-test-out: Regenerated.
13524 * sysdeps/i386/fpu/libm-test-ulps: Update.
13525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13526
13527 * math/auto-libm-test-in: Add more tests of tanh.
13528 * math/auto-libm-test-out: Regenerated.
13529 * sysdeps/i386/fpu/libm-test-ulps: Update.
13530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13531
13532 * math/auto-libm-test-in: Add more tests of tan.
13533 * math/auto-libm-test-out: Regenerated.
13534 * sysdeps/i386/fpu/libm-test-ulps: Update.
13535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13536
13537 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
13538 * math/auto-libm-test-out: Regenerated.
13539 * sysdeps/i386/fpu/libm-test-ulps: Update.
13540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13541
13542 * math/auto-libm-test-in: Add another test of pow.
13543 * math/auto-libm-test-out: Regenerated.
13544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13545
13546 * math/auto-libm-test-in: Add more tests of lgamma.
13547 * math/auto-libm-test-out: Regenerated.
13548 * sysdeps/i386/fpu/libm-test-ulps: Update.
13549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13550
13551 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
13552 log1p.
13553 * math/auto-libm-test-out: Regenerated.
13554 * sysdeps/i386/fpu/libm-test-ulps: Update.
13555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13556
13557 2015-05-01 Mark Wielaard <mjw@redhat.com>
13558
13559 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
13560 Elf64_Chdr structs and ELFCOMPRESS constants.
13561
13562 2015-05-01 Joseph Myers <joseph@codesourcery.com>
13563
13564 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
13565 expm1.
13566 * math/auto-libm-test-out: Regenerated.
13567 * sysdeps/i386/fpu/libm-test-ulps: Update.
13568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13569
13570 * math/auto-libm-test-in: Add more tests of erf and erfc.
13571 * math/auto-libm-test-out: Regenerated.
13572 * sysdeps/i386/fpu/libm-test-ulps: Update.
13573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13574
13575 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
13576
13577 * config.h.in (HAVE_AARCH64_BE): Add.
13578
13579 2015-04-30 Joseph Myers <joseph@codesourcery.com>
13580
13581 * math/auto-libm-test-in: Add more tests of csqrt.
13582 * math/auto-libm-test-out: Regenerated.
13583 * sysdeps/i386/fpu/libm-test-ulps: Update.
13584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13585
13586 * math/auto-libm-test-in: Add more tests of cosh and sinh.
13587 * math/auto-libm-test-out: Regenerated.
13588 * sysdeps/i386/fpu/libm-test-ulps: Update.
13589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13590
13591 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
13592
13593 2015-04-29 Roland McGrath <roland@hack.frob.com>
13594
13595 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
13596 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
13597
13598 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
13599 (euidaccess, eaccess): Define as weak aliases.
13600
13601 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
13602 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
13603 but __suseconds_t is often 'long int' so some sources assume that
13604 type is being used (e.g. they use %ld to print tv_usec).
13605
13606 2015-04-29 Florian Weimer <fweimer@redhat.com>
13607
13608 [BZ #18007]
13609 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
13610 (CVE-2014-8121)
13611 * nss/tst-nss-getpwent.c: New file.
13612 * nss/Makefile (tests): Add new test.
13613
13614 2015-04-28 Joseph Myers <joseph@codesourcery.com>
13615
13616 [BZ #18346]
13617 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
13618 exponents less than 48 as cases where high part of mantissa needs
13619 examining to determine whether argument is integral.
13620 * math/libm-test.inc (round_test_data): Add more tests.
13621
13622 2015-04-28 Mark Wielaard <mjw@redhat.com>
13623
13624 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
13625
13626 2015-04-27 David S. Miller <davem@davemloft.net>
13627
13628 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
13629 __tls_get_addr.
13630 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13631
13632 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
13633
13634 [BZ#18333]
13635 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
13636
13637 2015-04-27 Florian Weimer <fweimer@redhat.com>
13638
13639 [BZ#18333]
13640 * time/tzset.c (parse_tzname): Return error on memory allocation
13641 failure.
13642 * test-skeleton.c (struct temp_name_list): Change type of name
13643 member to non-const.
13644 (add_temp_file): Create a copy of the file name.
13645 (delete_temp_files): Deallocate memory.
13646 (create_temp_file): Add comment.
13647
13648 2015-04-24 Florian Weimer <fweimer@redhat.com>
13649
13650 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
13651 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
13652
13653 2015-04-24 Roland McGrath <roland@hack.frob.com>
13654
13655 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
13656 * sysdeps/arm/configure: Regenerated.
13657
13658 2015-04-24 Florian Weimer <fweimer@redhat.com>
13659
13660 [BZ #17715]
13661 * time/tzfile.c (__tzfile_read): Check for large values of
13662 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
13663 * time/tzset.c (__tzstring_len): New function, based on the old
13664 __tzstring function.
13665 (__tzstring): Call __tzstring_len.
13666 (parse_tzname): New helper function extracted from
13667 __tzset_parse_tz. Call __tzstring_len, without making a copy of
13668 the input string.
13669 (parse_offset): New helper function extracted from
13670 __tzset_parse_tz. Replace switch with fallthrough with
13671 initialization before sscanf.
13672 (parse_rule): Likewise.
13673 (__tzset_parse_tz): Rewrite using the new helper functions. Use
13674 new-style function definition.
13675 * timezone/Makefile (tests): Add tst-tzset.
13676 (tst-tzset.out): Dependencies on time zone files.
13677 (tst-tzset-ENV): Set TZDIR.
13678 (testdata/XT%): Copy crafted time zone files.
13679 * timezone/README: Mention crafted time zone files.
13680 * timezone/testdata/XT1, timezone/testdata/XT2,
13681 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
13682 files.
13683 * timezone/tst-tzset.c: New test.
13684
13685 2015-04-24 Florian Weimer <fweimer@redhat.com>
13686
13687 * Makeconfig (+gccwarn): Remove -Winline.
13688
13689 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13690
13691 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
13692
13693 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13694
13695 * NEWS: Mention sysconf() cache information support for s390.
13696 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
13697
13698 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
13699
13700 * math/k_casinh.c (__kernel_casinh): Use __copysign.
13701 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
13702 (__nearbyint): Likewise.
13703 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
13704 (copysignl): Likewise.
13705
13706 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
13707
13708 [BZ #18287]
13709 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
13710 based on padding. (CVE-2015-1781)
13711
13712 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13713
13714 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
13715 libc-vdso.h.
13716 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
13717 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
13718 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
13719 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13720 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13721 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
13722 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
13723 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13724 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13725 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
13726 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13727 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13728 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13729 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
13730 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13731 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
13732 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
13733 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
13734 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
13735 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
13736 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
13737 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
13738 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
13739
13740 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
13741
13742 * stdlib/setenv.c (__add_to_environ):
13743 Dump core quickly if setenv (..., NULL, ...) is called.
13744 This time, do it the right way, and pacify GCC with a pragma.
13745
13746 2015-04-17 Roland McGrath <roland@hack.frob.com>
13747
13748 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
13749 IMAP->l_prev cannot be null, and #if out the code for the contrary
13750 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
13751 believe that NS (&_dl_ns[NSID]) could point outside the array.
13752
13753 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
13754 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
13755 before using NSID as an index.
13756
13757 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
13758
13759 [BZ #17825]
13760 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
13761 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
13762 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13763
13764 2015-04-17 Roland McGrath <roland@hack.frob.com>
13765
13766 Add preliminary port to Google Native Client on ARM.
13767 * abi-tags (.*-.*-nacl.*): New entry.
13768 * sysdeps/arm/nacl: New directory.
13769 * sysdeps/nacl: New directory.
13770
13771 2015-04-16 David S. Miller <davem@davemloft.net>
13772
13773 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
13774 lowlevellock-futex.h
13775
13776 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
13777
13778 * sysdeps/tile/configure.ac: New file.
13779 * sysdeps/tile/configure: Regenerated.
13780
13781 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13782
13783 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
13784 conditionals for weak_alias and libc_hidden_weak.
13785 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
13786 libc_hidden_weak and weak_alias.
13787 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
13788 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
13789 and weak_alias for static one.
13790
13791 2015-04-15 David S. Miller <davem@davemloft.net>
13792
13793 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13794
13795 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13796
13797 [BZ #18206]
13798 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
13799 Use signed comparision instead of substraction to avoid
13800 overflow bug.
13801 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
13802 Take the sign of ret.
13803 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
13804 Do not expect precise return values. Only the sign matters.
13805 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
13806 * wcsmbs/test-wcsncmp.c: New File.
13807 * string/test-strncmp.c: Add wcsncmp support.
13808
13809 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13810
13811 [BZ #6792]
13812 * math/w_log1p.c: New file.
13813 * math/w_log1pf.c: Likewise.
13814 * math/w_log1pl.c: Likewise.
13815 * math/Makefile (libm-calls): Add w_log1p.
13816 * math/s_log1pl.c (log1pl): Remove weak_alias.
13817 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
13818 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
13819 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
13820 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
13821 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
13822 [NO_LONG_DOUBLE] (log1pl): Likewise.
13823 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
13824 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
13825 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
13826 (log1p): Remove long_double_symbol.
13827 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
13828 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
13829 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
13830 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
13831 remove weak_alias for corresponding log1p function.
13832 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
13833 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13834 * sysdeps/ia64/fpu/w_log1p.c: New file.
13835 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
13836 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
13837 * math/libm-test.inc (log1p_test_data): Add errno expectations.
13838
13839 2015-04-10 Joseph Myers <joseph@codesourcery.com>
13840
13841 [BZ #18247]
13842 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
13843 decimal exponent by 1.
13844 * stdlib/tst-strtod-round-data: Add more tests.
13845 * stdlib/tst-strtod-round.c (tests): Regenerated.
13846
13847 2015-04-09 Joseph Myers <joseph@codesourcery.com>
13848
13849 * math/auto-libm-test-in: Add more tests of clog and clog10.
13850 * math/auto-libm-test-out: Regenerated.
13851 * sysdeps/i386/fpu/libm-test-ulps: Update.
13852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13853
13854 2015-04-09 Roland McGrath <roland@hack.frob.com>
13855
13856 * Makeconfig (module-cppflags): Exclude all .v.i files.
13857 (skip-module-cppflags): Variable removed.
13858
13859 * configure.ac (libc_config_ok): Initialize before reading
13860 preconfigure scripts, not after.
13861 * configure: Regenerated.
13862
13863 * test-skeleton.c (TIMEOUT): Move #define to top level.
13864 (main): Grok environment variable TEST_DIRECT. If set, print
13865 test expectation details into that file and then behave as if
13866 given --direct.
13867
13868 2015-04-09 Florian Weimer <fweimer@redhat.com>
13869
13870 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
13871 warning on 32-bit.
13872
13873 2015-04-08 David S. Miller <davem@davemloft.net>
13874
13875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13876
13877 2015-04-08 Joseph Myers <joseph@codesourcery.com>
13878
13879 * math/auto-libm-test-in: Add more tests of atanh.
13880 * math/auto-libm-test-out: Regenerated.
13881 * sysdeps/i386/fpu/libm-test-ulps: Update.
13882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13883
13884 * math/auto-libm-test-in: Add more tests of atan.
13885 * math/auto-libm-test-out: Regenerated.
13886 * sysdeps/i386/fpu/libm-test-ulps: Update.
13887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13888
13889 2015-04-08 Florian Weimer <fweimer@redhat.com>
13890
13891 * elf/pldd.c (main): Rewrite to use struct
13892 scratch_buffer instead of extend_alloca.
13893 * elf/pldd-xx.c (find_maps): Likewise.
13894 * grp/initgroups.c: Include <scratch_buffer.h> instead of
13895 <alloca.h>.
13896 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
13897 scratch_buffer instead of extend_alloca.
13898 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
13899 grp/compat-initgroups.c.
13900 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
13901 Rewrite to use struct scratch_buffer instead of extend_alloca.
13902 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
13903 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13904
13905 2015-04-08 Joseph Myers <joseph@codesourcery.com>
13906
13907 * math/auto-libm-test-in: Add more tests of cbrt.
13908 * math/auto-libm-test-out: Regenerated.
13909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13910
13911 * math/auto-libm-test-in: Add more tests of cabs.
13912 * math/auto-libm-test-out: Regenerated.
13913 * sysdeps/i386/fpu/libm-test-ulps: Update.
13914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13915
13916 [BZ #18210]
13917 [BZ #18211]
13918 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
13919 (__ieee754_atan2): Set FE_TONEAREST mode for internal
13920 computations.
13921 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
13922 clog10.
13923 * math/auto-libm-test-out: Regenerated.
13924 * sysdeps/i386/fpu/libm-test-ulps: Update.
13925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13926
13927 [BZ #18197]
13928 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
13929 (atan): Set FE_TONEAREST mode for internal computations.
13930 * math/auto-libm-test-in: Add more tests of atan.
13931 * math/auto-libm-test-out: Regenerated.
13932
13933 2015-04-07 James Cowgill <james410@cowgill.org.uk>
13934
13935 [BZ #17930]
13936 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
13937
13938 2015-04-07 Florian Weimer <fweimer@redhat.com>
13939
13940 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
13941
13942 2015-04-07 Florian Weimer <fweimer@redhat.com>
13943
13944 * include/scratch_buffer.h: New file.
13945 * malloc/scratch_buffer_grow.c: Likewise.
13946 * malloc/scratch_buffer_grow_preserve.c: Likewise.
13947 * malloc/scratch_buffer_set_array_size.c: Likewise.
13948 * malloc/tst-scratch_buffer.c: Likewise.
13949 * malloc/Makefile (routines): Add scratch_buffer_grow.
13950 (tests): Add test case.
13951 * malloc/Versions (GLIBC_PRIVATE): Export
13952 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
13953 __libc_scratch_buffer_set_array_size.
13954
13955 2015-04-06 Richard Henderson <rth@redhat.com>
13956
13957 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
13958 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13959
13960 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
13961 unsigned int before printing.
13962
13963 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13964
13965 [BZ #17596]
13966 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
13967 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13968
13969 2015-04-02 Florian Weimer <fweimer@redhat.com>
13970
13971 * include/libc-internal.h (libc_max_align_t): Define.
13972
13973 2015-04-02 Andreas Schwab <schwab@suse.de>
13974
13975 [BZ #16850]
13976 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
13977
13978 2015-04-02 Mel Gorman <mgorman@suse.de>
13979
13980 [BZ #17195]
13981 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
13982 as well as the main arena.
13983
13984 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
13985
13986 [BZ #18185]
13987 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
13988 sharing L2 cache to 2 for Silvermont/Knights Landing.
13989
13990 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
13991
13992 [BZ #17711]
13993 * config.make.in (have-protected-data): New.
13994 * configure.ac: Check linker support for protected data symbol.
13995 * configure: Regenerated.
13996 * elf/Makefile (modules-names): Add tst-protected1moda and
13997 tst-protected1modb if $(have-protected-data) is yes.
13998 (tests): Add tst-protected1a and tst-protected1b if
13999 $(have-protected-data) is yes.
14000 ($(objpfx)tst-protected1a): New.
14001 ($(objpfx)tst-protected1b): Likewise.
14002 (tst-protected1modb.so-no-z-defs): Likewise.
14003 * elf/tst-protected1a.c: New file.
14004 * elf/tst-protected1b.c: Likewise.
14005 * elf/tst-protected1mod.h: Likewise.
14006 * elf/tst-protected1moda.c: Likewise.
14007 * elf/tst-protected1modb.c: Likewise.
14008
14009 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
14010
14011 [BZ #17711]
14012 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
14013 indicates it is called from do_lookup_x on relocation against
14014 protected data, skip the data definion in the executable from
14015 copy reloc.
14016 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
14017 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
14018 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
14019 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
14020 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
14021 otherwise to 0.
14022 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14023 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
14024 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
14025 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
14026 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
14027 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
14028
14029 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
14030
14031 * sysdeps/nptl/pthread.h: Remove duplicate definition of
14032 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
14033
14034 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
14035
14036 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
14037 THREAD_SETMEM_NC.
14038 * sysdeps/x86_64/nptl/tls.h: Ditto.
14039
14040 2015-03-27 Roland McGrath <roland@hack.frob.com>
14041
14042 * dlfcn/tststatic.c (main): Converted to ...
14043 (do_test): ... this.
14044 (TEST_FUNCTION): New macro.
14045 Include test-skeleton.c.
14046
14047 2015-03-26 Alan Modra <amodra@gmail.com>
14048
14049 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
14050 Don't segfault if ifunc resolver returns a NULL. Do set plt to
14051 zero for undefined weak.
14052 (elf_machine_plt_conflict): Similarly.
14053
14054 2015-03-25 Joseph Myers <joseph@codesourcery.com>
14055
14056 * math/auto-libm-test-in: Add more tests of acosh, asinh and
14057 atanh.
14058 * math/auto-libm-test-out: Regenerated.
14059 * sysdeps/i386/fpu/libm-test-ulps: Update.
14060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14061
14062 * math/auto-libm-test-in: Add another test of asin.
14063 * math/auto-libm-test-out: Regenerated.
14064 * sysdeps/i386/fpu/libm-test-ulps: Update.
14065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14066
14067 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
14068 Remove macro.
14069 (LLL_EBX_REG): Likewise.
14070 (LLL_ENTER_KERNEL): Likewise.
14071
14072 * math/auto-libm-test-in: Add more tests of asin.
14073 * math/auto-libm-test-out: Regenerated.
14074 * sysdeps/i386/fpu/libm-test-ulps: Update.
14075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14076
14077 [BZ #18138]
14078 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
14079 libc_do_syscall_args): New structure.
14080 (INTERNAL_SYSCALL_MAIN_0): New macro.
14081 (INTERNAL_SYSCALL_MAIN_1): Likewise.
14082 (INTERNAL_SYSCALL_MAIN_2): Likewise.
14083 (INTERNAL_SYSCALL_MAIN_3): Likewise.
14084 (INTERNAL_SYSCALL_MAIN_4): Likewise.
14085 (INTERNAL_SYSCALL_MAIN_5): Likewise.
14086 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
14087 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
14088 Replace conditional definitions by conditional definitions of ....
14089 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
14090 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
14091 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
14092 (libpthread-sysdep_routines): Add libc-do-syscall.
14093 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
14094 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
14095 to __NR_futex not 240.
14096
14097 2015-03-25 Alan Modra <amodra@gmail.com>
14098
14099 * NEWS: Advertise TLS optimization.
14100 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
14101 (DT_PPC_NUM): Increment.
14102 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
14103 (CHECK_STATIC_TLS): Use here.
14104 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
14105 TLS descriptors.
14106 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14107 * sysdeps/powerpc/dl-tls.c: New file.
14108 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
14109 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
14110 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
14111 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
14112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
14113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14115
14116 2015-03-25 Alan Modra <amodra@gmail.com>
14117
14118 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
14119 for overlapping .opd entries" to "support...".
14120 * sysdeps/powerpc/powerpc64/configure: Regenerate
14121
14122 2015-03-25 Joseph Myers <joseph@codesourcery.com>
14123
14124 * math/auto-libm-test-in: Add more tests of acos.
14125 * math/auto-libm-test-out: Regenerated.
14126 * sysdeps/i386/fpu/libm-test-ulps: Update.
14127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14128
14129 * math/auto-libm-test-in: Add more tests of expm1.
14130 * math/auto-libm-test-out: Regenerated.
14131 * sysdeps/i386/fpu/libm-test-ulps: Update.
14132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14133
14134 2015-03-24 Joseph Myers <joseph@codesourcery.com>
14135
14136 * math/auto-libm-test-in: Add more tests of cosh and sinh.
14137 * math/auto-libm-test-out: Regenerated.
14138 * sysdeps/i386/fpu/libm-test-ulps: Update.
14139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14140
14141 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14143
14144 * math/auto-libm-test-in: Add more tests of log2.
14145 * math/auto-libm-test-out: Regenerated.
14146 * sysdeps/i386/fpu/libm-test-ulps: Update.
14147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14148
14149 2015-03-23 Roland McGrath <roland@hack.frob.com>
14150
14151 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
14152 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
14153 _IO_IS_APPENDING bit in READ_WRITE instead.
14154
14155 2015-03-23 Florian Weimer <fweimer@redhat.com>
14156
14157 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14158 (__determine_cpumask_size): Replace extend_alloca with a
14159 variable-length array. Do not treat res == 0 as an error.
14160
14161 2015-03-23 Florian Weimer <fweimer@redhat.com>
14162
14163 [BZ #18100]
14164 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
14165 and integer overflow.
14166 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
14167 (main): Add integer overflow tests.
14168 * manual/pattern.texi (Calling Wordexp): Document additional use
14169 for WRDE_SYNTAX.
14170
14171 2015-03-23 Alan Modra <amodra@gmail.com>
14172
14173 * config.h.in: Remove HAVE_ASM_PPC_REL16.
14174 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
14175 and false branch of conditional.
14176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14177 Likewise.
14178
14179 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
14180
14181 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
14182 libc-modules.h
14183 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
14184 unused declaration of _hurd_intr_rpc_msg_in_trap.
14185 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
14186 defined instead of whether it is non-zero.
14187 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
14188 input constraint instead of both input and output constraint. Use ecx
14189 clobber instead of %ecx.
14190 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
14191 mutex_unlock): Use a statement expression instead of an expression list.
14192 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
14193 type to vm_size_t instead of vm_address_t.
14194 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
14195 defined instead of whether it is non-zero.
14196 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
14197 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
14198 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
14199 comparisons with mapaddr.
14200 * nscd/nscd-client.h: Include <time.h>.
14201 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
14202 9th parameter to __vm_region instead of int.
14203 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
14204 * scripts/check-local-headers.sh (exclude): Add device/,
14205 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
14206 cthreads.h.
14207
14208 2015-03-19 Roland McGrath <roland@hack.frob.com>
14209
14210 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
14211 to account for alignment padding.
14212 * sysdeps/arm/memmove.S: Likewise.
14213
14214 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
14215
14216 * sysdeps/unix/sysv/linux/generic/README: New file.
14217
14218 2015-03-18 Joseph Myers <joseph@codesourcery.com>
14219
14220 [BZ #18138]
14221 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
14222 (futex_abstimed_wait)
14223 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
14224 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
14225 of lll_futex_timed_wait.
14226
14227 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
14228
14229 [BZ #17542]
14230 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
14231
14232 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
14233
14234 [BZ #17090]
14235 [BZ #17620]
14236 [BZ #17621]
14237 [BZ #17628]
14238 * NEWS: Update.
14239 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
14240 entries with Static TLS too. Skip entries past the end of the
14241 allocated DTV, from Alan Modra.
14242 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
14243 Static TLS DTV entry set up from...
14244 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
14245 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
14246 * nptl/allocatestack.c (init_one_static_tls): ... and here...
14247 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
14248 for Static TLS.
14249 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
14250 that the slot we find is associated with the given map before
14251 using its generation count.
14252 * nptl_db/db_info.c: Include ldsodefs.h.
14253 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
14254 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
14255 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
14256 (link_map::l_tls_offset): New struct field.
14257 (dtv_t::counter): Likewise.
14258 (rtld_global): New struct.
14259 (_rtld_global): New rtld variable.
14260 (dl_tls_dtv_slotinfo_list): New rtld global field.
14261 (dtv_slotinfo_list): New struct.
14262 (dtv_slotinfo): Likewise.
14263 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
14264 (td_lookup): Rename to...
14265 (td_mod_lookup): ... this. Use new mod parameter instead of
14266 LIBPTHREAD_SO.
14267 * nptl_db/td_thr_tlsbase.c: Include link.h.
14268 (dtv_slotinfo_list, dtv_slotinfo): New functions.
14269 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
14270 addresses even if the DTV is out of date or missing them.
14271 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
14272 index zero-length arrays.
14273 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
14274 (td_lookup): Make it a macro implemented in terms of...
14275 (td_mod_lookup): ... this declaration.
14276 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
14277 (DB_MAIN_VARIABLE): Likewise.
14278
14279 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
14280
14281 [BZ #18134]
14282 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
14283
14284 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
14285
14286 * stdlib/setenv.c (__add_to_environ): Revert previous change.
14287
14288 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
14289
14290 [BZ #18128]
14291 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
14292 (atomic_add, atomic_increment_and_test)
14293 (atomic_decrement_and_test): Fix 64-bit arithmetic.
14294
14295 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
14296
14297 * stdlib/setenv.c (__add_to_environ):
14298 Dump core quickly if setenv (..., NULL, ...) is called.
14299
14300 2015-03-13 Roland McGrath <roland@hack.frob.com>
14301
14302 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
14303 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
14304 all the necessary asm magic in one place.
14305 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
14306 using those.
14307
14308 2015-03-13 Carlos O'Donell <carlos@redhat.com>
14309
14310 [BZ #14906]
14311 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
14312 traced file mtime. Use consistent log message.
14313 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
14314 (register_traced_file): Call install_watches. Always set mtime.
14315 (invalidate_cache): Iterate over all trace files. Call install_watches.
14316 (inotify_check_files): Don't inline. Handle watching parent
14317 directories and configuration file movement in and out.
14318 (handle_inotify_events): New function.
14319 (main_loop_poll): Call handle_inotify_events.
14320 (main_loop_epoll): Likewise.
14321 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
14322 (struct traced_file): Use array of inotify fds. Add parent directory,
14323 and basename.
14324 (struct database_dyn): Remove unused file_mtime.
14325 (init_traced_file): New inline function.
14326 (define_traced_file): New macro.
14327 * nss/nss_db/db-init.c: Use define_traced_file.
14328 (_nss_db_init): Use init_traced_file.
14329 * nss/nss_files/files-init.c: Use define_traced_file.
14330 (_nss_files_init): Use init_traced_file.
14331
14332 2015-03-12 Joseph Myers <joseph@codesourcery.com>
14333
14334 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
14335 [_LIBC]: Do not include <stdlib.h>.
14336 [!_LIBC] (abort): Remove declaration.
14337 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
14338 _FP_STATIC_ASSERT instead of conditionally calling abort.
14339 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
14340 (_FP_EXTEND_CNAN): Likewise.
14341 (FP_TRUNC): Likewise.
14342 (__FP_CLZ): Likewise.
14343 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
14344
14345 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
14346
14347 * manual/string.texi (XPG basename): Fix prototype.
14348
14349 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14350
14351 [BZ #18080]
14352 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
14353 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14354 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
14355 (__setcontext): Likewise.
14356 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
14357 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
14358 Call rt_sigprocmask syscall one time to set new signal mask
14359 and retrieve the current signal mask instead of two calls.
14360 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
14361 (__swapcontext): Likewise.
14362 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
14363 * stdlib/tst-setcontext2.c: New file.
14364
14365 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14366
14367 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14368
14369 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
14370
14371 [BZ #18093]
14372 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
14373 the wrong size.
14374
14375 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14376
14377 [BZ #18043]
14378 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
14379
14380 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
14381
14382 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
14383 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
14384 Remove define.
14385 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
14386 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
14387 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
14388 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
14389 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
14390 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
14391 define.
14392 * nptl_db/td_symbol_list.c (td_lookup): Remove
14393 HAVE_ASM_GLOBAL_DOT_NAME code.
14394 * sysdeps/powerpc/powerpc64/configure.ac: Remove
14395 HAVE_ASM_GLOBAL_DOT_NAME check.
14396 * sysdeps/powerpc/powerpc64/configure: Regenerate.
14397 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
14398 (DOT_LABEL): Remove define.
14399 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
14400 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
14401 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
14402 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
14403 (__TLS_GET_ADDR): Likewise.
14404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
14405 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
14406
14407 2015-03-11 Carlos O'Donell <carlos@redhat.com>
14408
14409 [BZ #18111]
14410 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
14411 (_FPU_SETCW): Initialize cw from fpsr before storing.
14412 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
14413 (fesetexceptflag): Rewrite using fpu_control.h.
14414 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
14415
14416 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
14417
14418 [BZ #18110]
14419 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
14420 asms.
14421 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
14422
14423 2015-03-11 Joseph Myers <joseph@codesourcery.com>
14424
14425 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
14426 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
14427 abort.
14428 (_FP_FMA): Likewise.
14429 (_FP_DIV): Likewise.
14430
14431 2015-03-10 Roland McGrath <roland@hack.frob.com>
14432
14433 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
14434 with 0 in that case.
14435 * Makefile (summarize-tests): New canned sequence, factored out of
14436 commands for targets tests and xtests. Display summary lines that
14437 don't start with PASS: or XFAIL: rather than ones that do start with
14438 ERROR: or FAIL:. Make the commands fail if any summary lines fail
14439 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
14440 do start with ERROR: or FAIL:.
14441 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
14442 (except for [$(build-shared) = yes]).
14443 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
14444 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
14445 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
14446 * nptl/Makefile: Revert 2015-03-04 changes.
14447 [$(CXX) empty] (tests-unsupported): New variable.
14448 * debug/Makefile: Likewise.
14449
14450 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
14451 gnulib file. Replace __attribute with __attribute__ throughout.
14452
14453 2015-03-10 Carlos O'Donell <carlos@redhat.com>
14454
14455 * sysdeps/hppa/fpu/libm-test-ulps: Update.
14456
14457 2015-03-10 Joseph Myers <joseph@codesourcery.com>
14458
14459 [BZ #18104]
14460 * math/auto-libm-test-in: Add another test of pow.
14461 * math/auto-libm-test-out: Regenerated.
14462
14463 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14464
14465 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
14466 $(config-cflags-nofma).
14467
14468 2015-03-10 Joseph Myers <joseph@codesourcery.com>
14469
14470 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
14471 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
14472 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
14473 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
14474 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
14475 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
14476 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
14477 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
14478 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
14479 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
14480 Add comment on closing #endif.
14481
14482 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14483
14484 * posix/wordexp.c (CHAR_IN_SET): New macro.
14485 (parse_param): Use it.
14486
14487 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14488
14489 * sysdeps/powerpc/fpu/libm-test-ulps: update.
14490
14491 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14492
14493 [BZ #18043]
14494 * posix/wordexp.c (parse_param): Fix buffer overflow.
14495 * posix/wordexp-test.c (test_case): Add test case.
14496
14497 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14498
14499 [BZ #18042]
14500 * posix/wordexp.c (parse_backtick): Fix off-by-one.
14501 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
14502
14503 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14504
14505 [BZ #18043]
14506 * posix/wordexp-test.c (test_case): Add test for BZ #18043
14507 (do_bz18043): Delete.
14508 (at_page_end): New.
14509 (testit): Refactor to have words at the edge of unreadable page.
14510
14511 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
14512
14513 [BZ #16734]
14514 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
14515 Cleanup read-only streams as well.
14516 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
14517
14518 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
14519
14520 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
14521 <bits/libc-lockP.h>
14522
14523 2015-03-07 Joseph Myers <joseph@codesourcery.com>
14524
14525 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
14526 on [__KERNEL__].
14527 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
14528 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
14529 * soft-fp/op-common.h (_FP_DECL): Likewise.
14530
14531 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
14532
14533 * elf/ifuncdep2.c (global): Replace
14534 __attribute__((visibility("protected"))) with
14535 asm (".protected global").
14536 * elf/ifuncmod1.c (global): Likewise.
14537 * elf/ifuncmod5.c (global): Likewise.
14538
14539 2015-03-06 Joseph Myers <joseph@codesourcery.com>
14540
14541 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
14542 <asm/sfp-machine.h> instead of <sfp-machine.h>.
14543
14544 2015-03-06 Roland McGrath <roland@hack.frob.com>
14545
14546 * manual/install.texi (Configuring and compiling):
14547 Document test-wrapper-env-only.
14548 * INSTALL: Regenerated.
14549
14550 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14551
14552 [BZ #18043]
14553 * posix/wordexp.c (parse_param): Fix buffer overflow.
14554 * posix/wordexp-test.c (do_bz18043): Add test case.
14555
14556 2015-03-06 Vincent Bernat <vincent@bernat.im>
14557
14558 * time/tst-strptime2.c (do_test): Ensure failing tests are
14559 reported correctly.
14560 * time/tst-strptime3.c (do_test): Likewise.
14561
14562 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
14563
14564 Fix aio_error thread-safety.
14565 * sysdeps/pthread/aio_error.c: New file
14566 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
14567 synchronization.
14568
14569 2015-03-06 Florian Weimer <fweimer@redhat.com>
14570
14571 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
14572 (group_number, vfprintf): Use it.
14573 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
14574 (JUMP, REF): Use it.
14575 (WORK_BUFFER_SIZE): New enum constant.
14576 (process_arg, vfprintf): Use it.
14577
14578 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
14579
14580 * manual/errno.texi (Error Messages): Complete example function
14581 by adding missing #define.
14582 (program_invocation_name): Add statement indicating GNU
14583 extension and reference which header file declares the variable.
14584 (program_invocation_short_name): Likewise.
14585
14586 2015-03-06 Mike Frysinger <vapier@gentoo.org>
14587
14588 * manual/errno.texi (Error Messages): Delete strerror ISO C89
14589 compatibility note.
14590
14591 2015-03-05 Roland McGrath <roland@hack.frob.com>
14592
14593 * Makeconfig (test-wrapper-env-only): New variable.
14594 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
14595 then use that with $(test-wrapper-env-only) rather than using
14596 $(test-wrapper-env) $(run-program-env) $($*-ENV).
14597
14598 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
14599
14600 [BZ #18082]
14601 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
14602 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
14603 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
14604 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
14605 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
14606 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
14607 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
14608 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
14609 Likewise.
14610 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
14611 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
14612 Likewise.
14613 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
14614 Likewise.
14615 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
14616 Likewise.
14617 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
14618 Likewise.
14619 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
14620 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
14621 Likewise.
14622 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
14623 Likewise.
14624 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
14625 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
14626
14627 2015-03-04 Roland McGrath <roland@hack.frob.com>
14628
14629 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
14630 (ETH_ALEN): New macro.
14631 (struct ether_addr): Use it for length of ether_addr_octet.
14632
14633 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
14634 (setdb): Don't call __nss_configure_lookup for "rpc".
14635 (do_test): Don't call test_rpc.
14636 (output_rpcent, test_rpc): Functions moved ...
14637 * sunrpc/test-rpcent.c: ... to this new file.
14638 * sunrpc/Makefile (tests): Add it.
14639
14640 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
14641 __xpg_sigpause.
14642 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
14643 * nptl/tst-signal6.c: Likewise.
14644 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
14645 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
14646
14647 * configure.ac (libc_cv_cxx_link_ok): New check.
14648 Reset CXX to empty if it fails to link.
14649 * configure: Regenerated.
14650 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
14651 bug-atexit3-lib only if $(CXX) is nonempty.
14652 * nptl/Makefile (tests): Likewise for tst-cancel24.
14653 (tests, tests-static): Likewise for tst-cancel24-static.
14654 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
14655 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
14656 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
14657 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
14658
14659 2015-03-04 Andreas Schwab <schwab@suse.de>
14660
14661 [BZ #17631]
14662 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
14663 for non-GCC compilers.
14664 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14665 Likewise.
14666
14667 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
14668
14669 [BZ #17776]
14670 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
14671 integer before bitwise and assembly operations.
14672 (feclearexcept): Likewise.
14673 * math/test-fenvinline.c: New file.
14674 * math/Makefile: Add test-fenvinline test.
14675
14676 2015-03-03 Alan Modra <amodra@gmail.com>
14677
14678 [BZ #16512]
14679 * scripts/localplt.awk: Strip off symbol version.
14680 * NEWS: Mention bug fix.
14681
14682 2015-03-02 Roland McGrath <roland@hack.frob.com>
14683
14684 * sysdeps/pthread/timer_routines.c
14685 (timer_free_list, thread_free_list, thread_active_list): Make static.
14686
14687 2015-03-02 Joseph Myers <joseph@codesourcery.com>
14688
14689 [BZ #17779]
14690 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14691 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14692 Undefine.
14693 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14694 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14695 Likewise.
14696 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14697 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14698 Likewise.
14699
14700 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14701
14702 [BZ #18036]
14703 * posix/fnmatch_loop.c (END): Detect invalid pattern.
14704 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
14705
14706 2015-03-02 Andreas Schwab <schwab@suse.de>
14707
14708 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
14709 variable name.
14710
14711 2015-03-02 Florian Weimer <fweimer@redhat.com>
14712
14713 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
14714 Return error status.
14715
14716 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
14717
14718 [BZ #15969]
14719 * locale/findlocale.c (_nl_find_locale): Introduce const
14720 version of loc_name and drop unsafe type casts.
14721
14722 2015-02-27 Roland McGrath <roland@hack.frob.com>
14723
14724 * dlfcn/tststatic2.c (main): Converted to ...
14725 (do_test): ... this.
14726 (TEST_FUNCTION): New macro.
14727 Include test-skeleton.c.
14728
14729 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
14730
14731 [BZ #17711]
14732 * elf/Makefile (tests): Add vismain only if PIE is enabled.
14733 (tests-pie): Add vismain.
14734 (CFLAGS-vismain.c): New.
14735 * elf/vismain.c: Add comments for PIE requirement.
14736
14737 2015-02-27 Joseph Myers <joseph@codesourcery.com>
14738
14739 [BZ #18046]
14740 [BZ #18047]
14741 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
14742 0x1p-56L as threshold for just returning the argument.
14743 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
14744 0x1p-32L as threshold for just returning the argument.
14745 * math/auto-libm-test-in: Add more tests of atanh.
14746 * math/auto-libm-test-out: Regenerated.
14747 * sysdeps/i386/fpu/libm-test-ulps: Update.
14748 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
14749
14750 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
14751
14752 * string/bcopy.c (bcopy): Call memmove for performance.
14753
14754 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
14755
14756 * string/bzero.c (__bzero): Call memset for performance.
14757
14758 2015-02-27 John David Anglin <dave.anglin@bell.net>
14759
14760 [BZ #18068]
14761 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
14762 to 00100000.
14763
14764 2015-02-27 Joseph Myers <joseph@codesourcery.com>
14765
14766 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
14767
14768 2015-02-26 Joseph Myers <joseph@codesourcery.com>
14769
14770 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
14771 (__kernel_standard): Use CSTR macro when setting exc.name.
14772 * sysdeps/ieee754/Makefile [$(subdir) = math]
14773 (CFLAGS-k_standard.c): Remove variable.
14774
14775 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
14776 setting p and q from "else if" to "else".
14777 (qzero): Likewise.
14778 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
14779 (qone): Likewise.
14780 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
14781 (qzerof): Likewise.
14782 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
14783 (qonef): Likewise.
14784 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
14785 (qzero): Likewise.
14786 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
14787 (qone): Likewise.
14788
14789 [BZ #18038]
14790 [BZ #18039]
14791 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
14792 return pi/2 for arguments below 0x1p-113L.
14793 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
14794 return pi/2 for arguments below 0x1p-106L.
14795 * math/auto-libm-test-in: Add more tests of acos.
14796 * math/auto-libm-test-out: Regenerated.
14797
14798 [BZ #16351]
14799 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
14800 (MO): New macro.
14801 (__ieee754_asin): Force underflow exception for results with small
14802 absolute value.
14803 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
14804 (MO): New macro.
14805 (__ieee754_asinf): Force underflow exception for results with
14806 small absolute value.
14807 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
14808 (__ieee754_asin): Force underflow exception for results with small
14809 absolute value.
14810 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
14811 (__ieee754_asinf): Force underflow exception for results with
14812 small absolute value.
14813 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
14814 (__ieee754_asinl): Force underflow exception for results with
14815 small absolute value.
14816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
14817 (__ieee754_asinl): Force underflow exception for results with
14818 small absolute value.
14819 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
14820 (__ieee754_asinl): Force underflow exception for results with
14821 small absolute value.
14822 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14823 Include <math.h>.
14824 * math/auto-libm-test-in: Do not mark underflow exceptions as
14825 possibly missing for bug 16351.
14826 * math/auto-libm-test-out: Regenerated.
14827
14828 [BZ #18030]
14829 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
14830 of power of 2 down when low part has opposite sign.
14831 * math/libm-test.inc (logb_test_data): Add more tests.
14832
14833 2015-02-26 Andreas Schwab <schwab@suse.de>
14834
14835 [BZ #18032]
14836 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
14837 over collating symbol inside a bracket expression. Minor cleanup.
14838 * posix/tst-fnmatch3.c (do_test): Add test case.
14839
14840 2015-02-26 Joseph Myers <joseph@codesourcery.com>
14841
14842 [BZ #18029]
14843 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
14844 Adjust exponent of power of 2 down when low part has opposite
14845 sign.
14846 * math/libm-test.inc (ilogb_test_data): Add more tests.
14847
14848 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
14849
14850 [BZ #15969]
14851 * locale/findlocale.c (_nl_find_locale): Fix constness error in
14852 the previous change.
14853
14854 [BZ #15969]
14855 * locale/findlocale.c (_nl_find_locale): Retry archive search
14856 after alias expansion.
14857
14858 2015-02-25 Roland McGrath <roland@hack.frob.com>
14859
14860 * iconv/tst-iconv3.c (main): Converted to ...
14861 (do_test): ... this.
14862 (TEST_FUNCTION): New macro.
14863 Include test-skeleton.c.
14864
14865 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
14866 (convert): Make function static.
14867 (test_unalign): Likewise. Add const to argument pointee types.
14868 (main): Replace with static function do_test.
14869 Print "Succeeded." only if RET is zero.
14870 (TEST_FUNCTION): New macro.
14871 Include test-skeleton.c.
14872
14873 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
14874 returns a null pointer.
14875
14876 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14877
14878 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
14879 to __memcpy_ppc only for static builds.
14880
14881 2015-02-25 Joseph Myers <joseph@codesourcery.com>
14882
14883 [BZ #18020]
14884 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
14885 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
14886 * math/auto-libm-test-in: Add more tests of asinh.
14887 * math/auto-libm-test-out: Regenerated.
14888 * sysdeps/i386/fpu/libm-test-ulps: Update.
14889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14890
14891 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
14892
14893 [BZ #15850]
14894 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
14895 and ip6_mtuinfo definitions here.
14896 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
14897 in this define too. Update comment.
14898
14899 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
14900
14901 * elf/sprof.c (load_shobj): Tweak error message to match others.
14902
14903 2015-02-24 Kevin Easton <kevin@guarana.org>
14904
14905 [BZ #16145] (partial fix)
14906 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
14907 to reduce lock contention.
14908
14909 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
14910
14911 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
14912 (struct timex): Update time comment.
14913 (ADJ_SETOFFSET): Define.
14914
14915 2015-02-24 Joseph Myers <joseph@codesourcery.com>
14916
14917 [BZ #18019]
14918 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14919 2**56 not 2**28 as threshold for log (2x) formula.
14920 * math/auto-libm-test-in: Add more tests of acosh.
14921 * math/auto-libm-test-out: Regenerated.
14922 * sysdeps/i386/fpu/libm-test-ulps: Update.
14923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14924
14925 2015-02-24 Mike Frysinger <vapier@gentoo.org>
14926
14927 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
14928 parenthesis around the buf assignment.
14929 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
14930
14931 2015-02-24 Joseph Myers <joseph@codesourcery.com>
14932
14933 [BZ #16783]
14934 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
14935 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
14936 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
14937 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14938 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14939 * math/libm-test.inc (scalb_test_data): Add more tests.
14940
14941 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14942
14943 [BZ #17916]
14944 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
14945 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
14946
14947 2015-02-24 Eric Rannaud <e@nanocritical.com>
14948
14949 [BZ #17523]
14950 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
14951 * io/bits/fcntl2.h (open): Use it.
14952 (openat): Likewise.
14953 * io/open.c (__libc_open): Likewise.
14954 * io/open64.c (__libc_open64): Likewise.
14955 * io/open64_2.c (__open64_2): Likewise.
14956 * io/open_2.c (__open_2): Likewise.
14957 * io/openat.c (__openat): Likewise.
14958 * io/openat64.c (__openat64): Likewise.
14959 * io/openat64_2.c (__openat64_2): Likewise.
14960 * io/openat_2.c (__openat_2): Likewise.
14961 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
14962 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14963 * sysdeps/posix/open64.c (__libc_open64): Likewise.
14964 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14965 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14966 (__open_nocancel): Likewise.
14967 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14968 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14969 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
14970
14971 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14972
14973 [BZ #14841]
14974 * resolv/gethnamaddr.c (getanswer): Skip logging if
14975 RES_USE_DNSSEC is set.
14976 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14977
14978 2015-02-24 Mike Frysinger <vapier@gentoo.org>
14979
14980 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
14981
14982 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
14983
14984 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14985 201304L, for Unicode 7.
14986
14987 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
14988
14989 [BZ #17836]
14990 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
14991 shared library. Add gmon-start.os otherwise.
14992 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
14993 $(objpfx)gmon-start.os if builing shared library.
14994 ($(objpfx)g$(static-start-installed-name)): Likewise.
14995
14996 2015-02-23 Andreas Schwab <schwab@suse.de>
14997
14998 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
14999
15000 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
15001
15002 [BZ #17269]
15003 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
15004 (enlarge_userbuf): Likewise.
15005
15006 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
15007
15008 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
15009 * math/atest-exp.c (TIMEOUT): Adjust to 200.
15010 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
15011 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
15012
15013 2015-02-20 Joseph Myers <joseph@codesourcery.com>
15014
15015 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
15016 expression inside statement expression.
15017
15018 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15019
15020 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
15021 <sysdeps/nptl/lowlevellock.h> and remove macros and
15022 functions that are now defined there.
15023 (SYS_futex): Remove.
15024 (lll_compare_and_swap): Remove.
15025 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
15026
15027 2015-02-19 Joseph Myers <joseph@codesourcery.com>
15028
15029 [BZ #17999]
15030 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
15031 instead of scandirat.
15032 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
15033 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
15034 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
15035 __scandirat.
15036 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
15037 (__scandirat): Declare. Use libc_hidden_proto.
15038 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
15039 Remove variable.
15040 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
15041
15042 2015-02-18 Joseph Myers <joseph@codesourcery.com>
15043
15044 [BZ #15319]
15045 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
15046 (MO): New macro.
15047 (__ieee754_atan2): For results with small absolute value, force
15048 underflow exception and remove excess range and precision from
15049 return value.
15050 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
15051 (MO): New macro.
15052 (__ieee754_atan2f): For results with small absolute value, force
15053 underflow exception and remove excess range and precision from
15054 return value.
15055 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
15056 (MO): New macro.
15057 (__atan): For results with small absolute value, force underflow
15058 exception and remove excess range and precision from return value.
15059 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
15060 (MO): New macro.
15061 (__atanf): For results with small absolute value, force underflow
15062 exception and remove excess range and precision from return value.
15063 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
15064 <math.h>.
15065 (__ieee754_atan2): Force underflow exception for results with
15066 small absolute value.
15067 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
15068 <math_private.h>.
15069 (atan): Force underflow exception for results with small absolute
15070 value.
15071 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
15072 (__atanf): Force underflow exception for results with small
15073 absolute value.
15074 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
15075 <math.h>.
15076 (__atanl): Force underflow exception for results with small
15077 absolute value.
15078 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
15079 (__atanl): Force underflow exception for results with small
15080 absolute value.
15081 * sysdeps/x86/fpu/bits/mathinline.h
15082 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
15083 (__ieee754_atan2): Only define inline for long double.
15084 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15085 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
15086 * math/auto-libm-test-in: Do not mark underflow exceptions as
15087 possibly missing for bug 15319. Add more tests of atan2.
15088 * math/auto-libm-test-out: Regenerated.
15089 * math/libm-test.inc (casin_test_data): Do not mark underflow
15090 exceptions as possibly missing for bug 15319.
15091 (casinh_test_data): Likewise.
15092 * sysdeps/i386/fpu/libm-test-ulps: Update.
15093
15094 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
15095
15096 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
15097 * sysdeps/mips/bits/endian.h: Fix comments.
15098
15099 2015-02-18 Joseph Myers <joseph@codesourcery.com>
15100
15101 [BZ #17996]
15102 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
15103 (hdestroy_r): Likewise.
15104 (hsearch_r): Likewise.
15105 (__hcreate_r): Declare and use libc_hidden_proto.
15106 (__hdestroy_r): Likewise.
15107 (__hsearch_r): Likewise.
15108 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
15109 (hcreate): Call __hcreate_r instead of hcreate_r.
15110 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
15111 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
15112 as weak alias of __hcreate_r.
15113 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
15114 __hdestroy_r.
15115 (hsearch_r): Rename to __hsearch_r and define as weak alias of
15116 __hsearch_r.
15117 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
15118 Remove variable.
15119 (test-xfail-XPG4/search.h/linknamespace): Likewise.
15120 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
15121 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
15122 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
15123
15124 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15125
15126 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
15127 arena_lock into a single arena_get.
15128
15129 2015-02-17 Carlos O'Donell <carlos@redhat.com>
15130
15131 * dl-reloc.c: Inlucde libc-internal.h.
15132 (_dl_try_allocate_static_tls): Call ALIGN_UP.
15133 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
15134 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
15135 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
15136 (grow_heap): Likewise.
15137 * malloc/malloc.c: Include libc-internal.h.
15138 (do_check_malloc): Call powerof2.
15139 (sysmalloc): Use pagesize. Call ALIGN_UP.
15140 (systrim): Use pagesize.
15141 (mremap_chunk): Use pagesize. Call ALIGN_UP.
15142 (__libc_valloc): Use pagesize.
15143 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
15144
15145 2015-02-17 Joseph Myers <joseph@codesourcery.com>
15146
15147 [BZ #17991]
15148 * include/sys/resource.h (__getrlimit64): Declare. Use
15149 libc_hidden_proto.
15150 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
15151 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
15152 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
15153 getrlimit64.
15154 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
15155 __getrlimit64.
15156 [!getrlimit64] (getrlimit64): Define as weak alias of
15157 __getrlimit64. Use libc_hidden_weak.
15158 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
15159 using __getrlimit64 not __new_getrlimit64.
15160 (__GI_getrlimit64): Likewise.
15161 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
15162 Likewise.
15163 (__GI_getrlimit64): Likewise.
15164 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
15165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
15166 (getrlimit): Add __getrlimit64 alias.
15167 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
15168 Likewise.
15169 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
15170 Remove variable.
15171 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
15172 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
15173
15174 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
15175
15176 * libio/fileops.c: Add missing sys/mman.h
15177 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
15178
15179 2015-02-17 Joseph Myers <joseph@codesourcery.com>
15180
15181 * manual/math.texi (Errors in Math Functions): Clarify goals
15182 regarding inexact and underflow exceptions.
15183
15184 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
15185
15186 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
15187 * sysdeps/mips/memset.S: Ditto.
15188
15189 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
15190
15191 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
15192
15193 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
15194
15195 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
15196 (__v1longjmp): Remove versioned symbol.
15197 (__v1siglongjmp): Remove alias and versioned symbol.
15198 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
15199 (__v2siglongjmp): Likewise.
15200
15201 2015-02-16 Torvald Riegel <triegel@redhat.com>
15202
15203 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
15204
15205 2015-02-16 Mike Frysinger <vapier@gentoo.org>
15206
15207 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
15208
15209 2015-02-16 Joseph Myers <joseph@codesourcery.com>
15210
15211 [BZ #17987]
15212 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
15213 zero result does not depend on the sign resulting from
15214 subtraction.
15215 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15216 Likewise.
15217 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15218 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15219 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15220 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15221 * math/libm-test.inc (remquo_test_data): Add more tests.
15222
15223 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
15224
15225 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
15226 Problem reported by J William Piggott.
15227
15228 2015-02-16 Joseph Myers <joseph@codesourcery.com>
15229
15230 [BZ #17978]
15231 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
15232 products 4 * y and 2 * y where those would overflow.
15233 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15234 Likewise.
15235 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
15236 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
15237 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15238 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
15239 * math/libm-test.inc (remquo_test_data): Add more tests.
15240
15241 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
15242
15243 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
15244 [defined _COMPILING_NEWLIB].
15245 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
15246 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
15247
15248 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
15249 [!defined __mips_isa_rev || __mips_isa_rev < 6].
15250
15251 2015-02-16 Torvald Riegel <triegel@redhat.com>
15252
15253 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
15254 acquired.
15255
15256 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
15257
15258 [BZ #17792]
15259 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
15260 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
15261 HOST_STACK_END_ADDR): Likewise.
15262
15263 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
15264
15265 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
15266 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
15267 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
15268
15269 2015-02-13 Roland McGrath <roland@hack.frob.com>
15270
15271 * sysdeps/generic/c++-types.data: New file.
15272 * sysdeps/generic/ld.abilist: New file.
15273 * sysdeps/generic/libBrokenLocale.abilist: New file.
15274 * sysdeps/generic/libanl.abilist: New file.
15275 * sysdeps/generic/libc.abilist: New file.
15276 * sysdeps/generic/libcrypt.abilist: New file.
15277 * sysdeps/generic/libdl.abilist: New file.
15278 * sysdeps/generic/libm.abilist: New file.
15279 * sysdeps/generic/libpthread.abilist: New file.
15280 * sysdeps/generic/libresolv.abilist: New file.
15281 * sysdeps/generic/librt.abilist: New file.
15282
15283 2015-02-13 Joseph Myers <joseph@codesourcery.com>
15284
15285 [BZ #17569]
15286 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
15287 Compute absolute value of x as modified by fmod, not original
15288 value of x.
15289 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
15290 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
15291 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
15292 RUN_TEST_ffI_f1_mod8.
15293 (remquo_test_data): Add more tests.
15294
15295 2015-02-13 Roland McGrath <roland@hack.frob.com>
15296
15297 * sysdeps/init_array/pt-crti.S: New file.
15298
15299 2015-02-13 Joseph Myers <joseph@codesourcery.com>
15300
15301 [BZ #17967]
15302 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
15303 __builtin_fmaf instead of relying on contraction of a * b + c.
15304
15305 2015-02-12 J William Piggott <elseifthen@gmx.com>
15306
15307 [BZ #17969]
15308 * manual/time.texi: correct the zoneinfo path in the TZ Variable
15309 node.
15310
15311 2015-02-12 Joseph Myers <joseph@codesourcery.com>
15312
15313 [BZ #17964]
15314 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
15315 __builtin_fma instead of relying on contraction of a * b + c.
15316
15317 2015-02-12 Roland McGrath <roland@hack.frob.com>
15318
15319 * Makeconfig (ASFLAGS): Add -Werror=undef.
15320 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
15321 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
15322 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
15323
15324 * Makeconfig (after-link): New variable.
15325 (+link-pie, +link-pie-tests): Use it.
15326 (+link-static, +link-static-tests): Likewise.
15327 (+link, +link-tests): Likewise.
15328 * Makerules (build-module, build-module-asneeded): Likewise.
15329 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
15330 Likewise.
15331 * elf/Makefile ($(objpfx)ld.so): Likewise.
15332
15333 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
15334
15335 [BZ #17965]
15336 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
15337 both struct timeval and struct timespec.
15338
15339 2015-02-12 Joseph Myers <joseph@codesourcery.com>
15340
15341 [BZ #16560]
15342 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15343 and redefine.
15344 (__ieee754_exp2l): Do not multiply small fractional parts by
15345 M_LN2l.
15346 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
15347 small argument.
15348 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15349 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15350 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
15351 * math/auto-libm-test-in: Add more tests of exp2.
15352 * math/auto-libm-test-out: Regenerated.
15353
15354 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15355
15356 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
15357 unaligned path.
15358
15359 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15360
15361 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
15362 little endian.
15363
15364 2015-02-12 Andreas Schwab <schwab@suse.de>
15365
15366 [BZ #15790]
15367 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15368 Filter out elision flags from value returned in kind.
15369 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
15370 * nptl/tst-pthread-mutexattr.c: New file.
15371
15372 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
15373
15374 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
15375 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
15376 into gnu-gnu, and update comment to refer to abi-tags.
15377
15378 2015-02-11 Joseph Myers <joseph@codesourcery.com>
15379
15380 [BZ #15467]
15381 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
15382 (__sincos): Set errno to EDOM for infinite argument.
15383 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
15384 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
15385 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
15386 (__sincosl): Set errno to EDOM for infinite argument.
15387 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
15388 (__sincosl): Set errno to EDOM for infinite argument.
15389 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
15390 (__sincosl): Set errno to EDOM for infinite argument.
15391 * math/libm-test.inc (sincos_test_data): Test errno setting.
15392
15393 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
15394
15395 * string/strxfrm_l.c: Remove #define STRCMP.
15396 * string/strcoll_l.c: Remove #define STRLEN.
15397 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
15398 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
15399
15400 2015-02-10 Joseph Myers <joseph@codesourcery.com>
15401
15402 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
15403 * sysdeps/mips/mips32/sfp-machine.h: ... here.
15404 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
15405 * sysdeps/mips/mips64/Makefile: ... here.
15406 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
15407 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
15408 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
15409 * sysdeps/mips/mips64/sfp-machine.h: ... here.
15410 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
15411 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
15412 * sysdeps/mips/mips64/n64/Implies: Likewise.
15413
15414 2015-02-10 Roland McGrath <roland@hack.frob.com>
15415
15416 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
15417 <sys/time.h>, <string.h>, and <errno.h>.
15418 (dest_offset, dest_address, value, zero): Remove unused variables.
15419 (ldouble): Remove typedef.
15420 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
15421 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
15422 1). Fix code style.
15423 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
15424 (check): Function removed.
15425 (CHECK): New macro.
15426 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
15427 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
15428 Don't call set_sigaction_FP and remove_sigaction_FP here.
15429 (ldouble_test): Just use 'long double' as macro argument, no need for
15430 the 'ldouble' typedef.
15431 (do_test): Set up SIGFPE handler at start, using plain signal rather
15432 than sigaction. Fix code style.
15433
15434 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
15435
15436 [BZ #17949]
15437 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
15438 jump label.
15439
15440 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
15441
15442 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
15443 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15444
15445 * sysdeps/powerpc/configure.ac: Remove file.
15446 * sysdeps/powerpc/configure: Likewise.
15447
15448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15449 [sysdep_routines]: Remove wordcopy-power6 object.
15450 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15451 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
15452 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
15453 (__memmove_ppc32): Likewise.
15454 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
15455 file.
15456 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
15457 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
15458 Remove preprocessor.
15459
15460 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15461 [sysdep_routines]: Remove wide chars objects.
15462 [wcsmbs]: New rule for wide char objects.
15463
15464 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15465 Remove wordcopy-power6 obejct.
15466 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
15467 Use local call for wordcopy and memcpy symbols.
15468 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
15469 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
15470 implementation for loader.
15471 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
15472
15473 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15474 Remove wordcopy-power7 object.
15475 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
15476 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
15477 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
15478 (_wordcopy_fwd_dest_aligned): Likewise.
15479 (_wordcopy_bwd_aligned): Likewise.
15480 (_wordcopy_bwd_dest_aligned): Likewise.
15481
15482 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
15483 Rewrite to call __memmove_ppc instead of include default
15484 implementation.
15485
15486 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15487 Remove wide chars objects.
15488 [wcsmbs]: New rule for wide char objects.
15489
15490 2015-02-09 Andreas Schwab <schwab@suse.de>
15491
15492 [BZ #17912]
15493 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15494 in terms of __O_DIRECTORY.
15495
15496 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
15497
15498 * time/getdate.c: Include <stdbool.h>.
15499 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
15500 call PTR_MANGLE.
15501 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
15502 PTR_DEMANGLE.
15503
15504 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
15505
15506 Add ersatz _Static_assert on older C hosts
15507 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
15508 pre-C11 C platform that is not known to support _Static_assert.
15509
15510 2015-02-07 Richard Braun <rbraun@sceen.net>
15511
15512 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
15513 sigstate.
15514 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
15515
15516 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
15517
15518 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
15519 priority against unexistent AIO_PRIO_DELTA_MAX.
15520 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
15521 instead of int.
15522 * misc/fchflags.c (fchflags): Likewise.
15523 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
15524 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
15525 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
15526 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
15527 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
15528 Declare macros.
15529 [__USE_MISC] (chflags, fchflags): Declare functions.
15530 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
15531 EINVAL when nfds is greater than FD_SETSIZE.
15532 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
15533 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
15534 45.
15535 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
15536 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
15537 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
15538 MACH_RCV_TIMED_OUT.
15539 * hurd/hurd/signal.h (_hurd_self_sigstate,
15540 _hurd_critical_section_lock, _hurd_critical_section_unlock):
15541 Explicit casts from void *.
15542 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
15543 * abi-tags: Rename gnu-gnu os into gnu.
15544
15545 [BZ #4719]
15546 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
15547 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
15548 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
15549 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
15550 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
15551 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
15552
15553 [BZ #17944]
15554 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
15555 duplicates ADDR->sun_path with sockaddr LEN limitation.
15556 * sysdeps/mach/hurd/connect.c: Include <string.h>
15557 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
15558 * sysdeps/mach/hurd/sendmsg.c: Likewise.
15559 * sysdeps/mach/hurd/sendto.c: Likewise.
15560 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
15561 implementing it by hand.
15562
15563 2015-02-06 Roland McGrath <roland@hack.frob.com>
15564
15565 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
15566 Use sfi_breg on ldr.
15567 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
15568 Likewise.
15569
15570 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
15571 it's defined.
15572 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
15573 Test SIGSETXID only if it's defined.
15574
15575 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
15576
15577 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
15578 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
15579
15580 * nptl/tst-align2.c: Moved ...
15581 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
15582 * nptl/Makefile (tests): Remove tst-align2.
15583 * sysdeps/unix/sysv/linux/Makefile
15584 [$(subdir) = nptl] (tests): Add tst-align-clone.
15585 * nptl/tst-getpid1.c: Moved ...
15586 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
15587 * nptl/tst-getpid2.c: Moved ...
15588 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
15589 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
15590 * sysdeps/unix/sysv/linux/Makefile
15591 [$(subdir) = nptl] (tests): ... here.
15592 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
15593 * sysdeps/unix/sysv/linux/Makefile
15594 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
15595
15596 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
15597 Drop trailing \n from perror argument. Use return rather than exit.
15598
15599 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
15600 on [SA_SIGINFO].
15601 * nptl/tst-cancel21.c (do_test): Likewise.
15602 * debug/tst-backtrace6.c: Include <signal.h> first thing.
15603 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
15604 [!SA_SIGINFO]: Make it a stub test.
15605
15606 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
15607 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
15608
15609 * posix/tst-getlogin.c: Move to ...
15610 * login/tst-getlogin.c: ... here.
15611 * posix/Makefile (tests): Move tst-getlogin to ...
15612 * login/Makefile (tests): ... here.
15613
15614 * libio/tst-atime.c (do_test): Move local variables SV and E
15615 inside [ST_NOATIME] conditional.
15616
15617 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
15618
15619 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
15620
15621 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
15622 (wait_code): New function replaces macro.
15623 Call nanosleep rather than syscall.
15624
15625 * nptl/pt-system.c: Rewritten. Put everything under
15626 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15627 Use IFUNC to redirect when possible.
15628
15629 * nptl/pt-longjmp.c: Rewritten. Put everything under
15630 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15631 Use IFUNC to redirect when possible.
15632
15633 * nptl/pt-fork.c: Rewritten. Put everything under
15634 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15635 Use IFUNC to redirect when possible.
15636 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
15637
15638 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
15639 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
15640 unconditionally nowadays. This included the only reference to
15641 __vdso_clock_gettime that appears outside libc proper.
15642 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
15643 Remove version set (containing only __vdso_clock_gettime).
15644 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15645 Add attribute_hidden.
15646 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15647 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
15648 libc_hidden_data_def.
15649 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15650 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15651
15652 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
15653 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
15654 setrpcent, and getrpcport to ...
15655 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
15656 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
15657 getrpcbynumber_r, and getrpcent_r to ...
15658 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
15659 * inet/getrpcbyname.c: Moved ...
15660 * sunrpc/getrpcbyname.c: ... here.
15661 * inet/getrpcbyname_r.c: Moved ...
15662 * sunrpc/getrpcbyname_r.c: ... here.
15663 * inet/getrpcbynumber.c: Moved ...
15664 * sunrpc/getrpcbynumber.c: ... here.
15665 * inet/getrpcbynumber_r.c: Moved ...
15666 * sunrpc/getrpcbynumber_r.c: ... here.
15667 * inet/getrpcent.c: Moved ...
15668 * sunrpc/getrpcent.c: ... here.
15669 * inet/getrpcent_r.c: Moved ...
15670 * sunrpc/getrpcent_r.c: ... here.
15671 * inet/Makefile (routines): Move those to ...
15672 * sunrpc/Makefile (routines): ... here.
15673 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
15674 the $(subdirs) list.
15675 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
15676 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
15677 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
15678 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
15679
15680 * elf/Makefile (routines): Include $(all-dl-routines), not just
15681 $(dl-routines).
15682 (rtld-routines): Likewise. Use = rather than :=.
15683 * sysdeps/aarch64/Makefile [$(subdir) = elf]
15684 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
15685 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
15686 * sysdeps/arm/Makefile: Likewise.
15687 * sysdeps/i386/Makefile: Likewise.
15688 * sysdeps/x86_64/Makefile: Likewise.
15689 * sysdeps/hppa/Makefile [$(subdir) = elf]
15690 (sysdep_routines, sysdep-rtld-routines): Don't add
15691 $(sysdep-dl-routines) to these.
15692 * sysdeps/ia64/Makefile: Likewise.
15693 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
15694 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
15695 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
15696 Don't add dl-static to these; sysdep-dl-routines alone is enough.
15697 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
15698 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
15699 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
15700 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
15701 * sysdeps/powerpc/Makefile [$(subdir) = elf]
15702 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
15703 these; sysdep-dl-routines alone is enough.
15704
15705 2015-02-06 Joseph Myers <joseph@codesourcery.com>
15706
15707 [BZ #17932]
15708 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
15709 where multiplication results in zero and third argument is finite
15710 and nonzero.
15711 * math/auto-libm-test-in: Add more tests of fma.
15712 * math/auto-libm-test-out: Regenerated.
15713
15714 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
15715 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
15716 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
15717 (_FP_CMP_EQ): Likewise.
15718 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
15719
15720 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
15721 extra argument CHECK_NAN. Redefine as wrapper around
15722 _FP_EXTEND_CNAN.
15723
15724 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
15725
15726 * version.h (RELEASE): Set to "stable".
15727 (VERSION): Set to "2.21"
15728 * include/features.h (__GLIBC_MINOR__): Set to 21.
15729
15730 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
15731
15732 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15733 Paul Eggert <eggert@cs.ucla.edu>
15734
15735 [BZ #16618]
15736 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
15737 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
15738 size in bytes. Store needed elements in wpmax. Use needed size
15739 in bytes for extend_alloca.
15740
15741 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
15742
15743 * manual/install.texi: Latest tested versions are GCC 4.9.2,
15744 binutls 2.25, and texinfo 5.2.
15745 * INSTALL: Regenerate.
15746 * sysdeps/nios2/configure: Regenerate.
15747 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
15748 * manual/contrib.texi: Update.
15749 * po/be.po: Update.
15750 * po/bg.po: Update.
15751 * po/ca.po: Update.
15752 * po/cs.po: Update.
15753 * po/da.po: Update.
15754 * po/de.po: Update.
15755 * po/el.po: Update.
15756 * po/eo.po: Update.
15757 * po/es.po: Update.
15758 * po/fi.po: Update.
15759 * po/fr.po: Update.
15760 * po/gl.po: Update.
15761 * po/hr.po: Update.
15762 * po/hu.po: Update.
15763 * po/ia.po: Update.
15764 * po/id.po: Update.
15765 * po/it.po: Update.
15766 * po/ja.po: Update.
15767 * po/ko.po: Update.
15768 * po/lt.po: Update.
15769 * po/nb.po: Update.
15770 * po/nl.po: Update.
15771 * po/pl.po: Update.
15772 * po/pt_BR.po: Update.
15773 * po/ru.po: Update.
15774 * po/rw.po: Update.
15775 * po/sk.po: Update.
15776 * po/sl.po: Update.
15777 * po/sv.po: Update.
15778 * po/tr.po: Update.
15779 * po/uk.po: Update.
15780 * po/vi.po: Update.
15781 * po/zh_CN.po: Update.
15782 * po/zh_TW.po: Update.
15783
15784 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
15785 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
15786 * sysdeps/hppa/dl-irel.h: Remove #warning.
15787 * sysdeps/hppa/entry.h: Provide prototype for
15788 __canonicalize_funcptr_for_compare and cast argument.
15789 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
15790 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
15791 * sysdeps/hppa/sotruss-lib.c: New file.
15792 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
15793 (atomic_compare_and_exchange_val_acq): Use __typeof__.
15794 (atomic_compare_and_exchange_bool_acq): Likewise.
15795 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
15796 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
15797
15798 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
15799 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
15800 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
15801
15802 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
15803
15804 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
15805 called function in non-PIC case.
15806
15807 2015-01-31 David S. Miller <davem@davemloft.net>
15808
15809 * sysdeps/sparc/sparc32/bits/atomic.h
15810 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
15811 unlock not after it.
15812 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
15813 volatile register usage warnings from the compiler.
15814
15815 * sysdeps/sparc/nptl/sem_init.c: Delete.
15816 * sysdeps/sparc/nptl/sem_post.c: Delete.
15817 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
15818 * sysdeps/sparc/nptl/sem_wait.c: Delete.
15819 * sysdeps/sparc/sparc32/sem_init.c: New file.
15820 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
15821 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
15822 padding explicitly initialized.
15823 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
15824 padding for in-semaphore spinlock.
15825 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
15826 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
15827 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
15828 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
15829 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
15830 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
15831 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
15832 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
15833 version.
15834 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
15835 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
15836
15837 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
15838
15839 [BZ #17801]
15840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15841 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
15842 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
15843 New.
15844 (index_AVX_Fast_Unaligned_Load): Likewise.
15845 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
15846 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
15847 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
15848 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
15849 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
15850 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
15851 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
15852 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
15853 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
15854
15855 2015-01-29 Andreas Schwab <schwab@suse.de>
15856
15857 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
15858
15859 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15860
15861 [BZ #17892]
15862 * nscd/nscd_stat.c (send_stats): Initialize DATA.
15863
15864 2015-01-28 Martin Sebor <msebor@redhat.com>
15865
15866 * math/README.libm-test: Clarify. Add "How to read the test output."
15867
15868 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
15869
15870 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
15871 Define to 0.
15872
15873 2015-01-28 Joseph Myers <joseph@codesourcery.com>
15874
15875 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
15876 (__HAVE_64B_ATOMICS): Define to 0.
15877
15878 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
15879
15880 [BZ #17885]
15881 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
15882 value to set as new flag.
15883
15884 [BZ #16576]
15885 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
15886 and use _ARCH_PPCSQ instead.
15887 (__ieee754_sqrt): Likewise.
15888 (__ieee754_sqrtf): Likewise.
15889 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
15890 _ARCH_PPCSQ is defined.
15891 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
15892 fsqrt instruction.
15893 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
15894 _ARCH_PPCSQ is defined.
15895 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
15896 fsqrts instruction.
15897 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
15898
15899 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15900
15901 * iconv/loop.c: Suppress array out of bound warning caused by GCC
15902 bug (GCC BZ #64739).
15903
15904 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
15905
15906 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
15907 Mark _retval as used.
15908 (lll_futex_wake_unlock): Likewise.
15909 (lll_futex_timed_wait_requeue_pi): Likewise.
15910
15911 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
15912 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
15913 register variables.
15914
15915 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
15916 libm_hidden_def.
15917
15918 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
15919 (__bswap_64): Mark as __always_inline.
15920
15921 2015-01-25 Bram <bug_rh@spam.wizbit.be>
15922
15923 [BZ #15378]
15924 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
15925 when none of the search directories exist.
15926
15927 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
15928
15929 [BZ #17869]
15930 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
15931 power8 in .machine directive.
15932
15933 [BZ #17868]
15934 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
15935 set dependency from opd value.
15936
15937 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
15938
15939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15940 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
15941 architecture.
15942
15943 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
15944
15945 [BZ #17870]
15946 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
15947 with uint64_t.
15948 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
15949 (uint64_t) 1.
15950 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
15951 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
15952 Replace 1UL with (uint64_t) 1.
15953 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
15954 int with uint64_t.
15955
15956 2015-01-23 Roland McGrath <roland@hack.frob.com>
15957
15958 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
15959 (if_freenameindex): Likewise.
15960
15961 * resource/getrlimit64.c: Add missing libc_hidden_def.
15962
15963 2015-01-22 Joseph Myers <joseph@codesourcery.com>
15964
15965 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
15966 __label__.
15967 (_FP_FMA): Likewise.
15968 (_FP_TO_INT_ROUND): Likewise.
15969 (_FP_FROM_INT): Likewise.
15970
15971 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15972
15973 [BZ #16418]
15974 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
15975 Make code racy and cancel safe.
15976
15977 2015-01-21 Carlos O'Donell <carlos@redhat.com>
15978
15979 * sysdeps/arm/unwind-resume.h: Fix copyright year.
15980 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
15981 attribution.
15982
15983 * pwd/tst-getpw.c: Rewrite.
15984
15985 [BZ #17702]
15986 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
15987 (modules-names): Add moddummy1 and moddummy2.
15988 ($(objpfx)tst-rec-dlopen): Define.
15989 * dlfcn/moddummy1.c: New file.
15990 * dlfcn/moddummy2.c: New file.
15991 * dlfcn/tst-rec-dlopen.c: New file.
15992 * elf/dl-cache.c (_dl_load_cache_lookup):
15993 Return char*. Copy result with alloca/strcpy/strdup.
15994 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
15995 returns char*. Free cached. If not saving realname
15996 free cached.
15997 * elf/dl-open.c (dl_open_worker): Do not assert that
15998 _r_debug->r_state is RT_CONSISTENT.
15999 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
16000 returns char*.
16001
16002 2015-01-21 Torvald Riegel <triegel@redhat.com>
16003 Carlos O'Donell <carlos@redhat.com>
16004
16005 [BZ #12674]
16006 * nptl/sem_waitcommon.c: New file.
16007 * nptl/sem_wait.c: Include sem_waitcommon.c.
16008 (__sem_wait_cleanup, do_futex_wait): Remove.
16009 (__new_sem_wait): Adapt.
16010 (__new_sem_trywait): New function.
16011 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
16012 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
16013 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
16014 (sem_timedwait): Adapt.
16015 * nptl/sem_post.c (__new_sem_post): Adapt.
16016 (futex_wake): New function.
16017 (__old_sem_post): Add release MO fence.
16018 * nptl/sem_open.c (sem_open): Adapt.
16019 * nptl/sem_init.c (__new_sem_init): Adapt.
16020 (futex_private_if_supported): New function.
16021 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
16022 (__old_sem_getvalue): Add using previous code.
16023 * sysdeps/nptl/internaltypes.h: Adapt.
16024 * nptl/tst-sem13.c (do_test): Adapt.
16025 * nptl/tst-sem11.c (main): Adapt.
16026 * nptl/sem_trywait.c: Remove.
16027 * nptl/DESIGN-sem.txt: Remove.
16028 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
16029 (gen-as-const-headers): Remove structsem.sym.
16030 * nptl/structsem.sym: Remove.
16031 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
16032 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
16033 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
16034 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
16035 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
16036 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
16037 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
16038 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
16039 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
16040 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
16041 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
16042 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
16043 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
16044 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
16045 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
16046 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
16047 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
16048 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
16049 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
16050 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
16051 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
16052 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
16053
16054 2015-01-20 Carlos O'Donell <carlos@redhat.com>
16055
16056 * INSTALL: Regenerated.
16057
16058 * po/libc.pot: Regenerated.
16059
16060 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
16061 Sandra Loosemore <sandra@codesourcery.com>
16062 Andrew Jenner <andrew@codesourcery.com>
16063 Joseph Myers <joseph@codesourcery.com>
16064 Nathan Sidwell <nathan@codesourcery.com>
16065
16066 * NEWS: Mention new Nios II port.
16067 * sysdeps/nios2/Implies: New file.
16068 * sysdeps/nios2/Makefile: New file.
16069 * sysdeps/nios2/Subdirs: New file.
16070 * sysdeps/nios2/Versions: New file.
16071 * sysdeps/nios2/__longjmp.S: New file.
16072 * sysdeps/nios2/abort-instr.h: New file.
16073 * sysdeps/nios2/backtrace.c: New file.
16074 * sysdeps/nios2/bits/endian.h: New file.
16075 * sysdeps/nios2/bits/fenv.h: New file.
16076 * sysdeps/nios2/bits/link.h: New file.
16077 * sysdeps/nios2/bits/setjmp.h: New file.
16078 * sysdeps/nios2/bsd-_setjmp.S: New file.
16079 * sysdeps/nios2/bsd-setjmp.S: New file.
16080 * sysdeps/nios2/configure: New generated file.
16081 * sysdeps/nios2/configure.ac: New file.
16082 * sysdeps/nios2/crti.S: New file.
16083 * sysdeps/nios2/crtn.S: New file.
16084 * sysdeps/nios2/dl-init.c: New file.
16085 * sysdeps/nios2/dl-machine.h: New file.
16086 * sysdeps/nios2/dl-sysdep.h: New file.
16087 * sysdeps/nios2/dl-tls.h: New file.
16088 * sysdeps/nios2/dl-trampoline.S: New file.
16089 * sysdeps/nios2/gccframe.h: New file.
16090 * sysdeps/nios2/gmp-mparam.h: New file.
16091 * sysdeps/nios2/jmpbuf-offsets.h: New file.
16092 * sysdeps/nios2/jmpbuf-unwind.h: New file.
16093 * sysdeps/nios2/ldsodefs.h: New file.
16094 * sysdeps/nios2/libc-tls.c: New file.
16095 * sysdeps/nios2/libm-test-ulps: New file.
16096 * sysdeps/nios2/machine-gmon.h: New file.
16097 * sysdeps/nios2/math-tests.h: New file.
16098 * sysdeps/nios2/math_private.h: New file.
16099 * sysdeps/nios2/memusage.h: New file.
16100 * sysdeps/nios2/nptl/Makefile: New file.
16101 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
16102 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
16103 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
16104 * sysdeps/nios2/nptl/pthreaddef.h: New file.
16105 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
16106 * sysdeps/nios2/nptl/tls.h: New file.
16107 * sysdeps/nios2/preconfigure: New file.
16108 * sysdeps/nios2/s_fma.c: New file.
16109 * sysdeps/nios2/s_fmaf.c: New file.
16110 * sysdeps/nios2/setjmp.S: New file.
16111 * sysdeps/nios2/sfp-machine.h: New file.
16112 * sysdeps/nios2/sotruss-lib.c: New file.
16113 * sysdeps/nios2/stackguard-macros.h: New file.
16114 * sysdeps/nios2/stackinfo.h: New file.
16115 * sysdeps/nios2/start.S: New file.
16116 * sysdeps/nios2/sysdep.h: New file.
16117 * sysdeps/nios2/tls-macros.h: New file.
16118 * sysdeps/nios2/tst-audit.h: New file.
16119 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
16120 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
16121 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
16122 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
16123 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
16124 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
16125 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
16126 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
16127 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
16128 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
16129 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
16130 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
16131 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
16132 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
16133 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
16134 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
16135 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
16136 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
16137 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
16138 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
16139 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
16140 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
16141 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
16142 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
16143 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
16144 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
16145 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
16146 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
16147 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
16148 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
16149 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
16150 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
16151 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
16152 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
16153 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
16154 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
16155 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
16156 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
16157 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
16158 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
16159 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
16160 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
16161 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
16162 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
16163
16164 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16165
16166 [BZ #17844]
16167 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
16168 (getutent): Use weak_alias in non SHARED case
16169 and default_symbol_version in SHARED case.
16170 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
16171 (getutent_r, pututline): Likewise.
16172 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
16173 (getutid): Likewise.
16174 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
16175 (getutid_r): Likewise.
16176 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
16177 (getutline): Likewise.
16178 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
16179 (getutline_r): Likewise.
16180 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
16181 (updwtmp): Likewise.
16182
16183 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16184
16185 [BZ #17848]
16186 * sysdeps/s390/s390-32/memcmp.S
16187 (memcmp_g5): Rename to __memcmp_g5.
16188 * sysdeps/s390/s390-32/memcpy.S
16189 (memcpy_g5): Rename to __memcpy_g5.
16190 Jump to __memcpy_mvcle instead of memcpy_mvcle.
16191 (memcpy_mvcle) Rename to __memcpy_mvcle.
16192 * sysdeps/s390/s390-32/memset.S
16193 (memset_g5): Rename to __memset_g5.
16194 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16195 (IFUNC_RESOLVE): Prefix ifunc-resolve function
16196 and use prefixed functions.
16197 * sysdeps/s390/s390-32/multiarch/memcmp.S
16198 (memcmp_z196): Rename to __memcmp_z196.
16199 (memcmp_z10): Rename to __memcmp_z10.
16200 (memcmp): Set alias to __memcmp_g5.
16201 (bcmp): Set alias to __memcmp_g5.
16202 * sysdeps/s390/s390-32/multiarch/memcpy.S
16203 (memcpy_z196): Rename to __memcpy_z196.
16204 Jump to __memcpy_mvcle instead of memcpy_mvcle.
16205 (memcpy_z10): Rename to __memcpy_z10.
16206 Jump to __memcpy_mvcle instead of memcpy_mvcle.
16207 (memcpy): Set alias to __memcpy_g5.
16208 * sysdeps/s390/s390-32/multiarch/memset.S
16209 (memset_z196): Rename to __memset_z196.
16210 Jump to __memset_mvcle instead of memset_mvcle.
16211 (memset_z10): Rename to __memset_z10.
16212 Jump to __memset_mvcle instead of memset_mvcle.
16213 (memset_mvcle) Rename to __memset_mvcle.
16214 (memset): Set alias to __memset_g5.
16215 * sysdeps/s390/s390-64/memcmp.S
16216 (memcmp_z900): Rename to __memcmp_z900.
16217 * sysdeps/s390/s390-64/memcpy.S
16218 (memcpy_z900): Rename to __memcpy_z900.
16219 Jump to __memcpy_mvcle instead of memcpy_mvcle.
16220 (memcpy_mvcle) Rename to __memcpy_mvcle.
16221 * sysdeps/s390/s390-64/memset.S
16222 (memset_z900): Rename to __memset_z900.
16223 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
16224 (IFUNC_RESOLVE): Prefix ifunc-resolve function
16225 and use prefixed functions.
16226 * sysdeps/s390/s390-64/multiarch/memcmp.S
16227 (memcmp_z196): Rename to __memcmp_z196.
16228 (memcmp_z10): Rename to __memcmp_z10.
16229 (memcmp): Set alias to __memcmp_z900.
16230 (bcmp): Set alias to __memcmp_z900.
16231 * sysdeps/s390/s390-64/multiarch/memcpy.S
16232 (memcpy_z196): Rename to __memcpy_z196.
16233 Jump to __memcpy_mvcle instead of memcpy_mvcle.
16234 (memcpy_z10): Rename to __memcpy_z10.
16235 Jump to __memcpy_mvcle instead of memcpy_mvcle.
16236 (memcpy): Set alias to __memcpy_z900.
16237 * sysdeps/s390/s390-64/multiarch/memset.S
16238 (memset_z196): Rename to __memset_z196.
16239 Jump to __memset_mvcle instead of memset_mvcle.
16240 (memset_z10): Rename to __memset_z10.
16241 Jump to __memset_mvcle instead of memset_mvcle.
16242 (memset_mvcle) Rename to __memset_mvcle.
16243 (memset): Set alias to __memset_z900.
16244
16245 2015-01-14 Joseph Myers <joseph@codesourcery.com>
16246
16247 [BZ #17748]
16248 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
16249 __fesetenv instead of fesetenv.
16250
16251 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16252
16253 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
16254 macro.
16255
16256 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16257
16258 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
16259 regression on LE.
16260
16261 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
16262 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
16263 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16264 strncmp-power8 object.
16265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16266 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
16267 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
16268 * NEWS: Update.
16269
16270 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16271 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16272
16273 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
16274 trailing byte check.
16275
16276 2015-01-13 David S. Miller <davem@davemloft.net>
16277
16278 * include/signal.h (__sigreturn): Guard with __USE_MISC.
16279
16280 2015-01-13 Roland McGrath <roland@hack.frob.com>
16281
16282 * login/logout.c (logout): Use memset rather than bzero.
16283 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
16284 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
16285 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
16286 (_gethtbyaddr): Likewise.
16287 * locale/programs/simple-hash.c (bcopy): Macro removed.
16288
16289 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16290
16291 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16292 Add strcmp-power8 object.
16293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16294 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
16295 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
16296 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
16297 __strcmp_power8 implementation.
16298 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
16299 * NEWS: Update.
16300
16301 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16302 Add strncpy-power8 and stpncpy-power8 objects.
16303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16304 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
16305 implementations.
16306 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
16307 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
16308 __stpncpy_power8 implementation.
16309 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
16310 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
16311 __strncpy_power8 implementation.
16312 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
16313 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
16314 * NEWS: Update.
16315
16316 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
16317 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
16318 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
16319
16320 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16321 strncat-power8 object.
16322 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
16323 __strcat_power8 implementation.
16324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16325 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
16326 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
16327 optimized strcat for power8.
16328
16329 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
16330 strcpy-power8 and stpcpy-power8 objects.
16331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16332 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
16333 implementations.
16334 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
16335 multiarch stpcpy implementation for POWER8.
16336 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
16337 multiarch strcpy implementation for POWER8.
16338 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
16339 __strcpy_power8 function.
16340 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
16341 stpcpy for POWER8.
16342 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
16343 strcpy for POWER8.
16344 * NEWS: Update.
16345
16346 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
16347
16348 [BZ #16009]
16349 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
16350 weights and rules. Use do_xfrm_cached if data fits in cache,
16351 do_xfrm otherwise. Moved former main loop to...
16352 * (do_xfrm_cached): New function.
16353 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
16354 find_idx, find_position and stack_push.
16355 * (find_idx): New function.
16356 * (find_position): Likewise.
16357 * localedata/sort-test.sh: Added test run for do_xfrm.
16358 * localedata/xfrm-test.c (main): Added command line option
16359 -nocache to run the test with strings that are too large for
16360 the STRXFRM cache.
16361
16362 2015-01-13 Torvald Riegel <triegel@redhat.com>
16363
16364 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
16365 variable to lll_futex_wake call, not the value itself.
16366
16367 2015-01-12 Joseph Myers <joseph@codesourcery.com>
16368
16369 [BZ #17803]
16370 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
16371 twom64. Adjust value to 0x1p-64L.
16372 (__scalblnl): Only return standard underflowing result for K <=
16373 -64 not K <= -63; adjust exponent for underflowing result by 64
16374 not 63.
16375 * math/libm-test.inc (scalbn_test_data): Add more tests.
16376 (scalbln_test_data): Likewise.
16377
16378 [BZ #17834]
16379 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
16380 0x1p63L.
16381 (__scalblnl): Get new exponent of adjusted subnormal value from ES
16382 not HX.
16383 * math/libm-test.inc (scalbn_test_data): Add more tests.
16384 (scalbln_test_data): Likewise.
16385
16386 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16387 Stefani Seibold <stefani@seibold.net>
16388
16389 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
16390 (sysdep_routines): Add dl-vdso here, ...
16391 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
16392 (sysdep_routines): ... not here.
16393 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
16394 fallback when vDSO is not presented.
16395 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16396 Define with libc_hidden_proto/libc_hidden_data_def definitions.
16397 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
16398 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
16399 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
16400 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
16401 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
16402 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
16403 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
16404 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
16405 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
16406 fallback configurable symbol when vDSO is not available.
16407 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
16408 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
16409 be able to redefine fallback symbol when vDSO is not available.
16410 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
16411 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
16412
16413 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16414
16415 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
16416 (TLS_INIT_TP): Add tm_capable initialization.
16417 (TLS_DEFINE_INIT_TP): Likewise.
16418 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
16419 TCB.
16420 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
16421 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
16422 calculation.
16423 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
16424 transactoion is lock elision is built and TCB tm_capable is set.
16425 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
16426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16427 (INTERNAL_SYSCALL_NCS): Likewise.
16428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16429 (INTERNAL_SYSCALL_NCS): Likewise.
16430 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
16431
16432 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
16433 for powerpc.
16434 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16435 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
16436 and remove it for 32 bits case.
16437 [pthread_rwlock_t] (__rwelision): New field for lock elision.
16438 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
16439 initialization.
16440 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
16441 Disable lock elision with rdlocks if elision is not available.
16442
16443 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
16444 (sysdep_routines): Add lock elision objects.
16445 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16446 [pthread_mutex_t] (__spins): Rework to add lock elision field.
16447 [pthread_mutex_t] (__elision): Add field.
16448 [__PTHREAD_SPINS]: Adjust to init lock elision field.
16449 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
16450 elision definitions for powerpc.
16451 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
16452 implementation of lock elision for powerpc.
16453 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
16454 implementation of timed lock elision for powerpc.
16455 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
16456 implementation of trylock with lock elision for powerpc.
16457 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
16458 implementaion of unlock for lock elision for powerpc.
16459 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
16460 automatic enable lock elision for mutexes.
16461 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
16462 transaction execution definitions for powerpc.
16463 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
16464 definitions.
16465 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
16466 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
16467 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
16468 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
16469 * NEWS: Update.
16470
16471 2015-01-09 Roland McGrath <roland@hack.frob.com>
16472
16473 * sysdeps/posix/shm-directory.c: Use <> rather than ""
16474 for #include of <shm-directory.h>.
16475
16476 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
16477
16478 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
16479 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
16480
16481 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
16482
16483 [BZ #17791]
16484 * NEWS: Mention bug fix.
16485 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
16486 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
16487 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
16488
16489 2015-01-09 Torvald Riegel <triegel@redhat.com>
16490
16491 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
16492
16493 2015-01-09 Torvald Riegel <triegel@redhat.com>
16494
16495 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
16496
16497 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
16498
16499 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
16500 pointer and cast to uintptr_t.
16501
16502 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
16503
16504 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
16505 removed.
16506 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
16507
16508 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
16509
16510 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
16511 of 0.
16512
16513 2015-01-08 Roland McGrath <roland@hack.frob.com>
16514
16515 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
16516 <nptl/pthreadP.h> instead.
16517 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
16518
16519 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
16520 already defined.
16521 [__SIGRTMIN] (init): Function removed.
16522 [__SIGRTMIN] (initialized): Variable removed.
16523 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
16524 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
16525 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
16526 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
16527 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
16528 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
16529 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
16530 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
16531 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
16532 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
16533 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
16534 * sysdeps/nptl/allocrtsig.c: New file.
16535 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
16536 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
16537 * sysdeps/generic/testrtsig.h: File removed.
16538
16539 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
16540 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
16541
16542 * nptl/nptl-init.c (pthread_functions): Conditionalize
16543 .ptr__nptl_setxid initialization on [SIGSETXID].
16544
16545 * sysdeps/nptl/sys/procfs.h: New file.
16546 * nptl_db/Makefile (headers): Add it.
16547 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
16548
16549 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
16550 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
16551 * nptl/pthread_attr_setaffinity.c: Include it.
16552 * nptl/pthread_setattr_default_np.c: Likewise.
16553 * nptl/check-cpuset.h: New file.
16554
16555 2015-01-08 Richard Henderson <rth@redhat.com>
16556
16557 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
16558 (CFLAGS-tst-execstack-prog.c): Likewise.
16559 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
16560
16561 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
16562 Sandra Loosemore <sandra@codesourcery.com>
16563 Andrew Jenner <andrew@codesourcery.com>
16564 Joseph Myers <joseph@codesourcery.com>
16565 Nathan Sidwell <nathan@codesourcery.com>
16566
16567 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
16568 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
16569 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
16570 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
16571 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
16572 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
16573 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
16574 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
16575 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
16576 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
16577 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
16578 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
16579 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
16580 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
16581 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
16582 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
16583 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
16584
16585 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16586
16587 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
16588 timespec struct member in syscall macro.
16589 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16590 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
16591 first timeval struct member in syscall macro.
16592 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
16593
16594 2015-01-07 Joseph Myers <joseph@codesourcery.com>
16595
16596 [BZ #17748]
16597 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
16598 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
16599 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
16600 __feupdateenv and define as weak alias of __feupdateenv. Use
16601 libm_hidden_weak.
16602 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
16603 libm_hidden_def.
16604 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
16605 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
16606 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16607 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
16608 libm_hidden_def.
16609 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
16610 __feupdateenv and define as weak alias of __feupdateenv. Use
16611 libm_hidden_weak.
16612 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
16613 libm_hidden_def.
16614 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
16615 __feupdateenv and define as weak alias of __feupdateenv. Use
16616 libm_hidden_weak.
16617 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
16618 libm_hidden_def.
16619 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16620 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16621 (__feupdateenv): Likewise.
16622 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
16623 __feupdateenv and define as weak alias of __feupdateenv. Use
16624 libm_hidden_weak.
16625 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16626 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
16627 libm_hidden_def.
16628 * sysdeps/tile/math_private.h (__feupdateenv): New inline
16629 function.
16630 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
16631 libm_hidden_def.
16632 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
16633 __feupdateenv instead of feupdateenv.
16634 (default_libc_feupdateenv_test): Likewise.
16635 (libc_feresetround_ctx): Likewise.
16636
16637 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16638
16639 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
16640 prototype.
16641
16642 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
16643
16644 * posix/regcomp.c (parse_bracket_exp): Initialize type to
16645 COLL_SYM in a couple of places to avoid uninitialized variable
16646 wanings on tilegx gcc 4.8.2.
16647
16648 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
16649
16650 * sysdeps/aarch64/strcpy.S: New file.
16651 * sysdeps/aarch64/stpcpy.S: New file.
16652 * NEWS: Updated.
16653
16654 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
16655
16656 * sysdeps/aarch64/strrchr.S: New file.
16657 * NEWS: Updated.
16658
16659 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
16660
16661 [BZ #17658]
16662 * stdlib/setenv.c: Fix memory leak when setting large,
16663 duplicate string.
16664
16665 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
16666
16667 [BZ #17273]
16668 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
16669 and tabs from buffer before parsing fstab entry.
16670 * misc/tst-mntent.c (main): Add test for mount entry with
16671 trailing spaces and tabs.
16672
16673 2015-01-06 Joseph Myers <joseph@codesourcery.com>
16674
16675 [BZ #17748]
16676 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
16677 * math/fesetround.c (fesetround): Rename to __fesetround and
16678 define as weak alias of __fesetround. Use libm_hidden_weak.
16679 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
16680 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
16681 * sysdeps/arm/fesetround.c (fesetround): Likewise.
16682 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
16683 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
16684 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
16685 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
16686 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
16687 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
16688 __fesetround_inline.
16689 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
16690 __fesetround_inline instead of __fesetround.
16691 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
16692 __fesetround and define as weak alias of __fesetround. Use
16693 libm_hidden_weak. Call __fesetround_inline instead of
16694 __fesetround.
16695 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
16696 __fesetround and define as weak alias of __fesetround. Use
16697 libm_hidden_weak.
16698 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
16699 Likewise.
16700 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
16701 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16702 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
16703 * sysdeps/tile/math_private.h (__fesetround): New inline function.
16704 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
16705 __fesetround and define as weak alias of __fesetround. Use
16706 libm_hidden_weak.
16707 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
16708 __fesetround instead of fesetround.
16709 (default_libc_feholdexcept_setround): Likewise.
16710 (libc_feholdsetround_ctx): Likewise.
16711 (libc_feholdsetround_noex_ctx): Likewise.
16712
16713 [BZ #17748]
16714 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
16715 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
16716 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16717 and define as weak alias of __fesetenv. Use libm_hidden_weak.
16718 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16719 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
16720 define as weak alias of __fesetenv. Use libm_hidden_weak.
16721 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16722 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16723 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16724 define as weak alias of __fesetenv. Use libm_hidden_weak.
16725 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16726 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16727 define as weak alias of __fesetenv. Use libm_hidden_weak.
16728 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
16729 libm_hidden_def.
16730 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
16731 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
16732 Likewise.
16733 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16734 define as weak alias of __fesetenv. Use libm_hidden_weak.
16735 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16736 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16737 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
16738 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16739 and define as weak alias of __fesetenv. Use libm_hidden_weak.
16740 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
16741 __fesetenv instead of fesetenv.
16742 (libc_feresetround_noex_ctx): Likewise.
16743 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16744 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16745 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
16746 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16747 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16748 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16749 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16750 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16751 (__feupdateenv): Likewise.
16752 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16753 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16754 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16755 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
16756
16757 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
16758
16759 [BZ #17806]
16760 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
16761 addresses have been freed.
16762
16763 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
16764
16765 * resolv/res_init.c (__res_vinit): Improve comments about nserv
16766 and nservall.
16767
16768 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
16769
16770 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
16771 Clean up check_pf allocation pattern. addresses
16772
16773 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16774
16775 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
16776 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
16777 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
16778 * nptl/pthread_exit.c (__pthread_exit): Likewise.
16779 * nptl/pthread_join.c (pthread_join): Likewise.
16780 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16781 * sysdeps/posix/waitid.c (__waitid): Likewise.
16782 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16783 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16784 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16785 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16786 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16787 Likewise.
16788 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16789 (__libc_pread64): Likewise.
16790 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16791 (__libc_pwrite): Likewise.
16792 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16793 (__libc_pwrite64): Likewsie.
16794 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16795 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16796 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16797 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16798 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16799 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16800 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16802 Likewise.
16803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16804 (__libc_pread64): Likewise.
16805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
16806 Likewise.
16807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16808 (__libc_pwrite64): Likewise.
16809 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16810 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16811 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
16812 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
16813 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16814 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16815 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
16816 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16817 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16818 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16819 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
16820 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16821 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16822 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
16823 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16824 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16825 Likewise.
16826
16827 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
16828
16829 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
16830 (CFLAGS-test-double.c): Likewise.
16831 (CFLAGS-test-ldouble.c): Likewise.
16832 (CPPFLAGS-test-ifloat.c): Likewise.
16833 (CPPFLAGS-test-idouble.c): Likewise.
16834 (CPPFLAGS-test-ildoubl.c): Likewise.
16835 (CFLAGS-test-test-fenv.c): Remove variable.
16836 (CFLAGS-test-misc.c): Likewise.
16837
16838 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
16839
16840 [BZ #17797]
16841 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
16842 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
16843 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
16844 CLOCKS_PER_SEC == 1000000.
16845 * time/clocktest.c (main): Replace %ld with %jd and cast to
16846 intmax_t.
16847
16848 2015-01-05 Roland McGrath <roland@hack.frob.com>
16849
16850 * sysdeps/generic/unwind-resume.h: New file.
16851 * sysdeps/gnu/unwind-resume.c: Include it.
16852 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
16853 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
16854 argument list.
16855 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
16856 global rather than static.
16857 (_Unwind_Resume): Update user.
16858 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
16859 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
16860 rather than static. Add __attribute__ ((cold)).
16861 (_Unwind_Resume, __gcc_personality_v0): Update callers.
16862 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16863 * sysdeps/arm/arm-unwind-resume.S: New file.
16864 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
16865 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
16866 * sysdeps/arm/Makefile [$(subdir) = csu]
16867 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
16868 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16869 Add rt-arm-unwind-resume.
16870 [$(subdir) = nptl]
16871 (libpthread-sysdep_routines, libpthread-shared-only-routines):
16872 Add pt-arm-unwind-resume.
16873 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
16874 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
16875
16876 2015-01-05 Joseph Myers <joseph@codesourcery.com>
16877
16878 [BZ #17748]
16879 * include/fenv.h (__feholdexcept): Declare. Use
16880 libm_hidden_proto.
16881 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
16882 define as weak alias of __feholdexcept. Use libm_hidden_weak.
16883 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16884 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
16885 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
16886 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
16887 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
16888 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16889 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
16890 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
16891 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16892 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
16893 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
16894 (feholdexcept): Likewise.
16895 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16896 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16897 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16898 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16899 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
16900 __feholdexcept instead of feholdexcept.
16901 (default_libc_feholdexcept_setround): Likewise.
16902
16903 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
16904
16905 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
16906 to avoid using stl/str to align destination.
16907
16908 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
16909
16910 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
16911
16912 2015-01-05 Joseph Myers <joseph@codesourcery.com>
16913
16914 [BZ #17796]
16915 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
16916 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
16917 Define as weak alias not strong alias.
16918
16919 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
16920
16921 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
16922 bltzal with addiupc.
16923 (RTLD_START): Ditto.
16924
16925 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
16926
16927 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
16928 for __vdso_* functions in declarations.
16929 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
16930 definitions.
16931 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
16932 INTERNAL_VSYSCALL): Use struct return types to check for error.
16933
16934 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
16935 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
16936 function with cast from llround().
16937 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
16938 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16939 Define.
16940
16941 2015-01-05 Joseph Myers <joseph@codesourcery.com>
16942
16943 [BZ #17793]
16944 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
16945 Define as weak alias not strong alias.
16946
16947 [BZ #17635]
16948 * ctype/ctype-c99.c: New file. isblank implementation moved from
16949 ...
16950 * ctype/ctype-extn.c: ... here.
16951 (__isblank_l): Move to ...
16952 * ctype/ctype-c99_l.c: ... here. New file.
16953 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
16954 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
16955 Remove variable.
16956 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16957 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
16958 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16959 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16960 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16961
16962 [BZ #17777]
16963 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
16964 (posix_fadvise64): Define as weak alias not strong alias.
16965 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16966 (posix_fallocate64): Likewise.
16967 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
16968 Remove variable.
16969 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16970 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16971 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16972 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16973 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16974
16975 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
16976
16977 [BZ #16191]
16978 * NEWS: Mention bug fix.
16979 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
16980 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
16981 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
16982 (HOST_STACK_END_ADDR): Likewise.
16983
16984 2015-01-02 Joseph Myers <joseph@codesourcery.com>
16985
16986 [BZ #17748]
16987 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
16988 * math/fegetround.c (fegetround): Rename to __fegetround and
16989 define as weak alias of __fegetround. Use libm_hidden_weak.
16990 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
16991 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
16992 * sysdeps/arm/fegetround.c (fegetround): Likewise.
16993 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
16994 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16995 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
16996 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
16997 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
16998 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16999 Undefine after rather than before function definition; use
17000 parentheses around function name in definition.
17001 (__fegetround): Also undefine macro after function definition.
17002 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
17003 __fegetround and define as weak alias of __fegetround. Use
17004 libm_hidden_weak. Do not undefine as macro.
17005 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17006 Likewise.
17007 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
17008 __fegetround and define as weak alias of __fegetround. Use
17009 libm_hidden_weak.
17010 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17011 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17012 * sysdeps/tile/math_private.h (__fegetround): New inline function.
17013 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
17014 __fegetround and define as weak alias of __fegetround. Use
17015 libm_hidden_weak.
17016 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
17017 __fegetround instead of fegetround.
17018
17019 [BZ #17782]
17020 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
17021 Condition macro definition on [__USE_MISC].
17022
17023 [BZ #17781]
17024 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
17025 (struct sigaction): Change type of sa_flags field to int.
17026
17027 [BZ #17780]
17028 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
17029 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
17030 __glibc_reserved0.
17031
17032 * nptl/version.c (banner): Use single year in copyright notice.
17033
17034 * NEWS: Update copyright dates.
17035 * catgets/gencat.c (print_version): Likewise.
17036 * csu/version.c (banner): Likewise.
17037 * debug/catchsegv.sh: Likewise.
17038 * debug/pcprofiledump.c (print_version): Likewise.
17039 * debug/xtrace.sh (do_version): Likewise.
17040 * elf/ldconfig.c (print_version): Likewise.
17041 * elf/ldd.bash.in: Likewise.
17042 * elf/pldd.c (print_version): Likewise.
17043 * elf/sotruss.sh: Likewise.
17044 * elf/sprof.c (print_version): Likewise.
17045 * iconv/iconv_prog.c (print_version): Likewise.
17046 * iconv/iconvconfig.c (print_version): Likewise.
17047 * locale/programs/locale.c (print_version): Likewise.
17048 * locale/programs/localedef.c (print_version): Likewise.
17049 * login/programs/pt_chown.c (print_version): Likewise.
17050 * malloc/memusage.sh (do_version): Likewise.
17051 * malloc/memusagestat.c (print_version): Likewise.
17052 * malloc/mtrace.pl: Likewise.
17053 * manual/libc.texinfo: Likewise.
17054 * nptl/version.c (banner): Likewise.
17055 * nscd/nscd.c (print_version): Likewise.
17056 * nss/getent.c (print_version): Likewise.
17057 * nss/makedb.c (print_version): Likewise.
17058 * posix/getconf.c (main): Likewise.
17059 * scripts/test-installation.pl: Likewise.
17060 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17061
17062 2015-01-02 Will Newton <will.newton@linaro.org>
17063
17064 * sysdeps/arm/armv7/configure: Removed.
17065 * sysdeps/arm/armv7/configure.ac: Likewise.
17066
17067 2015-01-02 Joseph Myers <joseph@codesourcery.com>
17068
17069 * All files with FSF copyright notices: Update copyright dates
17070 using scripts/update-copyrights.
17071 * intl/plural.c: Regenerated.
17072 * locale/programs/charmap-kw.h: Likewise.
17073 * locale/programs/locfile-kw.h: Likewise.
17074
17075 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17076
17077 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
17078
17079 2014-12-31 Joseph Myers <joseph@codesourcery.com>
17080
17081 [BZ #17748]
17082 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
17083 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
17084 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17085 and define as weak alias of __fegetenv. Use libm_hidden_weak.
17086 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17087 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
17088 define as weak alias of __fegetenv. Use libm_hidden_weak.
17089 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
17090 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17091 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17092 define as weak alias of __fegetenv. Use libm_hidden_weak.
17093 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17094 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17095 define as weak alias of __fegetenv. Use libm_hidden_weak.
17096 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
17097 libm_hidden_def.
17098 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
17099 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
17100 Likewise.
17101 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
17102 define as weak alias of __fegetenv. Use libm_hidden_weak.
17103 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17104 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
17105 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
17106 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
17107 and define as weak alias of __fegetenv. Use libm_hidden_weak.
17108 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
17109 __fegetenv instead of fegetenv.
17110 (libc_feholdsetround_noex_ctx): Likewise.
17111
17112 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
17113
17114 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
17115 (Elf_MIPS_ABIFlags_v0): New structure.
17116 (EF_MIPS_FP64): Define.
17117 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
17118 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
17119 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
17120 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
17121 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
17122 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
17123 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
17124 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
17125 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
17126 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
17127 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
17128 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
17129 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
17130 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
17131 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
17132 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
17133 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
17134 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
17135 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
17136 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
17137 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
17138 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
17139 field.
17140 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
17141 EF_MIPS_FP64.
17142 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
17143 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
17144 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
17145 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
17146 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
17147 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
17148 * sysdeps/mips/tst-abi-interlink.c: Likewise.
17149 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
17150 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
17151 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
17152 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
17153 record the current FP ABI extension.
17154 (mips-mode-switch): Define to show if kernel headers support mode
17155 switching.
17156 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17157 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
17158 supported SYSV ABI version to 3.
17159 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
17160 feature.
17161
17162 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17163 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17164
17165 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
17166 path.
17167 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
17168
17169 2014-12-31 Joseph Myers <joseph@codesourcery.com>
17170
17171 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
17172 __fegetround and redefine to call __fegetround. Remove condition
17173 on [!__NO_MATH_INLINES].
17174 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
17175 function.
17176 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
17177 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17178 Remove macro.
17179 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
17180 instead of <fenv_libc.h>.
17181 (__llrintl): Call fegetround instead of __fegetround.
17182 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
17183 instead of <fenv_libc.h>.
17184 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17185 (__lrintl): Call fegetround instead of __fegetround.
17186 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
17187 instead of <fenv_libc.h>.
17188 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17189 (__rintl): Call fegetround instead of __fegetround.
17190
17191 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17192
17193 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
17194 arrays.
17195
17196 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
17197
17198 [BZ #17775]
17199 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
17200 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
17201 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
17202
17203 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
17204
17205 * sysdeps/i386/tls-macros.h: Include <features.h>.
17206 (TLS_LE): Use non-PIC version for GCC >= 5.0.
17207 (TLS_IE): Likewise.
17208 (TLS_LD): Likewise.
17209 (TLS_GD): Likewise.
17210 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
17211 define for GCC >= 5.0.
17212
17213 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
17214
17215 * math/test-fenv.c (test_single_exception, set_single_exc,
17216 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
17217 feexcp_mask_test, feenable_test, fe_single_test): Add
17218 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
17219 case where they are not used.
17220 * math/libm-test.inc: Likewise.
17221 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
17222 unused in the absence of FP rounding/exception support.
17223 * stdio-common/tst-printf-round.c: Likewise.
17224 * stdlib/tst-strtod-round.c: Likewise.
17225 * stdlib/tst-strtod-underflow.c: Likewise.
17226
17227 2014-12-30 Joseph Myers <joseph@codesourcery.com>
17228
17229 [BZ #17723]
17230 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
17231 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
17232 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17233 __feraiseexcept and define as weak alias of __feraiseexcept. Use
17234 libm_hidden_weak.
17235 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
17236 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17237 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
17238 libm_hidden_def.
17239 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17240 __feraiseexcept and define as weak alias of __feraiseexcept. Use
17241 libm_hidden_weak.
17242 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
17243 Likewise.
17244 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
17245 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17246 __feraiseexcept and define as weak alias of __feraiseexcept. Use
17247 libm_hidden_weak.
17248 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17249 libm_hidden_def.
17250 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17251 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
17252 (__feraiseexcept): Likewise.
17253 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
17254 __feraiseexcept and define as weak alias of __feraiseexcept. Use
17255 libm_hidden_weak.
17256 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
17257 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
17258 libm_hidden_def.
17259 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
17260 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
17261 Use libm_hidden_def.
17262 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
17263 libm_hidden_def.
17264 (feraiseexcept): Define as weak not strong alias. Use
17265 libm_hidden_weak.
17266 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
17267 New inline function. Factored out of ...
17268 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
17269 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
17270 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
17271 feraiseexcept.
17272 * math/w_acos.c (__acos): Likewise.
17273 * math/w_asin.c (__asin): Likewise.
17274 * math/w_ilogb.c (__ilogb): Likewise.
17275 * math/w_j0.c (y0): Likewise.
17276 * math/w_j1.c (y1): Likewise.
17277 * math/w_jn.c (yn): Likewise.
17278 * math/w_log.c (__log): Likewise.
17279 * math/w_log10.c (__log10): Likewise.
17280 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
17281 * sysdeps/aarch64/fpu/math_private.h
17282 (libc_feupdateenv_test_aarch64): Likewise.
17283 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
17284 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
17285 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
17286 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
17287 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
17288 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
17289 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
17290 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
17291 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17292 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17293
17294 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
17295
17296 [BZ #17732]
17297 * io/test-utime.c (main): Replace %ld with %jd and cast to
17298 intmax_t.
17299 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
17300 * nptl/tst-mutex5.c: Include <stdint.h>.
17301 (do_test): Replace %ld with %jd and cast to intmax_t.
17302 * posix/tst-regex.c (run_test): Likewise.
17303 (run_test_backwards): Likewise.
17304 * rt/tst-clock.c: Include <stdint.h>.
17305 (clock_test): Replace %ld with %jd and cast to intmax_t.
17306 * rt/tst-cpuclock1.c: Include <stdint.h>.
17307 (do_test): Replace %lu with %ju and cast to uintmax_t.
17308 * rt/tst-cpuclock2.c: Include <stdint.h>.
17309 (do_test): Replace %lu with %ju and cast to uintmax_t.
17310 * rt/tst-mqueue1.c: Include <stdint.h>.
17311 (check_attrs): Replace %ld with %jd and cast to intmax_t.
17312 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
17313 intmax_t.
17314 * rt/tst-mqueue4.c (do_test): Likewise.
17315 * rt/tst-timer4.c: Include <stdint.h>.
17316 (check_ts): Replace %ld with %jd and cast to intmax_t.
17317 (do_test): Likewise.
17318 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
17319 and cast to intmax_t.
17320 * sysdeps/pthread/tst-timer.c (main): Likewise.
17321 * time/clocktest.c (main): Likewise.
17322 * time/tst-posixtz.c (do_test): Likewise.
17323 * timezone/tst-timezone.c (main): Likewise.
17324
17325 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
17326 H.J. Lu <hongjiu.lu@intel.com>
17327
17328 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
17329 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
17330 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
17331 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
17332 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
17333 version if bit_Fast_Unaligned_Load is set.
17334 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17335 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17336 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17337 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17338 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17339 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17340 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17341 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
17342 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
17343 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
17344 to 4.
17345 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
17346 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
17347 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
17348 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
17349
17350 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
17351
17352 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
17353 instead of #if to avoid a Wundef warning.
17354 * stdlib/tst-limits.c (do_test): Likewise.
17355
17356 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
17357 parallel other exception macros.
17358 (fegetenv): Convert from macro to extern inline so that it applies
17359 retroactively to inline functions already seen by the compiler.
17360 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
17361
17362 * posix/Makefile (before-compile): Use $(objpfx) for
17363 posix-conf-vars-def.h.
17364
17365 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17366
17367 * posix/getconf.c (main): Use size_t for type of I.
17368 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
17369 NSPEC.
17370
17371 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
17372 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
17373 * posix/posix-envs.def: Likewise.
17374 * sysdeps/posix/sysconf.c: Likewise.
17375 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
17376 (specs): Remove array.
17377 * scripts/gen-posix-conf-vars.awk: Support generation of specs
17378 array.
17379
17380 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
17381 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
17382 (__sysconf): Use CONF_IS_* macros.
17383
17384 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
17385 ($(objpfx)posix-conf-vars-def.h): New target.
17386 * posix/posix-conf-vars.list: New file.
17387 * posix/posix-conf-vars.h: New file.
17388 * posix/confstr.c: Include posix-conf-vars.h.
17389 (confstr): Use CONF_IS_* macros.
17390 * posix/posix-envs.def: Include posix-conf-vars.h. Use
17391 CONF_IS_* macros.
17392 * scripts/gen-posix-conf-vars.awk: New file.
17393
17394 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
17395
17396 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
17397 fegetround): Add no-op macros to avoid linknamespace issues.
17398
17399 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
17400 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
17401
17402 * sysdeps/unix/sysv/linux/tile/sysdep.h
17403 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
17404 assembly-specific section to avoid a redefinition warning.
17405
17406 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
17407 long before casting to pointer to avoid a cast warning.
17408
17409 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
17410
17411 * sysdeps/tile/tilegx/Implies: New file.
17412
17413 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
17414
17415 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
17416
17417 2014-12-23 Florian Weimer <fweimer@redhat.com>
17418
17419 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
17420
17421 2014-12-22 Joseph Myers <joseph@codesourcery.com>
17422
17423 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
17424 not define.
17425 * sysdeps/unix/sysv/linux/utimes.c: Do not include
17426 <kernel-features.h>.
17427 (__utimes) [__NR_utimes]: Make code unconditional.
17428 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
17429 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17430 (__ASSUME_UTIMES): Do not undefine.
17431 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17432 (__ASSUME_UTIMES): Likewise.
17433 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17434 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
17435 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
17436 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
17437
17438 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
17439
17440 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
17441
17442 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
17443
17444 [BZ #17747]
17445 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
17446 alias to weak alias for j0l, y0l.
17447 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
17448 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
17449
17450 [BZ #17746]
17451 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
17452 conversion.
17453
17454 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
17455
17456 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
17457 to zero if not already defined.
17458
17459 2014-12-22 Joseph Myers <joseph@codesourcery.com>
17460
17461 [BZ #17724]
17462 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
17463 (__kernel_standard_f): Remove. Moved to k_standardf.c.
17464 (__kernel_standard_l): Remove. Moved to k_standardl.c with
17465 (char *) casts added.
17466 * sysdeps/ieee754/k_standardf.c: New file.
17467 * sysdeps/ieee754/k_standardl.c: Likewise.
17468 * math/Makefile (libm-support): Remove k_standard.
17469 (libm-calls): Add k_standard.
17470
17471 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
17472
17473 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17474 Optimize to avoid an unnecessary FPCR read.
17475
17476 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
17477
17478 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17479 Optimize to reduce FPCR/FPSR accesses.
17480
17481 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
17482
17483 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
17484 Call libc_fetestexcept_aarch64.
17485
17486 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
17487
17488 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
17489 Call libc_fesetround_aarch64.
17490
17491 2014-12-22 Joseph Myers <joseph@codesourcery.com>
17492
17493 [BZ #17733]
17494 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
17495 (__bind): Do not define as weak alias.
17496 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
17497 define.
17498 (__getsockname): Do not define as weak alias.
17499
17500 2014-12-22 Will Newton <will.newton@linaro.org>
17501
17502 * manual/install.texi: Document that we require bison 2.7
17503 or above.
17504 * INSTALL: Regenerate.
17505 * configure.ac: Use AC_CHECK_PROG_VER instead of
17506 AC_PATH_PROG when checking for bison and check for
17507 version 2.7 or above.
17508 * configure: Regenerate.
17509
17510 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
17511
17512 [BZ #17745]
17513 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
17514 * sysdeps/tile/ffsll.c (ffsll): To here.
17515
17516 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
17517
17518 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
17519
17520 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
17521 if not defined.
17522 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
17523 definition.
17524 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17525 hidden ___tls_get_addr.
17526 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17527 hidden __tls_get_addr.
17528 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
17529 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
17530 Likewise.
17531
17532 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
17533
17534 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
17535 _dl_init call.
17536
17537 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
17538
17539 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
17540 from "call _dl_init@PLT".
17541 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
17542
17543 2014-12-21 Anders Kaseorg <andersk@mit.edu>
17544
17545 * manual/search.texi: (Array Sort Function): Clarify stable sorting
17546 guarantees.
17547
17548 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
17549
17550 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
17551
17552 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
17553
17554 [BZ #17744]
17555 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
17556 strnlen.
17557
17558 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
17559
17560 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
17561 of multu on MIPSr6.
17562 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
17563 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
17564 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
17565 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
17566 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
17567
17568 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
17569
17570 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
17571 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
17572 (PTR_SUBU): Use subu for mips32r6/mips64r6.
17573 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
17574 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
17575 mips32r6/mips64r6.
17576 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
17577
17578 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
17579
17580 * string/strncat.c (STRNCAT): Simplify implementation.
17581
17582 2014-12-19 David S. Miller <davem@davemloft.net>
17583
17584 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
17585 access the quad as both a long double and as a series of 4 words.
17586
17587 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
17588 link_map->l_info array access.
17589
17590 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
17591
17592 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
17593
17594 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
17595 * math/atest-exp2.c (TIMEOUT): Likewise.
17596 * math/atest-sincos.c (TIMEOUT): Likewise.
17597
17598 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
17599
17600 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
17601 -Wno-error with -fno-builtin-lround.
17602
17603 2014-12-19 Torvald Riegel <triegel@redhat.com>
17604
17605 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
17606 Contains futex constants and functions moved over from ...
17607 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
17608 <lowlevellock-futex.h>.
17609 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17610 (lll_timedwait_tid): Add comments and parentheses around macro
17611 arguments.
17612
17613 2014-12-19 Torvald Riegel <triegel@redhat.com>
17614
17615 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
17616 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
17617 (__lll_private_flag): Remove.
17618 (lll_futex_wait): Likewise.
17619 (lll_futex_timed_wait): Likewise.
17620 (lll_futex_wake): Likewise.
17621 (lll_futex_requeue): Likewise.
17622 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17623 (__lll_timedwait_tid): Spell out argument names.
17624 (lll_timedwait_tid): Add comments and parentheses around macro
17625 arguments.
17626 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
17627 LLL_SHARED and LLL_PRIVATE usable from assembly code.
17628
17629 2014-12-19 Torvald Riegel <triegel@redhat.com>
17630
17631 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
17632 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17633 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17634 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
17635 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
17636 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
17637 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
17638 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
17639 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
17640 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
17641 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
17642 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
17643 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
17644 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
17645 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
17646 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
17647 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
17648 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
17649 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
17650
17651 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
17652
17653 * sysdeps/x86_64/x32/Makefile: New file.
17654
17655 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
17656
17657 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
17658 1L with (mp_limb_t) 1.
17659
17660 2014-12-17 Roland McGrath <roland@hack.frob.com>
17661
17662 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
17663 * nptl/libc_pthread_init.c: ... here.
17664 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
17665 * nptl/register-atfork.c: ... here.
17666
17667 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
17668 Use pthread_sigmask rather than INTERNAL_SYSCALL.
17669 Use assert_perror to check its return value.
17670 (__gai_create_helper_thread): Likewise.
17671
17672 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
17673
17674 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
17675
17676 2014-12-17 Joseph Myers <joseph@codesourcery.com>
17677
17678 [BZ #17725]
17679 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
17680 __profil_counter.
17681 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
17682 Likewise.
17683 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
17684 Likewise.
17685 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
17686 Likewise.
17687 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
17688 (profil_counter): Likewise.
17689 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
17690 (profil_counter): Likewise.
17691 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
17692 Likewise.
17693 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
17694 Likewise.
17695 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
17696 (profil_counter): Likewise.
17697 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
17698 Likewise.
17699 [!__profil_counter] (profil_counter): Define as weak alias of
17700 __profil_counter.
17701 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
17702 (profil_counter): Rename to __profil_counter.
17703 [!__profil_counter] (profil_counter): Define as weak alias of
17704 __profil_counter.
17705 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
17706 (profil_counter): Rename to __profil_counter.
17707 [!__profil_counter] (profil_counter): Define as weak alias of
17708 __profil_counter.
17709 * sysdeps/posix/profil.c: Update comment referring to
17710 profil_counter.
17711 (__profil): Use __profil_counter instead of profil_counter.
17712 * sysdeps/posix/sprofil.c (profil_counter): Rename to
17713 __profil_counter. Use __profil_counter_ushort and
17714 __profil_counter_uint in definitions.
17715 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
17716 instead of profil_counter_uint and profil_counter_ushort.
17717
17718 [BZ #17722]
17719 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
17720 define as weak alias of __inet_makeaddr.
17721 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
17722 as weak alias of __inet_addr.
17723 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
17724 as weak alias of __inet_pton. Use libc_hidden_weak.
17725 * include/arpa/inet.h (__inet_pton): Declare. Use
17726 libc_hidden_proto.
17727 (inet_makeaddr): Don't use libc_hidden_proto.
17728 (__inet_makeaddr): Declare. Use libc_hidden_proto.
17729 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
17730 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
17731 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
17732 Remove variable.
17733 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17734 (test-xfail-POSIX/time.h/linknamespace): Likewise.
17735
17736 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
17737
17738 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
17739
17740 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
17741
17742 * stdio-common/bug-vfprintf-nargs.c (do_test):
17743 Cast value to intptr_t to avoid format warning
17744 for usage with PRIdPTR printing macro.
17745
17746 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
17747
17748 * libio/tst-widetext.c (do_test):
17749 Use format type %td instead of %Zd for ptrdiff_t
17750 in order to avoid format warning.
17751
17752 2014-12-17 Andreas Schwab <schwab@suse.de>
17753
17754 * nscd/mem.c (gc): Add size_t cast to match printf format.
17755
17756 2014-12-16 Roland McGrath <roland@hack.frob.com>
17757
17758 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
17759 (init): Apply PTR_MANGLE to pointers before storing them.
17760 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
17761 before using them.
17762
17763 2014-12-16 Joseph Myers <joseph@codesourcery.com>
17764
17765 [BZ #17719]
17766 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
17767 define as weak alias of __memrchr.
17768 (__memrchr): Do not define as strong alias of memrchr.
17769 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
17770 Remove variable.
17771 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17772 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17773 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17774
17775 [BZ #17717]
17776 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
17777 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
17778 (if_indextoname): Rename to __if_indextoname and define as weak
17779 alias of __if_indextoname. Use libc_hidden_weak.
17780 (if_freenameindex): Rename to __if_freenameindex and define as
17781 weak alias of __if_freenameindex.
17782 (if_nameindex): Rename to __if_nameindex and define as weak alias
17783 of __if_nameindex.
17784 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
17785 __if_nametoindex and define as weak alias of __if_nametoindex.
17786 Use libc_hidden_weak.
17787 (if_freenameindex): Rename to __if_freenameindex and define as
17788 weak alias of __if_freenameindex.
17789 (if_nameindex): Rename to __if_nameindex and define as weak alias
17790 of __if_nameindex.
17791 (if_indextoname): Rename to __if_indextoname and define as weak
17792 alias of __if_indextoname. Use libc_hidden_weak.
17793 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
17794 __if_nametoindex and define as weak alias of __if_nametoindex.
17795 Use libc_hidden_weak.
17796 (if_freenameindex): Rename to __if_freenameindex and define as
17797 weak alias of __if_freenameindex. Use libc_hidden_weak.
17798 (if_nameindex_netlink): Use __if_freenameindex instead of
17799 if_freenameindex.
17800 (if_nameindex): Rename to __if_nameindex and define as weak alias
17801 of __if_nameindex. Use libc_hidden_weak.
17802 (if_indextoname): Rename to __if_indextoname and define as weak
17803 alias of __if_indextoname. Use libc_hidden_weak.
17804 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
17805 libc_hidden_proto.
17806 [!_ISOMAC] (__if_freenameindex): Likewise.
17807 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
17808 if_nametoindex.
17809 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
17810 variable.
17811 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17812 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17813 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17814 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17815 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17816 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17817 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17818
17819 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
17820 Remove variable.
17821 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17822 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17823
17824 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17825
17826 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
17827 subscript above bounds'
17828
17829 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
17830 bounds.
17831
17832 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
17833
17834 * libio/tst-fopenloc.c: Use test-skeleton.c.
17835
17836 * stdlib/tst-bsearch.c: Use test-skeleton.c.
17837 (entry): Rename to ITEM.
17838 (do_test, comp): Adjust.
17839
17840 * stdio-common/tst-fseek.c: Use test-skeleton.c.
17841
17842 2014-12-16 Torvald Riegel <triegel@redhat.com>
17843
17844 * string/tester.c: Include <libc-internal.h>.
17845 (test_memset): Ignore -Wmemset-transposed-args.
17846
17847 2014-12-16 Torvald Riegel <triegel@redhat.com>
17848
17849 * misc/tst-mntent2.c (do_test): Fix warning.
17850
17851 2014-12-16 Torvald Riegel <triegel@redhat.com>
17852
17853 * elf/tst-unique4lib.cc(a): Mark as used.
17854
17855 2014-12-16 Florian Weimer <fweimer@redhat.com>
17856
17857 [BZ #17630]
17858 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
17859 names.
17860
17861 2014-12-16 Allan McRae <allan@archlinux.org>
17862
17863 * stdio-common/Makefile (tests): Re-add bug26.
17864
17865 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
17866
17867 [BZ #17657]
17868 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
17869 static array.
17870
17871 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
17872
17873 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
17874 (__lll_lock_wait): Likewise.
17875 (__lll_timedlock_wait): Likewise.
17876 (__lll_timedwait_tid): Likewise.
17877 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
17878 (__lll_robust_timedlock_wait): Likewise.
17879 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
17880 (lll_cond_trylock): Likewise.
17881 (__lll_lock): Likewise.
17882 (__lll_robust_lock): Likewise.
17883 (__lll_cond_lock): Likewise.
17884 (lll_robust_cond_lock): Likewise.
17885 (__lll_timedlock): Likewise.
17886 (__lll_robust_timedlock): Likewise.
17887 (__lll_unlock): Likewise.
17888 (__lll_robust_unlock): Likewise.
17889 (lll_wait_tid): Likewise.
17890 (lll_timedwait_tid): Likewise.
17891
17892 2014-12-15 Torvald Riegel <triegel@redhat.com>
17893
17894 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
17895
17896 2014-12-15 Torvald Riegel <triegel@redhat.com>
17897
17898 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
17899
17900 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
17901
17902 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
17903 * stdio-common/tst-sprintf.c: Likewise.
17904
17905 2014-12-15 Torvald Riegel <triegel@redhat.com>
17906
17907 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
17908
17909 2014-12-15 Jeff Law <law@redhat.com>
17910
17911 [BZ #16617]
17912 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
17913 on the heap. (CVE-2012-3406)
17914 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
17915 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
17916 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
17917
17918 2014-12-15 Will Newton <will.newton@linaro.org>
17919
17920 * manual/install.texi: Bump required version of texinfo
17921 to 4.7 from 4.5.
17922 * INSTALL: Regenerated.
17923 * configure.ac: Check for makeinfo version 4.7 and above.
17924 * configure: Regenerated.
17925
17926 2014-12-12 Roland McGrath <roland@hack.frob.com>
17927
17928 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
17929 PREFIX, string constant to insert between directory and name.
17930 * sysdeps/posix/shm_open.c: Update caller.
17931 * sysdeps/posix/shm_unlink.c: Likewise.
17932 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
17933 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
17934 (SEM_SHM_PREFIX): New macro.
17935 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
17936 [$(have-thread-library) = no].
17937 * nptl/Makefile (libpthread-routines): Add shm-directory.
17938 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
17939 * sysdeps/nptl/shm-directory.h: New file.
17940 * sysdeps/posix/shm-directory.c
17941 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
17942 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17943 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
17944 INTERNAL_SYSCALL.
17945 (__where_is_shmfs): Function removed.
17946 (mountpoint, defaultmount, defaultdir, __namedsem_once):
17947 Variables removed.
17948 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
17949 Use SHM_GET_NAME.
17950 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
17951
17952 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
17953 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
17954 unconditional for use inside libpthread.
17955 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
17956
17957 2014-12-12 Roland McGrath <roland@hack.frob.com>
17958
17959 * nptl/pthread_getaffinity.c: New file.
17960 * nptl/pthread_setaffinity.c: New file.
17961 * nptl/pthread_getname.c: New file.
17962 * nptl/pthread_setname.c: New file.
17963
17964 * nptl/pthread_create.c (START_THREAD_DEFN)
17965 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
17966
17967 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
17968 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17969
17970 * resolv/res_send.c (send_vc): Disable warning resplen may
17971 be used uninitialized.
17972
17973 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
17974
17975 * nptl/tst-mutex6.c
17976 (ATTR_NULL): New define checks ATTR against NULL.
17977 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
17978 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
17979
17980 2014-12-11 James Lemke <jwlemke@codesourcery.com>
17981
17982 [BZ #17581]
17983 * malloc/hooks.c
17984 (mem2mem_check): Revert my previous change.
17985 (malloc_check_get_size): Revert my previous change.
17986 (mem2chunk_check): Revert my previous change.
17987
17988 2014-12-11 Roland McGrath <roland@hack.frob.com>
17989
17990 * sysdeps/posix/shm-directory.c: New file.
17991 * sysdeps/posix/shm-directory.h: New file.
17992 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
17993 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
17994 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
17995 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
17996 Transmute EPERM to EACCES.
17997 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
17998 from ...
17999 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
18000 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
18001
18002 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18003
18004 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
18005 pointer and cast to uintptr_t.
18006 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
18007 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
18008 Add cast to avoid warning.
18009 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
18010
18011 2014-12-11 Joseph Myers <joseph@codesourcery.com>
18012
18013 * nptl/semaphore.h: Move to ...
18014 * sysdeps/pthread/semaphore.h: ... here.
18015 * Makefile (installed-headers): Change nptl/semaphore.h to
18016 sysdeps/pthread/semaphore.h.
18017
18018 2014-12-11 Roland McGrath <roland@hack.frob.com>
18019
18020 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
18021 generated error format strings.
18022
18023 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
18024 -Wformat-extra-args warnings for scanf formats.
18025 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
18026 test of zero-length format (duh).
18027 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
18028 corner-case scanf format test.
18029 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
18030 generated fprintf format string.
18031 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
18032 corner-case sprintf format tests.
18033 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
18034 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
18035 -Wformat-extra-args warnings throughout.
18036 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
18037 (CFLAGS-scanf4.c): Likewise.
18038 (CFLAGS-scanf7.c): Likewise.
18039 (CFLAGS-tst-sprintf.c): Likewise.
18040 (CFLAGS-tst-printf.c): Likewise.
18041 (CFLAGS-tst-printfsz.c): Likewise.
18042
18043 2014-12-11 Joseph Myers <joseph@codesourcery.com>
18044
18045 * include/cpio.h: New file.
18046 * include/fmtmsg.h: Likewise.
18047
18048 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
18049 corresponding format argument to size_t.
18050 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
18051 arguments.
18052 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
18053 corresponding format argument to size_t.
18054 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
18055 arguments.
18056 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
18057 corresponding format argument to size_t.
18058 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
18059 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
18060 (CFLAGS-tst-mbswcs2.c): Likewise.
18061 (CFLAGS-tst-mbswcs3.c): Likewise.
18062 (CFLAGS-tst-mbswcs4.c): Likewise.
18063 (CFLAGS-tst-mbswcs5.c): Likewise.
18064 (CFLAGS-tst-trans.c): Likewise
18065
18066 2014-12-11 Roland McGrath <roland@hack.frob.com>
18067
18068 * posix/regexbug1.c (main): Use "%s" format with regerror results,
18069 rather than assuming they won't contain any '%'s.
18070
18071 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
18072
18073 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
18074 inhibit_loop_to_libcall to avoid recursive calls.
18075 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
18076 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
18077
18078 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
18079
18080 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
18081 prototype.
18082
18083 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
18084
18085 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
18086 integer value instead of boolean.
18087
18088 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
18089
18090 * malloc/malloc.c: Fix powerof2 check.
18091
18092 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18093
18094 * locale/programs/locfile.h (maybe_swap_uint32):
18095 Remove inline and add unused attribute.
18096
18097 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18098
18099 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18100 Truncating assembler expression to a .long expression.
18101
18102 2014-12-11 Andreas Schwab <schwab@suse.de>
18103
18104 * elf/rtld.c (struct map_args): Constify str member.
18105 (do_preload): Constify fname argument.
18106
18107 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18108
18109 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
18110 constants definition.
18111
18112 2014-12-11 Andreas Schwab <schwab@suse.de>
18113
18114 [BZ #16657]
18115 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
18116 FORCE_ELISION instead of DO_ELISION.
18117 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
18118 Remove.
18119 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
18120 Likewise.
18121
18122 * iconvdata/gconv-modules: Remove duplicate entry.
18123
18124 2014-12-11 Will Newton <will.newton@linaro.org>
18125
18126 Merge gettext 0.19.3 into intl/.
18127
18128 This involves a number of cosmetic changes to comments
18129 and ANSI function definitions and prototypes throughout
18130 all the files. The gettext copyright header is used but
18131 with the date ranges taken from the glibc copy.
18132
18133 * NEWS: Add gettext merge to 2.21.
18134 * intl/bindtextdom.c: Switch to gettext copyright.
18135 Use ANSI definitions and prototypes.
18136 Use gl_* locking primitives rather than __libc_* ones.
18137 Use __builtin_expect rather than __glibc_likely/unlikely.
18138 * intl/dcgettext.c: Switch to gettext copyright.
18139 Use ANSI definitions and prototypes.
18140 * intl/dcigettext.c: Switch to gettext copyright.
18141 Use ANSI definitions and prototypes.
18142 (INTDIV0_RAISES_SIGFPE): New define.
18143 Use gl_* locking primitives rather than __libc_* ones.
18144 Include eval-plural.h instead of plural-eval.c.
18145 Use __builtin_expect rather than __glibc_likely/unlikely.
18146 * intl/dcngettext.c: Switch to gettext copyright.
18147 Use ANSI definitions and prototypes.
18148 * intl/dgettext.c: Likewise.
18149 * intl/dngettext.c: Likewise.
18150 * intl/plural-eval.c: Renamed to...
18151 * intl/eval-plural.h: ...this.
18152 * intl/explodename.c: Switch to gettext copyright.
18153 Use ANSI definitions and prototypes.
18154 (_nl_explode_name): Use strchr instead of __rawmemchr.
18155 * intl/finddomain.c: Switch to gettext copyright.
18156 Use ANSI definitions and prototypes.
18157 Use gl_* locking primitives rather than __libc_* ones.
18158 (_nl_find_domain): Use malloc rather than alloca for
18159 allocation of temporary locale name.
18160 * intl/gettext.c: Switch to gettext copyright.
18161 Use ANSI definitions and prototypes.
18162 * intl/gettextP.h: Switch to gettext copyright.
18163 Use ANSI definitions and prototypes.
18164 Use gl_* locking primitives rather than __libc_* ones.
18165 * intl/gmo.h: Switch to gettext copyright.
18166 (struct sysdep_string): Move struct segment_pair outside of
18167 struct definition.
18168 * intl/hash-string.c: Use ANSI definitions and prototypes.
18169 * intl/hash-string.h: Switch to gettext copyright.
18170 Use ANSI definitions and prototypes.
18171 * intl/l10nflist.c: Switch to gettext copyright.
18172 Use ANSI definitions and prototypes.
18173 (_nl_normalize_codeset): Avoid integer overflow.
18174 * intl/loadinfo.h: Switch to gettext copyright.
18175 Use ANSI definitions and prototypes.
18176 (LIBINTL_DLL_EXPORTED): New define.
18177 (PATH_SEPARATOR): New define.
18178 * intl/loadmsgcat.c: Switch to gettext copyright.
18179 * intl/localealias.c: Switch to gettext copyright.
18180 Use ANSI definitions and prototypes.
18181 (_nl_expand_alias): Use PATH_SEPARATOR.
18182 * intl/ngettext.c: Switch to gettext copyright.
18183 Use ANSI definitions and prototypes.
18184 * intl/plural-exp.c: Likewise.
18185 * intl/plural-exp.h: Switch to gettext copyright.
18186 Use ANSI definitions and prototypes.
18187 (struct expression): Move definition of enum operator outside
18188 of struct definition.
18189 * intl/plural.c: Regenerate.
18190 * intl/plural.y: Switch to gettext copyright.
18191 Use ANSI definitions and prototypes.
18192 Port to bison 3.0.
18193 * intl/textdomain.c: Switch to gettext copyright.
18194 Use ANSI definitions and prototypes.
18195 Use gl_* locking primitives rather than __libc_* ones.
18196
18197 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
18198
18199 * debug/warning-nop.c: Add used atrribute.
18200
18201 2014-12-10 Joseph Myers <joseph@codesourcery.com>
18202
18203 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
18204
18205 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
18206 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
18207 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
18208
18209 2014-12-10 Joseph Myers <joseph@codesourcery.com>
18210 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18211
18212 [BZ #17634]
18213 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
18214 Undefine after defining function. Define as weak alias of
18215 __wcschr. Use libc_hidden_weak.
18216 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
18217 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
18218 (libc_hidden_def): Also define __GI___wcschr alias.
18219 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
18220 __wcschr and define as weak alias of __wcschr.
18221 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
18222 __wcschr.
18223 [!WCSCHR] (DEFAULT_WCSCHR): Define.
18224 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
18225 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
18226 libc_hidden_weak. Do not use libc_hidden_def.
18227 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
18228 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
18229 __GI___wcschr alias.
18230 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
18231 [IS_IN (libc)] (wcschr): Define as macro expanding to
18232 __redirect_wcschr.
18233 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
18234 [IS_IN (libc)] (__wcschr_power6): Likewise.
18235 [IS_IN (libc)] (__wcschr_power7): Likewise.
18236 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
18237 instead of wcschr.
18238 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
18239 __libc_wcschr.
18240 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
18241 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
18242 __wcschr and define as weak alias of __wcschr. Use
18243 libc_hidden_builtin_def.
18244 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
18245 as weak alias of __wcschr. Use libc_hidden_weak.
18246 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
18247 wcschr.
18248 * time/era.c (_nl_init_era_entries): Likewise.
18249 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
18250 variable.
18251 (test-xfail-XPG3/time.h/linknamespace): Likewise.
18252 (test-xfail-XPG4/time.h/linknamespace): Likewise.
18253
18254 2014-12-10 Joseph Myers <joseph@codesourcery.com>
18255
18256 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
18257 format for long int variable.
18258
18259 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
18260
18261 [BZ #10672]
18262 * manual/search.texi: (Array Sort Function): Remove claim how to make
18263 qsort stable.
18264
18265 2014-12-10 Andreas Schwab <schwab@suse.de>
18266
18267 [BZ #12847]
18268 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
18269 user-controlled locks.
18270
18271 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
18272
18273 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
18274 register.
18275
18276 2014-12-10 Joseph Myers <joseph@codesourcery.com>
18277
18278 * configure.ac (--disable-werror): New configure option.
18279 (enable_werror): New AC_SUBST.
18280 * configure: Regenerated.
18281 * config.make.in (enable-werror): New variable.
18282 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
18283 -Wno-error=undef.
18284 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
18285 * manual/install.texi (Configuring and compiling): Document
18286 --disable-werror.
18287 * INSTALL: Regenerated.
18288 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
18289 (CFLAGS-tst-chk2.c): Likewise.
18290 (CFLAGS-tst-chk3.c): Likewise.
18291 (CFLAGS-tst-chk4.cc): Likewise.
18292 (CFLAGS-tst-chk5.cc): Likewise.
18293 (CFLAGS-tst-chk6.cc): Likewise.
18294 (CFLAGS-tst-lfschk1.c): Likewise.
18295 (CFLAGS-tst-lfschk2.c): Likewise.
18296 (CFLAGS-tst-lfschk3.c): Likewise.
18297 (CFLAGS-tst-lfschk4.cc): Likewise.
18298 (CFLAGS-tst-lfschk5.cc): Likewise.
18299 (CFLAGS-tst-lfschk6.cc): Likewise.
18300
18301 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
18302 (main): Disable -Wdeprecated-declarations around calls to
18303 register_printf_function.
18304
18305 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
18306 (do_test): Disable -Wdiv-by-zero around some calls to
18307 fwrite_unlocked and fread_unlocked.
18308
18309 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
18310 (DIAG_POP_NEEDS_COMMENT): Likewise.
18311 (_DIAG_STR1): Likewise.
18312 (_DIAG_STR): Likewise.
18313 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
18314 * stdio-common/bug21.c: Include <libc-internal.h>.
18315 (do_test): Disable -Wformat around call to sscanf.
18316 * stdio-common/scanf14.c: Include <libc-internal.h>.
18317 (main): Disable -Wformat around some calls to scanf functions.
18318
18319 2014-12-09 Torvald Riegel <triegel@redhat.com>
18320
18321 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
18322
18323 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18324
18325 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
18326 stack variable alignment.
18327
18328 2014-12-06 Joseph Myers <joseph@codesourcery.com>
18329
18330 [BZ #17682]
18331 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
18332 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
18333 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
18334 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
18335 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
18336 __getrlimit instead of getrlimit.
18337 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
18338 __gettimeofday instead of gettimeofday.
18339 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18340 Likewise.
18341 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18342 Likewise.
18343 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18344 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
18345 Remove variable.
18346 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
18347 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
18348
18349 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18350
18351 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
18352 for wide-character tests.
18353
18354 2014-12-04 Roland McGrath <roland@hack.frob.com>
18355
18356 * io/openat64.c: #include <libc-internal.h>
18357 (__openat64): Prototypify. Use ignore_value on MODE.
18358 * io/openat.c: Likewise.
18359 * misc/reboot.c: #include <libc-internal.h>
18360 (reboot): Prototypify. Use ignore_value on HOWTO.
18361 * misc/ptrace.c: #include <libc-internal.h>
18362 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
18363
18364 2014-12-04 Joseph Myers <joseph@codesourcery.com>
18365
18366 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
18367 XPG4, UNIX98 and XOPEN2K.
18368 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
18369 Remove variable.
18370 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
18371
18372 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18373
18374 * libio/fileops.c: Use ISO C style for function definitions.
18375 * libio/iofopen.c: Likewise.
18376 * libio/wfileops.c: Likewise.
18377
18378 [BZ #17653]
18379 * libio/fileops.c (_IO_new_file_underflow): Unset cached
18380 offset on EOF.
18381 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
18382 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
18383 (fgets_func): Function pointer to fgets and fgetws.
18384 (do_ftell_test): Add test to verify ftell value after read
18385 EOF.
18386 (do_test): Set fgets_func.
18387
18388 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
18389 O_TRUNC flag for w and w+ modes.
18390 (do_rewind_test): Likewise.
18391 (do_ftell_test): Likewise.
18392 (do_write_test): Likewise.
18393
18394 [BZ #17647]
18395 * libio/fileops.c (do_ftell): Seek only when there are
18396 unflushed writes.
18397 * libio/wfileops.c (do_ftell_wide): Likewise.
18398 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
18399 test case.
18400 (do_one_test): Call it.
18401
18402 2014-12-03 Joseph Myers <joseph@codesourcery.com>
18403
18404 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
18405 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
18406 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
18407 Remove variable.
18408 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
18409 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18410 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18411
18412 2014-12-02 Joseph Myers <joseph@codesourcery.com>
18413
18414 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
18415 Remove variable.
18416 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18417
18418 [BZ #17668]
18419 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
18420 as weak alias of __getifaddrs. Use libc_hidden_weak.
18421 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18422 __freeifaddrs. Use libc_hidden_weak.
18423 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
18424 define as weak alias of __getifaddrs. Use libc_hidden_weak.
18425 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18426 __freeifaddrs. Use libc_hidden_weak.
18427 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
18428 __getifaddrs and define as weak alias of __getifaddrs. Use
18429 libc_hidden_weak.
18430 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18431 __freeifaddrs. Use libc_hidden_weak.
18432 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
18433 Remove variable.
18434 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18435 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18436
18437 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
18438
18439 [BZ #17601]
18440 * sysdeps/mips/start.S (__start): Use indirect jump to call
18441 __libc_start_main.
18442
18443 2014-12-02 Joseph Myers <joseph@codesourcery.com>
18444
18445 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
18446
18447 * nptl/tst-mutex1.c: Include <stdbool.h>.
18448 [!ATTR] (ATTR_NULL): New macro.
18449 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
18450 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
18451 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
18452
18453 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
18454 to char *.
18455
18456 [BZ #17665]
18457 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
18458 Change conditional to [__USE_MISC].
18459
18460 [BZ #17664]
18461 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
18462 fgets_unlocked.
18463 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
18464 __fgets_unlocked.
18465 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
18466 fgets_unlocked.
18467 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
18468 Remove variable.
18469 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18470 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18471 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18472 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18473 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18474 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18475 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18476 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18477 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18478
18479 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
18480
18481 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18482
18483 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18484 Remove strpbrk objects.
18485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18486 (__libc_ifunc_impl_list): Remove strpbrk implementation.
18487 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
18488 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
18489 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
18490 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
18491
18492 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18493 Remove strcspn objects.
18494 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18495 (__libc_ifunc_impl_list): Remove strcspn implementation.
18496 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
18497 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
18498 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
18499 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
18500
18501 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18502 Remove strspn objetcs.
18503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18504 (__libc_ifunc_impl_list): Remove strspn implementation.
18505 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
18506 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18507 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
18508 * sysdeps/powerpc/powerpc64/strspn.S: New file.
18509
18510 2014-12-01 James Lemke <jwlemke@codesourcery.com>
18511
18512 [BZ #17581]
18513 * malloc/hooks.c
18514 (mem2mem_check): Add a terminator to the chain of checking blocks.
18515 (malloc_check_get_size): Use it here.
18516 (mem2chunk_check): Ditto.
18517
18518 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18519
18520 * sysdeps/powerpc/powerpc64/strtok.S: New file.
18521 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
18522
18523 2014-11-29 Carlos O'Donell <carlos@redhat.com>
18524
18525 * bits/ioctl-types.h: Indent preprocessor directives correctly.
18526
18527 * nptl/nptl-init.c: Include libc-internal.h.
18528 (__pthread_initialize_minimal_internal): Use ROUND_UP.
18529
18530 * elf/ldconfig.c (search_dir): Expand comment.
18531
18532 2014-11-29 Joseph Myers <joseph@codesourcery.com>
18533
18534 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
18535 variable.
18536 (linknamespace-symlist-stdlibs-tests): Likewise.
18537 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
18538 instead of $(objpfx)symlist-stdlibs.
18539 (linknamespace-libs-isoc): New variable.
18540 (linknamespace-libs): Use $(linknamespace-libs-isoc).
18541 (linknamespace-libs-ISO): New variable.
18542 (linknamespace-libs-ISO99): Likewise.
18543 (linknamespace-libs-ISO11): Likewise.
18544 (linknamespace-libs-XPG3): Likewise.
18545 (linknamespace-libs-XPG4): Likewise.
18546 (linknamespace-libs-POSIX): Likewise.
18547 (linknamespace-libs-UNIX98): Likewise.
18548 (linknamespace-libs-XOPEN2K): Likewise.
18549 (linknamespace-libs-POSIX2008): Likewise.
18550 (linknamespace-libs-XOPEN2K8): Likewise.
18551 ($(objpfx)symlist-stdlibs): Replace by
18552 $(linknamespace-symlist-stdlibs-tests). Use
18553 $(linknamespace-libs-$*) as set of libraries.
18554 ($(linknamespace-header-tests)): Update dependencies. Use
18555 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
18556 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
18557 * conform/linknamespace.pl: Remove comment about considering
18558 definitions of symbols from irrelevant libraries.
18559
18560 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
18561
18562 [BZ #13862]
18563 * elf/dl-tls.c: Include <atomic.h>.
18564 (oom): Remove #ifdef SHARED/#endif.
18565 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
18566 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
18567 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
18568 big enough.
18569 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
18570 * nptl/Makefile (tests): Add tst-stack4.
18571 (modules-names): Add tst-stack4mod.
18572 ($(objpfx)tst-stack4): New.
18573 (tst-stack4mod.sos): Likewise.
18574 ($(objpfx)tst-stack4.out): Likewise.
18575 ($(tst-stack4mod.sos)): Likewise.
18576 (clean): Likewise.
18577 * nptl/tst-stack4.c: New file.
18578 * nptl/tst-stack4mod.c: Likewise.
18579
18580 2014-11-27 J. Brown <jb999@gmx.de>
18581
18582 * sysdeps/x86/bits/string.h: Add recent CPUs.
18583
18584 2014-11-27 Joseph Myers <joseph@codesourcery.com>
18585
18586 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
18587 sigblock.
18588
18589 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
18590 feof.
18591
18592 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
18593 variable.
18594
18595 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
18596
18597 * nscd/connections.c: Include libc-internal.h because of macro
18598 usage ignore_value.
18599
18600 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18601
18602 * string/bits/string3.h (__warn_memset_zero_len): Don't
18603 declare for gcc newer than 5.0.
18604 (memset): Don't test for zero-length __LEN for gcc newer than
18605 5.0.
18606
18607 2014-11-27 Joseph Myers <joseph@codesourcery.com>
18608
18609 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
18610 size_t for %zu format.
18611
18612 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
18613 difference, not %ju.
18614
18615 2014-11-26 Joseph Myers <joseph@codesourcery.com>
18616
18617 * include/libc-internal.h (ignore_value): New macro.
18618 * nscd/connections.c (restart): Wrap calls to setuid and setgid
18619 with ignore_value.
18620
18621 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
18622 definition.
18623
18624 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
18625 pthread_cleanup_push to void *.
18626
18627 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
18628 Undefine.
18629
18630 [BZ #16619]
18631 [BZ #16740]
18632 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
18633 instead of 1L << 52.
18634
18635 * libio/bug-rewind.c (do_test): Check fwscanf return values.
18636 * libio/bug-rewind2.c (do_test): Likewise.
18637
18638 * debug/test-stpcpy_chk-ifunc.c: Remove file.
18639 * debug/test-strcpy_chk-ifunc.c: Likewise.
18640 * wcsmbs/test-wcschr-ifunc.c: Likewise.
18641 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18642 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18643 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18644 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18645 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18646 * Rules [$(multi-arch) = no] (tests): Do not filter out
18647 $(tests-ifunc).
18648 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
18649 * debug/Makefile (tests-ifunc): Remove variable.
18650 (tests): Do not add $(tests-ifunc).
18651 * wcsmbs/Makefile (tests-ifunc): Remove variable.
18652 (tests): Do not add $(tests-ifunc).
18653 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
18654 [TEST_IFUNC]: Remove conditionals.
18655 * string/test-string.h (TEST_IFUNC): Remove macro.
18656 [TEST_IFUNC]: Remove conditionals.
18657
18658 * string/test-strchr.c [!WIDE] (L): New macro.
18659 [WIDE] (L): Likewise.
18660 (check1): Use CHAR instead of char. Use L on string and character
18661 constants.
18662
18663 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
18664
18665 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
18666 tests.
18667 * sysdeps/powerpc/bits/atomic.h
18668 (__arch_atomic_exchange_and_add_32_acq): Add definition.
18669 (__arch_atomic_exchange_and_add_32_rel): Likewise.
18670 (atomic_exchange_and_add_acq): Likewise.
18671 (atomic_exchange_and_add_rel): Likewise.
18672 * sysdeps/powerpc/powerpc32/bits/atomic.h
18673 (__arch_atomic_exchange_and_add_64_acq): Add definition.
18674 (__arch_atomic_exchange_and_add_64_rel): Likewise.
18675 * sysdeps/powerpc/powerpc64/bits/atomic.h
18676 (__arch_atomic_exchange_and_add_64_acq): Add definition.
18677 (__arch_atomic_exchange_and_add_64_rel): Likewise.
18678
18679 2014-11-26 Torvald Riegel <triegel@redhat.com>
18680
18681 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
18682 Change synchronization of __sched_fifo_min_prio and
18683 __sched_fifo_max_prio.
18684 * nptl/pthread_mutexattr_getprioceiling.c
18685 (pthread_mutexattr_getprioceiling): Likewise.
18686 * nptl/pthread_mutexattr_setprioceiling.c
18687 (pthread_mutexattr_setprioceiling): Likewise.
18688 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
18689 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
18690 Likewise.
18691
18692 2014-11-26 Joseph Myers <joseph@codesourcery.com>
18693
18694 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
18695 void.
18696
18697 2014-11-25 Joseph Myers <joseph@codesourcery.com>
18698
18699 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
18700 third argument const.
18701
18702 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
18703
18704 fnmatch: work around GCC compiler warning bug with uninit var
18705 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
18706 This works around a bug with x86-64 GCC 4.9.2 and earlier
18707 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
18708 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
18709 used uninitialized in this function [-Wmaybe-uninitialized]".
18710
18711 2014-11-25 Joseph Myers <joseph@codesourcery.com>
18712
18713 * posix/bug-regex31.c (main): Return RES not 0.
18714
18715 2014-11-25 Anton Blanchard <anton@samba.org>
18716
18717 * sysdeps/powerpc/bits/atomic.h
18718 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
18719
18720 2014-11-24 Sterling Augustine <saugustine@google.com>
18721
18722 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
18723
18724 2014-11-24 Ryan Cumming <etaoins@gmail.com>
18725
18726 [BZ #17608]
18727 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
18728
18729 2014-11-24 Joseph Myers <joseph@codesourcery.com>
18730
18731 [BZ #17633]
18732 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
18733 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
18734 variable.
18735 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18736 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18737
18738 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
18739
18740 * string/strncpy.c (strncpy): Improve performance by using memset.
18741
18742 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
18743
18744 * string/strcpy.c (strcpy):
18745 Improve performance by using strlen and memcpy.
18746
18747 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
18748
18749 * string/strcoll_l.c (get_next_seq): __always_inline.
18750 * string/strcoll_l.c (do_compare): __always_inline.
18751
18752 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18753
18754 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
18755 defined.
18756 * include/mqueue.h: Likewise.
18757 * include/stdlib.h: Likewise.
18758
18759 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
18760 (get_null_defines): Adjust.
18761 * sunrpc/Makefile: Adjust comment.
18762 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
18763 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
18764 (CFLAGS-interp.c): Likewise.
18765 (CFLAGS-ldconfig.c): Likewise.
18766 (CPPFLAGS-.os): Likewise.
18767 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18768 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18769 * extra-modules.mk (extra-modules.mk): Likewise.
18770 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
18771 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
18772 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
18773 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
18774 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
18775 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
18776 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
18777 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
18778 * iconvdata/Makefile (CPPFLAGS): Likewise.
18779 (cpp-srcs-left): Add libof for all iconvdata routines.
18780 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
18781 * include/assert.h: Likewise.
18782 * include/ctype.h: Likewise.
18783 * include/errno.h: Likewise.
18784 * include/libc-symbols.h: Likewise.
18785 * include/math.h: Likewise.
18786 * include/netdb.h: Likewise.
18787 * include/resolv.h: Likewise.
18788 * include/stdio.h: Likewise.
18789 * include/stdlib.h: Likewise.
18790 * include/string.h: Likewise.
18791 * include/sys/stat.h: Likewise.
18792 * include/wctype.h: Likewise.
18793 * intl/l10nflist.c: Likewise.
18794 * libidn/idn-stub.c: Likewise.
18795 * libio/libioP.h: Likewise.
18796 * nptl/libc_multiple_threads.c: Likewise.
18797 * nptl/pthreadP.h: Likewise.
18798 * posix/regex_internal.h: Likewise.
18799 * resolv/res_hconf.c: Likewise.
18800 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
18801 * sysdeps/arm/memmove.S: Likewise.
18802 * sysdeps/arm/sysdep.h: Likewise.
18803 * sysdeps/generic/_itoa.h: Likewise.
18804 * sysdeps/generic/symbol-hacks.h: Likewise.
18805 * sysdeps/gnu/errlist.awk: Likewise.
18806 * sysdeps/gnu/errlist.c: Likewise.
18807 * sysdeps/i386/i586/memcpy.S: Likewise.
18808 * sysdeps/i386/i586/memset.S: Likewise.
18809 * sysdeps/i386/i686/memcpy.S: Likewise.
18810 * sysdeps/i386/i686/memmove.S: Likewise.
18811 * sysdeps/i386/i686/mempcpy.S: Likewise.
18812 * sysdeps/i386/i686/memset.S: Likewise.
18813 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18814 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18815 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
18816 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
18817 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18818 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18819 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
18820 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18821 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18822 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18823 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18824 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18825 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18826 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18827 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18828 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18829 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
18830 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
18831 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
18832 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18833 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18834 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18835 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18836 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18837 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18838 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18839 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
18840 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18841 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
18842 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18843 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18844 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18845 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18846 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18847 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18848 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18849 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18850 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18851 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18852 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18853 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18854 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18855 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18856 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18857 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18858 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18859 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
18860 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
18861 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18862 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18863 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18864 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
18865 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
18866 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18867 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18868 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
18869 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18870 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
18871 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
18872 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18873 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18874 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18875 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
18876 * sysdeps/nptl/bits/libc-lock.h: Likewise.
18877 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18878 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
18879 * sysdeps/posix/closedir.c: Likewise.
18880 * sysdeps/posix/opendir.c: Likewise.
18881 * sysdeps/posix/readdir.c: Likewise.
18882 * sysdeps/posix/rewinddir.c: Likewise.
18883 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
18884 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
18885 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18886 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18887 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18888 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
18889 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
18890 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
18891 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
18892 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
18893 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
18894 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
18895 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
18896 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
18897 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
18898 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
18899 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
18900 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
18901 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
18902 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
18903 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
18904 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
18905 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
18906 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
18907 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
18908 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
18909 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
18910 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
18911 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
18912 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
18913 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
18914 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
18915 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
18916 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
18917 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
18918 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
18919 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18920 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18921 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
18922 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
18923 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
18924 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
18925 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
18926 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
18927 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18928 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
18929 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
18930 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
18931 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
18932 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
18933 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
18934 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
18935 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18936 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
18937 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
18938 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
18939 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
18940 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
18941 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
18942 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
18943 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
18944 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
18945 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18946 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
18947 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
18948 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
18949 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
18950 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
18951 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
18952 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
18953 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
18954 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
18955 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
18956 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
18957 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
18958 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
18959 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
18960 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
18961 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18962 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
18963 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
18964 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18965 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
18966 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
18967 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18968 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
18969 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
18970 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18971 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18972 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18973 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
18974 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
18975 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
18976 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18977 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18978 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
18979 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18980 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18981 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
18982 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
18983 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18984 * sysdeps/unix/alpha/sysdep.S: Likewise.
18985 * sysdeps/unix/alpha/sysdep.h: Likewise.
18986 * sysdeps/unix/make-syscalls.sh: Likewise.
18987 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18988 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18989 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18990 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
18991 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18992 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18993 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
18994 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18995 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18996 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
18997 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18998 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18999 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19000 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19001 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19002 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19003 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19004 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19005 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19006 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19007 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19008 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19009 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19010 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19011 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19012 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19013 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19016 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
19017 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19018 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19019 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19020 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19021 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19022 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19023 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19024 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19025 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19026 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19027 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19028 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19029 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19030 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19031 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19032 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19033 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19034 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19035 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19036 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19037 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19038 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19039 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19040 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19041 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
19042 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19043 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19044 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19045 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
19046 * sysdeps/x86_64/memcpy.S: Likewise.
19047 * sysdeps/x86_64/memmove.c: Likewise.
19048 * sysdeps/x86_64/memset.S: Likewise.
19049 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
19050 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19051 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19052 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
19053 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19054 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19055 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19056 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19057 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19058 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19059 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19060 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19061 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
19062 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19063 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19064 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
19065 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19066 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19067 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19068 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19069 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
19070 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19071 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19072 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19073 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19074 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19075 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19076 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
19077 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
19078 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19079 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
19080 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19081 * sysdeps/x86_64/strcmp.S: Likewise.
19082
19083 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
19084
19085 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
19086 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
19087 * elf/rtld-Rules: Likewise.
19088 * elf/setup-vdso.h: Likewise.
19089 * include/assert.h: Likewise.
19090 * include/bits/stdlib-float.h: Likewise.
19091 * include/errno.h: Likewise.
19092 * include/sys/stat.h: Likewise.
19093 * include/unistd.h: Likewise.
19094 * sysdeps/aarch64/setjmp.S: Likewise.
19095 * sysdeps/alpha/setjmp.S: Likewise.
19096 * sysdeps/arm/__longjmp.S: Likewise.
19097 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
19098 * sysdeps/arm/setjmp.S: Likewise.
19099 * sysdeps/arm/sysdep.h: Likewise.
19100 * sysdeps/generic/_itoa.h: Likewise.
19101 * sysdeps/generic/dl-sysdep.h: Likewise.
19102 * sysdeps/generic/ldsodefs.h: Likewise.
19103 * sysdeps/i386/dl-tls.h: Likewise.
19104 * sysdeps/i386/setjmp.S: Likewise.
19105 * sysdeps/m68k/setjmp.c: Likewise.
19106 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
19107 * sysdeps/mach/hurd/opendir.c: Likewise.
19108 * sysdeps/posix/getcwd.c: Likewise.
19109 * sysdeps/posix/opendir.c: Likewise.
19110 * sysdeps/posix/profil.c: Likewise.
19111 * sysdeps/powerpc/dl-procinfo.h: Likewise.
19112 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19113 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
19114 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19115 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19116 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
19117 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
19118 * sysdeps/s390/dl-tls.h: Likewise.
19119 * sysdeps/s390/s390-32/setjmp.S: Likewise.
19120 * sysdeps/s390/s390-64/setjmp.S: Likewise.
19121 * sysdeps/sh/sh3/setjmp.S: Likewise.
19122 * sysdeps/sh/sh4/setjmp.S: Likewise.
19123 * sysdeps/unix/alpha/sysdep.h: Likewise.
19124 * sysdeps/unix/arm/sysdep.S: Likewise.
19125 * sysdeps/unix/i386/sysdep.S: Likewise.
19126 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19127 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19128 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
19129 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
19130 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19131 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
19132 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
19133 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19134 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
19135 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
19136 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
19137 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
19138 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
19139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19141 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
19142 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19143 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19144 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19145 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19146 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
19147 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19148 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19149 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
19150 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19151 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
19152 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19153 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19154 * sysdeps/x86_64/setjmp.S: Likewise.
19155
19156 * include/math.h: Use IS_IN instead of IS_IN_libm.
19157 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
19158 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19159 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19160 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
19161 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19162 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19163 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19164 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19165 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19166 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19167 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
19168 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
19169 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
19170 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
19171 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
19172 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
19173 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
19174 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
19175 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
19176 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
19177 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
19178 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
19179 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
19180 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
19181 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
19182 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
19183 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
19184 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
19185 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
19186 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
19187 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
19188 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19189 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
19191 Likewise.
19192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
19193 Likewise.
19194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
19195 Likewise.
19196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
19197 Likewise.
19198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
19199 Likewise.
19200 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19201 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
19202 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19203 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19204 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19205 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
19207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
19208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
19209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
19210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
19211 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
19212 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
19213 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19214 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19215 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19216 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19217 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19218 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19219 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19220 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
19221 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
19222 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
19223 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
19224 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
19225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19226 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
19227
19228 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
19229 * nptl/pthreadP.h: Likewise.
19230 * nptl_db/structs.def: Likewise.
19231 * sysdeps/arm/sysdep.h: Likewise.
19232 * sysdeps/nptl/bits/libc-lock.h: Likewise.
19233 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
19234 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
19235 * sysdeps/unix/alpha/sysdep.h: Likewise.
19236 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19237 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
19238 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19239 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19240 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19241 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19242 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19243 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19244 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19245 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19246 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19247 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19248 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19249 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
19251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
19252 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19253 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19254 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19255 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19256 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19257 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19258 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
19259 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19260 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
19261 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19262
19263 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
19264 * nptl/pthreadP.h: Likewise.
19265 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
19266 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
19267 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
19268 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
19269 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
19270 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
19271 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19272 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
19273 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
19274 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
19275 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
19276 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
19277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19278 Likewise.
19279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19280 Likewise.
19281 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
19282 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
19283 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
19284 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
19285 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
19286 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
19287 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
19288 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
19289
19290 * dlfcn/dladdr.c: Use IS_IN.
19291 * dlfcn/dladdr1.c: Likewise.
19292 * dlfcn/dlclose.c: Likewise.
19293 * dlfcn/dlerror.c: Likewise.
19294 * dlfcn/dlinfo.c: Likewise.
19295 * dlfcn/dlmopen.c: Likewise.
19296 * dlfcn/dlopen.c: Likewise.
19297 * dlfcn/dlsym.c: Likewise.
19298 * dlfcn/dlvsym.c: Likewise.
19299
19300 * include/ifaddrs.h: Use IS_IN.
19301 * inet/check_pf.c: Likewise.
19302 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19303 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
19304
19305 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
19306 IS_IN_ldconfig.
19307 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
19308 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
19309
19310 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
19311 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
19312 IS_IN (libc).
19313
19314 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
19315
19316 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
19317 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19318 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
19319 * include/libc-symbols.h (IS_IN_LIB): New macro.
19320 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
19321 * include/netdb.h: Likewise.
19322 * include/stap-probe.h: Remove all uses of IN_LIB.
19323
19324 * Makeconfig (module-cppflags-real): Define MODULE_NAME
19325 instead of IN_MODULE.
19326 * include/libc-symbols.h (IN_MODULE): Define using
19327 MODULE_NAME.
19328 (PASTE_NAME, PASTE_NAME1): New macros.
19329 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
19330 of IN_LIB.
19331 (STAP_PROBE_ASM): Likewise.
19332
19333 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
19334
19335 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
19336 __mach_init in dlopened libc.
19337
19338 2014-11-22 Mike Frysinger <vapier@gentoo.org>
19339
19340 * sysdeps/arm/preconfigure.ac: Delete EABI check.
19341 * sysdeps/arm/preconfigure: Regenerate.
19342
19343 2014-11-21 Roland McGrath <roland@hack.frob.com>
19344
19345 * nptl/pthread_create.c (__pthread_create_2_1): Set
19346 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
19347 when copying values from IATTR into PD.
19348
19349 2014-11-21 Will Newton <will.newton@linaro.org>
19350 Andrew Pinski <andrew.pinski@caviumnetworks.com>
19351
19352 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
19353 Refactor inline-asm. Also add comment.
19354
19355 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
19356 ElfW macro instead of hardcoded Elf64 types.
19357 (la_aarch64_gnu_pltenter): Likewise.
19358 * sysdeps/aarch64/dl-machine.h
19359 (elf_machine_runtime_setup): Use ElfW(Addr).
19360
19361 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
19362 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
19363 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
19364 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
19365 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
19366 (R_AARCH64_TLS_DTPMOD64): Rename to ..
19367 (R_AARCH64_TLS_DTPMOD): This.
19368 (R_AARCH64_TLS_DTPREL64): Rename to ...
19369 (R_AARCH64_TLS_DTPREL): This.
19370 (R_AARCH64_TLS_TPREL64): Rename to ...
19371 (R_AARCH64_TLS_TPREL): This.
19372 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
19373 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
19374 R_AARCH64_TLS_TPREL64.
19375 (elf_machine_rela): Likewise.
19376
19377 2014-11-21 Torvald Riegel <triegel@redhat.com>
19378
19379 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
19380 by setting it to 0. 64b atomics are not supported currently.
19381
19382 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
19383
19384 [BZ #16469]
19385 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
19386 search domain names.
19387
19388 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
19389
19390 [BZ #16469]
19391 * NEWS: Update.
19392 * resolv/res_query.c (__libc_res_nquerydomain): Retain
19393 trailing dot.
19394 * posix/tst-getaddrinfo5.c: New.
19395 * posix/Makefile (tests): Add it.
19396
19397 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
19398
19399 [BZ #14498]
19400 * NEWS: Fixed.
19401 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
19402 after parsing line but before break_if_match.
19403 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
19404 if there is a protocol mismatch.
19405
19406 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
19407
19408 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
19409 because the potential race is on the user-supplied stream.
19410
19411 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
19412
19413 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
19414 string literal if not passed a buffer.
19415 * manual/job.texi (ctermid): Update reasoning, note deviation
19416 from posix, suggest mtasurace when not passed a buffer, for
19417 future non-preliminary safety notes.
19418
19419 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
19420
19421 * manual/users.texi (cuserid): Fix MT-Safety note for the case
19422 of not passing it a buffer.
19423 Reported by Peng Haitao.
19424
19425 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
19426
19427 * manual/Makefile ($(objpfx)stamp-summary): Require
19428 check-safety.sh to pass.
19429 * manual/check-safety.sh: Wish for verification that every
19430 @deftypefn and @deftypefun is followed by a @safety remark.
19431
19432 2014-11-20 Roland McGrath <roland@hack.frob.com>
19433
19434 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
19435
19436 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
19437 PTHREAD_CANCEL_ASYNCHRONOUS.
19438 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
19439 send SIGCANCEL.
19440
19441 * nptl/default-sched.h: New file.
19442 * sysdeps/unix/sysv/linux/default-sched.h: New file.
19443 * nptl/pthread_create.c: Include it.
19444 (__pthread_create_2_1): Use collect_default_sched instead of making
19445 Linux syscalls here directly.
19446
19447 2014-11-20 Torvald Riegel <triegel@redhat.com>
19448
19449 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
19450 __pthread_once): Use C11 atomics.
19451
19452 2014-11-20 Torvald Riegel <triegel@redhat.com>
19453
19454 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
19455
19456 2014-11-20 Torvald Riegel <triegel@redhat.com>
19457
19458 * include/atomic.h (__atomic_link_error, __atomic_check_size,
19459 atomic_thread_fence_acquire, atomic_thread_fence_release,
19460 atomic_thread_fence_seq_cst, atomic_load_relaxed,
19461 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
19462 atomic_compare_exchange_weak_relaxed,
19463 atomic_compare_exchange_weak_acquire,
19464 atomic_compare_exchange_weak_release,
19465 atomic_exchange_acquire, atomic_exchange_release,
19466 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
19467 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
19468 atomic_fetch_and_acquire,
19469 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
19470
19471 2014-11-20 Torvald Riegel <triegel@redhat.com>
19472
19473 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
19474 USE_ATOMIC_COMPILER_BUILTINS): Define.
19475 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
19476 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19477 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
19478 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19479 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
19480 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19481 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
19482 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19483 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
19484 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19485 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
19486 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19487 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
19488 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19489 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
19490 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19491 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19492 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19493 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19494 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19495 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
19496 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19497 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19498 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19499 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
19500 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19501 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19502 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19503 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
19504 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19505 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
19506 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19507 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
19508 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19509 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19510 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19511 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
19512 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19513 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
19514 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19515
19516 2014-11-19 Roland McGrath <roland@hack.frob.com>
19517
19518 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
19519 the sched_priority value here. It was already checked when the user
19520 called pthread_attr_setschedparam.
19521
19522 * nptl/tst-bad-schedattr.c: New file.
19523 * nptl/Makefile (tests): Add it.
19524
19525 2014-11-19 Carlos O'Donell <carlos@redhat.com>
19526 Florian Weimer <fweimer@redhat.com>
19527 Joseph Myers <joseph@codesourcery.com>
19528 Adam Conrad <adconrad@0c3.net>
19529 Andreas Schwab <schwab@suse.de>
19530 Brooks <bmoses@google.com>
19531
19532 [BZ #17625]
19533 * wordexp-test.c (__dso_handle): Add prototype.
19534 (__register_atfork): Likewise.
19535 (__app_register_atfork): New function.
19536 (registered_forks): New global.
19537 (register_fork): New function.
19538 (test_case): Add 3 new tests for WRDE_CMDSUB.
19539 (main): Call __app_register_atfork.
19540 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
19541 fork count is non-zero fail the test.
19542 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
19543 is set.
19544 (parse_dollars): Remove check for WRDE_NOCMD.
19545 (parse_dquote): Likewise.
19546
19547 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19548
19549 * Makeconfig (built-modules): List non-library modules to be
19550 built.
19551 (module-cppflags): Include libc-modules.h for
19552 everything except shlib-versions.v.i.
19553 (CPPFLAGS): Use it.
19554 (before-compile): Add libc-modules.h.
19555 ($(common-objpfx)libc-modules.h,
19556 $(common-objpfx)libc-modules.stmp): New targets.
19557 (common-generated): Add libc-modules.h and libc-modules.stmp.
19558 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
19559 * include/libc-symbols.h: Don't include libc-modules.h.
19560 * include/libc-modules.h: Remove file.
19561 * scripts/gen-libc-modules.awk: New script to generate
19562 libc-modules.h.
19563 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
19564 Depend on libc-modules.stmp.
19565
19566 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
19567
19568 * Makeconfig (in-module): Get value of libof set for the
19569 translation unit.
19570 (CPPFLAGS): Use $(in-module).
19571 * Makerules: Don't suffix routine names for nonlib.
19572 * include/libc-modules.h: New file.
19573 * include/libc-symbols.h: Include libc-modules.h
19574 (IS_IN): New macro to replace IS_IN_* macros.
19575 * elf/Makefile: Set libof-* for each routine.
19576 * elf/rtld-Rules: Likewise.
19577 * extra-modules.mk: Likewise.
19578 * iconv/Makefile: Likewise.
19579 * iconvdata/Makefile: Likewise.
19580 * locale/Makefile: Likewise.
19581 * malloc/Makefile: Likewise.
19582 * nss/Makefile: Likewise.
19583 * sysdeps/gnu/Makefile: Likewise.
19584 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
19585 * sysdeps/unix/sysv/linux/Makefile: Likewise.
19586 * sysdeps/s390/s390-64/Makefile: Likewise.
19587 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
19588 CPPFLAGS for nscd instead of nonlib.
19589
19590 2014-11-18 Roland McGrath <roland@hack.frob.com>
19591
19592 * nptl/createthread.c: New file.
19593
19594 * nptl/createthread.c: Moved ...
19595 * sysdeps/unix/sysv/linux/createthread.c: ... here.
19596
19597 * nptl/createthread.c: Add proper top-line comment.
19598 (do_clone): Folded into ...
19599 (create_thread): ... here. Take new arguments STOPPED_START and
19600 THREAD_RAN. Always set PD->stopped_start to something here. Don't
19601 increment __nptl_threads, do event-reporting logic, do
19602 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
19603 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
19604 resource cleanup if sched_setaffinity or sched_setscheduler fails,
19605 just send SIGCANCEL.
19606 * nptl/pthread_create.c: Forward-declare create_thread before
19607 including createthread.c.
19608 (start_thread): Use new macro START_THREAD_DEFN to replace defining
19609 declaration, and new macro START_THREAD_SELF to replace argument.
19610 Remove return statement.
19611 (report_thread_creation): New function.
19612 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
19613 synchronization logic, and __nptl_nthreads increment here, around
19614 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
19615 PD->parent_cancelhandling here, before create_thread. When
19616 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
19617 __deallocate_stack, and ENOMEM translation here.
19618
19619 2014-11-18 Joseph Myers <joseph@codesourcery.com>
19620
19621 [BZ #17616]
19622 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
19623 (mptwo): Rename to __mptwo.
19624 (__inv): Use __mptwo instead of mptwo.
19625 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
19626 (mptwo): Rename to __mptwo.
19627 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
19628 of mpone and __mptwo instead of mptwo.
19629 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
19630 instead of mpone.
19631 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19632 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
19633 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
19634 of mpone and __mptwo instead of mptwo.
19635 (__mpranred): Use __mpone instead of mpone.
19636 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
19637 variable.
19638 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19639 (test-xfail-ISO99/math.h/linknamespace): Likewise.
19640 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19641 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19642 (test-xfail-ISO11/math.h/linknamespace): Likewise.
19643 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19644 (test-xfail-XPG3/math.h/linknamespace): Likewise.
19645 (test-xfail-XPG4/math.h/linknamespace): Likewise.
19646 (test-xfail-POSIX/math.h/linknamespace): Likewise.
19647 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19648 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19649 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19650 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19651 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19652 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19653 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19654 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19655 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19656 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19657
19658 2014-11-18 Tom de Vries <tom@codesoucery.com>
19659
19660 * manual/signal.texi (Primitives Interrupted by Signals): In section,
19661 replace BSD Handler xref with BSD Signal Handling.
19662
19663 2014-11-17 Richard Henderson <rth@redhat.com>
19664
19665 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
19666 (_FP_PACK_RAW_2): Remove.
19667 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
19668 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
19669 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
19670 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
19671 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
19672 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
19673 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
19674 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
19675 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
19676 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
19677 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
19678 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
19679 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
19680 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
19681 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
19682 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
19683
19684 2014-11-14 Roland McGrath <roland@hack.frob.com>
19685
19686 * signal/signal.h [__USE_MISC]
19687 (struct sigvec): Remove type.
19688 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
19689 (sigvec): Remove declaration.
19690 * sysdeps/posix/sigvec.c: Moved ...
19691 * signal/sigvec.c: ... here, replacing old file.
19692 (struct sigvec): New type, copied from old signal.h definition.
19693 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
19694 (__sigvec): Convert definition to prototype.
19695 (sigvec): Replace weak_alias with compat_symbol.
19696 * signal/Versions (libc: GLIBC_2.21): New version set.
19697 * include/signal.h: Remove __sigvec declaration.
19698 * sysdeps/unix/bsd/sigvec.c: Remove file.
19699 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
19700 * manual/signal.texi (BSD Handler): Remove subsection.
19701 Move siginterrupt up to ...
19702 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
19703 (Blocking in BSD): Fold subsection into its parent.
19704 * NEWS: Mention sigvec removal.
19705
19706 2014-11-14 Joseph Myers <joseph@codesourcery.com>
19707
19708 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
19709 (DLA_FMS): Make definition conditional only on [__FMA4__].
19710 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
19711 definition.
19712
19713 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
19714 Make definition conditional only on [PROF].
19715 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
19716 definition.
19717 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
19718 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
19719
19720 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
19721 !__GNUC__].
19722 * include/signal.h (__sigpause): Move declaration above call to
19723 libc_hidden_proto.
19724 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
19725 variable.
19726 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19727 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19728
19729 2014-11-14 David S. Miller <davem@davemloft.net>
19730
19731 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
19732 Define before including <string/memcpy.c> and <string/mempcpy.c>.
19733
19734 2014-11-14 Joseph Myers <joseph@codesourcery.com>
19735
19736 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
19737 * configure: Regenerated.
19738 * manual/install.texi (Tools for Compilation): Document a
19739 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
19740 compiler verified to work.
19741 * INSTALL: Regenerated.
19742
19743 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
19744 redeclare with asm name.
19745 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
19746 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
19747 including <string.h>.
19748 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19749 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
19750 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19751 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
19752 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19753 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19754 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19755
19756 2014-11-13 Joseph Myers <joseph@codesourcery.com>
19757
19758 * stdlib/strtol.c (__strtol): Use prototype definition.
19759
19760 [BZ #17594]
19761 * stdlib/strtol.c (SYM__): New macro.
19762 (SYM__1): Likewise.
19763 (__strtol): Likewise.
19764 (strtol): Rename to __strtol and define as weak alias of
19765 __strtol. Use libc_hidden_weak.
19766
19767 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19768
19769 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
19770 Use numbered labels in inline assembly.
19771
19772 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19773
19774 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
19775 Add setjmp LIBC_PROBE.
19776 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
19777 Likewise.
19778 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
19779 Add longjmp, longjmp_target LIBC_PROBE.
19780 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
19781 Likewise.
19782
19783 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19784
19785 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19786 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
19787 to get rid of unused variable warning.
19788
19789 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19790
19791 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
19792 Check for unwind_backtrace == NULL only in SHARED case.
19793 (__backchain_backtrace): Compile only in SHARED case.
19794 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
19795 Likewise.
19796 (__backchain_backtrace): Declare as static.
19797
19798 2014-11-12 Roland McGrath <roland@hack.frob.com>
19799
19800 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
19801 (__libc_multiple_threads_ptr): Variable moved ...
19802 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
19803
19804 2014-11-12 Joseph Myers <joseph@codesourcery.com>
19805
19806 * conform/GlibcConform.pm: New file.
19807 * conform/conformtest.pl: Use GlibcConform module.
19808 * conform/linknamespace.pl: New file.
19809 * conform/list-header-symbols.pl: Likewise.
19810 * conform/Makefile (linknamespace-symlists-base): New variable.
19811 (linknamespace-symlists-tests): Likewise.
19812 (linknamespace-header-base): Likewise.
19813 (linknamespace-header-tests): Likewise.
19814 (tests-special): Add new tests.
19815 ($(linknamespace-symlists-tests)): New rule.
19816 (linknamespace-libs): New variable.
19817 ($(objpfx)symlist-stdlibs): New rule.
19818 ($(linknamespace-header-tests)): Likewise.
19819 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
19820 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
19821 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
19822 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
19823 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
19824 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
19825 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
19826 (test-xfail-ISO/math.h/linknamespace): Likewise.
19827 (test-xfail-ISO/signal.h/linknamespace): Likewise.
19828 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
19829 (test-xfail-ISO/time.h/linknamespace): Likewise.
19830 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19831 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
19832 (test-xfail-ISO99/math.h/linknamespace): Likewise.
19833 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19834 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19835 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19836 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19837 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19838 (test-xfail-ISO11/math.h/linknamespace): Likewise.
19839 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19840 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19841 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19842 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19843 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
19844 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
19845 (test-xfail-XPG3/math.h/linknamespace): Likewise.
19846 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
19847 (test-xfail-XPG3/search.h/linknamespace): Likewise.
19848 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
19849 (test-xfail-XPG3/time.h/linknamespace): Likewise.
19850 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
19851 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19852 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19853 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
19854 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19855 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19856 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
19857 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
19858 (test-xfail-XPG4/math.h/linknamespace): Likewise.
19859 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
19860 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19861 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19862 (test-xfail-XPG4/search.h/linknamespace): Likewise.
19863 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19864 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
19865 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
19866 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
19867 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
19868 (test-xfail-XPG4/time.h/linknamespace): Likewise.
19869 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
19870 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19871 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
19872 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19873 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19874 (test-xfail-POSIX/math.h/linknamespace): Likewise.
19875 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
19876 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
19877 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19878 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19879 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
19880 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19881 (test-xfail-POSIX/time.h/linknamespace): Likewise.
19882 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
19883 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19884 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19885 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19886 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19887 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19888 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19889 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19890 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19891 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19892 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
19893 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19894 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19895 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19896 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
19897 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19898 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19899 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
19900 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19901 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19902 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19903 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19904 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19905 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19906 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
19907 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
19908 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19909 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
19910 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19911 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
19912 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19913 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19914 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19915 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
19916 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19917 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19918 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19919 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
19920 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
19921 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
19922 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19923 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19924 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19925 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19926 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
19927 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
19928 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19929 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19930 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19931 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19932 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19933 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19934 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19935 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19936 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19937 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19938 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
19939 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19940 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19941 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
19942 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19943 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19944 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19945 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19946 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19947 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19948 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19949 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19950 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19951 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19952 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19953 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19954 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19955 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19956 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
19957 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19958 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19959 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19960 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19961 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19962 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
19963 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19964 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19965 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19966 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19967 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19968 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19969 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19970 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19971 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19972 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19973 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19974 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19975 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19976 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
19977 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19978 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19979 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19980
19981 [BZ #17589]
19982 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
19983 of fgets_unlocked.
19984
19985 [BZ #17585]
19986 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
19987 (memmem): Rename to __memmem and define as weak alias of
19988 __memmem. Use libc_hidden_weak.
19989 (__memmem): Use libc_hidden_def.
19990 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
19991 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
19992 memmem.
19993
19994 [BZ #17582]
19995 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
19996 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
19997 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
19998 and define as weak alias of __fgets_unlocked. Use
19999 libc_hidden_weak.
20000 (__fgets_unlocked): Use libc_hidden_def.
20001 * include/stdio.h (__fgets_unlocked): Declare. Use
20002 libc_hidden_proto.
20003 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
20004 __fgets_unlocked instead of fgets_unlocked.
20005 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
20006 (GET_NPROCS_CONF_PARSER): Likewise.
20007 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
20008 (GET_NPROCS_CONF_PARSER): Likewise.
20009
20010 [BZ #17574]
20011 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
20012 weak alias of __wmemset. Use libc_hidden_weak.
20013 (__wmemset): Use libc_hidden_def.
20014 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
20015 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
20016 of wmemset.
20017
20018 [BZ #17573]
20019 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
20020 with asm name __mempcpy.
20021 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
20022
20023 [BZ #17572]
20024 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
20025 and define as weak alias of __rawmemchr.
20026 (__rawmemchr): Do not define as strong alias of rawmemchr.
20027
20028 [BZ #17571]
20029 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
20030 alias of __qsort_r.
20031 (qsort): Call __qsort_r instead of qsort_r.
20032 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
20033 (__qsort_r): Declare. Call libc_hidden_proto.
20034 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
20035 instead of qsort_r.
20036 * nscd/gai.c (__qsort_r): Define to qsort_r.
20037 * posix/tst-rfc3484.c (__qsort_r): Likewise.
20038 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
20039 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
20040
20041 [BZ #17570]
20042 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
20043 define as weak alias of __malloc_info.
20044
20045 [BZ #17584]
20046 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
20047 as weak alias of __rewinddir. Don't use libc_hidden_def.
20048 (__rewinddir): Use libc_hidden_def.
20049 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
20050 as weak alias of __rewinddir. Don't use libc_hidden_def.
20051 (__rewinddir): Use libc_hidden_def.
20052 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
20053 weak alias of __rewinddir. Don't use libc_hidden_def.
20054 (__rewinddir): Use libc_hidden_def.
20055 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
20056 (__rewinddir): Use libc_hidden_proto.
20057 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
20058 rewinddir.
20059 (__getcwd): Use __rewinddir instead of rewinddir.
20060
20061 [BZ #17583]
20062 * libio/fileno.c (fileno): Rename to __fileno and define as weak
20063 alias of __fileno. Use libc_hidden_weak.
20064 (__fileno): Use libc_hidden_def.
20065 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
20066 * libio/ftello.c (ftello): Rename to __ftello and define as weak
20067 alias of __ftello.
20068 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
20069 __ftello.
20070 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
20071 (__fread_unlocked): Define as strong alias of _IO_fread. Use
20072 libc_hidden_def.
20073 (fread_unlocked): Don't use libc_hidden_ver.
20074 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
20075 and define as weak alias of __fread_unlocked. Don't use
20076 libc_hidden_def.
20077 (__fread_unlocked): Use libc_hidden_def.
20078 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
20079 (ftello): Don't use libc_hidden_proto.
20080 (__ftello): Declare. Use libc_hidden_proto.
20081 (fread_unlocked): Don't use libc_hidden_proto.
20082 (__fread_unlocked): Declare. Use libc_hidden_proto.
20083 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
20084 and __ftello instead of fileno, fread_unlocked and ftello.
20085
20086 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20087
20088 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
20089 GOT12.
20090 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
20091 Likewise.
20092 (_dl_start_user): Likewise.
20093 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
20094
20095 2014-11-12 Carlos O'Donell <carlos@redhat.com>
20096 Siddhesh Poyarekar <siddhesh@redhat.com>
20097
20098 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
20099 Move argv and envp down instead of moving argc up.
20100 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
20101
20102 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
20103
20104 [BZ #17506]
20105 * test-skeleton.c (main): Return successful if one of
20106 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
20107 * string/tst-strcoll-overflow.c: Define expected status.
20108
20109 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
20110
20111 [BZ #17475]
20112 * locale/iso-639.def: Define Bhili and Tulu language codes.
20113
20114 2014-11-11 Alan Hayward <alan.hayward@arm.com>
20115
20116 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
20117
20118 2014-11-10 Renlin Li <Renlin.Li@arm.com>
20119
20120 [BZ #17555]
20121 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
20122
20123 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
20124
20125 * configure.ac: Updated check of minimal required version to
20126 2.22.
20127 * manual/install.texi (Tools for Compilation): Updated version
20128 number.
20129 * configure: Regenerated.
20130 * INSTALL: Likewise.
20131
20132 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
20133
20134 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
20135 __tls_get_addr.
20136
20137 2014-11-07 Joseph Myers <joseph@codesourcery.com>
20138
20139 * include/sys/wait.h (__libc_waitpid): Remove declaration.
20140 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
20141 (__waitpid): Don't define as alias. Use libc_hidden_def not
20142 libc_hidden_weak.
20143 (waitpid): Define as alias of __waitpid.
20144 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
20145 __waitpid.
20146 (__waitpid): Don't define as alias. Use libc_hidden_def not
20147 libc_hidden_weak.
20148 (waitpid): Define as alias of __waitpid.
20149 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
20150 __libc_waitpid alias.
20151 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
20152 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
20153 Likewise.
20154 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
20155 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
20156 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
20157 alias.
20158 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
20159 __waitpid.
20160 (__waitpid): Don't define as alias. Use libc_hidden_def not
20161 libc_hidden_weak.
20162 (waitpid): Define as alias of __waitpid.
20163
20164 2014-11-06 Carlos O'Donell <carlos@redhat.com>
20165
20166 * manual/llio.texi: Add comment that write safety has been
20167 fixed in Linux.
20168
20169 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
20170 (localplt-build-dso): Add elf/ld.so.
20171 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
20172 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
20173 and free for ld.so.
20174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
20175 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
20176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
20177 Likewise.
20178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
20179 Likewise.
20180 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
20181 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
20182 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
20183 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
20184 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20185 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
20186 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
20187 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
20188 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20189 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
20190 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20191
20192 2014-11-05 Joseph Myers <joseph@codesourcery.com>
20193
20194 [BZ #14132]
20195 * include/libc-symbols.h (INTUSE): Remove macro.
20196 (INTDEF): Likewise.
20197 (INTVARDEF): Likewise.
20198 (_INTVARDEF): Likewise.
20199 (INTDEF2): Likewise.
20200 (INTVARDEF2): Likewise.
20201 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
20202 rtld_hidden_def instead of INTVARDEF.
20203 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
20204 (_dl_starting_up_internal): Remove declaration.
20205 (_dl_starting_up): Use rtld_hidden_proto.
20206 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
20207 declaration.
20208 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
20209 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
20210 _dl_starting_up.
20211 * elf/dl-writev.h (_dl_writev): Likewise.
20212 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
20213 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
20214 _dl_starting_up_internal.
20215
20216 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20217
20218 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20219 test-skeleton.c.
20220
20221 2014-11-05 Will Newton <will.newton@linaro.org>
20222
20223 * benchtests/Makefile: (bench-malloc): Add malloc thread
20224 scalability benchmark.
20225 * benchtests/bench-malloc-threads.c: New file.
20226
20227 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
20228
20229 * sysdeps/aarch64/strchrnul.S: New file.
20230
20231 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20232
20233 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
20234 definition.
20235 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
20236 Likwise.
20237 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
20238 Likewise.
20239 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
20240 Likewise.
20241 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
20242 Likewise.
20243 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
20244 Likewise.
20245
20246 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
20247
20248 * catgets/test-gencat.c: Use test-skeleton.c.
20249 * catgets/tst-catgets.c: Likewise.
20250 * csu/tst-empty.c: Likewise.
20251 * elf/tst-audit2.c: Likewise.
20252 * elf/tst-global1.c: Likewise.
20253 * elf/tst-pathopt.c: Likewise.
20254 * elf/tst-piemod1.c: Likewise.
20255 * elf/tst-tls10.c: Likewise.
20256 * elf/tst-tls11.c: Likewise.
20257 * elf/tst-tls12.c: Likewise.
20258 * gnulib/tst-gcc.c: Likewise.
20259 * iconvdata/tst-e2big.c: Likewise.
20260 * iconvdata/tst-loading.c: Likewise.
20261 * iconv/tst-iconv1.c: Likewise.
20262 * iconv/tst-iconv2.c: Likewise.
20263 * inet/test-inet6_opt.c: Likewise.
20264 * inet/tst-gethnm.c: Likewise.
20265 * inet/tst-network.c: Likewise.
20266 * inet/tst-ntoa.c: Likewise.
20267 * intl/tst-codeset.c: Likewise.
20268 * intl/tst-gettext2.c: Likewise.
20269 * intl/tst-gettext3.c: Likewise.
20270 * intl/tst-ngettext.c: Likewise.
20271 * intl/tst-translit.c: Likewise.
20272 * io/test-stat.c: Likewise.
20273 * libio/test-fmemopen.c: Likewise.
20274 * libio/tst-freopen.c: Likewise.
20275 * libio/tst-sscanf.c: Likewise.
20276 * libio/tst-ungetwc1.c: Likewise.
20277 * libio/tst-ungetwc2.c: Likewise.
20278 * libio/tst-widetext.c: Likewise.
20279 * localedata/tst-ctype.c: Likewise.
20280 * localedata/tst-digits.c: Likewise.
20281 * localedata/tst-leaks.c: Likewise.
20282 * localedata/tst-mbswcs1.c: Likewise.
20283 * localedata/tst-mbswcs2.c: Likewise.
20284 * localedata/tst-mbswcs3.c: Likewise.
20285 * localedata/tst-mbswcs4.c: Likewise.
20286 * localedata/tst-mbswcs5.c: Likewise.
20287 * localedata/tst-setlocale.c: Likewise.
20288 * localedata/tst-trans.c: Likewise.
20289 * localedata/tst-wctype.c: Likewise.
20290 * localedata/tst-xlocale1.c: Likewise.
20291 * login/tst-grantpt.c: Likewise.
20292 * malloc/tst-calloc.c: Likewise.
20293 * malloc/tst-malloc.c: Likewise.
20294 * malloc/tst-mallocstate.c: Likewise.
20295 * malloc/tst-mcheck.c: Likewise.
20296 * malloc/tst-mtrace.c: Likewise.
20297 * malloc/tst-obstack.c: Likewise.
20298 * math/atest-exp2.c: Likewise.
20299 * math/atest-exp.c: Likewise.
20300 * math/atest-sincos.c: Likewise.
20301 * math/test-matherr.c: Likewise.
20302 * math/test-misc.c: Likewise.
20303 * math/test-powl.c: Likewise.
20304 * math/tst-definitions.c: Likewise.
20305 * misc/tst-dirname.c: Likewise.
20306 * misc/tst-efgcvt.c: Likewise.
20307 * misc/tst-fdset.c: Likewise.
20308 * misc/tst-hsearch.c: Likewise.
20309 * misc/tst-mntent2.c: Likewise.
20310 * nptl/tst-sem7.c: Likewise.
20311 * nptl/tst-sem8.c: Likewise.
20312 * nptl/tst-sem9.c: Likewise.
20313 * nss/test-netdb.c: Likewise.
20314 * posix/tst-fnmatch.c: Likewise.
20315 * posix/tst-getlogin.c: Likewise.
20316 * posix/tst-gnuglob.c: Likewise.
20317 * posix/tst-mmap.c: Likewise.
20318 * pwd/tst-getpw.c: Likewise.
20319 * resolv/tst-inet_ntop.c: Likewise.
20320 * rt/tst-timer.c: Likewise.
20321 * stdio-common/test-fseek.c: Likewise.
20322 * stdio-common/test-popen.c: Likewise.
20323 * stdio-common/test-vfprintf.c: Likewise.
20324 * stdio-common/tst-cookie.c: Likewise.
20325 * stdio-common/tst-fileno.c: Likewise.
20326 * stdio-common/tst-gets.c: Likewise.
20327 * stdio-common/tst-obprintf.c: Likewise.
20328 * stdio-common/tst-perror.c: Likewise.
20329 * stdio-common/tst-sprintf2.c: Likewise.
20330 * stdio-common/tst-sprintf3.c: Likewise.
20331 * stdio-common/tst-sprintf.c: Likewise.
20332 * stdio-common/tst-swprintf.c: Likewise.
20333 * stdio-common/tst-tmpnam.c: Likewise.
20334 * stdio-common/tst-unbputc.c: Likewise.
20335 * stdio-common/tst-wc-printf.c: Likewise.
20336 * stdlib/tst-environ.c: Likewise.
20337 * stdlib/tst-fmtmsg.c: Likewise.
20338 * stdlib/tst-limits.c: Likewise.
20339 * stdlib/tst-rand48-2.c: Likewise.
20340 * stdlib/tst-rand48.c: Likewise.
20341 * stdlib/tst-random2.c: Likewise.
20342 * stdlib/tst-random.c: Likewise.
20343 * stdlib/tst-strtol.c: Likewise.
20344 * stdlib/tst-strtoll.c: Likewise.
20345 * stdlib/tst-tls-atexit.c: Likewise.
20346 * stdlib/tst-xpg-basename.c: Likewise.
20347 * string/test-ffs.c: Likewise.
20348 * string/tst-bswap.c: Likewise.
20349 * string/tst-inlcall.c: Likewise.
20350 * string/tst-strtok.c: Likewise.
20351 * string/tst-strxfrm.c: Likewise.
20352 * sysdeps/x86_64/tst-audit10.c: Likewise.
20353 * sysdeps/x86_64/tst-audit3.c: Likewise.
20354 * sysdeps/x86_64/tst-audit4.c: Likewise.
20355 * sysdeps/x86_64/tst-audit5.c: Likewise.
20356 * time/tst-ftime_l.c: Likewise.
20357 * time/tst-getdate.c: Likewise.
20358 * time/tst-mktime3.c: Likewise.
20359 * time/tst-mktime.c: Likewise.
20360 * time/tst-posixtz.c: Likewise.
20361 * time/tst-strptime2.c: Likewise.
20362 * time/tst-strptime3.c: Likewise.
20363 * wcsmbs/tst-btowc.c: Likewise.
20364 * wcsmbs/tst-mbrtowc.c: Likewise.
20365 * wcsmbs/tst-mbsrtowcs.c: Likewise.
20366 * wcsmbs/tst-wchar-h.c: Likewise.
20367 * wcsmbs/tst-wcpncpy.c: Likewise.
20368 * wcsmbs/tst-wcrtomb.c: Likewise.
20369 * wcsmbs/tst-wcsnlen.c: Likewise.
20370 * wcsmbs/tst-wcstof.c: Likewise.
20371
20372 2014-11-04 Joseph Myers <joseph@codesourcery.com>
20373
20374 [BZ #14132]
20375 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
20376 INTDEF.
20377 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
20378 declaration.
20379 (_dl_mcount): Use rtld_hidden_proto.
20380 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
20381 _dl_mcount.
20382 * elf/rtld.c (_rtld_global_ro): Likewise.
20383
20384 [BZ #14132]
20385 * elf/dl-init.c (_dl_init): Don't use INTDEF.
20386 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
20387 of _dl_init_internal.
20388 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
20389 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
20390 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
20391 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
20392 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
20393 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
20394 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
20395 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
20396 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
20397 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
20398 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
20399 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
20400 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20401 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20402 * sysdeps/tile/dl-start.S (_start): Likewise.
20403 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
20404 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
20405
20406 [BZ #14132]
20407 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
20408 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
20409 (rtld_progname): Make macro definition unconditional.
20410 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
20411 INTDEF.
20412 (dlmopen_doit): Do not use INTUSE with _dl_argv.
20413 (dl_main): Likewise.
20414 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20415 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
20416 instead of _dl_argv_internal.
20417 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20418 __GI__dl_argv instead of INTUSE(_dl_argv).
20419 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
20420 __GI__dl_argv instead of _dl_argv_internal.
20421
20422 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
20423 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
20424 macro.
20425 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
20426 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
20427 New macro.
20428 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
20429 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
20430 macro.
20431 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
20432 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
20433
20434 2014-11-04 Andreas Schwab <schwab@suse.de>
20435
20436 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
20437
20438 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20439
20440 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
20441 mtvsrd instruction in binary form.
20442
20443 2014-11-03 Andreas Schwab <schwab@suse.de>
20444
20445 [BZ #17522]
20446 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
20447 for less than MB_LEN_MAX use a local buffer of that size.
20448 * libio/tst-fputws.c: New file.
20449 * libio/Makefile (tests): Add tst-fputws.
20450
20451 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
20452
20453 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
20454 the size of the fpu_fr.fpu_dregs[] array.
20455
20456 2014-11-01 Joseph Myers <joseph@codesourcery.com>
20457
20458 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
20459 (__nanosleep): Do not define as alias.
20460 (nanosleep): Define as alias of __nanosleep.
20461 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
20462 __libc_nanosleep name.
20463
20464 2014-10-31 Joseph Myers <joseph@codesourcery.com>
20465
20466 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
20467 install.texi in comment.
20468
20469 2014-10-31 Torvald Riegel <triegel@redhat.com>
20470
20471 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
20472 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
20473 ... add here and use lwsync or sync ...
20474 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
20475 ... and add here using lwsync.
20476
20477 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
20478
20479 * elf/dl-machine-reject-phdr.h: New file.
20480 * elf/dl-load.c: #include that.
20481 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
20482 if that returned true.
20483
20484 2014-10-31 Roland McGrath <roland@hack.frob.com>
20485
20486 [BZ #17496]
20487 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
20488 gen-as-const-headers chunk. Add a big scare comment after the last
20489 safe place to touch before-compile.
20490
20491 2014-10-31 Joseph Myers <joseph@codesourcery.com>
20492
20493 * manual/install.texi (Tools for Compilation): Update autoconf
20494 version requirements.
20495 * INSTALL: Regenerated.
20496
20497 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
20498 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
20499 (__libc_pselect): Likewise.
20500
20501 [BZ #14138]
20502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
20503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20506
20507 2014-10-31 Torvald Riegel <triegel@redhat.com>
20508
20509 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
20510 correct barrier instruction.
20511 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
20512 Likewise.
20513 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
20514 Likewise.
20515
20516 2014-10-30 Roland McGrath <roland@hack.frob.com>
20517
20518 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
20519 after defining inlines. Instead, just use parens to defeat macro
20520 expansion of __isctype in its declaration.
20521
20522 2014-10-30 Joseph Myers <joseph@codesourcery.com>
20523
20524 * include/sys/uio.h (__libc_readv): Remove declaration.
20525 (__libc_writev): Likewise.
20526 * misc/readv.c (__libc_readv): Rename to __readv.
20527 (__readv): Do not define as alias.
20528 (readv): Define as alias of __readv.
20529 * misc/writev.c (__libc_writev): Rename to __writev.
20530 (__writev): Do not define as alias.
20531 (writev): Define as alias of __writev.
20532 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
20533 (__readv): Do not define as alias.
20534 (readv): Define unconditionally as alias of __readv.
20535 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
20536 (__writev): Do not define as alias.
20537 (writev): Define unconditionally as alias of __writev.
20538 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
20539 name.
20540 (writev): Do not define __libc_writev name.
20541
20542 2014-10-30 Roland McGrath <roland@hack.frob.com>
20543
20544 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
20545 (convert_charseq): New function, broken out of ...
20546 (use_from_charmap): ... here. Call it.
20547 (use_to_charmap): Use convert_charseq and free instead of duplicating
20548 its code with a variable-length stack struct.
20549
20550 2014-10-30 Joseph Myers <joseph@codesourcery.com>
20551
20552 * include/fcntl.h (__libc_creat): Remove declaration.
20553 * io/creat.c (__libc_creat): Rename to creat.
20554 (creat): Do not define as alias.
20555 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
20556 of creat instead of __libc_creat.
20557 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
20558 to creat.
20559 (creat): Do not define as alias.
20560 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
20561 __libc_creat.
20562 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
20563 __libc_creat name.
20564 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
20565 Likewise.
20566
20567 2014-10-29 Carlos O'Donell <carlos@redhat.com>
20568
20569 * manual/llio.texi: Add comments discussing why write() may be
20570 considered MT-unsafe on Linux.
20571
20572 2014-10-28 Carlos O'Donell <carlos@redhat.com>
20573
20574 * dl-load.c (local_strdup): Remove.
20575 (expand_dynamic_string_token): Use __strdup.
20576 (decompose_rpath): Likewise.
20577 (_dl_map_object): Likewise.
20578
20579 2014-10-28 Joseph Myers <joseph@codesourcery.com>
20580
20581 [BZ #14132]
20582 * sysdeps/generic/unwind-dw2-fde.c
20583 (__register_frame_info_bases_internal): Do not declare.
20584 (__register_frame_info_table_bases_internal): Likewise.
20585 (__deregister_frame_info_bases_internal): Likewise.
20586 (__register_frame_info_bases): Declare and use hidden_proto before
20587 definition. Use hidden_def instead of INTDEF.
20588 (__register_frame_info_table_bases): Likewise.
20589 (__deregister_frame_info_bases): Likewise.
20590 (__register_frame_info): Do not use INTUSE.
20591 (__register_frame): Likewise.
20592 (__register_frame_info_table): Likewise.
20593 (__register_frame_table): Likewise.
20594 (__deregister_frame_info): Likewise.
20595 (__deregister_frame): Likewise.
20596
20597 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
20598
20599 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20600 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
20601 not undefine.
20602 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
20603 Likewise.
20604 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
20605 Likewise.
20606
20607 2014-10-27 Joseph Myers <joseph@codesourcery.com>
20608
20609 [BZ #14138]
20610 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
20611 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
20612 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
20613 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
20614 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
20615 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
20616 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
20617 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
20618 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
20619 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
20620 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
20621 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
20622 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
20623 syscall.
20624 (setfsuid): Likewise.
20625 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
20626 (setfsuid): Likewise.
20627 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
20628 (setfsuid): Likewise.
20629 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
20630 Likewise.
20631 (setfsuid): Likewise.
20632 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
20633 (setfsuid): Likewise.
20634 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
20635 Likewise.
20636 (setfsuid): Likewise.
20637
20638 2014-10-27 Andreas Schwab <schwab@suse.de>
20639
20640 [BZ #17501]
20641 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
20642 check for Slow_SSE4_2 feature bit.
20643 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
20644 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20645 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
20646 Likewise. Fix check for Fast_Unaligned_Load feature bit.
20647
20648 2014-10-24 Roland McGrath <roland@hack.frob.com>
20649
20650 * configure.ac: Validate compiler version with a empirical test of
20651 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
20652 $CC -v output.
20653 * configure: Regenerated.
20654
20655 * inet/htons.c (htons): Prototypify.
20656 * inet/htonl.c (htonl): Likewise.
20657
20658 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
20659
20660 * string/strncat.c (strncat): Improve performance by using strlen.
20661
20662 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
20663
20664 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
20665
20666 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
20667
20668 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
20669 Call libc_fetestexcept_aarch64.
20670
20671 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
20672
20673 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
20674 Call libc_feholdexcept_aarch64.
20675
20676 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
20677
20678 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
20679 Call get_rounding_mode.
20680
20681 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
20682
20683 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20684 Simplify logic.
20685
20686 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
20687
20688 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
20689 Simplify logic.
20690
20691 2014-10-24 Joseph Myers <joseph@codesourcery.com>
20692
20693 [BZ #14138]
20694 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
20695 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
20696 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
20697 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
20698 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
20699 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
20700 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
20701 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
20702 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
20703 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
20704 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20705 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
20706 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
20707 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
20708 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
20709 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
20710 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
20711 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
20712 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
20713 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
20714 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
20715 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
20716 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
20717 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
20718 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
20719 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
20720 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
20721 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
20722 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
20723 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
20724 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
20725 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
20726 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
20727 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
20728 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
20729 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
20730 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
20731 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
20732 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
20733 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
20734 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
20735 syscall.
20736 (geteuid): Likewise.
20737 (getgid): Likewise.
20738 (getuid): Likewise.
20739 (getresgid): Likewise.
20740 (getresuid): Likewise.
20741 (getgroups): Likewise.
20742 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
20743 (geteuid): Likewise.
20744 (getgid): Likewise.
20745 (getuid): Likewise.
20746 (getresgid): Likewise.
20747 (getresuid): Likewise.
20748 (getgroups): Likewise.
20749 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
20750 (geteuid): Likewise.
20751 (getgid): Likewise.
20752 (getuid): Likewise.
20753 (getresgid): Likewise.
20754 (getresuid): Likewise.
20755 (getgroups): Likewise.
20756 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
20757 Likewise.
20758 (geteuid): Likewise.
20759 (getgid): Likewise.
20760 (getuid): Likewise.
20761 (getresgid): Likewise.
20762 (getresuid): Likewise.
20763 (getgroups): Likewise.
20764 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
20765 (geteuid): Likewise.
20766 (getgid): Likewise.
20767 (getuid): Likewise.
20768 (getresgid): Likewise.
20769 (getresuid): Likewise.
20770 (getgroups): Likewise.
20771 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
20772 Likewise.
20773 (geteuid): Likewise.
20774 (getgid): Likewise.
20775 (getuid): Likewise.
20776 (getgroups): Likewise.
20777
20778 [BZ #14138]
20779 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
20780 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
20781 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
20782 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20783 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
20784 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
20785 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
20786 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
20787 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
20788 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
20789 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
20790 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
20791 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
20792 __chown.
20793 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
20794 (lchown): Likewise.
20795 (fchown): Likewise.
20796 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
20797 Likewise.
20798 (lchown): Likewise.
20799 (fchown): Likewise.
20800 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
20801 (lchown): Likewise.
20802 (fchown): Likewise.
20803 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
20804 Likewise.
20805 (lchown): Likewise.
20806 (fchown): Likewise.
20807
20808 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
20809
20810 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
20811 Simplify logic.
20812
20813 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
20814
20815 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20816 Cleanup logic.
20817
20818 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
20819
20820 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20821 Remove unused include.
20822
20823 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
20824
20825 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
20826 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
20827 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
20828 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
20829
20830 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
20831 Helge Deller <deller@gmx.de>
20832
20833 [BZ #17508]
20834 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
20835 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
20836 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
20837
20838 2014-10-23 Joseph Myers <joseph@codesourcery.com>
20839
20840 [BZ #14132]
20841 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
20842 Remove macro definition.
20843 (__ashrdi3_v_glibc20): Likewise.
20844 (__lshrdi3_v_glibc20): Likewise.
20845 (__cmpdi2_v_glibc20): Likewise.
20846 (__ucmpdi2_v_glibc20): Likewise.
20847 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
20848 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20849 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20850 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20851 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20852 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
20853
20854 2014-10-22 Roland McGrath <roland@hack.frob.com>
20855
20856 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
20857 old GNU extension [0] syntax.
20858 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
20859 alloca rather than an array member with variable length.
20860 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
20861 * nscd/nscd.c (invalidate_db): New function, broken out of ...
20862 (parse_opt): ... here. Likewise use alloca there.
20863 Validate the -i argument before checking for rootness.
20864 (send_shutdown): New function, broken out of ...
20865 (parse_opt): ... here.
20866
20867 2014-10-22 Roland McGrath <roland@hack.frob.com>
20868
20869 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
20870 macro to get at the _rt_local_ro field.
20871 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
20872 ([PIC] case) or _dl_hwcap ([!PIC] case).
20873 * sysdeps/arm/setjmp.S: Likewise.
20874
20875 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
20876 * sysdeps/arm/configure.ac: New check to define it.
20877 * sysdeps/arm/configure: Regenerated.
20878 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
20879 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
20880 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
20881 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
20882 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
20883 Use move/movt pair instead of a load.
20884 (LDST_GLOBAL): Macro removed.
20885 (LDR_GLOBAL): New macro replaces it.
20886 (LDR_HIDDEN): New macro.
20887 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
20888 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
20889
20890 * setjmp/tst-setjmp-static.c: New file.
20891 * setjmp/Makefile (tests): Add it.
20892 (tests-static): New variable.
20893
20894 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
20895
20896 [BZ #17485]
20897 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
20898
20899 2014-10-21 Joseph Myers <joseph@codesourcery.com>
20900
20901 [BZ #14132]
20902 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
20903
20904 2014-10-21 Roland McGrath <roland@hack.frob.com>
20905
20906 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
20907
20908 2014-10-20 Roland McGrath <roland@hack.frob.com>
20909
20910 * io/fts.c (dirent_not_directory): New function.
20911 (fts_build): Call it.
20912
20913 2014-10-20 Roland McGrath <roland@hack.frob.com>
20914
20915 * nptl/version.c (__nptl_main): Use normal __write rather than
20916 INTERNAL_SYSCALL.
20917 (banner): Update copyright years.
20918
20919 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
20920 gettimeofday.
20921 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20922 * nptl/pthread_cond_timedwait.c: Likewise.
20923 * nptl/pthread_mutex_timedlock.c: Likewise.
20924 * nptl/sem_timedwait.c: Likewise.
20925
20926 * sysdeps/nptl/bits/libc-lock.h
20927 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20928 (__libc_lock_init_recursive): Return void, not 0.
20929 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
20930 (__libc_rwlock_init): Likewise.
20931 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
20932
20933 2014-10-20 Torvald Riegel <triegel@redhat.com>
20934
20935 [BZ #15215]
20936 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
20937 (__pthread_once_slow): ... here.
20938 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
20939 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
20940
20941 2014-10-20 Torvald Riegel <triegel@redhat.com>
20942
20943 [BZ #15215]
20944 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
20945 __PTHREAD_ONCE_FORK_GEN_INCR): New.
20946 * sysdeps/nptl/fork.c (__libc_fork): Use them.
20947 * nptl/pthread_once.c (__pthread_once): Likewise.
20948 Update comments.
20949
20950 2014-10-20 Joseph Myers <joseph@codesourcery.com>
20951
20952 [BZ #14138]
20953 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
20954 name.
20955 (writev): Use __libc_writev as strong name.
20956 * sysdeps/unix/sysv/linux/readv.c: Remove file.
20957 * sysdeps/unix/sysv/linux/writev.c: Likewise.
20958
20959 2014-10-17 Roland McGrath <roland@hack.frob.com>
20960
20961 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
20962
20963 * sysdeps/i386/nptl/tls.h
20964 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
20965 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
20966 New macros.
20967 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
20968 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
20969 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
20970 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
20971 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
20972 Call CHECK_THREAD_SYSINFO instead of doing an assert.
20973
20974 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20975 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
20976 on [__NR_futex].
20977 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
20978 broken out of ...
20979 (__pthread_mutex_init): ... here. Call it.
20980 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
20981 Conditionalize PI cases on [__NR_futex].
20982 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
20983 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
20984 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
20985
20986 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
20987 conditional on [SIGSETXID].
20988 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
20989 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
20990 is defined. Likewise for SIGSETXID.
20991 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
20992 Conditionalize definitions on [SIGSETXID].
20993 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
20994 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
20995 unblocking on [SIGCANCEL].
20996
20997 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
20998 [__NR_set_robust_list].
20999
21000 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21001
21002 * string/strcoll_l.c (get_next_seq): Fix up formatting.
21003 (do_compare): Likewise.
21004
21005 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
21006
21007 [BZ #15884]
21008 * string/strcoll_l.c: Don't include stdio.h.
21009 (coll_seq): Remove members idxarr and rulearr.
21010 (get_next_seq_cached): Remove function.
21011 (get_next_seq): Likewise.
21012 (get_next_seq_nocache): Rename to get_next_seq.
21013 (do_compare): Remove function.
21014 (do_compare_nocache): Rename to do_compare.
21015 (STRCOLL): Remove weight and rules cache.
21016
21017 2014-10-16 Roland McGrath <roland@hack.frob.com>
21018
21019 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
21020 * sysdeps/arm/sfp-machine.h: ... to here.
21021 * sysdeps/arm/Implies: Remove arm/soft-fp.
21022
21023 2014-10-14 Joseph Myers <joseph@codesourcery.com>
21024
21025 * conform/data/sys/utsname.h-data (*_t): Allow.
21026 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
21027 [POSIX] (WEXITED): Do not expect constant.
21028 [POSIX] (WSTOPPED): Likewise.
21029 [POSIX] (WNOHANG): Likewise.
21030 [POSIX] (WNOWAIT): Likewise.
21031 [POSIX] (siginfo_t): Do not expect type or elements.
21032 [POSIX] (pid_t): Do not expect type.
21033 [POSIX] (signal.h): Do not allow header.
21034 [POSIX] (sys/resource.h): Likewise.
21035 [POSIX] (si_*): Do not allow pattern.
21036 [POSIX] (W*): Likewise.
21037 [POSIX] (P_*): Likewise.
21038 [POSIX] (BUS_*): Likewise.
21039 [POSIX] (CLD_*): Likewise.
21040 [POSIX] (FPE_*): Likewise.
21041 [POSIX] (ILL_*): Likewise.
21042 [POSIX] (POLL_*): Likewise.
21043 [POSIX] (SEGV_*): Likewise.
21044 [POSIX] (SI_*): Likewise.
21045 [POSIX] (TRAP_*): Likewise.
21046 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
21047 variable.
21048
21049 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
21050
21051 [BZ #12926]
21052 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
21053 infinite loop when __recvmsg returns 0.
21054
21055 2014-10-10 Joseph Myers <joseph@codesourcery.com>
21056
21057 * CANCEL-FCT-WAIVE: Remove file.
21058 * CANCEL-FILE-WAIVE: Likewise.
21059
21060 [BZ #14132]
21061 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
21062 instead of INTVARDEF.
21063 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21064 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
21065 rtld_hidden_data_def instead of INTVARDEF.
21066 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
21067 * elf/dl-deps.c (expand_dst): Likewise.
21068 * elf/dl-load.c (_dl_dst_count): Likewise.
21069 (_dl_dst_substitute): Likewise.
21070 (decompose_rpath): Likewise.
21071 (_dl_init_paths): Likewise.
21072 (open_path): Likewise.
21073 (_dl_map_object): Likewise.
21074 * elf/rtld.c (dl_main): Likewise.
21075 (process_dl_audit): Likewise.
21076 (process_envvars): Likewise.
21077 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
21078 Remove declaration.
21079 (__libc_enable_secure): Use rtld_hidden_proto.
21080
21081 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21082
21083 * elf/dl-load.c
21084 (add_path): New function broken out of _dl_rtld_di_serinfo.
21085 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
21086
21087 2014-10-09 Joseph Myers <joseph@codesourcery.com>
21088
21089 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
21090 parentheses around macro arguments.
21091 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
21092 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
21093 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
21094 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
21095 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
21096 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21097 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21098 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
21099 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
21100 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
21101 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
21102 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
21103 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
21104 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
21105 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
21106 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
21107 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
21108 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
21109 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
21110 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
21111 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
21112 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
21113 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
21114 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
21115 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
21116 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
21117 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
21118 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
21119 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
21120 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
21121 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
21122 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
21123 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
21124 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
21125 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
21126 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
21127 Likewise.
21128 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
21129 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21130 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21131 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
21132 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
21133 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
21134 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
21135 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
21136 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
21137 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
21138 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
21139 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
21140 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
21141 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
21142 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
21143 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
21144 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
21145 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
21146 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
21147 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
21148 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
21149 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
21150 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
21151 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
21152 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
21153 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
21154 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
21155 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
21156 (_FP_FRAC_SRS_1): Likewise.
21157 (_FP_FRAC_CLZ_1): Likewise.
21158 (_FP_MUL_MEAT_1_imm): Likewise.
21159 (_FP_MUL_MEAT_1_wide): Likewise.
21160 (_FP_MUL_MEAT_1_hard): Likewise.
21161 (_FP_SQRT_MEAT_1): Likewise.
21162 (_FP_FRAC_ASSEMBLE_1): Likewise.
21163 (_FP_FRAC_DISASSEMBLE_1): Likewise.
21164 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
21165 (__FP_CLZ_2): Likewise.
21166 (_FP_MUL_MEAT_2_wide): Likewise.
21167 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21168 (_FP_MUL_MEAT_2_gmp): Likewise.
21169 (_FP_MUL_MEAT_2_120_240_double): Likewise.
21170 (_FP_SQRT_MEAT_2): Likewise.
21171 (_FP_FRAC_ASSEMBLE_2): Likewise.
21172 (_FP_FRAC_DISASSEMBLE_2): Likewise.
21173 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
21174 (_FP_FRAC_CLZ_4): Likewise.
21175 (_FP_MUL_MEAT_4_wide): Likewise.
21176 (_FP_MUL_MEAT_4_gmp): Likewise.
21177 (_FP_SQRT_MEAT_4): Likewise.
21178 (_FP_FRAC_ASSEMBLE_4): Likewise.
21179 (_FP_FRAC_DISASSEMBLE_4): Likewise.
21180 * soft-fp/op-common.h (_FP_CMP): Likewise.
21181 (_FP_CMP_EQ): Likewise.
21182 (_FP_CMP_UNORD): Likewise.
21183 (_FP_TO_INT): Likewise.
21184 (_FP_FROM_INT): Likewise.
21185 [!__FP_CLZ] (__FP_CLZ): Likewise.
21186 (_FP_DIV_HELP_imm): Likewise.
21187 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
21188 Likewise.
21189 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
21190 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
21191 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
21192 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
21193 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
21194 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21195 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21196 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
21197 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
21198 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
21199 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
21200 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
21201 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
21202 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
21203 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
21204 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
21205 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
21206 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
21207 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
21208 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
21209 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
21210 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
21211 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
21212 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
21213 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
21214 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
21215 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
21216 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
21217 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
21218 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
21219 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
21220 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
21221 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
21222 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
21223 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
21224 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
21225 (FP_UNPACK_RAW_SP): Likewise.
21226 (FP_PACK_RAW_S): Likewise.
21227 (FP_PACK_RAW_SP): Likewise.
21228 (FP_UNPACK_S): Likewise.
21229 (FP_UNPACK_SP): Likewise.
21230 (FP_UNPACK_SEMIRAW_S): Likewise.
21231 (FP_UNPACK_SEMIRAW_SP): Likewise.
21232 (FP_PACK_S): Likewise.
21233 (FP_PACK_SP): Likewise.
21234 (FP_PACK_SEMIRAW_S): Likewise.
21235 (FP_PACK_SEMIRAW_SP): Likewise.
21236 (_FP_SQRT_MEAT_S): Likewise.
21237 (FP_CMP_S): Likewise.
21238 (FP_CMP_EQ_S): Likewise.
21239 (FP_CMP_UNORD_S): Likewise.
21240 (FP_TO_INT_S): Likewise.
21241 (FP_FROM_INT_S): Likewise.
21242
21243 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
21244
21245 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
21246 (FP_EX_INVALID_IMZ): Likewise.
21247 (FP_EX_INVALID_IMZ_FMA): Likewise.
21248 (FP_EX_INVALID_ISI): Likewise.
21249 (FP_EX_INVALID_ZDZ): Likewise.
21250 (FP_EX_INVALID_IDI): Likewise.
21251 (FP_EX_INVALID_SQRT): Likewise.
21252 (FP_EX_INVALID_CVI): Likewise.
21253 (FP_EX_INVALID_VC): Likewise.
21254 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
21255 "invalid" exceptions.
21256 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
21257 (_FP_ADD_INTERNAL): Likewise.
21258 (_FP_MUL): Likewise.
21259 (_FP_FMA): Likewise.
21260 (_FP_DIV): Likewise.
21261 (_FP_CMP_CHECK_NAN): Likewise.
21262 (_FP_SQRT): Likewise.
21263 (_FP_TO_INT): Likewise.
21264 (FP_EXTEND): Likewise.
21265
21266 2014-10-09 Allan McRae <allan@archlinux.org>
21267
21268 * po/fr.po: Update French translation from translation project.
21269
21270 2014-10-09 Joseph Myers <joseph@codesourcery.com>
21271
21272 [BZ #14132]
21273 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
21274 of INTDEF.
21275 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
21276 (__cxa_atexit): Use libc_hidden_proto.
21277 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
21278
21279 [BZ #14132]
21280 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
21281 declaration.
21282 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
21283 [!_ISOMAC] (__iswspace_l_internal): Likewise.
21284 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
21285 [!_ISOMAC] (__iswctype_internal): Likewise.
21286 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
21287 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
21288 alias.
21289 (fcntl): Remove __fcntl_internal alias.
21290 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
21291 __connect_internal alias.
21292 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
21293 Likewise.
21294
21295 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
21296 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
21297 FP_DENORM_ZERO.
21298 (_FP_CHECK_FLUSH_ZERO): New macro.
21299 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
21300 (_FP_CMP): Likewise.
21301 (_FP_CMP_EQ): Likewise.
21302 (_FP_TO_INT): Do not set inexact for subnormal arguments if
21303 FP_DENORM_ZERO.
21304 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
21305 (FP_TRUNC): Likewise.
21306
21307 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
21308 treated as invalid conversion, not as normal exponent.
21309
21310 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
21311 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
21312 (_FP_CMP_EQ): Likewise.
21313 (_FP_CMP_UNORD): Likewise.
21314 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
21315 (FP_CMP_EQ_D): Likewise.
21316 (FP_CMP_UNORD_D): Likewise.
21317 * soft-fp/extended.h (FP_CMP_E): Likewise.
21318 (FP_CMP_EQ_E): Likewise.
21319 (FP_CMP_UNORD_E): Likewise.
21320 * soft-fp/quad.h (FP_CMP_Q): Likewise.
21321 (FP_CMP_EQ_Q): Likewise.
21322 (FP_CMP_UNORD_Q): Likewise.
21323 * soft-fp/single.h (FP_CMP_S): Likewise.
21324 (FP_CMP_EQ_S): Likewise.
21325 (FP_CMP_UNORD_S): Likewise.
21326 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
21327 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
21328 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
21329 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
21330 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
21331 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
21332 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
21333 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
21334 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
21335 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
21336 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
21337 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
21338 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
21339 to FP_CMP_Q.
21340 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
21341 FP_CMP_Q.
21342 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
21343 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
21344 FP_CMP_EQ_Q.
21345 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
21346 FP_CMP_Q.
21347 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
21348 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
21349 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
21350 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
21351 FP_CMP_EQ_Q.
21352 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
21353 FP_CMP_Q.
21354 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
21355 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
21356 FP_CMP_EQ_Q.
21357 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
21358 FP_CMP_Q.
21359 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
21360 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
21361 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
21362 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
21363 FP_CMP_EQ_Q.
21364
21365 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
21366 a subnormal result, set the underflow exception if trapping on
21367 underflow is enabled.
21368 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
21369 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
21370 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
21371 redefine to 0.
21372 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
21373 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21374 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
21375 * soft-fp/extendxftf2.c (__extendxftf2): Use
21376 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
21377
21378 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
21379 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
21380 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21381 FP_HANDLE_EXCEPTIONS.
21382 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
21383 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21384 FP_HANDLE_EXCEPTIONS.
21385 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
21386 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21387 FP_HANDLE_EXCEPTIONS.
21388 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
21389 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
21390 FP_HANDLE_EXCEPTIONS.
21391
21392 2014-10-08 Joseph Myers <joseph@codesourcery.com>
21393
21394 [BZ #14132]
21395 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
21396 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
21397 use INTUSE.
21398 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
21399 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
21400 Remove alias.
21401 (__adjtimex): Define using libc_hidden_ver.
21402 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
21403 Remove declaration.
21404 (ntp_gettime): Call __adjtimex directly.
21405 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
21406 Remove declaration.
21407 (ntp_gettimex): Call __adjtimex directly.
21408 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
21409 __adjtimex_internal alias.
21410
21411 2014-10-08 Roland McGrath <roland@hack.frob.com>
21412
21413 [BZ #17460]
21414 * nscd/nscd.c (more_help): Rewrite list of tables collection
21415 using xstrdup and asprintf.
21416
21417 * nscd/nscd_conf.c: Remove local xstrdup declaration.
21418
21419 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21420 Roland McGrath <roland@hack.frob.com>
21421
21422 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
21423 (do_lookup_unique): ... local function 'enter' here; update callers.
21424
21425 2014-10-06 Joseph Myers <joseph@codesourcery.com>
21426
21427 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
21428 compat_symbol calls on [SHARED].
21429 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
21430 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
21431 Remove.
21432 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21433 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
21434 (oldsetrlimit): Remove.
21435 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21437 (lchown): New syscall entry.
21438 (oldsetrlimit): Remove.
21439 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21440 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
21441 (oldsetrlimit): Remove.
21442 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21443
21444 [BZ #14138]
21445 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
21446 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
21447 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
21448 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
21449 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21450 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
21451 (fchown): Likewise.
21452 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
21453 (fchown): Likewise.
21454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
21455 Likewise.
21456
21457 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21458
21459 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
21460 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
21461 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
21462 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
21463 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
21464 Likewise.
21465 (__old_sem_post): Likewise.
21466
21467 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
21468
21469 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
21470 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
21471 HAVE_CLOCK_GETTIME_VSYSCALL macros.
21472 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
21473 Use INLINE_VSYSCALL macro.
21474 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
21475 __vdso_clock_gettime.
21476 * sysdeps/unix/sysv/linux/tile/init-first.c
21477 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
21478 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
21479 __vdso_clock_gettime.
21480
21481 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
21482 to set up frame more cleanly.
21483
21484 * sysdeps/tile/memcmp.c: New file.
21485
21486 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
21487
21488 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
21489 * sysdeps/tile/tilegx/strcasestr.c: New file.
21490 * sysdeps/tile/tilegx/strnlen.c: New file.
21491 * sysdeps/tile/tilegx/strstr.c: New file.
21492
21493 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
21494
21495 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
21496
21497 * nptl/tst-setuid3.c: Write errors to stdout.
21498
21499 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21500
21501 * elf/dl-deps.c
21502 (preload): New functions broken out of _dl_map_object_deps.
21503 (_dl_map_object_deps): Remove a nested function. Update call sites.
21504
21505 2014-10-01 Joseph Myers <joseph@codesourcery.com>
21506
21507 [BZ #14138]
21508 * sysdeps/unix/sysv/linux/execve.c: Remove file.
21509 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
21510
21511 2014-10-01 Steve Ellcey <sellcey@mips.com>
21512
21513 * sysdeps/mips/strcmp.S: New.
21514
21515 2014-09-30 Joseph Myers <joseph@codesourcery.com>
21516
21517 [BZ #14138]
21518 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
21519 (linkat): Likewise.
21520 (mkdirat): Likewise.
21521 (readlinkat): Likewise.
21522 (renameat): Likewise.
21523 (symlinkat): Likewise.
21524 (unlinkat): Likewise.
21525 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
21526 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
21527 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
21528 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
21529 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
21530 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
21531 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
21532
21533 2014-09-30 Will Newton <will.newton@linaro.org>
21534
21535 * math/math.h: Define long double math functions if
21536 _LIBC_TEST is defined.
21537 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
21538
21539 * localedata/Makefile: Move assignment to tests-special
21540 into an ifdef testing run-built-tests.
21541 * timezone/Makefile: Likewise.
21542
21543 2014-09-29 Joseph Myers <joseph@codesourcery.com>
21544
21545 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
21546 with $(BASH) not $(SHELL).
21547
21548 2014-09-29 Carlos O'Donell <carlos@redhat.com>
21549 Matthew LeGendre <legendre1@llnl.gov>
21550
21551 [BZ #17411]
21552 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
21553 l_reloc_result.
21554
21555 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21556
21557 * stdio-common/printf_fp.c
21558 (hack_digit): New function, broken out of ...
21559 (__printf_fp): ... local function here. Update call sites.
21560 hack_digit now takes an additional parameter that is a pointer
21561 to a struct of the referenced locals. Those locals moved inside
21562 the struct and references updated.
21563
21564 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
21565
21566 * aclocal.m4: Require autoconf 2.69.
21567 * configure: Regenerated.
21568 * sysdeps/aarch64/configure: Likewise.
21569 * sysdeps/alpha/configure: Likewise.
21570 * sysdeps/arm/armv7/configure: Likewise.
21571 * sysdeps/arm/configure: Likewise.
21572 * sysdeps/ia64/configure: Likewise.
21573 * sysdeps/mach/configure: Likewise.
21574 * sysdeps/mips/configure: Likewise.
21575 * sysdeps/s390/configure: Likewise.
21576 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
21577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
21578
21579 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
21580 file.
21581 * sysdeps/ia64/configure.ac: Likewise.
21582
21583 2014-09-26 Joseph Myers <joseph@codesourcery.com>
21584
21585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
21586 specify symbol version for ld.so. Do not include entry for
21587 libpthread.
21588 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21589 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21590 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21591
21592 [BZ #14171]
21593 * Makeconfig [$(build-shared) = yes]
21594 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
21595 makefiles.
21596 [$(build-shared) = yes && $(soversions.mk-done) = t]
21597 ($(common-objpfx)gnu/lib-names.h): Remove rule.
21598 [$(build-shared) = yes && $(soversions.mk-done) = t]
21599 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
21600 to Makerules.
21601 [$(build-shared) = yes && $(soversions.mk-done) = t]
21602 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
21603 here.
21604 [$(build-shared) = yes && $(soversions.mk-done) = t]
21605 (common-generated): Don't append gnu/lib-names.h and
21606 gnu/lib-names.stmp here.
21607 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
21608 (lib-names-h-abi): New variable.
21609 [$(build-shared) = yes && $(soversions.mk-done) = t]
21610 (lib-names-stmp-abi): Likewise.
21611 [$(build-shared) = yes && $(soversions.mk-done) = t &&
21612 abi-variants] (before-compile): Append
21613 $(common-objpfx)$(lib-names-h-abi).
21614 [$(build-shared) = yes && $(soversions.mk-done) = t &&
21615 abi-variants] (common-generated): Append gnu/lib-names.h.
21616 [$(build-shared) = yes && $(soversions.mk-done) = t &&
21617 abi-variants] (install-others-nosubdir): Depend on
21618 $(inst_includedir)/$(lib-names-h-abi).
21619 [$(build-shared) = yes && $(soversions.mk-done) = t &&
21620 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
21621 [$(build-shared) = yes && $(soversions.mk-done) = t]
21622 ($(common-objpfx)$(lib-names-h-abi)): New rule.
21623 [$(build-shared) = yes && $(soversions.mk-done) = t]
21624 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
21625 [$(build-shared) = yes && $(soversions.mk-done) = t]
21626 (common-generated): Append $(lib-names-h-abi) and
21627 $(lib-names-stmp-abi).
21628 * scripts/lib-names.awk: Do not handle multi being set.
21629 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
21630 Remove variable.
21631 (abi-lp64_be-ld-soname): Likewise.
21632 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
21633 Likewise.
21634 (abi-hard-ld-soname): Likewise.
21635 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
21636 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
21637 Remove variable.
21638 (abi-o32_hard-ld-soname): Likewise.
21639 (abi-o32_soft_2008-ld-soname): Likewise.
21640 (abi-o32_hard_2008-ld-soname): Likewise.
21641 (abi-n32_soft-ld-soname): Likewise.
21642 (abi-n32_hard-ld-soname): Likewise.
21643 (abi-n32_soft_2008-ld-soname): Likewise.
21644 (abi-n32_hard_2008-ld-soname): Likewise.
21645 (abi-n64_soft-ld-soname): Likewise.
21646 (abi-n64_hard-ld-soname): Likewise.
21647 (abi-n64_soft_2008-ld-soname): Likewise.
21648 (abi-n64_hard_2008-ld-soname): Likewise.
21649 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
21650 Likewise.
21651 (abi-64-v2-ld-soname): Likewise.
21652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
21653 ld.so entries.
21654 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
21655 variable.
21656 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
21657 entry.
21658 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
21659 variable.
21660 (abi-64-ld-soname): Likewise.
21661 (abi-x32-ld-soname): Likewise.
21662 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
21663 entry.
21664 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21665
21666 2014-09-23 Joseph Myers <joseph@codesourcery.com>
21667
21668 [BZ #14138]
21669 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
21670 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
21671 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
21672 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
21673 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
21674 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
21675 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
21676 syscall entry for GLIBC_2.2 symbol version.
21677 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
21678 Likewise.
21679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21680 (setrlimit): Likewise.
21681 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
21682 Likewise.
21683
21684 2014-09-23 Will Newton <will.newton@linaro.org>
21685
21686 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
21687 _LINUX_ARM_SYSDEP_H include guard too.
21688 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
21689 define.
21690
21691 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
21692
21693 * sysdeps/unix/sysv/linux/eventfd.c:
21694 Make first argument unsigned.
21695 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
21696 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
21697
21698 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
21699
21700 * socket/recvmmsg.c (recvmmsg): Drop const argument.
21701 * socket/sys/socket.h: Likewise
21702 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
21703
21704 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21705
21706 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
21707
21708 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
21709
21710 * time/tst-ftime.c: New test.
21711 * time/Makefile (tests): Add tst-ftime.
21712
21713 2014-09-17 Joseph Myers <joseph@codesourcery.com>
21714
21715 * soft-fp/extended.h: Fix comment formatting.
21716 * soft-fp/op-1.h: Likewise.
21717 * soft-fp/op-2.h: Likewise.
21718 * soft-fp/op-4.h: Likewise.
21719 * soft-fp/op-8.h: Likewise.
21720 * soft-fp/op-common.h: Likewise.
21721 * soft-fp/soft-fp.h: Likewise.
21722
21723 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
21724
21725 2014-09-16 Joseph Myers <joseph@codesourcery.com>
21726
21727 [BZ #6652]
21728 * Makeconfig (soversions-default-setname): Remove variable.
21729 ($(common-objpfx)soversions.i): Don't pass default_setname to
21730 soversions.awk.
21731 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
21732 oldest_abi to abi-versions.awk.
21733 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
21734 * config.make.in (oldest-abi): Remove variable.
21735 * configure.ac (--enable-oldest-abi): Remove configure option.
21736 * configure: Regenerated.
21737 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
21738 text.
21739 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
21740 * scripts/soversions.awk: Do not handle default_setname variable.
21741 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
21742 variable.
21743 * sysdeps/mach/hurd/configure: Regenerated.
21744 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
21745 variable.
21746 * sysdeps/unix/sysv/linux/configure: Regenerated.
21747
21748 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21749
21750 * elf/Makefile (CFLAGS-interp.c): Remove.
21751 ($(elf-objpfx)runtime-linker.h): Generate header with linker
21752 path string.
21753 * elf/interp.c: Include generated runtime-linker.h
21754
21755 * Makerules (lib%.so): Don't include $(+interp) in
21756 prerequisites.
21757 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
21758 * dlfcn/eval.c: Remove file.
21759
21760 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
21761 macros.
21762
21763 [BZ #17266]
21764 * misc/sys/cdefs.h: Define __extern_always_inline for clang
21765 4.2 and newer.
21766
21767 [BZ #17370]
21768 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
21769
21770 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21771 Jakub Jelinek <jakub@redhat.com>
21772
21773 [BZ #17266]
21774 * libio/stdio.h: Check definition of __fortify_function
21775 instead of __extern_always_inline to include bits/stdio2.h.
21776 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
21777 check if __extern_always_inline is defined.
21778 [__USE_MISC || __USE_XOPEN]: Likewise.
21779 [__USE_ISOC99] Likewise.
21780 * misc/sys/cdefs.h (__fortify_function): Define only if
21781 __extern_always_inline is defined.
21782 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
21783 __extern_always_inline and __extern_inline only for g++-4.3
21784 and newer or a compatible gcc.
21785
21786 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
21787
21788 [BZ #17371]
21789 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21790 last change to handle zero prefix length.
21791
21792 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21793
21794 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
21795 _SC_REGEX_VERSION.
21796
21797 * posix/getconf.c (vars): Add _POSIX_IPV6 and
21798 _POSIX_RAW_SOCKETS.
21799
21800 2014-09-13 Allan McRae <allan@archlinux.org>
21801
21802 * po/ru.po: Update Russian translation from translation project.
21803
21804 2014-09-12 Roland McGrath <roland@hack.frob.com>
21805
21806 * locale/programs/locale.c (show_locale_vars): Inline local function
21807 into its sole call site. Clean up some style nits.
21808 (print_item): New function, broken out of ...
21809 (show_info): ... local function here. Clean up style nits.
21810
21811 * locale/programs/ld-ctype.c (set_one_default): New function, broken
21812 out of ...
21813 (set_class_defaults): ... local function set_default here.
21814 Define set_default as a macro locally to pass constant parameters.
21815 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
21816 rather than a shared local.
21817
21818 * stdlib/rpmatch.c (try): New function, broken out of ...
21819 (rpmatch): ... local function here. Also, prototypify definition.
21820
21821 2014-09-12 Joseph Myers <joseph@codesourcery.com>
21822
21823 * scripts/soversions.awk: Do not handle configuration names.
21824 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
21825 vendor and os variables to soversions.awk.
21826 * configure.ac: Do not modify gnu-* host_os.
21827 * configure: Regenerated
21828 * shlib-versions: Remove first column with configuration names.
21829 * nptl/shlib-versions: Likewise.
21830 * nptl_db/shlib-versions: Likewise.
21831 * sysdeps/hppa/shlib-versions: Likewise.
21832 * sysdeps/m68k/shlib-versions: Likewise.
21833 * sysdeps/mach/hurd/shlib-versions: Likewise.
21834 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
21835 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
21836 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
21837 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
21838 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
21839 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
21840 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
21841 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
21842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21843 Likewise.
21844 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21845 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21846 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21847 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21848 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21849 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
21850 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21851 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21852
21853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21854 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
21855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21856 Regenerated.
21857 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
21858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21859 Condition symbol version definitions on [HAVE_ELFV2_ABI].
21860
21861 * shlib-versions: Remove OS-specific entries. Moved to files in
21862 sysdeps.
21863 * sysdeps/mach/hurd/shlib-versions: New file.
21864 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21865
21866 * nptl/shlib-versions: Remove architecture-specific entries.
21867 Moved to files in sysdeps.
21868 * shlib-versions: Likewise.
21869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
21870 file.
21871 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21872 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21873 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21874 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21875
21876 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
21877 (UDP_NO_CHECK6_RX): Likewise.
21878
21879 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21880
21881 * sysdeps/posix/sysconf.c (__sysconf): Spell
21882 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
21883
21884 2014-08-12 Florian Weimer <fweimer@redhat.com>
21885
21886 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
21887 loading.
21888 * iconv/Versions (__gconv_transliterate): Export for use from
21889 gconv modules.
21890 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
21891 (struct __gconv_trans_data, __gconv_trans_fct,
21892 __gconv_trans_context_fct, __gconv_trans_query_fct,
21893 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
21894 definitions.
21895 (struct __gconv_step_data): Remove __trans member.
21896 (__gconv_transliterate): Declaration moved from gconv_int.h. No
21897 longer hidden. Remove unused trans_data argument.
21898 * iconv/gconv_int.h (struct trans_struct): Remove definition.
21899 (__gconv_translit_find): Remove declaration.
21900 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
21901 prototype.
21902 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
21903 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
21904 trans_data argument. Add hidden definition.
21905 (__gconv_translit_find): Remove.
21906 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
21907 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
21908 * iconv/skeleton.c: Remove transliteration initialization.
21909 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
21910 __gconv_step_data initialization.
21911 * libio/iofwide.c (__libio_translit_): Remove.
21912 (_IO_fwide): Adjust struct __gconv_step_data initialization.
21913 * wcsmbs/btowc.c (__btowc): Likewise.
21914 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21915 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21916 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21917 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21918 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
21919 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21920 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21921 * wcsmbs/wctob.c (wctob): Likewise.
21922
21923 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21924
21925 [BZ #16194]
21926 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
21927 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
21928 register usage.
21929 * sysdeps/x86/Makefile: Adjust.
21930
21931 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21932 Roland McGrath <roland@hack.frob.com>
21933
21934 * locale/weight.h: Add include guard.
21935 (findidx): Make static rather than auto; take new parameters
21936 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
21937 * locale/weightwc.h: Likewise.
21938 * posix/fnmatch_loop.c
21939 (FCT): Change type of EXTRA from int32_t to wint_t.
21940 Don't include either header inside the function.
21941 Call FINDIDX rather than findidx, and pass new arguments.
21942 #undef FINDIDX at the end of the file.
21943 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
21944 FINDIDX before including fnmatch_loop.c for the non-wide version.
21945 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
21946 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
21947 for the wide version.
21948 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
21949 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
21950 Pass new arguments to findidx.
21951 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
21952 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
21953 Don't #include it inside the function. Pass new arguments to findidx.
21954 * posix/regex_internal.h
21955 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
21956 (re_string_elem_size_at): Don't #include it inside the function.
21957 Pass new arguments to findidx.
21958 * string/strcoll_l.c: #include WEIGHT_H at top level.
21959 (get_next_seq): Don't #include it inside the function.
21960 Pass new arguments to findidx.
21961 (get_next_seq_nocache): Likewise.
21962 * string/strxfrm_l.c: #include WEIGHT_H at top level.
21963 (STRXFRM): Don't #include it inside the function.
21964 Pass new arguments to findidx.
21965
21966 2014-09-11 Florian Weimer <fweimer@redhat.com>
21967
21968 [BZ #17344]
21969 * malloc/malloc.c (unlink): Turn asserts into a call to
21970 malloc_printerr.
21971
21972 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
21973
21974 [BZ #17370]
21975 * libio/wfileops (do_ftell_wide): Free OUT.
21976
21977 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
21978
21979 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
21980
21981 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21982
21983 [BZ #17363]
21984 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
21985 group if the current group is empty.
21986
21987 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21988
21989 * benchtests/bench-memset.c (test_main): Add more test from size
21990 from 32 to 512 bytes.
21991 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21992 Add POWER8 memset object.
21993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21994 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
21995 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
21996 implementation.
21997 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
21998 Likewise.
21999 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
22000 multiarch POWER8 memset optimization.
22001 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
22002 POWER8 memset optimization.
22003
22004 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22005 Remove bzero multiarch objects.
22006 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
22007 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
22008 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
22009 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
22010 Remove define.
22011 [__bzero]: Redefine to specific name.
22012 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
22013 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
22014 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
22015 define.
22016 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22017 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22018
22019 2014-09-10 Florian Weimer <fweimer@redhat.com>
22020
22021 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
22022 warnings into errors.
22023
22024 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
22025 __cxa_thread_atexit_impl prototype.
22026
22027 2014-09-09 Steve Ellcey <sellcey@mips.com>
22028
22029 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
22030 Fix capitalization of error message.
22031
22032 2014-09-09 Steve Ellcey <sellcey@mips.com>
22033
22034 * sysdeps/mips/preconfigure: Modify ABI tests.
22035
22036 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
22037
22038 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
22039
22040 2014-09-07 Roland McGrath <roland@hack.frob.com>
22041 Carlos O'Donell <carlos@systemhalted.org>
22042
22043 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
22044 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
22045 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
22046 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
22047 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
22048 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
22049 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
22050 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
22051 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
22052 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
22053 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
22054 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
22055 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
22056 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
22057 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
22058 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
22059 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
22060 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
22061 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
22062 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
22063 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
22064 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
22065 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
22066 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
22067 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
22068 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
22069 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
22070 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
22071 Deconditionalize the code that was previously under [RESET_PID].
22072 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
22073 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
22074 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
22075 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
22076 include sysdep.h.
22077
22078 2014-09-08 Allan McRae <allan@archlinux.org>
22079
22080 * version.h (RELEASE): Set to "development".
22081 (VERSION): Set to "2.20.90"
22082
22083 2014-09-07 Allan McRae <allan@archlinux.org
22084
22085 * version.h (RELEASE): Set to "stable".
22086 (VERSION): Set to "2.20"
22087 * include/features.h (__GLIBC_MINOR__): Set to 20.
22088
22089 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
22090 Liebler.
22091
22092 * po/ko.po: Update Korean translation from translation project.
22093
22094 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
22095
22096 [BZ #17354]
22097 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
22098 macro for handling signed relocations.
22099
22100 2014-09-03 Florian Weimer <fweimer@redhat.com>
22101
22102 [BZ #17325]
22103 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
22104 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
22105 assert.
22106 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
22107 * iconvdata/ibm935.c (BODY): Likewise.
22108 * iconvdata/ibm937.c (BODY): Likewise.
22109 * iconvdata/ibm939.c (BODY): Likewise.
22110 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
22111 assert.
22112 * iconvdata/Makefile (iconv-test.out): Pass module list to test
22113 script.
22114 * iconvdata/run-iconv-test.sh: New test loop for checking for
22115 decoder crashers.
22116
22117 2014-09-02 Khem Raj <raj.khem@gmail.com>
22118
22119 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
22120 libm_hidden_ver.
22121
22122 2014-09-01 Allan McRae <allan@archlinux.org>
22123
22124 * po/eo.po: Update Esperanto translation from translation project.
22125
22126 * po/ca.po: Update Catalan translation from translation project.
22127
22128 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
22129
22130 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
22131 __proc_dostop call.
22132
22133 2014-08-27 Mark Wielaard <mjw@redhat.com>
22134
22135 [BZ #17319]
22136 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
22137 to call set_thread_area instead of hand written asm.
22138 (__NR_set_thread_area): Removed define.
22139 (TLS_FLAG_WRITABLE): Likewise.
22140 (__ASSUME_SET_THREAD_AREA): Remove check.
22141 (TLS_EBX_ARG): Remove define.
22142 (TLS_LOAD_EBX): Likewise.
22143
22144 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
22145
22146 Simplify atomicity of socket creation in bind.
22147
22148 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
22149 looking up the name after linking the file.
22150
22151 2014-08-27 Allan McRae <allan@archlinux.org>
22152
22153 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22154
22155 2014-08-26 Florian Weimer <fweimer@redhat.com>
22156
22157 [BZ #17187]
22158 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
22159 trans_compare, open_translit, __gconv_translit_find):
22160 Remove module loading code.
22161
22162 2014-08-26 Allan McRae <allan@archlinux.org>
22163
22164 * po/vi.po: Update Vietnamese translation from translation project.
22165
22166 * po/uk.po: Update Ukrainian translation from translation project.
22167
22168 * po/fr.po: Update French translation from translation project.
22169
22170 * po/ru.po: Update Russian translation from translation project.
22171
22172 * po/pl.po: Update Polish translation from translation project.
22173
22174 * po/cs.po: Update Czech translation from translation project.
22175
22176 * po/de.po: Update German translation from translation project.
22177
22178 * po/bg.po: Update Bulgarian translation from translation project.
22179
22180 * po/sv.po: Update Sweedish translation from translation project.
22181
22182 * po/nl.po: Update Dutch translation from translation project.
22183
22184 * po/es.po: Update Spanish translation from translation project.
22185
22186 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22187
22188 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
22189
22190 * catgets/Makefile (CPPFLAGS-gencat): Remove.
22191 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
22192 (CPPFLAGS-iconvconfig): Likewise.
22193 * timezone/Makefile (CPPFLAGS-zic): Likewise.
22194
22195 * include/libc-symbols.h: Remove unnecessary check for
22196 NOT_IN_libc.
22197 * nptl/pthreadP.h: Likewise.
22198 * sysdeps/aarch64/setjmp.S: Likewise.
22199 * sysdeps/alpha/setjmp.S: Likewise.
22200 * sysdeps/arm/sysdep.h: Likewise.
22201 * sysdeps/i386/setjmp.S: Likewise.
22202 * sysdeps/m68k/setjmp.c: Likewise.
22203 * sysdeps/posix/getcwd.c: Likewise.
22204 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22205 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22206 * sysdeps/s390/s390-32/setjmp.S: Likewise.
22207 * sysdeps/s390/s390-64/setjmp.S: Likewise.
22208 * sysdeps/sh/sh3/setjmp.S: Likewise.
22209 * sysdeps/sh/sh4/setjmp.S: Likewise.
22210 * sysdeps/unix/alpha/sysdep.h: Likewise.
22211 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22212 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22213 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22214 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22217 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22218 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22219 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22220 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22222 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22224 * sysdeps/x86_64/setjmp.S: Likewise.
22225
22226 2014-08-13 Joseph Myers <joseph@codesourcery.com>
22227
22228 [BZ #17263]
22229 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
22230 <stdint.h>.
22231 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
22232 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
22233
22234 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22235
22236 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
22237
22238 [BZ #17262]
22239 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
22240 and __x86_64__ when disabling x87 inline functions.
22241
22242 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
22243
22244 [BZ #17259]
22245 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
22246 asm statement with __cpuid_count.
22247
22248 2014-08-12 Mike Frysinger <vapier@gentoo.org>
22249
22250 * configure.ac: Change __ehdr_start code to dereference the struct.
22251 Run readelf on the output to look for relocations.
22252 * configure: Regenerated.
22253
22254 2014-08-12 Joseph Myers <joseph@codesourcery.com>
22255
22256 [BZ #17261]
22257 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
22258 value to 0.
22259 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
22260
22261 2014-08-12 Roland McGrath <roland@hack.frob.com>
22262
22263 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
22264
22265 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
22266
22267 [BZ #16892]
22268 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
22269 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
22270
22271 2014-08-12 Sean Anderson <seanga2@gmail.com>
22272
22273 * malloc/malloc.c: Fix typo in comment.
22274
22275 2014-08-09 Allan McRae <allan@archlinux.org>
22276
22277 * Regenerate libc.po.
22278
22279 2014-08-08 Mike Frysinger <vapier@gentoo.org>
22280
22281 * intl/tst-gettext2.sh: Check every lang file for creation.
22282
22283 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
22284
22285 * sysdeps/aarch64/fpu/math_private.h
22286 (libc_feholdsetround_noex_aarch64_ctx): New function.
22287
22288 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
22289
22290 * sysdeps/arm/armv6/strcpy.S (strcpy):
22291 Fix performance issue in misaligned cases.
22292
22293 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22294
22295 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
22296 Move definition from termios.h.
22297 (struct termio): Likewise.
22298 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22299 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22300 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22301 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22302 Likewise.
22303 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
22304 Move definition to ioctl-types.h
22305 (struct termio): Likewise.
22306 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22307 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
22308 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
22309 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
22310 Likewise.
22311
22312 2014-08-05 Richard Henderson <rth@redhat.com>
22313
22314 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
22315 exceptions.
22316 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
22317 Add fraiseexcpt.
22318 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
22319 Use __feraiseexcept.
22320 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
22321 Protect libm symbols with IS_IN_libm.
22322
22323 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
22324
22325 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
22326
22327 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
22328
22329 2014-08-04 Will Newton <will.newton@linaro.org>
22330
22331 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
22332 file.
22333
22334 2014-08-04 Mike Frysinger <vapier@gentoo.org>
22335
22336 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
22337 variants for each function.
22338
22339 2014-08-04 Roland McGrath <roland@hack.frob.com>
22340
22341 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
22342 appended ...
22343 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
22344 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
22345 appended ...
22346 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
22347 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
22348 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
22349 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
22350 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
22351 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
22352 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
22353 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
22354 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
22355 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
22356 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
22357 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
22358 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
22359 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
22360 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
22361 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
22362 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
22363 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
22364 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
22365 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
22366 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
22367 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
22368 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
22369 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
22370 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
22371 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
22372 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
22373 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
22374 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
22375 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
22376 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
22377 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
22378 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
22379 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
22380 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
22381 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
22382 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
22383 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
22384 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
22385 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
22386 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
22387 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
22388 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
22389 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
22390 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
22391 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
22392 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
22393 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
22394 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
22395 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
22396 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
22397 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
22398 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
22399 Update #include.
22400 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
22401 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
22402
22403 2014-08-04 Roland McGrath <roland@hack.frob.com>
22404
22405 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
22406 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
22407 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
22408 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
22409 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
22410 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
22411
22412 2014-08-04 Roland McGrath <roland@hack.frob.com>
22413
22414 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
22415 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
22416 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22417 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
22418
22419 2014-08-04 Roland McGrath <roland@hack.frob.com>
22420
22421 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
22422 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
22423 (__libc_vfork): Define function under this name.
22424 (__vfork): Define as an alias.
22425 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
22426 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
22427
22428 2014-08-04 Roland McGrath <roland@hack.frob.com>
22429
22430 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
22431 that was previously under [RESET_PID].
22432 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
22433
22434 2014-08-04 Andreas Schwab <schwab@suse.de>
22435
22436 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
22437
22438 2014-08-03 Mike Frysinger <vapier@gentoo.org>
22439
22440 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
22441 (main): Likewise.
22442
22443 2014-08-01 Roland McGrath <roland@hack.frob.com>
22444
22445 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
22446
22447 2014-08-01 Richard Henderon <rth@redhat.com>
22448
22449 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
22450 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
22451 typo in exact zero test.
22452 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22453 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22454 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22455
22456 2014-08-01 Roland McGrath <roland@hack.frob.com>
22457
22458 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
22459 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
22460 * sysdeps/arm/sysdep.h: ... here.
22461 [!__ASSEMBLER__]: Include <stdint.h>.
22462
22463 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22464
22465 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
22466 (HAVE_WCTYPE_H): Likewise.
22467 (HAVE_ISWCTYPE): Likewise.
22468 (ENABLE_NLS): Likewise.
22469 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
22470 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
22471
22472 * posix/regex_internal.c: Check if DEBUG is defined and is
22473 set.
22474
22475 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
22476 (HAVE_MBSRTOWCS): Likewise.
22477 * posix/fnmatch.c: Include string.h unconditionally.
22478
22479 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
22480
22481 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
22482 reversal.
22483
22484 2014-07-31 Roland McGrath <roland@hack.frob.com>
22485
22486 * sysdeps/generic/safe-fatal.h: New file.
22487 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
22488 * nptl/forward.c: Include it.
22489 (__pthread_unwind): Use __safe_fatal as default action, rather
22490 than a bogus use of INTERNAL_SYSCALL that could never work.
22491
22492 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
22493 * configure.ac (libc_cv_builtin_trap): New test.
22494 * configure: Regenerated.
22495 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
22496 (ABORT_INSTRUCTION): Define using __builtin_trap.
22497
22498 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
22499 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
22500 * sysdeps/nptl/nptl-signals.h: New file.
22501 * nptl/pthreadP.h: Include <nptl-signals.h>.
22502
22503 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
22504
22505 * sysdeps/s390/s390-64/utf16-utf32-z9.c
22506 (ONE_DIRECTION): Define.
22507 * sysdeps/s390/s390-64/utf8-utf16-z9.c
22508 (ONE_DIRECTION): Define.
22509 * sysdeps/s390/s390-64/utf8-utf32-z9.c
22510 (ONE_DIRECTION): Define.
22511
22512 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
22513
22514 * sysdeps/s390/Makefile: Delete file.
22515 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
22516 * sysdeps/s390/__longjmp.c: Delete file.
22517 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
22518 Remove fields __flags and __reserved.
22519 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
22520 and add versioning.
22521 * sysdeps/s390/rtld-__longjmp.c: Delete file.
22522 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
22523 * sysdeps/s390/rtld-setjmp.S: Likewise.
22524 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
22525 * sysdeps/s390/s390-32/__longjmp.c: ... here.
22526 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
22527 * sysdeps/s390/s390-32/setjmp.S: ... here.
22528 Add versioning.
22529 (__sigsetjmp): Remove setting __flags field.
22530 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
22531 * sysdeps/s390/s390-64/__longjmp.c: ... here.
22532 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
22533 * sysdeps/s390/s390-64/setjmp.S: ... here.
22534 Add versioning.
22535 (__sigsetjmp): Remove setting __flags field.
22536 * sysdeps/s390/setjmp.S: Delete file.
22537 * sysdeps/s390/sigjmp.c: Likewise.
22538 * sysdeps/s390/v1-longjmp.c: Likewise.
22539 * sysdeps/s390/v1-setjmp.h: Likewise.
22540 * sysdeps/s390/v1-sigjmp.c: Likewise.
22541 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
22542 Remove v1-longjmp_chk.
22543 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
22544 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
22545 Include debug/longjmp_chk.c and add versioning.
22546 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
22547 Include nptl/pt-longjmp.c and add versioning.
22548 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
22549 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
22550 Include __longjmp.c.
22551 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22552 Move to ...
22553 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
22554 (__getcontext): Remove setting __flags field.
22555 Add versioning.
22556 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22557 Don't restore upper high grps.
22558 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
22559 Likewise.
22560 (__swapcontext): Remove setting uc_flags field.
22561 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
22562 Delete file.
22563 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22564 Include __longjmp.c.
22565 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22566 Move to ...
22567 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
22568 (__getcontext): Remove setting __flags field.
22569 Add versioning.
22570 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
22571 (__swapcontext): Remove setting uc_flags field.
22572 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
22573 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
22574 Remove fields uc_high_gprs and __reserved.
22575 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
22576 New file with reverted content.
22577 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
22578 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
22579 Regenerated.
22580 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
22581 Regenerated.
22582
22583 2014-07-31 Andreas Schwab <schwab@suse.de>
22584
22585 * config.h.in (HAVE_IFUNC): Define to 0.
22586 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
22587 definedness.
22588
22589 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
22590
22591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22592 memmove-avx-unaligned, memcpy-avx-unaligned and
22593 mempcpy-avx-unaligned.
22594 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22595 Add tests for AVX memcpy functions.
22596 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
22597 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
22598 memcpy_chk.
22599 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
22600 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
22601 memmove_chk.
22602 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
22603 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
22604 mempcpy_chk.
22605 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
22606 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
22607 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
22608
22609 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22610
22611 [BZ #17213]
22612 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
22613 powerpc64le.
22614
22615 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
22616
22617 [BZ #16839]
22618 * manual/llio.texi: Add section about open file description locks.
22619 * manual/examples/ofdlocks.c: Example of open file description
22620 lock usage.
22621 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
22622 F_OFD_SETLK, and F_OFD_SETLKW.
22623
22624 2014-07-23 Allan McRae <allan@archlinux.org>
22625
22626 * po/es.po: Update Spanish translation from translation project.
22627
22628 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
22629
22630 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
22631
22632 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
22633
22634 [BZ #17078]
22635 * sysdeps/arm/dl-machine.h (elf_machine_rela)
22636 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
22637 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
22638
22639 2014-07-17 Joseph Myers <joseph@codesourcery.com>
22640
22641 [BZ #17088]
22642 * math/fesetenv.c (__fesetenv)
22643 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
22644 * math/feupdateenv.c (__feupdateenv)
22645 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
22646
22647 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
22648 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22649 (__ASSUME_SOCKETCALL): Do not define.
22650
22651 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
22652 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
22653 (__ASSUME_SOCKETCALL): Do not define.
22654 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
22655 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22656 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22657 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22658 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22659 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
22660 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22661 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22662
22663 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
22664 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
22665 (__ASSUME_SOCKETCALL): Do not define.
22666 (__ASSUME_IPC64): Define unconditionally.
22667 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22668 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22669 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22670 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22671 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
22672 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22673 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
22674 Likewise.
22675
22676 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
22677 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
22678 (__ASSUME_SOCKETCALL): Do not define.
22679 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
22680 (__ASSUME_FUTEX_LOCK_PI): Likewise.
22681 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22682 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22683 (__ASSUME_REQUEUE_PI): Define unconditionally.
22684 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
22685 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22686 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22687 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
22688 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22689 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22690
22691 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
22692 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
22693 (__ASSUME_SOCKETCALL): Do not define.
22694 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
22695 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22696 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22697 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
22698 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22699 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22700
22701 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
22702 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
22703 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22704 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
22705 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22706 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
22707 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22708 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
22709 (__ASSUME_GETCPU_SYSCALL): Likewise.
22710
22711 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
22712 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
22713 cases for individual architectures.
22714 * sysdeps/gnu/configure: Regenerated.
22715 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
22716 LIBC_SLIBDIR_RTLDDIR.
22717 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
22718 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
22719 LIBC_SLIBDIR_RTLDDIR.
22720 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
22721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
22722 LIBC_SLIBDIR_RTLDDIR.
22723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22724 Regenerated.
22725 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
22726 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
22727 file.
22728 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
22729 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
22730 file.
22731 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
22732 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
22733 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
22734 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
22735
22736 * sysdeps/aarch64/shlib-versions: Move to ...
22737 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
22738 * sysdeps/alpha/shlib-versions: Move to ...
22739 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
22740 * sysdeps/arm/shlib-versions: Move to ...
22741 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
22742 * sysdeps/hppa/shlib-versions: Move all contents except for
22743 libgcc_s entry to ...
22744 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
22745 entry from ...
22746 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
22747 * sysdeps/ia64/shlib-versions: Move to ...
22748 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
22749 entry from ...
22750 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
22751 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
22752 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
22753 * sysdeps/microblaze/shlib-versions: Move to ...
22754 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
22755 * sysdeps/mips/shlib-versions: Move to ...
22756 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
22757 entry from ...
22758 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
22759 * sysdeps/tile/shlib-versions: Move to ...
22760 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
22761 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
22762 from ...
22763 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
22764 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
22765 entry from ...
22766 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
22767
22768 2014-07-17 Will Newton <will.newton@linaro.org>
22769
22770 * sysdeps/arm/bits/atomic.h
22771 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
22772 (__arch_compare_and_exchange_bool_16_int): Likewise.
22773 (__arch_compare_and_exchange_bool_64_int): Likewise.
22774
22775 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
22776 into an #else block.
22777
22778 2014-07-16 Roland McGrath <roland@hack.frob.com>
22779
22780 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
22781 just Linux configurations. Test empirically that the compiler sets
22782 __ARM_EABI__, rather than using the tuple to decide.
22783 * sysdeps/arm/preconfigure: Regenerated.
22784 * sysdeps/unix/sysv/linux/arm/configure: File removed.
22785 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
22786 contents appended ...
22787 * sysdeps/arm/configure.ac: ... here.
22788 * sysdeps/arm/configure: Regenerated.
22789
22790 2014-07-15 Roland McGrath <roland@hack.frob.com>
22791
22792 * nptl/pthread_kill.c: New file.
22793 * nptl/pthread_sigmask.c: New file.
22794 * nptl/pthread_sigqueue.c: New file.
22795
22796 * sysdeps/nptl/lowlevellock.h: New file.
22797 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
22798 * sysdeps/nptl/lowlevellock-futex.h: New file.
22799
22800 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
22801 Remove dead declarations.
22802
22803 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
22804
22805 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
22806 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
22807 config-cflags-avx2.
22808 * sysdeps/x86_64/configure.ac: Likewise.
22809 * sysdeps/i386/configure: Regenerated.
22810 * sysdeps/x86_64/configure: Likewise.
22811 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22812 memset-avx2 only if config-cflags-avx2 is yes.
22813 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22814 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
22815 defined.
22816 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
22817 only if HAVE_AVX2_SUPPORT is defined.
22818 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22819
22820 2014-07-14 Alan Modra <amodra@gmail.com>
22821
22822 [BZ #17153]
22823 * elf/elf.h (DT_PPC64_NUM): Correct value.
22824 * NEWS: Add to fixed bug list.
22825
22826 2014-07-13 Jim Meyering <meyering@fb.com>
22827
22828 [BZ 17150]
22829 regex: don't deref NULL upon heap allocation failure
22830 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
22831 failure in one more place.
22832 To trigger the segfault, configure grep -with-included-regex,
22833 build it, and run these commands:
22834 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
22835
22836 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
22837
22838 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22839
22840 2014-07-11 Richard Henderson <rth@redhat.com>
22841
22842 * sysdeps/aarch64/libm-test-ulps: Update.
22843
22844 2014-07-10 Florian Weimer <fweimer@redhat.com>
22845
22846 [BZ #17135]
22847 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
22848 * nptl/allocatestack.c (__nptl_setxid_error): New function.
22849 (__nptl_setxid): Initialize error member. Call
22850 __nptl_setxid_error.
22851 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
22852 * nptl/descr.h (struct xid_command): Add error member.
22853 * nptl/tst-setuid3.c: New file.
22854 * nptl/Makefile (tests): Add it.
22855
22856 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22857
22858 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
22859 New define.
22860 (__lll_trylock): Use __lll_base_trylock.
22861 (__lll_cond_trylock): Likewise.
22862
22863 2014-07-10 Roland McGrath <roland@hack.frob.com>
22864
22865 * nptl/pthread_create.c (start_thread): Use atomic_or and
22866 lll_futex_wake directly rather than lll_robust_dead.
22867 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22868 (lll_robust_dead): Macro removed.
22869 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
22870 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22871 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22872 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22873 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22874 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22875 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22876 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22877 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22878 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22879 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22880 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22881 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22882 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22883 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22884
22885 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22886 Use atomic_compare_and_exchange_val_acq directly rather than
22887 lll_robust_trylock.
22888 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22889 (__lll_robust_trylock, lll_robust_trylock): Removed.
22890 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22891 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22892 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22893 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22894 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22895 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22896 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22897 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22898 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22899 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22900 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22901 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22902 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22903 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22904
22905 2014-07-02 Florian Weimer <fweimer@redhat.com>
22906
22907 * manual/locale.texi (Locale Names): New section documenting
22908 locale name syntax. Adjust menu and node chaining accordingly.
22909 (Choosing Locale): Reference Locale Names, Locale Categories.
22910 Mention setting LC_ALL=C. Reflect that name syntax is now
22911 documented.
22912 (Locale Categories): New section title. Reference Locale Names.
22913 LC_ALL is an environment variable, but not a category.
22914 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
22915 description, now in Locale Name. Reference that section. Locale
22916 name syntax is now documented.
22917
22918 2014-07-02 Florian Weimer <fweimer@redhat.com>
22919
22920 [BZ #17137]
22921 * locale/findlocale.c (name_present, valid_locale_name): New
22922 functions.
22923 (_nl_find_locale): Use the loc_name variable to store name
22924 candidates. Call name_present and valid_locale_name to check and
22925 validate locale names. Return an error if the locale is invalid.
22926
22927 2014-07-02 Florian Weimer <fweimer@redhat.com>
22928
22929 * locale/setlocale.c (setlocale): Use strdup for allocating
22930 composite name copy.
22931
22932 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22933
22934 Sync up with gnulib.
22935 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
22936 [!_LIBC && ENABLE_NLS]: Include gettext.h.
22937 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
22938 and _GL_ARG_NONNULL.
22939 [USE_UNLOCKED_IO]: Include unlocked-io.h.
22940 [!_LIBC]: Include code for Windows and Cygwin.
22941 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
22942 Include prototype for int strerror_r.
22943 [!_LIBC] (is_open): New function.
22944 (flush_stdout): New function.
22945 (print_errno_message): Use it.
22946 (error): Likewise.
22947 (error_at_line): Likewise.
22948 (error_tail) Add function attribute macros. Use
22949 __builtin_expect.
22950
22951 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
22952
22953 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
22954
22955 * io/ftw.c: Include sys/param.h unconditionally.
22956
22957 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
22958
22959 [BZ #17125]
22960 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
22961 libc_freeres_ptr.
22962 (freecache): New function to free CACHE on exit.
22963
22964 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
22965 initialization.
22966
22967 2014-07-09 David S. Miller <davem@davemloft.net>
22968
22969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22970
22971 * sysdeps/sparc/nptl/internaltypes.h: Delete.
22972 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
22973 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
22974 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
22975 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
22976 * sysdeps/sparc/nptl/sem_init.c: Likewise.
22977 * sysdeps/sparc/nptl/sem_post.c: Likewise.
22978 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
22979 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
22980 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
22981 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
22982 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
22983 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
22984
22985 2014-07-09 Andreas Schwab <schwab@suse.de>
22986
22987 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
22988 output.
22989 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
22990 (do_test): Likewise.
22991
22992 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22993
22994 2014-07-09 Will Newton <will.newton@linaro.org>
22995
22996 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
22997 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
22998 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
22999 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
23000 * sysdeps/hppa/start.S (_start): Likewise.
23001
23002 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23003
23004 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
23005
23006 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
23007 defined.
23008
23009 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23010
23011 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
23012 after checking that it is non-NULL.
23013
23014 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
23015
23016 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23017
23018 * sysdeps/powerpc/memmove.c: Remove file.
23019 * sysdeps/powerpc/powerpc32/power4/memcopy.h
23020 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
23021 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23022 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
23023 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
23024 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
23025 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
23026 string memmove instead of removed powerpc one.
23027
23028 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23029 [weak_alias]: Fix compiler warning due trailing data.
23030 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
23031 [weak_alias]: Likewise.
23032 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
23033 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
23034
23035 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23036 (__libc_ifunc_impl_list): Add memmove functions.
23037
23038 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23039
23040 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
23041 Remove code.
23042 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
23043 Likewise
23044 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
23045 Likewise
23046 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
23047 Likewise
23048 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
23049 Likewise
23050 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
23051 Likewise
23052 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
23053 Likewise
23054 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
23055 Likewise
23056 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
23057 Likewise
23058 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
23059 Likewise
23060 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
23061 Likewise
23062 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
23063 Likewise
23064 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
23065 Likewise
23066 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
23067 Likewise
23068 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
23069 Likewise
23070 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
23071 Likewise
23072 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
23073 Likewise
23074
23075 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23076
23077 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
23078 to avoid alignment traps in non-cacheable memory.
23079 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23080
23081 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
23082 multiarch objects.
23083 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
23084 file: multiarch power7 memmove.
23085 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
23086 multiarch default memmove.
23087 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
23088 multiarch memove for powerpc32/power4.
23089
23090 * string/bcopy.c: Use full path to include memmove.c.
23091 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
23092 multiarch objects.
23093 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
23094 bcopy for powerpc64.
23095 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
23096 bcopy for powerpc64.
23097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
23098 and memmove implementations.
23099 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
23100 optimized multiarch memmove for POWER7/powerpc64.
23101 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
23102 default multiarch memmove for powerpc64.
23103 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
23104 multiarch for powerpc64.
23105 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
23106 for POWER7/powerpc64.
23107 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
23108 memmove for POWER7/powerpc64.
23109
23110 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
23111 glibc default one.
23112
23113 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
23114 __ELF_NATIVE_CLASS equal to 64.
23115
23116 2014-07-07 Roland McGrath <roland@hack.frob.com>
23117
23118 * sysdeps/nptl/lowlevellock.h: File removed.
23119
23120 * NEWS: NPTL is no longer an add-on!
23121 * nptl/internaltypes.h: Moved ...
23122 * sysdeps/nptl/internaltypes.h: ... here.
23123 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
23124 * sysdeps/nptl/fork.c: Likewise.
23125 * sysdeps/nptl/gai_misc.h: Likewise.
23126 * sysdeps/nptl/librt-cancellation.c: Likewise.
23127 * sysdeps/nptl/jmp-unwind.c: Likewise.
23128 * sysdeps/nptl/setxid.h: Likewise.
23129 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
23130 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
23131 * sysdeps/unix/sysv/linux/arm/Implies: New file.
23132 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
23133 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
23134 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
23135 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
23136 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
23137 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
23138 * sysdeps/unix/sysv/linux/mips/Implies: New file.
23139 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
23140 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
23141 * sysdeps/unix/sysv/linux/sh/Implies: New file.
23142 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
23143 * sysdeps/unix/sysv/linux/tile/Implies: New file.
23144 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
23145 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
23146 * nptl/Makeconfig: Moved ...
23147 * sysdeps/nptl/Makeconfig: ... here.
23148 * nptl/configure: File removed.
23149 * nptl/ANNOUNCE: File removed.
23150 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
23151 * sysdeps/unix/sysv/linux/configure: Regenerated.
23152
23153 * nptl/Makefile (routines): Add libc_pthread_init,
23154 libc_multiple_threads, register-atfork and unregister-atfork.
23155 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
23156 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
23157 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
23158 pthread-pi-defines.sym, structsem.sym.
23159 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
23160 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
23161 [$(subdir) = nptl] (tests): Add tst-setgetname.
23162 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
23163 * sysdeps/unix/sysv/linux/sigaction.c: Just include
23164 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
23165 [!LIBC_SIGACTION]: Remove aliases.
23166 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23167 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23168 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23169 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
23170 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23171 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
23172 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
23173 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
23174 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23175 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
23176 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
23177 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
23178 __libc_allocate_rtsig_private.
23179 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
23180 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
23181 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
23182 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
23183 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
23184 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
23185 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
23186 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
23187 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
23188 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
23189 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
23190 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
23191 * nptl/internaltypes.h: ... here.
23192 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
23193 * sysdeps/nptl/jmp-unwind.c: ... here.
23194 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
23195 * nptl/libc-lowlevellock.c: ... here.
23196 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
23197 * nptl/libc_multiple_threads.c: ... here.
23198 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
23199 * nptl/libc_pthread_init.c: ... here.
23200 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
23201 * nptl/lowlevelbarrier.sym: ... here.
23202 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
23203 * nptl/lowlevelcond.sym: ... here.
23204 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
23205 * nptl/lowlevellock.c: ... here.
23206 * nptl/lowlevellock.h: Moved ...
23207 * sysdeps/nptl/lowlevellock.h: ... here.
23208 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
23209 * nptl/lowlevelrobustlock.c: ... here.
23210 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
23211 * nptl/lowlevelrobustlock.sym: ... here.
23212 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
23213 * nptl/lowlevelrwlock.sym: ... here.
23214 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
23215 * nptl/pt-fork.c: ... here.
23216 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
23217 * nptl/pthread-pi-defines.sym: ... here.
23218 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
23219 * nptl/pthread_attr_getaffinity.c: ... here.
23220 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
23221 * nptl/pthread_attr_setaffinity.c: ... here.
23222 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
23223 * nptl/pthread_mutex_cond_lock.c: ... here.
23224 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23225 Update #include.
23226 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
23227 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
23228 * nptl/pthread_once.c: ... here, replacing old file.
23229 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
23230 * nptl/pthread_yield.c: ... here.
23231 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
23232 * nptl/register-atfork.c: ... here.
23233 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
23234 * nptl/sem_post.c: ... here.
23235 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
23236 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
23237 * nptl/sem_timedwait.c: ... here.
23238 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
23239 * nptl/sem_trywait.c: ... here.
23240 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
23241 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
23242 * nptl/sem_wait.c: ... here.
23243 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
23244 * nptl/structsem.sym: ... here.
23245 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
23246 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
23247 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
23248 * nptl/unregister-atfork.c: ... here.
23249 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
23250 * nptl/unwindbuf.sym: ... here.
23251 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
23252 * sysdeps/nptl/fork.c: ... here.
23253 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
23254 * sysdeps/nptl/fork.h: ... here.
23255 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
23256 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
23257 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
23258 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
23259 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
23260 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
23261 * sysdeps/unix/sysv/linux/getpid.c: ... here.
23262 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
23263 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
23264 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
23265 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
23266 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
23267 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
23268 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
23269 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
23270 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
23271 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
23272 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
23273 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
23274 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
23275 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
23276 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
23277 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
23278 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
23279 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
23280 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
23281 * sysdeps/unix/sysv/linux/raise.c: ... here.
23282 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
23283 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
23284 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
23285 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
23286 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
23287 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
23288 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
23289 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
23290 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
23291 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
23292 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
23293 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
23294 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
23295 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
23296 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
23297
23298 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23299
23300 * sysdeps/generic/memcopy.h: Add comment for
23301 MEMCPY_OK_FOR_FWD_MEMMOVE.
23302
23303 2014-07-04 Will Newton <will.newton@linaro.org>
23304
23305 * string/memchr.c: Merge from gnulib.
23306 [_LIBC]: Remove conditionals.
23307 (__ptr_t): Remove define.
23308 (LONG_MAX_32_BITS): Likewise.
23309 (LONG_MAX): Likewise.
23310 (MEMCHR): Use ANSI prototype and optimize algorithm.
23311
23312 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
23313
23314 2014-07-03 Roland McGrath <roland@hack.frob.com>
23315
23316 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
23317 (lll_futex_timed_wait_bitset): Fix syscall argument count.
23318
23319 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
23320 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
23321 in a bare environment with no <stdlib.h> installed.
23322 * sysdeps/nptl/configure: Regenerated.
23323
23324 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
23325
23326 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
23327 AC_EGREP_CPP for kernel header checks, so they only succeed if
23328 including <linux/version.h> actually works right.
23329 * sysdeps/unix/sysv/linux/configure: Regenerated.
23330
23331 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
23332 value so it's not diagnosed as unused.
23333
23334 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
23335 thing) with "ifeq ($(subdir),rt)".
23336
23337 2014-07-03 Richard Henderson <rth@redhat.com>
23338
23339 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
23340 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
23341 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
23342
23343 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
23344 (math_force_eval): New.
23345
23346 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
23347 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
23348
23349 * sysdeps/alpha/fpu/s_round.c: Remove file.
23350 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
23351
23352 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
23353 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
23354 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
23355 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
23356 (_dl_start, print_statistics): Likewise.
23357 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
23358 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
23359
23360 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23361 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23362 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23363 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23364 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23365 (HP_SMALL_TIMING_AVAIL): Define.
23366 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23367 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23368 (HP_SMALL_TIMING_AVAIL): Define.
23369 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23370 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
23371
23372 * sysdeps/aarch64/hp-timing.h: New file.
23373
23374 * sysdeps/generic/hp-timing.h: Remove dead comment.
23375 * sysdeps/generic/hp-timing-common.h: New file.
23376 * sysdeps/alpha/hp-timing.h: Include it.
23377 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
23378 * sysdeps/i386/i686/hp-timing.h: Likewise.
23379 * sysdeps/ia64/hp-timing.h: Likewise.
23380 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23381 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23382 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23383 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23384 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
23385 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
23386 (hp_timing_t): New.
23387
23388 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
23389 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
23390 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
23391 * elf/rtld.c (_dl_start_final): Likewise.
23392 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
23393 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23394 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23395 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23396 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23397 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23398 (HP_TIMING_DIFF_INIT): Remove.
23399 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23400 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
23401 (HP_TIMING_DIFF_INIT): Remove.
23402 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
23403 * sysdeps/i386/i686/hp-timing.c: Remove file.
23404 * sysdeps/x86_64/hp-timing.c: Remove file.
23405 * sysdeps/ia64/hp-timing.c: Remove file.
23406 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
23407 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
23408 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
23409 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
23410
23411 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
23412 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
23413 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
23414 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23415 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23416 (HP_TIMING_ACCUM): Remove.
23417 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23418 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
23419 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23420
23421 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
23422 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
23423 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
23424 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
23425 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
23426 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23427 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
23428 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23429
23430 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
23431
23432 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
23433
23434 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
23435
23436 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23437
23438 Sync up with gettext.
23439 * intl/loadmsgcat.c: Define O_BINARY if not defined.
23440 [_MSC_VER]: Include malloc.h
23441 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
23442 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
23443 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
23444 TEMP_FAILURE_RETRY. Cast return of alloca.
23445 [!_LIBC] Call gl_rwlock_init.
23446 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
23447
23448 2014-07-02 Roland McGrath <roland@hack.frob.com>
23449
23450 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
23451 before checking its value.
23452
23453 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23454
23455 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
23456
23457 * debug/memcpy_chk.c: Don't include pagecopy.h.
23458 * debug/mempcpy_chk.c: Likewise.
23459 * string/memcpy.c: Likewise.
23460 * string/memmove.c: Likewise.
23461 * sysdeps/powerpc/memmove.c: Likewise.
23462 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
23463 definition of PAGE_COPY_FWD_MAYBE here...
23464 * sysdeps/generic/pagecopy.h: ... from here.
23465 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
23466
23467 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23468 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23469
23470 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
23471 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
23472 optimizations.
23473 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23474 (__libc_ifunc_impl_list): Likewise.
23475 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
23476 multiarch strcat for PPC64.
23477 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
23478 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
23479
23480 2014-07-02 Roland McGrath <roland@hack.frob.com>
23481
23482 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
23483
23484 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23485
23486 * intl/loadmsgcat.c: Remove declaration of
23487 get_sysdep_segment_value.
23488 (get_sysdep_segment_value): Use ISO C style.
23489 (_nl_load_domain): Use ISO C style. Get rid of redundant
23490 semicolon. Fix typo and formatting in comment.
23491 (_nl_unload_domain): Use ISO C style.
23492
23493 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
23494
23495 2014-07-02 Will Newton <will.newton@linaro.org>
23496
23497 * malloc/obstack.c: Merge from gnulib master.
23498 [HAVE_CONFIG_H]: Remove conditional code.
23499 [!_LIBC]: Include config.h.
23500 [!ELIDE_CODE]: Don't include inttypes.h, include
23501 stdint.h unconditionally.
23502 (print_and_abort): Mark as _Noreturn.
23503 (_obstack_allocated_p): Mark as __attribute_pure__.
23504 (obstack_free): Rename to __obstack_free.
23505 [!__attribute__]: Remove conditional code.
23506 * malloc/obstack.h: Merge from gnulib master.
23507 [__cplusplus]: Move conditional down.
23508 [!__attribute_pure__]: Define __attribute_pure__ here
23509 if it is not already defined.
23510 (_obstack_memory_used): Mark as __attribute_pure__.
23511 [!__obstack_free]: Define as obstack_free.
23512 [__GNUC__]: Remove check for ancient NeXT gcc.
23513
23514 2014-07-02 Will Newton <will.newton@linaro.org>
23515 Paul Eggert <eggert@cs.ucla.edu>
23516
23517 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
23518
23519 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23520
23521 * resolv/gethnamaddr.c: Add comment warning that the file is
23522 not maintained.
23523
23524 2014-07-01 Carlos O'Donell <carlos@redhat.com>
23525
23526 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
23527 entries.
23528
23529 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
23530 entry for aio_cancel and aio_cancel64.
23531 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
23532 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
23533 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
23534 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
23535 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
23536 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
23537 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
23538 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
23539 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
23540 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
23541 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
23542 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
23543 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
23544
23545 2014-07-01 Roland McGrath <roland@hack.frob.com>
23546
23547 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
23548 * nptl/pthread_mutex_lock.c: Likewise.
23549 * nptl/pthread_mutex_timedlock.c: Likewise.
23550 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
23551
23552 2014-07-01 Richard henderson <rth@redhat.com>
23553
23554 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
23555 (__isnan, __isnanl): Remove.
23556 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
23557
23558 * sysdeps/alpha/fpu/libm-test-ulps: Update.
23559
23560 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
23561
23562 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23563
23564 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23565
23566 * resolv/nss_dns/dns-host.c (getanswer_r)
23567 [MULTI_PTRS_ARE_ALIASES]: Remove code.
23568
23569 2014-07-01 Joseph Myers <joseph@codesourcery.com>
23570
23571 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23572 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
23573 undefine.
23574 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
23575 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
23576
23577 2014-07-01 Roland McGrath <roland@hack.frob.com>
23578
23579 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
23580 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
23581
23582 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
23583 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
23584
23585 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
23586 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
23587 ... here.
23588 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
23589 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
23590
23591 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
23592 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
23593 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
23594 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
23595
23596 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
23597 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
23598 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
23599 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
23600 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
23601 Moved ...
23602 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
23603 ... here.
23604 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
23605 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
23606 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
23607 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
23608 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
23609 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
23610 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
23611 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
23612 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
23613 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
23614 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
23615 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
23616 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
23617 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
23618 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
23619 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
23620 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
23621 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
23622 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
23623 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
23624 ... here.
23625 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
23626 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
23627 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
23628 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
23629 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
23630 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
23631 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
23632 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
23633
23634 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
23635
23636 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
23637 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
23638 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
23639 Add sysdep.
23640
23641 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23642
23643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23644
23645 2014-06-30 Joseph Myers <joseph@codesourcery.com>
23646
23647 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23648 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23649
23650 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23651
23652 * sysdeps/arm/libm-test-ulps: Regenerated.
23653
23654 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
23655 Roland McGrath <roland@hack.frob.com>
23656
23657 * test-skeleton.c (signal_handler): Kill the whole process group
23658 before killing the child individually.
23659 (main): Report any failure on `setpgid'.
23660
23661 2014-06-30 Roland McGrath <roland@hack.frob.com>
23662
23663 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
23664 from _TLS_H to _ARM_NPTL_TLS_H.
23665 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
23666 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
23667
23668 2014-06-30 Joseph Myers <joseph@codesourcery.com>
23669
23670 [BZ #16539]
23671 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
23672 (__expm1l): Return argument unchanged when small but not
23673 subnormal.
23674
23675 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
23676 include macro name.
23677 (_FP_UNPACK_RAW_1_P): Likewise.
23678 (_FP_PACK_RAW_1): Likewise.
23679 (_FP_PACK_RAW_1_P): Likewise.
23680 (_FP_MUL_MEAT_1_wide): Likewise.
23681 (_FP_MUL_MEAT_DW_1_hard): Likewise.
23682 (_FP_MUL_MEAT_1_hard): Likewise.
23683 (_FP_DIV_MEAT_1_imm): Likewise.
23684 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
23685 (_FP_DIV_MEAT_1_udiv): Likewise.
23686 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
23687 (_FP_UNPACK_RAW_2): Likewise.
23688 (_FP_UNPACK_RAW_2_P): Likewise.
23689 (_FP_PACK_RAW_2): Likewise.
23690 (_FP_PACK_RAW_2_P): Likewise.
23691 (_FP_MUL_MEAT_DW_2_wide): Likewise.
23692 (_FP_MUL_MEAT_2_wide): Likewise.
23693 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
23694 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23695 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
23696 (_FP_MUL_MEAT_2_gmp): Likewise.
23697 (_FP_DIV_MEAT_2_udiv): Likewise.
23698 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
23699 (_FP_FRAC_SRL_4): Likewise.
23700 (_FP_FRAC_SRST_4): Likewise.
23701 (_FP_FRAC_SRS_4): Likewise.
23702 (_FP_UNPACK_RAW_4): Likewise.
23703 (_FP_UNPACK_RAW_4_P): Likewise.
23704 (_FP_PACK_RAW_4): Likewise.
23705 (_FP_PACK_RAW_4_P): Likewise.
23706 (_FP_MUL_MEAT_DW_4_wide): Likewise.
23707 (_FP_MUL_MEAT_4_wide): Likewise.
23708 (_FP_MUL_MEAT_4_gmp): Likewise.
23709 (umul_ppppmnnn): Likewise.
23710 (_FP_DIV_MEAT_4_udiv): Likewise.
23711 (__FP_FRAC_ADD_4): Likewise.
23712 (__FP_FRAC_SUB_3): Likewise.
23713 (__FP_FRAC_SUB_4): Likewise.
23714 (__FP_FRAC_DEC_3): Likewise.
23715 (__FP_FRAC_DEC_4): Likewise.
23716 (__FP_FRAC_ADDI_4): Likewise.
23717 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
23718 (_FP_FRAC_SRL_8): Likewise.
23719 (_FP_FRAC_SRS_8): Likewise.
23720
23721 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
23722 include macro name.
23723 (FP_UNPACK_RAW_EP): Likewise.
23724 (FP_PACK_RAW_E): Likewise.
23725 (FP_PACK_RAW_EP): Likewise.
23726 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
23727 (_FP_ISSIGNAN): Likewise.
23728 (_FP_ADD_INTERNAL): Likewise.
23729 (_FP_FMA): Likewise.
23730 (_FP_CMP): Likewise.
23731 (_FP_SQRT): Likewise.
23732 (_FP_TO_INT): Likewise.
23733 (_FP_FROM_INT): Likewise.
23734 (FP_EXTEND): Likewise.
23735 (_FP_DIV_MEAT_N_loop): Likewise.
23736
23737 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
23738
23739 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
23740 throughout.
23741
23742 2014-06-29 Joseph Myers <joseph@codesourcery.com>
23743
23744 [BZ #17097]
23745 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
23746 result with correct sign in case of exponents that produce
23747 overflow except for X very close to 1.
23748
23749 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
23750
23751 mktime: merge #if/#ifdef usage from glibc
23752 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
23753 as that works with both Glibc's and Gnulib's style.
23754 See thread starting at Siddhesh Poyarekar's bug report at:
23755 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
23756
23757 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23758
23759 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
23760 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
23761 * sysdeps/tile/tilegx/memmove.c: Remove file.
23762
23763 2014-06-27 Joseph Myers <joseph@codesourcery.com>
23764
23765 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
23766 abi-name definition.
23767 * scripts/soversions.awk: Do not handle or generate ABI lines.
23768 * shlib-versions: Remove ABI entries.
23769 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
23770 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
23771
23772 2014-06-27 Roland McGrath <roland@hack.frob.com>
23773
23774 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
23775 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
23776 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
23777 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
23778 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
23779 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
23780 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
23781 Moved ...
23782 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
23783 ... here.
23784 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
23785 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
23786 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
23787 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
23788 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
23789 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
23790 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
23791 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
23792 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
23793 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
23794 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
23795 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
23796 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
23797 Moved ...
23798 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
23799 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
23800 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
23801 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
23802 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
23803 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
23804 Moved ...
23805 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
23806 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
23807 Moved ...
23808 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
23809 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
23810 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
23811 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
23812 Moved ...
23813 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
23814 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
23815 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
23816 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
23817 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
23818 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
23819 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
23820 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
23821 Moved ...
23822 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
23823 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
23824 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
23825 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
23826 Moved ...
23827 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
23828 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
23829 Moved ...
23830 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
23831 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
23832 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
23833 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
23834 Moved ...
23835 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
23836 ... here.
23837 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
23838 Identical file removed.
23839 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
23840 Moved ...
23841 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
23842 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
23843 Identical file removed.
23844 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
23845 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
23846 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
23847 Moved ...
23848 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
23849 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
23850 Identical file removed.
23851 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
23852 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
23853 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
23854 Identical file removed.
23855 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
23856 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
23857 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
23858 Identical file removed.
23859 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
23860 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
23861 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
23862 Identical file removed.
23863 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
23864 Moved ...
23865 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
23866 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
23867 Identical file removed.
23868 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
23869 Moved ...
23870 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
23871 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
23872 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
23873 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
23874 Identical file removed.
23875 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
23876 Moved ...
23877 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
23878 ... here.
23879 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
23880 Identical file removed.
23881 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
23882 Moved ...
23883 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
23884 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
23885 Identical file removed.
23886 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
23887 Moved ...
23888 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
23889 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
23890 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
23891 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
23892 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
23893 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
23894 Moved ...
23895 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
23896 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
23897 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
23898
23899 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
23900 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
23901 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
23902 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
23903 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
23904
23905 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
23906
23907 [BZ #17092]
23908 * nscd/nscd.c (monitor_child): Return exit status of child
23909 instead of return value from wait syscall.
23910
23911 2014-06-27 Joseph Myers <joseph@codesourcery.com>
23912
23913 * configure.ac (libc_commonpagesize): Remove variable.
23914 (libc_relro_required): Likewise.
23915 (libc_cv_z_relro): Remove configure test.
23916 * configure: Regenerated.
23917 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
23918 variable.
23919 (libc_relro_required): Likewise.
23920 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
23921 (libc_relro_required): Likewise.
23922 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
23923 (libc_relro_required): Likewise.
23924 * sysdeps/arm/preconfigure: Regenerated.
23925 * sysdeps/ia64/preconfigure: Remove file.
23926 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
23927 variable.
23928 (libc_relro_required): Likewise.
23929
23930 [BZ #16561]
23931 [BZ #16562]
23932 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
23933 (__ieee754_yn): Set FE_TONEAREST mode internally and then
23934 recompute overflowing results in original rounding mode.
23935 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
23936 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
23937 recompute overflowing results in original rounding mode.
23938 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
23939 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23940 recompute overflowing results in original rounding mode.
23941 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
23942 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23943 recompute overflowing results in original rounding mode.
23944 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
23945 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23946 recompute overflowing results in original rounding mode.
23947 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
23948 (libc_feholdsetround_ctx): New macro.
23949 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
23950 * sysdeps/i386/fpu/libm-test-ulps: Update.
23951 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
23952
23953 2014-06-26 Joseph Myers <joseph@codesourcery.com>
23954
23955 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
23956 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
23957 corresponding .cpsetup call.
23958
23959 2014-06-26 Roland McGrath <roland@hack.frob.com>
23960
23961 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
23962 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
23963 * sysdeps/arm/Makefile [$(subdir) = csu]
23964 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
23965 (static-only-routines): Add aeabi_read_tp here.
23966 (shared-only-routines): Add libc-aeabi_read_tp here.
23967 (CFLAGS-libc-start.c): Add -fexceptions here.
23968 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
23969 (sysdep_routines, static-only-routines, shared-only-routines):
23970 Don't add to these here.
23971 (CFLAGS-libc-start.c): Likewise.
23972
23973 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
23974 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
23975 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
23976 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
23977 * sysdeps/arm/Makefile [$(subdir) = rt]
23978 (librt-sysdep_routines, librt-shared-only-routines):
23979 Append rt-aeabi_unwind_cpp_pr1 here.
23980 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
23981 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
23982 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
23983 (libpthread-sysdep_routines, libpthread-shared-only-routines):
23984 Append nptl-aeabi_unwind_cpp_pr1 here.
23985 (tests): Filter out tst-cleanupx4 here.
23986 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
23987 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
23988 Don't do those here.
23989
23990 2014-06-26 Joseph Myers <joseph@codesourcery.com>
23991
23992 * scripts/list-sources.sh: Do not handle ports specially.
23993
23994 2014-06-26 Roland McGrath <roland@hack.frob.com>
23995
23996 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
23997 * sysdeps/arm/feupdateenv.c: Likewise.
23998
23999 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
24000
24001 2014-06-26 Joseph Myers <joseph@codesourcery.com>
24002
24003 * manual/texinfo.tex: Update to version 2014-05-05.10 with
24004 trailing whitespace removed.
24005 * scripts/config.guess: Update to version 2014-03-23.
24006 * scripts/config.sub: Update to version 2014-05-01
24007 * scripts/install-sh: Update to version 2013-12-25.23.
24008 * scripts/move-if-change: Update from gnulib.
24009
24010 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24011
24012 * debug/memmove_chk.c: Remove pagecopy.h include.
24013
24014 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
24015
24016 * time/mktime.c (leapyear): Remove inline keyword. The code is now
24017 identical to gnulib mktime.
24018
24019 2014-06-26 Joseph Myers <joseph@codesourcery.com>
24020
24021 * configure.ac: Do not test for machine being rs6000. Do not test
24022 for powerpc*-*soft.
24023 * configure: Regenerated.
24024
24025 [BZ #11505]
24026 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
24027 test.
24028 * configure: Regenerated.
24029 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
24030 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
24031 Remove configure test.
24032 * sysdeps/arm/configure: Regenerated.
24033 * sysdeps/nptl/configure.ac: Do not check
24034 libc_cv_asm_cfi_directives.
24035 * sysdeps/nptl/configure: Regenerated.
24036 * sysdeps/x86_64/nptl/configure.ac: Remove file.
24037 * sysdeps/x86_64/nptl/configure: Remove generated file.
24038 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
24039 unconditional.
24040 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
24041
24042 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24043
24044 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
24045 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
24046 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
24047 it is defined.
24048
24049 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
24050 instead of whether it is defined.
24051 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
24052 * sysdeps/hppa/dl-machine.h: Likewise.
24053 * sysdeps/ia64/dl-machine.h: Likewise.
24054 * sysdeps/m68k/dl-machine.h: Likewise.
24055 * sysdeps/microblaze/dl-machine.h: Likewise.
24056 * sysdeps/mips/dl-machine.: Likewise.
24057 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24058 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24059 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24060 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24061 * sysdeps/sh/dl-machine.h: Likewise.
24062 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24063 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24064 * sysdeps/tile/dl-machine.h: Likewise.
24065 * sysdeps/x86_64/dl-machine.h: Likewise.
24066
24067 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
24068 code.
24069 (verify_persistent_db): Likewise.
24070
24071 2014-06-26 Roland McGrath <roland@hack.frob.com>
24072
24073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
24074 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
24075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
24076 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
24077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24078 Moved ...
24079 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
24080 ... here.
24081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
24082 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
24083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
24084 Identical file removed.
24085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
24086 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
24087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
24088 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
24089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
24090 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
24091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
24092 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
24093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
24094 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
24095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24096 Moved ...
24097 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
24098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
24099 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
24100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
24101 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
24102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24103 Moved ...
24104 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
24105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
24106 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
24107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
24108 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
24109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24110 Identical file removed.
24111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
24112 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
24113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
24114 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
24115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24116 Moved ...
24117 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
24118 ... here.
24119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
24120 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
24121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
24122 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
24123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
24124 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
24125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
24126 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
24127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
24128 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
24129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24130 Moved ...
24131 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
24132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
24133 Moved ...
24134 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
24135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
24136 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
24137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24138 Moved ...
24139 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
24140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
24141 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
24142
24143 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
24144 folded into ...
24145 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
24146 * sysdeps/unix/sysv/linux/s390/Versions
24147 (libpthread: GLIBC_2.19): New version set.
24148 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
24149 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
24150 (librt: GLIBC_2.3.3): New version set.
24151 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
24152 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
24153 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
24154 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
24155 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
24156 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
24157 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
24158 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
24159 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
24160 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
24161 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
24162 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
24163 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
24164 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
24165 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
24166 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
24167 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
24168 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
24169 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
24170 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
24171 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
24172 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
24173 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
24174 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
24175 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
24176 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
24177 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
24178 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
24179 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
24180 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
24181 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
24182 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
24183 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
24184 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
24185 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
24186 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
24187 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
24188 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
24189 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
24190 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
24191 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
24192 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
24193 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
24194 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
24195 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
24196
24197 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
24198 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
24199 (__libc_vfork): Define the function under this name.
24200 [!NOT_IN_libc] (__vfork): Make this an alias.
24201 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24202 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
24203 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
24204 (__libc_vfork): Define the function under this name.
24205 [!NOT_IN_libc] (__vfork): Make this an alias.
24206 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
24207 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
24208 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
24209 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
24210 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
24211 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24212
24213 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
24214 code that was previously under [RESET_PID].
24215 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
24216 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
24217 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
24218
24219 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
24220 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
24221 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
24222 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
24223 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
24224 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
24225 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
24226 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
24227 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
24228 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
24229 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
24230 Moved ...
24231 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
24232 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
24233 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
24234 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
24235 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
24236 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
24237 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
24238 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
24239 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
24240 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
24241 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
24242 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
24243 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
24244 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
24245 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
24246 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
24247 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
24248 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
24249 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
24250 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
24251 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
24252 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
24253 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
24254 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
24255 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
24256 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
24257 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
24258 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
24259 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
24260
24261 2014-06-25 Roland McGrath <roland@hack.frob.com>
24262
24263 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
24264 that was previously under [RESET_PID].
24265 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
24266
24267 2014-06-25 Joseph Myers <joseph@codesourcery.com>
24268
24269 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
24270 not undefine and redefine.
24271 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
24272 [O_CLOEXEC]: Make code unconditional.
24273 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
24274 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
24275 <kernel-features.h>.
24276 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
24277 conditional variable definition.
24278 (shm_open) [O_CLOEXEC]: Make code unconditional.
24279 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
24280 code.
24281
24282 * configure.ac (USE_REGPARMS): Don't define here.
24283 * configure: Regenerated.
24284 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
24285 * sysdeps/i386/configure: Regenerated.
24286
24287 * nptl/createthread.c: Don't include kernel-features.h.
24288 * nptl/pthread_cancel.c: Likewise.
24289 * nptl/pthread_condattr_setclock.c: Likewise.
24290 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
24291 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
24292 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
24293 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
24294 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
24295 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
24296 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
24297 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
24298 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
24299 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
24300 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
24301 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
24302 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
24303 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
24304 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
24305 * nscd/gai.c: Likewise.
24306 * nss/nss_db/db-open.c: Likewise.
24307 * sysdeps/generic/ldsodefs.h: Likewise.
24308 * sysdeps/sh/nptl/tls.h: Likewise.
24309 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24310 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
24311 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
24312 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
24313 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
24314 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24315 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
24316 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24317 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24318 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24319 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24320 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24321 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
24322 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
24323 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
24324 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
24325 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
24326 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
24327 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
24328 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
24329 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
24330 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
24331 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
24332 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
24333 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
24334 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
24335 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
24336 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
24337 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
24338 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
24339 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
24340 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
24341 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
24342 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24343 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24344 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24345 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24346 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
24347 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
24348 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24349 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24350 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
24351 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
24352 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24353 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
24354 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
24355 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
24356 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
24357 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
24358 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
24359 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
24360 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
24361 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
24362 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24363 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
24364 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24365 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24366 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
24367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
24369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
24370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
24371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
24372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
24373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
24374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
24375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
24378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
24379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
24380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
24381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
24387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
24388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
24389 * sysdeps/unix/sysv/linux/pread.c: Likewise.
24390 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
24391 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
24392 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
24393 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
24394 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
24395 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
24396 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
24397 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
24398 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
24399 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
24400 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
24401 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
24402 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
24403 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
24404 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
24405 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24406 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
24407 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
24408 * sysdeps/unix/sysv/linux/system.c: Likewise.
24409 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
24410 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24411 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24412 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24413 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24414 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24415 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24416
24417 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
24418 * configure: Regenerated.
24419 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
24420
24421 * configure.ac (base_machine): Do not set specially for particular
24422 machines here.
24423 * configure: Regenerated.
24424 * sysdeps/powerpc/preconfigure: Move machine and base_machine
24425 settings from configure.ac.
24426 * sysdeps/i386/preconfigure: New file.
24427 * sysdeps/s390/preconfigure: Likewise.
24428 * sysdeps/sh/preconfigure: Likewise.
24429 * sysdeps/sparc/preconfigure: Likewise.
24430
24431 2014-06-25 Roland McGrath <roland@hack.frob.com>
24432
24433 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
24434 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
24435 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
24436 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
24437 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
24438 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
24439 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
24440 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
24441 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
24442 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
24443 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
24444 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
24445 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
24446 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
24447 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
24448 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
24449 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
24450 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
24451 * sysdeps/sparc/sparc64/Makefile: ... appended here.
24452
24453 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
24454 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
24455 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
24456 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
24457 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
24458 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
24459 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
24460 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
24461 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
24462 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
24463 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
24464 * sysdeps/sparc/sparc32/sem_post.c: ... here.
24465 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
24466 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
24467 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
24468 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
24469 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
24470 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
24471 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
24472 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
24473 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
24474 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
24475 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
24476 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
24477 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
24478 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
24479 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
24480 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
24481 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
24482 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
24483 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
24484 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
24485 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
24486 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
24487 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
24488 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
24489 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
24490 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
24491
24492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
24493 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
24494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
24495 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
24496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24497 Moved ...
24498 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
24499 ... here.
24500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
24501 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
24502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
24503 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
24504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
24505 Moved ...
24506 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
24507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
24508 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
24509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
24510 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
24511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
24512 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
24513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24514 Moved ...
24515 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
24516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24517 Moved ...
24518 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
24519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
24520 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
24521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24522 Moved ...
24523 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
24524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
24525 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
24526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
24527 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
24528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
24529 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
24530 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
24531 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
24532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24533 Moved ...
24534 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
24535 ... here.
24536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
24537 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
24538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
24539 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
24540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
24541 Moved ...
24542 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
24543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
24544 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
24545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
24546 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
24547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
24548 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
24549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24550 Moved ...
24551 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
24552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24553 Moved ...
24554 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
24555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
24556 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
24557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24558 Moved ...
24559 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
24560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
24561 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
24562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
24563 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
24564
24565 2014-06-25 Joseph Myers <joseph@codesourcery.com>
24566
24567 * timezone/checktab.awk: Update from tzcode 2014e.
24568 * timezone/private.h: Likewise.
24569 * timezone/tzfile.h: Likewise.
24570 * timezone/zdump.c: Likewise.
24571 * timezone/zic.c: Likewise.
24572
24573 * sysdeps/unix/sysv/linux/kernel-features.h
24574 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
24575 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
24576 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
24577 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24578 Remove conditional code.
24579
24580 2014-06-25 Will Newton <will.newton@linaro.org>
24581
24582 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
24583 (_dl_arm_cap_flags): Add HWCAP2 values.
24584 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
24585 (_DL_HWCAP_COUNT): Increase to 37.
24586 (_DL_HWCAP_LAST): New define.
24587 (_DL_HWCAP2_LAST): New define.
24588 (_dl_procinfo): Add support for printing
24589 AT_HWCAP2 entries.
24590 (_dl_string_hwcap): Use _dl_hwcap_string.
24591
24592 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24593
24594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24595
24596 2014-06-25 Joseph Myers <joseph@codesourcery.com>
24597
24598 * README: Do not mention ports directory.
24599
24600 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
24601 Remove macro.
24602 * sysdeps/unix/sysv/linux/futimes.c: Do not include
24603 <kernel-features.h>.
24604 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
24605 conditional variable definition.
24606 (__futimes): Update comment.
24607 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
24608 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
24609
24610 [BZ #16560]
24611 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
24612 arguments close to 0.
24613 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
24614 Likewise.
24615 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
24616 Likewise.
24617 * math/auto-libm-test-in: Add more tests of exp10.
24618 * math/auto-libm-test-out: Regenerated.
24619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24620
24621 * sysdeps/unix/sysv/linux/kernel-features.h
24622 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
24623 * sysdeps/unix/sysv/linux/readv.c: Do not include
24624 <kernel-features.h>.
24625 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24626 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24627 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24628 unconditional.
24629 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24630 conditional code.
24631 * sysdeps/unix/sysv/linux/writev.c: Do not include
24632 <kernel-features.h>.
24633 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24634 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24635 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24636 unconditional.
24637 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24638 conditional code.
24639
24640 2014-06-25 Will Newton <will.newton@linaro.org>
24641
24642 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
24643 comment changes throughout the file. Remove checks
24644 for HAVE_*_H definitions that are not required.
24645 (__gen_tempname): Call abort if an unknown kind value is
24646 passed.
24647
24648 2014-06-25 Andreas Schwab <schwab@suse.de>
24649
24650 [BZ #17086]
24651 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
24652 scalbln, scalblnf, scalblnl in libc.
24653
24654 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24655
24656 [BZ #17086]
24657 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
24658 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24659 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24660
24661 2014-06-24 Roland McGrath <roland@hack.frob.com>
24662
24663 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
24664 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
24665 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
24666 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
24667 Update #include.
24668 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
24669 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
24670 Update #include.
24671 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
24672 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
24673 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
24674 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
24675 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
24676 * sysdeps/x86/bits/pthreadtypes.h: ... here.
24677 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
24678 * sysdeps/x86/bits/semaphore.h: ... here.
24679 * sysdeps/x86/nptl/elide.h: Moved ...
24680 * sysdeps/x86/elide.h: ... here.
24681 * sysdeps/x86_64/nptl/Implies: File removed.
24682 * sysdeps/i386/nptl/Implies: File removed.
24683
24684 2014-06-24 Joseph Myers <joseph@codesourcery.com>
24685
24686 [BZ #16539]
24687 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
24688 return the argument for normal arguments with exponent below -64.
24689 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24690 Likewise.
24691 * math/auto-libm-test-in: Add another test of expm1.
24692 * math/auto-libm-test-out: Regenerated.
24693
24694 [BZ #16287]
24695 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
24696 calling __erfcl for arguments at least 16.
24697 * math/auto-libm-test-in: Add more tests of erf.
24698 * math/auto-libm-test-out: Regenerated.
24699
24700 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
24701 individual architectures.
24702 * sysdeps/unix/sysv/linux/configure: Regenerated.
24703 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
24704 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
24705 * sysdeps/unix/sysv/linux/powerpc/configure.ac
24706 (ldd_rewrite_script): Define variable.
24707 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
24709 file.
24710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
24711 generated file.
24712 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
24713 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
24714 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
24715 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
24716 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
24717 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
24718 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
24719 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
24720
24721 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24722
24723 [BZ #17084]
24724 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
24725 Rename member __data.d to __data.__elision_data.
24726
24727 2014-06-24 Wilco <wdijkstr@arm.com>
24728
24729 * NEWS: Add 16918 to fixed bug list.
24730
24731 2014-06-24 Wilco <wdijkstr@arm.com>
24732
24733 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
24734
24735 2014-06-24 Wilco <wdijkstr@arm.com>
24736
24737 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
24738 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
24739 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
24740 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
24741 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
24742 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
24743 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
24744 Use _FPU_MASK_RM.
24745
24746 2014-06-24 Wilco <wdijkstr@arm.com>
24747
24748 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
24749
24750 2014-06-24 Wilco <wdijkstr@arm.com>
24751
24752 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
24753 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
24754 * sysdeps/arm/fesetround.c (fesetround): Remove space.
24755 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
24756
24757 2014-06-24 Wilco <wdijkstr@arm.com>
24758
24759 [BZ #16918]
24760 * sysdeps/arm/feupdateenv.c (feupdateenv):
24761 Rewrite to reduce FPSCR accesses and fix return value.
24762
24763 2014-06-24 Wilco <wdijkstr@arm.com>
24764
24765 * sysdeps/arm/fclrexcpt.c (feclearexcept):
24766 Optimize to avoid unnecessary FPSCR writes.
24767 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
24768 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
24769 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
24770 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
24771
24772 2014-06-24 Wilco <wdijkstr@arm.com>
24773
24774 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
24775 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
24776 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
24777 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
24778 Call libc_fetestexcept_vfp.
24779 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
24780 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
24781 __SOFTFP__ ifdef so that they can be built for softfp.
24782
24783 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24784
24785 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
24786 argument type signed char.
24787
24788 * Makerules (check-abi): Dump diff of symlist if the test
24789 fails.
24790
24791 2014-06-23 Roland McGrath <roland@hack.frob.com>
24792
24793 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
24794 using abort.
24795
24796 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24797 Remove unused variable ST.
24798
24799 2014-06-23 Joseph Myers <joseph@codesourcery.com>
24800
24801 [BZ #16354]
24802 [BZ #17061]
24803 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
24804 small arguments before calling __expm1.
24805 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
24806 small arguments before calling __expm1f.
24807 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
24808 small arguments before calling __expm1l.
24809 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24810 Likewise.
24811 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
24812 * math/auto-libm-test-in: Add more cosh tests. Do not allow
24813 spurious underflow for some cosh tests.
24814 * math/auto-libm-test-out: Regenerated.
24815 * sysdeps/i386/fpu/libm-test-ulps: Update.
24816
24817 [BZ #17050]
24818 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
24819 (__ieee754_y1): Set errno if return value overflows.
24820 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
24821 (__ieee754_y1f): Set errno if return value overflows.
24822 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
24823 (__ieee754_y1l): Set errno if return value overflows.
24824 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
24825 (__ieee754_y1l): Set errno if return value overflows.
24826 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
24827 * math/auto-libm-test-out: Regenerated.
24828
24829 * math/gen-auto-libm-tests.c: Document use of
24830 ignore-zero-inf-sign.
24831 (input_flag_type): Add value flag_ignore_zero_inf_sign.
24832 (input_flags): Add ignore-zero-inf-sign.
24833 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
24834 * math/gen-libm-test.pl (generate_testfile): Handle
24835 ignore-zero-inf-sign.
24836 * math/auto-libm-test-in: Mark some cpow tests with
24837 ignore-zero-inf-sign and some with xfail-rounding.
24838 * math/auto-libm-test-out: Regenerated.
24839 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
24840 * sysdeps/i386/fpu/libm-test-ulps: Update.
24841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24842
24843 [BZ #16315]
24844 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
24845 overflowing or underflowing operations take place with sign of
24846 result.
24847 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24848 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24849 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
24850 (__ieee754_pow): Recompute overflowing and underflowing results in
24851 original rounding mode.
24852 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
24853 (__powl_helper): Allow negative argument X and scale negated value
24854 as needed. Avoid passing value outside [-1, 1] to f2xm1.
24855 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
24856 overflowing or underflowing operations take place with sign of
24857 result.
24858 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
24859 Include <math.h>.
24860 * math/auto-libm-test-in: Add more tests of pow.
24861 * math/auto-libm-test-out: Regenerated.
24862 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
24863 (pow_tonearest_test_data): Remove.
24864 (pow_test_tonearest): Likewise.
24865 (pow_towardzero_test_data): Likewise.
24866 (pow_test_towardzero): Likewise.
24867 (pow_downward_test_data): Likewise.
24868 (pow_test_downward): Likewise.
24869 (pow_upward_test_data): Likewise.
24870 (pow_test_upward): Likewise.
24871 (main): Don't call removed functions.
24872 * sysdeps/i386/fpu/libm-test-ulps: Update.
24873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24874
24875 2014-06-23 Roland McGrath <roland@hack.frob.com>
24876
24877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
24878 Moved ...
24879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
24880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24881 Moved ...
24882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
24883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24884 Moved ...
24885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
24886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24887 Moved ...
24888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
24889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24890 File removed.
24891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24892 File removed.
24893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
24894 File removed.
24895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
24896 File removed.
24897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
24898 File removed.
24899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
24900 File removed.
24901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
24902 File removed.
24903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24904 File removed.
24905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
24906 File removed.
24907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24908 File removed.
24909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
24910 File removed.
24911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
24912 File removed.
24913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
24914 Moved ...
24915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
24916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
24917 Moved ...
24918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
24919 ... here.
24920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
24921 Moved ...
24922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
24923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
24924 Moved ...
24925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
24926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
24927 Moved ...
24928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
24929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
24930 Moved ...
24931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
24932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
24933 Moved ...
24934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
24935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
24936 Moved ...
24937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
24938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
24939 Moved ...
24940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
24941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
24942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
24943 ... here.
24944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
24945 Moved ...
24946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
24947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24948 Moved ...
24949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24950 ... here.
24951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
24952 Moved ...
24953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24954 ... here.
24955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24956 Moved ...
24957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24958 ... here.
24959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24960 Moved ...
24961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
24962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24963 Moved ...
24964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
24965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
24966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
24967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24968 Moved ...
24969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
24970 ... here.
24971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24972 Moved ...
24973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
24974 ... here.
24975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24976 Moved ...
24977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
24978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24979 Moved ...
24980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
24981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24982 Moved ...
24983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
24984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24985 Moved ...
24986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
24987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24988 Moved ...
24989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
24990 ... here.
24991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24992 Moved ...
24993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
24994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24995 Moved ...
24996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
24997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24998 Moved ...
24999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
25000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25001 Moved ...
25002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
25003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
25004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
25005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25006 Moved ...
25007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
25008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25009 Moved ...
25010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
25011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25012 Moved ...
25013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
25014 ... here.
25015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25016 Moved ...
25017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
25018 ... here.
25019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25020 Moved ...
25021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
25022 ... here.
25023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25024 Moved ...
25025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
25026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25027 Moved ...
25028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
25029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25030 Moved ...
25031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
25032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25033 Moved ...
25034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
25035 ... here.
25036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25037 Moved ...
25038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
25039 ... here.
25040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25041 Moved ...
25042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
25043 ... here.
25044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25045 Moved ...
25046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
25047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25048 Moved ...
25049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
25050
25051 2014-06-23 Will Newton <will.newton@linaro.org>
25052 Wilco <wdijkstr@arm.com>
25053
25054 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
25055 implementation. Include get-rounding-mode.h.
25056 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
25057 [!libc_feholdsetround_noex_ctx]: Define
25058 libc_feholdsetround_noex_ctx.
25059 [!libc_feholdsetround_noexf_ctx]: Define
25060 libc_feholdsetround_noexf_ctx.
25061 [!libc_feholdsetround_noexl_ctx]: Define
25062 libc_feholdsetround_noexl_ctx.
25063 (libc_feholdsetround_ctx): New function.
25064 (libc_feresetround_ctx): New function.
25065 (libc_feholdsetround_noex_ctx): New function.
25066 (libc_feresetround_noex_ctx): New function.
25067
25068 2014-06-23 Roland McGrath <roland@hack.frob.com>
25069
25070 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
25071 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
25072 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
25073 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
25074 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
25075 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
25076
25077 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
25078 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
25079 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
25080 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
25081 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
25082 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
25083 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
25084 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
25085 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
25086 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
25087 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
25088 Moved ...
25089 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
25090 ... here.
25091 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
25092 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
25093 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
25094 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
25095 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
25096 Moved ...
25097 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
25098 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
25099 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
25100 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
25101 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
25102 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
25103 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
25104 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
25105 Moved ...
25106 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
25107 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
25108 Moved ...
25109 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
25110 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
25111 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
25112 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
25113 Moved ...
25114 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
25115 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
25116 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
25117 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
25118 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
25119 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
25120 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
25121 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
25122 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
25123 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
25124 Moved ...
25125 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
25126 ... here.
25127 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
25128 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
25129 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
25130 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
25131 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
25132 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
25133 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
25134 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
25135 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
25136 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
25137 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
25138 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
25139 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
25140 Moved ...
25141 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
25142 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
25143 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
25144 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
25145 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
25146 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
25147 Moved ...
25148 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
25149 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
25150 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
25151 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
25152 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
25153
25154 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
25155 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
25156 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
25157 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
25158 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
25159 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
25160 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
25161 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
25162 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
25163 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
25164 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
25165 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
25166 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
25167 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
25168 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
25169 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
25170 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
25171 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
25172 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
25173 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
25174 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
25175 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
25176 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
25177 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
25178 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
25179 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
25180 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
25181 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
25182
25183 2014-06-23 Joseph Myers <joseph@codesourcery.com>
25184
25185 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
25186 (FALLOC_FL_COLLAPSE_RANGE): New macro.
25187 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
25188 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
25189 (IPV6_PMTUDISC_INTERFACE): Likewise.
25190 (IPV6_PMTUDISC_OMIT): Likewise.
25191
25192 2014-06-23 Andreas Schwab <schwab@suse.de>
25193
25194 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
25195 Remove unused errout label.
25196
25197 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25198
25199 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
25200 macro: hardware supports Vector Crypto instructions.
25201
25202 2014-06-23 Will Newton <will.newton@linaro.org>
25203
25204 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
25205 rather than __builtin_expect.
25206
25207 * elf/dl-lookup.c (undefined_msg): Remove variable.
25208 (_dl_lookup_symbol_x): Replace undefined_msg with string
25209 literal.
25210
25211 * elf/dl-lookup.c (do_lookup_unique): New function.
25212 (do_lookup_x): Move STB_GNU_UNIQUE handling code
25213 to a separate function.
25214
25215 2014-06-23 Andreas Schwab <schwab@suse.de>
25216
25217 [BZ #17079]
25218 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
25219 before reading the next line.
25220
25221 2014-06-23 Will Newton <will.newton@linaro.org>
25222
25223 * test-skeleton.c (signal_handler): Use printf and %m
25224 rather than perror. Use printf rather than fprintf to
25225 stderr. Use puts rather than fputs to stderr.
25226 (main): Likewise.
25227
25228 2014-06-22 Ludovic Courtès <ludo@gnu.org>
25229
25230 * nscd/nscd.c (thread_info_t): Remove typedef.
25231 (thread_info): Remove variable.
25232
25233 2014-06-21 Allan McRae <allan@archlinux.org>
25234
25235 * NEWS: Mention CVE-2014-4043.
25236
25237 2014-06-20 Roland McGrath <roland@hack.frob.com>
25238
25239 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
25240 * nptl/smp.h: ... here.
25241
25242 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
25243
25244 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
25245 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
25246 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
25247 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
25248
25249 * nptl/allocatestack.c: Include <stack-aliasing.h>.
25250 * nptl/stack-aliasing.h: New file.
25251 * sysdeps/i386/i686/stack-aliasing.h: New file.
25252 * sysdeps/i386/i686/nptl/Makefile: File removed.
25253 * sysdeps/x86_64/stack-aliasing.h: New file.
25254 * sysdeps/x86_64/nptl/Makefile
25255 (CFLAGS-pthread_create.c): Variable removed.
25256
25257 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
25258 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
25259 old file.
25260 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
25261 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
25262 old file.
25263
25264 2014-06-21 Joseph Myers <joseph@codesourcery.com>
25265
25266 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25267 (__ASSUME_SIGFRAME_V2): Remove macro.
25268 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
25269 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
25270 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
25271 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
25272 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
25273 Declare as function. Remove conditional macro definitions.
25274 (__default_rt_sa_restorer): Likewise.
25275 (__default_sa_restorer_v1): Remove declaration.
25276 (__default_sa_restorer_v2): Likewise.
25277 (__default_rt_sa_restorer_v1): Likewise.
25278 (__default_rt_sa_restorer_v2): Likewise.
25279 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
25280 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
25281 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
25282
25283 2014-06-20 Roland McGrath <roland@hack.frob.com>
25284
25285 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
25286 (libpthread-routines): Add sysdep.
25287 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
25288 * sysdeps/unix/sysv/linux/sparc/Versions
25289 (libpthread: GLIBC_2.3.3): New version set.
25290 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
25291 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
25292 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
25293 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
25294 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
25295 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
25296 Moved ...
25297 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
25298 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
25299 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
25300 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
25301 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
25302 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
25303 * sysdeps/sparc/nptl/sem_init.c: ... here.
25304 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
25305 * sysdeps/sparc/nptl/sem_post.c: ... here.
25306 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
25307 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
25308 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
25309 * sysdeps/sparc/nptl/sem_wait.c: ... here.
25310 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
25311 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
25312 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
25313 (libpthread-routines): Add cpu_relax.
25314 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
25315 File removed.
25316 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
25317 (librt: GLIBC_2.3.3): New version set.
25318 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
25319 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
25320 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
25321 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
25322 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
25323 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
25324 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
25325 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
25326 Moved ...
25327 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
25328 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
25329 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
25330 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
25331 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
25332 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
25333 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
25334 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
25335 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
25336 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
25337 Moved ...
25338 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
25339 Update #include.
25340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
25341 Moved ...
25342 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
25343 Update #include.
25344 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
25345 Moved ...
25346 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
25347 Update #include.
25348 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
25349 Moved ...
25350 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
25351 Update #include.
25352 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
25353 Moved ...
25354 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
25355 Update #include.
25356 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
25357 Moved ...
25358 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
25359 Update #include.
25360 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
25361 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
25362 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
25363 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
25364 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
25365 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
25366 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
25367 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
25368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
25369 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
25370 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25371 Moved ...
25372 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
25373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
25374 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
25375 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
25376 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
25377
25378 2014-06-20 Joseph Myers <joseph@codesourcery.com>
25379
25380 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
25381 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
25382 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
25383 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
25384 * nscd/nscd.c: Likewise.
25385 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
25386 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
25387 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
25388 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
25389
25390 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
25391 <kernel-features.h>.
25392 (init_mq_netlink): Remove conditional have_sock_cloexec
25393 definitions. Remove code conditional on have_sock_cloexec < 0.
25394 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
25395 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
25396 * sysdeps/unix/sysv/linux/opensock.c: Do not include
25397 <kernel-features.h>.
25398 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
25399 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
25400
25401 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
25402
25403 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25404 Add tests for memset_chk and memset.
25405
25406 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
25407 with AVX2_Usable.
25408
25409 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
25410
25411 [BZ #16046]
25412 * elf/tst-dl-iter-static.c: New file.
25413 * elf/Makefile (tests-static): Add tst-dl-iter-static.
25414
25415 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
25416 error.
25417
25418 2014-06-20 Joseph Myers <joseph@codesourcery.com>
25419
25420 * sysdeps/unix/sysv/linux/kernel-features.h
25421 (__ASSUME_F_GETOWN_EX): Remove macro.
25422 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
25423 <kernel-features.h>.
25424 (miss_F_GETOWN_EX): Remove variable or macro.
25425 (do_fcntl): Do not check miss_F_GETOWN_EX.
25426 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
25427
25428 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
25429 Remove macro.
25430 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
25431 [!__ASSUME_AT_RANDOM]: Remove conditional code.
25432 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
25433
25434 * sysdeps/unix/sysv/linux/kernel-features.h
25435 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
25436 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
25437 [ADJ_OFFSET_SS_READ]: Make code unconditional.
25438 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
25439
25440 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
25441
25442 [BZ #17075]
25443 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
25444 Fix calculation of the symbol's value.
25445 * sysdeps/arm/tst-armtlsdescloc.c: New file.
25446 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
25447 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
25448 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
25449 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
25450 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
25451 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
25452 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
25453 (modules-names): Add `tst-armtlsdescmod',
25454 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
25455 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
25456 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25457 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
25458 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
25459 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25460 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
25461 ($(objpfx)tst-armtlsdescloc): New dependency.
25462 ($(objpfx)tst-armtlsdescextnow): Likewise.
25463 ($(objpfx)tst-armtlsdescextlazy): Likewise.
25464 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
25465 TLS scheme support.
25466 * sysdeps/arm/configure: Regenerate.
25467
25468 2014-06-20 Joseph Myers <joseph@codesourcery.com>
25469
25470 * include/fcntl.h (__atfct_seterrno): Remove prototype.
25471 (__atfct_seterrno_2): Likewise.
25472 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
25473 <kernel-features.h>.
25474 (__ASSUME_ATFCTS): Do not undefine and redefine.
25475 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
25476 (__have_atfcts): Remove conditional definition.
25477 (__fxstatat([__NR_fstatat64]: Make code unconditional.
25478 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
25479 unreachable if [__ASSUME_ATFCTS].
25480 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
25481 not undefine and redefine.
25482 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
25483 <kernel-features.h>.
25484 (faccessat) [__NR_faccessat]: Make code unconditional.
25485 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
25486 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
25487 <kernel-features.h>.
25488 (fchmodat) [__NR_fchmodat]: Make code unconditional.
25489 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25490 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
25491 <kernel-features.h>.
25492 (fchownat) [__NR_fchownat]: Make code unconditional.
25493 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
25494 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
25495 <kernel-features.h>.
25496 (futimesat) [__NR_futimesat]: Make code unconditional.
25497 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
25498 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25499 <kernel-features.h>.
25500 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25501 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25502 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25503 <kernel-features.h>.
25504 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
25505 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25506 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
25507 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25508 <kernel-features.h>.
25509 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
25510 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25511 * sysdeps/unix/sysv/linux/linkat.c: Do not include
25512 <kernel-features.h>.
25513 (linkat) [__NR_linkat]: Make code unconditional.
25514 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25515 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
25516 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
25517 <kernel-features.h>.
25518 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
25519 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25520 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
25521 <kernel-features.h>.
25522 (mkdirat) [__NR_mkdirat]: Make code unconditional.
25523 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
25524 * sysdeps/unix/sysv/linux/openat.c: Do not include
25525 <kernel-features.h>.
25526 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
25527 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
25528 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
25529 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
25530 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
25531 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
25532 <kernel-features.h>.
25533 (readlinkat) [__NR_readlinkat]: Make code unconditional.
25534 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
25535 result of INLINE_SYSCALL directly, not via int variable.
25536 * sysdeps/unix/sysv/linux/renameat.c: Do not include
25537 <kernel-features.h>.
25538 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
25539 (renameat) [__NR_renameat]: Make code unconditional.
25540 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
25541 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
25542 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
25543 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
25544 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
25545 (__ASSUME_ATFCTS): Do not undefine and redefine.
25546 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
25547 <kernel-features.h>.
25548 (symlinkat) [__NR_symlinkat]: Make code unconditional.
25549 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25550 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
25551 <kernel-features.h>.
25552 (unlinkat) [__NR_unlinkat]: Make code unconditional.
25553 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25554 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
25555 (__ASSUME_ATFCTS): Do not undefine and redefine.
25556 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25557 <kernel-features.h>.
25558 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25559 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25560 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25561 <kernel-features.h>.
25562 (__xmknodat) [__NR_mknodat]: Make code unconditional.
25563 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25564
25565 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
25566
25567 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
25568
25569 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
25570
25571 [BZ #17069]
25572 * posix/regcomp.c (parse_reg_exp): Deallocate partially
25573 constructed tree before returning error.
25574 * posix/bug-regexp36.c: Expand test case.
25575
25576 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
25577
25578 [BZ #6803]
25579 * math/libm-test.inc (scalbln_test_date):
25580 Add errno expectations.
25581 * math/w_scalblnf.c: New File.
25582 Add wrapper which checks for setting errno to ERANGE.
25583 Add weak_alias for corresponding scalbln function.
25584 * math/w_scalbln.c: Likewise.
25585 * math/w_scalblnl.c: Likewise.
25586 * math/Makefile (libm-calls): Add w_scalbln.
25587 * sysdeps/ieee754/flt-32/s_scalblnf.c:
25588 Remove weak_alias for corresponding scalbln function.
25589 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25590 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25591 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25592 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25593 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25594 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25595 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
25596 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25597 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
25598 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
25599 Remove long_double_symbol for scalblnl function in libm, libc.
25600 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
25601 Add wrapper which checks for setting errno to ERANGE.
25602 Add long_double_symbol for scalblnl function in libm, libc.
25603 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
25604 Remove long_double_symbol for scalblnl in libm.
25605 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
25606 Add wrapper which checks for setting errno to ERANGE.
25607 Add long_double_symbol for scalblnl function in libm.
25608 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
25609 Do not use wrapper because of own implementation.
25610
25611 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
25612
25613 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
25614 3 bytes for __pad1 for x32.
25615 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
25616
25617 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
25618 H.J. Lu <hongjiu.lu@intel.com>
25619
25620 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
25621 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
25622 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25623 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25624 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25625
25626 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
25627
25628 [BZ #17069]
25629 * posix/regcomp.c (parse_expression): Deallocate partially
25630 constructed tree before returning error.
25631 * posix/Makefile.c (tests): Add bug-regex36.
25632 (generated): Add bug-regex36.mtrace.
25633 (tests-special): Add $(objpfx)bug-regex36-mem.out
25634 (bug-regex36-ENV): New variable.
25635 ($(objpfx)bug-regex36-mem.out): New rule.
25636 * posix/bug-regex36.c: New file.
25637
25638 2014-06-19 Will Newton <will.newton@linaro.org>
25639
25640 * malloc/malloc.c (systrim): If extra is zero then return
25641 early.
25642
25643 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25644
25645 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
25646
25647 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
25648
25649 * sysdeps/aarch64/strchr.S: New file.
25650
25651 2014-06-18 Joseph Myers <joseph@codesourcery.com>
25652
25653 [BZ #17022]
25654 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
25655 from arguments -2 or below.
25656 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
25657 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
25658
25659 2014-06-18 Andreas Schwab <schwab@suse.de>
25660
25661 [BZ #17062]
25662 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
25663 of a bracket expr not to run off the end of the string.
25664 * posix/Makefile (tests): Add tst-fnmatch3.
25665 * posix/tst-fnmatch3.c: New file.
25666
25667 2014-06-18 Joseph Myers <joseph@codesourcery.com>
25668
25669 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
25670 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25671 [$(cross-compiling) = no]: Likewise.
25672 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25673 [$(cross-compiling) = no]: Likewise.
25674
25675 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25676
25677 [BZ #17031]
25678 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
25679 double, adjusted for any remainder from the high double.
25680 * math/libm-test.inc (nearbyint): Add tests.
25681 (rint): Likewise.
25682
25683 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25684
25685 * nptl/sysdeps/powerpc/Makefile: Moved ...
25686 * sysdeps/powerpc/nptl/Makefile: ... here.
25687 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
25688 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
25689 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
25690 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
25691 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
25692 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
25693 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
25694 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
25695 * nptl/sysdeps/powerpc/tls.h: Moved ...
25696 * sysdeps/powerpc/nptl/tls.h: ... here.
25697
25698 2014-06-16 Joseph Myers <joseph@codesourcery.com>
25699
25700 [BZ #16681]
25701 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
25702 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
25703 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
25704 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
25705 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
25706 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
25707 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
25708 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
25709 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
25710
25711 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
25712
25713 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25714
25715 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
25716
25717 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
25718 defined operator.
25719
25720 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
25721 $TIMEOUTFACTOR.
25722
25723 2014-06-16 Florian Weimer <fweimer@redhat.com>
25724
25725 [BZ #17058]
25726 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
25727 non-executed part of the test.
25728
25729 2014-06-16 Andreas Schwab <schwab@suse.de>
25730
25731 * string/bits/string2.h (strdup, strndup): Update feature guard.
25732
25733 2014-06-14 David S. Miller <davem@davemloft.net>
25734
25735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25736
25737 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
25738
25739 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
25740 that was previously under [RESET_PID].
25741 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
25742
25743 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
25744 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
25745 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
25746 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25747 (__libc_vfork): New strong alias.
25748 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
25749
25750 2014-06-14 Andi Kleen <ak@linux.intel.com>
25751
25752 * sysdeps/generic/elide.h: New file.
25753
25754 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25755
25756 * Makefile (installed-headers): Adjust path of pthread.h header.
25757
25758 2014-06-13 Roland McGrath <roland@hack.frob.com>
25759
25760 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
25761 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
25762 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
25763 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
25764
25765 * nptl/sysdeps/s390/Makefile: Moved ...
25766 * sysdeps/s390/nptl/Makefile: ... here.
25767 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
25768 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
25769 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
25770 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
25771 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
25772 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
25773 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
25774 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
25775 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
25776 * sysdeps/s390/nptl/pthreaddef.h: ... here.
25777 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
25778 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
25779 * nptl/sysdeps/s390/tls.h: Moved ...
25780 * sysdeps/s390/nptl/tls.h: ... here.
25781
25782 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
25783 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
25784
25785 2014-06-13 David S. Miller <davem@davemloft.net>
25786
25787 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
25788 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
25789 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
25790 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
25791 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
25792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
25793 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
25794 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
25795 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
25796 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
25797 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
25798 Remove RESET_PID cpp guards.
25799 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
25800 Remove RESET_PID cpp guards.
25801 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
25802
25803 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
25804
25805 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
25806 __sp to uintptr_t.
25807
25808 2014-06-13 Andi Kleen <ak@linux.intel.com>
25809
25810 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
25811 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
25812 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
25813 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
25814 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
25815 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
25816 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
25817 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
25818 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
25819 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
25820 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
25821 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
25822 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
25823 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
25824 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
25825 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
25826 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
25827 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
25828 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
25829 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
25830
25831 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
25832 (pthread_rwlock_rdlock): Add elision.
25833 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
25834 (pthread_rwlock_wrlock): Add elision.
25835 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
25836 (pthread_rwlock_trywrlock): Add elision.
25837 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
25838 (pthread_rwlock_tryrdlock): Add elision.
25839 * nptl/pthread_rwlock_unlock.c: Include elide.h.
25840 (pthread_rwlock_tryrdlock): Add elision unlock.
25841 * nptl/sysdeps/pthread/pthread.h:
25842 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
25843 (PTHREAD_RWLOCK_INITIALIZER,
25844 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
25845 Handle new elision field.
25846 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
25847 * sysdeps/arm/nptl/bits/pthreadtypes.h
25848 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25849 * sysdeps/sh/nptl/bits/pthreadtypes.h
25850 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25851 * sysdeps/tile/nptl/bits/pthreadtypes.h
25852 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25853 * sysdeps/a/nptl/bits/pthreadtypes.h
25854 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25855 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25856 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25857 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25858 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25859 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
25860 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25861 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25862 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25863 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25864 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25865 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25866 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25867 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25868 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25869 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
25870 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25871 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
25872 (elision_init): Set try_xbegin to zero when no RTM.
25873 * sysdeps/x86/nptl/bits/pthreadtypes.h
25874 (pthread_rwlock_t): Change __pad1 to __rwelision.
25875 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25876
25877 2014-06-13 Andi Kleen <ak@linux.intel.com>
25878
25879 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
25880 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
25881 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
25882 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
25883
25884 2014-06-13 Meador Inge <meadori@codesourcery.com>
25885
25886 [BZ #16996]
25887 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
25888 that the cached result has been set before returning it.
25889
25890 2014-06-12 Roland McGrath <roland@hack.frob.com>
25891
25892 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
25893 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
25894 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
25895 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
25896 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
25897 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
25898
25899 * nptl/sysdeps/sparc/Makefile: Moved ...
25900 * sysdeps/sparc/nptl/Makefile: ... here.
25901 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
25902 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
25903 * nptl/sysdeps/sparc/tls.h: Moved ...
25904 * sysdeps/sparc/nptl/tls.h: ... here.
25905 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
25906 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
25907 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
25908 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
25909 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
25910 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
25911 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
25912 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
25913 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
25914 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
25915 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
25916 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
25917 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
25918 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
25919 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
25920 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
25921 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
25922 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
25923 Update #include.
25924 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
25925 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
25926 Update #include.
25927 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
25928 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
25929 Update #include.
25930 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
25931 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
25932 Update #include.
25933
25934 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25935
25936 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
25937 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
25938
25939 * sysdeps/pthread/posix-timer.h: Include <list.h>.
25940 (struct list_links): Type removed.
25941 (struct thread_node, struct timer_node): Replace struct list_links
25942 with struct list_head.
25943 (list_unlink_ip): Likewise.
25944 * sysdeps/pthread/timer_routines.c
25945 (timer_free_list, thread_free_list, thread_active_list): Likewise.
25946 (list_append, list_insbefore): Likewise.
25947 (list_init): Function removed.
25948 (thread_init, init_module): Use INIT_LIST_HEAD instead.
25949 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
25950 * sysdeps/pthread/Makefile: ... here, new file.
25951
25952 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
25953 * sysdeps/nptl/Implies: ... here.
25954 * sysdeps/unix/sysv/linux/Implies: Add nptl.
25955 * nptl/sysdeps/pthread/list.h: Moved ...
25956 * include/list.h: ... here.
25957 * nptl/sysdeps/pthread/createthread.c: Moved ...
25958 * nptl/createthread.c: ... here.
25959 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
25960 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
25961 * nptl/pt-longjmp.c: ... here.
25962 * nptl/sysdeps/pthread/Makefile: Moved ...
25963 * sysdeps/nptl/Makefile: ... here.
25964 * nptl/sysdeps/pthread/Subdirs: Moved ...
25965 * sysdeps/nptl/Subdirs: ... here.
25966 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
25967 * sysdeps/nptl/aio_misc.h: ... here.
25968 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
25969 * sysdeps/nptl/bits/libc-lock.h: ... here.
25970 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
25971 * sysdeps/nptl/bits/libc-lockP.h: ... here.
25972 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
25973 * sysdeps/nptl/bits/stdio-lock.h: ... here.
25974 * nptl/sysdeps/pthread/configure: Moved ...
25975 * sysdeps/nptl/configure: ... here.
25976 * nptl/sysdeps/pthread/configure.ac: Moved ...
25977 * sysdeps/nptl/configure.ac: ... here.
25978 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
25979 * sysdeps/nptl/gai_misc.h: ... here.
25980 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
25981 * sysdeps/nptl/librt-cancellation.c: ... here.
25982 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
25983 * sysdeps/nptl/malloc-machine.h: ... here.
25984 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
25985 * sysdeps/nptl/pthread-functions.h: ... here.
25986 * nptl/sysdeps/pthread/pthread.h: Moved ...
25987 * sysdeps/nptl/pthread.h: ... here.
25988 * nptl/sysdeps/pthread/setxid.h: Moved ...
25989 * sysdeps/nptl/setxid.h: ... here.
25990 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
25991 * sysdeps/nptl/sigfillset.c: ... here.
25992 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
25993 * sysdeps/nptl/tcb-offsets.h: ... here.
25994 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
25995 * sysdeps/nptl/tst-mqueue8x.c: ... here.
25996 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
25997 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
25998 * nptl/sysdeps/pthread/allocalim.h: Moved ...
25999 * sysdeps/pthread/allocalim.h: ... here.
26000 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
26001 * sysdeps/pthread/bits/sigthread.h: ... here.
26002 * nptl/sysdeps/pthread/flockfile.c: Moved ...
26003 * sysdeps/pthread/flockfile.c: ... here.
26004 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
26005 * sysdeps/pthread/ftrylockfile.c: ... here.
26006 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
26007 * sysdeps/pthread/funlockfile.c: ... here.
26008 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
26009 * sysdeps/pthread/posix-timer.h: ... here.
26010 * nptl/sysdeps/pthread/timer_create.c: Moved ...
26011 * sysdeps/pthread/timer_create.c: ... here.
26012 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
26013 * sysdeps/pthread/timer_delete.c: ... here.
26014 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
26015 * sysdeps/pthread/timer_getoverr.c: ... here.
26016 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
26017 * sysdeps/pthread/timer_gettime.c: ... here.
26018 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
26019 * sysdeps/pthread/timer_routines.c: ... here.
26020 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
26021 * sysdeps/pthread/timer_settime.c: ... here.
26022 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
26023 * sysdeps/pthread/tst-timer.c: ... here.
26024 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
26025 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
26026
26027 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
26028 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
26029
26030 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
26031 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
26032 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
26033 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
26034 Update #include target.
26035 * nptl/sysdeps/i386/i686/Makefile: Moved ...
26036 * sysdeps/i386/i686/nptl/Makefile: ... here.
26037 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
26038 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
26039 Update #include target.
26040 * nptl/sysdeps/i386/i686/tls.h: Moved ...
26041 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
26042 * nptl/sysdeps/i386/Makefile: Moved ...
26043 * sysdeps/i386/nptl/Makefile: ... here.
26044 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
26045 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
26046 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
26047 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
26048 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
26049 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
26050 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
26051 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
26052 * sysdeps/i386/nptl/pthreaddef.h: ... here.
26053 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
26054 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
26055 * nptl/sysdeps/i386/tls.h: Moved ...
26056 * sysdeps/i386/nptl/tls.h: ... here.
26057
26058 * sysdeps/sh/Makefile [$(subdir) = csu]
26059 (gen-as-const-headers): Add tcb-offsets.sym.
26060 * nptl/sysdeps/sh/Makefile: File removed.
26061 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
26062 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
26063 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
26064 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
26065 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
26066 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
26067 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
26068 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
26069 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
26070 * sysdeps/sh/nptl/pthreaddef.h: ... here.
26071 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
26072 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
26073 * nptl/sysdeps/sh/tls.h: Moved ...
26074 * sysdeps/sh/nptl/tls.h: ... here.
26075 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
26076 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
26077 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
26078 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
26079 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
26080 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
26081 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
26082 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
26083 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
26084 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
26085 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
26086 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
26087 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
26088 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
26089 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
26090 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
26091 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
26092 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
26093 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
26094 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
26095 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
26096 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
26097 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
26098 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
26099 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
26100 Moved ...
26101 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
26102 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
26103 Moved ...
26104 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
26105 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
26106 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
26107 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
26108 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
26109 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
26110 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
26111 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
26112 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
26113 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
26114 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
26115 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
26116 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
26117 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
26118 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
26119 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
26120 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
26121 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
26122 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
26123
26124 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
26125
26126 * posix/spawn_faction_addopen.c: Include string.h.
26127
26128 2014-06-11 Roland McGrath <roland@hack.frob.com>
26129
26130 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
26131 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
26132 * nptl/sysdeps/x86_64/Makefile: Moved ...
26133 * sysdeps/x86_64/nptl/Makefile: ... here.
26134 * nptl/sysdeps/x86_64/configure: Moved ...
26135 * sysdeps/x86_64/nptl/configure: ... here.
26136 * nptl/sysdeps/x86_64/configure.ac: Moved ...
26137 * sysdeps/x86_64/nptl/configure.ac: ... here.
26138 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
26139 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
26140 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
26141 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
26142 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
26143 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
26144 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
26145 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
26146 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
26147 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
26148 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
26149 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
26150 * nptl/sysdeps/x86_64/tls.h: Moved ...
26151 * sysdeps/x86_64/nptl/tls.h: ... here.
26152 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
26153 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
26154 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
26155 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
26156
26157 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
26158
26159 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26160
26161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26162
26163 2014-06-11 Joseph Myers <joseph@codesourcery.com>
26164
26165 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
26166 type.
26167 [POSIX] (off_t): Likewise.
26168 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
26169 [POSIX] (S_ISBLK): Require macro.
26170 [POSIX] (S_ISCHR): Likewise.
26171 [POSIX] (S_ISDIR): Likewise.
26172 [POSIX] (S_ISFIFO): Likewise.
26173 [POSIX] (S_ISREG): Likewise.
26174 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
26175 optional-macro.
26176 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
26177 type.
26178 [POSIX] (time_t): Likewise.
26179 [POSIX] (timer_t): Likewise.
26180
26181 2014-06-11 Florian Weimer <fweimer@redhat.com>
26182
26183 [BZ #17048]
26184 * posix/spawn_int.h (struct __spawn_action): Make the path string
26185 non-const to support deallocation.
26186 * posix/spawn_faction_addopen.c
26187 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
26188 * posix/spawn_faction_destroy.c
26189 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
26190 path in all spawn_do_open actions.
26191 * posix/tst-spawn.c (do_test): Exercise the copy operation in
26192 posix_spawn_file_actions_addopen.
26193
26194 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
26195
26196 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
26197 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
26198 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
26199 conditional code always true.
26200 (__libc_vfork): New alias.
26201
26202 2014-06-11 Roland McGrath <roland@hack.frob.com>
26203
26204 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26205 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
26206
26207 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
26208
26209 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26210 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
26211
26212 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
26213 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
26214
26215 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26216 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
26217
26218 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
26219
26220 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
26221 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
26222 multiarch strcmp for PPC64.
26223 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
26224 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
26225 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
26226 multiarch optimizations.
26227 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26228 (__libc_ifunc_impl_list): Likewise.
26229
26230 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26231
26232 * benchtests/scripts/validate_benchout.py: New script.
26233 * benchtests/Makefile (bench-func): Call it.
26234 * benchtests/scripts/benchout.schema.json: New file.
26235
26236 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
26237
26238 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
26239 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
26240 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
26241 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
26242 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
26243 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
26244 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
26245 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
26246 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
26247 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
26248 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
26249 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
26250 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
26251 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
26252 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
26253 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
26254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
26255 Moved ...
26256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
26257 ... here.
26258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
26259 Moved ...
26260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
26261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
26262 Moved ...
26263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
26264 ... here.
26265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
26266 Moved ...
26267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
26268 ... here.
26269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
26270 Moved ...
26271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
26272 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
26273 Moved ...
26274 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
26275 ... here.
26276 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
26277 Moved ...
26278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
26279 ... here.
26280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
26281 Moved ...
26282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
26283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
26284 Moved ...
26285 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
26286 ... here.
26287 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
26288 Moved ...
26289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
26290 ... here.
26291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
26292 Moved ...
26293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
26294 ... here.
26295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
26296 Moved ...
26297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
26298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
26299 Moved ...
26300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
26301 ... here.
26302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
26303 Moved ...
26304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
26305 ... here.
26306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
26307 Moved ...
26308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
26309 ... here.
26310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
26311 Moved ...
26312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
26313 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
26314 Moved ...
26315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
26316 ... here.
26317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
26318 Moved ...
26319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
26320 ... here.
26321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
26322 Moved ...
26323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
26324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
26325 Moved ...
26326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
26327 ... here.
26328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
26329 Moved ...
26330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
26331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
26332 Moved ...
26333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
26334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
26335 Moved ...
26336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
26337 ... here.
26338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
26339 Moved ...
26340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
26341 ... here.
26342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
26343 Moved ...
26344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
26345 ... here.
26346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
26347 Moved ...
26348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
26349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
26350 Moved ...
26351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
26352 ... here.
26353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
26354 Moved ...
26355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
26356 ... here.
26357 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
26358 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
26359 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
26360 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
26361 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
26362 Moved ...
26363 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
26364 ... here.
26365 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
26366 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
26367 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
26368 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
26369 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
26370 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
26371 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
26372 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
26373 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
26374 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
26375 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
26376 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
26377 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
26378 Moved ...
26379 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
26380 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
26381 Moved ...
26382 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
26383 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
26384 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
26385 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
26386 Moved ...
26387 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
26388 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
26389 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
26390 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
26391 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
26392 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
26393 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
26394
26395 2014-06-10 Wilco <wdijkstr@arm.com>
26396
26397 * math/test-fenv-return.c: New file.
26398 * math/Makefile: Add new test test-fenv-return.
26399
26400 2014-06-10 Joseph Myers <joseph@codesourcery.com>
26401
26402 [BZ #17042]
26403 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
26404 when x - 1 is zero.
26405 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
26406 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
26407 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
26408 0.0L for an argument of 1.0L.
26409 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26410 Likewise.
26411 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
26412 value when x - 1 is zero.
26413 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
26414 * sysdeps/i386/fpu/libm-test-ulps: Update.
26415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26416
26417 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
26418
26419 [BZ #15119]
26420 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
26421
26422 2014-06-09 Roland McGrath <roland@hack.frob.com>
26423
26424 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
26425 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
26426
26427 2014-06-09 Roland McGrath <roland@hack.frob.com>
26428
26429 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26430 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
26431
26432 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26433 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
26434
26435 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26436 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
26437
26438 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26439 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
26440
26441 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
26442 if not already defined.
26443 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
26444 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
26445 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
26446 (TLS_INIT_TP): Use it.
26447 (TLS_DEFINE_INIT_TP): New macro.
26448 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
26449
26450 2014-06-09 Joseph Myers <joseph@codesourcery.com>
26451
26452 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
26453 constant.
26454 [POSIX] (IXANY): Likewise.
26455 [POSIX] (OLCUC): Likewise.
26456 [POSIX || POSIX2008] (CBAUD): Do not allow.
26457 [POSIX || POSIX2008] (DEFECHO): Likewise.
26458 [POSIX || POSIX2008] (ECHOCTL): Likewise.
26459 [POSIX || POSIX2008] (ECHOKE): Likewise.
26460 [POSIX || POSIX2008] (ECHOPRT): Likewise.
26461 [POSIX || POSIX2008] (EXTA): Likewise.
26462 [POSIX || POSIX2008] (EXTB): Likewise.
26463 [POSIX || POSIX2008] (FLUSHO): Likewise.
26464 [POSIX || POSIX2008] (LOBLK): Likewise.
26465 [POSIX || POSIX2008] (PENDIN): Likewise.
26466 [POSIX || POSIX2008] (SWTCH): Likewise.
26467 [POSIX || POSIX2008] (VDISCARD): Likewise.
26468 [POSIX || POSIX2008] (VDSUSP): Likewise.
26469 [POSIX || POSIX2008] (VLNEXT): Likewise.
26470 [POSIX || POSIX2008] (VREPRINT): Likewise.
26471 [POSIX || POSIX2008] (VSTATUS): Likewise.
26472 [POSIX || POSIX2008] (VWERASE): Likewise.
26473 (B*): Change to B[0123456789]*.
26474 * conform/data/time.h-data [POSIX || UNIX98]
26475 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
26476 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26477 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
26478 [POSIX] (tm_*): Do not allow.
26479
26480 2014-06-07 Joseph Myers <joseph@codesourcery.com>
26481
26482 * Makefile (install): Don't set LANGUAGE.
26483 * Makefile.in (install): Likewise.
26484 * assert/Makefile (test-assert-ENV): Remove variable.
26485 (test-assert-perr-ENV): Likewise.
26486 * elf/Makefile (neededtest4-ENV): Likewise.
26487 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26488 [$(cross-compiling) = no]: Don't set LANGUAGE.
26489 * io/ftwtest-sh (LANG): Remove variable.
26490 * libio/Makefile (tst-widetext-ENV): Likewise.
26491 * manual/install.texi (Running make install): Don't refer to
26492 environment settings for make install.
26493 * INSTALL: Regenerated.
26494 * nptl/tst-tls6.sh: Don't set LANG.
26495 * posix/globtest.sh (LANG): Remove variable.
26496 * string/Makefile (tester-ENV): Likewise.
26497 (inl-tester-ENV): Likewise.
26498 (noinl-tester-ENV): Likewise.
26499 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26500 [$(cross-compiling) = no]: Don't set LANGUAGE.
26501 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
26502 without explicit environment settings.
26503
26504 2014-06-06 Roland McGrath <roland@hack.frob.com>
26505
26506 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
26507 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
26508 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
26509 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
26510
26511 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
26512
26513 * crypt/crypt-private.h [DOS]: Add some includes taken from the
26514 other files in the crypt directory.
26515 * crypt/crypt.c: Remove duplicate includes.
26516 * crypt/crypt-entry.c: Likewise.
26517 * crypt/crypt_util.c: Likewise.
26518
26519 2014-06-06 Joseph Myers <joseph@codesourcery.com>
26520
26521 * Makeconfig (run-program-env): New variable.
26522 (run-program-prefix-before-env): Likewise.
26523 (run-program-prefix-after-env): Likewise.
26524 (run-program-prefix): Define in terms of new variables.
26525 (built-program-cmd-before-env): New variable.
26526 (built-program-cmd-after-env): Likewise.
26527 (built-program-cmd): Define in terms of new variables.
26528 (test-program-prefix-before-env): New variable.
26529 (test-program-prefix-after-env): Likewise.
26530 (test-program-prefix): Define in terms of new variables.
26531 (test-program-cmd-before-env): New variable.
26532 (test-program-cmd-after-env): Likewise.
26533 (test-program-cmd): Define in terms of new variables.
26534 * Rules (make-test-out): Use $(run-program-env).
26535 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
26536 (help): Do not mention environment variables. Mention
26537 --timeoutfactor option.
26538 (timeoutfactor): New variable.
26539 (blacklist_exports): Remove function.
26540 (exports): Remove variable.
26541 (command): Do not include ${exports}.
26542 * manual/install.texi (Configuring and compiling): Do not mention
26543 test wrappers preserving environment variables. Mention that last
26544 assignment to a variable must take precedence.
26545 * INSTALL: Regenerated.
26546 * benchtests/Makefile (run-bench): Use $(run-program-env).
26547 * catgets/Makefile ($(objpfx)test1.cat): Use
26548 $(built-program-cmd-before-env), $(run-program-env) and
26549 $(built-program-cmd-after-env).
26550 ($(objpfx)test2.cat): Do not specify environment variables
26551 explicitly.
26552 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
26553 $(run-program-env) and $(built-program-cmd-after-env).
26554 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
26555 $(run-program-env) and $(test-program-cmd-after-env).
26556 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
26557 explicitly.
26558 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
26559 run_program_env and test_program_cmd_after_env arguments.
26560 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
26561 * elf/tst-pathopt.sh: Use run_program_env argument.
26562 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
26563 $(test-wrapper-env) and $(run-program-env).
26564 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
26565 run_program_env arguments.
26566 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
26567 * intl/Makefile ($(objpfx)tst-gettext.out): Use
26568 $(test-program-prefix-before-env), $(run-program-env) and
26569 $(test-program-prefix-after-env).
26570 ($(objpfx)tst-gettext2.out): Likewise.
26571 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
26572 run_program_env and test_program_prefix_after_env arguments.
26573 * intl/tst-gettext2.sh: Likewise.
26574 * intl/tst-gettext4.sh: Do not set environment variables
26575 explicitly.
26576 * intl/tst-gettext6.sh: Likewise.
26577 * intl/tst-translit.sh: Likewise.
26578 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
26579 $(test-program-prefix-before-env), $(run-program-env) and
26580 $(test-program-prefix-after-env).
26581 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
26582 run_program_env and test_program_prefix_after_env arguments.
26583 * math/Makefile (run-regen-ulps): Use $(run-program-env).
26584 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
26585 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
26586 explicitly with each use of ${test_wrapper_env}.
26587 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
26588 $(test-program-prefix-before-env), $(run-program-env) and
26589 $(test-program-prefix-after-env).
26590 * posix/tst-getconf.sh: Do not set environment variables
26591 explicitly.
26592 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
26593 run_program_env and test_program_prefix_after_env arguments.
26594 * stdio-common/tst-printf.sh: Do not set environment variables
26595 explicitly.
26596 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
26597 $(test-program-prefix-before-env), $(run-program-env) and
26598 $(test-program-prefix-after-env).
26599 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
26600 run_program_env and test_program_prefix_after_env arguments.
26601 Split $test calls into $test_pre and $test.
26602 * timezone/Makefile (build-testdata): Use
26603 $(built-program-cmd-before-env), $(run-program-env) and
26604 $(built-program-cmd-after-env).
26605
26606 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26607
26608 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
26609 strlen for non SHARED builds.
26610
26611 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26612
26613 * nptl/allocatestack.c (check_list): Inlined function...
26614 (__reclaim_stacks): ... here.
26615
26616 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
26617
26618 [BZ #15698]
26619 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26620 memory overrun.
26621
26622 2014-06-05 Joseph Myers <joseph@codesourcery.com>
26623
26624 * Rules (make-test-out): Include
26625 LOCPATH=$(common-objpfx)localedata in default environment.
26626 * debug/Makefile (tst-chk1-ENV): Remove variable.
26627 (tst-chk2-ENV): Likewise.
26628 (tst-chk3-ENV): Likewise.
26629 (tst-chk4-ENV): Likewise.
26630 (tst-chk5-ENV): Likewise.
26631 (tst-chk6-ENV): Likewise.
26632 (tst-lfschk1-ENV): Likewise.
26633 (tst-lfschk2-ENV): Likewise.
26634 (tst-lfschk3-ENV): Likewise.
26635 (tst-lfschk4-ENV): Likewise.
26636 (tst-lfschk5-ENV): Likewise.
26637 (tst-lfschk6-ENV): Likewise.
26638 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
26639 (tst-iconv7-ENV): Likewise.
26640 * intl/Makefile (LOCPATH-ENV): Likewise.
26641 (tst-codeset-ENV): Likewise.
26642 (tst-gettext3-ENV): Likewise.
26643 (tst-gettext5-ENV): Likewise.
26644 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
26645 (tst-fopenloc-ENV): Likewise.
26646 (tst-fgetws-ENV): Remove variable.
26647 (tst-ungetwc1-ENV): Likewise.
26648 (tst-ungetwc2-ENV): Likewise.
26649 (bug-ungetwc2-ENV): Likewise.
26650 (tst-swscanf-ENV): Likewise.
26651 (bug-ftell-ENV): Likewise.
26652 (tst-fgetwc-ENV): Likewise.
26653 (tst-fseek-ENV): Likewise.
26654 (tst-ftell-partial-wide-ENV): Likewise.
26655 (tst-ftell-active-handler-ENV): Likewise.
26656 (tst-ftell-append-ENV): Likewise.
26657 * posix/Makefile (tst-fnmatch-ENV): Likewise.
26658 (tst-regexloc-ENV): Likewise.
26659 (bug-regex1-ENV): Likewise.
26660 (tst-regex-ENV): Likewise.
26661 (tst-regex2-ENV): Likewise.
26662 (bug-regex5-ENV): Likewise.
26663 (bug-regex6-ENV): Likewise.
26664 (bug-regex17-ENV): Likewise.
26665 (bug-regex18-ENV): Likewise.
26666 (bug-regex19-ENV): Likewise.
26667 (bug-regex20-ENV): Likewise.
26668 (bug-regex22-ENV): Likewise.
26669 (bug-regex23-ENV): Likewise.
26670 (bug-regex25-ENV): Likewise.
26671 (bug-regex26-ENV): Likewise.
26672 (bug-regex30-ENV): Likewise.
26673 (bug-regex32-ENV): Likewise.
26674 (bug-regex33-ENV): Likewise.
26675 (bug-regex34-ENV): Likewise.
26676 (bug-regex35-ENV): Likewise.
26677 (tst-rxspencer-ENV): Likewise.
26678 (tst-rxspencer-no-utf8-ENV): Likewise.
26679 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
26680 (tst-sscanf-ENV): Likewise.
26681 (tst-swprintf-ENV): Likewise.
26682 (tst-swscanf-ENV): Likewise.
26683 (test-vfprintf-ENV): Likewise.
26684 (scanf13-ENV): Likewise.
26685 (bug14-ENV): Likewise.
26686 (tst-grouping-ENV): Likewise.
26687 * stdlib/Makefile (tst-strtod-ENV): Likewise.
26688 (tst-strtod3-ENV): Likewise.
26689 (tst-strtod4-ENV): Likewise.
26690 (tst-strtod5-ENV): Likewise.
26691 (testmb2-ENV): Likewise./
26692 * string/Makefile (tst-strxfrm-ENV): Likewise.
26693 (tst-strxfrm2-ENV): Likewise.
26694 (bug-strcoll1-ENV): Likewise.
26695 (test-strcasecmp-ENV): Likewise.
26696 (test-strncasecmp-ENV): Likewise.
26697 * time/Makefile (tst-strptime-ENV): Likewise.
26698 (tst-ftime_l-ENV): Likewise.
26699 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
26700 (tst-mbrtowc-ENV): Likewise.
26701 (tst-wcrtomb-ENV): Likewise.
26702 (tst-mbrtowc2-ENV): Likewise.
26703 (tst-c16c32-1-ENV): Likewise.
26704 (tst-mbsnrtowcs-ENV): Likewise.
26705
26706 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
26707
26708 * manual/resource.texi (How to get information about the memory
26709 subsystem?): Fix typo.
26710 Reported by Peon de la Parra Ivan <peon@keba.com>
26711
26712 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
26713
26714 [BZ #16882]
26715 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
26716 (pthread_spin_lock): Branch out of spin loop to proper location.
26717 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
26718 (pthread_spin_lock): Likewise.
26719
26720 * nptl/tst-spin4.c: New test.
26721 * nptl/Makefile (tests): Add tst-spin4.
26722
26723 2014-06-03 Andreas Schwab <schwab@suse.de>
26724
26725 [BZ #15946]
26726 * resolv/res_send.c (send_dg): Reload file descriptor after
26727 calling reopen.
26728
26729 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
26730
26731 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26732
26733 2014-06-03 Richard Henderson <rth@redhat.com>
26734
26735 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
26736 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
26737 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
26738 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
26739 in the SAVE_PID block.
26740 (__libc_vfork): New alias.
26741 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
26742
26743 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
26744 child in registers, not on the stack. Remove RESET_PID conditionals.
26745 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
26746
26747 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
26748
26749 * sysdeps/aarch64/libm-test-ulps: Regenerate.
26750
26751 2014-06-03 Wilco <wdijkstr@arm.com>
26752
26753 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
26754 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
26755 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26756 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
26757 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
26758 Likewise.
26759
26760 2014-06-03 Wilco <wdijkstr@arm.com>
26761
26762 * sysdeps/aarch64/fpu/math_private.h
26763 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
26764 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
26765 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
26766 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26767 Fix declarations.
26768
26769 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
26770
26771 * crypt/crypt-private.h: Include ufc-crypt.h.
26772 (__b64_from_24bit): Declare extern.
26773 * crypt/crypt_util.c(__b64_from_24bit): New function.
26774 (b64t): New static const variable.
26775 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
26776 (b64t): Remove variable.
26777 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
26778 * crypt/sha256-crypt.c: Include crypt-private.h.
26779 (b64t): Remove variable.
26780 (__sha256_crypt_r): Remove b64_from_24bit and replace
26781 with __b64_from_24bit.
26782 * crypt/sha512-crypt.c: Likewise.
26783
26784 2014-06-02 Roland McGrath <roland@hack.frob.com>
26785
26786 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
26787 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
26788 Label the code __libc_vfork rather than __vfork.
26789 [!NOT_IN_libc] (vfork): Define as weak alias.
26790 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
26791 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
26792 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
26793
26794 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26795
26796 * malloc/malloc.c (malloc_info): Fix format specifier for
26797 n_mmaps.
26798
26799 2014-06-02 Wilco <wdijkstr@arm.com>
26800
26801 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
26802 FPCR write.
26803
26804 2014-06-02 Wilco <wdijkstr@arm.com>
26805
26806 [BZ #17009]
26807 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
26808 Rewrite to reduce FPCR/FPSR accesses.
26809
26810 2014-06-01 David S. Miller <davem@davemloft.net>
26811
26812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26813
26814 2014-05-31 David S. Miller <davem@davemloft.net>
26815
26816 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
26817 to occur in round to nearest mode when |x| >= 2.0
26818
26819 2014-05-30 Richard Henderson <rth@twiddle.net>
26820
26821 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
26822 (PSEUDO_RET_NOERRNO): Remove.
26823 (ret): Don't redefine.
26824 (ret_NOERRNO): Define in terms of ret.
26825 (ret_ERRVAL): Likewise.
26826
26827 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
26828 use of PSEUDO_RET; perform the error check directly.
26829
26830 2014-05-30 Marko Myllynen <myllynen@redhat.com>
26831
26832 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
26833 with __int128_t.
26834
26835 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26836
26837 * malloc/malloc (malloc_info): Fix formatting.
26838
26839 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26840 Roland McGrath <roland@hack.frob.com>
26841
26842 * malloc/malloc (malloc_info): Also print mmapped statistics.
26843
26844 2014-05-30 Roland McGrath <roland@hack.frob.com>
26845
26846 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
26847 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
26848
26849 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
26850
26851 * malloc/malloc.c (malloc_info): Inline mi_arena.
26852
26853 2014-05-29 Richard Henderson <rth@twiddle.net>
26854
26855 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
26856 Remove comma before expanding ASM_ARGS_##nr.
26857 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
26858 Make _x0 a strict output; make _x8 a strict input; adjust expansion
26859 of ASM_ARGS_##nr.
26860 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
26861 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
26862 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
26863 (ASM_ARGS_1): Add leading comma.
26864
26865 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
26866 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
26867 to __errno_location.
26868 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
26869 Remove the expected plt for __errno_location.
26870
26871 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26872 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
26873 call to __read_tp.
26874
26875 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26876 Always allocate 64 bytes of stack frame. Use ldp/stp to create
26877 it and break it down.
26878 (DOCARGS_0, DOCARGS_1): Do nothing.
26879 (DOCARGS_2): Update to store into the new stack frame.
26880 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
26881 (UNDOCARGS_1): Update to restore from the new stack frame.
26882 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
26883 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
26884
26885 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26886 (SINGLE_THREAD_P): New parameter for result regno.
26887 (PSEUDO): Update to match; use cbz instead of beq.
26888
26889 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26890 Use ENTRY to define the _nocancel entry point. Share the syscall
26891 and syscall error check paths with the cancel path.
26892 (PSEUDO_END): New.
26893
26894 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
26895 whitespace; tabs before and after asm mnemonics.
26896
26897 2014-05-29 Eric Wong <normalperson@yhbt.net>
26898
26899 [BZ #15132]
26900 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26901 Call fstat64 or stat64 internally, depending on arguments passed.
26902 Replace stat buffer argument with file descriptor argument.
26903 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
26904 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26905 Pass fd to __internal_statvfs instead of calling fstat64.
26906 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
26907 Pass fd to __internal_statvfs64 instead of calling fstat64.
26908 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
26909 Pass -1 to __internal_statvfs instead of calling stat64.
26910 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
26911 Pass -1 to __internal_statvfs64 instead of calling stat64.
26912
26913 2014-05-28 Roland McGrath <roland@hack.frob.com>
26914
26915 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
26916 that was previously under [RESET_PID].
26917 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
26918
26919 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
26920 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
26921
26922 2014-05-27 Roland McGrath <roland@hack.frob.com>
26923
26924 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
26925
26926 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
26927 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
26928
26929 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
26930
26931 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
26932
26933 2014-05-27 Andreas Schwab <schwab@suse.de>
26934
26935 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
26936 TLS_INIT_TP macro.
26937 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
26938 * elf/rtld.c (init_tls, dl_main): Likewise.
26939 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
26940 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
26941 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
26942 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
26943 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
26944 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
26945 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
26946 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
26947 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
26948 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
26949 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
26950 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
26951 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
26952 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
26953 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
26954 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
26955 * sysdeps/generic/tls.h: Update description.
26956
26957 2014-05-27 Will Newton <will.newton@linaro.org>
26958
26959 [BZ #16990]
26960 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
26961 and restore r2 rather than just restoring.
26962
26963 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26964
26965 [BZ #16724]
26966 * libio/tst-ftell-append.c: New test case.
26967 * libio/Makefile (tests): Add test case.
26968 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
26969 append mode.
26970 * libio/wfileops.c (do_ftell_wide): Likewise.
26971
26972 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26973
26974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26975
26976 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
26977 ...
26978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
26979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26980 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
26981 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
26982 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
26983 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
26984 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
26985 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
26986 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26987 Moved ...
26988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
26989 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26990 Moved ...
26991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
26992 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
26993 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
26994 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
26995 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
26996 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
26997 ...
26998 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
26999 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
27000 Moved ...
27001 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
27002 here.
27003 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
27004 ...
27005 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
27006 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
27007 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
27008
27009 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
27010 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
27011 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
27012 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
27013
27014 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
27015 merge into ...
27016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
27017 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
27018 ...
27019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
27020 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
27021 ...
27022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
27023 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27024 Moved ...
27025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
27026 here.
27027 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27028 Moved ...
27029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
27030 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27031 Moved ...
27032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
27033
27034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
27035 conditional [RESET_PID].
27036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
27037 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
27038 removed.
27039 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
27040 removed.
27041
27042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
27043 <tcb-offsets.h>.
27044 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27045 (__libc_vfork): New strong alias.
27046 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
27047 removed.
27048 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
27049 Removed.
27050
27051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
27052 <tcb-offsets.h>.
27053 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
27054 (__libc_vfork): New strong alias.
27055 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
27056 removed.
27057 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
27058 removed.
27059
27060 2014-05-26 Carlos O'Donell <carlos@redhat.com>
27061
27062 * malloc/malloc.c (mi_arena): New function.
27063 (malloc_info): Remove nested function mi_arena. Call non-nosted
27064 function mi_arena.
27065
27066 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27067
27068 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
27069 by insrwi.
27070 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
27071 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
27072 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
27073 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
27074 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
27075 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
27076 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
27077
27078 2014-05-26 Andreas Schwab <schwab@suse.de>
27079
27080 [BZ #16984]
27081 * locale/programs/repertoire.c (repertoire_read): Add slash
27082 between I18NPATH element and file name.
27083 * locale/programs/locfile.c (locfile_read): Likewise.
27084
27085 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
27086
27087 * nptl/pthread_mutexattr_settype.c
27088 (__pthread_mutexattr_settype):
27089 Disable lock elision for PTHREAD_MUTEX_NORMAL.
27090
27091 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
27092
27093 * nptl/tst-mutex5 (do_test):
27094 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
27095
27096 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27097
27098 * benchtests/README: Document 'init' directive.
27099 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
27100 BENCH_INIT.
27101 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
27102 (parse_file): Recognize 'init' directive.
27103
27104 2014-05-26 Kyle McMartin <kyle@redhat.com>
27105
27106 [BZ #16796]
27107 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
27108 alignment of struct pthread.
27109
27110 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27111
27112 [BZ #16878]
27113 * nscd/netgroupcache.c (addgetnetgrentX): Look for
27114 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27115 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
27116 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
27117
27118 2014-05-25 Richard Henderson <rth@twiddle.net>
27119
27120 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27121 (SINGLE_THREAD_P_PIC): Remove.
27122 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
27123 (SINGLE_THREAD_P_PIC): Remove.
27124
27125 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
27126 branch to syscall error ...
27127 (PSEUDO): ... here.
27128 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
27129 from __local_syscall_error to .Lsyscall_error.
27130 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
27131 (SYSCALL_ERROR): Update label name.
27132
27133 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27134 Do not use DOARGS/UNDOARGS.
27135 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
27136 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
27137 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
27138 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
27139 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
27140
27141 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
27142 block comment.
27143
27144 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
27145 define if !NOT_IN_libc.
27146 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
27147 define with non-default symbol versions.
27148
27149 2014-05-23 Richard Henderson <rth@twiddle.net>
27150
27151 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
27152 (vfork, __vfork): Define via compat_symbol.
27153
27154 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
27155 [!HAVE_IFUNC] (vfork_compat): Remove.
27156 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
27157
27158 2014-05-23 Joseph Myers <joseph@codesourcery.com>
27159
27160 [BZ #16978]
27161 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
27162 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
27163 variable.
27164
27165 2014-05-23 Richard Henderson <rth@twiddle.net>
27166
27167 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
27168 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
27169 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
27170 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
27171
27172 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
27173 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
27174 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
27175 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
27176 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
27177 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
27178 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
27179 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
27180 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
27181 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
27182 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
27183 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
27184 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
27185 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
27186 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
27187 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
27188 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
27189 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
27190 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
27191 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
27192 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
27193 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
27194 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
27195 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
27196 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
27197 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
27198 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
27199 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
27200 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
27201 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
27202 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
27203 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
27204 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
27205 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
27206 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
27207 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
27208 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
27209 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
27210 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
27211 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
27212 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
27213 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
27214 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
27215 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
27216 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
27217 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
27218 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
27219 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
27220 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
27221 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
27222 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
27223 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
27224 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
27225 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
27226 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
27227 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
27228
27229 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
27230 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
27231 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
27232 before exiting on error.
27233 (__libc_vfork): New strong alias.
27234 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
27235 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
27236
27237 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
27238 that was previously under [RESET_PID].
27239 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
27240
27241 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
27242
27243 2014-05-23 Joseph Myers <joseph@codesourcery.com>
27244
27245 [BZ #16977]
27246 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
27247 value when x - 1 is zero.
27248 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
27249 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
27250 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
27251 0.0L for an argument of 1.0L.
27252 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
27253 Likewise.
27254 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
27255 value when x - 1 is zero.
27256 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
27257 * sysdeps/i386/fpu/libm-test-ulps: Update.
27258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27259
27260 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
27261
27262 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
27263 alphasort and versionsort.
27264
27265 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27266
27267 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
27268 macro.
27269 [copysignf]: Likewise.
27270
27271 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27272
27273 * crypt/md5-crypt.c: Fix formatting.
27274
27275 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27276
27277 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
27278 (b64_from_24bit): New function.
27279
27280 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27281
27282 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
27283 libc_hidden_builtin_def to ifunc.
27284 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27285 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
27286
27287 2014-05-21 Roland McGrath <roland@hack.frob.com>
27288
27289 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
27290 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
27291
27292 2014-05-21 Joseph Myers <joseph@codesourcery.com>
27293
27294 * nscd/Depend (linuxthreads): Remove.
27295 (nptl): Add.
27296 * resolv/Depend (linuxthreads): Remove.
27297 * rt/Depend (linuxthreads): Remove.
27298
27299 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
27300 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
27301 $(common-objpfx)elf/.
27302 (link-libc-before-gnulib): Likewise.
27303 (elfobjdir): Remove variable.
27304 * Makefile (install): Use $(elf-objpfx) instead of
27305 $(common-objpfx)elf/.
27306 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
27307 $(elfobjdir)/.
27308 (link-libc-deps): Likewise.
27309 ($(common-objpfx)libc.so): Likewise.
27310 ($(common-objpfx)linkobj/libc.so): Likewise.
27311 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
27312 instead of $(common-objpfx)elf/.
27313 (symbolic-link-list): Likewise.
27314 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27315 [$(cross-compiling) = no]: Likewise.
27316 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
27317 $(elfobjdir)/.
27318 (static-gnulib-arch): Likewise.
27319 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27320 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
27321 $(common-objpfx)elf/.
27322
27323 2014-05-21 Richard Henderson <rth@redhat.com>
27324
27325 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
27326 (SINGLE_THREAD_P): Use the correct width load. Fold
27327 into the ldr offset.
27328
27329 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
27330 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
27331
27332 2014-05-20 Joseph Myers <joseph@codesourcery.com>
27333
27334 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
27335 (libgcc_s_resume): Use __attribute_used__.
27336 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
27337 Likewise.
27338
27339 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27340
27341 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
27342 optimization when used with float constants.
27343
27344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27345
27346 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
27347
27348 [BZ #16915]
27349 * locale/nl_langinfo_l.c: Make direct reference to every
27350 _nl_current_CATEGORY symbol.
27351 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
27352 (tests-static): Add tst-langinfo-static.
27353 (tests-special): Add tst-langinfo-static.out.
27354 ($(objpfx)tst-langinfo.out): Redirect output.
27355 ($(objpfx)tst-langinfo-static.out): New.
27356 * localedata/tst-langinfo.sh: Send output to stdout.
27357 * localedata/tst-langinfo-static.c: New file.
27358
27359 [BZ #16965]
27360 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
27361 when the shift amount is modulo the limb size.
27362
27363 2014-05-20 Richard Henderson <rth@redhat.com>
27364
27365 [BZ #16967]
27366 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
27367 Change type of sa_flags from unsigned int to int.
27368
27369 [BZ #16966]
27370 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
27371
27372 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
27373
27374 2014-05-20 Will Newton <will.newton@linaro.org>
27375
27376 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
27377 Test the return value of the system call in the nocancel case.
27378
27379 2014-05-20 Will Newton <will.newton@linaro.org>
27380 Yvan Roux <yvan.roux@linaro.org>
27381
27382 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
27383 #include of asm/ptrace.h.
27384 (PTRACE_GET_THREAD_AREA): Remove #undef.
27385 (PTRACE_GETHBPREGS): Likewise.
27386 (PTRACE_SETHBPREGS): Likewise.
27387 (struct user_regs_struct): New structure.
27388 (struct user_fpsimd_struct): New structure.
27389 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
27390 #include of asm/ptrace.h and second #include of sys/user.h.
27391 (PTRACE_GET_THREAD_AREA): Remove #undef.
27392 (PTRACE_GETHBPREGS): Likewise.
27393 (PTRACE_SETHBPREGS): Likewise.
27394 (ELF_NGREG): Use new struct user_regs_struct.
27395 (elf_fpregset_t): Use new struct user_fpsimd_struct.
27396
27397 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27398
27399 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
27400 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
27401
27402 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
27403
27404 [BZ #16958]
27405 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
27406 membar to avoid block loads/stores to overlap previous stores.
27407
27408 2014-05-17 Richard Henderson <rth@redhat.com>
27409
27410 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
27411 Create the __##syscall_name##_nocancel entry point.
27412 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
27413 Remove; let the sysdep-cancel.h code create it.
27414
27415 2014-05-17 David S. Miller <davem@davemloft.net>
27416
27417 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
27418 Protect with __USE_GNU.
27419 (TIOCSET_TEMPT): Likewise.
27420 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27421 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
27422 these are already provided in bits/ioctl-types.h
27423
27424 2014-05-16 Roland McGrath <roland@hack.frob.com>
27425
27426 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
27427 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
27428
27429 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
27430 Use wait4 regardless of [__NR_waitpid].
27431
27432 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27433
27434 PR libgcc/60166
27435 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
27436 (_FP_NANSIGN_Q): Set the quiet bit.
27437
27438 2014-05-16 Joseph Myers <joseph@codesourcery.com>
27439
27440 * benchtests/Makefile
27441 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
27442 not $(common-objpfx)math/libm.so.
27443 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
27444 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
27445 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
27446 $(common-objpfx)dlfcn/libdl.so.
27447 ($(objpfx)tst-audit8): Depend on $(libm), not
27448 $(common-objpfx)math/libm.so.
27449 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
27450 not $(common-objpfx)dlfcn/libdl.so.
27451 * math/Makefile
27452 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27453 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
27454 [$(build-shared) = yes].
27455 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
27456 $(common-objpfx)nptl/libpthread.so.
27457 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
27458 $(common-objpfx)math/libm.so$(libm.so-version) or
27459 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
27460 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
27461 $(common-objpfx)dlfcn/libdl.so.
27462 * setjmp/Makefile (link-libm): Remove variable.
27463 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
27464 * stdio-common/Makefile (link-libm): Remove variable.
27465 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
27466 * stdlib/Makefile (link-libm): Remove variable.
27467 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
27468 ($(objpfx)tst-strtod-round): Likewise.
27469 ($(objpfx)tst-tininess): Likewise.
27470 ($(objpfx)tst-strtod-underflow): Likewise.
27471 ($(objpfx)tst-strtod6): Likewise.
27472 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
27473 $(libdl), not $(common-objpfx)nptl/libpthread.so and
27474 $(common-objpfx)dlfcn/libdl.so.
27475
27476 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27477
27478 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
27479 BSD terminal modes definitions.
27480
27481 2014-05-16 Roland McGrath <roland@hack.frob.com>
27482
27483 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
27484 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
27485
27486 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
27487 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
27488 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
27489 Don't do #include_next.
27490 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
27491 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
27492 Don't do #include_next.
27493 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
27494 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
27495 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
27496 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
27497
27498 2014-05-16 Allan McRae <allan@archlinux.org>
27499
27500 * po/sv.po: Update Swedish translation from translation project.
27501
27502 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
27503 in sed expression.
27504
27505 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
27506
27507 [BZ #16917]
27508 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
27509 errno if the TIOCGPTN ioctl fails with an error different than
27510 EINVAL.
27511 * login/tst-ptsname.c: New file.
27512 * login/Makefile (tests): Add tst-ptsname.
27513
27514 [BZ #16943]
27515 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
27516 and prlimit64.
27517
27518 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27519
27520 [BZ #16849]
27521 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
27522 herrno to return EAI_AGAIN.
27523
27524 2014-05-14 Roland McGrath <roland@hack.frob.com>
27525
27526 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
27527 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
27528 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
27529 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
27530 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
27531 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
27532 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
27533 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
27534 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
27535 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
27536 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
27537 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
27538 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
27539 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
27540 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
27541 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
27542 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
27543 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
27544 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
27545 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
27546 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
27547 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
27548 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
27549 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
27550 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
27551 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
27552 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
27553 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
27554 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
27555 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
27556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
27557 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
27558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
27559 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
27560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27561 Moved ...
27562 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
27563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
27564 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
27565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
27566 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
27567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
27568 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
27569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
27570 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
27571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
27572 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
27573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
27574 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
27575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
27576 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
27577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
27578 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
27579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
27580 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
27581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
27582 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
27583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
27584 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
27585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
27586 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
27587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
27588 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
27589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27590 Moved ...
27591 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
27592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
27593 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
27594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
27595 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
27596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
27597 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
27598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
27599 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
27600 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
27601 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
27602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
27603 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
27604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
27605 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
27606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
27607 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
27608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
27609 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
27610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27611 Moved ...
27612 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
27613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
27614 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
27615
27616 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
27617 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
27618 (libpthread-sysdep_routines): Add elision-related stuff here instead.
27619 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
27620 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
27621 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
27622 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
27623 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
27624 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
27625 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
27626 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
27627 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
27628 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
27629 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
27630 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
27631 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
27632 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
27633 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
27634 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
27635 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
27636 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
27637 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
27638 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
27639 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
27640 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
27641 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
27642 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
27643 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
27644 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
27645 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
27646 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
27647
27648 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
27649 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
27650
27651 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
27652 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
27653 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
27654 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
27655 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
27656 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
27657 Moved ...
27658 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
27659 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27660 Moved ...
27661 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
27662 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27663 Moved ...
27664 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
27665 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
27666 Moved ...
27667 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
27668 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
27669 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
27670 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27671 Moved ...
27672 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
27673 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
27674 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
27675 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
27676 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
27677 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
27678 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
27679 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27680 Moved ...
27681 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
27682 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27683 Moved ...
27684 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27685 ... here.
27686 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
27687 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
27688 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
27689 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
27690 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27691 Moved ...
27692 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27693 ... here.
27694 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
27695 Moved ...
27696 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
27697 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
27698 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
27699 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
27700 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
27701 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
27702 Moved ...
27703 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
27704 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27705 Moved ...
27706 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
27707 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27708 Moved ...
27709 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
27710 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
27711 Moved ...
27712 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
27713 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
27714 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
27715 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
27716 Moved ...
27717 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
27718 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
27719 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
27720 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
27721 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
27722 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
27723 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
27724 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27725 Moved ...
27726 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
27727 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27728 Moved ...
27729 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27730 ... here.
27731 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
27732 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
27733 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
27734 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
27735 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27736 Moved ...
27737 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27738 ... here.
27739 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
27740 Moved ...
27741 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
27742 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
27743 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
27744 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
27745 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
27746 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
27747 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
27748 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
27749 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
27750 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
27751 Moved ...
27752 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
27753 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27754 Moved ...
27755 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
27756 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27757 Moved ...
27758 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
27759 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
27760 Moved ...
27761 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
27762 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
27763 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
27764 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
27765 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
27766 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27767 Moved ...
27768 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
27769 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
27770 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
27771 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
27772 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
27773 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
27774 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
27775 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27776 Moved ...
27777 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
27778 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27779 Moved ...
27780 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27781 ... here.
27782 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
27783 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
27784 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
27785 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
27786 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27787 Moved ...
27788 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27789 ... here.
27790 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
27791 Moved ...
27792 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
27793 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
27794 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
27795 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
27796 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
27797 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
27798 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
27799 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
27800 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
27801 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
27802 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
27803
27804 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
27805 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
27806
27807 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
27808 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
27809
27810 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
27811 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
27812 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
27813 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
27814 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
27815 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
27816 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
27817 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
27818 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
27819 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
27820 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
27821 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
27822 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
27823 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
27824 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
27825 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
27826 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
27827 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
27828 Moved ...
27829 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
27830 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
27831 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
27832 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
27833 Moved ...
27834 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
27835 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
27836 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
27837 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
27838 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
27839 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
27840 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
27841 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
27842 Moved ...
27843 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
27844 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
27845 Moved ...
27846 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
27847 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
27848 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
27849 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
27850 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
27851 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
27852 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
27853 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
27854 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
27855 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
27856 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
27857 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
27858 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
27859 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
27860 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
27861 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
27862 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
27863
27864 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
27865 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
27866 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
27867 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
27868 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
27869
27870 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
27871 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
27872 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
27873 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
27874 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
27875 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
27876 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
27877 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
27878 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
27879 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
27880
27881 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
27882 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
27883
27884 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
27885 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
27886 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
27887 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
27888 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
27889 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
27890 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
27891 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
27892 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
27893 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
27894 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
27895 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
27896 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
27897 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
27898 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
27899 Update #include.
27900 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
27901 Likewise.
27902 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27903 Likewise.
27904 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27905 Likewise.
27906 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27907 Likewise.
27908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
27909 Likewise.
27910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
27911 Likewise.
27912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27913 Likewise.
27914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
27915 Likewise.
27916 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
27917 Likewise.
27918 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
27919 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
27920 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
27921 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
27922 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
27923 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
27924 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
27925 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
27926 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
27927 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
27928 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
27929 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
27930 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
27931 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
27932 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
27933
27934 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
27935 that was previously under [RESET_PID].
27936 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27937 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
27938 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
27939
27940 * sysdeps/i386/nptl/Implies: New file.
27941 * sysdeps/x86_64/nptl/Implies: New file.
27942 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
27943 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
27944 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
27945 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
27946
27947 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
27948 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27949 (__libc_vfork): New strong alias.
27950 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
27951 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
27952
27953 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
27954 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27955 (__libc_vfork): New strong alias.
27956 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
27957 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
27958
27959 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
27960 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27961 (__libc_vfork): New strong alias.
27962 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
27963 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
27964 * nptl/pt-vfork.c: New file.
27965 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
27966 (libpthread: GLIBC_2.20): New version set (empty).
27967
27968 2014-05-14 Will Newton <will.newton@linaro.org>
27969
27970 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
27971 rather than #if.
27972
27973 2014-05-14 Joseph Myers <joseph@codesourcery.com>
27974
27975 [BZ #16564]
27976 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
27977 arguments with exponent 65 or above.
27978 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
27979 arguments 0x1p113L or above.
27980 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
27981 to arguments 0x1p107L or above.
27982 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
27983 positive arguments with exponent 65 or above.
27984 * math/auto-libm-test-in: Add more tests of log1p.
27985 * math/auto-libm-test-out: Regenerated.
27986
27987 [BZ #16928]
27988 * math/s_cacos.c (__cacos): Ensure zero real part of result from
27989 non-finite arguments is +0.
27990 * math/s_cacosf.c (__cacosf): Likewise.
27991 * math/s_cacosl.c (__cacosl): Likewise.
27992 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
27993 * sysdeps/i386/fpu/libm-test-ulps: Update.
27994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27995
27996 [BZ #16927]
27997 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
27998 value.
27999 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28000 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
28001 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
28002 for explicit high bit of mantissa when testing for argument equal
28003 to 1.
28004 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
28005 * sysdeps/i386/fpu/libm-test-ulps: Update.
28006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28007
28008 [BZ #16516]
28009 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
28010 (__erf): Scale by 16 instead of 8 in potentially underflowing
28011 case. Ensure exception if result actually underflows.
28012 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
28013 (__erff): Scale by 16 instead of 8 in potentially underflowing
28014 case. Ensure exception if result actually underflows.
28015 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
28016 (efx8): Remove variable.
28017 (__erfl): Scale by 16 instead of 8 in potentially underflowing
28018 case. Ensure exception if result actually underflows.
28019 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
28020 (efx8): Remove variable.
28021 (__erfl): Scale by 16 instead of 8 in potentially underflowing
28022 case. Ensure exception if result actually underflows.
28023 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
28024 (efx8): Remove variable.
28025 (__erfl): Scale by 16 instead of 8 in potentially underflowing
28026 case. Ensure exception if result actually underflows.
28027 * math/auto-libm-test-in: Add more tests of erf.
28028 * math/auto-libm-test-out: Regenerated.
28029
28030 2014-05-14 Andreas Schwab <schwab@suse.de>
28031
28032 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
28033 Remove code conditionalized on USE___THREAD.
28034
28035 * config.h.in (HAVE_PT_CHOWN): Define as 0.
28036 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
28037 not definedness.
28038
28039 2014-05-14 Joseph Myers <joseph@codesourcery.com>
28040
28041 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
28042 Define unconditionally.
28043 (__ASSUME_O_CLOEXEC): Likewise.
28044 (__ASSUME_SOCK_CLOEXEC): Likewise.
28045 (__ASSUME_IN_NONBLOCK): Likewise.
28046 (__ASSUME_PIPE2): Likewise.
28047 (__ASSUME_EVENTFD2): Likewise.
28048 (__ASSUME_SIGNALFD4): Likewise.
28049 (__ASSUME_DUP3): Likewise.
28050 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28051 (__ASSUME_DUP3): Do not define.
28052 (__ASSUME_EVENTFD2): Likewise.
28053 (__ASSUME_IN_NONBLOCK): Likewise.
28054 (__ASSUME_O_CLOEXEC): Likewise.
28055 (__ASSUME_PIPE2): Likewise.
28056 (__ASSUME_SIGNALFD4): Likewise.
28057 (__ASSUME_SOCK_CLOEXEC): Likewise.
28058 (__ASSUME_UTIMES): Undefine.
28059 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28060 (__ASSUME_UTIMES): Do not define.
28061 (__ASSUME_O_CLOEXEC): Likewise.
28062 (__ASSUME_SOCK_CLOEXEC): Likewise.
28063 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
28064 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
28065 0x020621].
28066 (__ASSUME_PIPE2): Likewise.
28067 (__ASSUME_EVENTFD2): Likewise.
28068 (__ASSUME_SIGNALFD4): Likewise.
28069 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
28070 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
28071 Do not define.
28072 (__ASSUME_EVENTFD2): Likewise.
28073 (__ASSUME_SIGNALFD4): Likewise.
28074 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28075 (__ASSUME_32BITUIDS): Likewise.
28076 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28077 (__ASSUME_IPC64): Likewise.
28078 (__ASSUME_ST_INO_64_BIT): Likewise.
28079 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
28080 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
28081 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28082 (__ASSUME_UTIMES): Do not define.
28083 (__ASSUME_PSELECT): Likewise.
28084 (__ASSUME_PPOLL): Likewise.
28085 (__ASSUME_O_CLOEXEC): Likewise.
28086 (__ASSUME_SOCK_CLOEXEC): Likewise.
28087 (__ASSUME_IN_NONBLOCK): Likewise.
28088 (__ASSUME_PIPE2): Likewise.
28089 (__ASSUME_EVENTFD2): Likewise.
28090 (__ASSUME_SIGNALFD4): Likewise.
28091 (__ASSUME_DUP3): Likewise.
28092 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28093 (__ASSUME_UTIMES): Likewise.
28094 (__ASSUME_O_CLOEXEC): Likewise.
28095 (__ASSUME_SOCK_CLOEXEC): Likewise.
28096 (__ASSUME_IN_NONBLOCK): Likewise.
28097 (__ASSUME_PIPE2): Likewise.
28098 (__ASSUME_EVENTFD2): Likewise.
28099 (__ASSUME_SIGNALFD4): Likewise.
28100 (__ASSUME_DUP3): Likewise.
28101 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28102 (__ASSUME_UTIMES): Likewise.
28103 (__ASSUME_O_CLOEXEC): Likewise.
28104 (__ASSUME_SOCK_CLOEXEC): Likewise.
28105 (__ASSUME_IN_NONBLOCK): Likewise.
28106 (__ASSUME_PIPE2): Likewise.
28107 (__ASSUME_EVENTFD2): Likewise.
28108 (__ASSUME_SIGNALFD4): Likewise.
28109 (__ASSUME_DUP3): Likewise.
28110 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
28111 Likewise.
28112 (__ASSUME_UTIMES): Likewise.
28113 (__ASSUME_EVENTFD2): Likewise.
28114 (__ASSUME_SIGNALFD4): Likewise.
28115 * sysdeps/unix/sysv/linux/tile/kernel-features.h
28116 (__ASSUME_O_CLOEXEC): Likewise.
28117 (__ASSUME_SOCK_CLOEXEC): Likewise.
28118 (__ASSUME_IN_NONBLOCK): Likewise.
28119 (__ASSUME_PIPE2): Likewise.
28120 (__ASSUME_EVENTFD2): Likewise.
28121 (__ASSUME_SIGNALFD4): Likewise.
28122 (__ASSUME_DUP3): Likewise.
28123 (__ASSUME_UTIMES): Undefine.
28124
28125 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
28126 feclearexcept. Remove symbol versioning code.
28127 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
28128 symbol versioning code.
28129 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
28130 symbol versioning code.
28131 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
28132 feupdateenv. Remove symbol versioning code.
28133 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
28134 fegetexceptflag. Remove symbol versioning code.
28135 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
28136 fesetexceptflag. Remove symbol versioning code.
28137 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
28138 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
28139 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
28140 (__posix_fadvise64_l32): Remove prototype.
28141 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
28142 code.
28143
28144 2014-05-13 Roland McGrath <roland@hack.frob.com>
28145
28146 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
28147 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
28148 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
28149 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
28150
28151 2014-05-13 Sami Kerola <kerolasa@iki.fi>
28152
28153 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
28154 current working directory
28155
28156 2014-05-13 Roland McGrath <roland@hack.frob.com>
28157
28158 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
28159 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
28160 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
28161 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
28162 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
28163 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
28164 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
28165 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
28166 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
28167 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
28168 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
28169 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
28170 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
28171 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
28172 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
28173 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
28174 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
28175 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
28176 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
28177 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
28178 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
28179 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
28180 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
28181 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
28182 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
28183 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
28184 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
28185 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
28186 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
28187 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
28188 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
28189 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
28190 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
28191 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
28192 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
28193 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
28194 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
28195 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
28196 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
28197 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
28198 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
28199 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
28200
28201 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
28202 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
28203
28204 * sysdeps/unix/sysv/linux/arm/Makefile
28205 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28206 Add rt-aeabi_unwind_cpp_pr1.
28207 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
28208 Add nptl-aeabi_unwind_cpp_pr1.
28209 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
28210 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
28211 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
28212 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
28213 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
28214 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
28215
28216 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
28217 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
28218 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
28219 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
28220
28221 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
28222 Deconditionalize the code that was previously under [RESET_PID].
28223 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
28224
28225 * sysdeps/generic/exit-thread.h: New file.
28226 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
28227 * include/unistd.h (__exit_thread): Remove declaration.
28228 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
28229 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
28230 * csu/libc-start.c: Include <exit-thread.h>.
28231 (LIBC_START_MAIN): Pass no argument to __exit_thread.
28232 * nptl/pthread_create.c: Include <exit-thread.h>.
28233 (start_thread): Call __exit_thread in place of __exit_thread_inline.
28234 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
28235 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
28236 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
28237 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
28238 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
28239 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
28240 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
28241 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
28242 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
28243 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
28244 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
28245 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
28246 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
28247 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
28248 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
28249 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
28250
28251 2014-05-13 Andreas Schwab <schwab@suse.de>
28252
28253 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
28254
28255 2014-05-12 Joseph Myers <joseph@codesourcery.com>
28256
28257 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28258 (__ASSUME_UTIMES): Do not condition on kernel version.
28259 (__ASSUME_PSELECT): Define unconditionally.
28260 (__ASSUME_PPOLL): Likewise.
28261 (__ASSUME_ATFCTS): Likewise.
28262 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
28263 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
28264 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
28265 (__ASSUME_UTIMENSAT): Define unconditionally.
28266 (__ASSUME_PRIVATE_FUTEX): Likewise.
28267 (__ASSUME_FALLOCATE): Likewise.
28268 (__ASSUME_O_CLOEXEC): Likewise.
28269 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
28270 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
28271 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
28272 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
28273 (__ASSUME_IN_NONBLOCK): Likewise.
28274 (__ASSUME_PIPE2): Likewise.
28275 (__ASSUME_EVENTFD2): Likewise.
28276 (__ASSUME_SIGNALFD4): Likewise.
28277 (__ASSUME_DUP3): Likewise.
28278 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28279 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
28280 (__ASSUME_AT_RANDOM): Likewise.
28281 (__ASSUME_PREADV): Likewise.
28282 (__ASSUME_PWRITEV): Likewise.
28283 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
28284 (__ASSUME_F_GETOWN_EX): Define unconditionally.
28285 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
28286 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28287 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
28288 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28289 (__ASSUME_O_CLOEXEC): Define unconditionally.
28290 (__ASSUME_PSELECT): Do not undefine conditionally.
28291 (__ASSUME_PPOLL): Likewise.
28292 (__ASSUME_ATFCTS): Likewise.
28293 (__ASSUME_SET_ROBUST_LIST): Likewise.
28294 (__ASSUME_UTIMENSAT): Likewise.
28295 (__ASSUME_FDATASYNC): Define unconditionally.
28296 * sysdeps/unix/sysv/linux/arm/kernel-features.h
28297 (__ASSUME_SIGFRAME_V2): Likewise.
28298 )__ASSUME_EVENTFD2): Likewise.
28299 (__ASSUME_SIGNALFD4): Likewise.
28300 (__ASSUME_PSELECT): Do not undefine conditionally.
28301 (__ASSUME_PPOLL): Likewise.
28302 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
28303 (__ASSUME_PSELECT): Define unconditionally.
28304 (__ASSUME_PPOLL): Likewise.
28305 (__ASSUME_O_CLOEXEC): Likewise.
28306 (__ASSUME_SOCK_CLOEXEC): Likewise.
28307 (__ASSUME_IN_NONBLOCK): Likewise.
28308 (__ASSUME_PIPE2): Likewise.
28309 (__ASSUME_EVENTFD2): Likewise.
28310 (__ASSUME_SIGNALFD4): Likewise.
28311 (__ASSUME_DUP3): Likewise.
28312 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28313 (__ASSUME_O_CLOEXEC): Likewise.
28314 (__ASSUME_SOCK_CLOEXEC): Likewise.
28315 (__ASSUME_IN_NONBLOCK): Likewise.
28316 (__ASSUME_PIPE2): Likewise.
28317 (__ASSUME_EVENTFD2): Likewise.
28318 (__ASSUME_SIGNALFD4): Likewise.
28319 (__ASSUME_DUP3): Likewise.
28320 * sysdeps/unix/sysv/linux/mips/kernel-features.h
28321 (__ASSUME_EVENTFD2): Likewise.
28322 (__ASSUME_SIGNALFD4): Likewise.
28323 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
28324
28325 2014-05-12 Andreas Schwab <schwab@suse.de>
28326
28327 [BZ #16932]
28328 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
28329 (_nss_nis_gethostbyname4_r): Return error if item length is larger
28330 than maximum RPC packet size.
28331 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
28332 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
28333 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
28334 (_nss_nis_getservbyport_r): Likewise.
28335
28336 2014-05-12 Will Newton <will.newton@linaro.org>
28337
28338 * malloc/Makefile (tests): Add tst-mallopt.
28339 * malloc/tst-mallopt.c: New file.
28340
28341 2014-05-09 Roland McGrath <roland@hack.frob.com>
28342
28343 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
28344 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
28345
28346 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28347
28348 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
28349 (tst-tlsmod6.so): Likewise.
28350
28351 2014-05-09 Roland McGrath <roland@hack.frob.com>
28352
28353 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
28354
28355 2014-05-09 Joseph Myers <joseph@codesourcery.com>
28356
28357 [BZ #16064]
28358 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
28359 and <dl-procinfo.h>.
28360 (__fegetenv): Save SSE state in envp->__eip if supported.
28361 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
28362 envp->__eip if supported.
28363 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
28364 and <dl-procinfo.h>.
28365 (__fesetenv): Always set __eip, __cs_selector, __opcode,
28366 __data_offset and __data_selector in environment to 0. Set SSE
28367 state if supported.
28368 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
28369 test-fenv-sse.
28370 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
28371 -mfpmath=sse.
28372 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
28373
28374 2014-05-09 Will Newton <will.newton@linaro.org>
28375
28376 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
28377 and libc_relro_required for ARM.
28378 * sysdeps/arm/preconfigure: Regenerate.
28379
28380 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
28381 Stefan Liebler <stli@linux.vnet.ibm.com>
28382
28383 * config.make.in (enable-lock-elision): New Makefile variable.
28384 * configure.ac: Likewise.
28385 * configure: Regenerate.
28386 * sysdeps/s390/configure.ac:
28387 Add check for gcc transactions support.
28388 * sysdeps/s390/configure: Regenerate.
28389 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
28390 Build elision files if enabled.
28391 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
28392 Add lock elision support for s390.
28393 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
28394 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
28395 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
28396 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
28397 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
28398 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
28399 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
28400 Likewise.
28401 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
28402 Likewise.
28403 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
28404 Likewise.
28405 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
28406 Likewise.
28407 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
28408 (__lll_timedlock_elision, __lll_lock_elision)
28409 (__lll_unlock_elision, __lll_trylock_elision)
28410 (lll_timedlock_elision, lll_lock_elision)
28411 (lll_unlock_elision, lll_trylock_elision): Add.
28412 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28413 (pthread_mutex_t): Add lock elision support for s390.
28414
28415 2014-05-14 Wilco <wdijkstr@arm.com>
28416
28417 * sysdeps/arm/fclrexcpt.c: Cleanup.
28418 * sysdeps/arm/fedisblxcpt.c: Cleanup.
28419 * sysdeps/arm/feenablxcpt.c: Cleanup.
28420 * sysdeps/arm/fegetenv.c: Cleanup.
28421 * sysdeps/arm/fegetexcept.c: Cleanup.
28422 * sysdeps/arm/fegetround.c: Cleanup.
28423 * sysdeps/arm/feholdexcpt.c: Cleanup.
28424 * sysdeps/arm/fesetenv.c: Cleanup.
28425 * sysdeps/arm/fesetround.c: Cleanup.
28426 * sysdeps/arm/feupdateenv.c: Cleanup.
28427 * sysdeps/arm/fgetexcptflg.c: Cleanup.
28428 * sysdeps/arm/fraiseexcpt.c: Cleanup.
28429 * sysdeps/arm/fsetexcptflg.c: Cleanup.
28430 * sysdeps/arm/ftestexcept.c: Cleanup.
28431 * sysdeps/arm/get-rounding-mode.h: Cleanup.
28432 * sysdeps/arm/setfpucw.c: Cleanup.
28433
28434 2014-05-09 Will Newton <will.newton@linaro.org>
28435
28436 * sysdeps/arm/armv7/strcmp.S: New file.
28437 * NEWS: Mention addition of ARMv7 optimized strcmp.
28438
28439 2014-05-08 Roland McGrath <roland@hack.frob.com>
28440
28441 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
28442 look for %.ac rather than %.in.
28443
28444 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
28445 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
28446 * sysdeps/mach/hurd/configure: Regenerated.
28447 * sysdeps/unix/sysv/linux/configure: Regenerated.
28448
28449 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
28450
28451 2014-05-07 Steve Ellcey <sellcey@mips.com>
28452
28453 [BZ# 16922]
28454 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
28455 (LONG_SUB): Ditto.
28456 (PTR_SUB): Ditto.
28457
28458 2014-05-07 Andreas Schwab <schwab@suse.de>
28459
28460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
28461 when skipping over non-matching result from nscd.
28462
28463 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
28464
28465 [BZ #16876]
28466 * nptl/sockperf.c (client): Check socket return value.
28467
28468 [BZ #16877]
28469 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
28470 nscd security class.
28471
28472 2014-05-06 Roland McGrath <roland@hack.frob.com>
28473
28474 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
28475 * sysdeps/arm/unwind.h: ... here.
28476
28477 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
28478
28479 [BZ# 16916]
28480 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
28481 Define.
28482
28483 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
28484
28485 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
28486 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
28487 multiarch strncpy for PPC64.
28488 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
28489 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
28490 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
28491 multiarch optimizations.
28492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28493 (__libc_ifunc_impl_list): Likewise.
28494 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
28495 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
28496 multiarch stpncpy for PPC64.
28497 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
28498 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
28499
28500 2014-05-06 Andreas Schwab <schwab@suse.de>
28501
28502 [BZ #16912]
28503 * gmon/mcount.c (_MCOUNT_DECL): Use
28504 atomic_compare_and_exchange_bool_acq instead of
28505 catomic_compare_and_exchange_bool_acq.
28506
28507 2014-05-05 Roland McGrath <roland@hack.frob.com>
28508
28509 * elf/Makefile (others, install-bin): Remove pldd.
28510 (pldd-modules): Variable removed.
28511 ($(objpfx)pldd): Target removed.
28512 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
28513 (others, install-bin): Append pldd here.
28514 ($(objpfx)pldd): New target.
28515
28516 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
28517 to 0, so the first #if test emitted later doesn't see it undefined.
28518 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
28519 * sysdeps/gnu/errlist.c: Regenerated.
28520
28521 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28522
28523 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28524 [libc_hidden_builtin_def]: Define to empty value.
28525 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
28526 [libc_hidden_builtin_def]: Likewise.
28527 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
28528 [libc_hidden_builtin_def]: Likewise.
28529 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
28530 [libc_hidden_builtin_def]: Likewise.
28531 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
28532 __redirect_memcpy and define ifunc as default hidden symbol.
28533 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
28534 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
28535
28536 2014-05-04 Adam Conrad <adconrad@0c3.net>
28537
28538 * locale/iso-4217.def: Reintroduce XDR currency.
28539
28540 2014-05-04 Allan McRae <allan@archlinux.org>
28541
28542 * po/eo.po: Update Esperanto translation from translation project.
28543
28544 2014-05-02 Carlos O'Donell <carlos@redhat.com>
28545
28546 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
28547 and FEATURE_INDEX_MAX to 1.
28548 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
28549
28550 2014-05-01 Steve Ellcey <sellcey@mips.com>
28551
28552 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
28553 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
28554 * iconvdata/big5.c (ONE_DIRECTION): Define.
28555 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
28556 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
28557 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
28558 * iconvdata/cp932.c (ONE_DIRECTION): Define.
28559 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
28560 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
28561 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
28562 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
28563 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
28564 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
28565 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
28566 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
28567 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
28568 * iconvdata/gbk.c (ONE_DIRECTION): Define.
28569 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
28570 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
28571 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
28572 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
28573 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
28574 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
28575 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
28576 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
28577 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
28578 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
28579 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
28580 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
28581 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
28582 * iconvdata/iso646.c (ONE_DIRECTION): Define.
28583 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
28584 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
28585 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
28586 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
28587 * iconvdata/johab.c (ONE_DIRECTION): Define.
28588 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
28589 * iconvdata/sjis.c (ONE_DIRECTION): Define.
28590 * iconvdata/t.61.c (ONE_DIRECTION): Define.
28591 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
28592 * iconvdata/tscii.c (ONE_DIRECTION): Define.
28593 * iconvdata/uhc.c (ONE_DIRECTION): Define.
28594 * iconvdata/unicode.c (ONE_DIRECTION): Define.
28595 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
28596 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
28597 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
28598
28599 2014-05-01 Roland McGrath <roland@hack.frob.com>
28600
28601 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
28602 (_IO_JUMPS_OFFSET): Define to 0.
28603
28604 * nptl/sysdeps/pthread/bits/libc-lock.h
28605 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28606 (__libc_lock_define_initialized_recursive): Always define using
28607 initializer. Modern compilers treat uninitialized (implicit zero) and
28608 explicit zero initializers the same (i.e. put the datum in bss).
28609
28610 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
28611
28612 * nscd/nscd-client.h: Include <string.h>.
28613
28614 2014-05-01 David S. Miller <davem@davemloft.net>
28615
28616 [BZ #16885]
28617 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
28618 multiple zero bytes exist at the end of a string.
28619 Reported by Aurelien Jarno <aurelien@aurel32.net>
28620
28621 * string/test-strcmp.c (check): Add explicit test for situations where
28622 there are multiple zero bytes after the first.
28623
28624 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
28625
28626 [BZ #16890]
28627 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
28628 when compiling wprintf.
28629 * stdio-common/tstdiomisc.c (t3): New function.
28630 (main): Call it.
28631
28632 2014-05-01 Steve Ellcey <sellcey@mips.com>
28633
28634 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
28635 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
28636 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
28637 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
28638
28639 2014-05-01 Steve Ellcey <sellcey@mips.com>
28640
28641 * stdlib/longlong.h: Updated from GCC.
28642
28643 2014-05-01 Will Newton <will.newton@linaro.org>
28644 Bernard Ogden <bernie.ogden@linaro.org>
28645
28646 * NEWS: Update fixed bug list.
28647
28648 [BZ #15119]
28649 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
28650
28651 2014-04-30 David S. Miller <davem@davemloft.net>
28652
28653 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
28654 (libc_feholdexcept_setround_sparc_ctx): New function.
28655 (libc_fesetenv_sparc_ctx): Likewise.
28656 (libc_feupdateenv_sparc_ctx): Likewise.
28657 (libc_feholdsetround_sparc_ctx): Likewise.
28658 (libc_feholdexcept_setround_ctx): Define.
28659 (libc_feholdexcept_setroundf_ctx): Likewise.
28660 (libc_feholdexcept_setroundl_ctx): Likewise.
28661 (libc_fesetenv_ctx): Likewise.
28662 (libc_fesetenvf_ctx): Likewise.
28663 (libc_fesetenvl_ctx): Likewise.
28664 (libc_feupdateenv_ctx): Likewise.
28665 (libc_feupdateenvf_ctx): Likewise.
28666 (libc_feupdateenvl_ctx): Likewise.
28667 (libc_feresetround_ctx): Likewise.
28668 (libc_feresetroundf_ctx): Likewise.
28669 (libc_feresetroundl_ctx): Likewise.
28670 (libc_feholdsetround_ctx): Likewise.
28671 (libc_feholdsetroundf_ctx): Likewise.
28672 (libc_feholdsetroundl_ctx): Likewise.
28673
28674 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28675 with __USE_GNU instead of XOPEN cpp guards.
28676
28677 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
28678 0.
28679
28680 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28681 with XOPEN cpp guards.
28682
28683 2014-04-30 Julian Brown <julian@codesourcery.com>
28684
28685 [BZ #16888]
28686 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
28687 handling.
28688
28689 2014-04-30 Joseph Myers <joseph@codesourcery.com>
28690
28691 [BZ #9894]
28692 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
28693 Change to 2.6.32.
28694 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
28695 * sysdeps/unix/sysv/linux/configure: Regenerated.
28696 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
28697 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
28698 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
28699 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
28700 * README: Update reference to required Linux kernel version.
28701 * manual/install.texi (Linux): Update reference to required Linux
28702 kernel headers version.
28703 * INSTALL: Regenerated.
28704
28705 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
28706 header inclusion.
28707 [POSIX] (limits.h): Likewise.
28708 [POSIX] (math.h): Likewise.
28709 [POSIX] (sys/wait.h): Likewise.
28710 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
28711 function.
28712 [POSIX] (stddef.h): Do not allow header inclusion.
28713
28714 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28715
28716 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
28717
28718 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
28719
28720 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28721 Return immediately after lll_futex_wake.
28722
28723 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28724
28725 [BZ #16791]
28726 * nscd/nscd-client.h (datahead_init_common): Initialize entire
28727 structure.
28728 (datahead_init_pos): Call datahead_init_common early.
28729 (datahead_init_neg): Likewise.
28730
28731 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
28732 datahead_init_neg): New functions.
28733 * nscd/aicache.c (addhstaiX): Use them.
28734 * nscd/grpcache.c (cache_addgr): Likewise.
28735 * nscd/hstcache.c (cache_addhst): Likewise.
28736 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28737 * nscd/netgroupcache.c (do_notfound): Likewise.
28738 (addgetnetgrentX): Likewise.
28739 (addinnetgrX): Likewise.
28740 * nscd/pwdcache.c (cache_addpw): Likewise.
28741 * nscd/servicescache.c (cache_addserv): Likewise.
28742
28743 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28744 Atsushi Onoe <atsushi@onoe.org>
28745
28746 [BZ #14308]
28747 [BZ #12994]
28748 [BZ #13651]
28749 * resolv/res_query.c (__libc_res_nsearch): Return if at least
28750 one response is valid.
28751 * resolv/res_send.c (send_dg): Check for validity of other
28752 response if the current response is a referral.
28753
28754 2014-04-29 Steve Ellcey <sellcey@mips.com>
28755
28756 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
28757
28758 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
28759
28760 [BZ #16823]
28761 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
28762 Always divide by positive zero when computing -Inf result.
28763 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
28764 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28765
28766 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28767
28768 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
28769 FPSCR if value do not change.
28770 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28771 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
28772 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28773 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28774 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
28775 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
28776 function.
28777
28778 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
28779
28780 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
28781 * sysdeps/unix/sysv/linux/hppa: Move directory from
28782 ports/systeps/unix/sysv/linux/hppa.
28783 * README: Update listing for hppa-*-linux-gnu.
28784
28785 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
28786
28787 [BZ #16754]
28788 * manual/stdio.texi (Hook functions): Fix types of stream hook
28789 functions.
28790 [BZ #16854]
28791 * socket/sys/socket.h: Fix typo in comment.
28792
28793 2014-04-28 Wilco <wdijkstr@arm.com>
28794
28795 * sysdeps/arm/fenv_private.h: New file.
28796 * sysdeps/arm/math_private.h: New file.
28797 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
28798
28799 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
28800
28801 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
28802 with __int128_t.
28803 (La_x86_64_retval): Likewise.
28804
28805 2014-04-24 Ian Bolton <ian.bolton@arm.com>
28806
28807 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
28808 fpsr if value didn't change.
28809 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
28810 to fpcr if value didn't change.
28811 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
28812 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
28813 fpsr or fpcr if value didn't change.
28814 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28815 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
28816 fpcr if value didn't change.
28817 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
28818 to fpsr if value didn't change.
28819
28820 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28821
28822 * nptl/tst-sem3.c: Use test-skeleton.c
28823 (main): Rename to do_test. Use return instead of
28824 exit.
28825 * nptl/tst-sem4.c: Use test-skeleton.c
28826 (main): Rename to do_test.
28827
28828 2014-04-22 David S. Miller <davem@davemloft.net>
28829
28830 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28831 (struct sigaction): New struct member __glibc_reserved0, change
28832 type of sa_flags to int.
28833
28834 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
28835
28836 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
28837 (COUNT_LEADING_ZEROS_0): Define for AArch64.
28838
28839 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28840
28841 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
28842 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
28843
28844 2014-04-22 Will Newton <will.newton@linaro.org>
28845 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
28846
28847 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
28848 (__longjmp): Add longjmp and longjmp_target SystemTap
28849 probes.
28850 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
28851 (__sigsetjmp): Add setjmp SystemTap probe.
28852
28853 2014-04-17 Carlos O'Donell <carlos@redhat.com>
28854
28855 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
28856 match manual order.
28857
28858 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28859
28860 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
28861
28862 * sysdeps/powerpc/fpu/fenv_private.h
28863 (libc_feholdexcept_setroundl_ctx): Define to
28864 libc_feholdexcept_setround_ppc_ctx.
28865 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
28866 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
28867 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
28868 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
28869
28870 2014-04-17 Ian Bolton <ian.bolton@arm.com>
28871
28872 * sysdeps/aarch64/math-tests.h: New file.
28873
28874 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
28875
28876 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
28877 New.
28878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28879 Check and set bit_AVX2_Usable.
28880 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
28881 macro.
28882 (bit_AVX2): Likewise.
28883 (index_AVX2_Usable): Likewise.
28884 (CPUID_AVX2): Likewise.
28885 (HAS_AVX2): Likewise.
28886
28887 2014-04-17 Will Newton <will.newton@linaro.org>
28888
28889 * manual/setjmp.texi (System V contexts): Add note that
28890 calling setcontext on a context created by a call to a
28891 signal handler is undefined. Update text to note that
28892 setcontext from a signal handler is possible but not
28893 recommended.
28894
28895 [BZ #16629]
28896 * stdlib/tst-setcontext.c: Include signal.h.
28897 (main): Check that the signal stack before and
28898 after swapcontext is the same.
28899
28900 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
28901 Re-implement to restore registers in user code and avoid
28902 rt_sigreturn system call.
28903
28904 2014-04-17 Wilco <wdijkstr@arm.com>
28905
28906 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
28907 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
28908 * math/test-fenv.c: Skip exception trap tests on targets which only
28909 support non-stop mode.
28910
28911 2014-04-17 Ian Bolton <ian.bolton@arm.com>
28912 Wilco Dijkstra <wilco.dijkstra@arm.com>
28913
28914 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
28915 (libc_feholdsetround_aarch64_ctx)
28916 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
28917 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
28918 (libc_feresetround_ctx, libc_feresetroundf_ctx)
28919 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
28920 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
28921 (libc_feresetround_noexl_ctx): Define.
28922
28923 2014-04-16 Richard Henderson <rth@redhat.com>
28924
28925 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
28926
28927 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
28928 unwind tables.
28929
28930 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
28931 const from the non-libc, non-ldso copy.
28932
28933 * sysdeps/alpha/libm-test-ulps: Regenerate.
28934
28935 2014-04-16 Ian Bolton <ian.bolton@arm.com>
28936 Wilco Dijkstra <wilco.dijkstra@arm.com>
28937
28938 * sysdeps/aarch64/fpu/math_private.h: New file.
28939
28940 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
28941
28942 * sysdeps/aarch64/libm-test-ulps: Regenerate.
28943
28944 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
28945
28946 [BZ #16275]
28947 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
28948 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
28949 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
28950 Intel MPX bound registers before _dl_profile_fixup.
28951 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
28952 registers after _dl_profile_fixup. Save and restore bound
28953 registers bnd0/bnd1 when calling _dl_call_pltexit.
28954 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
28955 (LR_BND_OFFSET): Likewise.
28956 (LRV_BND0_OFFSET): Likewise.
28957 (LRV_BND1_OFFSET): Likewise.
28958
28959 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28960
28961 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
28962 to...
28963 * sysdeps/mach/hurd/i386/tls.h: ... here.
28964 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
28965 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
28966 fields.
28967
28968 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
28969
28970 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
28971
28972 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
28973
28974 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28975
28976 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
28977
28978 [BZ #14770]
28979 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
28980 * sysdeps/s390/configure: Regenerate.
28981
28982 [BZ #16824]
28983 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
28984 Set round-to-nearest internally to reduce error accumulation.
28985
28986 2014-04-16 Alan Modra <amodra@gmail.com>
28987
28988 [BZ #16740]
28989 [BZ #16619]
28990 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
28991 * math/libm-test.inc (frexp_test_data): Add tests.
28992 * NEWS: Update fixed bug list.
28993
28994 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28995
28996 * benchtests/Makefile: Depend on libraries in build directory.
28997 (bench-math): Separate out math tests.
28998 (bench-pthread): Separate out pthread tests.
28999 (bench): Include math and pthread tests.
29000
29001 2014-04-14 Carlos O'Donell <carlos@redhat.com>
29002
29003 [BZ #16831]
29004 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
29005 _dl_debug_initialize.
29006
29007 * configure.ac: Remove SELinux header check.
29008 * configure: Regenerate.
29009 * nscd/selinux.c (perms): Array of const char* to permission names.
29010 (nscd_request_avc_has_perm): Call security_deny_unknown to find
29011 default policy. Call string_to_security_class and string_to_av_perm to
29012 translate strings. Enforce default policy and call avs_has_perm with
29013 results of translated strings.
29014
29015 2014-04-13 David S. Miller <davem@davemloft.net>
29016
29017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29018
29019 2014-04-12 Allan McRae <allan@archlinux.org>
29020
29021 [BZ #16838]
29022 * manual/string.texi (Collation Functions): Fix qsort argument
29023 order in example.
29024 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29025
29026 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
29027
29028 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
29029 Make the test a no-op if there are no exceptions defined.
29030
29031 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
29032
29033 * elf/Makefile (tests): make tst-dlopen-aout conditional on
29034 enable-hardcoded-path-in-tests
29035
29036 2014-04-11 Will Newton <will.newton@linaro.org>
29037
29038 * benchtests/Makefile (extra-objs): Add json-lib.o.
29039 (bench-func): Tidy up JSON output.
29040 * benchtests/bench-skeleton.c: Include json-lib.h.
29041 (main): Use JSON library functions to do output of
29042 benchmark results.
29043 * benchtests/bench-timing-type.c (main): Output the
29044 timing type simply, leaving formatting to the user.
29045 * benchtests/json-lib.c: New file.
29046 * benchtests/json-lib.h: Likewise.
29047
29048 2014-04-11 Torvald Riegel <triegel@redhat.com>
29049
29050 [BZ #15215]
29051 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
29052 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
29053 memory barriers. Add comments.
29054 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
29055 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
29056 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
29057 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
29058 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
29059 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
29060
29061 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
29062
29063 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
29064 * sysdeps/s390/s390-64/configure.ac: ... this ...
29065 * sysdeps/s390/configure.ac: ... to here.
29066 * sysdeps/s390/s390-32/configure: Delete file.
29067 * sysdeps/s390/s390-64/configure: Delete file.
29068 * sysdeps/s390/configure: Regenerate.
29069
29070 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
29071
29072 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
29073
29074 2014-04-11 Will Newton <will.newton@linaro.org>
29075
29076 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
29077 to zero if it is not defined elsewhere. (mtrim): Test
29078 the value of MALLOC_DEBUG with #if rather than #ifdef.
29079
29080 2014-04-10 Torvald Riegel <triegel@redhat.com>
29081
29082 * benchtests/pthread_once-inputs: New file.
29083 * benchtests/pthread_once-source.c: New file.
29084 * benchtests/README: Update documentation.
29085
29086 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
29087 H.J. Lu <hongjiu.lu@intel.com>
29088
29089 [BZ #16275]
29090 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
29091 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
29092 * sysdeps/x86_64/configure: Regenerated.
29093 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
29094 macro.
29095 (REGISTER_SAVE_RAX): Likewise.
29096 (REGISTER_SAVE_RCX): Likewise.
29097 (REGISTER_SAVE_RDX): Likewise.
29098 (REGISTER_SAVE_RSI): Likewise.
29099 (REGISTER_SAVE_RDI): Likewise.
29100 (REGISTER_SAVE_R8): Likewise.
29101 (REGISTER_SAVE_R9): Likewise.
29102 (REGISTER_SAVE_BND0): Likewise.
29103 (REGISTER_SAVE_BND1): Likewise.
29104 (REGISTER_SAVE_BND2): Likewise.
29105 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
29106 bound registers when calling _dl_fixup.
29107
29108 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29109
29110 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
29111 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
29112 of its definition.
29113 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
29114 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
29115 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
29116 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
29117 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
29118 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
29119 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
29120
29121 2014-04-09 Peter Brett <peter@peter-b.co.uk>
29122
29123 [BZ #15514]
29124 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
29125 pathconf(_PC_NAME_MAX).
29126
29127 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29128
29129 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
29130 Remove macro usage.
29131 (__PTHREAD_SPINS): Move definition to ...
29132 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29133 (__PTHREAD_SPINS): ... here.
29134 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29135 (__PTHREAD_SPIN): Likewise.
29136 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
29137 (__PTHREAD_SPIN): Likewise.
29138 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
29139 (__PTHREAD_SPIN): Likewise.
29140 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
29141 (__PTHREAD_SPIN): Likewise.
29142 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29143 (__PTHREAD_SPIN): Likewise.
29144 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29145 (__PTHREAD_SPIN): Likewise.
29146 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
29147 (__PTHREAD_SPIN): Likewise.
29148 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29149 (__PTHREAD_SPIN): Likewise.
29150 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29151 (__PTHREAD_SPIN): Likewise.
29152 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29153 (__PTHREAD_SPIN): Likewise.
29154 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29155 (__PTHREAD_SPIN): Likewise.
29156 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
29157 (__PTHREAD_SPIN): Likewise.
29158
29159 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
29160 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
29161 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
29162 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
29163 imply folder.
29164 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
29165 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
29166 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
29167 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
29168 correct imply path.
29169 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
29170 strlen symbol for non multi-arch builds.
29171 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
29172 missing hidden_def and weak_alias.
29173
29174 2014-04-08 Carlos O'Donell <carlos@redhat.com>
29175
29176 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
29177
29178 2014-04-07 Will Newton <will.newton@linaro.org>
29179
29180 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
29181 and contents. [!_LIBC] Remove #ifndef and contents.
29182 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
29183 * string/memccpy.c (__memccpy): Use ANSI prototype.
29184 * string/memfrob.c (memfrob): Likewise.
29185 * string/strcoll.c (STRCOLL): Likewise.
29186 * string/strlen.c (strlen): Likewise.
29187 * string/strtok.c (STRTOK): Likewise.
29188 * string/strcat.c: Remove unused #include of memcopy.h.
29189 (strcat): Use ANSI prototype.
29190 * string/strchr.c: Remove unused #include of memcopy.h.
29191 (strchr): Use ANSI prototype.
29192 * string/strcmp.c: Remove unused #include of memcopy.h.
29193 (strcmp): Use ANSI prototype.
29194 * string/strcpy.c: Remove unused #include of memcopy.h.
29195 (strcpy): Use ANSI prototype.
29196
29197 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29198
29199 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
29200 * config.make.in (config-extra-cppflags): Set it from
29201 libc_extra_cppflags.
29202 * configure.ac (libc_extra_cflags): Make it accumulate over
29203 configure fragments.
29204 (libc_extra_cppflags): New flag.
29205 * configure. Regenerate.
29206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29207 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
29208 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
29209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
29210
29211 [BZ #16815]
29212 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
29213 result for FE_DOWNWARD rounding mode.
29214 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
29215 Likewise.
29216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29217
29218 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
29219
29220 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
29221 in function argument name.
29222
29223 2014-04-03 David Svoboda <svoboda@cert.org>
29224
29225 [BZ #5666]
29226 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
29227 explicitly.
29228
29229 2014-04-03 Roland McGrath <roland@hack.frob.com>
29230
29231 * elf/dl-unmap-segments.h: New file.
29232 * sysdeps/generic/ldsodefs.h
29233 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
29234 * elf/dl-close.c: Include <dl-unmap-segments.h>.
29235 * elf/dl-fptr.c: Likewise.
29236 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
29237 * sysdeps/aarch64/tlsdesc.c: Likewise.
29238 * sysdeps/arm/tlsdesc.c: Likewise.
29239 * sysdeps/i386/tlsdesc.c: Likewise.
29240 * sysdeps/tile/dl-runtime.c: Likewise.
29241 * sysdeps/x86_64/tlsdesc.c: Likewise.
29242 * elf/dl-load.h: New file.
29243 * elf/dl-load.c: Include it.
29244 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
29245 Macros moved to dl-load.h.
29246 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
29247 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
29248 Use _dl_unmap_segments in place of __munmap.
29249 Break out segment-mapping loop into ...
29250 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
29251
29252 2014-04-03 Will Newton <will.newton@linaro.org>
29253
29254 * elf/dl-lookup.c (do_lookup_x): Remove comment
29255 referring to nested function and move variable
29256 declarations down to before first use.
29257
29258 2014-04-02 Joseph Myers <joseph@codesourcery.com>
29259
29260 [BZ #16799]
29261 [BZ #16800]
29262 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
29263 with 0 numerator.
29264 * math/s_catanf.c (__catanf): Likewise.
29265 * math/s_catanh.c (__catanh): Likewise.
29266 * math/s_catanhf.c (__catanhf): Likewise.
29267 * math/s_catanhl.c (__catanhl): Likewise.
29268 * math/s_catanl.c (__catanl): Likewise.
29269 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
29270 by positive zero when computing -Inf result.
29271 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
29272 (catanh_test): Likewise.
29273 * sysdeps/i386/fpu/libm-test-ulps: Update.
29274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29275
29276 [BZ #16789]
29277 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
29278 instead of using underflowing value in computing result.
29279 * math/s_clog10.c (__clog10): Likewise.
29280 * math/s_clog10f.c (__clog10f): Likewise.
29281 * math/s_clog10l.c (__clog10l): Likewise.
29282 * math/s_clogf.c (__clogf): Likewise.
29283 * math/s_clogl.c (__clogl): Likewise.
29284 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
29285 (clog10_test): Likewise.
29286 * sysdeps/i386/fpu/libm-test-ulps: Update.
29287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29288
29289 2014-04-02 Alan Modra <amodra@gmail.com>
29290
29291 [BZ #16739]
29292 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
29293 output when value is near a power of two. Use int64_t for lx and
29294 remove casts. Use decimal rather than hex exponent constants.
29295 Don't use long double multiplication when double will suffice.
29296 * math/libm-test.inc (nextafter_test_data): Add tests.
29297 * NEWS: Add 16739 and 16786 to bug list.
29298
29299 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
29300
29301 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
29302
29303 2014-04-01 Will Newton <will.newton@linaro.org>
29304
29305 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
29306 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
29307
29308 2014-04-01 Florian Weimer <fweimer@redhat.com>
29309
29310 [BZ #13347]
29311 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
29312 * nptl/tst-setuid2.c: New file.
29313 * nptl/Makefile (xtests): Add tst-setuid2.
29314
29315 2014-04-01 Alan Modra <amodra@gmail.com>
29316
29317 [BZ #16786]
29318 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
29319
29320 2014-03-31 Joseph Myers <joseph@codesourcery.com>
29321
29322 [BZ #6803]
29323 [BZ #6804]
29324 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
29325 set errno as appropriate.
29326 * math/w_scalbf.c (__scalbf): Likewise.
29327 * math/w_scalbl.c (__scalbl): Likewise.
29328 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
29329 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
29330 * math/libm-test.inc (scalb_test_data): Add errno expectations.
29331 Add more NaN tests.
29332
29333 [BZ #16349]
29334 * math/w_atan2.c: Include <errno.h>.
29335 (__atan2): Set errno for result underflowing to zero.
29336 * math/w_atan2f.c: Include <errno.h>.
29337 (__atan2f): Set errno for result underflowing to zero.
29338 * math/w_atan2l.c: Include <errno.h>.
29339 (__atan2l): Set errno for result underflowing to zero.
29340 * math/auto-libm-test-in: Don't allow missing errno for some atan2
29341 tests.
29342 * math/auto-libm-test-out: Regenerated.
29343
29344 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29345
29346 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29347 Encode instruction correctly in little endian.
29348 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29349 Likewise.
29350 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29351 Likewise.
29352 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29353 Likewise.
29354 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29355 Likewise.
29356
29357 2014-03-31 Joseph Myers <joseph@codesourcery.com>
29358
29359 [BZ #9894]
29360 * sysdeps/unix/sysv/linux/kernel-features.h
29361 [__sparc__ && !__arch64__ && !__sparc_v9__]
29362 (__ASSUME_SET_ROBUST_LIST): Do not define.
29363 [__sparc__ && !__arch64__ && !__sparc_v9__]
29364 (__ASSUME_FUTEX_LOCK_PI): Likewise.
29365 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
29366 Likewise.
29367 * sysdeps/unix/sysv/linux/arm/kernel-features.h
29368 (__ASSUME_FUTEX_LOCK_PI): Undefine.
29369 (__ASSUME_REQUEUE_PI): Likewise.
29370 (__ASSUME_SET_ROBUST_LIST): Likewise.
29371 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29372 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
29373 Undefine.
29374 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29375 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
29376 Likewise.
29377 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
29378 Likewise.
29379 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
29380 Likewise.
29381 * sysdeps/unix/sysv/linux/mips/kernel-features.h
29382 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
29383 Undefine.
29384 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
29385 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
29386 Likewise.
29387
29388 [BZ #16648]
29389 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29390 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
29391 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
29392
29393 2014-03-31 Will Newton <will.newton@linaro.org>
29394
29395 * benchtests/Makefile (bench): Add ffs and ffsll to list
29396 of tests.
29397 * benchtests/ffs-inputs: New file.
29398 * benchtests/ffsll-inputs: Likewise.
29399
29400 2014-03-29 Joseph Myers <joseph@codesourcery.com>
29401
29402 [BZ #16770]
29403 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
29404 too large before casting to int.
29405 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
29406 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
29407 * math/libm-test.inc (scalb_test_data): Add more tests.
29408
29409 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29410
29411 * benchtests/Makefile (DETAILED_OPT): New make option.
29412 (bench-func): Run benchmark program with -d if DETAILED_OPT is
29413 set.
29414 * benchtests/bench-skeleton.c: Include stdbool.h.
29415 (main): Store and print timings per input.
29416 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
29417 member to each argument value.
29418 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
29419 (_print_arg_data): Initialize per-input timing to 0.
29420
29421 * benchtests/Makefile (timing-type): New binary.
29422 (bench-clean): Also remove bench-timing-type.
29423 (bench): New target for timing-type.
29424 (bench-func): Print output in JSON format.
29425 * benchtests/bench-skeleton.c (main): Print output in JSON
29426 format.
29427 * benchtests/bench-timing-type.c: New file.
29428 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
29429 (TIMING_PRINT_STATS): Remove.
29430 * benchtests/scripts/bench.py (_print_arg_data): Store variant
29431 name separately.
29432
29433 * benchtests/bench-modf.c: Remove.
29434 * benchtests/modf-inputs: New inputs file.
29435
29436 2014-03-28 Joseph Myers <joseph@codesourcery.com>
29437
29438 [BZ #16362]
29439 * math/s_clog10.c (M_PI_LOG10E): New macro.
29440 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
29441 imaginary parts are 0.
29442 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
29443 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
29444 imaginary parts are 0.
29445 * math/s_clog10l.c (M_PI_LOG10El): New macro.
29446 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
29447 imaginary parts are 0.
29448 * math/libm-test.inc (clog10_test_data): Update expected results
29449 for when real and imaginary parts are 0.
29450
29451 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
29452
29453 * elf/dl-load.c: Finish conversion of __builtin_expect into
29454 __glibc_{un}likely.
29455
29456 2014-03-27 Joseph Myers <joseph@codesourcery.com>
29457
29458 [BZ #16348]
29459 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
29460 1+x for argument with exponent below -67.
29461 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
29462 Likewise.
29463 * math/auto-libm-test-in: Add more tests of exp.
29464 * math/auto-libm-test-out: Regenerated.
29465
29466 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29467
29468 [BZ #16759]
29469 * inet/getnetgrent_r.c (get_nonempty_val): New function.
29470 (nscd_getnetgrent): Use it.
29471
29472 [BZ #16760]
29473 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
29474 of stpcpy.
29475
29476 2014-03-27 Andi Kleen <ak@linux.intel.com>
29477
29478 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
29479 (lll_robust_lock, lll_cond_lock, lll_timedlock)
29480 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29481 (lll_robust_unlock): Remove out of line section. Use cfi
29482 intrinsics.
29483 (LLL_STUB_UNWIND_INFO*): Remove.
29484 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
29485 (lll_robust_lock, lll_cond_lock, lll_timedlock)
29486 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29487 (lll_robust_unlock): Remove out of line section. Use cfi
29488 intrinsics.
29489 (LLL_STUB_UNWIND_INFO*): Remove.
29490
29491 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29492
29493 [BZ #16758]
29494 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
29495 blank values.
29496
29497 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
29498
29499 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
29500
29501 2014-03-26 Joseph Myers <joseph@codesourcery.com>
29502
29503 [BZ #16198]
29504 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
29505 fnstenv.
29506 * math/test-fenv-preserve.c: New file.
29507 * math/Makefile (tests): Add test-fenv-preserve.
29508
29509 2014-03-26 Will Newton <will.newton@linaro.org>
29510
29511 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
29512
29513 2014-03-25 Roland McGrath <roland@hack.frob.com>
29514
29515 * scripts/versionlist.awk: Partition the version sets and emit all
29516 GLIBC_* (sorted) before all others (sorted).
29517
29518 2014-03-25 Joseph Myers <joseph@codesourcery.com>
29519
29520 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
29521 GLIBC_2.2.5 version.
29522
29523 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29524
29525 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
29526 calls.
29527
29528 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
29529 previous change.
29530
29531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29532
29533 2014-03-25 Andreas Schwab <schwab@suse.de>
29534
29535 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
29536 label to be used after in6ailist is initialized.
29537
29538 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29539
29540 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29541 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29542
29543 2014-03-25 Joseph Myers <joseph@codesourcery.com>
29544
29545 [BZ #16357]
29546 [BZ #16599]
29547 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
29548 min_plus_half.
29549 (fp_formats): Update initializers.
29550 (init_fp_formats): Initialize new field.
29551 (output_for_one_input_case): Allow underflow for results up to
29552 min_plus_half.
29553 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
29554 * math/auto-libm-test-in: Don't mark some underflows from asin and
29555 atanh as spurious.
29556 * math/auto-libm-test-out: Regenerated.
29557 * sysdeps/i386/fpu/libm-test-ulps: Update.
29558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29559
29560 2014-03-25 Andreas Schwab <schwab@suse.de>
29561
29562 * libio/Makefile (tst-ftell-partial-wide-ENV)
29563 (tst-ftell-active-handler-ENV): Define.
29564
29565 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29566
29567 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
29568
29569 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
29570
29571 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
29572
29573 2014-03-24 Joseph Myers <joseph@codesourcery.com>
29574
29575 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
29576 * sysdeps/x86_64/fpu/multiarch/e_exp.c
29577 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29578
29579 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
29580
29581 [BZ #16634]
29582 * elf/dl-load.c (open_verify): Add mode parameter.
29583 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
29584 (open_path): Change from boolean 'secure' to complete flag 'mode'
29585 (_dl_map_object): Adjust.
29586 * elf/Makefile (tests): Add tst-dlopen-aout.
29587 * elf/tst-dlopen-aout.c: New test.
29588
29589 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
29590
29591 [BZ #16714]
29592 * sysdeps/unix/sysv/linux/s390/bits/stat.h
29593 (struct stat): Rename member pad0 to __glibc_reserved0.
29594
29595 [BZ #16712]
29596 * sysdeps/s390/s390-32/bits/wordsize.h
29597 (__WORDSIZE32_SIZE_ULONG): New define.
29598 * sysdeps/s390/s390-64/bits/wordsize.h
29599 (__WORDSIZE32_SIZE_ULONG): Likewise.
29600 * sysdeps/generic/stdint.h (SIZE_MAX):
29601 Define as UL if __WORDSIZE32_SIZE_ULONG.
29602
29603 [BZ #16713]
29604 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29605 (__glibc_reserved0): New variable.
29606 (sa_flags): Change type to int.
29607
29608 * posix/Makefile (before-compile): Use += before-compile instead
29609 of a :=.
29610
29611 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29612 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29613
29614 2014-03-20 Andreas Schwab <schwab@suse.de>
29615
29616 [BZ #16743]
29617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
29618 non-matching result from nscd.
29619
29620 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29621
29622 * scripts/bench.py: Moved to ...
29623 * benchtests/scripts/bench.py: ... here.
29624 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
29625
29626 2014-03-24 Andreas Schwab <schwab@suse.de>
29627
29628 [BZ #16002]
29629 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
29630 alloca_account and account alloca use for struct in6ailist.
29631
29632 2014-03-24 Joseph Myers <joseph@codesourcery.com>
29633
29634 [BZ #16284]
29635 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
29636 rounding mode to recompute results that overflow to infinity or
29637 underflow to zero.
29638 * math/auto-libm-test-in: Don't mark tests as expected to fail for
29639 bug 16284.
29640 * math/auto-libm-test-out: Regenerated.
29641 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
29642 (ccosh_test): Likewise.
29643 (csin_test_data): Use plus_oflow.
29644 (csin_test): Use ALL_RM_TEST.
29645 (csinh_test_data): Use plus_oflow.
29646 (csinh_test): Use ALL_RM_TEST.
29647 * sysdeps/i386/fpu/libm-test-ulps: Update.
29648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29649
29650 2014-03-21 Joseph Myers <joseph@codesourcery.com>
29651
29652 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
29653 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
29654 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
29655
29656 [BZ #16731]
29657 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
29658 when x - 1 is zero.
29659 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
29660 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
29661 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29662 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
29663 argument is 1.
29664 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
29665 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
29666 zero.
29667 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
29668 * sysdeps/i386/fpu/libm-test-ulps: Update.
29669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29670
29671 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29672
29673 * scripts/bench.pl: Remove file.
29674 * scripts/bench.py: New benchmark script.
29675 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
29676 * benchtests/README: Mention python dependency.
29677 * scripts/pylintrc: New file.
29678 * scripts/pylint: New file.
29679
29680 * bits/mathdef.h: Use #ifdef instead of #if.
29681 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
29682 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29683 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
29684 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29685 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
29686 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29687
29688 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29689 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
29690
29691 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
29692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
29693 and strpbrk-ppc64 objects.
29694 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29695 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
29696 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
29697 multiarch strpbrk for POWER7.
29698 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
29699 multiarch strpbrk for PPC64.
29700 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
29701 ifunc selector.
29702 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
29703 strpbrk for POWER7.
29704
29705 2014-03-20 Joseph Myers <joseph@codesourcery.com>
29706
29707 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
29708 (atan_test): Likewise.
29709 (atanh_test_data): Use NO_TEST_INLINE for two tests.
29710 (atanh_test): Use ALL_RM_TEST.
29711 (atan2_test_data): Likewise.
29712 (cabs_test): Likewise.
29713 (cacosh_test): Likewise.
29714 (carg_test): Likewise.
29715 (casin_test): Likewise.
29716 (casinh_test): Likewise.
29717 (cbrt_test): Likewise.
29718 (csqrt_test): Likewise.
29719 (erf_test): Likewise.
29720 (erfc_test): Likewise.
29721 (pow10_test): Likewise.
29722 (exp2_test): Likewise.
29723 (hypot_test): Likewise.
29724 (j0_test): Likewise.
29725 (j1_test): Likewise.
29726 (lgamma_test): Likewise.
29727 (gamma_test): Likewise.
29728 (sincos_test): Likewise.
29729 (tanh_test): Likewise.
29730 (y0_test): Likewise.
29731 (y1_test): Likewise.
29732 * sysdeps/i386/fpu/libm-test-ulps: Update.
29733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29734
29735 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29736
29737 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
29738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
29739 and strcspn-ppc64 objects.
29740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29741 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
29742 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
29743 multiarch strcspn for POWER7.
29744 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
29745 multiarch strcspn for PPC64.
29746 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
29747 ifunc selector.
29748 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
29749 strcspn for POWER7.
29750
29751 2014-03-20 Joseph Myers <joseph@codesourcery.com>
29752
29753 * math/gen-libm-test.pl (generate_testfile): Expect only function
29754 name as argument to AUTO_TESTS_* and pass results for all rounding
29755 modes to parse_args.
29756 (parse_auto_input): Separate inputs of automatic tests from
29757 outputs before storing in %auto_tests.
29758 * math/libm-test.inc (acos_test_data): Update call to
29759 AUTO_TESTS_f_f.
29760 (acos_test): Use ALL_RM_TEST.
29761 (acos_tonearest_test_data): Remove.
29762 (acos_test_tonearest): Likewise.
29763 (acos_towardzero_test_data): Likewise.
29764 (acos_test_towardzero): Likewise.
29765 (acos_downward_test_data): Likewise.
29766 (acos_test_downward): Likewise.
29767 (acos_upward_test_data): Likewise.
29768 (acos_test_upward): Likewise.
29769 (acosh_test_data): Update call to AUTO_TESTS_f_f.
29770 (asin_test_data): Likewise.
29771 (asin_test): Use ALL_RM_TEST.
29772 (asin_tonearest_test_data): Remove.
29773 (asin_test_tonearest): Likewise.
29774 (asin_towardzero_test_data): Likewise.
29775 (asin_test_towardzero): Likewise.
29776 (asin_downward_test_data): Likewise.
29777 (asin_test_downward): Likewise.
29778 (asin_upward_test_data): Likewise.
29779 (asin_test_upward): Likewise.
29780 (asinh_test_data): Update call to AUTO_TESTS_f_f.
29781 (atan_test_data): Likewise.
29782 (atanh_test_data): Likewise.
29783 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
29784 (cabs_test_data): Update call to AUTO_TESTS_c_f.
29785 (carg_test_data): Likewise.
29786 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
29787 (ccos_test_data): Update call to AUTO_TESTS_c_c.
29788 (ccosh_test_data): Likewise.
29789 (cexp_test_data): Likewise.
29790 (clog_test_data): Likewise.
29791 (clog10_test_data): Likewise.
29792 (cos_test_data): Update call to AUTO_TESTS_f_f.
29793 (cos_test): Use ALL_RM_TEST.
29794 (cos_tonearest_test_data): Remove.
29795 (cos_test_tonearest): Likewise.
29796 (cos_towardzero_test_data): Likewise.
29797 (cos_test_towardzero): Likewise.
29798 (cos_downward_test_data): Likewise.
29799 (cos_test_downward): Likewise.
29800 (cos_upward_test_data): Likewise.
29801 (cos_test_upward): Likewise.
29802 (cosh_test_data): Update call to AUTO_TESTS_f_f.
29803 (cosh_test): Use ALL_RM_TEST.
29804 (cosh_tonearest_test_data): Remove.
29805 (cosh_test_tonearest): Likewise.
29806 (cosh_towardzero_test_data): Likewise.
29807 (cosh_test_towardzero): Likewise.
29808 (cosh_downward_test_data): Likewise.
29809 (cosh_test_downward): Likewise.
29810 (cosh_upward_test_data): Likewise.
29811 (cosh_test_upward): Likewise.
29812 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
29813 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
29814 (ctan_test_data): Likewise.
29815 (ctan_test): Use ALL_RM_TEST.
29816 (ctan_tonearest_test_data): Remove.
29817 (ctan_test_tonearest): Likewise.
29818 (ctan_towardzero_test_data): Likewise.
29819 (ctan_test_towardzero): Likewise.
29820 (ctan_downward_test_data): Likewise.
29821 (ctan_test_downward): Likewise.
29822 (ctan_upward_test_data): Likewise.
29823 (ctan_test_upward): Likewise.
29824 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
29825 (ctanh_test): Use ALL_RM_TEST.
29826 (ctanh_tonearest_test_data): Remove.
29827 (ctanh_test_tonearest): Likewise.
29828 (ctanh_towardzero_test_data): Likewise.
29829 (ctanh_test_towardzero): Likewise.
29830 (ctanh_downward_test_data): Likewise.
29831 (ctanh_test_downward): Likewise.
29832 (ctanh_upward_test_data): Likewise.
29833 (ctanh_test_upward): Likewise.
29834 (erf_test_data): Update call to AUTO_TESTS_f_f.
29835 (erfc_test_data): Likewise.
29836 (exp_test_data): Likewise.
29837 (exp_test): Use ALL_RM_TEST.
29838 (exp_tonearest_test_data): Remove.
29839 (exp_test_tonearest): Likewise.
29840 (exp_towardzero_test_data): Likewise.
29841 (exp_test_towardzero): Likewise.
29842 (exp_downward_test_data): Likewise.
29843 (exp_test_downward): Likewise.
29844 (exp_upward_test_data): Likewise.
29845 (exp_test_upward): Likewise.
29846 (exp10_test_data): Update call to AUTO_TESTS_f_f.
29847 (exp10_test): Use ALL_RM_TEST.
29848 (exp10_tonearest_test_data): Remove.
29849 (exp10_test_tonearest): Likewise.
29850 (exp10_towardzero_test_data): Likewise.
29851 (exp10_test_towardzero): Likewise.
29852 (exp10_downward_test_data): Likewise.
29853 (exp10_test_downward): Likewise.
29854 (exp10_upward_test_data): Likewise.
29855 (exp10_test_upward): Likewise.
29856 (exp2_test_data): Update call to AUTO_TESTS_f_f.
29857 (expm1_test_data): Likewise.
29858 (expm1_test): Use ALL_RM_TEST.
29859 (expm1_tonearest_test_data): Remove.
29860 (expm1_test_tonearest): Likewise.
29861 (expm1_towardzero_test_data): Likewise.
29862 (expm1_test_towardzero): Likewise.
29863 (expm1_downward_test_data): Likewise.
29864 (expm1_test_downward): Likewise.
29865 (expm1_upward_test_data): Likewise.
29866 (expm1_test_upward): Likewise.
29867 (fma_test_data): Update call to AUTO_TESTS_fff_f.
29868 (fma_test): Use ALL_RM_TEST.
29869 (fma_towardzero_test_data): Remove.
29870 (fma_test_towardzero): Likewise.
29871 (fma_downward_test_data): Likewise.
29872 (fma_test_downward): Likewise.
29873 (fma_upward_test_data): Likewise.
29874 (fma_test_upward): Likewise.
29875 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
29876 (j0_test_data): Update call to AUTO_TESTS_f_f.
29877 (j1_test_data): Likewise.
29878 (jn_test_data): Update call to AUTO_TESTS_if_f.
29879 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
29880 (log_test_data): Update call to AUTO_TESTS_f_f.
29881 (log10_test_data): Likewise.
29882 (log1p_test_data): Likewise.
29883 (log2_test_data): Likewise.
29884 (pow_test_data): Update call to AUTO_TESTS_ff_f.
29885 (pow_tonearest_test_data): Likewise.
29886 (sin_test_data): Update call to AUTO_TESTS_f_f.
29887 (sin_test): Use ALL_RM_TEST.
29888 (sin_tonearest_test_data): Remove.
29889 (sin_test_tonearest): Likewise.
29890 (sin_towardzero_test_data): Likewise.
29891 (sin_test_towardzero): Likewise.
29892 (sin_downward_test_data): Likewise.
29893 (sin_test_downward): Likewise.
29894 (sin_upward_test_data): Likewise.
29895 (sin_test_upward): Likewise.
29896 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
29897 (sinh_test_data): Update call to AUTO_TESTS_f_f.
29898 (sinh_test): Use ALL_RM_TEST.
29899 (sinh_tonearest_test_data): Remove.
29900 (sinh_test_tonearest): Likewise.
29901 (sinh_towardzero_test_data): Likewise.
29902 (sinh_test_towardzero): Likewise.
29903 (sinh_downward_test_data): Likewise.
29904 (sinh_test_downward): Likewise.
29905 (sinh_upward_test_data): Likewise.
29906 (sinh_test_upward): Likewise.
29907 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
29908 (sqrt_test): Use ALL_RM_TEST.
29909 (sqrt_tonearest_test_data): Remove.
29910 (sqrt_test_tonearest): Likewise.
29911 (sqrt_towardzero_test_data): Likewise.
29912 (sqrt_test_towardzero): Likewise.
29913 (sqrt_downward_test_data): Likewise.
29914 (sqrt_test_downward): Likewise.
29915 (sqrt_upward_test_data): Likewise.
29916 (sqrt_test_upward): Likewise.
29917 (tan_test_data): Update call to AUTO_TESTS_f_f.
29918 (tan_test): Use ALL_RM_TEST.
29919 (tan_tonearest_test_data): Remove.
29920 (tan_test_tonearest): Likewise.
29921 (tan_towardzero_test_data): Likewise.
29922 (tan_test_towardzero): Likewise.
29923 (tan_downward_test_data): Likewise.
29924 (tan_test_downward): Likewise.
29925 (tan_upward_test_data): Likewise.
29926 (tan_test_upward): Likewise.
29927 (tanh_test_data): Update call to AUTO_TESTS_f_f.
29928 (tgamma_test_data): Likewise.
29929 (y0_test_data): Likewise.
29930 (y1_test_data): Likewise.
29931 (yn_test_data): Update call to AUTO_TESTS_if_f.
29932 (main): Do not call removed functions.
29933
29934 2014-03-19 Joseph Myers <joseph@codesourcery.com>
29935
29936 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
29937 (ldexp_test_data): Remove.
29938 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
29939 scalbn_test_data.
29940 (scalb_test): Use ALL_RM_TEST.
29941
29942 2014-03-19 Andreas Schwab <schwab@suse.de>
29943
29944 * nscd/nscd.service: Also invalidate netgroup cache on reload.
29945
29946 2014-03-19 Joseph Myers <joseph@codesourcery.com>
29947
29948 [BZ #16649]
29949 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29950 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
29951 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
29952 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29953 (__ASSUME_PREADV): Undefine.
29954 (__ASSUME_PWRITEV): Likewise.
29955
29956 2014-03-18 Roland McGrath <roland@hack.frob.com>
29957
29958 * bits/mman-linux.h: Add comment about non-Linux use.
29959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
29960 bits/mman-linux.h resting place.
29961
29962 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
29963 * bits/mman-linux.h: ... here.
29964
29965 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29966
29967 * conform/conformtest.pl: Add standard definition when calling C
29968 preprocessor on data files.
29969 (checknamespace): Remove unused variable.
29970
29971 2014-03-18 Joseph Myers <joseph@codesourcery.com>
29972
29973 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
29974 minus_oflow, plus_uflow and minus_uflow in expected results.
29975 * math/libm-test.inc (scalbn_test_data): Add more tests of
29976 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
29977 minus_uflow.
29978 (scalbn_test): Use ALL_RM_TEST.
29979 (scalbln_test_data): Add more tests of negative arguments. Use
29980 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
29981 (scalbln_test): Use ALL_RM_TEST.
29982
29983 2014-03-18 Roland McGrath <roland@hack.frob.com>
29984
29985 * scripts/abilist.awk: Ignore symbols marked with .hidden.
29986
29987 2014-03-18 Will Newton <will.newton@linaro.org>
29988
29989 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
29990 inaccurate comment.
29991
29992 2014-03-18 Joseph Myers <joseph@codesourcery.com>
29993
29994 * Makerules [!subdir] (check-abi): Exit with error status if a
29995 test failed.
29996
29997 2014-03-17 Joseph Myers <joseph@codesourcery.com>
29998
29999 * math/libm-test.inc (nearbyint_test_data): Include all tests used
30000 for rint. Include results for all rounding modes.
30001 (nearbyint_test): Use ALL_RM_TEST.
30002 (rint_test_data): Include all tests used for nearbyint.
30003
30004 2014-03-17 Will Newton <will.newton@linaro.org>
30005
30006 * nptl/sysdeps/pthread/pthread.h: Revert previous
30007 change.
30008
30009 * sysdeps/generic/ldsodefs.h: Revert previous
30010 change.
30011
30012 * libio/genops.c: Revert previous change.
30013 * libio/libioP.h: Likewise.
30014 * stdio-common/vfprintf.c: Likewise.
30015
30016 * sysdeps/generic/math_private.h: Revert previous
30017 change.
30018
30019 * sysdeps/generic/math_private.h: Check whether
30020 HAVE_RM_CTX is defined with #ifdef rather
30021 than #if.
30022
30023 * argp/argp-fmtstream.h: Check whether
30024 __STRICT_ANSI__ is defined with #ifdef rather
30025 than #if.
30026 * argp/argp.h: Likewise.
30027
30028 * libio/genops.c: Check whether
30029 _IO_JUMPS_OFFSET is defined with #ifdef rather
30030 than #if.
30031 * libio/libioP.h: Likewise.
30032 * stdio-common/vfprintf.c: Likewise.
30033
30034 * sysdeps/generic/ldsodefs.h: Check whether
30035 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
30036 than #if.
30037
30038 * nptl/sysdeps/pthread/pthread.h: Check
30039 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
30040 its value.
30041
30042 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30043
30044 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
30045 setting O_APPEND.
30046 * libio/tst-ftell-active-handler.c (do_append_test): Add a
30047 test case.
30048
30049 [BZ #16680]
30050 * libio/fileops.c (_IO_file_open): Seek to end of file but
30051 don't cache the offset.
30052 (get_file_offset): Remove function.
30053 (do_ftell): Use cached offset when available.
30054 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
30055 don't cache the offset.
30056 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
30057 case.
30058 (do_one_test): Call it.
30059 (do_ftell_test): Fix up expected old offset for a+ mode.
30060 * libio/wfileops.c (do_ftell_wide): Used cached offset when
30061 available.
30062
30063 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
30064 up test status with function return status.
30065 (do_write_test): Likewise.
30066 (do_append_test): Likewise.
30067
30068 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
30069 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
30070 Remove.
30071
30072 2014-03-17 Joseph Myers <joseph@codesourcery.com>
30073
30074 * math/gen-libm-test.pl (parse_args): Handle results specified for
30075 each rounding mode separately.
30076 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
30077 tests and results from lrint_tonearest_test_data,
30078 lrint_towardzero_test_data, lrint_downward_test_data and
30079 lrint_upward_test_data.
30080 (lrint_test): Use ALL_RM_TEST.
30081 (lrint_tonearest_test_data): Remove.
30082 (lrint_test_tonearest): Likewise.
30083 (lrint_towardzero_test_data): Likewise.
30084 (lrint_test_towardzero): Likewise.
30085 (lrint_downward_test_data): Likewise.
30086 (lrint_test_downward): Likewise.
30087 (lrint_upward_test_data): Likewise.
30088 (lrint_test_upward): Likewise.
30089 (llrint_test_data): Merge in per-rounding-mode tests and results
30090 from llrint_tonearest_test_data, llrint_towardzero_test_data,
30091 llrint_downward_test_data and llrint_upward_test_data.
30092 (llrint_test): Use ALL_RM_TEST.
30093 (llrint_tonearest_test_data): Remove.
30094 (llrint_test_tonearest): Likewise.
30095 (llrint_towardzero_test_data): Likewise.
30096 (llrint_test_towardzero): Likewise.
30097 (llrint_downward_test_data): Likewise.
30098 (llrint_test_downward): Likewise.
30099 (llrint_upward_test_data): Likewise.
30100 (llrint_test_upward): Likewise.
30101 (rint_test_data): Merge in per-rounding-mode tests and results
30102 from rint_tonearest_test_data, rint_towardzero_test_data,
30103 rint_downward_test_data and rint_upward_test_data. Add
30104 per-rounding-mode results for tests not in those arrays.
30105 (rint_test): Use ALL_RM_TEST.
30106 (rint_tonearest_test_data): Remove.
30107 (rint_test_tonearest): Likewise.
30108 (rint_towardzero_test_data): Likewise.
30109 (rint_test_towardzero): Likewise.
30110 (rint_downward_test_data): Likewise.
30111 (rint_test_downward): Likewise.
30112 (rint_upward_test_data): Likewise.
30113 (rint_test_upward): Likewise.
30114 (main): Don't call removed functions.
30115
30116 2014-03-14 Roland McGrath <roland@hack.frob.com>
30117
30118 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
30119 "Compiled on ..." crapola. It is anti-useful.
30120
30121 2014-03-14 Joseph Myers <joseph@codesourcery.com>
30122
30123 * scripts/evaluate-test.sh: Handle fourth argument to determine
30124 whether test run should stop on failure.
30125 * Makeconfig (stop-on-test-failure): New variable.
30126 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
30127 $(stop-on-test-failure).
30128 * Makefile (tests): Give a summary of results from testing and
30129 exit with failure status if they include an ERROR or FAIL.
30130 (xtests): Likewise.
30131 * manual/install.texi (Configuring and compiling): Mention
30132 stop-on-test-failure=y.
30133 * INSTALL: Regenerated.
30134
30135 2014-03-14 Roland McGrath <roland@hack.frob.com>
30136
30137 * scripts/versionlist.awk: New file.
30138 * Makerules [$(build-shared) = yes]
30139 (postclean-generated): Add Versions.def, not Versions.def.v and
30140 Versions.def.v.i.
30141 ($(common-objpfx)Versions.def.v.i): Target removed.
30142 ($(common-objpfx)Versions.def): New target.
30143 ($(common-objpfx)Versions.all): Depend on that rather that
30144 $(common-objpfx)Versions.def.v.
30145 * Versions.def: File removed.
30146
30147 * Makeconfig (+gccwarn): Add -Wundef.
30148 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
30149 a dl-sysdep.h breaking its contract.
30150 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
30151 * include/stackinfo.h: New file.
30152 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
30153 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
30154 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
30155 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
30156 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
30157 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
30158 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30159 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30160 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30161 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30162 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30163 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
30164 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30165 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30166 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
30167
30168 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30169
30170 [BZ #16707]
30171 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
30172 implementation.
30173 * math/libm-test.inc (round_test_data): Add more tests.
30174
30175 [BZ #16706]
30176 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
30177 implementation.
30178 * math/libm-test.inc (nearbyint_test_data): Add more tests.
30179
30180 [BZ #16701]
30181 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
30182 implementation.
30183 * math/libm-test.inc (ceil_test_data): Add more tests.
30184
30185 * math/libm-test.inc (trunc_test_data): Add more tests related to
30186 BZ#16414.
30187
30188 2014-03-14 Roland McGrath <roland@hack.frob.com>
30189
30190 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
30191 with #if rather than #ifdef.
30192 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
30193
30194 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
30195
30196 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
30197 first. Disable AVX-512 GCC support if assembler doesn't support
30198 it.
30199 * sysdeps/x86_64/configure: Regenerated.
30200
30201 2014-03-13 Carlos O'Donell <carlos@redhat.com>
30202
30203 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
30204 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
30205 (__old_pthread_attr_setstack): Likewise.
30206 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
30207 [!_STACK_GROWS_DOWN]: Likewise.
30208
30209 2014-03-13 Mike Frysinger <vapier@gentoo.org>
30210
30211 * config.make.in (have-bash2): Delete.
30212 * configure.ac (libc_cv_have_bash2): Delete.
30213 * configure: Regenerate.
30214 * elf/Makefile (common-ldd-rewrite): Rename to ...
30215 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
30216 (sh-ldd-rewrite): Delete.
30217 (bash-ldd-rewrite): Delete.
30218 (have-bash2): Delete checks.
30219 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
30220 ldd-rewrite.
30221
30222 * config.make.in (have-ksh): Delete.
30223 (KSH): Delete.
30224 * configure.ac (libc_cv_have_ksh): Delete.
30225 * configure: Regenerate.
30226
30227 * elf/Makefile: Delete $(have-ksh) check.
30228 ($(objpfx)sotruss): Change KSH to BASH.
30229 * elf/sotruss.ksh: Rename to ...
30230 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
30231 function style to match POSIX. Drop ksh vim mode setting.
30232
30233 * manual/time.texi (Specifying the Time Zone with TZ): Change
30234 Tuesday to Thursday.
30235
30236 * debug/tst-longjmp_chk2.c: Update header comment.
30237 (stackoverflow_handler): Add comment. Call assert on pass value.
30238
30239 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
30240
30241 [BZ #16194]
30242 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
30243 (HAVE_AVX512_ASM_SUPPORT): Likewise.
30244 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
30245 (La_x86_64_vector): Add zmm.
30246 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
30247 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
30248 ($(objpfx)tst-audit10): New target.
30249 ($(objpfx)tst-audit10.out): Likewise.
30250 (tst-audit10-ENV): New.
30251 (AVX512-CFLAGS): Likewise.
30252 (CFLAGS-tst-audit10.c): Likewise.
30253 (CFLAGS-tst-auditmod10a.c): Likewise.
30254 (CFLAGS-tst-auditmod10b.c): Likewise.
30255 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
30256 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
30257 * sysdeps/x86_64/configure: Regenerated.
30258 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
30259 AVX-512 zmm register support.
30260 (_dl_x86_64_save_sse): Likewise.
30261 (_dl_x86_64_restore_sse): Likewise.
30262 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
30263 size vector registers.
30264 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
30265 (ZMM_SIZE): Likewise.
30266 * sysdeps/x86_64/tst-audit10.c: New file.
30267 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
30268 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
30269
30270 2014-03-13 Roland McGrath <roland@hack.frob.com>
30271
30272 * configure.ac (HAVE_EHDR_START): New check.
30273 * configure: Regenerated.
30274 * config.h.in (HAVE_EHDR_START): New #undef.
30275 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
30276 assuming the lowest-addressed segment maps the start of the file.
30277
30278 2014-03-13 Joseph Myers <joseph@codesourcery.com>
30279
30280 * INSTALL: Regenerated.
30281
30282 2014-03-13 Will Newton <will.newton@linaro.org>
30283
30284 * manual/setjmp.texi (System V contexts): Improve
30285 clarity and grammar of documentation.
30286
30287 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
30288
30289 [BZ #16381]
30290 * elf/Makefile (tests): Add tst-pie2.
30291 (tests-pie): Add tst-pie2.
30292 * elf/tst-pie2.c: New file.
30293 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
30294 for ET_EXEC.
30295 * elf/rtld.c (map_doit): Load executable as lt_executable.
30296 (dl_main): Likewise.
30297
30298 2014-03-12 Joseph Myers <joseph@codesourcery.com>
30299
30300 [BZ #16642]
30301 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30302 (__ASSUME_PSELECT): Undefine.
30303
30304 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30305
30306 [BZ #16689]
30307 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
30308 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
30309 static build.
30310 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
30311 selector for static builds.
30312
30313 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30314
30315 [BZ #16695]
30316 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
30317 key in the buffer.
30318
30319 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30320
30321 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
30322 IFUNC selector for static builds.
30323
30324 2014-03-11 Joseph Myers <joseph@codesourcery.com>
30325
30326 * sysdeps/mips/math_private.h [__mips_hard_float]
30327 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
30328 libc_feresetround_mips_ctx.
30329 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
30330 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
30331 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
30332
30333 [BZ #16677]
30334 * math/s_nextafter.c (__nextafter): Do not return value from
30335 overflowing computation.
30336 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
30337 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
30338 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
30339 Likewise.
30340 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
30341 Likewise.
30342 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
30343 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
30344
30345 2014-03-11 Roland McGrath <roland@hack.frob.com>
30346
30347 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
30348 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
30349 Move sfi_sp use from the load-multiple (that no longer sets sp) to
30350 the new mov targetting sp.
30351
30352 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30353
30354 [BZ #16683]
30355 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
30356 Define it for static builds as well.
30357 (NO_BZERO_IMPL): Likewise.
30358
30359 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
30360
30361 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
30362 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
30363 multiarch strspn for PPC64.
30364 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
30365 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
30366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30367 (__libc_ifunc_impl_list): Likewise.
30368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
30369 multiarch optimizations
30370 * string/strspn.c (strspn): Using macro to redefine symbol name.
30371
30372 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
30373 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30374
30375 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
30376 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
30377 multiarch strncat for PPC64.
30378 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
30379 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
30380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30381 (__libc_ifunc_impl_list): Likewise.
30382 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
30383 multiarch optimizations
30384
30385 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30386
30387 [BZ #16639]
30388 * nscd/nscd.service: Make service type forking.
30389
30390 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30391
30392 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
30393 sign in non default rounding modes.
30394 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
30395
30396 2014-03-08 Joseph Myers <joseph@codesourcery.com>
30397
30398 * math/libm-test.inc (ALL_RM_TEST): New macro.
30399 (ceil_test): Use ALL_RM_TEST.
30400 (cimag_test): Likewise.
30401 (conj_test): Likewise.
30402 (copysign_test): Likewise.
30403 (cproj_test): Likewise.
30404 (creal_test): Likewise.
30405 (fabs_test): Likewise.
30406 (floor_test): Likewise.
30407 (fmax_test): Likewise.
30408 (fmin_test): Likewise.
30409 (fmod_test): Likewise.
30410 (fpclassify_test): Likewise.
30411 (frexp_test): Likewise.
30412 (ilogb_test): Likewise.
30413 (isfinite_test): Likewise.
30414 (finite_test): Likewise.
30415 (isgreater_test): Likewise.
30416 (isgreaterequal_test): Likewise.
30417 (isinf_test): Likewise.
30418 (isless_test): Likewise.
30419 (islessequal_test): Likewise.
30420 (islessgreater_test): Likewise.
30421 (isnan_test): Likewise.
30422 (isnormal_test): Likewise.
30423 (issignaling_test): Likewise.
30424 (isunordered_test): Likewise.
30425 (logb_test): Likewise.
30426 (logb_downward_test_data): Remove.
30427 (logb_test_downward): Likewise.
30428 (lround_test): Use ALL_RM_TEST.
30429 (llround_test): Likewise.
30430 (modf_test): Likewise.
30431 (nexttoward_test): Likewise.
30432 (remainder_test): Likewise.
30433 (drem_test): Likewise.
30434 (remainder_tonearest_test_data): Likewise.
30435 (remainder_test_tonearest): Likewise.
30436 (drem_test_tonearest): Likewise.
30437 (remainder_towardzero_test_data): Likewise.
30438 (remainder_test_towardzero): Likewise.
30439 (drem_test_towardzero): Likewise.
30440 (remainder_downward_test_data): Likewise.
30441 (remainder_test_downward): Likewise.
30442 (drem_test_downward): Likewise.
30443 (remainder_upward_test_data): Likewise.
30444 (remainder_test_upward): Likewise.
30445 (drem_test_upward): Likewise.
30446 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
30447 (round_test): Use ALL_RM_TEST.
30448 (signbit_test): Likewise.
30449 (trunc_test): Likewise.
30450 (significand_test): Likewise.
30451 (main): Don't call removed functions.
30452
30453 2014-03-07 Joseph Myers <joseph@codesourcery.com>
30454
30455 [BZ #16674]
30456 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
30457 || __USE_XOPEN2K8].
30458 (ILL_ILLOPN): Likewise.
30459 (ILL_ILLADR): Likewise.
30460 (ILL_ILLTRP): Likewise.
30461 (ILL_PRVOPC): Likewise.
30462 (ILL_PRVREG): Likewise.
30463 (ILL_COPROC): Likewise.
30464 (ILL_BADSTK): Likewise.
30465 (FPE_INTDIV): Likewise.
30466 (FPE_INTOVF): Likewise.
30467 (FPE_FLTDIV): Likewise.
30468 (FPE_FLTOVF): Likewise.
30469 (FPE_FLTUND): Likewise.
30470 (FPE_FLTRES): Likewise.
30471 (FPE_FLTINV): Likewise.
30472 (FPE_FLTSUB): Likewise.
30473 (SEGV_MAPERR): Likewise.
30474 (SEGV_ACCERR): Likewise.
30475 (BUS_ADRALN): Likewise.
30476 (BUS_ADRERR): Likewise.
30477 (BUS_OBJERR): Likewise.
30478 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30479 (TRAP_TRACE): Likewise.
30480 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30481 __USE_XOPEN2K8].
30482 (CLD_KILLED): Likewise.
30483 (CLD_DUMPED): Likewise.
30484 (CLD_TRAPPED): Likewise.
30485 (CLD_STOPPED): Likewise.
30486 (CLD_CONTINUED): Likewise.
30487 (POLL_IN): Likewise.
30488 (POLL_OUT): Likewise.
30489 (POLL_MSG): Likewise.
30490 (POLL_ERR): Likewise.
30491 (POLL_PRI): Likewise.
30492 (POLL_HUP): Likewise.
30493 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
30494 Likewise.
30495 (ILL_ILLOPN): Likewise.
30496 (ILL_ILLADR): Likewise.
30497 (ILL_ILLTRP): Likewise.
30498 (ILL_PRVOPC): Likewise.
30499 (ILL_PRVREG): Likewise.
30500 (ILL_COPROC): Likewise.
30501 (ILL_BADSTK): Likewise.
30502 (FPE_INTDIV): Likewise.
30503 (FPE_INTOVF): Likewise.
30504 (FPE_FLTDIV): Likewise.
30505 (FPE_FLTOVF): Likewise.
30506 (FPE_FLTUND): Likewise.
30507 (FPE_FLTRES): Likewise.
30508 (FPE_FLTINV): Likewise.
30509 (FPE_FLTSUB): Likewise.
30510 (SEGV_MAPERR): Likewise.
30511 (SEGV_ACCERR): Likewise.
30512 (BUS_ADRALN): Likewise.
30513 (BUS_ADRERR): Likewise.
30514 (BUS_OBJERR): Likewise.
30515 (BUS_MCEERR_AR): Likewise.
30516 (BUS_MCEERR_AO): Likewise.
30517 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30518 (TRAP_TRACE): Likewise.
30519 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30520 __USE_XOPEN2K8].
30521 (CLD_KILLED): Likewise.
30522 (CLD_DUMPED): Likewise.
30523 (CLD_TRAPPED): Likewise.
30524 (CLD_STOPPED): Likewise.
30525 (CLD_CONTINUED): Likewise.
30526 (POLL_IN): Likewise.
30527 (POLL_OUT): Likewise.
30528 (POLL_MSG): Likewise.
30529 (POLL_ERR): Likewise.
30530 (POLL_PRI): Likewise.
30531 (POLL_HUP): Likewise.
30532 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
30533 (ILL_ILLOPN): Likewise.
30534 (ILL_ILLADR): Likewise.
30535 (ILL_ILLTRP): Likewise.
30536 (ILL_PRVOPC): Likewise.
30537 (ILL_PRVREG): Likewise.
30538 (ILL_COPROC): Likewise.
30539 (ILL_BADSTK): Likewise.
30540 (FPE_INTDIV): Likewise.
30541 (FPE_INTOVF): Likewise.
30542 (FPE_FLTDIV): Likewise.
30543 (FPE_FLTOVF): Likewise.
30544 (FPE_FLTUND): Likewise.
30545 (FPE_FLTRES): Likewise.
30546 (FPE_FLTINV): Likewise.
30547 (FPE_FLTSUB): Likewise.
30548 (SEGV_MAPERR): Likewise.
30549 (SEGV_ACCERR): Likewise.
30550 (BUS_ADRALN): Likewise.
30551 (BUS_ADRERR): Likewise.
30552 (BUS_OBJERR): Likewise.
30553 (BUS_MCEERR_AR): Likewise.
30554 (BUS_MCEERR_AO): Likewise.
30555 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30556 (TRAP_TRACE): Likewise.
30557 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30558 __USE_XOPEN2K8].
30559 (CLD_KILLED): Likewise.
30560 (CLD_DUMPED): Likewise.
30561 (CLD_TRAPPED): Likewise.
30562 (CLD_STOPPED): Likewise.
30563 (CLD_CONTINUED): Likewise.
30564 (POLL_IN): Likewise.
30565 (POLL_OUT): Likewise.
30566 (POLL_MSG): Likewise.
30567 (POLL_ERR): Likewise.
30568 (POLL_PRI): Likewise.
30569 (POLL_HUP): Likewise.
30570 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
30571 Likewise.
30572 (ILL_ILLOPN): Likewise.
30573 (ILL_ILLADR): Likewise.
30574 (ILL_ILLTRP): Likewise.
30575 (ILL_PRVOPC): Likewise.
30576 (ILL_PRVREG): Likewise.
30577 (ILL_COPROC): Likewise.
30578 (ILL_BADSTK): Likewise.
30579 (ILL_BADIADDR): Likewise.
30580 (ILL_BREAK): Likewise.
30581 (FPE_INTDIV): Likewise.
30582 (FPE_INTOVF): Likewise.
30583 (FPE_FLTDIV): Likewise.
30584 (FPE_FLTOVF): Likewise.
30585 (FPE_FLTUND): Likewise.
30586 (FPE_FLTRES): Likewise.
30587 (FPE_FLTINV): Likewise.
30588 (FPE_FLTSUB): Likewise.
30589 (FPE_DECOVF): Likewise.
30590 (FPE_DECDIV): Likewise.
30591 (FPE_DECERR): Likewise.
30592 (FPE_INVASC): Likewise.
30593 (FPE_INVDEC): Likewise.
30594 (SEGV_MAPERR): Likewise.
30595 (SEGV_ACCERR): Likewise.
30596 (SEGV_PSTKOVF): Likewise.
30597 (BUS_ADRALN): Likewise.
30598 (BUS_ADRERR): Likewise.
30599 (BUS_OBJERR): Likewise.
30600 (BUS_MCEERR_AR): Likewise.
30601 (BUS_MCEERR_AO): Likewise.
30602 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30603 (TRAP_TRACE): Likewise.
30604 (TRAP_BRANCH): Likewise.
30605 (TRAP_HWBKPT): Likewise.
30606 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30607 __USE_XOPEN2K8].
30608 (CLD_KILLED): Likewise.
30609 (CLD_DUMPED): Likewise.
30610 (CLD_TRAPPED): Likewise.
30611 (CLD_STOPPED): Likewise.
30612 (CLD_CONTINUED): Likewise.
30613 (POLL_IN): Likewise.
30614 (POLL_OUT): Likewise.
30615 (POLL_MSG): Likewise.
30616 (POLL_ERR): Likewise.
30617 (POLL_PRI): Likewise.
30618 (POLL_HUP): Likewise.
30619 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
30620 (ILL_ILLOPN): Likewise.
30621 (ILL_ILLADR): Likewise.
30622 (ILL_ILLTRP): Likewise.
30623 (ILL_PRVOPC): Likewise.
30624 (ILL_PRVREG): Likewise.
30625 (ILL_COPROC): Likewise.
30626 (ILL_BADSTK): Likewise.
30627 (FPE_INTDIV): Likewise.
30628 (FPE_INTOVF): Likewise.
30629 (FPE_FLTDIV): Likewise.
30630 (FPE_FLTOVF): Likewise.
30631 (FPE_FLTUND): Likewise.
30632 (FPE_FLTRES): Likewise.
30633 (FPE_FLTINV): Likewise.
30634 (FPE_FLTSUB): Likewise.
30635 (SEGV_MAPERR): Likewise.
30636 (SEGV_ACCERR): Likewise.
30637 (BUS_ADRALN): Likewise.
30638 (BUS_ADRERR): Likewise.
30639 (BUS_OBJERR): Likewise.
30640 (BUS_MCEERR_AR): Likewise.
30641 (BUS_MCEERR_AO): Likewise.
30642 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30643 (TRAP_TRACE): Likewise.
30644 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30645 __USE_XOPEN2K8].
30646 (CLD_KILLED): Likewise.
30647 (CLD_DUMPED): Likewise.
30648 (CLD_TRAPPED): Likewise.
30649 (CLD_STOPPED): Likewise.
30650 (CLD_CONTINUED): Likewise.
30651 (POLL_IN): Likewise.
30652 (POLL_OUT): Likewise.
30653 (POLL_MSG): Likewise.
30654 (POLL_ERR): Likewise.
30655 (POLL_PRI): Likewise.
30656 (POLL_HUP): Likewise.
30657 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
30658 (ILL_ILLOPN): Likewise.
30659 (ILL_ILLADR): Likewise.
30660 (ILL_ILLTRP): Likewise.
30661 (ILL_PRVOPC): Likewise.
30662 (ILL_PRVREG): Likewise.
30663 (ILL_COPROC): Likewise.
30664 (ILL_BADSTK): Likewise.
30665 (FPE_INTDIV): Likewise.
30666 (FPE_INTOVF): Likewise.
30667 (FPE_FLTDIV): Likewise.
30668 (FPE_FLTOVF): Likewise.
30669 (FPE_FLTUND): Likewise.
30670 (FPE_FLTRES): Likewise.
30671 (FPE_FLTINV): Likewise.
30672 (FPE_FLTSUB): Likewise.
30673 (SEGV_MAPERR): Likewise.
30674 (SEGV_ACCERR): Likewise.
30675 (BUS_ADRALN): Likewise.
30676 (BUS_ADRERR): Likewise.
30677 (BUS_OBJERR): Likewise.
30678 (BUS_MCEERR_AR): Likewise.
30679 (BUS_MCEERR_AO): Likewise.
30680 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30681 (TRAP_TRACE): Likewise.
30682 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30683 __USE_XOPEN2K8].
30684 (CLD_KILLED): Likewise.
30685 (CLD_DUMPED): Likewise.
30686 (CLD_TRAPPED): Likewise.
30687 (CLD_STOPPED): Likewise.
30688 (CLD_CONTINUED): Likewise.
30689 (POLL_IN): Likewise.
30690 (POLL_OUT): Likewise.
30691 (POLL_MSG): Likewise.
30692 (POLL_ERR): Likewise.
30693 (POLL_PRI): Likewise.
30694 (POLL_HUP): Likewise.
30695 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
30696 (ILL_ILLOPN): Likewise.
30697 (ILL_ILLADR): Likewise.
30698 (ILL_ILLTRP): Likewise.
30699 (ILL_PRVOPC): Likewise.
30700 (ILL_PRVREG): Likewise.
30701 (ILL_COPROC): Likewise.
30702 (ILL_BADSTK): Likewise.
30703 (FPE_INTDIV): Likewise.
30704 (FPE_INTOVF): Likewise.
30705 (FPE_FLTDIV): Likewise.
30706 (FPE_FLTOVF): Likewise.
30707 (FPE_FLTUND): Likewise.
30708 (FPE_FLTRES): Likewise.
30709 (FPE_FLTINV): Likewise.
30710 (FPE_FLTSUB): Likewise.
30711 (SEGV_MAPERR): Likewise.
30712 (SEGV_ACCERR): Likewise.
30713 (BUS_ADRALN): Likewise.
30714 (BUS_ADRERR): Likewise.
30715 (BUS_OBJERR): Likewise.
30716 (BUS_MCEERR_AR): Likewise.
30717 (BUS_MCEERR_AO): Likewise.
30718 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30719 (TRAP_TRACE): Likewise.
30720 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30721 __USE_XOPEN2K8].
30722 (CLD_KILLED): Likewise.
30723 (CLD_DUMPED): Likewise.
30724 (CLD_TRAPPED): Likewise.
30725 (CLD_STOPPED): Likewise.
30726 (CLD_CONTINUED): Likewise.
30727 (POLL_IN): Likewise.
30728 (POLL_OUT): Likewise.
30729 (POLL_MSG): Likewise.
30730 (POLL_ERR): Likewise.
30731 (POLL_PRI): Likewise.
30732 (POLL_HUP): Likewise.
30733 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
30734 (ILL_ILLOPN): Likewise.
30735 (ILL_ILLADR): Likewise.
30736 (ILL_ILLTRP): Likewise.
30737 (ILL_PRVOPC): Likewise.
30738 (ILL_PRVREG): Likewise.
30739 (ILL_COPROC): Likewise.
30740 (ILL_BADSTK): Likewise.
30741 (ILL_DBLFLT): Likewise.
30742 (ILL_HARDWALL): Likewise.
30743 (FPE_INTDIV): Likewise.
30744 (FPE_INTOVF): Likewise.
30745 (FPE_FLTDIV): Likewise.
30746 (FPE_FLTOVF): Likewise.
30747 (FPE_FLTUND): Likewise.
30748 (FPE_FLTRES): Likewise.
30749 (FPE_FLTINV): Likewise.
30750 (FPE_FLTSUB): Likewise.
30751 (SEGV_MAPERR): Likewise.
30752 (SEGV_ACCERR): Likewise.
30753 (BUS_ADRALN): Likewise.
30754 (BUS_ADRERR): Likewise.
30755 (BUS_OBJERR): Likewise.
30756 (BUS_MCEERR_AR): Likewise.
30757 (BUS_MCEERR_AO): Likewise.
30758 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30759 (TRAP_TRACE): Likewise.
30760 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30761 __USE_XOPEN2K8].
30762 (CLD_KILLED): Likewise.
30763 (CLD_DUMPED): Likewise.
30764 (CLD_TRAPPED): Likewise.
30765 (CLD_STOPPED): Likewise.
30766 (CLD_CONTINUED): Likewise.
30767 (POLL_IN): Likewise.
30768 (POLL_OUT): Likewise.
30769 (POLL_MSG): Likewise.
30770 (POLL_ERR): Likewise.
30771 (POLL_PRI): Likewise.
30772 (POLL_HUP): Likewise.
30773 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
30774 (ILL_ILLOPN): Likewise.
30775 (ILL_ILLADR): Likewise.
30776 (ILL_ILLTRP): Likewise.
30777 (ILL_PRVOPC): Likewise.
30778 (ILL_PRVREG): Likewise.
30779 (ILL_COPROC): Likewise.
30780 (ILL_BADSTK): Likewise.
30781 (FPE_INTDIV): Likewise.
30782 (FPE_INTOVF): Likewise.
30783 (FPE_FLTDIV): Likewise.
30784 (FPE_FLTOVF): Likewise.
30785 (FPE_FLTUND): Likewise.
30786 (FPE_FLTRES): Likewise.
30787 (FPE_FLTINV): Likewise.
30788 (FPE_FLTSUB): Likewise.
30789 (SEGV_MAPERR): Likewise.
30790 (SEGV_ACCERR): Likewise.
30791 (BUS_ADRALN): Likewise.
30792 (BUS_ADRERR): Likewise.
30793 (BUS_OBJERR): Likewise.
30794 (BUS_MCEERR_AR): Likewise.
30795 (BUS_MCEERR_AO): Likewise.
30796 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30797 (TRAP_TRACE): Likewise.
30798 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30799 __USE_XOPEN2K8].
30800 (CLD_KILLED): Likewise.
30801 (CLD_DUMPED): Likewise.
30802 (CLD_TRAPPED): Likewise.
30803 (CLD_STOPPED): Likewise.
30804 (CLD_CONTINUED): Likewise.
30805 (POLL_IN): Likewise.
30806 (POLL_OUT): Likewise.
30807 (POLL_MSG): Likewise.
30808 (POLL_ERR): Likewise.
30809 (POLL_PRI): Likewise.
30810 (POLL_HUP): Likewise.
30811 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
30812 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30813
30814 [BZ #16670]
30815 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
30816 before #include of <time.h>.
30817 [!__USE_XOPEN2K] (__need_timespec): Likewise.
30818 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
30819 (test-xfail-UNIX98/sched.h/conform): Likewise.
30820
30821 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
30822
30823 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
30824 error absence of trapping exception support.
30825 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30826
30827 2014-03-07 Joseph Myers <joseph@codesourcery.com>
30828
30829 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
30830 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
30831 * timezone/Makefile (testdata): Move definition above include of
30832 Rules.
30833 (test-zones): New variable.
30834 (tests-special): Add zone files.
30835 (build-testdata): Use $(evaluate-test).
30836
30837 * elf/Makefile (tests-special): Rename tests to end with .out.
30838 ($(objpfx)noload-mem): Likewise.
30839 ($(objpfx)tst-leaks1-mem): Likewise.
30840 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
30841 * iconv/Makefile (xtests-special): Change test-iconvconfig to
30842 $(objpfx)test-iconvconfig.out.
30843 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
30844 set -e inside subshell and redirect output to file.
30845 * iconvdata/Makefile (generated): Rename tests to end with .out.
30846 Correct type.
30847 (tests-special): Rename tests to end with .out.
30848 ($(objpfx)mtrace-tst-loading): Likewise.
30849 * intl/Makefile (generated): Likewise.
30850 (tests-special): Likewise.
30851 ($(objpfx)mtrace-tst-gettext): Likewise.
30852 * misc/Makefile (generated): Likewise.
30853 (tests-special): Likewise.
30854 ($(objpfx)tst-error1-mem): Likewise.
30855 * nptl/Makefile (tests-special): Likewise.
30856 ($(objpfx)tst-stack3-mem): Likewise.
30857 (generated): Likewise.
30858 * posix/Makefile (generated): Likewise.
30859 (tests-special): Likewise.
30860 (xtests-special): Likewise.
30861 ($(objpfx)tst-fnmatch-mem): Likewise.
30862 ($(objpfx)bug-regex2-mem): Likewise.
30863 ($(objpfx)bug-regex14-mem): Likewise.
30864 ($(objpfx)bug-regex21-mem): Likewise.
30865 ($(objpfx)bug-regex31-mem): Likewise.
30866 ($(objpfx)tst-vfork3-mem): Likewise.
30867 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30868 ($(objpfx)tst-pcre-mem): Likewise.
30869 ($(objpfx)tst-boost-mem): Likewise.
30870 ($(objpfx)bug-ga2-mem): Likewise.
30871 ($(objpfx)bug-glob2-mem): Likewise.
30872 * resolv/Makefile (generate): Likewise.
30873 (tests-special): Likewise.
30874 (xtests-special): Likewise.
30875 (generated): Likewise.
30876 ($(objpfx)mtrace-tst-leaks): Likewise.
30877 ($(objpfx)mtrace-tst-leaks2): Likewise.
30878
30879 * scripts/merge-test-results.sh: New file.
30880 * Makefile (tests-special-notdir): New variable.
30881 (tests): Run merge-test-results.sh.
30882 (xtests): Likewise.
30883 * Rules (tests-special-notdir): New variable.
30884 (xtests-special-notdir): Likewise.
30885 (tests): Run merge-test-results.sh
30886 (xtests): Likewise.
30887
30888 * Makeconfig (test-xfail-name): New variable.
30889 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
30890 compute variable name for expected failures.
30891 * conform/Makefile (conformtest-headers-data): New variable.
30892 (conformtest-standards): Likewise.
30893 (conformtest-headers-ISO): Likewise.
30894 (conformtest-headers-ISO99): Likewise.
30895 (conformtest-headers-ISO11): Likewise.
30896 (conformtest-headers-POSIX): Likewise.
30897 (conformtest-headers-XPG3): Likewise.
30898 (conformtest-headers-XPG4): Likewise.
30899 (conformtest-headers-UNIX98): Likewise.
30900 (conformtest-headers-XOPEN2K): Likewise.
30901 (conformtest-headers-POSIX2008): Likewise.
30902 (conformtest-headers-XOPEN2K8): Likewise.
30903 (conformtest-header-list-base): Likewise.
30904 (conformtest-header-list-tests): Likewise.
30905 (conformtest-header-base): Likewise.
30906 (conformtest-header-tests): Likewise.
30907 (tests-special): Add $(conformtest-header-list-tests). If
30908 [$(fast-check) && !$(cross-compiling)], add
30909 $(conformtest-header-tests) instead of
30910 $(objpfx)run-conformtest.out.
30911 (generated): Add $(conformtest-header-list-base). If
30912 [$(fast-check) && !$(cross-compiling)], add
30913 $(conformtest-header-base). Remove previous setting.
30914 ($(conformtest-header-list-tests)): New target.
30915 (test-xfail-run-conformtest): Remove variable.
30916 ($(objpfx)run-conformtest.out): Remove target.
30917 (test-xfail-ISO11/complex.h/conform): New variable.
30918 (test-xfail-ISO11/stdalign.h/conform): Likewise.
30919 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
30920 (test-xfail-XPG3/varargs.h/conform): Likewise.
30921 (test-xfail-XPG4/varargs.h/conform): Likewise.
30922 (test-xfail-UNIX98/varargs.h/conform): Likewise.
30923 (test-xfail-XPG4/ndbm.h/conform): Likewise.
30924 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
30925 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
30926 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
30927 (test-xfail-XPG3/fcntl.h/conform): Likewise.
30928 (test-xfail-XPG3/ftw.h/conform): Likewise.
30929 (test-xfail-XPG3/grp.h/conform): Likewise.
30930 (test-xfail-XPG3/langinfo.h/conform): Likewise.
30931 (test-xfail-XPG3/limits.h/conform): Likewise.
30932 (test-xfail-XPG3/pwd.h/conform): Likewise.
30933 (test-xfail-XPG3/search.h/conform): Likewise.
30934 (test-xfail-XPG3/signal.h/conform): Likewise.
30935 (test-xfail-XPG3/stdio.h/conform): Likewise.
30936 (test-xfail-XPG3/stdlib.h/conform): Likewise.
30937 (test-xfail-XPG3/string.h/conform): Likewise.
30938 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
30939 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
30940 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
30941 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
30942 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
30943 (test-xfail-XPG3/sys/types.h/conform): Likewise.
30944 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
30945 (test-xfail-XPG3/termios.h/conform): Likewise.
30946 (test-xfail-XPG3/time.h/conform): Likewise.
30947 (test-xfail-XPG3/unistd.h/conform): Likewise.
30948 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
30949 (test-xfail-XPG4/fcntl.h/conform): Likewise.
30950 (test-xfail-XPG4/langinfo.h/conform): Likewise.
30951 (test-xfail-XPG4/netdb.h/conform): Likewise.
30952 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
30953 (test-xfail-XPG4/signal.h/conform): Likewise.
30954 (test-xfail-XPG4/stdio.h/conform): Likewise.
30955 (test-xfail-XPG4/stdlib.h/conform): Likewise.
30956 (test-xfail-XPG4/stropts.h/conform): Likewise.
30957 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
30958 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
30959 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
30960 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
30961 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
30962 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
30963 (test-xfail-XPG4/sys/time.h/conform): Likewise.
30964 (test-xfail-XPG4/sys/types.h/conform): Likewise.
30965 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
30966 (test-xfail-XPG4/termios.h/conform): Likewise.
30967 (test-xfail-XPG4/ucontext.h/conform): Likewise.
30968 (test-xfail-XPG4/unistd.h/conform): Likewise.
30969 (test-xfail-XPG4/utmpx.h/conform): Likewise.
30970 (test-xfail-POSIX/sched.h/conform): Likewise.
30971 (test-xfail-POSIX/signal.h/conform): Likewise.
30972 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30973 (test-xfail-POSIX/tar.h/conform): Likewise.
30974 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
30975 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
30976 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
30977 (test-xfail-UNIX98/netdb.h/conform): Likewise.
30978 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
30979 (test-xfail-UNIX98/sched.h/conform): Likewise.
30980 (test-xfail-UNIX98/signal.h/conform): Likewise.
30981 (test-xfail-UNIX98/stdio.h/conform): Likewise.
30982 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
30983 (test-xfail-UNIX98/stropts.h/conform): Likewise.
30984 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
30985 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
30986 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
30987 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
30988 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
30989 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
30990 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30991 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30992 (test-xfail-UNIX98/unistd.h/conform): Likewise.
30993 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
30994 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
30995 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
30996 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
30997 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
30998 (test-xfail-XOPEN2K/math.h/conform): Likewise.
30999 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
31000 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
31001 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
31002 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
31003 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
31004 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
31005 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
31006 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
31007 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
31008 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
31009 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
31010 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
31011 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
31012 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
31013 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
31014 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31015 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
31016 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
31017 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
31018 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
31019 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
31020 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
31021 (test-xfail-POSIX2008/signal.h/conform): Likewise.
31022 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
31023 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
31024 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
31025 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
31026 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
31027 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
31028 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31029 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
31030 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
31031 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
31032 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
31033 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
31034 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
31035 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
31036 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
31037 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
31038 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
31039 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
31040 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
31041 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
31042 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
31043 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31044 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
31045 (conformtest-cc-flags): Likewise.
31046 ($(conformtest-header-tests): New target.
31047 * conform/check-header-lists.sh: New file.
31048 * conform/run-conformtest.sh: Remove.
31049
31050 * conform/conformtest.pl: Allow ' and \ in values given for
31051 constants.
31052 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
31053 inclusion.
31054 [POSIX] (sys/types.h): Likewise.
31055 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
31056 inclusion.
31057 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
31058 inclusion.
31059 * conform/data/signal.h-data (SIGIO): Remove expectation.
31060 [XPG3] (SIGBUS): Do not expect.
31061 [POSIX || XPG3] (SIGPOLL): Likewise.
31062 [POSIX || XPG3] (SIGPROF): Likewise.
31063 [POSIX || XPG3] (SIGSYS): Likewise.
31064 [XPG3] (SIGTRAP): Likewise.
31065 [POSIX || XPG3] (SIGURG): Likewise.
31066 [POSIX || XPG3] (SIGVTALRM): Likewise.
31067 [POSIX || XPG3] (SIGXCPU): Likewise.
31068 [POSIX || XPG3] (SIGXFSZ): Likewise.
31069 [POSIX] (SA_SIGINFO): Expect.
31070 [XPG3] (siginfo_t): Do not expect type or contents.
31071 [POSIX] (si_pid): Do not expect element.
31072 [POSIX] (si_uid): Likewise.
31073 [POSIX] (si_addr): Likewise.
31074 [POSIX] (si_status): Likewise.
31075 [POSIX] (si_band): Likewise.
31076 [XPG4] (si_value): Likewise.
31077 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
31078 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
31079 [POSIX || XPG3] (ILL_ILLADR): Likewise.
31080 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
31081 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
31082 [POSIX || XPG3] (ILL_PRVREG): Likewise.
31083 [POSIX || XPG3] (ILL_COPROC): Likewise.
31084 [POSIX || XPG3] (ILL_BADSTK): Likewise.
31085 [POSIX || XPG3] (FPE_INTDIV): Likewise.
31086 [POSIX || XPG3] (FPE_INTOVF): Likewise.
31087 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
31088 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
31089 [POSIX || XPG3] (FPE_FLTUND): Likewise.
31090 [POSIX || XPG3] (FPE_FLTRES): Likewise.
31091 [POSIX || XPG3] (FPE_FLTINV): Likewise.
31092 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
31093 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
31094 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
31095 [POSIX || XPG3] (BUS_ADRALN): Likewise.
31096 [POSIX || XPG3] (BUS_ADRERR): Likewise.
31097 [POSIX || XPG3] (BUS_OBJERR): Likewise.
31098 [POSIX || XPG3] (CLD_EXITED): Likewise.
31099 [POSIX || XPG3] (CLD_KILLED): Likewise.
31100 [POSIX || XPG3] (CLD_DUMPED): Likewise.
31101 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
31102 [POSIX || XPG3] (CLD_STOPPED): Likewise.
31103 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
31104 [POSIX || XPG3] (POLL_IN): Likewise.
31105 [POSIX || XPG3] (POLL_OUT): Likewise.
31106 [POSIX || XPG3] (POLL_MSG): Likewise.
31107 [POSIX || XPG3] (POLL_ERR): Likewise.
31108 [POSIX || XPG3] (POLL_PRI): Likewise.
31109 [POSIX || XPG3] (POLL_HUP): Likewise.
31110 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
31111 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
31112 (SIG*): Do not allow.
31113 [XPG3] (si_*): Likewise.
31114 [XPG3] (SI_*): Likewise.
31115 [XPG3 || XPG4] (sigev_*): Likewise.
31116 [XPG3 || XPG4] (SIGEV_*): Likewise.
31117 [XPG3 || XPG4] (sival_*): Likewise.
31118 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
31119 [POSIX || XPG3] (BUS_*): Likewise.
31120 [POSIX || XPG3] (CLD_*): Likewise.
31121 [POSIX || XPG3] (FPE_*): Likewise.
31122 [POSIX || XPG3] (ILL_*): Likewise.
31123 [POSIX || XPG3] (POLL_*): Likewise.
31124 [POSIX || XPG3] (SEGV_*): Likewise.
31125 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
31126 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
31127 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
31128 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
31129 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
31130 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
31131 Specify type and value.
31132 (TVERSLEN): Likewise.
31133 (REGTYPE): Likewise.
31134 (AREGTYPE): Likewise.
31135 (LNKTYPE): Likewise.
31136 (SYMTYPE): Likewise.
31137 (CHRTYPE): Likewise.
31138 (BLKTYPE): Likewise.
31139 (DIRTYPE): Likewise.
31140 (FIFOTYPE): Likewise.
31141 (CONTTYPE): Likewise.
31142 (TSUID): Likewise.
31143 (TSGID): Likewise.
31144 (TSVTX): Likewise.
31145 (TUREAD): Likewise.
31146 (TUWRITE): Likewise.
31147 (TUEXEC): Likewise.
31148 (TGREAD): Likewise.
31149 (TGWRITE): Likewise.
31150 (TGEXEC): Likewise.
31151 (TOREAD): Likewise.
31152 (TOWRITE): Likewise.
31153 (TOEXEC): Likewise.
31154 [POSIX] (TSVTX): Expect constant.
31155
31156 2014-03-06 Joseph Myers <joseph@codesourcery.com>
31157
31158 * Makefile (tests): Change dependencies to ....
31159 (tests-special): ... additions to this variable.
31160 (tests): Depend on $(tests-special).
31161 * Makerules (check-abi-list): New variable.
31162 (check-abi): Depend on $(check-abi-list).
31163 [$(subdir) = elf] (tests-special): Add
31164 $(objpfx)check-abi-libc.out.
31165 [$(build-shared) = yes && subdir] (tests-special): Add
31166 $(check-abi-list).
31167 [$(build-shared) = yes && subdir] (tests): Do not depend on
31168 check-abi.
31169 * Rules (tests): Depend on $(tests-special).
31170 (xtests): Depend on $(xtests-special).
31171 * catgets/Makefile (tests): Change dependencies to ....
31172 (tests-special): ... additions to this variable.
31173 * conform/Makefile (tests): Change dependencies to ....
31174 (tests-special): ... additions to this variable.
31175 * elf/Makefile (tests): Change dependencies to ....
31176 (tests-special): ... additions to this variable.
31177 * grp/Makefile (tests): Change dependencies to ....
31178 (tests-special): ... additions to this variable.
31179 * iconv/Makefile (xtests): Change dependencies to ....
31180 (xtests-special): ... additions to this variable.
31181 * iconvdata/Makefile (tests): Change dependencies to ....
31182 (tests-special): ... additions to this variable.
31183 * intl/Makefile (tests): Change dependencies to ....
31184 (tests-special): ... additions to this variable. Also add
31185 $(objpfx)tst-gettext.out.
31186 * io/Makefile (tests): Change dependencies to ....
31187 (tests-special): ... additions to this variable.
31188 * libio/Makefile (tests): Change dependencies to ....
31189 (tests-special): ... additions to this variable.
31190 * malloc/Makefile (tests): Change dependencies to ....
31191 (tests-special): ... additions to this variable.
31192 * misc/Makefile (tests): Change dependencies to ....
31193 (tests-special): ... additions to this variable.
31194 * nptl/Makefile (tests): Change dependencies to ....
31195 (tests-special): ... additions to this variable.
31196 * nptl_db/Makefile (tests): Change dependencies to ....
31197 (tests-special): ... additions to this variable.
31198 * posix/Makefile (tests): Change dependencies to ....
31199 (tests-special): ... additions to this variable.
31200 (xtests): Change dependencies to ....
31201 (xtests-special): ... additions to this variable.
31202 * resolv/Makefile (tests): Change dependencies to ....
31203 (tests-special): ... additions to this variable.
31204 (xtests): Change dependencies to ....
31205 (xtests-special): ... additions to this variable.
31206 * stdio-common/Makefile (tests): Change dependencies to ....
31207 (tests-special): ... additions to this variable.
31208 (do-tst-unbputc): Remove target.
31209 (do-tst-printf): Likewise.
31210 * stdlib/Makefile (tests): Change dependencies to ....
31211 (tests-special): ... additions to this variable.
31212 * string/Makefile (tests): Change dependencies to ....
31213 (tests-special): ... additions to this variable.
31214 * sysdeps/x86/Makefile (tests): Change dependencies to ....
31215 (tests-special): ... additions to this variable.
31216
31217 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
31218 whole file.
31219 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
31220 whole file.
31221 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
31222 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
31223
31224 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
31225 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
31226 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
31227 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
31228 * conform/data/libgen.h-data [XPG3]: Likewise.
31229 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
31230 * conform/data/ndbm.h-data [XPG3]: Likewise.
31231 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31232 * conform/data/netdb.h-data [XPG3]: Likewise.
31233 * conform/data/netinet/in.h-data [XPG3]: Likewise.
31234 * conform/data/poll.h-data [XPG3]: Likewise.
31235 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
31236 * conform/data/strings.h-data [XPG3]: Likewise.
31237 * conform/data/stropts.h-data [XPG3]: Likewise.
31238 * conform/data/sys/mman.h-data [XPG3]: Likewise.
31239 * conform/data/sys/resource.h-data [XPG3]: Likewise.
31240 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
31241 Likewise.
31242 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
31243 * conform/data/sys/time.h-data [XPG3]: Likewise.
31244 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
31245 * conform/data/sys/uio.h-data [XPG3]: Likewise.
31246 * conform/data/sys/un.h-data [XPG3]: Likewise.
31247 * conform/data/syslog.h-data [XPG3]: Likewise.
31248 * conform/data/ucontext.h-data [XPG3]: Likewise.
31249 * conform/data/utmpx.h-data [XPG3]: Likewise.
31250 * conform/data/varargs.h-data [UNIX98]: Enable file.
31251
31252 * manual/Makefile (INSTALL_INFO): Remove variable setting.
31253
31254 * math/libm-test.inc (struct test_f_f_data): Move expected results
31255 into structure for each rounding mode.
31256 (struct test_ff_f_data): Likewise.
31257 (struct test_ff_f_data_nexttoward): Likewise.
31258 (struct test_fi_f_data): Likewise.
31259 (struct test_fl_f_data): Likewise.
31260 (struct test_if_f_data): Likewise.
31261 (struct test_fff_f_data): Likewise.
31262 (struct test_c_f_data): Likewise.
31263 (struct test_f_f1_data): Likewise.
31264 (struct test_fF_f1_data): Likewise.
31265 (struct test_ffI_f1_data): Likewise.
31266 (struct test_c_c_data): Likewise.
31267 (struct test_cc_c_data): Likewise.
31268 (struct test_f_i_data): Likewise.
31269 (struct test_ff_i_data): Likewise.
31270 (struct test_f_l_data): Likewise.
31271 (struct test_f_L_data): Likewise.
31272 (struct test_fFF_11_data): Likewise.
31273 (RM_): New macro.
31274 (RM_FE_DOWNWARD): Likewise.
31275 (RM_FE_TONEAREST): Likewise.
31276 (RM_FE_TOWARDZERO): Likewise.
31277 (RM_FE_UPWARD): Likewise.
31278 (RUN_TEST_LOOP_f_f): Update references to expected results.
31279 (RUN_TEST_LOOP_2_f): Likewise.
31280 (RUN_TEST_LOOP_fff_f): Likewise.
31281 (RUN_TEST_LOOP_c_f): Likewise.
31282 (RUN_TEST_LOOP_f_f1): Likewise.
31283 (RUN_TEST_LOOP_fF_f1): Likewise.
31284 (RUN_TEST_LOOP_fI_f1): Likewise.
31285 (RUN_TEST_LOOP_ffI_f1): Likewise.
31286 (RUN_TEST_LOOP_c_c): Likewise.
31287 (RUN_TEST_LOOP_cc_c): Likewise.
31288 (RUN_TEST_LOOP_f_i): Likewise.
31289 (RUN_TEST_LOOP_f_i_tg): Likewise.
31290 (RUN_TEST_LOOP_ff_i_tg): Likewise.
31291 (RUN_TEST_LOOP_f_b): Likewise.
31292 (RUN_TEST_LOOP_f_b_tg): Likewise.
31293 (RUN_TEST_LOOP_f_l): Likewise.
31294 (RUN_TEST_LOOP_f_L): Likewise.
31295 (RUN_TEST_LOOP_fFF_11): Likewise.
31296 * math/gen-libm-test.pl (parse_args): Output four copies of
31297 expected results for each test.
31298
31299 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31300 (__ASSUME_UTIMES): Remove.
31301 * sysdeps/unix/sysv/linux/tile/kernel-features.h
31302 (__ASSUME_UTIMES): Likewise.
31303
31304 * math/gen-auto-libm-tests.c: Update comment on output format.
31305 (output_for_one_input_case): Generate before-rounding and
31306 after-rounding information as conditions on output flags not
31307 floating-point format.
31308 * math/auto-libm-test-out: Regenerated.
31309 * math/gen-libm-test.pl (cond_value): New function.
31310 (or_cond_value): Use cond_value.
31311 (generate_testfile): Handle conditional exceptions.
31312
31313 2014-03-05 Joseph Myers <joseph@codesourcery.com>
31314
31315 * math/libm-test.inc (max_valid_error): New variable.
31316 (init_max_error): Take new argument specifying whether function
31317 results are exactly determined. Set max_valid_error and bound
31318 other variables for errors based on this argument.
31319 (set_max_error): Do not record results above max_valid_error.
31320 (check_float_internal): Only accept errors of up to 0.5ulps if
31321 also at most max_valid_error.
31322 (START): Take new argument EXACT and pass it to init_max_error.
31323 (acos_test): Update call to START.
31324 (acos_test_tonearest): Likewise.
31325 (acos_test_towardzero): Likewise.
31326 (acos_test_downward): Likewise.
31327 (acos_test_upward): Likewise.
31328 (acosh_test): Likewise.
31329 (asin_test): Likewise.
31330 (asin_test_tonearest): Likewise.
31331 (asin_test_towardzero): Likewise.
31332 (asin_test_downward): Likewise.
31333 (asin_test_upward): Likewise.
31334 (asinh_test): Likewise.
31335 (atan_test): Likewise.
31336 (atanh_test): Likewise.
31337 (atan2_test): Likewise.
31338 (cabs_test): Likewise.
31339 (cacos_test): Likewise.
31340 (cacosh_test): Likewise.
31341 (carg_test): Likewise.
31342 (casin_test): Likewise.
31343 (casinh_test): Likewise.
31344 (catan_test): Likewise.
31345 (catanh_test): Likewise.
31346 (cbrt_test): Likewise.
31347 (ccos_test): Likewise.
31348 (ccosh_test): Likewise.
31349 (ceil_test): Likewise.
31350 (cexp_test): Likewise.
31351 (cimag_test): Likewise.
31352 (clog_test): Likewise.
31353 (clog10_test): Likewise.
31354 (conj_test): Likewise.
31355 (copysign_test): Likewise.
31356 (cos_test): Likewise.
31357 (cos_test_tonearest): Likewise.
31358 (cos_test_towardzero): Likewise.
31359 (cos_test_downward): Likewise.
31360 (cos_test_upward): Likewise.
31361 (cosh_test): Likewise.
31362 (cosh_test_tonearest): Likewise.
31363 (cosh_test_towardzero): Likewise.
31364 (cosh_test_downward): Likewise.
31365 (cosh_test_upward): Likewise.
31366 (cpow_test): Likewise.
31367 (cproj_test): Likewise.
31368 (creal_test): Likewise.
31369 (csin_test): Likewise.
31370 (csinh_test): Likewise.
31371 (csqrt_test): Likewise.
31372 (ctan_test): Likewise.
31373 (ctan_test_tonearest): Likewise.
31374 (ctan_test_towardzero): Likewise.
31375 (ctan_test_downward): Likewise.
31376 (ctan_test_upward): Likewise.
31377 (ctanh_test): Likewise.
31378 (ctanh_test_tonearest): Likewise.
31379 (ctanh_test_towardzero): Likewise.
31380 (ctanh_test_downward): Likewise.
31381 (ctanh_test_upward): Likewise.
31382 (erf_test): Likewise.
31383 (erfc_test): Likewise.
31384 (exp_test): Likewise.
31385 (exp_test_tonearest): Likewise.
31386 (exp_test_towardzero): Likewise.
31387 (exp_test_downward): Likewise.
31388 (exp_test_upward): Likewise.
31389 (exp10_test): Likewise.
31390 (exp10_test_tonearest): Likewise.
31391 (exp10_test_towardzero): Likewise.
31392 (exp10_test_downward): Likewise.
31393 (exp10_test_upward): Likewise.
31394 (pow10_test): Likewise.
31395 (exp2_test): Likewise.
31396 (expm1_test): Likewise.
31397 (expm1_test_tonearest): Likewise.
31398 (expm1_test_towardzero): Likewise.
31399 (expm1_test_downward): Likewise.
31400 (expm1_test_upward): Likewise.
31401 (fabs_test): Likewise.
31402 (fdim_test): Likewise.
31403 (floor_test): Likewise.
31404 (fma_test): Likewise.
31405 (fma_test_towardzero): Likewise.
31406 (fma_test_downward): Likewise.
31407 (fma_test_upward): Likewise.
31408 (fmax_test): Likewise.
31409 (fmin_test): Likewise.
31410 (fmod_test): Likewise.
31411 (fpclassify_test): Likewise.
31412 (frexp_test): Likewise.
31413 (hypot_test): Likewise.
31414 (ilogb_test): Likewise.
31415 (isfinite_test): Likewise.
31416 (finite_test): Likewise.
31417 (isgreater_test): Likewise.
31418 (isgreaterequal_test): Likewise.
31419 (isinf_test): Likewise.
31420 (isless_test): Likewise.
31421 (islessequal_test): Likewise.
31422 (islessgreater_test): Likewise.
31423 (isnan_test): Likewise.
31424 (isnormal_test): Likewise.
31425 (issignaling_test): Likewise.
31426 (isunordered_test): Likewise.
31427 (j0_test): Likewise.
31428 (j1_test): Likewise.
31429 (jn_test): Likewise.
31430 (ldexp_test): Likewise.
31431 (lgamma_test): Likewise.
31432 (gamma_test): Likewise.
31433 (lrint_test): Likewise.
31434 (lrint_test_tonearest): Likewise.
31435 (lrint_test_towardzero): Likewise.
31436 (lrint_test_downward): Likewise.
31437 (lrint_test_upward): Likewise.
31438 (llrint_test): Likewise.
31439 (llrint_test_tonearest): Likewise.
31440 (llrint_test_towardzero): Likewise.
31441 (llrint_test_downward): Likewise.
31442 (llrint_test_upward): Likewise.
31443 (log_test): Likewise.
31444 (log10_test): Likewise.
31445 (log1p_test): Likewise.
31446 (log2_test): Likewise.
31447 (logb_test): Likewise.
31448 (logb_test_downward): Likewise.
31449 (lround_test): Likewise.
31450 (llround_test): Likewise.
31451 (modf_test): Likewise.
31452 (nearbyint_test): Likewise.
31453 (nextafter_test): Likewise.
31454 (nexttoward_test): Likewise.
31455 (pow_test): Likewise.
31456 (pow_test_tonearest): Likewise.
31457 (pow_test_towardzero): Likewise.
31458 (pow_test_downward): Likewise.
31459 (pow_test_upward): Likewise.
31460 (remainder_test): Likewise.
31461 (drem_test): Likewise.
31462 (remainder_test_tonearest): Likewise.
31463 (drem_test_tonearest): Likewise.
31464 (remainder_test_towardzero): Likewise.
31465 (drem_test_towardzero): Likewise.
31466 (remainder_test_downward): Likewise.
31467 (drem_test_downward): Likewise.
31468 (remainder_test_upward): Likewise.
31469 (drem_test_upward): Likewise.
31470 (remquo_test): Likewise.
31471 (rint_test): Likewise.
31472 (rint_test_tonearest): Likewise.
31473 (rint_test_towardzero): Likewise.
31474 (rint_test_downward): Likewise.
31475 (rint_test_upward): Likewise.
31476 (round_test): Likewise.
31477 (scalb_test): Likewise.
31478 (scalbn_test): Likewise.
31479 (scalbln_test): Likewise.
31480 (signbit_test): Likewise.
31481 (sin_test): Likewise.
31482 (sin_test_tonearest): Likewise.
31483 (sin_test_towardzero): Likewise.
31484 (sin_test_downward): Likewise.
31485 (sin_test_upward): Likewise.
31486 (sincos_test): Likewise.
31487 (sinh_test): Likewise.
31488 (sinh_test_tonearest): Likewise.
31489 (sinh_test_towardzero): Likewise.
31490 (sinh_test_downward): Likewise.
31491 (sinh_test_upward): Likewise.
31492 (sqrt_test): Likewise.
31493 (sqrt_test_tonearest): Likewise.
31494 (sqrt_test_towardzero): Likewise.
31495 (sqrt_test_downward): Likewise.
31496 (sqrt_test_upward): Likewise.
31497 (tan_test): Likewise.
31498 (tan_test_tonearest): Likewise.
31499 (tan_test_towardzero): Likewise.
31500 (tan_test_downward): Likewise.
31501 (tan_test_upward): Likewise.
31502 (tanh_test): Likewise.
31503 (tgamma_test): Likewise.
31504 (trunc_test): Likewise.
31505 (y0_test): Likewise.
31506 (y1_test): Likewise.
31507 (yn_test): Likewise.
31508 (significand_test): Likewise.
31509
31510 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
31511 individual tests in comment.
31512 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
31513 (prev_max_error): New variable.
31514 (prev_real_max_error): Likewise.
31515 (prev_imag_max_error): Likewise.
31516 (compare_ulp_data): Don't refer to test names in comment.
31517 (find_test_ulps): Remove function.
31518 (find_function_ulps): Likewise.
31519 (find_complex_function_ulps): Likewise.
31520 (init_max_error): Take function name as argument. Look up ulps
31521 for that function.
31522 (print_ulps): Remove function.
31523 (print_max_error): Use prev_max_error instead of calling
31524 find_function_ulps.
31525 (print_complex_max_error): Use prev_real_max_error and
31526 prev_imag_max_error instead of calling find_complex_function_ulps.
31527 (check_float_internal): Take max_ulp parameter instead of calling
31528 find_test_ulps. Don't call print_ulps.
31529 (check_float): Update call to check_float_internal.
31530 (check_complex): Update calls to check_float_internal.
31531 (START): Pass argument to init_max_error.
31532 * math/gen-libm-test.pl (%results): Don't include "kind"
31533 information.
31534 (parse_ulps): Don't handle ulps of individual tests.
31535 (print_ulps_file): Likewise.
31536 (output_ulps): Likewise.
31537 * math/README.libm-test: Update.
31538 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
31539 individual tests.
31540 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
31541 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31542 * sysdeps/arm/libm-test-ulps: Likewise.
31543 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31544 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
31545 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
31546 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
31547 * sysdeps/microblaze/libm-test-ulps: Likewise.
31548 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31549 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31550 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31551 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31552 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31553 * sysdeps/sh/libm-test-ulps: Likewise.
31554 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31555 * sysdeps/tile/libm-test-ulps: Likewise.
31556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31557
31558 2014-03-04 Joseph Myers <joseph@codesourcery.com>
31559
31560 * math/libm-test.inc (print_complex_max_error): Check separately
31561 whether real and imaginary errors are within allowed range and
31562 pass 0 to print_complex_function_ulps instead of value within
31563 allowed range.
31564
31565 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31566
31567 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
31568 formatting.
31569 (get_handles_fopen): Likewise.
31570 (do_write_test): Likewise.
31571
31572 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
31573
31574 * libio/fileops.c (do_ftell): Use cached offset when
31575 available.
31576 * libio/iofwide.c (do_ftell_wide): Likewise.
31577 * libio/iofdopen.c (_IO_new_fdopen): Don't use
31578 _IO_file_attach.
31579 * libio/wfileops.c (_IO_fwide): Don't cache offset.
31580
31581 [BZ #16532]
31582 * libio/libioP.h (get_file_offset): New function.
31583 * libio/fileops.c (get_file_offset): Likewise.
31584 (do_ftell): Likewise.
31585 (_IO_new_file_seekoff): Split out ftell logic.
31586 * libio/wfileops.c (do_ftell_wide): Likewise.
31587 (_IO_wfile_seekoff): Split out ftell logic.
31588 * libio/tst-ftell-active-handler.c: New test case.
31589 * libio/Makefile (tests): Add it.
31590
31591 2014-03-03 Roland McGrath <roland@hack.frob.com>
31592
31593 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
31594 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
31595
31596 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31597
31598 [BZ #16639]
31599 * nscd/connections.c (nscd_init): Call do_exit.
31600 (start_threads): Call do_exit and notify_parent.
31601 (begin_drop_privileges): Call do_exit.
31602 (finish_drop_privileges): Likewise.
31603 * nscd/selinux.c (preserve_capabilities): Likewise.
31604 (install_real_capabilities): Likewise.
31605 (nscd_selinux_enabled): Likewise.
31606 (avc_create_thread): Likewise.
31607 (avc_alloc_lock): Likewise.
31608 (nscd_avc_init): Likewise.
31609 * nscd/nscd.c (parent_fd): New static variable.
31610 (main): Create a pipe between parent and child processes.
31611 Skip closing parent_fd.
31612 (monitor_child): New function.
31613 (do_exit): Likewise.
31614 (notify_parent): Likewise.
31615 * nscd/nscd.h (notify_parent): Likewise.
31616 (do_exit): Likewise.
31617
31618 2014-03-03 Carlos O'Donell <carlos@redhat.com>
31619
31620 * malloc/malloc.c (__libc_calloc): Revert last change.
31621
31622 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31623
31624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31625
31626 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31627
31628 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
31629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
31630 implementation.
31631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31632 (__libc_ifunc_impl_list): Likewise.
31633 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
31634 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
31635 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
31636 * string/strrchr.c: Define STRRCHR.
31637
31638 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
31639
31640 * benchtest/bench-strtok.c (simple_strtok): Delete.
31641 (strtok_string): Use as benchmark.
31642 * string/strtok (STRTOK): New macro.
31643
31644 2014-02-28 Carlos O'Donell <carlos@redhat.com>
31645
31646 * manual/threads.texi: Add header and standard comments to all
31647 functions.
31648
31649 * elf/dl-lookup.c (check_match): New function.
31650 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
31651 (do_lookup_x): Remove nested function check_match. Use non-nested
31652 function check_match.
31653
31654 2014-02-28 Roland McGrath <roland@hack.frob.com>
31655
31656 * csu/Makefile (generated, before-compile): Use += rather than =.
31657 * catgets/Makefile (generated, generated-dirs): Likewise.
31658 * debug/Makefile (generated): Likewise.
31659 * dlfcn/Makefile (generated): Likewise.
31660 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
31661 * iconvdata/Makefile (before-compile, generated): Likewise.
31662 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
31663 * libio/Makefile (generated): Likewise.
31664 * malloc/Makefile (generated): Likewise.
31665 * manual/Makefile (generated, generated-dirs): Likewise.
31666 * misc/Makefile (generated): Likewise.
31667 * posix/Makefile (generated): Likewise.
31668 * resolv/Makefile (generated): Likewise.
31669 * sunrpc/Makefile (generated, generated-dirs): Likewise.
31670 * timezone/Makefile (generated, generated-dirs): Likewise.
31671
31672 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
31673
31674 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31675
31676 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31677 power8 implementation.
31678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
31679 file: POWER8 llround ifunc implementation.
31680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
31681 (__lllround): Add POWER8 implementation.
31682 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
31683 POWER8 llround implementation.
31684
31685 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
31686 power8 implementation.
31687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
31688 file: POWER8 llrint ifunc implementation.
31689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
31690 Add POWER8 implementation.
31691 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
31692 POWER8 llrint implementation.
31693
31694 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
31695 power8 implementation.
31696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
31697 file: POWER8 finite ifunc implementation.
31698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
31699 Add POWER8 implementation.
31700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
31701 Likewise.
31702 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
31703 POWER8 finite implementation.
31704 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
31705
31706 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
31707 power8 implementation.
31708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
31709 file: POWER8 isinf ifunc implementation.
31710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
31711 POWER8 implementation.
31712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
31713 Likewise.
31714 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
31715 isinf implementation.
31716 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
31717
31718 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
31719 (INIT_ARCH): Add hwcap2 initialization.
31720 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31721 power8 implementation.
31722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
31723 file: POWER8 isnan ifunc implementation.
31724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
31725 POWER8 implementation.
31726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
31727 Likewise.
31728 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
31729 isnan implementation.
31730 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
31731
31732 2014-02-27 Joey Ye <joey.ye@arm.com>
31733
31734 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31735 (_FP_NANFRAC_Q): Set to zero.
31736
31737 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31738
31739 [BZ #16623]
31740 * math/auto-libm-test-in: New test inputs.
31741 * math/auto-libm-test-out: Regenerate.
31742 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
31743 and DA.
31744 (__cos): Likewise.
31745 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31746
31747 2014-02-27 Joseph Myers <joseph@codesourcery.com>
31748
31749 * scripts/evaluate-test.sh: Take new argument indicating whether
31750 failure is expected.
31751 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
31752 indicating whether failure is expected.
31753 * conform/Makefile (test-xfail-run-conformtest): New variable.
31754 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
31755 level.
31756 * posix/Makefile (test-xfail-annexc): New variable.
31757 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
31758
31759 2014-02-26 Joseph Myers <joseph@codesourcery.com>
31760
31761 * argp/Makefile: Include Makeconfig immediately after defining
31762 subdir.
31763 * assert/Makefile: Likewise.
31764 * benchtests/Makefile: Likewise.
31765 * catgets/Makefile: Likewise.
31766 * conform/Makefile: Likewise.
31767 * crypt/Makefile: Likewise.
31768 * csu/Makefile: Likewise.
31769 (all): Remove target.
31770 * ctype/Makefile: Include Makeconfig immediately after defining
31771 subdir.
31772 * debug/Makefile: Likewise.
31773 * dirent/Makefile: Likewise.
31774 * dlfcn/Makefile: Likewise.
31775 * gmon/Makefile: Likewise.
31776 * gnulib/Makefile: Likewise.
31777 * grp/Makefile: Likewise.
31778 * gshadow/Makefile: Likewise.
31779 * hesiod/Makefile: Likewise.
31780 * hurd/Makefile: Likewise.
31781 (all): Remove target.
31782 * iconvdata/Makefile: Include Makeconfig immediately after
31783 defining subdir.
31784 * inet/Makefile: Likewise.
31785 * intl/Makefile: Likewise.
31786 * io/Makefile: Likewise.
31787 * libio/Makefile: Likewise.
31788 (all): Remove target.
31789 * locale/Makefile: Include Makeconfig immediately after defining
31790 subdir.
31791 * login/Makefile: Likewise.
31792 * mach/Makefile: Likewise.
31793 (all): Remove target.
31794 * malloc/Makefile: Include Makeconfig immediately after defining
31795 subdir.
31796 (all): Remove target.
31797 * manual/Makefile: Include Makeconfig immediately after defining
31798 subdir.
31799 * math/Makefile: Likewise.
31800 * misc/Makefile: Likewise.
31801 * nis/Makefile: Likewise.
31802 * nss/Makefile: Likewise.
31803 * po/Makefile: Likewise.
31804 (all): Remove target.
31805 * posix/Makefile: Include Makeconfig immediately after defining
31806 subdir.
31807 * pwd/Makefile: Likewise.
31808 * resolv/Makefile: Likewise.
31809 * resource/Makefile: Likewise.
31810 * rt/Makefile: Likewise.
31811 * setjmp/Makefile: Likewise.
31812 * shadow/Makefile: Likewise.
31813 * signal/Makefile: Likewise.
31814 * socket/Makefile: Likewise.
31815 * soft-fp/Makefile: Likewise.
31816 * stdio-common/Makefile: Likewise.
31817 * stdlib/Makefile: Likewise.
31818 * streams/Makefile: Likewise.
31819 * string/Makefile: Likewise.
31820 * sunrpc/Makefile: Likewise.
31821 (all): Remove target.
31822 * sysvipc/Makefile: Include Makeconfig immediately after defining
31823 subdir.
31824 * termios/Makefile: Likewise.
31825 * time/Makefile: Likewise.
31826 * timezone/Makefile: Likewise.
31827 (all): Remove target.
31828 * wcsmbs/Makefile: Include Makeconfig immediately after defining
31829 subdir.
31830 * wctype/Makefile: Likewise.
31831
31832 2014-02-26 Steve Ellcey <sellcey@mips.com>
31833
31834 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
31835 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
31836 (libc_feholdexcept_setround_mips): Ditto.
31837 (libc_feholdsetround): New.
31838 (libc_feholdsetroundf): New.
31839 (libc_feholdsetroundl): New.
31840 (libc_feupdateenv_test_mips): New.
31841 (libc_feupdateenv_test): New.
31842 (libc_feupdateenv_testf): New.
31843 (libc_feupdateenv_testl): New.
31844 (libc_feresetround): New.
31845 (libc_feresetroundf): New.
31846 (libc_feresetroundl): New.
31847 (libc_fetestexcept_mips): New.
31848 (libc_fetestexcept): New.
31849 (libc_fetestexceptf): New.
31850 (libc_fetestexceptl): New.
31851 (HAVE_RM_CTX): New.
31852 (libc_feholdexcept_setround_mips_ctx): New.
31853 (libc_feholdexcept_setround_ctx): New.
31854 (libc_feholdexcept_setroundf_ctx): New.
31855 (libc_feholdexcept_setroundl_ctx): New.
31856 (libc_fesetenv_mips_ctx): New.
31857 (libc_fesetenv_ctx): New.
31858 (libc_fesetenv_ctxf): New.
31859 (libc_fesetenv_ctxl): New.
31860 (libc_feupdateenv_mips_ctx): New.
31861 (libc_feupdateenv_ctx): New.
31862 (libc_feupdateenvf_ctx): New.
31863 (libc_feupdateenvl_ctx): New.
31864 (libc_feholdsetround_mips_ctx): New.
31865 (libc_feholdsetround_ctx): New.
31866 (libc_feholdsetroundf_ctx): New.
31867 (libc_feholdsetroundl_ctx): New.
31868 (libc_feresetround_mips_ctx): New.
31869 (libc_feresetround_ctx): New.
31870 (libc_feresetroundf_ctx): New.
31871 (libc_feresetroundl_ctx): New.
31872
31873 2014-02-26 Carlos O'Donell <carlos@redhat.com>
31874
31875 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
31876
31877 * manual/ipc.texi: New file.
31878 * manual/Makefile (chapters): Add ipc.
31879 * manual/job.texi: Add "Inter-Process Communication" to next.
31880 * manual/process.texi: Add "Inter-Process Communication" to prev.
31881
31882 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31883
31884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31885
31886 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
31887
31888 * malloc/malloc.c (__libc_calloc): Simplify implementation.
31889
31890 * manual/arith.texi: Fix spaces after sentences.
31891 * manual/charset.texi: Likewise.
31892 * manual/errno.texi: Likewise.
31893 * manual/install.texi: Likewise.
31894 * manual/llio.texi: Likewise.
31895 * manual/locale.texi: Likewise.
31896 * manual/maint.texi: Likewise.
31897 * manual/math.texi: Likewise.
31898 * manual/memory.texi: Likewise.
31899 * manual/message.texi: Likewise.
31900 * manual/probes.texi: Likewise.
31901 * manual/resource.texi: Likewise.
31902 * manual/signal.texi: Likewise.
31903 * manual/socket.texi: Likewise.
31904 * manual/stdio.texi: Likewise.
31905 * manual/string.texi: Likewise.
31906 * manual/time.texi: Likewise.
31907 * manual/users.texi: Likewise.
31908
31909 2014-02-25 Carlos O'Donell <carlos@redhat.com>
31910
31911 [BZ #16632]
31912 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
31913 _DEFAULT_SOURCE is defined.
31914
31915 2014-02-25 Ulrich Drepper <drepper@gmail.com>
31916 Carlos O'Donell <carlos@redhat.com>
31917
31918 [BZ #16613]
31919 * elf/dl-tls.c (_dl_count_modids): New function.
31920 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
31921 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
31922 audit library and increment generation counter.
31923 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
31924 * elf/tst-audit9.c: New file.
31925 * elf/tst-auditmod9a.c: New file.
31926 * elf/tst-auditmod9b.c: New file.
31927 * elf/Makefile: Add rules to build and run tst-audit9.
31928
31929 2014-02-25 Florian Weimer <fweimer@redhat.com>
31930
31931 [BZ #15347]
31932 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
31933
31934 2014-02-25 Will Newton <will.newton@linaro.org>
31935
31936 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
31937 (__longjmp): Restore sp and lr before restoring callee
31938 saved registers. Add longjmp and longjmp_target
31939 SystemTap probe point.
31940 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
31941 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
31942 Define to zero to match jmpbuf layout.
31943 * sysdeps/arm/setjmp.S: Include stap-probe.h.
31944 (__sigsetjmp): Save sp and lr before saving callee
31945 saved registers. Add setjmp SystemTap probe point.
31946
31947 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
31948
31949 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31950
31951 2014-02-24 Andreas Schwab <schwab@suse.de>
31952
31953 [BZ #15804]
31954 * elf/pldd.c (wait_for_ptrace_stop): New function.
31955 (main): Call it after attaching.
31956
31957 2014-02-22 Roland McGrath <roland@hack.frob.com>
31958
31959 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
31960 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
31961 Versions files is now verboten.
31962 * hurd/Versions (libc: GLIBC_2.0):
31963 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
31964 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
31965 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
31966 * mach/Versions: Likewise.
31967
31968 * csu/Versions: Remove unused %include.
31969 * resolv/Versions: Likewise.
31970
31971 2014-02-21 Joseph Myers <joseph@codesourcery.com>
31972
31973 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
31974 ($(objpfx)check-local-headers.out): Likewise.
31975 ($(objpfx)begin-end-check.out): Likewise.
31976 * Makerules (check-abi-%.out): Likewise.
31977 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
31978 ($(objpfx)test2.cat): Likewise.
31979 ($(objpfx)de/libc.cat): Likewise.
31980 ($(objpfx)test-gencat.out): Likewise.
31981 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
31982 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
31983 ($(objpfx)noload-mem): Likewise.
31984 ($(objpfx)tst-pathopt.out): Likewise.
31985 ($(objpfx)tst-rtld-load-self.out): Likewise.
31986 ($(objpfx)tst-array1-cmp.out): Likewise.
31987 ($(objpfx)tst-array1-static-cmp.out): Likewise.
31988 ($(objpfx)tst-array2-cmp.out): Likewise.
31989 ($(objpfx)tst-array3-cmp.out): Likewise.
31990 ($(objpfx)tst-array4-cmp.out): Likewise.
31991 ($(objpfx)tst-array5-cmp.out): Likewise.
31992 ($(objpfx)tst-array5-static-cmp.out): Likewise.
31993 ($(objpfx)check-textrel.out): Likewise.
31994 ($(objpfx)check-execstack.out): Likewise.
31995 ($(objpfx)check-localplt.out): Likewise.
31996 ($(objpfx)order2-cmp.out): Likewise.
31997 ($(objpfx)tst-leaks1-mem): Likewise.
31998 ($(objpfx)tst-leaks1-static-mem): Likewise.
31999 ($(objpfx)tst-initorder-cmp.out): Likewise.
32000 ($(objpfx)tst-initorder2-cmp.out): Likewise.
32001 ($(objpfx)tst-unused-dep.out): Likewise.
32002 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
32003 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
32004 * iconv/Makefile (test-iconvconfig): Likewise.
32005 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
32006 ($(objpfx)iconv-test.out): Likewise.
32007 ($(objpfx)tst-tables.out): Likewise.
32008 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
32009 ($(objpfx)tst-gettext.out): Likewise.
32010 ($(objpfx)tst-translit.out): Likewise.
32011 ($(objpfx)tst-gettext2.out): Likewise.
32012 ($(objpfx)tst-gettext4.out): Likewise.
32013 ($(objpfx)tst-gettext6.out): Likewise.
32014 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
32015 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
32016 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
32017 ($(objpfx)tst-fopenloc-mem.out): Likewise.
32018 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
32019 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
32020 * posix/Makefile ($(objpfx)globtest.out): Likewise.
32021 ($(objpfx)wordexp-tst.out): Likewise.
32022 ($(objpfx)annexc.out): Likewise.
32023 ($(objpfx)tst-fnmatch-mem): Likewise.
32024 ($(objpfx)bug-regex2-mem): Likewise.
32025 ($(objpfx)bug-regex14-mem): Likewise.
32026 ($(objpfx)bug-regex21-mem): Likewise.
32027 ($(objpfx)bug-regex31-mem): Likewise.
32028 ($(objpfx)tst-vfork3-mem): Likewise.
32029 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32030 ($(objpfx)tst-pcre-mem): Likewise.
32031 ($(objpfx)tst-boost-mem): Likewise.
32032 ($(objpfx)tst-getconf.out): Likewise.
32033 ($(objpfx)bug-ga2-mem): Likewise.
32034 ($(objpfx)bug-glob2-mem): Likewise.
32035 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
32036 ($(objpfx)mtrace-tst-leaks2): Likewise.
32037 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
32038 ($(objpfx)tst-printf.out): Likewise.
32039 ($(objpfx)tst-setvbuf1.out): Likewise.
32040 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
32041 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
32042 ($(objpfx)tst-fmtmsg.out): Likewise.
32043 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
32044 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
32045
32046 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
32047 * bits/sigaction.h [__USE_MISC]: Likewise.
32048 * bits/waitstatus.h: Update #endif comments.
32049 * ctype/ctype.h: Likewise.
32050 * dirent/dirent.h: Likewise.
32051 [__USE_MISC]: Remove redundant conditionals.
32052 * grp/grp.h: Update #endif comments.
32053 [__USE_GNU]: Remove redundant conditionals.
32054 [__USE_MISC]: Likewise.
32055 * inet/netinet/in.h [__USE_GNU]: Likewise.
32056 * io/sys/stat.h [__USE_MISC]: Likewise.
32057 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
32058 * libio/bits/stdio.h: Update #endif comments.
32059 [__USE_MISC]: Remove redundant conditionals.
32060 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
32061 * libio/stdio.h: Update #endif comments.
32062 [__USE_MISC]: Remove redundant conditionals.
32063 * math/bits/math-finite.h [__USE_MISC]: Likewise.
32064 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
32065 * math/math.h: Update #else and #endif comments.
32066 [__USE_MISC]: Remove redundant conditionals.
32067 * misc/sys/uio.h: Update #endif comments.
32068 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
32069 * posix/glob.h [__USE_MISC]: Likewise.
32070 * posix/sys/types.h: Update #endif comments.
32071 [__USE_MISC]: Remove redundant conditionals.
32072 * posix/sys/wait.h: Update #endif comments.
32073 [__USE_MISC]: Remove redundant conditionals.
32074 * posix/unistd.h: Update #endif comments.
32075 [__USE_MISC]: Remove redundant conditionals.
32076 * pwd/pwd.h [__USE_GNU]: Likewise.
32077 [__USE_MISC]: Likewise.
32078 * resolv/netdb.h [__USE_GNU]: Likewise.
32079 * signal/signal.h: Update #endif comments.
32080 [__USE_MISC]: Remove redundant conditionals.
32081 * stdlib/stdlib.h: Update #else and #endif comments.
32082 [__USE_MISC]: Remove redundant conditionals.
32083 [__USE_GNU]: Likewise.
32084 * string/bits/string2.h [__USE_MISC]: Likewise.
32085 * string/string.h: Update #endif comments.
32086 [__USE_MISC]: Remove redundant conditionals.
32087 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
32088 Likewise.
32089 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
32090 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
32091 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
32092 Likewise.
32093 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
32094 Likewise.
32095 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
32096 comments.
32097 [__USE_MISC]: Remove redundant conditionals.
32098 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
32099 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
32100 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
32101 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
32102 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
32103 Likewise.
32104 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
32105 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
32106 Likewise.
32107 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
32108 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
32109 Likewise.
32110 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
32111 Likewise.
32112 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
32113 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
32114 Likewise.
32115 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
32116 Likewise.
32117 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
32118 * sysdeps/x86/bits/string.h: Update #endif comments.
32119 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
32120 conditionals.
32121 * time/sys/time.h: Update #endif comments.
32122 * time/time.h: Likewise.
32123 [__USE_MISC]: Remove redundant conditionals.
32124
32125 2014-02-21 Yury Gribov <y.gribov@samsung.com>
32126
32127 [BZ #16600]
32128 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
32129
32130 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
32131
32132 * Versions.def (librt): Add GLIBC_2.17.
32133
32134 2014-02-21 Adam Conrad <adconrad@0c3.net>
32135
32136 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
32137 synonym for _SYS_AUXV_H to allow direct inclusion.
32138 * sysdeps/sparc/bits/hwcap.h: Likewise.
32139 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
32140 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
32141 * sysdeps/sparc/sysdep.h: Likewise.
32142
32143 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32144
32145 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
32146
32147 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32148
32149 * benchtests/bench-strrchr.c: Print length instead of position.
32150
32151 2014-02-20 Joseph Myers <joseph@codesourcery.com>
32152
32153 [BZ #16611]
32154 * sysdeps/unix/sysv/linux/kernel-features.h
32155 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
32156 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
32157 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
32158 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
32159 Likewise.
32160 [__i386__ || __powerpc__ || __sh__ || __sparc__]
32161 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32162 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
32163 (__ASSUME_SENDMMSG): Define instead of using previous
32164 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
32165 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32166 (__ASSUME_SENDMMSG_SYSCALL): Define.
32167 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32168 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
32169 Likewise.
32170 * sysdeps/unix/sysv/linux/arm/kernel-features.h
32171 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32172 Likewise.
32173 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32174 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32175 Likewise.
32176 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
32177 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32178 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32179 [__ASSUME_SENDMMSG]: Change conditionals to
32180 [__ASSUME_SENDMMSG_SOCKETCALL].
32181 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32182 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
32183 Define.
32184 * sysdeps/unix/sysv/linux/mips/kernel-features.h
32185 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
32186 Likewise.
32187 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
32188 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
32189 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
32190 [!__ASSUME_SENDMMSG]: Change conditional to
32191 [!__ASSUME_SENDMMSG_SOCKETCALL].
32192 * sysdeps/unix/sysv/linux/tile/kernel-features.h
32193 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
32194 Define.
32195
32196 [BZ #16610]
32197 * sysdeps/unix/sysv/linux/kernel-features.h
32198 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
32199 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
32200 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
32201 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
32202 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32203 [__i386__ || __sparc__]
32204 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32205 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
32206 (__ASSUME_RECVMMSG): Define instead of using previous
32207 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
32208 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32209 (__ASSUME_RECVMMSG_SYSCALL): Define.
32210 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32211 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32212 Likewise.
32213 * sysdeps/unix/sysv/linux/arm/kernel-features.h
32214 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32215 Likewise.
32216 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32217 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32218 Likewise.
32219 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
32220 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32221 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32222 [__ASSUME_RECVMMSG]: Change condition to
32223 [__ASSUME_RECVMMSG_SOCKETCALL].
32224 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32225 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32226 Define.
32227 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32228 * sysdeps/unix/sysv/linux/mips/kernel-features.h
32229 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
32230 Likewise.
32231 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
32232 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
32233 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
32234 [!__ASSUME_RECVMMSG]: Change condition to
32235 [!__ASSUME_RECVMMSG_SOCKETCALL].
32236 * sysdeps/unix/sysv/linux/tile/kernel-features.h
32237 (__ASSUME_RECVMMSG_SYSCALL): Define.
32238
32239 [BZ #16609]
32240 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
32241 __powerpc__ || __s390__ || __sh__ || __sparc__]
32242 (__ASSUME_SOCKETCALL): Define.
32243 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
32244 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
32245 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
32246 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
32247 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32248 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32249 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
32250 (__ASSUME_ACCEPT4): Define instead of using previous
32251 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
32252 __powerpc__ || __sparc__ || __s390__)] condition.
32253 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32254 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32255 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
32256 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32257 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32258 [!__ASSUME_ACCEPT4]: Change condition to
32259 [!__ASSUME_ACCEPT4_SOCKETCALL].
32260 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
32261 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
32262 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
32263 * sysdeps/unix/sysv/linux/arm/kernel-features.h
32264 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
32265 __ASSUME_ACCEPT4_SYSCALL.
32266 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
32267 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
32268 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
32269 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
32270 __ASSUME_ACCEPT4_SYSCALL.
32271 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
32272 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
32273 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
32274 [__ASSUME_ACCEPT4]: Change condition to
32275 [__ASSUME_ACCEPT4_SOCKETCALL].
32276 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32277 (__ASSUME_SOCKETCALL): Define.
32278 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
32279 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32280 (__ASSUME_SOCKETCALL): Define.
32281 (__ASSUME_ACCEPT4): Remove.
32282 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
32283 Define.
32284 * sysdeps/unix/sysv/linux/mips/kernel-features.h
32285 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
32286 Likewise.
32287 * sysdeps/unix/sysv/linux/tile/kernel-features.h
32288 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
32289
32290 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
32291 macro.
32292 (HWCAP_ARM_LPAE): Likewise.
32293 (HWCAP_ARM_EVTSTRM): Likewise.
32294 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
32295 Add vpfd32, lpae and evtstrm.
32296 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
32297 Increase to 22.
32298
32299 2014-02-19 Joseph Myers <joseph@codesourcery.com>
32300
32301 * math/auto-libm-test-in: Add tests of clog10.
32302 * math/auto-libm-test-out: Regenerated.
32303 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
32304 * sysdeps/i386/fpu/libm-test-ulps: Update.
32305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32306
32307 2014-02-18 Andreas Schwab <schwab@suse.de>
32308
32309 [BZ #16574]
32310 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
32311 Store non-zero if the second buffer was newly allocated.
32312 (send_dg): Likewise.
32313 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
32314 to send_vc and send_dg.
32315 (res_nsend): Pass NULL for ansp2_malloced.
32316 * resolv/res_query.c (__libc_res_nquery): Add parameter
32317 answerp2_malloced and pass it down to __libc_res_nsend.
32318 (res_nquery): Pass additional NULL to __libc_res_nquery.
32319 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
32320 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
32321 second answer buffer if answerp2_malloced was set.
32322 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
32323 (__libc_res_nquerydomain): Add parameter
32324 answerp2_malloced and pass it down to __libc_res_nquery.
32325 (res_nquerydomain): Pass additional NULL to
32326 __libc_res_nquerydomain.
32327 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
32328 additional NULL to __libc_res_nsend and __libc_res_nquery.
32329 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
32330 additional NULL to __libc_res_nsearch.
32331 (_nss_dns_gethostbyname4_r): Revert last change. Use new
32332 parameter of __libc_res_nsearch to check for separately allocated
32333 second buffer.
32334 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
32335 __libc_res_nquery.
32336 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
32337 additional NULL to __libc_res_nquery.
32338 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
32339 __libc_res_nsearch.
32340 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
32341 * include/resolv.h: Update prototypes of __libc_res_nquery,
32342 __libc_res_nsearch, __libc_res_nsend.
32343
32344 2014-02-18 Joseph Myers <joseph@codesourcery.com>
32345
32346 * math/auto-libm-test-in: Add tests of fma.
32347 * math/auto-libm-test-out: Regenerated.
32348 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
32349 (fma_towardzero_test_data): Likewise.
32350 (fma_downward_test_data): Likewise.
32351 (fma_upward_test_data): Likewise.
32352 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
32353 mpc_mode.
32354 (rounding_modes): Add values for new field.
32355 (func_calc_method): Add value mpfr_fff_f.
32356 (func_calc_desc): Add mpfr_fff_f union field.
32357 (test_function): Add field exact_args.
32358 (FUNC): Add macro argument EXACT_ARGS.
32359 (FUNC_mpfr_f_f): Update call to FUNC.
32360 (FUNC_mpfr_f_f): Likewise.
32361 (FUNC_mpfr_ff_f): Likewise.
32362 (FUNC_mpfr_if_f): Likewise.
32363 (FUNC_mpc_c_f): Likewise.
32364 (FUNC_mpc_c_c): Likewise.
32365 (test_functions): Add fma. Update calls to FUNC.
32366 (handle_input_arg): Add argument exact_args.
32367 (add_test): Update call to handle_input_arg.
32368 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
32369 (output_for_one_input_case): Update call to calc_generic_results.
32370 Recalculate exact zero results in each rounding mode.
32371
32372 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
32373 non-negative before setting low bit.
32374 * math/auto-libm-test-in: Mark one asin test possibly having
32375 spurious underflow.
32376 * math/auto-libm-test-out: Regenerated.
32377 * sysdeps/i386/fpu/libm-test-ulps: Update.
32378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32379
32380 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
32381
32382 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
32383 * sysdeps/unix/sysv/linux/microblaze: Move directory from
32384 ports/sysdeps/unix/sysv/linux/microblaze.
32385 * README: Add missing listing for microblaze*-*-linux-gnu.
32386
32387 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
32388
32389 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
32390 duplicate code
32391
32392 2014-02-16 Mike Frysinger <vapier@gentoo.org>
32393
32394 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
32395 * sysdeps/unix/sysv/linux/ia64: Move directory from
32396 ports/sysdeps/unix/sysv/linux/ia64.
32397 * README: Update listing for ia64-*-linux-gnu.
32398
32399 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
32400 Joseph Myers <joseph@codesourcery.com>
32401
32402 * Makeconfig (test-name): New variable.
32403 (evaluate-test): Likewise.
32404 * Makerules (do-test-clean): Remove .test-result files.
32405 (common-mostlyclean): Likewise.
32406 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
32407 * scripts/evaluate-test.sh: New file.
32408
32409 2014-02-14 Joseph Myers <joseph@codesourcery.com>
32410
32411 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
32412 separate $(objpfx)tst-fopenloc-cmp.out and
32413 $(objpfx)tst-fopenloc-mem.out targets.
32414 (tests): Update dependencies.
32415 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
32416 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
32417 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
32418 (tst-rxspencer-no-utf8-ARGS): New variable.
32419 (tst-rxspencer-no-utf8-ENV): Likewise.
32420 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
32421 instead of $(objpfx)tst-rxspencer-mem.
32422 ($(objpfx)tst-rxspencer-mem): Change target to
32423 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
32424 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
32425 * posix/tst-rxspencer-no-utf8.c: New file.
32426
32427 * elf/Makefile ($(objpfx)order.out): Remove rule.
32428 [$(run-built-tests) = yes] (tests): Depend on
32429 $(objpfx)order-cmp.out.
32430 ($(objpfx)order-cmp.out): New rule.
32431 [$(run-built-tests) = yes] (tests): Depend on
32432 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
32433 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
32434 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
32435 $(objpfx)tst-array5-static-cmp.out.
32436 ($(objpfx)tst-array1.out): Remove rule.
32437 ($(objpfx)tst-array1-cmp.out): New rule.
32438 ($(objpfx)tst-array1-static.out): Remove rule.
32439 ($(objpfx)tst-array1-static-cmp.out): New rule.
32440 ($(objpfx)tst-array2.out): Remove rule.
32441 ($(objpfx)tst-array2-cmp.out): New rule.
32442 ($(objpfx)tst-array3.out): Remove rule.
32443 ($(objpfx)tst-array3-cmp.out): New rule.
32444 ($(objpfx)tst-array4.out): Remove rule.
32445 ($(objpfx)tst-array4-cmp.out): New rule.
32446 ($(objpfx)tst-array5.out): Remove rule.
32447 ($(objpfx)tst-array5-cmp.out): New rule.
32448 ($(objpfx)tst-array5-static.out): Remove rule.
32449 ($(objpfx)tst-array5-static-cmp.out): New rule.
32450 [$(run-built-tests) = yes] (tests): Depend on
32451 $(objpfx)order2-cmp.out.
32452 ($(objpfx)order2.out): Remove rule.
32453 ($(objpfx)order2-cmp.out): New rule.
32454 ($(objpfx)tst-initorder.out): Remove rule.
32455 [$(run-built-tests) = yes] (tests): Depend on
32456 $(objpfx)tst-initorder-cmp.out.
32457 ($(objpfx)tst-initorder-cmp.out): New rule.
32458 ($(objpfx)tst-initorder2.out): Remove rule.
32459 [$(run-built-tests) = yes] (tests): Depend on
32460 $(objpfx)tst-initorder2-cmp.out.
32461 ($(objpfx)tst-initorder2-cmp.out): New rule.
32462 [$(run-built-tests) = yes] (tests): Depend on
32463 $(objpfx)tst-unused-dep-cmp.out.
32464 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
32465 ($(objpfx)tst-unused-dep-cmp.out): New rule.
32466 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
32467 on $(objpfx)tst-setvbuf1-cmp.out.
32468 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
32469 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
32470 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
32471 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
32472 ($(objpfx)tst-svc.out): Remove rule.
32473 ($(objpfx)tst-svc-cmp.out): New rule.
32474
32475 2014-02-13 Joseph Myers <joseph@codesourcery.com>
32476
32477 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
32478 * ctype/ctype.h [__USE_MISC]: Likewise.
32479 * dirent/dirent.h [__USE_MISC]: Likewise.
32480 * grp/grp.h [__USE_MISC]: Likewise.
32481 * io/fcntl.h [__USE_MISC]: Likewise.
32482 * io/sys/stat.h [__USE_MISC]: Likewise.
32483 * libio/stdio.h [__USE_MISC]: Likewise.
32484 * posix/unistd.h [__USE_MISC]: Likewise.
32485 * pwd/pwd.h [__USE_MISC]: Likewise.
32486 * stdlib.h [__USE_MISC]: Likewise.
32487 * string/bits/string2.h [__USE_MISC]: Likewise.
32488 * string/string.h [__USE_MISC]: Likewise.
32489 * time/time.h [__USE_MISC]: Likewise.
32490
32491 2014-02-13 Andreas Schwab <schwab@suse.de>
32492
32493 [BZ #16574]
32494 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
32495 second answer buffer if it was separately allocated.
32496
32497 2014-02-12 Joseph Myers <joseph@codesourcery.com>
32498
32499 * sysdeps/mips/math-tests.h: Include <features.h>.
32500 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32501 (ROUNDING_TESTS_long_double): Do not define.
32502 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32503 (EXCEPTION_TESTS_long_double): Likewise.
32504 * sysdeps/mips/mips64/libm-test-ulps: Update.
32505
32506 * include/features.h (__USE_BSD): Remove macro definitions.
32507 (__USE_SVID): Likewise.
32508 (_BSD_SOURCE): Likewise.
32509 (_SVID_SOURCE): Likewise.
32510 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
32511 from definition of _DEFAULT_SOURCE.
32512 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
32513 [_DEFAULT_SOURCE].
32514 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
32515 * bits/mman.h [__USE_BSD]: Likewise.
32516 * bits/termios.h [__USE_BSD]: Likewise.
32517 * bits/waitstatus.h [__USE_BSD]: Likewise.
32518 * ctype/ctype.h [__USE_SVID]: Likewise.
32519 * dirent/dirent.h [__USE_BSD]: Likewise.
32520 * grp/grp.h [__USE_SVID]: Likewise.
32521 [__USE_BSD]: Likewise.
32522 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
32523 * io/fcntl.h [__USE_BSD]: Likewise.
32524 * io/ftw.h [__USE_BSD]: Likewise.
32525 * io/sys/stat.h [__USE_BSD]: Likewise.
32526 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
32527 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
32528 * libio/stdio.h [__USE_SVID]: Likewise.
32529 [__USE_BSD]: Likewise.
32530 * math/math.h [__USE_SVID]: Likewise.
32531 [__USE_BSD]: Likewise.
32532 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
32533 * misc/bits/syslog.h [__USE_BSD]: Likewise.
32534 * misc/search.h [__USE_SVID]: Likewise.
32535 * misc/sys/mman.h [__USE_BSD]: Likewise.
32536 * misc/sys/syslog.h [__USE_BSD]: Likewise.
32537 * misc/sys/uio.h [__USE_BSD]: Likewise.
32538 * posix/bits/unistd.h [__USE_BSD]: Likewise.
32539 * posix/glob.h [__USE_BSD]: Likewise.
32540 * posix/regex.h [__USE_BSD]: Likewise.
32541 * posix/sys/types.h [__USE_BSD]: Likewise.
32542 [__USE_SVID]: Likewise.
32543 * posix/sys/utsname.h [__USE_SVID]: Likewise.
32544 * posix/sys/wait.h [__USE_BSD]: Likewise.
32545 [__USE_SVID]: Likewise.
32546 * posix/unistd.h [__USE_BSD]: Likewise.
32547 [__USE_SVID]: Likewise.
32548 * pwd/pwd.h [__USE_SVID]: Likewise.
32549 * resolv/netdb.h [__USE_BSD]: Likewise.
32550 * setjmp/setjmp.h [__USE_BSD]: Likewise.
32551 * signal/signal.h [__USE_BSD]: Likewise.
32552 [__USE_SVID]: Likewise.
32553 * socket/sys/socket.h [__USE_BSD]: Likewise.
32554 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
32555 * stdlib/stdlib.h [__USE_BSD]: Likewise.
32556 [__USE_SVID]: Likewise.
32557 * string/bits/string2.h [__USE_BSD]: Likewise.
32558 [__USE_SVID]: Likewise.
32559 * string/bits/string3.h [__USE_BSD]: Likewise.
32560 * string/endian.h [__USE_BSD]: Likewise.
32561 * string/string.h [__USE_SVID]: Likewise.
32562 [__USE_BSD]: Likewise.
32563 * string/strings.h [__USE_BSD]: Likewise.
32564 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
32565 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
32566 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
32567 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
32568 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
32569 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
32570 Likewise.
32571 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
32572 Likewise.
32573 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
32574 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
32575 Likewise.
32576 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
32577 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
32578 Likewise.
32579 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
32580 Likewise.
32581 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
32582 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
32583 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
32584 Likewise.
32585 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
32586 Likewise.
32587 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
32588 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
32589 * termios/termios.h [__USE_BSD]: Likewise.
32590 * time/sys/time.h [__USE_BSD]: Likewise.
32591 * time/time.h [__USE_BSD]: Likewise.
32592 [__USE_SVID]: Likewise.
32593
32594 * Makefile (subdir_targets): Remove subdir_lint.out.
32595
32596 * stdio-common/Makefile (do-tst-unbputc): Remove target.
32597 (do-tst-printf): Likewise.
32598 (tests): Depend directly on $(objpfx)tst-unbputc.out and
32599 $(objpfx)tst-printf.out.
32600
32601 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
32602
32603 * Makerules (check-abi-%): Change target to
32604 $(objpfx)check-abi-%.out.
32605 (check-abi target): Update dependencies.
32606 (check-abi-pattern variable): Redirect output of diff to $@.
32607 (check-abi variable): Likewise.
32608 * elf/Makefile (check-abi): Update dependencies.
32609
32610 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
32611 unused.
32612 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
32613 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
32614 subnormal range.
32615 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
32616 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
32617 value has largest subnormal exponent.
32618 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
32619 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
32620 * sysdeps/aarch64/soft-fp/sfp-machine.h
32621 (_FP_TININESS_AFTER_ROUNDING): New macro.
32622 * sysdeps/alpha/soft-fp/sfp-machine.h
32623 (_FP_TININESS_AFTER_ROUNDING): Likewise.
32624 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32625 Likewise.
32626 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
32627 (_FP_TININESS_AFTER_ROUNDING): Likewise.
32628 * sysdeps/mips/soft-fp/sfp-machine.h
32629 (_FP_TININESS_AFTER_ROUNDING): Likewise.
32630 * sysdeps/powerpc/soft-fp/sfp-machine.h
32631 (_FP_TININESS_AFTER_ROUNDING): Likewise.
32632 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32633 Likewise.
32634 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32635 (_FP_TININESS_AFTER_ROUNDING): Likewise.
32636 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32637 (_FP_TININESS_AFTER_ROUNDING): Likewise.
32638 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32639 Likewise.
32640
32641 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
32642
32643 [BZ #16545]
32644 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
32645 model 1.
32646
32647 2014-02-12 Richard Henderson <rth@redhat.com>
32648
32649 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
32650 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
32651 * sysdeps/unix/sysv/linux/alpha: Move directory from
32652 ports/sysdeps/unix/sysv/linux/alpha.
32653 * README: Update listing for alpha-*-linux-gnu.
32654
32655 2014-02-11 Joseph Myers <joseph@codesourcery.com>
32656
32657 * include/features.h: Update comment documenting feature test
32658 macros.
32659 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
32660 _DEFAULT_SOURCE.
32661 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
32662 (_SVID_SOURCE): Likewise.
32663 (_DEFAULT_SOURCE): Update description of default features.
32664 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
32665 with _GNU_SOURCE.
32666 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
32667 (S_ISVTX): Likewise.
32668 * manual/math.texi (Mathematical Constants): Likewise.
32669 * manual/signal.texi (Interrupted Primitives): Likewise.
32670 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
32671 * math/test-matherr.c (_SVID_SOURCE): Do not define.
32672 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
32673 Don't refer to _SVID_SOURCE in warning text.
32674
32675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32676
32677 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
32678 already defined.
32679 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
32680 * sysdeps/mips/dl-lookup.c: Remove.
32681 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
32682
32683 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
32684
32685 [BZ #16447]
32686 * math/auto-libm-test-in: Add testcase for expl.
32687 * math/auto-libm-test-out: Regenerate.
32688 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
32689 calculation of unsafe.
32690 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
32691
32692 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
32693
32694 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
32695 * sysdeps/unix/sysv/linux/aarch64: Move directory from
32696 ports/sysdeps/unix/sysv/linux/aarch64.
32697 * README: Update listing for aarch64*-*-linux-gnu.
32698
32699 2014-02-11 Will Newton <will.newton@linaro.org>
32700
32701 * manual/probes.texi (Mathematical Function Probes): Use
32702 "triggered" instead of "hit".
32703
32704 * manual/probes.texi (Internal Probes): Add documentation
32705 of setjmp, longjmp and longjmp_target probes.
32706
32707 * include/stap-probe.h: Add comment about probe argument
32708 format.
32709
32710 * malloc/mtrace.c (attribute_hidden): Remove unused macro
32711 definition. (tr_where, tr_freehook, tr_mallochook,
32712 tr_reallochook, tr_memalignhook): Use ANSI protoype.
32713
32714 2014-02-11 David S. Miller <davem@davemloft.net>
32715
32716 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
32717 processing int_tests.
32718
32719 2014-02-10 Joseph Myers <joseph@codesourcery.com>
32720
32721 * sysdeps/mips: Move directory from ports/sysdeps/mips.
32722 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
32723 * sysdeps/unix/sysv/linux/mips: Move directory from
32724 ports/sysdeps/unix/sysv/linux/mips.
32725 * README: Update listing for mips-*-linux-gnu and
32726 mips64-*-linux-gnu.
32727
32728 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
32729
32730 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
32731 * sysdeps/unix/sysv/linux/m68k: Move directory from
32732 ports/sysdeps/unix/sysv/linux/m68k.
32733 * README: Update listing for m68k-*-linux-gnu.
32734
32735 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
32736
32737 * sysdeps/tile: Move directory from ports/sysdeps/tile.
32738 * sysdeps/unix/sysv/linux/generic: Move directory from
32739 ports/sysdeps/unix/sysv/linux/generic.
32740 * sysdeps/unix/sysv/linux/tile: Move directory from
32741 ports/sysdeps/unix/sysv/linux/tile.
32742 * README: Update listing for tile*-*-linux-gnu.
32743
32744 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
32745
32746 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
32747 __builtin_expect.
32748 * benchtests/bench-memmem.c (simple_memmem): Likewise.
32749 * catgets/open_catalog.c (__open_catalog): Likewise.
32750 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
32751 * debug/confstr_chk.c: Likewise.
32752 * debug/fread_chk.c (__fread_chk): Likewise.
32753 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
32754 * debug/getgroups_chk.c: Likewise.
32755 * debug/mbsnrtowcs_chk.c: Likewise.
32756 * debug/mbsrtowcs_chk.c: Likewise.
32757 * debug/mbstowcs_chk.c: Likewise.
32758 * debug/memcpy_chk.c: Likewise.
32759 * debug/memmove_chk.c: Likewise.
32760 * debug/mempcpy_chk.c: Likewise.
32761 * debug/memset_chk.c: Likewise.
32762 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32763 * debug/strcat_chk.c (__strcat_chk): Likewise.
32764 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
32765 * debug/strncat_chk.c (__strncat_chk): Likewise.
32766 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
32767 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
32768 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
32769 * debug/wcpncpy_chk.c: Likewise.
32770 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32771 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
32772 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
32773 * debug/wcsncpy_chk.c: Likewise.
32774 * debug/wcsnrtombs_chk.c: Likewise.
32775 * debug/wcsrtombs_chk.c: Likewise.
32776 * debug/wcstombs_chk.c: Likewise.
32777 * debug/wmemcpy_chk.c: Likewise.
32778 * debug/wmemmove_chk.c: Likewise.
32779 * debug/wmempcpy_chk.c: Likewise.
32780 * debug/wmemset_chk.c: Likewise.
32781 * dirent/scandirat.c (SCANDIRAT): Likewise.
32782 * dlfcn/dladdr1.c (dladdr1): Likewise.
32783 * dlfcn/dladdr.c (dladdr): Likewise.
32784 * dlfcn/dlclose.c (dlclose_doit): Likewise.
32785 * dlfcn/dlerror.c (__dlerror): Likewise.
32786 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
32787 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
32788 * dlfcn/dlopen.c (dlopen_doit): Likewise.
32789 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
32790 * dlfcn/dlsym.c (dlsym_doit): Likewise.
32791 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
32792 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
32793 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
32794 Likewise.
32795 * elf/dl-conflict.c: Likewise.
32796 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32797 * elf/dl-dst.h: Likewise.
32798 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
32799 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
32800 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32801 * elf/dl-init.c (call_init, _dl_init): Likewise.
32802 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
32803 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
32804 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
32805 Likewise.
32806 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
32807 Likewise.
32808 * elf/dl-minimal.c (__libc_memalign): Likewise.
32809 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
32810 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32811 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
32812 * elf/dl-sym.c (do_sym): Likewise.
32813 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
32814 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
32815 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
32816 * elf/dl-writev.h (_dl_writev): Likewise.
32817 * elf/ldconfig.c (search_dir): Likewise.
32818 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
32819 (dl_main): Likewise.
32820 * elf/setup-vdso.h (setup_vdso): Likewise.
32821 * grp/compat-initgroups.c (compat_call): Likewise.
32822 * grp/fgetgrent.c (fgetgrent): Likewise.
32823 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
32824 * grp/putgrent.c (putgrent): Likewise.
32825 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32826 Likewise.
32827 * hurd/hurdinit.c: Likewise.
32828 * iconvdata/8bit-gap.c (struct): Likewise.
32829 * iconvdata/ansi_x3.110.c : Likewise.
32830 * iconvdata/big5.c : Likewise.
32831 * iconvdata/big5hkscs.c : Likewise.
32832 * iconvdata/cp1255.c: Likewise.
32833 * iconvdata/cp1258.c : Likewise.
32834 * iconvdata/cp932.c : Likewise.
32835 * iconvdata/euc-cn.c: Likewise.
32836 * iconvdata/euc-jisx0213.c : Likewise.
32837 * iconvdata/euc-jp.c: Likewise.
32838 * iconvdata/euc-jp-ms.c : Likewise.
32839 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
32840 * iconvdata/gb18030.c : Likewise.
32841 * iconvdata/gbbig5.c (const): Likewise.
32842 * iconvdata/gbgbk.c: Likewise.
32843 * iconvdata/gbk.c : Likewise.
32844 * iconvdata/ibm1364.c : Likewise.
32845 * iconvdata/ibm930.c : Likewise.
32846 * iconvdata/ibm932.c: Likewise.
32847 * iconvdata/ibm933.c : Likewise.
32848 * iconvdata/ibm935.c : Likewise.
32849 * iconvdata/ibm937.c : Likewise.
32850 * iconvdata/ibm939.c : Likewise.
32851 * iconvdata/ibm943.c: Likewise.
32852 * iconvdata/iso_11548-1.c: Likewise.
32853 * iconvdata/iso-2022-cn.c : Likewise.
32854 * iconvdata/iso-2022-cn-ext.c : Likewise.
32855 * iconvdata/iso-2022-jp-3.c: Likewise.
32856 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
32857 * iconvdata/iso-2022-kr.c : Likewise.
32858 * iconvdata/iso646.c (gconv_end): Likewise.
32859 * iconvdata/iso_6937-2.c : Likewise.
32860 * iconvdata/iso_6937.c : Likewise.
32861 * iconvdata/iso8859-1.c: Likewise.
32862 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
32863 * iconvdata/shift_jisx0213.c : Likewise.
32864 * iconvdata/sjis.c : Likewise.
32865 * iconvdata/t.61.c : Likewise.
32866 * iconvdata/tcvn5712-1.c : Likewise.
32867 * iconvdata/tscii.c: Likewise.
32868 * iconvdata/uhc.c : Likewise.
32869 * iconvdata/unicode.c (gconv_end): Likewise.
32870 * iconvdata/utf-16.c (gconv_end): Likewise.
32871 * iconvdata/utf-32.c (gconv_end): Likewise.
32872 * iconvdata/utf-7.c (base64): Likewise.
32873 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32874 * iconv/gconv_close.c (__gconv_close): Likewise.
32875 * iconv/gconv_open.c (__gconv_open): Likewise.
32876 * iconv/gconv_simple.c (internal_ucs4_loop_single)
32877 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
32878 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
32879 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
32880 (ucs4le_internal_loop_single): Likewise.
32881 * iconv/iconv.c (iconv): Likewise.
32882 * iconv/iconv_close.c: Likewise.
32883 * iconv/loop.c (SINGLE): Likewise.
32884 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
32885 * include/atomic.h: Likewise.
32886 * inet/inet6_option.c (option_alloc): Likewise.
32887 * intl/bindtextdom.c (set_binding_values): Likewise.
32888 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
32889 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
32890 * intl/localealias.c (read_alias_file): Likewise.
32891 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32892 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
32893 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
32894 * libio/fmemopen.c (fmemopen): Likewise.
32895 * libio/iofgets.c (_IO_fgets): Likewise.
32896 * libio/iofgets_u.c (fgets_unlocked): Likewise.
32897 * libio/iofgetws.c (fgetws): Likewise.
32898 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
32899 * libio/iogetdelim.c (_IO_getdelim): Likewise.
32900 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
32901 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
32902 * locale/findlocale.c (_nl_find_locale): Likewise.
32903 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32904 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
32905 Likewise.
32906 * locale/setlocale.c (setlocale): Likewise.
32907 * login/programs/pt_chown.c (main): Likewise.
32908 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
32909 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
32910 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
32911 (mmap, mmap64, mremap, munmap): Likewise.
32912 * math/e_exp2l.c: Likewise.
32913 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
32914 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
32915 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
32916 * math/s_catan.c (__catan): Likewise.
32917 * math/s_catanf.c (__catanf): Likewise.
32918 * math/s_catanh.c (__catanh): Likewise.
32919 * math/s_catanhf.c (__catanhf): Likewise.
32920 * math/s_catanhl.c (__catanhl): Likewise.
32921 * math/s_catanl.c (__catanl): Likewise.
32922 * math/s_ccosh.c (__ccosh): Likewise.
32923 * math/s_ccoshf.c (__ccoshf): Likewise.
32924 * math/s_ccoshl.c (__ccoshl): Likewise.
32925 * math/s_cexp.c (__cexp): Likewise.
32926 * math/s_cexpf.c (__cexpf): Likewise.
32927 * math/s_cexpl.c (__cexpl): Likewise.
32928 * math/s_clog10.c (__clog10): Likewise.
32929 * math/s_clog10f.c (__clog10f): Likewise.
32930 * math/s_clog10l.c (__clog10l): Likewise.
32931 * math/s_clog.c (__clog): Likewise.
32932 * math/s_clogf.c (__clogf): Likewise.
32933 * math/s_clogl.c (__clogl): Likewise.
32934 * math/s_csin.c (__csin): Likewise.
32935 * math/s_csinf.c (__csinf): Likewise.
32936 * math/s_csinh.c (__csinh): Likewise.
32937 * math/s_csinhf.c (__csinhf): Likewise.
32938 * math/s_csinhl.c (__csinhl): Likewise.
32939 * math/s_csinl.c (__csinl): Likewise.
32940 * math/s_csqrt.c (__csqrt): Likewise.
32941 * math/s_csqrtf.c (__csqrtf): Likewise.
32942 * math/s_csqrtl.c (__csqrtl): Likewise.
32943 * math/s_ctan.c (__ctan): Likewise.
32944 * math/s_ctanf.c (__ctanf): Likewise.
32945 * math/s_ctanh.c (__ctanh): Likewise.
32946 * math/s_ctanhf.c (__ctanhf): Likewise.
32947 * math/s_ctanhl.c (__ctanhl): Likewise.
32948 * math/s_ctanl.c (__ctanl): Likewise.
32949 * math/w_pow.c: Likewise.
32950 * math/w_powf.c: Likewise.
32951 * math/w_powl.c: Likewise.
32952 * math/w_scalb.c (sysv_scalb): Likewise.
32953 * math/w_scalbf.c (sysv_scalbf): Likewise.
32954 * math/w_scalbl.c (sysv_scalbl): Likewise.
32955 * misc/error.c (error_tail): Likewise.
32956 * misc/pselect.c (__pselect): Likewise.
32957 * nis/nis_callback.c (__nis_create_callback): Likewise.
32958 * nis/nis_call.c (__nisfind_server): Likewise.
32959 * nis/nis_creategroup.c (nis_creategroup): Likewise.
32960 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
32961 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
32962 * nis/nis_getservlist.c (nis_getservlist): Likewise.
32963 * nis/nis_lookup.c (nis_lookup): Likewise.
32964 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
32965 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
32966 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
32967 * nis/nis_xdr.c (xdr_endpoint): Likewise.
32968 * nis/nss_compat/compat-grp.c (getgrent_next_file)
32969 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
32970 * nis/nss_compat/compat-initgroups.c (add_group)
32971 (internal_getgrent_r): Likewise.
32972 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
32973 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
32974 * nis/nss_compat/compat-spwd.c (getspent_next_file)
32975 (internal_getspnam_r): Likewise.
32976 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
32977 (_nss_nis_getaliasbyname_r): Likewise.
32978 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
32979 (_nss_nis_getntohost_r): Likewise.
32980 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
32981 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
32982 (_nss_nis_getgrgid_r): Likewise.
32983 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
32984 (internal_nis_gethostent_r, internal_gethostbyname2_r)
32985 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
32986 (_nss_nis_gethostbyname4_r): Likewise.
32987 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
32988 (initgroups_netid): Likewise.
32989 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
32990 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
32991 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
32992 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
32993 (_nss_nis_getprotobynumber_r): Likewise.
32994 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
32995 (_nss_nis_getsecretkey): Likewise.
32996 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
32997 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
32998 (_nss_nis_getpwuid_r): Likewise.
32999 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
33000 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
33001 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
33002 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
33003 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
33004 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
33005 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
33006 Likewise.
33007 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
33008 (_nss_nisplus_getntohost_r): Likewise.
33009 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
33010 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
33011 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
33012 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
33013 Likewise.
33014 * nis/nss_nisplus/nisplus-initgroups.c
33015 (_nss_nisplus_initgroups_dyn): Likewise.
33016 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
33017 (_nss_nisplus_getnetbyaddr_r): Likewise.
33018 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
33019 (_nss_nisplus_getprotobynumber_r): Likewise.
33020 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
33021 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
33022 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
33023 Likewise.
33024 * nis/nss_nisplus/nisplus-service.c
33025 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
33026 (_nss_nisplus_getservbyport_r): Likewise.
33027 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
33028 (_nss_nisplus_getspnam_r): Likewise.
33029 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
33030 Likewise.
33031 * nscd/aicache.c (addhstaiX): Likewise.
33032 * nscd/cache.c (cache_search, prune_cache): Likewise.
33033 * nscd/connections.c (register_traced_file, send_ro_fd)
33034 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
33035 (main_loop_epoll): Likewise.
33036 * nscd/grpcache.c (addgrbyX): Likewise.
33037 * nscd/hstcache.c (addhstbyX): Likewise.
33038 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33039 * nscd/mem.c (gc, mempool_alloc): Likewise.
33040 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
33041 (addinnetgrX): Likewise.
33042 * nscd/nscd-client.h (__nscd_acquire_maplock)
33043 (__nscd_drop_map_ref): Likewise.
33044 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33045 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33046 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
33047 Likewise.
33048 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33049 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33050 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
33051 (__nscd_get_map_ref): Likewise.
33052 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33053 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
33054 Likewise.
33055 * nscd/pwdcache.c (addpwbyX): Likewise.
33056 * nscd/selinux.c (preserve_capabilities): Likewise.
33057 * nscd/servicescache.c (addservbyX): Likewise.
33058 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
33059 * posix/fnmatch.c (fnmatch): Likewise.
33060 * posix/getopt.c (_getopt_internal_r): Likewise.
33061 * posix/glob.c (glob, glob_in_dir): Likewise.
33062 * posix/wordexp.c (exec_comm_child): Likewise.
33063 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
33064 (getanswer_r, gaih_getanswer_slice): Likewise.
33065 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
33066 * resolv/res_init.c: Likewise.
33067 * resolv/res_mkquery.c (res_nmkquery): Likewise.
33068 * resolv/res_query.c (__libc_res_nquery): Likewise.
33069 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
33070 Likewise.
33071 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
33072 * stdio-common/perror.c (perror): Likewise.
33073 * stdio-common/printf_fp.c (___printf_fp): Likewise.
33074 * stdio-common/tmpnam.c (tmpnam): Likewise.
33075 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33076 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
33077 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33078 Likewise.
33079 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
33080 * stdlib/putenv.c (putenv): Likewise.
33081 * stdlib/setenv.c (__add_to_environ): Likewise.
33082 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33083 * stdlib/strtol_l.c (INTERNAL): Likewise.
33084 * string/memmem.c (memmem): Likewise.
33085 * string/strerror.c (strerror): Likewise.
33086 * string/strnlen.c (__strnlen): Likewise.
33087 * string/test-memmem.c (simple_memmem): Likewise.
33088 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
33089 * sunrpc/pm_getport.c (__get_socket): Likewise.
33090 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
33091 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
33092 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
33093 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
33094 Likewise.
33095 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
33096 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33097 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
33098 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
33099 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
33100 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
33101 Likewise.
33102 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
33103 Likewise.
33104 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
33105 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
33106 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33107 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
33108 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
33109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
33110 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
33111 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
33112 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
33113 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
33114 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33115 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
33116 Likewise.
33117 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
33118 Likewise.
33119 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
33120 Likewise.
33121 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
33122 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33123 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
33124 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
33125 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
33126 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
33127 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33128 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
33129 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
33130 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
33131 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
33132 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33133 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
33134 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
33135 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33136 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
33137 Likewise.
33138 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
33139 Likewise.
33140 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
33141 Likewise.
33142 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
33143 Likewise.
33144 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33145 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33146 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
33147 Likewise.
33148 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
33149 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
33150 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33151 * sysdeps/posix/sleep.c: Likewise.
33152 * sysdeps/posix/tempname.c: Likewise.
33153 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
33154 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33155 Likewise.
33156 * sysdeps/powerpc/powerpc32/dl-machine.h
33157 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
33158 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
33159 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33160 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
33161 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
33162 Likewise.
33163 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
33164 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
33165 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33166 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
33167 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
33168 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
33169 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
33170 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
33171 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33172 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
33173 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
33174 (elf_machine_lazy_rel): Likewise.
33175 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33176 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
33177 (elf_machine_lazy_rel): Likewise.
33178 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
33179 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
33180 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
33181 * sysdeps/unix/grantpt.c (grantpt): Likewise.
33182 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
33183 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
33184 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33186 Likewise.
33187 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
33188 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
33189 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
33190 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
33191 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33192 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33193 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
33194 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
33195 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
33196 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33197 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33198 Likewise.
33199 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
33200 (__posix_fallocate64_l64): Likewise.
33201 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
33202 (posix_fallocate): Likewise.
33203 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
33204 Likewise.
33205 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33206 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
33207 (getifaddrs_internal): Likewise.
33208 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
33209 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
33210 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
33211 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33212 * sysdeps/unix/sysv/linux/posix_fallocate64.c
33213 (__posix_fallocate64_l64): Likewise.
33214 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
33215 Likewise.
33216 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
33217 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
33218 (__get_clockfreq): Likewise.
33219 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
33220 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33221 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
33222 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33223 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33224 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
33225 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
33226 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
33227 Likewise.
33228 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
33229 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
33230 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
33231 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
33232 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33233 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
33234 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
33235 Likewise.
33236 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33237 (posix_fallocate): Likewise.
33238 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33239 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
33240 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
33241 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
33242 (elf_machine_rela, elf_machine_rela_relative)
33243 (elf_machine_lazy_rel): Likewise.
33244 * time/asctime.c (asctime_internal): Likewise.
33245 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
33246 * time/tzset.c (__tzset_parse_tz): Likewise.
33247 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33248 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33249 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
33250 * wcsmbs/wcsmbsload.h: Likewise.
33251
33252 [BZ #15894]
33253 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
33254
33255 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
33256 (arena_get2): Remove THREAD_STATS conditionals.
33257 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
33258 (__malloc_stats, int): Likewise.
33259
33260 2014-02-08 Mike Frysinger <vapier@gentoo.org>
33261
33262 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
33263 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
33264
33265 * manual/setjmp.texi: Fix typos/grammar errors.
33266
33267 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
33268 Only return early when n is <= 0. Delete unused return statement.
33269
33270 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
33271 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
33272 * debug/tst-longjmp_chk3.c: New file.
33273
33274 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
33275 (test_main): Replace code with set_fortify_handler call.
33276 * debug/test-strcpy_chk.c: Likewise.
33277 * debug/tst-chk1.c: Likewise.
33278 * debug/tst-longjmp_chk.c: Likewise.
33279 * test-skeleton.c: Include fcntl.h & paths.h
33280 (set_fortify_handler): Define.
33281
33282 * debug/tst-longjmp_chk.c: Add header comment and include
33283 ../test-skeleton.c.
33284 (do_test): Mark static.
33285 (TEST_FUNCTION): Define.
33286
33287 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
33288 (IP_PMTUDISC_INTERFACE): Likewise.
33289 (IP_MULTICAST_IF): Likewise.
33290 (IP_MULTICAST_TTL): Likewise.
33291 (IP_MULTICAST_LOOP): Likewise.
33292 (IP_ADD_MEMBERSHIP): Likewise.
33293 (IP_DROP_MEMBERSHIP): Likewise.
33294 (IP_UNBLOCK_SOURCE): Likewise.
33295 (IP_BLOCK_SOURCE): Likewise.
33296 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
33297 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
33298 (IP_MSFILTER): Likewise.
33299 (MCAST_JOIN_GROUP): Likewise.
33300 (MCAST_BLOCK_SOURCE): Likewise.
33301 (MCAST_UNBLOCK_SOURCE): Likewise.
33302 (MCAST_LEAVE_GROUP): Likewise.
33303 (MCAST_JOIN_SOURCE_GROUP): Likewise.
33304 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33305 (MCAST_MSFILTER): Likewise.
33306 (IP_MULTICAST_ALL): Likewise.
33307 (IP_UNICAST_IF): Likewise.
33308
33309 * timezone/Makefile: Delete $(have-ksh) check.
33310 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
33311 * timezone/tzselect.ksh: Add +x mode bits.
33312
33313 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
33314 (ANON_INODE_FS_MAGIC): Likewise.
33315 (BDEVFS_MAGIC): Likewise.
33316 (BINFMTFS_MAGIC): Likewise.
33317 (BTRFS_TEST_MAGIC): Likewise.
33318 (CRAMFS_MAGIC_WEND): Likewise.
33319 (DEBUGFS_MAGIC): Likewise.
33320 (ECRYPTFS_SUPER_MAGIC): Likewise.
33321 (EXT3_SUPER_MAGIC): Likewise.
33322 (EXT4_SUPER_MAGIC): Likewise.
33323 (FUTEXFS_SUPER_MAGIC): Likewise.
33324 (HOSTFS_SUPER_MAGIC): Likewise.
33325 (HUGETLBFS_MAGIC): Likewise.
33326 (MINIX3_SUPER_MAGIC): Likewise.
33327 (MTD_INODE_FS_MAGIC): Likewise.
33328 (NILFS_SUPER_MAGIC): Likewise.
33329 (OPENPROM_SUPER_MAGIC): Likewise.
33330 (PIPEFS_MAGIC): Likewise.
33331 (PSTOREFS_MAGIC): Likewise.
33332 (QNX6_SUPER_MAGIC): Likewise.
33333 (RAMFS_MAGIC): Likewise.
33334 (REISERFS_SUPER_MAGIC_STRING): Likewise.
33335 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
33336 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
33337 (SECURITYFS_MAGIC): Likewise.
33338 (SELINUX_MAGIC): Likewise.
33339 (SMACK_MAGIC): Likewise.
33340 (SOCKFS_MAGIC): Likewise.
33341 (SQUASHFS_MAGIC): Likewise.
33342 (STACK_END_MAGIC): Likewise.
33343 (TMPFS_MAGIC): Likewise.
33344 (USBDEVICE_SUPER_MAGIC): Likewise.
33345 (V9FS_MAGIC): Likewise.
33346 (XENFS_SUPER_MAGIC): Likewise.
33347 (CRAMFS_MAGIC): Fix typo in comment.
33348 (EXT2_SUPER_MAGIC): Update comment.
33349 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
33350
33351 2014-02-08 Joseph Myers <joseph@codesourcery.com>
33352
33353 * sysdeps/arm: Move directory from ports/sysdeps/arm.
33354 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
33355 * sysdeps/unix/sysv/linux/arm: Move directory from
33356 ports/sysdeps/unix/sysv/linux/arm.
33357 * README: Update listing for arm-*-linux-gnueabi.
33358
33359 * README: Remove mention of am33.
33360
33361 2014-02-07 Roland McGrath <roland@hack.frob.com>
33362
33363 * bits/sigset.h (__sigemptyset): Use a statement expression rather
33364 than the comma operator, to avoid "rhs of comma has no effect"
33365 compiler warnings.
33366 (__sigfillset, __sigandset, __sigorset): Likewise.
33367 * include/signal.h (__sigemptyset): Likewise.
33368 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
33369
33370 2014-02-07 Allan McRae <allan@archlinux.org>
33371
33372 * version.h (RELEASE): Set to "development".
33373 (VERSION): Set to "2.19.90"
33374 * NEWS: Add 2.20 section.
33375
33376 2014-02-06 Carlos O'Donell <carlos@redhat.com>
33377
33378 [BZ #16529]
33379 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
33380
33381 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33382
33383 * manual/contrib.texi: Update entry for Carlos O'Donell,
33384 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
33385
33386 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
33387
33388 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
33389
33390 * sysdeps/unix/sysv/linux/kernel-features.h
33391 [__LINUX_KERNEL_VERSION >= 0x020621]
33392 (__ASSUME_PROC_PID_TASK_COMM): Define.
33393
33394 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33395
33396 [BZ #16398]
33397 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
33398 conversion when destination buffer does not have enough space.
33399 * libio/tst-ftell-partial-wide.c: New test case.
33400 * libio/Makefile (tests): Add tst-ftell-partial-wide.
33401
33402 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
33403 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
33404 Leonard and Allan McRae.
33405
33406 2014-02-04 David S. Miller <davem@davemloft.net>
33407
33408 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
33409 32-bit.
33410
33411 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33412
33413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33414 New file
33415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33416 New file
33417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33418 New file.
33419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33420 New file.
33421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33422 New file.
33423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33424 New file.
33425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33426 New file.
33427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33428 New file.
33429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33430 New file.
33431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33432 New file.
33433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33434 New file.
33435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33436 New file.
33437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33438 New file.
33439
33440 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33441
33442 * nptl/shlib-versions: Change powerpc*le start to 2.17.
33443 * shlib-versions: Likewise.
33444
33445 2014-02-04 Roland McGrath <roland@hack.frob.com>
33446 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33447
33448 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
33449 (abilist-pattern): New variable, set to %-le.abilist.
33450
33451 * Makerules (abilist-pattern): New variable.
33452 (vpath): Use $(abilist-pattern) in place of %.abilist.
33453 (check-abi-% pattern rule): Likewise.
33454 (check-abi, update-abi): Likewise.
33455
33456 2014-02-04 Eric Wong <normalperson@yhbt.net>
33457
33458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33459
33460 2014-02-03 Carlos O'Donell <carlos@redhat.com>
33461
33462 * manual/startup.texi: Add next, previous, and top entries for
33463 the `Program Arguments' and `Environment Variables' nodes.
33464
33465 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
33466
33467 * manual/macros.texi: Add comments before MTASC-safety macros.
33468
33469 * manual/users.texi: Document MTASC-safety properties.
33470
33471 * manual/threads.texi (pthread_key_create, pthread_key_delete)
33472 (pthread_getspecific, pthread_setspecific): Format with
33473 @deftypefun, and add @safety note.
33474 * manual/signal.texi: Move comments that analyze the above
33475 functions to their home place.
33476
33477 2014-02-03 Allan McRae <allan@archlinux.org>
33478
33479 * po/sl.po: Update Slovenian translation from translation project.
33480
33481 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
33482
33483 * manual/time.texi (timegm): Add missing blank after @c.
33484 Reported by Joseph Myers <joseph@codesourcery.com>.
33485
33486 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
33487
33488 * manual/check-safety.sh: New.
33489 * manual/Makefile ($(objpfx)stamp-summary): Run it.
33490
33491 * manual/terminal.texi: Document MTASC-safety properties.
33492
33493 * manual/filesys.texi: Document MTASC-safety properties.
33494
33495 * manual/errno.texi: Document MTASC-safety properties.
33496
33497 * manual/intro.texi: Document safety identifiers and
33498 conditionals.
33499
33500 * manual/string.texi (wcstok): Fix prototype.
33501 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
33502
33503 * manual/time.texi: Document MTASC-safety properties.
33504
33505 * manual/string.texi: Document MTASC-safety properties.
33506
33507 * manual/threads.texi: Document MTASC-safety properties.
33508
33509 * manual/stdio.texi: Document MTASC-safety properties.
33510
33511 * manual/syslog.texi: Document MTASC-safety properties.
33512
33513 * manual/sysinfo.texi: Document MTASC-safety properties.
33514
33515 * manual/startup.texi: Document MTASC-safety properties.
33516
33517 * manual/socket.texi: Document MTASC-safety properties.
33518
33519 * manual/signal.texi: Document MTASC-safety properties.
33520
33521 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
33522
33523 * manual/setjmp.texi: Document MTASC-safety properties.
33524
33525 * manual/search.texi: Document MTASC-safety properties.
33526
33527 * manual/resource.texi: Document MTASC-safety properties.
33528
33529 * manual/process.texi: Document MTASC-safety properties.
33530
33531 * manual/platform.texi: Document MTASC-safety properties.
33532
33533 * manual/pipe.texi: Document MTASC-safety properties.
33534
33535 * manual/pattern.texi: Document MTASC-safety properties.
33536
33537 * manual/message.texi: Document MTASC-safety properties.
33538
33539 [BZ #12751]
33540 * manual/memory.texi: Document MTASC-safety properties.
33541
33542 * manual/math.texi: Document MTASC-safety properties.
33543
33544 * manual/locale.texi: Document MTASC-safety properties.
33545
33546 * manual/llio.texi: Document MTASC-safety properties.
33547
33548 * manual/libdl.texi: New.
33549
33550 * manual/lang.texi: Document MTASC-safety properties.
33551
33552 * manual/job.texi: Document MTASC-safety properties.
33553
33554 * manual/getopt.texi: Document MTASC-safety properties.
33555
33556 * manual/ctype.texi: Document MTASC-safety properties.
33557
33558 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
33559
33560 [BZ #16046]
33561 * csu/libc-tls.c (static_map): Remove variable.
33562 (__libc_setup_tls): Use main executable's link map for TLS data.
33563 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
33564 casing for LM_ID_BASE and GL(dl_nns).
33565 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
33566 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
33567 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
33568 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
33569 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
33570 member.
33571 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
33572 l_phnum members.
33573
33574 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
33575
33576 * manual/debug.texi: Document MTASC-safety properties.
33577
33578 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
33579
33580 [BZ #16510]
33581 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
33582 of __x86_64__ when disabling x87 inline functions.
33583
33584 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
33585
33586 * manual/charset.texi: Document MTASC-safety properties.
33587
33588 * manual/crypt.texi: Document MTASC-safety properties.
33589
33590 * manual/conf.texi: Document MTASC-safety properties.
33591
33592 * manual/arith.texi: Document MTASC-safety properties.
33593
33594 * manual/argp.texi: Document MTASC-safety properties.
33595
33596 * manual/macros.texi: Introduce macros to document multi
33597 thread, asynchronous signal and asynchronous cancellation
33598 safety properties.
33599 * manual/intro.texi: Introduce the properties themselves.
33600
33601 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33602
33603 * sysdeps/sh/sh4/Makefile: New file.
33604
33605 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
33606
33607 * math/gen-libm-test.pl ($srcdir): New variable.
33608 ($auto_input): Use it.
33609
33610 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33611
33612 [BZ #16506]
33613 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
33614 access beyond array bounds when parsing netgroups file.
33615
33616 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
33617 the old buffer before realloc.
33618
33619 2014-01-27 Allan McRae <allan@archlinux.org>
33620
33621 * po/fr.po: Update French translation from translation project.
33622
33623 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33624
33625 * sysdeps/sh/libm-test-ulps: Regenerate.
33626
33627 2014-01-24 David S. Miller <davem@davemloft.net>
33628
33629 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
33630
33631 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33632
33633 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
33634 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
33635
33636 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33637
33638 [BZ #16474]
33639 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
33640 string pointers after reallocation.
33641
33642 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33643
33644 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
33645 __SH4A__ instead of __SH_FPU_ANY__.
33646
33647 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33648
33649 * sysdeps/sh/fpu_control.h: New file.
33650 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
33651 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
33652 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
33653 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
33654 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
33655 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
33656 * sysdeps/sh/sys/ucontext.h: Remove.
33657 * sysdeps/sh/sys: Remove directory.
33658
33659 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33660
33661 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
33662 s390/sys/ucontext.h.
33663 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
33664 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
33665
33666 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
33667
33668 [BZ #15605]
33669 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
33670
33671 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33672
33673 [BZ#16431]
33674 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33675 Adjust the vDSO correctly for internal calls.
33676 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
33677
33678 2014-01-20 Allan McRae <allan@archlinux.org>
33679
33680 * po/ca.po: Update Catalan translation from translation project.
33681
33682 2014-01-16 Mike Frysinger <vapier@gentoo.org>
33683
33684 * sysdeps/s390/sotruss-lib.c: New file.
33685
33686 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33687
33688 [BZ#16430]
33689 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
33690 (__GI___gettimeofday): Alias for a different internal symbol to avoid
33691 local calls issues by not having a PLT stub required for IFUNC calls.
33692 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
33693
33694 2014-01-16 Joseph Myers <joseph@codesourcery.com>
33695
33696 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
33697 * math/test-fpucw-static.c: Likewise.
33698
33699 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33700
33701 [BZ #16453]
33702 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
33703
33704 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33705
33706 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
33707 implementation for powerpc.
33708
33709 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
33710
33711 [BZ #14782]
33712 * sysdeps/posix/system.c (__libc_system): Do not enable
33713 asynchronous cancellation.
33714
33715 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33716
33717 [BZ #16427]
33718 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
33719 handling only for numbers special also in the IEEE case.
33720
33721 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33722
33723 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33724
33725 2014-01-11 Allan McRae <allan@archlinux.org>
33726
33727 * po/bg.po: Update Bulgarian translation from translation project.
33728
33729 * po/de.po: Update German translation from translation project.
33730
33731 2014-01-10 Roland McGrath <roland@hack.frob.com>
33732
33733 * sysdeps/generic/gcc-compat.h: New file.
33734
33735 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33736
33737 * benchtests/asin-inputs: Correct slow inputs.
33738 * benchtests/acos-inputs: Likewise.
33739
33740 2014-01-10 Allan McRae <allan@archlinux.org>
33741
33742 * po:sv.po: Update Swedish translation from translation project.
33743
33744 * po/vi.po: Update Vietnamese translation from translation project.
33745
33746 * po/eo.po: Update Esperanto translation from translation project.
33747
33748 * po/cs.po: Update Czech translation from translation project.
33749
33750 * po/nl.po: Update Dutch translation from translation project.
33751
33752 * po/pl.po: Update Polish translation from translation project.
33753
33754 * po/ru.po: Update Russian translation from translation project.
33755
33756 * po/uk.po: Update Ukrainian translation from translation project.
33757
33758 2014-01-08 Brooks Moses <bmoses@google.com>
33759
33760 * elf/dl-load.c: Fix comment typo.
33761
33762 2014-01-08 Carlos O'Donell <carlos@redhat.com>
33763
33764 * po/header.pot: Rename to...
33765 * po/pot.header: ... this.
33766 * po/Makefile: Use pot.header.
33767
33768 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
33769 Maxim Kuvyrkov <maxim@kugelworks.com>
33770
33771 [BZ #16394]
33772 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
33773 SRC and DEST against LEN.
33774
33775 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33776
33777 [BZ #16414]
33778 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
33779 implementation.
33780 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
33781
33782 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33783
33784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33785
33786 2014-01-08 Joseph Myers <joseph@codesourcery.com>
33787
33788 [BZ #16408]
33789 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
33790 for large positive arguments.
33791
33792 2014-01-07 Joseph Myers <joseph@codesourcery.com>
33793
33794 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33795
33796 * math/auto-libm-test-in: Mark various tests with
33797 xfail-rounding:ldbl-128ibm.
33798 * math/auto-libm-test-out: Regenerated.
33799
33800 [BZ #16407]
33801 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33802 Increase overflow threshold.
33803
33804 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
33805
33806 [BZ #14286]
33807 * stdio-common/vfprintf.c: Check for integer overflow.
33808
33809 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33810
33811 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
33812 the first argument and return value of __tls_get_addr_internal.
33813
33814 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33815
33816 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
33817 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
33818
33819 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33820
33821 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
33822 * sysdeps/s390/rtld-global-offsets.sym: New file.
33823 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
33824 GLIBC_2.19 symbol.
33825 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
33826 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
33827 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33828 ... this.
33829 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
33830 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33831 ... this.
33832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33833 Regenerate.
33834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33835 Regenerate.
33836 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
33837 halfs of GPRs for high_gprs contexts.
33838 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
33839 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
33840 field.
33841 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
33842 uc_flags field.
33843 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
33844 64 bit versions:
33845 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
33846 for high GPRs (uc_high_gprs) and for future extensions
33847 (__reserved).
33848 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
33849 for future extensions (__reserved).
33850 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
33851 64 bit versions:
33852 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
33853 SC_HIGHGPRS offset definition.
33854 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
33855 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
33856
33857 * Versions.def: Add GLIBC_2.19 for libpthread.
33858 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
33859 siglongjmp for libpthread with GLIBC_2.19 symver.
33860 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
33861 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
33862 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
33863 * sysdeps/s390/__longjmp.c: New file.
33864 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
33865 * sysdeps/s390/longjmp.c: New file.
33866 * sysdeps/s390/setjmp.S: New file.
33867 * sysdeps/s390/sigjmp.S: New file.
33868 * sysdeps/s390/v1-longjmp.c: New file.
33869 * sysdeps/s390/v1-setjmp.h: New file.
33870 * sysdeps/s390/v1-sigjmp.c: New file.
33871 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
33872 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
33873 GLIBC_2.19 version.
33874 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
33875 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
33876 versioned symbols for ____longjmp_chk.
33877 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33878 Likewise.
33879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33880 Regenerate.
33881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33882 Regenerate.
33883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33884 Regenerate.
33885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33886 Regenerate.
33887 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
33888 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
33889 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
33890 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
33891 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
33892 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
33893 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
33894 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
33895 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
33896 * sysdeps/s390/rtld-__longjmp.c: New file.
33897 * sysdeps/s390/rtld-setjmp.S: New file.
33898
33899 2014-01-06 Joseph Myers <joseph@codesourcery.com>
33900
33901 [BZ #16400]
33902 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33903 Return -__logl (x) for small positive arguments without evaluating
33904 a polynomial.
33905
33906 2014-01-06 Mike Frysinger <vapier@gentoo.org>
33907
33908 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
33909 Rename to ...
33910 (__ptrace_peeksiginfo_args): ... this.
33911 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33912 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33913 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33914
33915 2014-01-06 Allan McRae <allan@archlinux.org>
33916
33917 * inet/netinet/in.h: Fix typo in comment.
33918
33919 2014-01-05 Andreas Jaeger <aj@suse.de>
33920
33921 * sysdeps/i386/fpu/libm-test-ulps: Update.
33922
33923 2014-01-05 Allan McRae <allan@archlinux.org>
33924
33925 * po/libc.pot: Regenerated.
33926
33927 * malloc/memusagestat.c: Fix gettext call formatting.
33928
33929 2014-01-04 Sami Kerola <kerolasa@iki.fi>
33930
33931 * nscd/nscd.c: Improve usage() output.
33932
33933 2014-01-04 Mike Frysinger <vapier@gentoo.org>
33934
33935 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
33936 * sysdeps/unix/sysv/linux/configure: Regenerated.
33937 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
33938 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
33939
33940 2014-01-03 Joseph Myers <joseph@codesourcery.com>
33941
33942 [BZ #16390]
33943 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
33944 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
33945
33946 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33947
33948 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
33949 extra tokens at end of #undef directive.
33950 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
33951 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
33952 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33953
33954 2014-01-03 Joseph Myers <joseph@codesourcery.com>
33955
33956 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33957
33958 * math/auto-libm-test-in: Mark various tests with
33959 xfail-rounding:ldbl-128ibm.
33960 * math/auto-libm-test-out: Regenerated.
33961
33962 2014-01-02 Joseph Myers <joseph@codesourcery.com>
33963
33964 [BZ #16386]
33965 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
33966 numbers with subnormal high part when calculating exponent.
33967
33968 [BZ #16385]
33969 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
33970 fabs.
33971
33972 [BZ #16384]
33973 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
33974 M_LN2l.
33975 (__ieee754_acoshl): Use __log1pl not __log1p.
33976
33977 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
33978
33979 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
33980 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
33981 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
33982 (grow_heap, heap_trim, _int_new_arena, get_free_list)
33983 (reused_arena, arena_get2): Convert to GNU style.
33984 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
33985 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
33986 (memalign_check, __malloc_set_state): Likewise.
33987 * malloc/mallocbug.c (main): Likewise.
33988 * malloc/malloc.c (__malloc_assert, malloc_init_state)
33989 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
33990 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
33991 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
33992 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
33993 (__posix_memalign, malloc_info): Likewise.
33994 * malloc/malloc.h: Likewise.
33995 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
33996 (mallochook, memalignhook, reallochook, mabort): Likewise.
33997 * malloc/mcheck.h: Likewise.
33998 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
33999 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
34000 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
34001 * malloc/morecore.c (__default_morecore): Likewise.
34002 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
34003 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
34004 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
34005 (print_and_abort): Likewise.
34006 * malloc/obstack.h: Likewise.
34007 * malloc/set-freeres.c (__libc_freeres): Likewise.
34008 * malloc/tst-mallocstate.c (main): Likewise.
34009 * malloc/tst-mtrace.c (main): Likewise.
34010 * malloc/tst-realloc.c (do_test): Likewise.
34011
34012 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34013
34014 [BZ #16366]
34015 * nscd/netgroupcache.c (do_notfound): New function.
34016 (addgetnetgrentX): Use it.
34017
34018 [BZ # 16365]
34019 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
34020 NSS_STATUS_NOTFOUND.
34021
34022 2014-01-01 Joseph Myers <joseph@codesourcery.com>
34023
34024 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
34025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34026
34027 2014-01-01 Allan McRae <allan@archlinux.org>
34028
34029 * scripts/update-copyrights: Update configure input file suffix.
34030
34031 * NEWS: Update copyright year.
34032 * catgets/gencat.c: Likewise.
34033 * csu/version.c: Likewise.
34034 * debug/catchsegv.sh: Likewise.
34035 * debug/pcprofiledump.c: Likewise.
34036 * debug/xtrace.sh: Likewise.
34037 * elf/ldconfig.c: Likewise.
34038 * elf/ldd.bash.in: Likewise.
34039 * elf/pldd.c: Likewise.
34040 * elf/sotruss.ksh: Likewise.
34041 * elf/sprof.c: Likewise.
34042 * iconv/iconv_prog.c: Likewise.
34043 * iconv/iconvconfig.c: Likewise.
34044 * locale/programs/locale.c: Likewise.
34045 * locale/programs/localedef.c: Likewise.
34046 * login/programs/pt_chown.c: Likewise.
34047 * malloc/memusage.sh: Likewise.
34048 * malloc/memusagestat.c: Likewise.
34049 * malloc/mtrace.pl: Likewise.
34050 * manual/libc.texinfo: Likewise.
34051 * nscd/nscd.c: Likewise.
34052 * nss/getent.c: Likewise.
34053 * nss/makedb.c: Likewise.
34054 * posix/getconf.c: Likewise.
34055 * scripts/test-installation.pl: Likewise.
34056
34057 * All files with FSF copyright notices: Update copyright dates
34058 using scripts/update-copyrights.
34059 * intl/plural.c: Regenerated.
34060 * locale/programs/charmap-kw.h: Likewise.
34061 * locale/programs/locfile-kw.h: Likewise.
34062
34063 2013-12-31 Mike Frysinger <vapier@gentoo.org>
34064
34065 * sysdeps/unix/sysv/linux/configure: Regenerated.
34066 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
34067 the linux/fanotify.h header.
34068 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
34069 HAVE_LINUX_FANOTIFY_H is defined.
34070
34071 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34072
34073 * benchtests/cos-inputs: New inputs.
34074 * benchtests/sin-inputs: Likewise.
34075
34076 * benchtests/atan-inputs: New inputs. Fix name of multiple
34077 precision fallback inputs.
34078
34079 * benchtests/atanh-inputs: New inputs.
34080 * benchtests/tanh-inputs: Likewise.
34081
34082 * benchtests/acosh-inputs: New inputs.
34083 * benchtests/asinh-inputs: Likewise.
34084
34085 * benchtests/cosh-inputs: New inputs.
34086 * benchtests/sinh-inputs: Likewise.
34087
34088 * benchtests/acos-inputs: Add more inputs.
34089 * benchtests/asin-inputs: Likewise.
34090
34091 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
34092
34093 [BZ #16375]
34094 * manual/arith.texi: Fix spelling.
34095 * manual/charset.texi: Likewise.
34096 * manual/errno.texi: Likewise.
34097 * manual/filesys.texi: Likewise.
34098 * manual/lang.texi: Likewise.
34099 * manual/llio.texi: Likewise.
34100 * manual/locale.texi: Likewise.
34101 * manual/message.texi: Likewise.
34102 * manual/resource.texi: Likewise.
34103 * manual/search.texi: Likewise.
34104 * manual/setjmp.texi: Likewise.
34105 * manual/stdio.texi: Likewise.
34106 * manual/string.texi: Likewise.
34107 * manual/sysinfo.texi: Likewise.
34108 * manual/time.texi: Likewise.
34109
34110 2013-12-27 Carlos O'Donell <carlos@redhat.com>
34111
34112 * po/sl.po: New file.
34113
34114 2013-12-27 Mike Frysinger <vapier@gentoo.org>
34115
34116 * .gitignore: Add core/.gdbinit/.gdb_history.
34117
34118 2013-12-27 Allan McRae <allan@archlinux.org>
34119
34120 [BZ #16369]
34121 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
34122 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
34123
34124 2013-12-24 Brooks Moses <bmoses@google.com>
34125
34126 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
34127 all compilers that claim C++98 compliance, not just GCC.
34128 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
34129 Likewise.
34130
34131 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
34132
34133 * NEWS: Restore accidentally deleted bug-fix entries.
34134
34135 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
34136 Ondřej Bílka <neleai@seznam.cz>
34137
34138 [BZ #15073]
34139 * malloc/malloc.c (_int_free): Perform sanity check only if we
34140 have_lock.
34141
34142 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
34143
34144 [BZ #12986]
34145 * manual/stdio.texi (String Input Conversions): Clarify that character
34146 classes are not supported.
34147
34148 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34149
34150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34151
34152 2013-12-22 Joseph Myers <joseph@codesourcery.com>
34153
34154 [BZ #16337]
34155 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
34156 Calculate results for small negative arguments directly rather
34157 than using reflection formula with special underflow handling.
34158
34159 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
34160 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
34161 sysdeps/unix/bsd/bsd4.4/syscalls.list.
34162 (fchflags): Likewise.
34163 (revoke): Likewise.
34164 (setlogin): Likewise.
34165 (sigaltstack): Likewise.
34166 (wait4): Likewise.
34167 (sigblock): Remove.
34168 (sigsetmask): Likewise.
34169 (wait3): Likewise.
34170 (waitpid): Likewise.
34171 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
34172 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
34173 file.
34174 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
34175 * sysdeps/unix/bsd/Makefile: ... here.
34176 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
34177 * sysdeps/unix/bsd/Versions: ... here.
34178 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
34179 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
34180 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
34181 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
34182 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
34183 * sysdeps/unix/bsd/sigblock.c: ... here.
34184 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
34185 * sysdeps/unix/bsd/sigsetmask.c: ... here.
34186 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
34187 * sysdeps/unix/bsd/sigvec.c: ... here.
34188 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
34189 * sysdeps/unix/bsd/tcdrain.c: ... here.
34190 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
34191 * sysdeps/unix/bsd/tcgetattr.c: ... here.
34192 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
34193 * sysdeps/unix/bsd/tcsetattr.c: ... here.
34194 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
34195 * sysdeps/unix/bsd/wait.c: ... here.
34196 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
34197 * sysdeps/unix/bsd/wait3.c: ... here.
34198 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
34199 * sysdeps/unix/bsd/waitpid.c: ... here.
34200
34201 2013-12-21 Joseph Myers <joseph@codesourcery.com>
34202
34203 [BZ #16356]
34204 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
34205 round-to-nearest for [!USE_AS_EXPM1L].
34206 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
34207 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
34208 more tests of exp and exp10. Expect some exp10 tests to miss
34209 exceptions or fail in directed rounding modes.
34210 * math/auto-libm-test-out: Regenerated.
34211 * math/libm-test.inc (exp10_tonearest_test_data): New array.
34212 (exp10_test_tonearest): New function.
34213 (exp10_towardzero_test_data): New array.
34214 (exp10_test_towardzero): New function.
34215 (exp10_downward_test_data): New array.
34216 (exp10_test_downward): New function.
34217 (exp10_upward_test_data): New array.
34218 (exp10_test_upward): New function.
34219 (main): Call the new functions.
34220 * sysdeps/i386/fpu/libm-test-ulps: Update.
34221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34222
34223 2013-12-20 Joseph Myers <joseph@codesourcery.com>
34224
34225 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
34226 asinh, atan, atan2, atanh, cbrt, cos and cosh.
34227 * math/auto-libm-test-out: Regenerated.
34228 * math/libm-test.inc (acosh_test_data): Add more tests.
34229 (atanh_test_data): Likewise.
34230 (ceil_test_data): Likewise.
34231 (copysign_test_data): Likewise.
34232 * sysdeps/i386/fpu/libm-test-ulps: Update.
34233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34234
34235 * timezone/checktab.awk: Update from tzcode 2013i.
34236 * timezone/private.h: Likewise.
34237 * timezone/scheck.c: Likewise.
34238 * timezone/tzfile.h: Likewise.
34239 * timezone/tzselect.ksh: Likewise.
34240 * timezone/zdump.c: Likewise.
34241 * timezone/zic.c: Likewise.
34242
34243 * math/auto-libm-test-in: Add tests of cpow.
34244 * math/auto-libm-test-out: Regenerated.
34245 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
34246 * math/gen-auto-libm-tests.c (func_calc_method): Add value
34247 mpc_cc_c.
34248 (func_calc_desc): Add mpc_cc_c union field.
34249 (test_functions): Add cpow.
34250 (special_fill_2pi): New function.
34251 (special_real_inputs): Add 2pi.
34252 (calc_generic_results): Handle mpc_cc_c.
34253 * sysdeps/i386/fpu/libm-test-ulps: Update.
34254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34255
34256 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
34257 csqrt, ctan and ctanh.
34258 * math/auto-libm-test-out: Regenerated.
34259 * math/libm-test.inc (TEST_COND_x86_64): New macro.
34260 (TEST_COND_x86): Likewise.
34261 (ccos_test_data): Use AUTO_TESTS_c_c.
34262 (ccosh_test_data): Likewise.
34263 (cexp_test_data): Likewise.
34264 (clog_test_data): Likewise.
34265 (csqrt_test_data): Likewise.
34266 (ctan_test_data): Likewise.
34267 (ctan_tonearest_test_data): Likewise.
34268 (ctan_towardzero_test_data): Likewise.
34269 (ctan_downward_test_data): Likewise.
34270 (ctan_upward_test_data): Likewise.
34271 (ctanh_test_data): Likewise.
34272 (ctanh_tonearest_test_data): Likewise.
34273 (ctanh_towardzero_test_data): Likewise.
34274 (ctanh_downward_test_data): Likewise.
34275 (ctanh_upward_test_data): Likewise.
34276 * math/gen-auto-libm-tests.c (func_calc_method): Add value
34277 mpc_c_c.
34278 (func_calc_desc): Add mpc_c_c union field.
34279 (FUNC_mpc_c_c): New macro.
34280 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
34281 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
34282 ctanh.
34283 (special_fill_min_subnorm_p120): New function.
34284 (special_real_inputs): Add min_subnorm_p120.
34285 (calc_generic_results): Handle mpc_c_c.
34286 * sysdeps/i386/fpu/libm-test-ulps: Update.
34287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34288
34289 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34290
34291 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
34292 (do_sin_slow): New functions.
34293 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
34294 (cslow2, csloww1, csloww2): Use the new functions.
34295
34296 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
34297 Use M to change sign of result instead of X. Assume X is
34298 positive.
34299 (csloww1): Likewise.
34300 (__sin): Adjust.
34301 (__cos): Adjust.
34302
34303 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
34304 arguments A and DA.
34305 (__sin): Adjust.
34306 (__cos): Likewise.
34307
34308 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
34309 (__cos): Likewise.
34310 (sloww1): Don't adjust sign of DX.
34311 (csloww1): Likewise.
34312 (sloww2): Use X directly and don't adjust sign of DX.
34313 (csloww2): Likewise.
34314
34315 2013-12-19 Joseph Myers <joseph@codesourcery.com>
34316
34317 * math/auto-libm-test-in: Add tests of cabs and carg.
34318 * math/auto-libm-test-out: Regenerated.
34319 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
34320 (carg_test_data): Likewise.
34321 * math/gen-auto-libm-tests.c (func_calc_method): Add value
34322 mpc_c_f.
34323 (func_calc_desc): Add mpc_c_f union field.
34324 (test_functions): Add cabs and carg.
34325 (calc_generic_results): Handle mpc_c_f.
34326
34327 * sysdeps/powerpc/powerpc32/libgcc-compat.S
34328 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
34329 as a macro and a compat symbol.
34330 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34331 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34332 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34333 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34334 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
34335 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
34336 not use .hidden.
34337 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
34338 Likewise.
34339 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
34340 Likewise.
34341 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
34342 Likewise.
34343 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
34344 Likewise.
34345 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
34346 Likewise.
34347 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
34348 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
34349 from GLIBC_2.3.2.
34350
34351 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34352
34353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34354
34355 2013-12-19 Joseph Myers <joseph@codesourcery.com>
34356
34357 * manual/texinfo.tex: Update to version 2013-11-26.10 with
34358 trailing whitespace removed.
34359 * scripts/config.guess: Update to version 2013-11-29.
34360 * scripts/config.sub: Update to version 2013-10-01.
34361
34362 * math/auto-libm-test-in: Add tests of sincos.
34363 * math/auto-libm-test-out: Regenerated.
34364 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
34365 * math/gen-auto-libm-tests.c (func_calc_method): Add value
34366 mpfr_f_11.
34367 (func_calc_desc): Add mpfr_f_11 union field.
34368 (test_functions): Add sincos.
34369 (calc_generic_results): Handle mpfr_f_11.
34370 * sysdeps/i386/fpu/libm-test-ulps: Update.
34371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34372
34373 2013-12-19 Andreas Schwab <schwab@suse.de>
34374
34375 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
34376 CALL_MCOUNT.
34377 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34378 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
34379 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
34380
34381 2013-12-19 Joseph Myers <joseph@codesourcery.com>
34382
34383 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
34384 * sysdeps/i386/fpu/libm-test-ulps: Update.
34385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34386
34387 [BZ #16293]
34388 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
34389 round-to-nearest mode when using frndint.
34390 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
34391 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34392 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34393 Likewise.
34394 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
34395 sinh test to fail.
34396 * math/auto-libm-test-out: Regenerated.
34397 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
34398 (TEST_COND_x86): Likewise.
34399 (expm1_tonearest_test_data): New array.
34400 (expm1_test_tonearest): New function.
34401 (expm1_towardzero_test_data): New array.
34402 (expm1_test_towardzero): New function.
34403 (expm1_downward_test_data): New array.
34404 (expm1_test_downward): New function.
34405 (expm1_upward_test_data): New array.
34406 (expm1_test_upward): New function.
34407 (main): Run the new test functions.
34408 * sysdeps/i386/fpu/libm-test-ulps: Update.
34409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34410
34411 * include/features.h: Update comment documenting feature test
34412 macros. Mention _DEFAULT_SOURCE in comment.
34413 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
34414 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
34415 _BSD_SOURCE and _SVID_SOURCE.
34416 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
34417 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
34418 !_SVID_SOURCE]: Likewise.
34419 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34420 (__USE_POSIX_IMPLICITLY): Define.
34421 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34422 (_POSIX_SOURCE): Undefine and redefine.
34423 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34424 (_POSIX_C_SOURCE): Likewise.
34425 * manual/creature.texi (_DEFAULT_SOURCE): Document.
34426 (Feature Test Macros): Update documentation of default features.
34427
34428 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34429
34430 * benchtests/Makefile: Add bench-strtok.
34431 * benchtests/bench-strtok.c: New file: strtok benchtest.
34432
34433 2013-12-19 Allan McRae <allan@archlinux.org>
34434
34435 * manual/install.texi: Suppress menu for plain text output.
34436 * INSTALL: Regenerated.
34437
34438 2013-12-18 Brooks Moses <bmoses@google.com>
34439
34440 [BZ #15846]
34441 * misc/getauxval.c: Include errno.h.
34442 (__getauxval): Set errno to ENOENT if the requested type is not
34443 found.
34444 * misc/sys/auxv.h (getauxval): Document that it may set errno;
34445 don't declare with __attribute_const__.
34446 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
34447 * manual/startup.texi: Document that getauxval sets errno.
34448
34449 2013-12-18 Joseph Myers <joseph@codesourcery.com>
34450
34451 * math/auto-libm-test-in: Add tests of jn and yn.
34452 * math/auto-libm-test-out: Regenerated.
34453 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
34454 (yn_test_data): Likewise.
34455 * math/gen-auto-libm-tests.c (func_calc_method): Add value
34456 mpfr_if_f.
34457 (func_calc_desc): Add mpfr_if_f union field.
34458 (FUNC_mpfr_if_f): New macro.
34459 (test_functions): Add jn and yn.
34460 (calc_generic_results): Assert type of second input for
34461 mpfr_ff_f. Handle mpfr_if_f.
34462 (output_for_one_input_case): Disable all checking for arguments
34463 fitting floating-point types in case of an integer argument.
34464 * sysdeps/i386/fpu/libm-test-ulps: Update.
34465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34466
34467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34468 Don't expect fegetround reference in libm.so.
34469
34470 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34471
34472 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
34473 $(config-cflags-nofma).
34474
34475 2013-12-18 Joseph Myers <joseph@codesourcery.com>
34476
34477 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
34478 * math/auto-libm-test-out: Regenerated.
34479
34480 [BZ #16338]
34481 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
34482 to determine exponent and adjust argument to have exponent of -1.
34483 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
34484 log2.
34485 * math/auto-libm-test-out: Regenerated.
34486 * sysdeps/i386/fpu/libm-test-ulps: Update.
34487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34488
34489 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
34490
34491 * manual/probes.texi: Remove cases when per-thread arenas are
34492 disabled.
34493
34494 2013-12-18 Andreas Schwab <schwab@suse.de>
34495
34496 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
34497 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
34498 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
34499 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
34500 * sysdeps/i386/i686/multiarch/Makefile: Update.
34501 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
34502
34503 2013-12-17 Joseph Myers <joseph@codesourcery.com>
34504
34505 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
34506 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
34507
34508 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
34509
34510 [BZ #15968]
34511 Support TZ transition times < 00:00:00.
34512 This is needed for version-3 tz-format files; it supports time
34513 stamps past 2037 for America/Godthab (the only entry in the tz
34514 database for which this change is relevant).
34515 * manual/time.texi (TZ Variable): Document transition times
34516 from -167:59:59 through -00:00:01.
34517 * time/tzset.c (tz_rule): Time of day is now signed.
34518 (__tzset_parse_tz): Parse negative time of day.
34519
34520 Document TZ transition times >= 25:00:00.
34521 * manual/time.texi (TZ Variable): Document transition times from
34522 25:00:00 through 167:59:59. These are already supported, and this
34523 support will help with version-3 tz-format files.
34524
34525 * manual/time.texi (TZ Variable): Modernize North America example
34526 to reflect current (i.e., 2007-and-later) daylight saving rules.
34527
34528 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
34529
34530 2013-12-17 Joseph Myers <joseph@codesourcery.com>
34531
34532 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
34533 * sysdeps/unix/bsd/bits/stat.h: Likewise.
34534 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
34535 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34536 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
34537 * sysdeps/unix/bsd/bsdstat.h: Likewise.
34538 * sysdeps/unix/bsd/clock.c: Likewise.
34539 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
34540 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
34541 * sysdeps/unix/bsd/init-posix.c: Likewise.
34542 * sysdeps/unix/bsd/poll.c: Likewise.
34543 * sysdeps/unix/bsd/ptsname.c: Likewise.
34544 * sysdeps/unix/bsd/seekdir.c: Likewise.
34545 * sysdeps/unix/bsd/setegid.c: Likewise.
34546 * sysdeps/unix/bsd/seteuid.c: Likewise.
34547 * sysdeps/unix/bsd/setgid.c: Likewise.
34548 * sysdeps/unix/bsd/setrgid.c: Likewise.
34549 * sysdeps/unix/bsd/setruid.c: Likewise.
34550 * sysdeps/unix/bsd/setsid.c: Likewise.
34551 * sysdeps/unix/bsd/setuid.c: Likewise.
34552 * sysdeps/unix/bsd/sigaction.c: Likewise.
34553 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
34554 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
34555 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
34556 * sysdeps/unix/bsd/telldir.c: Likewise.
34557 * sysdeps/unix/bsd/times.c: Likewise.
34558 * sysdeps/unix/bsd/usleep.c: Likewise.
34559
34560 * misc/Makefile (install-lib): Remove libbsd-compat.a.
34561 ($(objpfx)libbsd-compat.a): Remove rule.
34562
34563 * include/features.h (__FAVOR_BSD): Do not define.
34564 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
34565 features conflicting with POSIX.
34566 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
34567 (_BSD_SOURCE): Remove description of not being a subset of other
34568 feature test macros.
34569 * manual/job.texi (getpgrp): Do not document BSD version.
34570 (getpgid): Do not document by reference to BSD getpgrp.
34571 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
34572 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
34573 * signal/signal.h [__FAVOR_BSD]: Likewise.
34574 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
34575 instead of making contents conditional on [__FAVOR_BSD].
34576 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
34577
34578 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34579
34580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34581
34582 2013-12-17 Joseph Myers <joseph@codesourcery.com>
34583
34584 [BZ #16314]
34585 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
34586 values below 2**-450, not 2**-500.
34587 * math/auto-libm-test-in: Don't allow spurious underflow from
34588 hypot.
34589 * math/auto-libm-test-out: Regenerated.
34590
34591 [BZ #16316]
34592 [BZ #16330]
34593 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
34594 values of ha and hb and sort them after adjusting subnormal
34595 arguments.
34596 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34597 Likewise.
34598 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
34599 values of ea and eb and sort them after adjusting subnormal
34600 arguments.
34601 * math/auto-libm-test-in: Do not expect some hypot tests of
34602 subnormals to fail. Add more hypot tests.
34603 * math/auto-libm-test-out: Regenerated.
34604
34605 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34606
34607 [BZ #13304]
34608 * sysdeps/sh/s_fma.c: New file.
34609 * sysdeps/sh/s_fmaf.c: New file.
34610 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
34611 version.
34612 * sysdeps/sh/Implies: Add sh/soft-fp.
34613
34614 2013-12-16 Roland McGrath <roland@hack.frob.com>
34615
34616 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
34617 level of indirection to members `objname', `errstring', `malloced'.
34618 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
34619 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
34620 it as the __longjmp argument (just pass 1 instead).
34621 (_dl_catch_error): Initialize C with argument pointers and address of
34622 volatile local ERRCODE rather than copying values out of C at return.
34623
34624 2013-12-16 Joseph Myers <joseph@codesourcery.com>
34625
34626 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
34627 * math/auto-libm-test-out: Regenerated.
34628 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
34629 (hypot_test_data): Likewise.
34630 (pow_test_data): Likewise.
34631 (pow_tonearest_test_data): Likewise.
34632 * math/gen-auto-libm-tests.c (func_calc_method): Add value
34633 mpfr_ff_f.
34634 (func_calc_desc): Add mpfr_ff_f union field.
34635 (FUNC_mpfr_ff_f): New macro.
34636 (test_functions): Add atan2, hypot and pow.
34637 (special_fill_min): New function.
34638 (special_fill_minus_min): Likewise.
34639 (special_fill_min_subnorm): Likewise.
34640 (special_fill_minus_min_subnorm): Likewise.
34641 (special_real_inputs): Add min, -min, min_subnorm and
34642 -min_subnorm.
34643 (calc_generic_results): Handle mpfr_ff_f.
34644 * sysdeps/i386/fpu/libm-test-ulps: Update.
34645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34646
34647 2013-12-16 Will Newton <will.newton@linaro.org>
34648
34649 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
34650 (Aligned Memory Blocks): Add documentation for aligned_alloc
34651 and suggest it as an alternative to posix_memalign.
34652 (Hooks for Malloc): Document __memalign_hook is also called
34653 for aligned_alloc. (Summary of Malloc): Add summary for
34654 aligned alloc. Document __memalign_hook is also called
34655 for aligned_alloc.
34656
34657 2013-12-16 Will Newton <will.newton@linaro.org>
34658
34659 * manual/memory.texi (Malloc Examples): Clarify default
34660 alignment documentation. Suggest posix_memalign rather
34661 than memalign or valloc.
34662 (Aligned Memory Blocks): Remove suggestion to use memalign
34663 or valloc. Remove obsolete comment about BSD.
34664 Document memalign errno values and mark the function obsolete.
34665 Document posix_memalign returned error codes. Mark valloc
34666 as obsolete. (Hooks for Malloc): __memalign_hook is also
34667 called for posix_memalign and valloc.
34668 (Summary of Malloc): Add posix_memalign to function summary.
34669 __memalign_hook is also called for posix_memalign and valloc.
34670
34671 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34672
34673 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
34674 TAYLOR_SIN.
34675 (__sin): Adjust.
34676 (__cos): Likewise.
34677 (sloww): Use mynumber union. Expand ternary operator into
34678 if-else statements.
34679 (cslow): use mynumber union.
34680
34681 2013-12-16 Allan McRae <allan@archlinux.org>
34682
34683 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
34684 * configure: Regenerated.
34685
34686 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
34687
34688 [BZ #14120]
34689 * configure.ac: Added --enable-maintainer-mode. Check for
34690 autoconf when enabled.
34691 * configure: Regenerated.
34692
34693 * nscd/nscd.service: New file.
34694 * nscd/nscd.tmpfiles: New file.
34695
34696 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
34697
34698 [BZ #12100]
34699 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
34700 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
34701 * sysdeps/x86_64/multiarch/strstr.c: ... here.
34702 (strstr): Add __strstr_sse2_unaligned ifunc.
34703 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
34704 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
34705 (strcasestr): Remove __strcasestr_sse42 ifunc.
34706 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
34707 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
34709
34710 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34711
34712 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
34713 * sysdeps/sh/bits/fenv.h: ... here.
34714 * sysdeps/sh/sh4/fpu/bits: Remove directory.
34715
34716 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34717
34718 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
34719
34720 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
34721 hypotf multiarch implementations.
34722 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
34723 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
34724 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
34725 multiarch hypot for PPC64.
34726 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
34727 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
34728 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
34729 multiarch hypotf for PPC64.
34730
34731 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
34732 modff multiarch implementations.
34733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
34734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
34735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
34736 multiarch modf for PPC64.
34737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
34738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
34739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
34740 multiarch modff for PPC64.
34741
34742 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
34743 and logl multiarch implementations.
34744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
34745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
34746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
34747 multiarch logb for PPC64.
34748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
34749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
34750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
34751 multiarch logb for PPC64.
34752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
34753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
34754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
34755 multiarch logb for PPC64.
34756
34757 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
34758 isinff multiarch implementation.
34759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
34760 file.
34761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
34762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
34763 multiarch isinf for PPC64.
34764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
34765 file.
34766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
34767 multiarch isinff for PPC64.
34768
34769 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
34770 finitef multiarch implementation.
34771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
34772 file.
34773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
34774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
34775 multiarch finite for PPC64.
34776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
34777 file.
34778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
34779 multiarch finitef for PPC64.
34780
34781 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
34782 lrint multiarch implementation.
34783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
34784 file.
34785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
34786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
34787 multiarch llrint for PPC64.
34788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
34789 multiarch lrint for PPC64.
34790
34791 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
34792 copysignf multiarch implementation.
34793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
34794 file.
34795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
34796 file.
34797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
34798 multiarch copysign for PPC64.
34799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
34800 multiarch copysignf for PPC64.
34801
34802 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
34803 multiarch implementation.
34804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
34805 file.
34806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
34807 file.
34808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
34809 file.
34810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
34811 file.
34812 multiarch llround for PPC64.
34813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
34814 multiarch trunc for PPC64.
34815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
34816 multiarch truncf for PPC64.
34817
34818 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
34819 multiarch implementation.
34820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
34821 file.
34822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
34823 file.
34824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
34825 file.
34826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
34827 file.
34828 multiarch llround for PPC64.
34829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
34830 multiarch round for PPC64.
34831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
34832 multiarch roundf for PPC64.
34833
34834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
34835 multiarch implementation.
34836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
34837 file.
34838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
34839 file.
34840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
34841 file.
34842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
34843 file.
34844 multiarch llround for PPC64.
34845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
34846 multiarch floor for PPC64.
34847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
34848 multiarch floorf for PPC64.
34849
34850 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
34851 multiarch implementation.
34852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
34853 file.
34854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
34855 file.
34856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
34857 file.
34858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
34859 file.
34860 multiarch llround for PPC64.
34861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
34862 multiarch ceil for PPC64.
34863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
34864 multiarch ceilf for PPC64.
34865
34866 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34867 multiarch implementation.
34868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
34869 file.
34870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
34871 file.
34872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
34873 file.
34874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
34875 multiarch llround for PPC64.
34876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
34877 multiarch lround for PPC64.
34878
34879 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34880 multiarch implementation.
34881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
34882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
34883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
34884 file.
34885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
34886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
34887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
34888 multiarch isnan for PPC64.
34889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
34890 multiarch isnanf for PPC64.
34891
34892 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
34893 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
34894 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
34895 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
34896 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
34897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
34898
34899 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
34900 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34901 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34902 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34903
34904 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
34905 multiarch implementations.
34906 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34907 (__libc_ifunc_impl_list): Likewise.
34908 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
34909 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
34910 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
34911 multiarch stpcpy for PPC64.
34912
34913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
34914 multiarch implementations.
34915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34916 (__libc_ifunc_impl_list): Likewise.
34917 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
34918 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
34919 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
34920 multiarch strcpy for PPC64.
34921
34922 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
34923 redefine function name.
34924 (_wordcopy_fwd_dest_aligned): Likewise.
34925 (_wordcopy_bwd_aligned): Likewise.
34926 (_wordcopy_bwd_dest_aligned): Likewise.
34927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
34928 multiarch implementations.
34929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34930 (__libc_ifunc_impl_list): Likewise.
34931 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
34932 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
34933 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
34934 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
34935 multiarch wcscpy for PPC64.
34936
34937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
34938 multiarch implementations.
34939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34940 (__libc_ifunc_impl_list): Likewise.
34941 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
34942 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
34943 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
34944 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
34945 multiarch wcscpy for PPC64.
34946
34947 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
34948 multiarch implementations.
34949 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34950 (__libc_ifunc_impl_list): Likewise.
34951 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
34952 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
34953 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
34954 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
34955 multiarch wcsrchr for PPC64.
34956
34957 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
34958 multiarch implementations.
34959 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34960 (__libc_ifunc_impl_list): Likewise.
34961 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
34962 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
34963 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
34964 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
34965 multiarch wcschr for PPC64.
34966
34967 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
34968 multiarch implementations.
34969 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34970 (__libc_ifunc_impl_list): Likewise.
34971 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
34972 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
34973 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
34974 multiarch strchrnul for PPC64.
34975
34976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
34977 implementations.
34978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34979 (__libc_ifunc_impl_list): Likewise.
34980 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
34981 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
34982 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
34983 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
34984 strchr for PPC64.
34985
34986 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
34987 implementations.
34988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34989 (__libc_ifunc_impl_list): Likewise.
34990 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
34991 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
34992 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
34993 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
34994 strncmp for PPC64.
34995
34996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
34997 multiarch implementations.
34998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34999 (__libc_ifunc_impl_list): Likewise.
35000 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
35001 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
35002 strncasecmp for PPC64.
35003 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
35004 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
35005 multiarch strncasecmp_l for PPC64.
35006
35007 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
35008 multiarch implementations.
35009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35010 (__libc_ifunc_impl_list): Likewise.
35011 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
35012 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
35013 multiarch strcasecmp for PPC64.
35014 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
35015 file.
35016 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
35017 multiarch strcasecmp_l for PPC64.
35018
35019 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
35020 implementations.
35021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35022 (__libc_ifunc_impl_list): Likewise.
35023 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
35024 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
35025 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
35026 strnlen for PPC64.
35027
35028 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
35029 implementations.
35030 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35031 (__libc_ifunc_impl_list): Likewise.
35032 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
35033 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
35034 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
35035 strlen for PPC64.
35036
35037 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
35038 implementations.
35039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35040 (__libc_ifunc_impl_list): Likewise.
35041 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
35042 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
35043 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
35044 rawmemrchr for PPC64.
35045
35046 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
35047 implementation.
35048 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35049 (__libc_ifunc_impl_list): Likewise.
35050 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
35051 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
35052 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
35053 memrchr for PPC64.
35054
35055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
35056 implementation.
35057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35058 (__libc_ifunc_impl_list): Likewise.
35059 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
35060 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
35061 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
35062 memchr for PPC64.
35063
35064 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
35065 implementation.
35066 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35067 (__libc_ifunc_impl_list): Likewise.
35068 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
35069 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
35070 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
35071 mempcpy for PPC64.
35072
35073 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
35074 avoid cretion of __bzero symbol.
35075 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
35076 Likewise.
35077 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
35078 Likewise.
35079 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
35080 Likewise.
35081 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
35082 multiarch implementations.
35083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35084 (__libc_ifunc_impl_list): Likewise.
35085 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
35086 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
35087 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
35088 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
35089 bzero for PPC32.
35090 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
35091 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
35092 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
35093 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
35094 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
35095 memset for PPC64.
35096 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
35097
35098 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
35099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
35100 implementations.
35101 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35102 (__libc_ifunc_impl_list): Likewise.
35103 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
35104 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
35105 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
35106 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
35107 memcmp for PPC64.
35108
35109 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
35110 multiarch for POWER/PPC64.
35111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
35112 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
35113 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
35114 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
35115 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
35116 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
35117 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
35118 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
35119 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
35120 memcpy for PPC64.
35121
35122 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
35123 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
35124 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
35125 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
35126 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
35127 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
35128 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
35129 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
35130 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
35131 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
35132 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
35133 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
35134 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
35135 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
35136 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
35137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
35138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
35139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
35140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
35141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
35142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
35143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
35144
35145 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35146
35147 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
35148
35149 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35150
35151 * benchtests/Makefile (bench): Add exp2 and log2.
35152 (LDLIBS-bench-exp2): Add -lm.
35153 (LDLIBS-bench-log2): Likewise.
35154 * benchtests/exp2-inputs: New inputs file.
35155 * benchtests/log2-inputs: New inputs file.
35156 * benchtests/log-inputs: Add new inputs.
35157 * benchtests/tan-inputs: Likewise.
35158
35159 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35160
35161 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
35162 definition...
35163 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
35164 (csloww2): ... from here.
35165
35166 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
35167 instead of structures.
35168 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
35169 (POLYNOMIAL): Likewise.
35170 (TAYLOR_SLOW): Likewise.
35171 (__sin): Likewise.
35172 (__cos): Likewise.
35173 (slow1): Likewise.
35174 (slow2): Likewise.
35175 (sloww): Likewise.
35176 (sloww1); Likewise.
35177 (sloww2): Likewise.
35178 (bsloww1): Likewise.
35179 (bsloww2): Likewise.
35180 (cslow2): Likewise.
35181 (csloww): Likewise.
35182 (csloww1): Likewise.
35183 (csloww2): Likewise.
35184
35185 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
35186
35187 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
35188 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
35189 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
35190 * malloc/hooks.c (realloc_check): Likewise.
35191
35192 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
35193 * malloc/arena.c: Remove PER_THREAD conditional.
35194 [!PER_THREAD]: Remove code.
35195 (ptmalloc_unlock_all2): Likewise.
35196 (ptmalloc_init): Likewise.
35197 (_int_new_arena): Likewise.
35198 (arena_get2): Likewise.
35199 * malloc/hooks.c (__malloc_get_state): Likewise.
35200 (__malloc_set_state): Likewise.
35201 * malloc/malloc.c: Likewise.
35202 (struct malloc_state): Likewise.
35203 (struct malloc_par): Likewise.
35204 (__libc_realloc): Likewise.
35205 (__libc_mallopt): Likewise.
35206
35207 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35208
35209 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
35210
35211 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
35212
35213 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
35214 macro to a function. Check for zero perturb_byte.
35215 (_int_malloc, _int_free): Remove zero perturb_byte checks.
35216
35217 * malloc/malloc.c: (force_reg): Remove.
35218 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
35219 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
35220 force_reg by atomic_forced_read.
35221 * malloc/arena.c (ptmalloc_init): Likewise.
35222 * malloc/hooks.c (top_check): Likewise.
35223
35224 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35225
35226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35227
35228 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
35229
35230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35231
35232 2013-12-08 Joseph Myers <joseph@codesourcery.com>
35233
35234 * math/auto-libm-test-in: Add tests of lgamma.
35235 * math/auto-libm-test-out: Regenerated.
35236 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
35237 (M_LOG_2_SQRT_PIl): Likewise.
35238 (lgamma_test_data): Use AUTO_TESTS_f_f1.
35239 * math/gen-auto-libm-tests.c (func_calc_method): Add value
35240 mpfr_f_f1.
35241 (func_calc_desc): Add mpfr_f_f1 union field.
35242 (ARGS1): New macro.
35243 (ARGS2): Likewise.
35244 (ARGS3): Likewise.
35245 (ARGS4): Likewise.
35246 (RET1): Likewise.
35247 (RET2): Likewise.
35248 (CALC): Likewise.
35249 (FUNC): Likewise.
35250 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
35251 (test_functions): Add lgamma.
35252 (calc_generic_results): Handle mpfr_f_f1.
35253 * sysdeps/i386/fpu/libm-test-ulps: Update.
35254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35255
35256 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35257
35258 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
35259 __mpn_add_n for PowerPC64/POWER7.
35260 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
35261 __mpn_sub_n for PowerPC64/POWER7.
35262
35263 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
35264 __mpn_addmul_1 for PowerPC64.
35265 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
35266 __mpn_submul_1 for PowerPC64.
35267 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
35268 for PowerPC64.
35269 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
35270 for PowerPC64.
35271
35272 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
35273
35274 [BZ #15089]
35275 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
35276
35277 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35278
35279 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
35280
35281 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
35282 add multiarch folders.
35283 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
35284 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
35285 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
35286 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
35287 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
35288 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
35289 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
35290 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
35291 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
35292 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
35293 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
35294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
35295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
35296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
35297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
35298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
35299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
35300
35301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35302 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
35303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
35304 New file.
35305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
35306 New file.
35307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
35308 multiarch __ieee754_hypot for PowerPC32.
35309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
35310 New file.
35311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
35312 New file.
35313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
35314 multiarch __ieee754_hypotf for PowerPC32.
35315
35316 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
35317 long_double_symbol only if __logbl is defined.
35318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
35319 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
35320 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
35321 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
35322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
35323 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
35324 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
35325 path for implementation.
35326 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
35327 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
35328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
35329 logb, and logbl multiarch implementations for PowerPC32.
35330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
35331 file.
35332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
35333 file.
35334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
35335 multiarch logb for PowerPC32.
35336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
35337 file.
35338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
35339 file.
35340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
35341 multiarch logbf for PowerPC32.
35342 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
35343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
35344 file.
35345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
35346 multiarch logbl implementation for PowerPC32.
35347
35348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
35349 and modff multiarch implementations.
35350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
35351 New file.
35352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
35353 New file.
35354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
35355 multiarch modf for PowerPC32.
35356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
35357 New file.
35358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
35359 New file.
35360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
35361 multiarch modff for PowerPC32.
35362
35363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
35364 and lrintf multiarch implementations.
35365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
35366 New file.
35367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
35368 New file.
35369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
35370 multiarch lrint for PowerPC32.
35371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
35372 file: multiarch lrintf for PowerPC32.
35373
35374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
35375 and lroundf multiarch implementations.
35376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
35377 New file.
35378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
35379 New file.
35380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
35381 New file.
35382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
35383 multiarch lround for PowerPC32.
35384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
35385 file: multiarch lroundf for PowerPC32.
35386
35387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
35388 copysign and copysignf multiarch implementations.
35389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
35390 New file.
35391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
35392 New file.
35393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
35394 file: multiarch copysign for PowerPC32.
35395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
35396 file: multiarch copysignf for PowerPC32.
35397
35398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
35399 and truncf multiarch implementations.
35400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
35401 New file.
35402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
35403 file.
35404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
35405 multiarch trunc for PowerPC32.
35406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
35407 New file.
35408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
35409 New file.
35410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
35411 multiarch truncf for PowerPC32.
35412
35413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
35414 and roundf multiarch implementations.
35415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
35416 New file.
35417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
35418 file.
35419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
35420 multiarch round for PowerPC32.
35421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
35422 New file.
35423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
35424 New file.
35425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
35426 multiarch roundf for PowerPC32.
35427
35428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
35429 and floorf multiarch implementations.
35430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
35431 New file.
35432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
35433 file.
35434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
35435 multiarch floor for PowerPC32.
35436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
35437 New file.
35438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
35439 New file.
35440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
35441 multiarch floorf for PowerPC32.
35442
35443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
35444 and ceilf multiarch implementations.
35445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
35446 New file.
35447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
35448 file.
35449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
35450 multiarch ceil for PowerPC32.
35451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
35452 New file.
35453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
35454 file.
35455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
35456 multiarch ceilf for PowerPC32.
35457
35458 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
35459 is defined.
35460 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
35461 FINITEF is defined.
35462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
35463 and finitef multiarch implementations.
35464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
35465 New file.
35466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
35467 file.
35468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
35469 multiarch finite for PowerPC32.
35470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
35471 New file.
35472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
35473 file: multiarch finitef for PowerPC32.
35474
35475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
35476 and isinff multiarch implementations.
35477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
35478 file.
35479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
35480 file.
35481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
35482 multiarch isinf for PowerPC32.
35483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
35484 New file.
35485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
35486 multiarch isinff for PowerPC32.
35487
35488 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
35489 alias when __isnan is defined.
35490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
35491 and isnanf multiarch implementations.
35492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
35493 file.
35494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
35495 file.
35496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
35497 file.
35498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
35499 file.
35500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
35501 multiarch isnan for PowerPC32.
35502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
35503 New file.
35504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
35505 New file.
35506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
35507 multiarch isnanf for PowerPC32.
35508
35509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
35510 and sqrtf multiarch implementations.
35511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
35512 file.
35513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
35514 file.
35515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
35516 multiarch sqrt for PowerPC32.
35517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
35518 file.
35519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
35520 file.
35521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
35522 multiarch sqrtf for PowerPC32.
35523
35524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
35525 and llroundf multiarch implementations.
35526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
35527 New file.
35528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
35529 New file.
35530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
35531 New file.
35532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
35533 file: multiarch llround for PowerPC32.
35534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
35535 file: multiarch llroundf for PowerPC32.
35536
35537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
35538 multiarch PowerPC32 fpu implementations.
35539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
35540 New file.
35541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
35542 New file.
35543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
35544 multiarch llrint for PowerPC32.
35545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
35546 New file.
35547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
35548 New file.
35549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
35550 file.
35551
35552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
35553
35554 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
35555 file.
35556 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
35557 file.
35558 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
35559 file.
35560 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
35561 multiarch wordcopy for PPC32.
35562 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35563 wordcopy objects.
35564 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35565 (__libc_ifunc_impl_list): Likewise.
35566 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
35567 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
35568 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
35569 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
35570 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
35571 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
35572
35573 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
35574 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
35575 file.
35576 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
35577 file.
35578 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
35579 file.
35580 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
35581 multiarch wcscpy for PPC32.
35582 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35583 multiarch objects.
35584 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35585 (__libc_ifunc_impl_list): Likewise.
35586 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35587 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35588 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
35589 sysdeps/powerpc/power6/wcscpy.c.
35590
35591 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
35592 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
35593 file.
35594 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
35595 file.
35596 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
35597 file.
35598 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
35599 multiarch wcsrchr for PPC32.
35600 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35601 multiarch objects.
35602 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35603 (__libc_ifunc_impl_list): Likewise.
35604 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35605 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35606 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
35607 sysdeps/powerpc/power6/wcsrchr.c.
35608
35609 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
35610 file.
35611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
35612 file.
35613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
35614 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
35615 multiarch wcschr for PPc32.
35616 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35617 multiarch objects.
35618 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35619 (__libc_ifunc_impl_list): Likewise.
35620 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
35621 * sysdeps/powerpc/power6/wcschr.c: ... to here.
35622 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
35623 sysdeps/powerpc/power6/wcschr.c.
35624
35625 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
35626 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
35627 file.
35628 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
35629 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
35630 file: multiarch strchr for PPC32.
35631 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
35632 multiarch objects.
35633 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35634 (__libc_ifunc_impl_list): Likewise.
35635
35636 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
35637 name.
35638 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
35639 file.
35640 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
35641 file.
35642 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
35643 multiarch strchrnul for PPC32.
35644 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
35645 multiarch objects.
35646 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35647 (__libc_ifunc_impl_list): Likewise.
35648
35649 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
35650 file.
35651 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
35652 multiarch strncasecmp for PPC32.
35653 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
35654 file.
35655 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
35656 multiarch strncasecmp_l for PPC32.
35657 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
35658 strncasecmp multiarch objects.
35659 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35660 (__libc_ifunc_impl_list): Likewise.
35661
35662 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
35663 file.
35664 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
35665 multiarch strncasecmp for PPC32.
35666 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
35667 New file.
35668 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
35669 multiarch strcasecmp_l for PPC32.
35670 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
35671 multiarch objects.
35672 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35673 (__libc_ifunc_impl_list): Likewise.
35674
35675 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
35676 file.
35677 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
35678 file.
35679 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
35680 multiarch strncmp for PPC32.
35681 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
35682 multiarch objects.
35683 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35684 (__libc_ifunc_impl_list): Likewise.
35685
35686 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
35687 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
35688 file.
35689 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
35690 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
35691 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
35692 multiarch objects.
35693 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35694 (__libc_ifunc_impl_list): Likewise.
35695
35696 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
35697 file.
35698 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
35699 file.
35700 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
35701 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
35702 multiarch objects.
35703 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35704 (__libc_ifunc_impl_list): Likewise.
35705
35706 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
35707 file.
35708 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
35709 file.
35710 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
35711 multiarch rawmemchr for PPC32.
35712 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
35713 multiarch objects.
35714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35715 (__libc_ifunc_impl_list): Likewise.
35716
35717 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
35718 file.
35719 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
35720 file.
35721 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
35722 file: memrchr multiarch for PPC32.
35723 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
35724 multiarch objects.
35725 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35726 (__libc_ifunc_impl_list): Likewise.
35727
35728 * string/memchr.c (__memchr): Using macro to redefine symbol name.
35729 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
35730 file.
35731 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
35732 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
35733 multiarch memchr for PPC32.
35734 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
35735 multiarch objects.
35736 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35737 (__libc_ifunc_impl_list): Likewise.
35738
35739 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
35740 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
35741 file.
35742 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
35743 file.
35744 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
35745 file: multiarch mempcpy for PPC32.
35746 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
35747 multiarch objects.
35748 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35749 (__libc_ifunc_impl_list): Likewise.
35750
35751 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
35752 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
35753 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
35754 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
35755 multiarch bzero for PPC32.
35756 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
35757 file.
35758 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
35759 file.
35760 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
35761 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
35762 file: multiarch memset for PPC32.
35763 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
35764 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
35765 memset multiarch objects.
35766 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35767 (__libc_ifunc_impl_list): Likewise.
35768
35769 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
35770 file.
35771 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
35772 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
35773 memcmp for PPC32.
35774 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
35775 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
35776 multiarch objects.
35777 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35778 (__libc_ifunc_impl_list): Likewise.
35779
35780 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
35781 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
35782 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
35783 file.
35784 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
35785 file.
35786 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
35787 file.
35788 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
35789 multiarch memcpy for PPC32.
35790 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
35791 multiarch objects.
35792 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35793 (__libc_ifunc_impl_list): Likewise.
35794
35795 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
35796 support multiarch for POWER/PPC32.
35797 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
35798 Likewise.
35799 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
35801 Implies file to make multiarch folder appers before the fpu and
35802 default folder for power4 configuration.
35803
35804 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35805
35806 * scripts/bench.pl: Append volatile keyword to type.
35807
35808 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35809
35810 * sysdeps/sh/sotruss-lib.c: New file.
35811 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
35812
35813 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35814
35815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35816
35817 2013-12-05 Joseph Myers <joseph@codesourcery.com>
35818
35819 [BZ #6810]
35820 * math/w_tgamma.c: Include <errno.h>.
35821 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
35822 * math/w_tgammaf.c: Include <errno.h>.
35823 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
35824 * math/w_tgammal.c: Include <errno.h>.
35825 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
35826 * math/auto-libm-test-in: Do not allow missing errno on tgamma
35827 underflow. Add more tgamma tests.
35828 * math/auto-libm-test-out: Regenerated.
35829 * sysdeps/i386/fpu/libm-test-ulps: Update.
35830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35831
35832 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
35833 sin, sinh, tan, tanh, tgamma, y0 and y1.
35834 * math/auto-libm-test-out: Regenerated.
35835 * math/libm-test.inc (TEST_COND_x86_64): New macro.
35836 (TEST_COND_x86): Likewise.
35837 (M_E2l): Remove macro.
35838 (M_E3l): Likewise.
35839 (M_2_SQRT_PIl): Likewise.
35840 (M_SQRT_PIl): Likewise.
35841 (M_1_DIV_El): Likewise.
35842 (log_test_data): Use AUTO_TESTS_f_f.
35843 (log10_test_data): Likewise.
35844 (log1p_test_data): Likewise.
35845 (log2_test_data): Likewise.
35846 (sin_test_data): Likewise.
35847 (sin_tonearest_test_data): Likewise.
35848 (sin_towardzero_test_data): Likewise.
35849 (sin_downward_test_data): Likewise.
35850 (sin_upward_test_data): Likewise.
35851 (sinh_test_data): Likewise.
35852 (sinh_tonearest_test_data): Likewise.
35853 (sinh_towardzero_test_data): Likewise.
35854 (sinh_downward_test_data): Likewise.
35855 (sinh_upward_test_data): Likewise.
35856 (tan_test_data): Likewise.
35857 (tan_tonearest_test_data): Likewise.
35858 (tan_towardzero_test_data): Likewise.
35859 (tan_downward_test_data): Likewise.
35860 (tan_upward_test_data): Likewise.
35861 (tanh_test_data): Likewise.
35862 (tgamma_test_data): Likewise.
35863 (y0_test_data): Likewise.
35864 (y1_test_data): Likewise.
35865 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
35866 (special_real_inputs): Add pi/4.
35867 * sysdeps/i386/fpu/libm-test-ulps: Update.
35868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35869
35870 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35871
35872 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
35873 "longjmp_target" static probes.
35874 (__longjmp): Rename to __longjmp_symbol.
35875 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35876 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
35877 on which longjmp to generate.
35878 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35879 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
35880 probe.
35881 (__sigsetjmp): Rename to __sigsetjmp_symbol.
35882 (__sigjmp_save): Rename to __sigjmp_save_symbol.
35883 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35884 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
35885 and __sigjmp_save_symbol based on which sigsetjmp to generated.
35886 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
35887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
35888 __longjmp_symbol based on which __longjmp to generate.
35889 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
35890 probe.
35891 (setjmp): Rename to setjmp_symbol.
35892 (__sigsetjmp): Rename to __sigsetjmp_symbol.
35893 (_setjmp): Rename to _setjmp_symbol.
35894 (__sigsetjmp): Rename to __sigsetjmp_symbol.
35895 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
35896 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
35897 which setjmp to generate.
35898 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
35899 "longjmp_target" static probes.
35900
35901 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35902
35903 * benchtests/README: Add note about output arguments.
35904 * benchtests/bench-sincos.c: Remove file.
35905 * benchtests/sincos-inputs: New file.
35906 * scripts/bench.pl: Identify output arguments and define
35907 static variables for them.
35908
35909 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
35910
35911 [BZ #15941]
35912 * Makefile (INSTALL): Add install-plain.texi as the primary
35913 dependency.
35914 * manual/install-plain.texi: New file.
35915 * manual/install.texi: Include node directive only for
35916 non-plaintext output.
35917
35918 2013-12-04 Joseph Myers <joseph@codesourcery.com>
35919
35920 * stdlib/longlong.h: Update from GCC.
35921
35922 [BZ #6807]
35923 [BZ #15901]
35924 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
35925 * math/w_j0f.c (y0f): Likewise.
35926 * math/w_j0l.c (__y0l): Likewise.
35927 * math/w_j1.c (y1): Likewise.
35928 * math/w_j1f.c (y1f): Likewise.
35929 * math/w_j1l.c (__y1l): Likewise
35930 * math/w_jn.c (yn): Likewise.
35931 * math/w_jnf.c (ynf): Likewise.
35932 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
35933 Bessel function pole errors in _POSIX_ mode. Use NAN as return
35934 value for Bessel function domain errors outside _SVID_ mode.
35935 Adjust sign of return value for yn (negative integer, 0).
35936 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
35937 by zero in return for negative x and set sign appropriately for
35938 negative n.
35939 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
35940 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35941 * math/libm-test.inc (y0_test_data): Add more tests and adjust
35942 expectations in error cases.
35943 (y1_test_data): Likewise.
35944 (yn_test_data): Likewise.
35945 * sysdeps/i386/fpu/libm-test-ulps: Update.
35946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35947
35948 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
35949
35950 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
35951 "64" to "64-v1". Add "64-v2".
35952 (abi-64-options): Rename to ...
35953 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
35954 (abi-64-condition): Rename to ...
35955 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
35956 (abi-64-ld-soname): Rename to ...
35957 (abi-64-v1-ld-soname): ... this.
35958 (abi-64-v2-options): Define.
35959 (abi-64-v2-condition): Likewise.
35960 (abi-64-v2-ld-soname): Likewise.
35961 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
35962 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
35963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
35964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
35965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
35966
35967 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
35968 Alan Modra <amodra@gmail.com>
35969
35970 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
35971 New versions for use with the ELFv2 ABI.
35972 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
35973 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
35974 declaration.
35975 (struct La_ppc64v2_retval): Likewise.
35976 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
35977 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
35978 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
35979 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
35980 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
35981 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35982 Do not save or restore CR.
35983 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
35984 (_dl_profile_resolve): Do no save or restore CR. Support extended
35985 return values for ELFv2 ABI. Fix location of FPR return registers.
35986 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
35987 updated values for _CALL_ELF == 2.
35988 (La_regs, La_retval, int_retval): Likewise.
35989
35990 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
35991
35992 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
35993 (FRAME_MIN_SIZE_PARM): Likewise.
35994 (FRAME_BACKCHAIN): Likewise.
35995 (FRAME_CR_SAVE): Likewise.
35996 (FRAME_LR_SAVE): Likewise.
35997 (FRAME_TOC_SAVE): Likewise.
35998 (FRAME_PARM_SAVE): Likewise.
35999 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
36000 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
36001 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36002 (call_mcount_parm_offset): New macro.
36003 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
36004 (PROF): Use symbolic stack frame offsets.
36005 (TAIL_CALL_SYSCALL_ERROR): Likewise.
36006 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
36007 Redefine in terms of FRAME_MIN_SIZE.
36008 (_dl_runtime_resolve): Use symbolic stack frame offsets.
36009 (_dl_profile_resolve): Likewise. Update comment.
36010 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
36011 symbols stack frame offsets.
36012 (__sigsetjmp): Likewise.
36013 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
36014 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
36015 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
36016 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
36017
36018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
36019 (FRAME_BACKCHAIN): Remove.
36020 (FRAME_CR_SAVE): Likewise.
36021 (FRAME_LR_SAVE): Likewise.
36022 (FRAME_COMPILER_DW): Likewise.
36023 (FRAME_LINKER_DW): Likewise.
36024 (FRAME_TOC_SAVE): Likewise.
36025 (FRAME_PARM_SAVE): Likewise.
36026 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
36027 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
36028 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
36029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
36030 (CHECK_SP): Use symbolic stack frame offsets.
36031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
36032 zone" instead of caller's parameter save area for temp storage.
36033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36034 Likewise. Also, use symbolic stack frame offsets.
36035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
36036 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
36037 our own stack frame instead of the caller's.
36038 (__socket): Use symbolic stack frame offsets.
36039
36040 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36041 Alan Modra <amodra@gmail.com>
36042
36043 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
36044 Define.
36045 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
36046 (PPC64_LOCAL_ENTRY_OFFSET): Define.
36047 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
36048 New function.
36049 (elf_machine_fixup_plt): Call it.
36050 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
36051 reloc arguments.
36052 (elf_machine_rela): Update call to elf_machine_plt_conflict.
36053 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36054 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
36055 r2 before calling target.
36056
36057 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36058 Alan Modra <amodra@gmail.com>
36059
36060 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
36061 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
36062 versions of macros to support ELFv2 ABI.
36063 (LOCALENTRY): New macro.
36064 (ENTRY, EALIGN): Use it.
36065 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
36066 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
36067 fall through into ENTRY entry point.
36068 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
36069 Only define if _CALL_ELF != 2.
36070
36071 (elf_machine_matches_host): Verify ABI version matches.
36072 (RTLD_START): Use LOCALENTRY.
36073 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
36074 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
36075 (PLT_ENTRY_WORDS): New macro.
36076 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
36077 (elf_machine_runtime_setup): Support ELFv2 ABI.
36078 (elf_machine_fixup_plt): Likewise.
36079 (elf_machine_plt_conflict): Likewise.
36080 (resolve_ifunc): Likewise.
36081 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36082 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36083 Likewise.
36084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
36085 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
36086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36087 (makecontext): Support ELFv2 ABI.
36088 * elf/elf.h (EF_PPC64_ABI): Define.
36089
36090 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36091
36092 * sysdeps/powerpc/powerpc64/sysdep.h
36093 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
36094 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
36095 (ENTRY) [ASSEMBLER]: ... but instead here ...
36096 (EALIGN) [ASSEMBLER]: ... and here.
36097 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
36098 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
36099 (ENTRY_2) [!ASSEMBLER]: Use it.
36100 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
36101 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
36102 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
36103 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
36104 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
36105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
36106 Use PPC64_LOAD_FUNCPTR.
36107
36108 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
36109
36110 2013-12-04 Alan Modra <amodra@gmail.com>
36111
36112 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
36113 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
36114 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
36115 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
36116
36117 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
36118 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
36119 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
36120 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
36121 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
36122 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
36123
36124 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
36125
36126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36127 (__makecontext): Fix incorrect CFI when backtracing out of
36128 context created via makecontext.
36129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
36130 (__setcontext): Fix incorrect CFI during switch to new context.
36131 (__novec_setcontext): Likewise.
36132
36133 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
36134
36135 [BZ #4772]
36136 * time/strptime_l.c (__strptime_internal): Allow modifiers
36137 in strptime.
36138 * time/tst-strptime.c (day_tests): Add testcase.
36139
36140 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36141
36142 * scripts/bench.pl: Skip over blank lines.
36143
36144 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
36145
36146 [BZ #926]
36147 * manual/time.texi (Calendar Time): Clarify what timezone functions
36148 use.
36149
36150 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36151
36152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36153
36154 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
36155
36156 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
36157 implementation.
36158 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
36159 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
36160 * debug/memset_chk.c (__memset_chk): Likewise.
36161 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
36162 * debug/strncpy_chk.c: Likewise.
36163
36164 2013-12-03 Joseph Myers <joseph@codesourcery.com>
36165
36166 [BZ #15268]
36167 [BZ #15425]
36168 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
36169 (__ieee754_exp): For possibly underflowing results, check size of
36170 result and force underflow exception if required.
36171 * math/auto-libm-test-in: Add more tests of exp.
36172 * math/auto-libm-test-out: Regenerated.
36173 * sysdeps/i386/fpu/libm-test-ulps: Update.
36174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36175
36176 [BZ #16283]
36177 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
36178 * math/w_exp2f.c (__exp2f): Likewise.
36179 * math/w_exp2l.c (__exp2l): Likewise.
36180 * math/auto-libm-test-in: Do not allow missing errno on exp2
36181 underflow.
36182 * math/auto-libm-test-out: Regenerated.
36183
36184 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
36185
36186 [BZ #16274]
36187 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
36188 handle filename validation.
36189 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
36190 (do_open): Delete.
36191
36192 2013-12-03 Joseph Myers <joseph@codesourcery.com>
36193
36194 [BZ #6786]
36195 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
36196 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
36197 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
36198 <float.h>.
36199 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
36200 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
36201 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36202 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
36203 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36204 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
36205 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
36206 * math/auto-libm-test-in: Don't allow missing errno from erfc.
36207 Add more erfc tests.
36208 * math/auto-libm-test-out: Regenerated.
36209 * sysdeps/i386/fpu/libm-test-ulps: Update.
36210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36211
36212 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
36213 exp2, expm1, j0 and j1.
36214 * math/auto-libm-test-out: Regenerated.
36215 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
36216 (erfc_test_data): Likewise.
36217 (exp_test_data): Likewise.
36218 (exp_tonearest_test_data): Likewise.
36219 (exp_towardzero_test_data): Likewise.
36220 (exp_downward_test_data): Likewise.
36221 (exp_upward_test_data): Likewise.
36222 (exp10_test_data): Likewise.
36223 (exp2_test_data): Likewise.
36224 (expm1_test_data): Likewise.
36225 (j0_test_data): Likewise.
36226 (j1_test_data): Likewise.
36227 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
36228 (input_flag_type): Add flag_xfail_rounding.
36229 (input_flags): Add xfail-rounding.
36230 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
36231 (output_for_one_input_case): Handle flag_xfail_rounding.
36232 * sysdeps/i386/fpu/libm-test-ulps: Update.
36233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36234
36235 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
36236
36237 [BZ #16289]
36238 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
36239 division by 0.
36240
36241 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
36242
36243 [BZ #16195]
36244 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
36245 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
36246 (STAP_PROBE0): New macro.
36247 (STAP_PROBE1): Likewise.
36248 (STAP_PROBE2): Likewise.
36249 (STAP_PROBE3): Likewise.
36250 (STAP_PROBE4): Likewise.
36251
36252 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
36253
36254 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
36255
36256 2013-12-02 Steve Ellcey <sellcey@mips.com>
36257
36258 * benchtests/Makefile (bench): Add sqrt.
36259 (LDLIBS-bench-sqrt): New.
36260 * benchtests/sqrt-input: New.
36261
36262 2013-12-02 Pavel Simerda <psimerda@redhat.com>
36263
36264 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
36265 (GAIH_EAI): Likewise.
36266 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
36267 (gaih_inet): Likewise.
36268 (getaddrinfo): Don't use GAIH_EAI.
36269
36270 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
36271 (struct gaih): Remove definition.
36272
36273 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36274
36275 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
36276 Use HERRNOP directly.
36277
36278 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36279
36280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36281
36282 2013-11-30 Joseph Myers <joseph@codesourcery.com>
36283
36284 * math/gen-auto-libm-tests.c (test_functions): Add more
36285 single-argument functions.
36286 (special_fill_pi_2): New function.
36287 (special_fill_minus_pi_2): Likewise.
36288 (special_fill_pi_6): Likewise.
36289 (special_fill_minus_pi_6): Likewise.
36290 (special_fill_pi_3): Likewise.
36291 (special_fill_2pi_3): Likewise.
36292 (special_fill_e): Likewise.
36293 (special_fill_1_e): Likewise.
36294 (special_fill_e_minus_1): Likewise.
36295 (special_real_inputs): Add more special inputs.
36296 (output_for_one_input_case): Do not require ERANGE on underflow to
36297 zero if round-to-nearest result does not underflow to zero, unless
36298 exact results required.
36299 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
36300 atan, atanh, cbrt, cos and cosh.
36301 * math/auto-libm-test-out: Regenerated.
36302 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
36303 (acos_tonearest_test_data): Likewise.
36304 (acos_towardzero_test_data): Likewise.
36305 (acos_downward_test_data): Likewise.
36306 (acos_upward_test_data): Likewise.
36307 (acosh_test_data): Likewise.
36308 (asin_test_data): Likewise.
36309 (asin_tonearest_test_data): Likewise.
36310 (asin_towardzero_test_data): Likewise.
36311 (asin_upward_test_data): Likewise.
36312 (asinh_test_data): Likewise.
36313 (atan_test_data): Likewise.
36314 (atanh_test_data): Likewise.
36315 (cbrt_test_data): Likewise.
36316 (cos_test_data): Likewise.
36317 (cos_tonearest_test_data): Likewise.
36318 (cos_towardzero_test_data): Likewise.
36319 (cos_downward_test_data): Likewise.
36320 (cos_upward_test_data): Likewise.
36321 (cosh_test_data): Likewise.
36322 (cosh_tonearest_test_data): Likewise.
36323 (cosh_towardzero_test_data): Likewise.
36324 (cosh_downward_test_data): Likewise.
36325 (cosh_upward_test_data): Likewise.
36326 * sysdeps/i386/fpu/libm-test-ulps: Update.
36327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36328
36329 2013-11-29 Joseph Myers <joseph@codesourcery.com>
36330
36331 [BZ #6787]
36332 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
36333 * math/w_exp10f.c (__exp10f): Likewise.
36334 * math/w_exp10l.c (__exp10l): Likewise.
36335 * math/libm-test.inc (exp10_test_data): Add more tests and expect
36336 errno settings in existing tests.
36337
36338 [BZ #14032]
36339 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
36340 precision control set to double precision.
36341 * sysdeps/i386/fpu/w_sqrt.c: New file.
36342 * math/auto-libm-test-in: Add more tests.
36343 * math/auto-libm-test-out: Update.
36344
36345 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
36346 (sqrt_test_tonearest): New function.
36347 (sqrt_towardzero_test_data): New variable.
36348 (sqrt_test_towardzero): New function.
36349 (sqrt_downward_test_data): New variable.
36350 (sqrt_test_downward): New function.
36351 (sqrt_upward_test_data): New variable.
36352 (sqrt_test_upward): New function.
36353 (main): Call the new functions.
36354
36355 * math/gen-auto-libm-tests.c: New file.
36356 * math/auto-libm-test-in: Likewise.
36357 * math/auto-libm-test-out: New generated file.
36358 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
36359 variables.
36360 (%beautify): Add generated representations of zero.
36361 (top level): Set $auto_input and call parse_auto_input.
36362 (beautify): Remove trailing "f" from hex float constants.
36363 (parse_args): Handle XFAIL_TEST.
36364 (convert_condition): New function.
36365 (or_value): Likewise.
36366 (or_cond_value): Likewise.
36367 (generate_testfile): Handle AUTO_TESTS_* lines.
36368 (parse_auto_input): New function.
36369 * math/libm-test.inc (XFAIL_TEST): New macro.
36370 (ERRNO_UNCHANGED): Update value.
36371 (ERRNO_EDOM): Likewise.
36372 (ERRNO_ERANGE): Likewise.
36373 (IGNORE_RESULT): Likewise.
36374 (TEST_COND_flt_32): New macro.
36375 (TEST_COND_dbl_64): Likewise.
36376 (TEST_COND_ldbl_96_intel): Likewise.
36377 (TEST_COND_ldbl_96_m68k): Likewise.
36378 (TEST_COND_ldbl_128): Likewise.
36379 (TEST_COND_ldbl_128ibm): Likewise.
36380 (TEST_COND_long32): Likewise.
36381 (TEST_COND_long64): Likewise.
36382 (TEST_COND_before_rounding): Likewise.
36383 (TEST_COND_after_rounding): Likewise.
36384 (enable_test): Handle XFAIL_TEST flag.
36385 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
36386 with finite results.
36387 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
36388 auto-libm-test-out.
36389
36390 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36391 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36392
36393 [BZ #16214]
36394 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
36395 __tls_get_addr_internal instead of __tls_get_offset in order to
36396 avoid GOT pointer dependency. Make rtld export
36397 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
36398 __tls_get_addr since we are a __tls_get_offset platform.
36399 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
36400 GOT pointer being set up before.
36401 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
36402
36403 2013-11-28 Joseph Myers <joseph@codesourcery.com>
36404
36405 * manual/math.texi (Errors in Math Functions): Document accuracy
36406 goals.
36407
36408 [BZ #15004]
36409 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
36410 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
36411 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36412 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36413 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36414 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36415 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36416 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36417 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36418 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36419 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36420 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36421 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36422 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36423 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36424 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36425
36426 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
36427 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
36428 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
36429 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
36430 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
36431 Likewise.
36432 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
36433 Likewise.
36434 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
36435 Likewise.
36436 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
36437 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
36438 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
36439 atomic-feupdateenv and flt-rounds.
36440 * sysdeps/powerpc/nofpu/Versions (libc): Add
36441 __atomic_feholdexcept, __atomic_feclearexcept,
36442 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
36443 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
36444 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
36445 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
36446 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
36447 here.
36448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36449 Update.
36450
36451 * manual/arith.texi (FP Exceptions): Document that exceptions may
36452 not be raised when matherr is used.
36453 (Math Error Reporting): Document overflow in directed rounding
36454 modes. Document that errno may not be set when finite values are
36455 returned on overflow. Document intent to set errno on underflow
36456 only for underflow to zero.
36457
36458 [BZ #16271]
36459 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
36460 round-to-nearest then adjust result for other rounding modes.
36461 * include/fenv.h (fegetround): Use libm_hidden_proto.
36462 * math/fegetround.c (fegetround): Use libm_hidden_def.
36463 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
36464 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
36465 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36466 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
36467 Likewise.
36468 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
36469 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36470 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
36471 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
36472
36473 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36474
36475 [BZ #16077]
36476 * nss/Versions (libnss_files): Add
36477 _nss_files_gethostbyname3_r.
36478 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
36479 New function.
36480 (HOST_DB_LOOKUP): Remove macro.
36481 (_nss_files_gethostbyname_r): Implement function without the
36482 HOST_DB_LOOKUP macro.
36483 (_nss_files_gethostbyname2_r): Likewise.
36484
36485 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
36486
36487 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
36488
36489 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
36490
36491 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
36492 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
36493 warning.
36494
36495 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36496
36497 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
36498 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
36499 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36500 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36501 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
36502 __fe_nomask_env_priv and attribute_hidden.
36503 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
36504 (libc_feupdateenv_test_ppc): Likewise.
36505 (libc_feresetround_ppc): Likewise.
36506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36507 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
36508 compat_symbol macro.
36509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36510 (__fe_nomask_env): Likewise.
36511 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
36512
36513 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
36514
36515 * string/Makefile: Remove ifunc tests.
36516 * string/test-string.h: Define TEST_IFUNC.
36517 * string/test-bcopy-ifunc.c: Remove.
36518 * string/test-bzero-ifunc.c: Likewise.
36519 * string/test-memccpy-ifunc.c: Likewise.
36520 * string/test-memchr-ifunc.c: Likewise.
36521 * string/test-memcmp-ifunc.c: Likewise.
36522 * string/test-memcpy-ifunc.c: Likewise.
36523 * string/test-memmem-ifunc.c: Likewise.
36524 * string/test-memmove-ifunc.c: Likewise.
36525 * string/test-mempcpy-ifunc.c: Likewise.
36526 * string/test-memrchr-ifunc.c: Likewise.
36527 * string/test-memset-ifunc.c: Likewise.
36528 * string/test-rawmemchr-ifunc.c: Likewise.
36529 * string/test-stpcpy-ifunc.c: Likewise.
36530 * string/test-stpncpy-ifunc.c: Likewise.
36531 * string/test-strcasecmp-ifunc.c: Likewise.
36532 * string/test-strcasestr-ifunc.c: Likewise.
36533 * string/test-strcat-ifunc.c: Likewise.
36534 * string/test-strchr-ifunc.c: Likewise.
36535 * string/test-strchrnul-ifunc.c: Likewise.
36536 * string/test-strcmp-ifunc.c: Likewise.
36537 * string/test-strcpy-ifunc.c: Likewise.
36538 * string/test-strcspn-ifunc.c: Likewise.
36539 * string/test-strlen-ifunc.c: Likewise.
36540 * string/test-strncasecmp-ifunc.c: Likewise.
36541 * string/test-strncat-ifunc.c: Likewise.
36542 * string/test-strncmp-ifunc.c: Likewise.
36543 * string/test-strncpy-ifunc.c: Likewise.
36544 * string/test-strnlen-ifunc.c: Likewise.
36545 * string/test-strpbrk-ifunc.c: Likewise.
36546 * string/test-strrchr-ifunc.c: Likewise.
36547 * string/test-strspn-ifunc.c: Likewise.
36548 * string/test-strstr-ifunc.c: Likewise.
36549
36550 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
36551
36552 * benchtests/Makefile: Remove ifunc tests.
36553 * benchtests/bench-string.h: Define TEST_IFUNC.
36554 * benchtests/bench-bcopy-ifunc.c: Remove.
36555 * benchtests/bench-bzero-ifunc.c: Likewise.
36556 * benchtests/bench-memccpy-ifunc.c: Likewise.
36557 * benchtests/bench-memchr-ifunc.c: Likewise.
36558 * benchtests/bench-memcmp-ifunc.c: Likewise.
36559 * benchtests/bench-memcpy-ifunc.c: Likewise.
36560 * benchtests/bench-memmem-ifunc.c: Likewise.
36561 * benchtests/bench-memmove-ifunc.c: Likewise.
36562 * benchtests/bench-mempcpy-ifunc.c: Likewise.
36563 * benchtests/bench-memrchr-ifunc.c: Likewise.
36564 * benchtests/bench-memset-ifunc.c: Likewise.
36565 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
36566 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
36567 * benchtests/bench-stpcpy-ifunc.c: Likewise.
36568 * benchtests/bench-stpncpy-ifunc.c: Likewise.
36569 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
36570 * benchtests/bench-strcasestr-ifunc.c: Likewise.
36571 * benchtests/bench-strcat-ifunc.c: Likewise.
36572 * benchtests/bench-strchr-ifunc.c: Likewise.
36573 * benchtests/bench-strchrnul-ifunc.c: Likewise.
36574 * benchtests/bench-strcmp-ifunc.c: Likewise.
36575 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
36576 * benchtests/bench-strcpy-ifunc.c: Likewise.
36577 * benchtests/bench-strcspn-ifunc.c: Likewise.
36578 * benchtests/bench-strlen-ifunc.c: Likewise.
36579 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
36580 * benchtests/bench-strncat-ifunc.c: Likewise.
36581 * benchtests/bench-strncmp-ifunc.c: Likewise.
36582 * benchtests/bench-strncpy-ifunc.c: Likewise.
36583 * benchtests/bench-strnlen-ifunc.c: Likewise.
36584 * benchtests/bench-strpbrk-ifunc.c: Likewise.
36585 * benchtests/bench-strrchr-ifunc.c: Likewise.
36586 * benchtests/bench-strsep-ifunc.c: Likewise.
36587 * benchtests/bench-strspn-ifunc.c: Likewise.
36588 * benchtests/bench-strstr-ifunc.c: Likewise.
36589
36590 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
36591
36592 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
36593
36594 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
36595
36596 * resolv/netdb.h: Use __glibc_reserved instead __unused.
36597 * rt/aio.h: Likewise.
36598 * sysdeps/gnu/bits/utmp.h: Likewise.
36599 * sysdeps/gnu/bits/utmpx.h: Likewise.
36600 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36601 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
36602 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
36603 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
36604 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
36605 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
36606 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
36607 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
36608 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
36609 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
36610 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
36611 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
36612 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
36613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
36614 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36615 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
36616 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
36617 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
36618 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
36619 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
36620 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
36621 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
36622 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
36623 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36624 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
36625 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36626 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
36627 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
36628 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
36629 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
36630 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
36631 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
36632 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
36633 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36634 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
36635 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
36636 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
36637 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
36638 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
36639 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
36640 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
36641 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36642
36643 2013-11-25 Carlos O'Donell <carlos@redhat.com>
36644
36645 [BZ #16245]
36646 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
36647 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
36648
36649 2013-11-25 Joseph Myers <joseph@codesourcery.com>
36650
36651 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
36652 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36653 Likewise.
36654
36655 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36656
36657 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
36658 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
36659 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
36660 (__fesetround): Remove define.
36661 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
36662 rounding and exceptions handling.
36663 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
36664 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
36665 (__fe_nomask_env): Likewise.
36666 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
36667 __fegetround instead of fegetround.
36668 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36669 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
36670
36671 2013-11-21 Roland McGrath <roland@hack.frob.com>
36672
36673 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
36674 it's there.
36675
36676 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
36677
36678 2013-11-21 Meador Inge <meadori@codesourcery.com>
36679
36680 [BZ #11157]
36681 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
36682 (encrypt_r): Likewise.
36683 * malloc/obstack.h (obstack_free): Likewise.
36684 * posix/unistd.h (encrypt): Likewise.
36685
36686 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
36687
36688 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
36689 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
36690 DL_CALL_DT_FINI() that call the functions directly.
36691 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
36692 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
36693 * elf/dl-fini.c: Likewise.
36694
36695 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
36696
36697 * malloc/hooks.c (memalign_check): Add alignment rounding.
36698 * malloc/malloc.c (_mid_memalign): New function.
36699 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
36700 Implement by calling _mid_memalign.
36701 * manual/probes.texi (Memory Allocation Probes): Remove
36702 memory_valloc_retry and memory_pvalloc_retry.
36703
36704 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36705
36706 * locale/programs/locarchive.c (open_archive): Add const
36707 qualifier to ARCHIVEFNAME and copy default fname to
36708 DEFAULT_FNAME.
36709
36710 [BZ #15601]
36711 * libio/tst-widetext.input: Rename Oriya to Odia.
36712 * locale/iso-639.def: Likewise.
36713
36714 * manual/probes.texi (Mathematical Function Probes): Add
36715 documentation for sin, cos, asin and acos probes.
36716 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
36717 (__sin32): Add slowasin probe.
36718 (__cos32): Add slowacos probe.
36719 (__mpsin): Add slowsin probe.
36720 (__mpcos): Add slowcos probe.
36721
36722 2013-11-19 Joseph Myers <joseph@codesourcery.com>
36723
36724 [BZ #15483]
36725 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
36726 thread-local __sim_exceptions_thread and global
36727 __sim_exceptions_global.
36728 (__sim_disabled_exceptions): Change to thread-local
36729 __sim_disabled_exceptions_thread and global
36730 __sim_disabled_exceptions_global.
36731 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36732 and global __sim_round_mode_global.
36733 (__simulate_exceptions): Use thread-local floating-point state and
36734 set global state from it as needed.
36735 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
36736 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
36737 __sim_round_mode_thread.
36738 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
36739 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
36740 and global __sim_exceptions_global.
36741 (__sim_disabled_exceptions): Change to thread-local
36742 __sim_disabled_exceptions_thread and global
36743 __sim_disabled_exceptions_global.
36744 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36745 and global __sim_round_mode_global.
36746 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
36747 (SIM_SET_GLOBAL): Likewise.
36748 * sysdeps/powerpc/soft-fp/sfp-machine.h
36749 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
36750 __sim_round_mode_thread.
36751 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
36752 __sim_disabled_exceptions_thread.
36753 (__sim_exceptions): Change to __sim_exceptions_thread.
36754 (__sim_disabled_exceptions): Change to
36755 __sim_disabled_exceptions_thread.
36756 (__sim_round_mode): Change to __sim_round_mode_thread.
36757 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
36758 thread-local floating-point state and set global state from it as
36759 needed.
36760 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
36761 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
36762 (__sim_disabled_exceptions): Remove extern declaration.
36763 (feenableexcept): Use thread-local floating-point state and set
36764 global state from it as needed.
36765 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
36766 extern declaration.
36767 (__sim_disabled_exceptions): Likewise.
36768 (__sim_round_mode): Likewise.
36769 (__fegetenv): Use thread-local floating-point state.
36770 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
36771 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36772 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
36773 floating-point state and set global state from it as needed.
36774 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
36775 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36776 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
36777 Likewise.
36778 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36779 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
36780 Likewise.
36781 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
36782 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
36783 Use __sim_round_mode_thread.
36784 * math/test-fenv-tls.c: New file.
36785 * math/Makefile (tests): Add test-fenv-tls.
36786 ($(objpfx)test-fenv-tls): Depend on
36787 $(common-objpfx)nptl/libpthread.so.
36788
36789 2013-11-19 Andreas Schwab <schwab@suse.de>
36790
36791 * locale/programs/locale.c (show_info): Decode wordarray elements.
36792 * locale/categories.def (LC_MONETARY): Add element for
36793 _NL_MONETARY_CRNCYSTR.
36794 * locale/C-monetary.c (conversion_rate): New variable.
36795 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
36796 element.
36797
36798 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
36799
36800 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
36801 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
36802
36803 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
36804
36805 * elf/Makefile (tst-auxv): New test.
36806 * elf/tst-auxv.c: New
36807 * elf/rtld.c (dl_main): Adjust AT_EXECFN
36808
36809 2013-11-18 Joseph Myers <joseph@codesourcery.com>
36810
36811 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
36812 (hidden_proto): Caller changed.
36813 (hidden_tls_proto): New macro.
36814 (libc_hidden_tls_proto): Likewise.
36815 (rtld_hidden_tls_proto): Likewise.
36816 (libm_hidden_tls_proto): Likewise.
36817 (libresolv_hidden_tls_proto): Likewise.
36818 (librt_hidden_tls_proto): Likewise.
36819 (libdl_hidden_tls_proto): Likewise.
36820 (libnss_files_hidden_tls_proto): Likewise.
36821 (libnsl_hidden_tls_proto): Likewise.
36822 (libnss_nisplus_hidden_tls_proto): Likewise.
36823 (libutil_hidden_tls_proto): Likewise.
36824
36825 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
36826
36827 [BZ #10253]
36828 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
36829 (decompose_rpath): Defer expansion to fillin_rpath.
36830 (_dl_init_paths): Pass linkmap to fillin_rpath.
36831
36832 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36833
36834 * benchtests/Makefile: Add strsep.
36835 * benchtests/bench-strsep.c: New file: strsep benchtest.
36836 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
36837
36838 2013-11-18 Andreas Schwab <schwab@suse.de>
36839
36840 * locale/programs/locale.c (show_info) [case byte]: Check for
36841 '\377' instead of '\177'.
36842 * locale/C-monetary.c (not_available): Always use "\377".
36843 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
36844 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
36845 detect unavailable sign_posn locale elements.
36846 * locale/localeconv.c (__localeconv): For grouping and
36847 mon_grouping handle "\177" and "\377" like no grouping.
36848 (INT_ELEM): New macro. Use it to set all numeric members.
36849 * locale/programs/ld-monetary.c (monetary_read)
36850 <tok_mon_grouping>: Normalize single -1 to the empty string.
36851 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
36852 Likewise.
36853
36854 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
36855
36856 [BZ #16055]
36857 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
36858 when we match (nil).
36859 * stdio-common/tst-sscanf.c (struct test): Add testcase.
36860
36861 2013-11-16 Joseph Myers <joseph@codesourcery.com>
36862
36863 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
36864 (NO_TEST_INLINE): Update value.
36865 (ERRNO_UNCHANGED): Likewise.
36866 (ERRNO_EDOM): Likewise.
36867 (ERRNO_ERANGE): Likewise.
36868 (IGNORE_RESULT): Likewise.
36869 (check_float_internal): Check signs of NaN results if
36870 TEST_NAN_SIGN used.
36871 (check_complex): Pass TEST_NAN_SIGN flag through to second
36872 check_float_internal call.
36873 (copysign_test_data): Add tests with quiet NaNs as second
36874 argument. Use TEST_NAN_SIGN.
36875 (fabs_test_data): Add test of negative quiet NaN argument. Use
36876 TEST_NAN_SIGN.
36877 (signbit_test_data): Add tests of quiet NaN argument.
36878 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
36879
36880 * math/gen-libm-test.pl (show_exceptions): Take extra argument
36881 $ignore_result.
36882 (parse_args): Handle function results specified as IGNORE.
36883 * math/libm-test.inc (IGNORE_RESULT): New macro.
36884 (check_float_internal): Do not check numerical result if flag
36885 IGNORE_RESULT set.
36886 (check_complex): Pass through IGNORE_RESULT to second
36887 check_float_internal call.
36888 (check_int): Do not check numerical result if flag IGNORE_RESULT
36889 set.
36890 (check_long): Likewise.
36891 (check_bool): Likewise.
36892 (check_longlong): Likewise.
36893 (lrint_test_data): Add tests of infinite and NaN arguments.
36894 (lrint_tonearest_test_data): Likewise.
36895 (lrint_towardzero_test_data): Likewise.
36896 (lrint_downward_test_data): Likewise.
36897 (lrint_upward_test_data): Likewise.
36898 (llrint_test_data): Likewise.
36899 (llrint_tonearest_test_data): Likewise.
36900 (llrint_towardzero_test_data): Likewise.
36901 (llrint_downward_test_data): Likewise.
36902 (llrint_upward_test_data): Likewise.
36903 (lround_test_data): Likewise.
36904 (llround_test_data): Likewise.
36905
36906 * math/libm-test.inc (NO_TEST_INLINE): New macro.
36907 (ERRNO_UNCHANGED): Update value.
36908 (ERRNO_EDOM): Likewise.
36909 (ERRNO_ERANGE): Likewise.
36910 (NO_TEST_INLINE_FLOAT): New macro.
36911 (NO_TEST_INLINE_DOUBLE): Likewise.
36912 (enable_test): New function.
36913 (RUN_TEST_f_f): Check enable_test before running test.
36914 (RUN_TEST_2_f): Likewise.
36915 (RUN_TEST_fff_f): Likewise.
36916 (RUN_TEST_c_f): Likewise.
36917 (RUN_TEST_f_f1): Likewise.
36918 (RUN_TEST_fF_f1): Likewise.
36919 (RUN_TEST_fI_f1): Likewise.
36920 (RUN_TEST_ffI_f1): Likewise.
36921 (RUN_TEST_c_c): Likewise.
36922 (RUN_TEST_cc_c): Likewise.
36923 (RUN_TEST_f_i): Likewise.
36924 (RUN_TEST_f_i_tg): Likewise.
36925 (RUN_TEST_ff_i_tg): Likewise.
36926 (RUN_TEST_f_b): Likewise.
36927 (RUN_TEST_f_b_tg): Likewise.
36928 (RUN_TEST_f_l): Likewise.
36929 (RUN_TEST_f_L): Likewise.
36930 (RUN_TEST_fFF_11): Likewise.
36931 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
36932 conditionals.
36933 (cosh_test_data): Likewise.
36934 (exp_test_data): Likewise.
36935 (expm1_test_data): Likewise.
36936 (hypot_test_data): Likewise.
36937 (pow_test_data): Likewise.
36938 (sinh_test_data): Likewise.
36939 (tanh_test_data): Likewise.
36940 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
36941 flags argument.
36942
36943 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
36944 tests with quiet NaN input and output.
36945 (acosh_test_data): Likewise.
36946 (asin_test_data): Likewise.
36947 (asinh_test_data): Likewise.
36948 (atan_test_data): Likewise.
36949 (atanh_test_data): Likewise.
36950 (atan2_test_data): Likewise.
36951 (cbrt_test_data): Likewise.
36952 (cos_test_data): Likewise.
36953 (cosh_test_data): Likewise.
36954 (erf_test_data): Likewise.
36955 (erfc_test_data): Likewise.
36956 (exp_test_data): Likewise.
36957 (exp10_test_data): Likewise.
36958 (exp2_test_data): Likewise.
36959 (expm1_test_data): Likewise.
36960 (hypot_test_data): Likewise.
36961 (j0_test_data): Likewise.
36962 (j1_test_data): Likewise.
36963 (jn_test_data): Likewise.
36964 (lgamma_test_data): Likewise.
36965 (log_test_data): Likewise.
36966 (log10_test_data): Likewise.
36967 (log1p_test_data): Likewise.
36968 (log2_test_data): Likewise.
36969 (pow_test_data): Likewise.
36970 (scalb_test_data): Likewise.
36971 (sin_test_data): Likewise.
36972 (sincos_test_data): Likewise.
36973 (sinh_test_data): Likewise.
36974 (tan_test_data): Likewise.
36975 (tanh_test_data): Likewise.
36976 (tgamma_test_data): Likewise.
36977 (y0_test_data): Likewise.
36978 (y1_test_data): Likewise.
36979 (yn_test_data): Likewise.
36980
36981 [BZ #16167]
36982 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
36983 argument being NaN and avoid computations with second argument in
36984 that case.
36985 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36986 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36987 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36988
36989 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
36990
36991 * locale/iso-639.def: Add Chitwani Tharu (the).
36992
36993 2013-11-14 Andreas Schwab <schwab@suse.de>
36994
36995 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
36996 word instead of empty string.
36997
36998 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36999
37000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37001 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
37002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37003 (__fe_nomask_env): Likewise.
37004
37005 2013-11-13 Steve Ellcey <sellcey@mips.com>
37006
37007 * benchtests/bench-timing.h: Include time.h.
37008
37009 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
37010
37011 [BZ #15997]
37012 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
37013 to 3.4.0 for x32.
37014 * sysdeps/unix/sysv/linux/configure: Regenerated.
37015
37016 2013-11-13 Joseph Myers <joseph@codesourcery.com>
37017
37018 [BZ #16151]
37019 * stdlib/strtod_l.c (round_and_return): Do not consider
37020 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
37021 exponent one less than half the least subnormal exponent.
37022 * stdlib/test-strtod-round-data: Add more tests.
37023 * stdlib/tst-strtod-round.c (tests): Regenerated.
37024
37025 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37026
37027 [BZ #14143]
37028 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
37029 (__fe_mask_env): Likewise.
37030 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
37031 libm_hidden_proto and add function prototype.
37032 (__fe_mask_env): Add function prototype.
37033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37034 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
37035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37036 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
37037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37038 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
37039
37040 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37041
37042 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
37043 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
37044
37045 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37046
37047 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
37048 of htab_find_slot().
37049
37050 2013-11-11 David S. Miller <davem@davemloft.net>
37051
37052 [BZ #16150]
37053 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
37054 symbol in the non-vis3 case in static builds.
37055 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
37056 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
37057 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
37058 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
37059
37060 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
37061
37062 [BZ #387]
37063 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
37064 it is empty.
37065
37066 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37067
37068 * benchtests/Makefile: Add bench-strtod.
37069 * benchtests/bench-strtod.c: New file: strtod benchtest
37070
37071 2013-11-11 Andreas Schwab <schwab@suse.de>
37072
37073 [BZ #16153]
37074 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
37075 terminating NUL in key length.
37076
37077 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37078
37079 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37080 Add artificial ODP entry for vDSO symbol for PPC64.
37081 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
37082 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37083
37084 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
37085
37086 [BZ #15374]
37087 * nss/getent.c (services_keys): Recognize services starting with digit.
37088
37089 2013-11-06 David S. Miller <davem@davemloft.net>
37090
37091 [BZ #15985]
37092 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
37093 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
37094
37095 2013-11-06 Will Newton <will.newton@linaro.org>
37096
37097 * manual/memory.texi (Malloc Examples): Remove register
37098 keyword from examples.
37099
37100 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
37101
37102 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
37103
37104 2013-11-04 Joseph Myers <joseph@codesourcery.com>
37105
37106 [BZ #6981]
37107 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
37108 depending on [__GCC_IEC_559 > 0].
37109 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
37110 depending on [__GCC_IEC_559_COMPLEX > 0].
37111
37112 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
37113
37114 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
37115 to iso-639.def.
37116
37117 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
37118
37119 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
37120
37121 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
37122
37123 [BZ #16112]
37124 * malloc/malloc (malloc_info): Do not handle first bin as
37125 special case.
37126
37127 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
37128
37129 * locale/iso-639.def: Add Central Nahuatl (nhn).
37130
37131 2013-11-01 Bruno Haible <bruno@clisp.org>
37132
37133 [BZ #7003]
37134 * manual/math.texi (BSD Random): Specify range upper bound as
37135 in POSIX.
37136
37137 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
37138
37139 * locale/iso-639.def: Add Meadow Mari (mhr).
37140
37141 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
37142
37143 [BZ #14752], [BZ #15763]
37144 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
37145 Validate name.
37146 * rt/tst_shm.c: Add test for escaping directory.
37147
37148 2013-10-31 Andreas Schwab <schwab@suse.de>
37149
37150 [BZ #15917]
37151 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
37152 followed by 'x' as part of digit sequence.
37153 * stdio-common/tst-sscanf.c (double_tests2): New tests.
37154
37155 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
37156
37157 [BZ #16037]
37158 * configure.ac: allow GNU Make 4.0 and greater.
37159 * configure: Regenerated.
37160
37161 2013-10-30 Will Newton <will.newton@linaro.org>
37162
37163 [BZ #16038]
37164 * malloc/hooks.c (memalign_check): Limit alignment to the
37165 maximum representable power of two.
37166 * malloc/malloc.c (__libc_memalign): Likewise.
37167 * malloc/tst-memalign.c (do_test): Add test for very
37168 large alignment values.
37169 * malloc/tst-posix_memalign.c (do_test): Likewise.
37170
37171 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
37172
37173 [BZ #11087]
37174 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
37175 (munmap_chunk): Likewise.
37176 (mremap_chunk): Likewise.
37177
37178 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
37179
37180 [BZ #15799]
37181 * stdlib/div.c (div): Remove obsolete code.
37182 * stdlib/ldiv.c (ldiv): Likewise.
37183 * stdlib/lldiv.c (lldiv): Likewise.
37184
37185 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37186
37187 [BZ #16071]
37188 * nss/nss_files/files-XXX.c (get_contents_ret): New
37189 enumerator.
37190 (get_contents): New function.
37191 (internal_getent): Use it. Expand size of LINEBUFLEN.
37192
37193 2013-10-30 Mike Frysinger <vapier@gentoo.org>
37194
37195 * configure.in: Moved to ...
37196 * configure.ac: ... here. Change reference to configure.in
37197 to configure.ac.
37198 * sysdeps/arm/preconfigure.ac: ... here.
37199 configure.in to configure.ac.
37200 * sysdeps/gnu/configure.in: Moved to ...
37201 * sysdeps/gnu/configure.ac: ... here.
37202 * sysdeps/i386/configure.in: Moved to ...
37203 * sysdeps/i386/configure.ac: ... here.
37204 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
37205 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
37206 * sysdeps/mach/configure.in: Moved to ...
37207 * sysdeps/mach/configure.ac: ... here.
37208 * sysdeps/mach/hurd/configure.in: Moved to ...
37209 * sysdeps/mach/hurd/configure.ac: ... here.
37210 * sysdeps/powerpc/configure.in: Moved to ...
37211 * sysdeps/powerpc/configure.ac: ... here.
37212 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
37213 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
37214 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
37215 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
37216 * sysdeps/s390/s390-32/configure.in: Moved to ...
37217 * sysdeps/s390/s390-32/configure.ac: ... here.
37218 * sysdeps/s390/s390-64/configure.in: Moved to ...
37219 * sysdeps/s390/s390-64/configure.ac: ... here.
37220 * sysdeps/sh/configure.in: Moved to ...
37221 * sysdeps/sh/configure.ac: ... here.
37222 * sysdeps/sparc/configure.in: Moved to ...
37223 * sysdeps/sparc/configure.ac: ... here.
37224 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
37225 * sysdeps/unix/sysv/linux/configure.ac: ... here.
37226 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
37227 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
37228 * sysdeps/x86_64/configure.in: Moved to ...
37229 * sysdeps/x86_64/configure.ac: ... here.
37230 * sysdeps/x86_64/preconfigure.in: Moved to ...
37231 * sysdeps/x86_64/preconfigure.ac: ... here.
37232 * aclocal.m4: Change reference to configure.in to configure.ac.
37233 * config.h.in: Likewise.
37234 * manual/install.texi: Likewise.
37235 * manual/maint.texi: Likewise.
37236 * Makefile: Likewise.
37237 * malloc/Makefile: Likewise.
37238 * nscd/Makefile: Likewise.
37239 * Makeconfig: Change reference to configure.in and
37240 preconfigure.in to configure.ac and preconfigure.ac
37241 respectively.
37242 * INSTALL: Regenerated.
37243 * configure: Likewise.
37244 * sysdeps/gnu/configure: Likewise.
37245 * sysdeps/i386/configure: Likewise.
37246 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
37247 * sysdeps/mach/configure: Likewise.
37248 * sysdeps/mach/hurd/configure: Likewise.
37249 * sysdeps/powerpc/configure: Likewise.
37250 * sysdeps/powerpc/powerpc32/configure: Likewise.
37251 * sysdeps/powerpc/powerpc64/configure: Likewise.
37252 * sysdeps/s390/s390-32/configure: Likewise.
37253 * sysdeps/s390/s390-64/configure: Likewise.
37254 * sysdeps/sh/configure: Likewise.
37255 * sysdeps/sparc/configure: Likewise.
37256 * sysdeps/unix/sysv/linux/configure: Likewise.
37257 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
37258 * sysdeps/x86_64/configure: Likewise.
37259 * sysdeps/x86_64/preconfigure: Likewise.
37260
37261 2013-10-29 Andreas Schwab <schwab@suse.de>
37262
37263 * stdio-common/Makefile (tst-swscanf-ENV): Define.
37264
37265 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37266
37267 * benchtests/pow-inputs: Add new inputs.
37268
37269 * benchtests/exp-inputs: Add new inputs.
37270
37271 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
37272 conditional check for return value.
37273 (__cos32): Likewise.
37274
37275 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37276
37277 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
37278 to provide a boost for large inputs with word alignment.
37279 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
37280 implementation based on optimized PPC64 strcpy.
37281 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
37282 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
37283 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
37284 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
37285
37286 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
37287
37288 [BZ #2801]
37289 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
37290
37291 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
37292
37293 [BZ #14876]
37294 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
37295 * time/tst-strptime.c (day_tests): Add testcase.
37296
37297 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
37298
37299 [BZ #14029]
37300 * manual/pattern.texi: Acknowledge that fnmatch can fail.
37301
37302 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
37303
37304 [BZ #16074]
37305 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
37306 MAP_FAILED on error.
37307
37308 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37309
37310 [BZ #16072]
37311 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
37312 heap for large requests.
37313
37314 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
37315
37316 [BZ #9954]
37317 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
37318 result if the result has no associated interface.
37319 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
37320 interface for all 127.X.Y.Z addresses.
37321
37322 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
37323
37324 * locale/iso-639.def: Add Ligurian (lij)
37325
37326 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
37327
37328 [BZ #15825]
37329 * sunrpc/rpc_main.c: Document rpcgen -5.
37330
37331 2013-10-19 Michael Stahl <mstahl@redhat.com>
37332
37333 * elf/rtld.c (do_preload): Print the reason why preloading failed.
37334
37335 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
37336
37337 [BZ #10278]
37338 * posix/glob.c: Match only directories when trailing slash is present.
37339 * posix/tst-gnuglob.c (my_opendir): Do not open files.
37340 (main): Add testcase.
37341
37342 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
37343
37344 [BZ #15670]
37345 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
37346
37347 2013-10-18 Carlos O'Donell <carlos@redhat.com>
37348
37349 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
37350 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
37351 AUTH_DES and cindex for FIPS 140-2.
37352 (DES Encryption): Add cindex FIPS 46-3.
37353
37354 * locale/locarchive.h (struct locarhandle): Add fname.
37355 * locale/programs/localedef.c (main): Pass ARGV[remaining]
37356 if an optional argument was specified to --list-archive,
37357 otherwise NULL.
37358 * locale/programs/locarchive.c (show_archive_content): Take new
37359 argument fname and pass it via ah.fname to open_archive.
37360 * locale/programs/localedef.h: Update decl.
37361 (open_archive): If AH->fname is non-null, open that file
37362 rather than the default file name, and don't ignore ENOENT.
37363 (create_archive): Set AH.fname to NULL.
37364 (delete_locales_from_archive): Likewise.
37365 (add_locales_to_archive): Likewise.
37366 * locale/programs/locfile.c (write_all_categories): Likewise.
37367
37368 2013-10-18 Joseph Myers <joseph@codesourcery.com>
37369 Aldy Hernandez <aldyh@redhat.com>
37370
37371 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
37372 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
37373 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
37374 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
37375 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
37376 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
37377 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
37378 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
37379 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
37380 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
37381 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
37382 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
37383 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
37384 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
37385 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
37386 Likewise.
37387 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
37388 Likewise.
37389 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
37390 Likewise.
37391 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
37392 Likewise.
37393 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
37394 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
37395 Likewise.
37396 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
37397 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
37398 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
37399 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
37400 Likewise.
37401 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
37402 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
37403 * sysdeps/powerpc/preconfigure: Likewise.
37404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
37405 Likewise.
37406 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
37407 Replace contents of file by #include of <fenv_libc.h>.
37408 * sysdeps/powerpc/soft-fp/sfp-machine.h
37409 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
37410 and <sys/prctl.h>.
37411 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
37412 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
37413 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
37414 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
37415 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
37416 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
37417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
37418 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
37419 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
37420 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
37421 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
37422 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
37423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37424 Allow copysignl PLT reference to be missing.
37425
37426 2013-10-18 Richard Sandiford <richard@codesourcery.com>
37427 Joseph Myers <joseph@codesourcery.com
37428
37429 [BZ #15948]
37430 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
37431 single character.
37432 (add_to_tablewc): Assert sequence of wide characters is nonempty.
37433
37434 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37435
37436 * elf/tst-tls-dlinfo.c: Don't include tls.h.
37437 * elf/tst-tls1.c: Likewise.
37438 * elf/tst-tls10.h: Likewise.
37439 * elf/tst-tls14.c: Likewise.
37440 * elf/tst-tls2.c: Likewise.
37441 * elf/tst-tls3.c: Likewise.
37442 * elf/tst-tls4.c: Likewise.
37443 * elf/tst-tls5.c: Likewise.
37444 * elf/tst-tls6.c: Likewise.
37445 * elf/tst-tls7.c: Likewise.
37446 * elf/tst-tls8.c: Likewise.
37447 * elf/tst-tls9.c: Likewise.
37448 * elf/tst-tlsmod1.c: Likewise.
37449 * elf/tst-tlsmod13.c: Likewise.
37450 * elf/tst-tlsmod13a.c: Likewise.
37451 * elf/tst-tlsmod14a.c: Likewise.
37452 * elf/tst-tlsmod16a.c: Likewise.
37453 * elf/tst-tlsmod16b.c: Likewise.
37454 * elf/tst-tlsmod2.c: Likewise.
37455 * elf/tst-tlsmod3.c: Likewise.
37456 * elf/tst-tlsmod4.c: Likewise.
37457 * elf/tst-tlsmod5.c: Likewise.
37458 * elf/tst-tlsmod6.c: Likewise.
37459
37460 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
37461
37462 [BZ #12486]
37463 * malloc/malloc.c: remove checks for statistics.
37464
37465 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
37466
37467 [BZ #15277]
37468 * inet/inet_net.c (inet_network): Detect additional invalid strings.
37469 * inet/tst-network.c: Add testcase.
37470
37471 2013-10-17 Andreas Schwab <schwab@suse.de>
37472
37473 [BZ #15218]
37474 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
37475 to determine canonical name.
37476
37477 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
37478
37479 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
37480 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
37481 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37482 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37483 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37484 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37485 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37486 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37487 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37488 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37489 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37490 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37491 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37492 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37493 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37494 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37496 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37497 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37498 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37499 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37500 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37501 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37502 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
37503 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
37504 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37505 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37506 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
37507 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37508 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
37509 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37510 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37511 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37512 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37513 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37514 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37515 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37516 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37517 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37518 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37519 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37520 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37521 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37522 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37523 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37524 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37525 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37526 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37527 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37528 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37529 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37530 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37531 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37532 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37533 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37534 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37535 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37536 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37537
37538 2013-10-17 Joseph Myers <joseph@codesourcery.com>
37539
37540 [BZ #16041]
37541 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
37542 make result into a quiet NaN.
37543
37544 2013-10-16 Joseph Myers <joseph@codesourcery.com>
37545
37546 * soft-fp/adddf3.c: Fix horizontal whitespace.
37547 * soft-fp/addsf3.c: Likewise.
37548 * soft-fp/addtf3.c: Likewise.
37549 * soft-fp/divdf3.c: Likewise.
37550 * soft-fp/divsf3.c: Likewise.
37551 * soft-fp/divtf3.c: Likewise.
37552 * soft-fp/double.h: Likewise.
37553 * soft-fp/eqdf2.c: Likewise.
37554 * soft-fp/eqsf2.c: Likewise.
37555 * soft-fp/eqtf2.c: Likewise.
37556 * soft-fp/extenddftf2.c: Likewise.
37557 * soft-fp/extended.h: Likewise.
37558 * soft-fp/extendsfdf2.c: Likewise.
37559 * soft-fp/extendsftf2.c: Likewise.
37560 * soft-fp/extendxftf2.c: Likewise.
37561 * soft-fp/fixdfdi.c: Likewise.
37562 * soft-fp/fixdfsi.c: Likewise.
37563 * soft-fp/fixdfti.c: Likewise.
37564 * soft-fp/fixsfdi.c: Likewise.
37565 * soft-fp/fixsfsi.c: Likewise.
37566 * soft-fp/fixsfti.c: Likewise.
37567 * soft-fp/fixtfdi.c: Likewise.
37568 * soft-fp/fixtfsi.c: Likewise.
37569 * soft-fp/fixtfti.c: Likewise.
37570 * soft-fp/fixunsdfdi.c: Likewise.
37571 * soft-fp/fixunsdfsi.c: Likewise.
37572 * soft-fp/fixunsdfti.c: Likewise.
37573 * soft-fp/fixunssfdi.c: Likewise.
37574 * soft-fp/fixunssfsi.c: Likewise.
37575 * soft-fp/fixunssfti.c: Likewise.
37576 * soft-fp/fixunstfdi.c: Likewise.
37577 * soft-fp/fixunstfsi.c: Likewise.
37578 * soft-fp/fixunstfti.c: Likewise.
37579 * soft-fp/floatdidf.c: Likewise.
37580 * soft-fp/floatdisf.c: Likewise.
37581 * soft-fp/floatditf.c: Likewise.
37582 * soft-fp/floatsidf.c: Likewise.
37583 * soft-fp/floatsisf.c: Likewise.
37584 * soft-fp/floatsitf.c: Likewise.
37585 * soft-fp/floattidf.c: Likewise.
37586 * soft-fp/floattisf.c: Likewise.
37587 * soft-fp/floattitf.c: Likewise.
37588 * soft-fp/floatundidf.c: Likewise.
37589 * soft-fp/floatundisf.c: Likewise.
37590 * soft-fp/floatunditf.c: Likewise.
37591 * soft-fp/floatunsidf.c: Likewise.
37592 * soft-fp/floatunsisf.c: Likewise.
37593 * soft-fp/floatunsitf.c: Likewise.
37594 * soft-fp/floatuntidf.c: Likewise.
37595 * soft-fp/floatuntisf.c: Likewise.
37596 * soft-fp/floatuntitf.c: Likewise.
37597 * soft-fp/fmadf4.c: Likewise.
37598 * soft-fp/fmasf4.c: Likewise.
37599 * soft-fp/fmatf4.c: Likewise.
37600 * soft-fp/gedf2.c: Likewise.
37601 * soft-fp/gesf2.c: Likewise.
37602 * soft-fp/getf2.c: Likewise.
37603 * soft-fp/ledf2.c: Likewise.
37604 * soft-fp/lesf2.c: Likewise.
37605 * soft-fp/letf2.c: Likewise.
37606 * soft-fp/muldf3.c: Likewise.
37607 * soft-fp/mulsf3.c: Likewise.
37608 * soft-fp/multf3.c: Likewise.
37609 * soft-fp/negdf2.c: Likewise.
37610 * soft-fp/negsf2.c: Likewise.
37611 * soft-fp/negtf2.c: Likewise.
37612 * soft-fp/op-1.h: Likewise.
37613 * soft-fp/op-2.h: Likewise.
37614 * soft-fp/op-4.h: Likewise.
37615 * soft-fp/op-8.h: Likewise.
37616 * soft-fp/op-common.h: Likewise.
37617 * soft-fp/quad.h: Likewise.
37618 * soft-fp/single.h: Likewise.
37619 * soft-fp/soft-fp.h: Likewise.
37620 * soft-fp/sqrtdf2.c: Likewise.
37621 * soft-fp/sqrtsf2.c: Likewise.
37622 * soft-fp/sqrttf2.c: Likewise.
37623 * soft-fp/subdf3.c: Likewise.
37624 * soft-fp/subsf3.c: Likewise.
37625 * soft-fp/subtf3.c: Likewise.
37626 * soft-fp/truncdfsf2.c: Likewise.
37627 * soft-fp/trunctfdf2.c: Likewise.
37628 * soft-fp/trunctfsf2.c: Likewise.
37629 * soft-fp/trunctfxf2.c: Likewise.
37630 * soft-fp/unorddf2.c: Likewise.
37631 * soft-fp/unordsf2.c: Likewise.
37632 * soft-fp/unordtf2.c: Likewise.
37633
37634 2013-10-15 Joseph Myers <joseph@codesourcery.com>
37635
37636 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
37637 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
37638
37639 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
37640
37641 * elf/dl-libc.c: Clear initfini list after freeing.
37642
37643 2013-10-14 Joseph Myers <joseph@codesourcery.com>
37644
37645 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
37646 * soft-fp/addsf3.c: Likewise.
37647 * soft-fp/addtf3.c: Likewise.
37648 * soft-fp/divdf3.c: Likewise.
37649 * soft-fp/divsf3.c: Likewise.
37650 * soft-fp/divtf3.c: Likewise.
37651 * soft-fp/double.h: Likewise.
37652 * soft-fp/eqdf2.c: Likewise.
37653 * soft-fp/eqsf2.c: Likewise.
37654 * soft-fp/eqtf2.c: Likewise.
37655 * soft-fp/extenddftf2.c: Likewise.
37656 * soft-fp/extended.h: Likewise.
37657 * soft-fp/extendsfdf2.c: Likewise.
37658 * soft-fp/extendsftf2.c: Likewise.
37659 * soft-fp/extendxftf2.c: Likewise.
37660 * soft-fp/fixdfdi.c: Likewise.
37661 * soft-fp/fixdfsi.c: Likewise.
37662 * soft-fp/fixdfti.c: Likewise.
37663 * soft-fp/fixsfdi.c: Likewise.
37664 * soft-fp/fixsfsi.c: Likewise.
37665 * soft-fp/fixsfti.c: Likewise.
37666 * soft-fp/fixtfdi.c: Likewise.
37667 * soft-fp/fixtfsi.c: Likewise.
37668 * soft-fp/fixtfti.c: Likewise.
37669 * soft-fp/fixunsdfdi.c: Likewise.
37670 * soft-fp/fixunsdfsi.c: Likewise.
37671 * soft-fp/fixunsdfti.c: Likewise.
37672 * soft-fp/fixunssfdi.c: Likewise.
37673 * soft-fp/fixunssfsi.c: Likewise.
37674 * soft-fp/fixunssfti.c: Likewise.
37675 * soft-fp/fixunstfdi.c: Likewise.
37676 * soft-fp/fixunstfsi.c: Likewise.
37677 * soft-fp/fixunstfti.c: Likewise.
37678 * soft-fp/floatdidf.c: Likewise.
37679 * soft-fp/floatdisf.c: Likewise.
37680 * soft-fp/floatditf.c: Likewise.
37681 * soft-fp/floatsidf.c: Likewise.
37682 * soft-fp/floatsisf.c: Likewise.
37683 * soft-fp/floatsitf.c: Likewise.
37684 * soft-fp/floattidf.c: Likewise.
37685 * soft-fp/floattisf.c: Likewise.
37686 * soft-fp/floattitf.c: Likewise.
37687 * soft-fp/floatundidf.c: Likewise.
37688 * soft-fp/floatundisf.c: Likewise.
37689 * soft-fp/floatunsidf.c: Likewise.
37690 * soft-fp/floatunsisf.c: Likewise.
37691 * soft-fp/floatuntidf.c: Likewise.
37692 * soft-fp/floatuntisf.c: Likewise.
37693 * soft-fp/floatuntitf.c: Likewise.
37694 * soft-fp/fmadf4.c: Likewise.
37695 * soft-fp/fmasf4.c: Likewise.
37696 * soft-fp/fmatf4.c: Likewise.
37697 * soft-fp/gedf2.c: Likewise.
37698 * soft-fp/gesf2.c: Likewise.
37699 * soft-fp/getf2.c: Likewise.
37700 * soft-fp/ledf2.c: Likewise.
37701 * soft-fp/lesf2.c: Likewise.
37702 * soft-fp/letf2.c: Likewise.
37703 * soft-fp/muldf3.c: Likewise.
37704 * soft-fp/mulsf3.c: Likewise.
37705 * soft-fp/multf3.c: Likewise.
37706 * soft-fp/negdf2.c: Likewise.
37707 * soft-fp/negsf2.c: Likewise.
37708 * soft-fp/negtf2.c: Likewise.
37709 * soft-fp/op-1.h: Likewise.
37710 * soft-fp/op-2.h: Likewise.
37711 * soft-fp/op-4.h: Likewise.
37712 * soft-fp/op-8.h: Likewise.
37713 * soft-fp/op-common.h: Likewise.
37714 * soft-fp/quad.h: Likewise.
37715 * soft-fp/single.h: Likewise.
37716 * soft-fp/soft-fp.h: Likewise.
37717 * soft-fp/sqrtdf2.c: Likewise.
37718 * soft-fp/sqrtsf2.c: Likewise.
37719 * soft-fp/sqrttf2.c: Likewise.
37720 * soft-fp/subdf3.c: Likewise.
37721 * soft-fp/subsf3.c: Likewise.
37722 * soft-fp/subtf3.c: Likewise.
37723 * soft-fp/truncdfsf2.c: Likewise.
37724 * soft-fp/trunctfdf2.c: Likewise.
37725 * soft-fp/trunctfsf2.c: Likewise.
37726 * soft-fp/trunctfxf2.c: Likewise.
37727 * soft-fp/unorddf2.c: Likewise.
37728 * soft-fp/unordsf2.c: Likewise.
37729 * soft-fp/unordtf2.c: Likewise.
37730
37731 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
37732
37733 [BZ #15672]
37734 * misc/error.c (error_tail): Fix possible buffer overflow.
37735
37736 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
37737
37738 [BZ #13028]
37739 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
37740 address.
37741
37742 2013-10-14 P. J. McDermott <pj@pehjota.net>
37743
37744 [BZ #832]
37745 * elf/ldd.bash.in (try_trace): New function. Delete previous code
37746 testing pipefail option.
37747
37748 2013-10-12 Joseph Myers <joseph@codesourcery.com>
37749
37750 * soft-fp/double.h: Indent preprocessor directives inside #if.
37751 * soft-fp/extended.h: Likewise.
37752 * soft-fp/op-2.h: Likewise.
37753 * soft-fp/op-4.h: Likewise.
37754 * soft-fp/op-common.h: Likewise.
37755 * soft-fp/quad.h: Likewise.
37756 * soft-fp/single.h: Likewise.
37757 * soft-fp/soft-fp.h: Likewise.
37758
37759 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
37760
37761 * iconv/iconv_prog.c: Fix typos.
37762 * stdio-common/psiginfo-data.h: Likewise.
37763
37764 2013-10-12 Reuben Thomas <rrt@sc3d.org>
37765
37766 [BZ #15764]
37767 * locale/setlocale.c: Fix typo.
37768
37769 2013-10-12 Joseph Myers <joseph@codesourcery.com>
37770
37771 [BZ #16036]
37772 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
37773 signaling NaN arguments.
37774 * soft-fp/unordsf2.c (__unordsf2): Likewise.
37775 * soft-fp/unordtf2.c (__unordtf2): Likewise.
37776
37777 [BZ #14910]
37778 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
37779 unordered operands.
37780 * soft-fp/gesf2.c (__gesf2): Likewise.
37781 * soft-fp/getf2.c (__getf2): Likewise.
37782 * soft-fp/ledf2.c (__ledf2): Likewise.
37783 * soft-fp/lesf2.c (__lesf2): Likewise.
37784 * soft-fp/letf2.c (__letf2): Likewise.
37785
37786 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
37787 * soft-fp/eqsf2.c (__eqsf2): Likewise.
37788 * soft-fp/eqtf2.c (__eqtf2): Likewise.
37789 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
37790 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
37791 * soft-fp/fixdfti.c (__fixdfti): Likewise.
37792 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
37793 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
37794 * soft-fp/fixsfti.c (__fixsfti): Likewise.
37795 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
37796 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
37797 * soft-fp/fixtfti.c (__fixtfti): Likewise.
37798 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
37799 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
37800 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
37801 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
37802 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
37803 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
37804 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
37805 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
37806 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
37807 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
37808 * soft-fp/floatdisf.c (__floatdisf): Likewise.
37809 * soft-fp/floatsisf.c (__floatsisf): Likewise.
37810 * soft-fp/floattidf.c (__floattidf): Likewise.
37811 * soft-fp/floattisf.c (__floattisf): Likewise.
37812 * soft-fp/floattitf.c (__floattitf): Likewise.
37813 * soft-fp/floatundidf.c (__floatundidf): Likewise.
37814 * soft-fp/floatundisf.c (__floatundisf): Likewise.
37815 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
37816 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
37817 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
37818 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
37819 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
37820 * soft-fp/gesf2.c (__gesf2): Likewise.
37821 * soft-fp/getf2.c (__getf2): Likewise.
37822 * soft-fp/ledf2.c (__ledf2): Likewise.
37823 * soft-fp/lesf2.c (__lesf2): Likewise.
37824 * soft-fp/letf2.c (__letf2): Likewise.
37825
37826 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
37827 Undefine and redefine.
37828 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
37829 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
37830 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
37831 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
37832 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37833 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
37834 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37835 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
37836 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37837 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
37838 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37839 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
37840 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37841 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
37842 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37843
37844 [BZ #16032]
37845 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
37846 without decrementing exponent if mantissa >= that for the
37847 denominator, not >.
37848 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
37849 denominator, not >. Decrement exponent in < case instead of
37850 incrementing in >= case.
37851 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
37852 without decrementing exponent if mantissa >= that for the
37853 denominator, not >.
37854
37855 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
37856 computing saturated result for unsigned overflow.
37857
37858 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37859 Jeff Law <law@redhat.com>
37860
37861 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
37862 (atan2Mp): Add systemtap probe marker.
37863 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
37864 (__ieee754_log): Add systemtap probe marker.
37865 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
37866 (atanMp): Add systemtap probe marker.
37867 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
37868 (tanMp): Add systemtap probe marker.
37869 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
37870 (__slowexp): Add systemtap probe marker.
37871 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
37872 (__slowpow): Add systemtap probe marker.
37873 * manual/probes.texi: Document probes.
37874
37875 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
37876
37877 [BZ #15362]
37878 * libio/fileops.c (_IO_new_file_write): Return count of bytes
37879 written.
37880 (_IO_new_file_xsputn): Don't return EOF if nothing has been
37881 written.
37882 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
37883 written to buffer but not flushed.
37884 * libio/iofwrite_u.c: Likewise.
37885 * libio/iopadn.c: Return bytes returned even if EOF was
37886 encountered.
37887 * libio/iowpadn.c: Likewise.
37888 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
37889 if _IO_padn does not write the whole buffer.
37890 [!COMPILE_WPRINTF] (PAD): Likewise.
37891
37892 2013-10-10 David S. Miller <davem@davemloft.net>
37893
37894 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
37895 directory block.
37896
37897 2013-10-10 Joseph Myers <joseph@codesourcery.com>
37898
37899 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
37900 instead of FSF address.
37901 * soft-fp/fixdfti.c: Likewise.
37902 * soft-fp/fixsfti.c: Likewise.
37903 * soft-fp/fixtfti.c: Likewise.
37904 * soft-fp/fixunsdfti.c: Likewise.
37905 * soft-fp/fixunssfti.c: Likewise.
37906 * soft-fp/fixunstfti.c: Likewise.
37907 * soft-fp/floattidf.c: Likewise.
37908 * soft-fp/floattisf.c: Likewise.
37909 * soft-fp/floattitf.c: Likewise.
37910 * soft-fp/floatuntidf.c: Likewise.
37911 * soft-fp/floatuntisf.c: Likewise.
37912 * soft-fp/floatuntitf.c: Likewise.
37913 * soft-fp/trunctfxf2.c: Likewise.
37914
37915 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
37916 * soft-fp/fixdfti.c: Likewise.
37917 * soft-fp/fixsfti.c: Likewise.
37918 * soft-fp/fixtfti.c: Likewise.
37919 * soft-fp/fixunsdfti.c: Likewise.
37920 * soft-fp/fixunssfti.c: Likewise.
37921 * soft-fp/fixunstfti.c: Likewise.
37922 * soft-fp/floattidf.c: Likewise.
37923 * soft-fp/floattisf.c: Likewise.
37924 * soft-fp/floattitf.c: Likewise.
37925 * soft-fp/floatuntidf.c: Likewise.
37926 * soft-fp/floatuntisf.c: Likewise.
37927 * soft-fp/floatuntitf.c: Likewise.
37928 * soft-fp/trunctfxf2.c: Likewise.
37929
37930 2013-10-10 David S. Miller <davem@davemloft.net>
37931
37932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37933
37934 2013-10-10 Joseph Myers <joseph@codsourcery.com>
37935
37936 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37937 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
37938 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
37939 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
37940 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
37941 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
37942 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
37943
37944 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
37945 for NaNs before doing comparisons on argument.
37946 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37947 Likewise.
37948
37949 2013-10-10 Will Newton <will.newton@linaro.org>
37950
37951 * malloc/hooks.c (memalign_check): Ensure the value of bytes
37952 passed to _int_memalign does not overflow.
37953
37954 2013-10-10 Torvald Riegel <triegel@redhat.com>
37955
37956 * scripts/bench.pl: Add include-sources directive.
37957 * benchtests/README: Update documentation.
37958
37959 2013-10-10 Joseph Myers <joseph@codesourcery.com>
37960
37961 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
37962 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
37963 instead of FP_INIT_ROUNDMODE.
37964 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
37965 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
37966
37967 [BZ #16034]
37968 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
37969 copy class of input value.
37970 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
37971 not handle exceptions.
37972 * soft-fp/negsf2.c (__negsf2): Likewise.
37973 * soft-fp/negtf2.c (__negtf2): Likewise.
37974 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
37975
37976 2013-10-09 Joseph Myers <joseph@codesourcery.com>
37977
37978 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
37979 semicolon. From Linux kernel.
37980
37981 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
37982
37983 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
37984
37985 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
37986
37987 [BZ #156]
37988 * manual/socket.texi: Added statement about buffer
37989 for gethostbyname2_r.
37990
37991 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
37992
37993 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
37994 Use .p2align directive instead, throughout.
37995 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37996 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37997 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
37998 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37999 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38000 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
38001 * sysdeps/x86_64/strchr.S: Likewise.
38002 * sysdeps/x86_64/strrchr.S: Likewise.
38003
38004 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38005
38006 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
38007
38008 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
38009
38010 * sysdeps/generic/math_private.h (__mpsin1): Remove
38011 declaration.
38012 (__mpcos1): Likewise.
38013 (__mpsin): New argument __range_reduce.
38014 (__mpcos): Likewise.
38015 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38016 (slow): Use __mpsin and __mpcos.
38017 (slow1): Likewise.
38018 (slow2): Likewise.
38019 (sloww): Likewise.
38020 (sloww1): Likewise.
38021 (sloww2): Likewise.
38022 (bsloww): Likewise.
38023 (bsloww1): Likewise.
38024 (bsloww2): Likewise.
38025 (cslow2): Likewise.
38026 (csloww): Likewise.
38027 (csloww1): Likewise.
38028 (csloww2): Likewise.
38029 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
38030 range_reduce. Merge in __mpsin1.
38031 (__mpcos): Likewise.
38032 (__mpsin1): Remove.
38033 (__mpcos1): Likewise.
38034
38035 2013-10-07 Joseph Myers <joseph@codesourcery.com>
38036
38037 * locale/loadlocale.c (_nl_intern_locale_data): Use
38038 LOCFILE_ALIGNED_P.
38039 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
38040 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
38041 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
38042 obstack data is appropriately aligned.
38043 (obstack_int32_grow_fast): Likewise.
38044 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
38045 * locale/programs/locfile.c (add_locale_uint32): Likewise.
38046 (add_locale_uint32_array): Likewise.
38047
38048 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38049
38050 * benchtests/Makefile: Remove ARGLIST and RET variables.
38051 ($(objpfx)bench-%.c): Pass only function name to the script.
38052 * benchtests/README: Update documentation.
38053 * benchtests/acos-inputs: Add new directives.
38054 * benchtests/acosh-inputs: Likewise.
38055 * benchtests/asin-inputs: Likewise.
38056 * benchtests/asinh-inputs: Likewise.
38057 * benchtests/atan-inputs: Likewise.
38058 * benchtests/atanh-inputs: Likewise.
38059 * benchtests/cos-inputs: Likewise.
38060 * benchtests/cosh-inputs: Likewise.
38061 * benchtests/exp-inputs: Likewise.
38062 * benchtests/log-inputs: Likewise.
38063 * benchtests/pow-inputs: Likewise.
38064 * benchtests/rint-inputs: Likewise.
38065 * benchtests/sin-inputs: Likewise.
38066 * benchtests/sinh-inputs: Likewise.
38067 * benchtests/tan-inputs: Likewise.
38068 * benchtests/tanh-inputs: Likewise.
38069 * scripts/bench.pl: Add support for new directives.
38070
38071 2013-10-07 Alan Modra <amodra@gmail.com>
38072
38073 * README: Fix careless merge.
38074
38075 2013-10-05 Alan Modra <amodra@gmail.com>
38076
38077 * NEWS: Mention powerpc64le support and bugs fixed.
38078 * README: Both big-endian and little-endian powerpc64 supported.
38079
38080 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
38081
38082 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
38083 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
38084 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
38085 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
38086
38087 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
38088
38089 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
38090 match prototype.
38091
38092 2013-10-04 Joseph Myers <joseph@codesourcery.com>
38093
38094 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
38095 Move -mhard-float appending from
38096 ports/sysdeps/powerpc/powerpc32/Makefile.
38097 [$(with-fp) = yes] (ASFLAGS): Likewise.
38098 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
38099 * sysdeps/powerpc/nofpu: Move directory from
38100 ports/sysdeps/powerpc/nofpu.
38101 * sysdeps/powerpc/soft-fp: Move directory from
38102 ports/sysdeps/powerpc/soft-fp.
38103 * sysdeps/powerpc/powerpc32/405: Move directory from
38104 ports/sysdeps/powerpc/powerpc32/405.
38105 * sysdeps/powerpc/powerpc32/440: Move directory from
38106 ports/sysdeps/powerpc/powerpc32/440.
38107 * sysdeps/powerpc/powerpc32/464: Move directory from
38108 ports/sysdeps/powerpc/powerpc32/464.
38109 * sysdeps/powerpc/powerpc32/476: Move directory from
38110 ports/sysdeps/powerpc/powerpc32/476.
38111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
38112 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
38113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
38114 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
38115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
38116 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
38117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
38118 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
38119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
38120 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
38121 * README: Update for powerpc-*-linux-gnu software floating point
38122 support in libc.
38123
38124 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
38125 case to powerpc/powerpc32*.
38126 * sysdeps/unix/sysv/linux/configure: Regenerated.
38127
38128 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
38129 (_FPU_MASK_OM): Define as 0x04.
38130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
38131 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
38132 0x00c10080.
38133 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
38134 0x0000003c.
38135 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
38136
38137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
38138 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38139 getcontext_e500.
38140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
38141 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
38142 setcontext_e500.
38143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
38144 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
38145 and setcontext_e500.
38146
38147 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
38148
38149 * locale/iso-3166.def: Update iso-1366.def and related occurrences
38150
38151 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38152
38153 * manual/threads.texi (Default Thread Attributes): Fix typo.
38154
38155 2013-10-04 Will Newton <will.newton@linaro.org>
38156
38157 * malloc/Makefile: Add tst-memalign.
38158 * malloc/tst-memalign.c: New file.
38159
38160 * malloc/tst-posix_memalign.c: Add comments.
38161 (do_test): Add comments and call free on all potentially
38162 allocated pointers. Add space after cast.
38163
38164 * malloc/tst-pvalloc.c: Add comments.
38165 (do_test): Add comments and call free on all potentially
38166 allocated pointers. Remove duplicate check for NULL pointer.
38167 Add space after cast.
38168
38169 * malloc/tst-valloc.c: Add comments.
38170 (do_test): Add comments and call free on all potentially
38171 allocated pointers. Remove duplicate check for NULL pointer.
38172 Add space after cast.
38173
38174 2013-10-04 Alan Modra <amodra@gmail.com>
38175
38176 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38177 Use stdint types in rather than __attribute__((mode())).
38178 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38179
38180 2013-10-04 Alan Modra <amodra@gmail.com>
38181
38182 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
38183 Correct handling of unaligned relocs for little-endian.
38184 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38185
38186 2013-10-04 Alan Modra <amodra@gmail.com>
38187
38188 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
38189 * configure: Regenerate.
38190 * nptl/shlib-versions: Powerpc*le starts at 2.18.
38191 * shlib-versions: Likewise.
38192
38193 2013-10-04 Alan Modra <amodra@gmail.com>
38194
38195 * string/tester.c (test_memrchr): Increment reported test cycle.
38196
38197 2013-10-04 Alan Modra <amodra@gmail.com>
38198
38199 * string/test-memcpy.c (do_one_test): When reporting errors, print
38200 string address and don't overrun end of string.
38201
38202 2013-10-04 Alan Modra <amodra@gmail.com>
38203
38204 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
38205 insrdi. Make better use of reg selection to speed exit slightly.
38206 Schedule entry path a little better. Remove useless "are we done"
38207 checks on entry to main loop. Handle wrapping around zero address.
38208 Correct main loop count. Handle single left-over word from main
38209 loop inline rather than by using loop_small. Remove extra word
38210 case in loop_small caused by wrong loop count. Add little-endian
38211 support.
38212 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38213 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
38214 cache hint.
38215 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38216 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
38217 support. Avoid rlwimi.
38218 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
38219
38220 2013-10-04 Alan Modra <amodra@gmail.com>
38221
38222 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
38223 insrdi. Formatting.
38224 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
38225 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38226 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38227 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
38228 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38229 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
38230
38231 2013-10-04 Alan Modra <amodra@gmail.com>
38232
38233 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
38234 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38235 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
38236 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
38237 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38238 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38239 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38240 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38241 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
38242 use of regs. Use power7 mtocrf. Tidy function tails.
38243
38244 2013-10-04 Alan Modra <amodra@gmail.com>
38245
38246 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
38247 Formatting. Consistently use rXXX register defines or rN defines.
38248 Use early exit labels that avoid restoring unused non-volatile regs.
38249 Make cr field use more consistent with rWORDn compares. Rename
38250 regs used as shift registers for unaligned loop, using rN defines
38251 for short lifetime/multiple use regs.
38252 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38253 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
38254 addi 1,1,64 to pop stack frame. Simplify return value code.
38255 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38256
38257 2013-10-04 Alan Modra <amodra@gmail.com>
38258
38259 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
38260 support. Correct typos, formatting. Optimize tail. Use insrdi
38261 rather than rlwimi.
38262 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
38263 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
38264 little-endian support. Correct typos.
38265 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
38266 rather than rlwimi.
38267 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
38268 in loop and entry code to keep "and." results.
38269 (strchr): Add little-endian support. Comment. Move cntlzd
38270 earlier in tail.
38271 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
38272
38273 2013-10-04 Alan Modra <amodra@gmail.com>
38274
38275 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
38276 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
38277 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
38278 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
38279
38280 2013-10-04 Alan Modra <amodra@gmail.com>
38281
38282 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
38283 (rTMP): Define as r11.
38284 (strcmp): Add little-endian support. Optimise tail.
38285 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
38286 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38287 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38288 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38289 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38290 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38291 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38292
38293 2013-10-04 Alan Modra <amodra@gmail.com>
38294
38295 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
38296 little-endian support. Remove unnecessary "are we done" tests.
38297 Handle "s" wrapping around zero and extremely large "size".
38298 Correct main loop count. Handle single left-over word from main
38299 loop inline rather than by using small_loop. Correct comments.
38300 Delete "zero" tail, use "end_max" instead.
38301 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
38302
38303 2013-10-04 Alan Modra <amodra@gmail.com>
38304
38305 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
38306 support. Don't branch over align.
38307 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
38308 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
38309 support. Rearrange tmp reg use to suit. Comment.
38310 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
38311
38312 2013-10-04 Alan Modra <amodra@gmail.com>
38313
38314 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
38315
38316 2013-10-04 Alan Modra <amodra@gmail.com>
38317
38318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
38319 conditional form of branch and link when obtaining pc.
38320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38321
38322 2013-10-04 Alan Modra <amodra@gmail.com>
38323
38324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
38325 HIWORD/LOWORD.
38326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
38327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
38328
38329 2013-10-04 Alan Modra <amodra@gmail.com>
38330
38331 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
38332 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
38333 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
38334 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
38335 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38336 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
38337 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
38338 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38339 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
38340 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
38341
38342 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
38343 Alistair Popple <alistair@ozlabs.au.ibm.com>
38344 Alan Modra <amodra@gmail.com>
38345
38346 [BZ #15723]
38347 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
38348 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
38349 _dl_hwcap access for little-endian.
38350 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
38351 destroy vmx regs when saving unaligned.
38352 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
38353 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
38354 destroy vmx regs when saving unaligned.
38355
38356 2013-10-04 Alan Modra <amodra@gmail.com>
38357
38358 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
38359 Don't use a union to pack hi/low value.
38360
38361 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
38362
38363 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
38364 for little-endian.
38365 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38366 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
38367 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
38368 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
38369 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
38370
38371 2013-10-04 Alan Modra <amodra@gmail.com>
38372
38373 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
38374 constants to usual value for .cst8 section, and remove redundant
38375 high address load.
38376 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
38377 constant for 0x1p52. Load little-endian words of double from
38378 correct stack offsets.
38379
38380 2013-10-04 Alan Modra <amodra@gmail.com>
38381
38382 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
38383 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
38384 words of double from correct stack offsets.
38385 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
38386 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
38387 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
38388 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
38389 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
38390 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
38391 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
38392 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38393 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38394 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
38395 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
38396 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
38397 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38398 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38399 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38400 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
38401 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38402
38403 2013-10-04 Alan Modra <amodra@gmail.com>
38404
38405 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
38406 64-bit int/double union.
38407 (_FPU_SETCW): Likewise.
38408 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
38409 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
38410
38411 2013-10-04 Alan Modra <amodra@gmail.com>
38412
38413 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
38414 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
38415
38416 2013-10-04 Alan Modra <amodra@gmail.com>
38417
38418 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
38419 use vector int constants.
38420 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
38421
38422 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
38423
38424 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
38425 array with long long.
38426 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
38427 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
38428 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
38429 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
38430 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
38431 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
38432 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
38433 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
38434 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
38435 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
38436 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
38437 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
38438 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
38439
38440 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
38441
38442 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
38443 (__signbit): Likewise. Correct for little-endian.
38444 (__signbitl): Call __signbit.
38445 (lrint): Correct for little-endian.
38446 (lrintf): Call lrint.
38447
38448 2013-10-04 Alan Modra <amodra@gmail.com>
38449
38450 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
38451 union 32-bit int array member with 64-bit int array.
38452 (t515, tm256): Double rather than long double.
38453 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
38454
38455 2013-10-04 Alan Modra <amodra@gmail.com>
38456
38457 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
38458 Delete.
38459 (IEEE854_LONG_DOUBLE_BIAS): Delete.
38460 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
38461 version of math_ldbl.h.
38462
38463 2013-10-04 Alan Modra <amodra@gmail.com>
38464
38465 [BZ #15734], [BZ #15735]
38466 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
38467 all uses of ieee875 long double macros and unions. Simplify test
38468 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
38469 ldbl_extract_mantissa value for ix,iy exponents. Properly
38470 normalize after ldbl_extract_mantissa, and don't add hidden bit
38471 already handled. Don't treat low word of ieee854 mantissa like
38472 low word of IBM long double and mask off bit when testing for
38473 zero.
38474 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
38475 all uses of ieee875 long double macros and unions. Simplify tests
38476 for 0.0L and inf. Correct double adjustment of k. Delete dead code
38477 adjusting ha,hb. Simplify code setting kld. Delete two600 and
38478 two1022, instead use their values. Recognise that tests for large
38479 "a" and small "b" are mutually exclusive. Rename vars. Comment.
38480 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
38481 Rewrite all uses of ieee875 long double macros and unions. Simplify
38482 test for 0.0L and nan. Correct negation.
38483 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
38484 ieee875 long double macros and unions. Correct output for large
38485 magnitude x. Correct absolute value calculation.
38486 (__erfcl): Likewise.
38487 * math/libm-test.inc: Add tests for errors discovered in IBM long
38488 double versions of fmodl, remainderl, erfl and erfcl.
38489
38490 2013-10-04 Alan Modra <amodra@gmail.com>
38491
38492 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
38493 all uses of ieee854 long double macros and unions. Simplify tests
38494 for long doubles that are fully specified by the high double.
38495 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38496 Likewise.
38497 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
38498 Remove dead code too.
38499 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
38500 (__ieee754_ynl): Likewise.
38501 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
38502 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
38503 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38504 Remove dead code too.
38505 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
38506 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
38507 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
38508 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
38509 Simplify.
38510 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
38511 Simplify.
38512 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
38513 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38514 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
38515 Comment on variable precision.
38516 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
38517 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38518 Likewise.
38519 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38520 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38521 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38522 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
38523 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
38524
38525 2013-10-04 Alan Modra <amodra@gmail.com>
38526
38527 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
38528 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
38529 all uses of ieee854 long double macros and unions.
38530 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
38531 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38532 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
38533 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
38534 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
38535 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38536 Likewise.
38537 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
38538 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38539 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
38540 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38541 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
38542 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
38543 Simplify sign and nan test too.
38544 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
38545 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38546 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
38547 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38548 Likewise.
38549 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38550 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
38551 Likewise.
38552 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38553 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
38554 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
38555 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
38556 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
38557 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
38558
38559 2013-10-04 Alan Modra <amodra@gmail.com>
38560
38561 * stdio-common/printf_size.c (__printf_size): Don't use
38562 union ieee854_long_double in fpnum union.
38563 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
38564 signbit macro to retrieve sign from long double.
38565 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
38566 retrieve sign from long double.
38567 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
38568 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
38569 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
38570 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38571 * math/test-misc.c (main): Don't use union ieee854_long_double.
38572
38573 2013-10-04 Alan Modra <amodra@gmail.com>
38574
38575 [BZ #15680]
38576 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
38577 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
38578 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
38579 calculation. Remove unnecessary test for denormal exponent.
38580 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
38581 Correct handling of denormals. Avoid undefined shift behaviour.
38582 Correct normalisation of low mantissa when low double is denormal.
38583 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
38584 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
38585 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
38586 Correct normalisation of low mantissa. Test for overflow of high
38587 mantissa and normalise.
38588 (ldbl_nearbyint): Use more readable constant for two52.
38589 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
38590 (__mpn_construct_long_double): Fix test for overflow of high
38591 mantissa and correct normalisation. Avoid undefined shift.
38592
38593 2013-10-04 Alan Modra <amodra@gmail.com>
38594
38595 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38596 (union ibm_extended_long_double): Define as an array of ieee754_double.
38597 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
38598 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
38599 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
38600 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38601 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38602 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
38603 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38604 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38605 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38606 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
38607 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38608
38609 2013-10-03 Joseph Myers <joseph@codesourcery.com>
38610
38611 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
38612 page size instead of calling getpagesize.
38613
38614 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
38615 (LOCFILE_ALIGN_MASK): Likewise.
38616 (LOCFILE_ALIGN_UP): Likewise.
38617 (LOCFILE_ALIGNED_P): Likewise.
38618 * locale/programs/ld-collate.c (collate_output): Use the new
38619 macros instead of __alignof__ (int32_t).
38620 * locale/weight.h (findidx): Likewise.
38621
38622 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
38623
38624 [BZ #431]
38625 * manual/string.texi: Fix strncat and wcsncat.
38626
38627 2013-10-03 Brooks Moses <bmoses@google.com>
38628
38629 [BZ #15915]
38630 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
38631 * Makerules: ...here, and adjust associated comments.
38632
38633 2013-10-02 Will Newton <will.newton@linaro.org>
38634
38635 * malloc/Makefile: Add tst-pvalloc.
38636 * malloc/tst-pvalloc.c: New file.
38637
38638 2013-10-02 Will Newton <will.newton@linaro.org>
38639
38640 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
38641 improve test coverage.
38642
38643 2013-10-02 Will Newton <will.newton@linaro.org>
38644
38645 * malloc/Makefile: Add tst-posix_memalign.
38646 * malloc/tst-posix_memalign.c: New file.
38647
38648 2013-10-01 Eric Blake <eblake@redhat.com>
38649
38650 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
38651 Use __THROWNL rather than __THROW on static functions.
38652
38653 2013-09-30 Petr Machata <pmachata@redhat.com>
38654
38655 * elf/elf.h (R_AARCH64_ABS16): New macro.
38656 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
38657 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
38658 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
38659 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
38660 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
38661 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
38662 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
38663 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
38664 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
38665 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
38666 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
38667 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
38668 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
38669 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
38670 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
38671 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
38672 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
38673 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
38674 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
38675 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
38676 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
38677 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
38678 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
38679 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
38680 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
38681 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
38682 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
38683 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
38684 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
38685 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
38686 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
38687 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
38688 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
38689 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
38690 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
38691 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
38692 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
38693 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
38694 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
38695 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
38696 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
38697 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
38698 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
38699 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
38700 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
38701 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
38702 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
38703 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
38704 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
38705 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
38706 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
38707 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
38708 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
38709 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
38710 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
38711 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
38712 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
38713 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
38714 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
38715 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
38716 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
38717 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
38718 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
38719 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
38720 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
38721 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
38722 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
38723 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
38724 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
38725 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
38726 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
38727 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
38728 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
38729 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
38730 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
38731 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
38732 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
38733 (R_AARCH64_TLSDESC_LDR): Likewise.
38734 (R_AARCH64_TLSDESC_ADD): Likewise.
38735 (R_AARCH64_TLSDESC_CALL): Likewise.
38736
38737 2013-09-30 Andreas Schwab <schwab@suse.de>
38738
38739 [BZ #15048]
38740 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
38741 the nss database lookup.
38742 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38744
38745 2013-09-28 Mike Frysinger <vapier@gentoo.org>
38746
38747 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
38748
38749 2013-09-28 P. J. McDermott <pj@pehjota.net>
38750
38751 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
38752 ${Bash-specific parameter/pattern/string} parameter expansion.
38753 * sysdeps/unix/make-syscalls.sh: Likewise.
38754
38755 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38756
38757 * sysdeps/sh/stackguard-macros.h: New file.
38758
38759 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
38760
38761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38762 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
38763 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
38764 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
38765 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38766 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
38767
38768 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38769
38770 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
38771 Fix thread ID register.
38772
38773 2013-09-25 Joseph Myers <joseph@codesourcery.com>
38774
38775 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
38776 [POSIX || UNIX98]: Require rather than permitting all symbols from
38777 <time.h>.
38778 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
38779 element of struct sched_param.
38780 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
38781 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
38782 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
38783 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
38784 constant.
38785
38786 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
38787
38788 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
38789 argument calculation.
38790
38791 2013-09-24 Joseph Myers <joseph@codesourcery.com>
38792
38793 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
38794 Expect macro.
38795 [POSIX] (pthread_attr_t): Do not require type.
38796 [POSIX] (pthread_cond_t): Likewise.
38797 [POSIX] (pthread_condattr_t): Likewise.
38798 [POSIX] (pthread_key_t): Likewise.
38799 [POSIX] (pthread_mutex_t): Likewise.
38800 [POSIX] (pthread_mutexattr_t): Likewise.
38801 [POSIX] (pthread_once_t): Likewise.
38802 [POSIX] (pthread_t): Likewise.
38803 [POSIX-based standards] (pthread_atfork): Expect function.
38804
38805 2013-09-24 Joseph Myers <joseph@codesourcery.com>
38806 Richard Sandiford <richard@codesourcery.com>
38807
38808 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
38809 (swap_endianness_p): New extern variable.
38810 (set_big_endian): New inline function.
38811 (maybe_swap_uint32): Likewise.
38812 (maybe_swap_uint32_array): Likewise.
38813 (maybe_swap_uint32_obstack): Likewise.
38814 * locale/programs/locfile.c: Include <stdbool.h>.
38815 (swap_endianness_p): New variable.
38816 (add_locale_uint32): Call maybe_swap_uint32.
38817 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
38818 (write_locale_data): Call maybe_swap_uint32_array.
38819 * locale/programs/ld-collate.c (obstack_int32_grow): Call
38820 maybe_swap_uint32.
38821 (obstack_int32_grow_fast): Likewise.
38822 (output_weightwc): Call maybe_swap_uint32_obstack.
38823 (collate_output): Likewise.
38824 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
38825 (OPT_LITTLE_ENDIAN): Likewise.
38826 (options): Add --little-endian and --big-endian options.
38827 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
38828 * locale/programs/locarchive.c: Include "locfile.h".
38829 (GET): New macro.
38830 (SET): Likewise.
38831 (INC): Likewise.
38832 (create_archive): Use the new macros to access fields of
38833 structures directly mapped from or written to locale archives.
38834 (oldlocrecentcmp): Likewise.
38835 (enlarge_archive): Likewise.
38836 (insert_name): Likewise.
38837 (add_alias): Likewise.
38838 (add_locale): Likewise.
38839 (delete_locales_from_archive): Likewise.
38840 (show_archive_content): Likewise.
38841 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
38842 locale data.
38843
38844 2013-09-24 Roland McGrath <roland@hack.frob.com>
38845
38846 * manual/freemanuals.texi: Updated from (newly) canonical copy at
38847 http://www.gnu.org/doc/freemanuals.texi.
38848 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
38849
38850 2013-09-24 Will Newton <will.newton@linaro.org>
38851
38852 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
38853 macro.
38854
38855 2013-09-23 Joseph Myers <joseph@codesourcery.com>
38856
38857 * locale/hashval.h (compute_hashval): Interpret bytes of key as
38858 unsigned char.
38859
38860 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
38861
38862 * manual/threads.texi (POSIX Threads): Fix a typo.
38863
38864 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
38865
38866 [BZ #14547]
38867 * string/tst-strcoll-overflow.c: New test case.
38868 * string/Makefile (xtests): Add tst-strcoll-overflow.
38869 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
38870 cache if string sizes may cause integer overflow.
38871
38872 [BZ #14547]
38873 * string/strcoll_l.c (coll_seq): New members rule, idx,
38874 save_idx and back_us.
38875 (get_next_seq_nocache): New function.
38876 (do_compare_nocache): New function.
38877 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
38878 when malloc fails.
38879
38880 2013-09-23 Carlos O'Donell <carlos@redhat.com>
38881
38882 [BZ #15754]
38883 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
38884 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
38885 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
38886
38887 [BZ #15754]
38888 * elf/Makefile (tests): Add tst-ptrguard1.
38889 (tests-static): Add tst-ptrguard1-static.
38890 (tst-ptrguard1-ARGS): Define.
38891 (tst-ptrguard1-static-ARGS): Define.
38892 * elf/tst-ptrguard1.c: New file.
38893 * elf/tst-ptrguard1-static.c: New file.
38894 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
38895 * sysdeps/i386/stackguard-macros.h: Likewise.
38896 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38897 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38898 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38899 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38900 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38901 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38902
38903 2013-09-23 Hector Marco <hecmargi@upv.es>
38904 Ismael Ripoll <iripoll@disca.upv.es>
38905 Carlos O'Donell <carlos@redhat.com>
38906
38907 [BZ #15754]
38908 * sysdeps/generic/stackguard-macros.h: Define
38909 __pointer_chk_guard_local and POINTER_CHK_GUARD.
38910 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
38911 Define __pointer_chk_guard_local.
38912 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
38913 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
38914
38915 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
38916
38917 [BZ #15859]
38918 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
38919
38920 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
38921
38922 * include/string.h (__ffs): Declare as hidden.
38923 * string/ffs.c (__ffs): Define as hidden.
38924 * sysdeps/i386/ffs.c (__ffs): Likewise.
38925 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
38926 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
38927 * sysdeps/s390/ffs.c (__ffs): Likewise.
38928 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
38929
38930 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
38931
38932 * NEWS: Mention malloc probes.
38933
38934 * malloc/arena.c (new_heap): New memory_heap_new probe.
38935 (grow_heap): New memory_heap_more probe.
38936 (shrink_heap): New memory_heap_less probe.
38937 (heap_trim): New memory_heap_free probe.
38938 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
38939 (systrim): New memory_sbrk_less probe.
38940 * manual/probes.texi: Document them.
38941
38942 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
38943 * manual/probes.texi: Document it.
38944
38945 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
38946 (__libc_realloc): Add memory_realloc_retry probe.
38947 (__libc_memalign): Add memory_memalign_retry probe.
38948 (__libc_valloc): Add memory_valloc_retry probe.
38949 (__libc_pvalloc): Add memory_pvalloc_retry probe.
38950 (__libc_calloc): Add memory_calloc_retry probe.
38951 * manual/probes.texi: Document them.
38952
38953 * malloc/arena.c (get_free_list): Add probe
38954 memory_arena_reuse_free_list.
38955 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
38956 and memory_arena_reuse.
38957 (arena_get2) [!PER_THREAD]: Likewise.
38958 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
38959 memory_arena_reuse_realloc.
38960 * manual/probes.texi: Document them.
38961
38962 * malloc/malloc.c (__libc_free): Add
38963 memory_mallopt_free_dyn_thresholds probe.
38964 (__libc_mallopt): Add multiple memory_mallopt probes.
38965 * manual/probes.texi: Document them.
38966
38967 * malloc/malloc.c: Include stap-probe.h.
38968 (__libc_mallopt): Add memory_mallopt probe.
38969 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
38970 * manual/probes.texi: New.
38971 * manual/Makefile (chapters): Add probes.
38972 * manual/threads.texi: Set next node.
38973
38974 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
38975
38976 [BZ #15963, #13985]
38977 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
38978 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
38979 Add `Chinese' to `nan' entry name.
38980
38981 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38982
38983 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
38984 (POLYNOMIAL): Likewise.
38985 (TAYLOR_SINCOS): Likewise.
38986 (TAYLOR_SLOW): Likewise.
38987 (__sin): Use TAYLOR_SINCOS.
38988 (__cos): Likewise.
38989 (slow): Use TAYLOR_SLOW.
38990 (sloww): Likewise.
38991 (bsloww): Likewise.
38992 (csloww): Likewise.
38993
38994 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38995
38996 * stdlib/strtod_l.c: Fix buffer overrun.
38997
38998 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38999
39000 * benchtests/Makefile (bench): Add sincos.
39001 * benchtests/bench-sincos.c: New file.
39002
39003 * math/libm-test.inc (cos_test_data): New test inputs.
39004 (sin_test_data): Likewise.
39005
39006 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
39007 macro.
39008 (__sin): Use it.
39009 (__cos): Likewise.
39010 (slow1): Likewise.
39011 (slow2): Likewise.
39012 (sloww1): Likewise.
39013 (sloww2): Likewise.
39014 (bsloww1): Likewise.
39015 (bsloww2): Likewise.
39016 (cslow2): Likewise.
39017 (csloww1): Likewise.
39018 (csloww2): Likewise.
39019
39020 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
39021 function.
39022 (__sin): Use it.
39023 (__cos): Likewise.
39024
39025 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
39026 gotos.
39027 (__cos): Likewise.
39028
39029 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
39030
39031 * config.h.in (HAVE_MIPS_NAN2008): New macro.
39032 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
39033 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
39034 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
39035 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
39036 * elf/cache.c (print_entry): Handle the new cache flags.
39037
39038 2013-09-18 Joseph Myers <joseph@codesourcery.com>
39039 Aldy Hernandez <aldyh@redhat.com>
39040
39041 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
39042 Change condition to [_SOFT_FLOAT].
39043 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
39044 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
39045 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
39046 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
39047 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
39048 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
39049 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
39050 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
39051 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
39052 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
39053 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
39054 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
39055 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
39056 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
39057 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
39058 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
39059 declaration.
39060
39061 2013-09-18 Joseph Myers <joseph@codesourcery.com>
39062
39063 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
39064 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39065 (__longjmp): Use LOAD_GP to load saved GPRs.
39066 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
39067 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
39068 (__sigsetjmp): Use SAVE_GP to save GPRs.
39069
39070 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
39071 Do not append -msoft-float.
39072 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
39073
39074 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39075
39076 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
39077
39078 2013-09-17 Joseph Myers <joseph@codesourcery.com>
39079
39080 [BZ #15966]
39081 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
39082 (_FPU_GETCW): Use initial "__" on variable and field names but not
39083 on macro parameter name.
39084 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
39085 parentheses around reference to macro parameter.
39086
39087 2013-09-13 Richard Sandiford <richard@codesourcery.com>
39088
39089 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
39090 prototype.
39091 (ctype_startup): Use uint32_t in cast and sizeof for
39092 ctype->charnames.
39093
39094 2013-09-11 Jia Liu <proljc@gmail.com>
39095
39096 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
39097 __daddr_t_defined.
39098 [__FreeBSD__]: Likewise.
39099
39100 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
39101
39102 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
39103 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
39104 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
39105 (strchr): Remove __strchr_sse42 ifunc selection.
39106 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
39107 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
39108
39109 2013-09-11 Will Newton <will.newton@linaro.org>
39110
39111 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
39112 parameter to RES. Remove hardcoded 1000 value.
39113 * benchtests/bench-skeleton.c (main): Pass RES parameter
39114 to TIMING_INIT and multiply result by 1000.
39115
39116 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39117
39118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39119
39120 2013-09-11 Andreas Schwab <schwab@suse.de>
39121
39122 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39123 if not defined.
39124 (O_TMPFILE) [__USE_GNU]: Define.
39125 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
39126 Define.
39127
39128 2013-09-11 Will Newton <will.newton@linaro.org>
39129
39130 [BZ #15857]
39131 * malloc/malloc.c (__libc_memalign): Check the value of bytes
39132 does not overflow.
39133
39134 2013-09-11 Will Newton <will.newton@linaro.org>
39135
39136 [BZ #15856]
39137 * malloc/malloc.c (__libc_valloc): Check the value of bytes
39138 does not overflow.
39139
39140 2013-09-11 Will Newton <will.newton@linaro.org>
39141
39142 [BZ #15855]
39143 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
39144 does not overflow.
39145
39146 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
39147
39148 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
39149 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39150 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39151 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39152 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39153
39154 2013-09-10 Allan McRae <allan@archlinux.org>
39155
39156 [BZ #15748]
39157 * manual/arith.texi (Parsing of Floats): Clarify
39158 cross-reference.
39159
39160 [BZ #15849]
39161 * manual/install.texi (Running make install): Mention
39162 --enable-pt-chown.
39163 * INSTALL: Regenerated.
39164
39165 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
39166
39167 * csu/init-first.c (_init): Remove the !SHARED condition around
39168 FPU control word initialization.
39169 * elf/dl-support.c (_dl_fpu_control): New variable.
39170 (_dl_aux_init) <AT_FPUCW>: Initialize it.
39171 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
39172 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
39173 * math/test-fpucw-static.c: New file.
39174 * math/test-fpucw-ieee.c: New file.
39175 * math/test-fpucw-ieee-static.c: New file.
39176 * math/Makefile (tests): Add `test-fpucw-ieee' and
39177 `$(tests-static)'.
39178 (tests-static): New variable.
39179 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
39180 dependency to...
39181 [($(build-shared),yes)]
39182 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39183 ... this.
39184 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
39185 New dependency.
39186
39187 2013-09-09 Allan McRae <allan@archlinux.org>
39188
39189 [BZ #15939]
39190 * manual/string.texi (Collation Functions): Fix typo in
39191 strcoll example.
39192 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
39193
39194 [BZ #15893]
39195 * stdlib/isomac.c (get_null_defines): Fix memory leak.
39196
39197 [BZ #15892]
39198 * libio/memstream.c (open_memstream): Fix memory leak.
39199 * libio/wmemstream.c (open_wmemstream): Likewise.
39200
39201 [BZ #15895]
39202 * nscd/netgroupcache.c: Fix nesting of ifdefs.
39203
39204 2013-09-09 Will Newton <will.newton@linaro.org>
39205
39206 * malloc/Makefile: Add tst-realloc to tests.
39207 * malloc/tst-realloc.c: New file.
39208
39209 2013-09-09 Allan McRae <allan@archlinux.org>
39210
39211 [BZ #15844]
39212 * COPYING: Update from GNU website to fix FSF address.
39213 * COPYING.LIB: Likewise.
39214
39215 2013-09-06 David S. Miller <davem@davemloft.net>
39216
39217 * po/zh_TW.po: Update Chinese (traditional) translation from
39218 translation project.
39219
39220 2013-09-06 Richard Sandiford <richard@codesourcery.com>
39221 Joseph Myers <joseph@codesourcery.com>
39222
39223 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
39224 "localeinfo.h".
39225 (obstack_chunk_alloc): New macro.
39226 (obstack_chunk_free): Likewise.
39227 (record_offset): New function.
39228 (init_locale_data): Likewise.
39229 (align_locale_data): Likewise.
39230 (add_locale_empty): Likewise.
39231 (add_locale_raw_data): Likewise.
39232 (add_locale_raw_obstack): Likewise.
39233 (add_locale_string): Likewise.
39234 (add_locale_wstring): Likewise.
39235 (add_locale_uint32): Likewise.
39236 (add_locale_uint32_array): Likewise.
39237 (add_locale_char): Likewise.
39238 (start_locale_structure): Likewise.
39239 (end_locale_structure): Likewise.
39240 (start_locale_prelude): Likewise.
39241 (end_locale_prelude): Likewise.
39242 (write_locale_data): Take locale_file structure rather than an
39243 iovec.
39244 * locale/programs/locfile.h: Include "obstack.h".
39245 (struct locale_file): Change to store locale file contents instead
39246 of header.
39247 (init_locale_data): New prototype.
39248 (align_locale_data): Likewise.
39249 (add_locale_empty): Likewise.
39250 (add_locale_raw_data): Likewise.
39251 (add_locale_raw_obstack): Likewise.
39252 (add_locale_string): Likewise.
39253 (add_locale_wstring): Likewise.
39254 (add_locale_uint32): Likewise.
39255 (add_locale_uint32_array): Likewise.
39256 (add_locale_char): Likewise.
39257 (start_locale_structure): Likewise.
39258 (end_locale_structure): Likewise.
39259 (start_locale_prelude): Likewise.
39260 (end_locale_prelude): Likewise.
39261 (write_locale_data): Update prototype.
39262 * locale/programs/3level.h (struct TABLE): Remove result field.
39263 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
39264 Use new locale_file interface.
39265 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
39266 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
39267 * locale/programs/ld-address.c (address_output): Use new
39268 locale_file interface.
39269 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
39270 NO_ADD_LOCALE.
39271 (collate_finish): Don't call collseq_table_finalize.
39272 (collate_output): Use new locale_file interface.
39273 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
39274 in file.
39275 (NO_FINALIZE): Change to NO_ADD_LOCALE.
39276 (TABLE): Move defines earlier in file.
39277 (ELEMENT): Likewise.
39278 (DEFAULT): Likewise.
39279 (wctrans_table_add): Move macro and inline function earlier in
39280 file.
39281 (struct wctype_table): Move type earlier in file.
39282 (add_locale_wctype_table): New static prototype.
39283 (struct locale_ctype_t): Use logical types instead of struct iovec
39284 pointers for members.
39285 (ctype_output): Use new locale_file interface.
39286 (wctype_table_finalize): Change to add_locale_wctype_table. Use
39287 new locale_file interface.
39288 (allocate_arrays): Update for use of new locale_file interface.
39289 * locale/programs/ld-identification.c (identification_output): Use
39290 new locale_file interface.
39291 * locale/programs/ld-measurement.c (measurement_output): Likewise.
39292 * locale/programs/ld-messages.c (messages_output): Likewise.
39293 * locale/programs/ld-monetary.c (monetary_output): Likewise.
39294 * locale/programs/ld-name.c (name_output): Likewise.
39295 * locale/programs/ld-numeric.c (numeric_output): Likewise.
39296 * locale/programs/ld-paper.c (paper_output): Likewise.
39297 * locale/programs/ld-telephone.c (telephone_output): Likewise.
39298 * locale/programs/ld-time.c (time_output): Likewise.
39299
39300 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39301
39302 * benchtests/Makefile: Add memrchr benchmark.
39303 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
39304 benchmark as memrchr.
39305 * benchtests/bench-memrchr-ifunc.c: New file.
39306 * benchtests/bench-memrchr.c: New file.
39307
39308 2013-09-06 Will Newton <will.newton@linaro.org>
39309
39310 * benchtests/Makefile (string-bench): Add memcpy.
39311
39312 2013-09-05 Carlos O'Donell <carlos@redhat.com>
39313 Cong Wang <amwang@redhat.com>
39314
39315 [BZ #15850]
39316 * sysdeps/unix/sysv/linux/bits/in.h
39317 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
39318 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
39319 before __USE_KERNEL_IPV6_DEFS uses.
39320 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
39321 IPPROTO_BEETPH.
39322 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
39323 sockaddr_in6, or ipv6_mreq.
39324
39325 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39326
39327 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
39328 memory access for final bytes in some large inputs.
39329 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
39330
39331 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39332
39333 * string/test-memrchr.c: New file.
39334 * string/test-memrchr-ifunc.c: New file.
39335 * string/Makefile: Add new memrchr testcase.
39336
39337 2013-09-05 Mike Frysinger <vapier@gentoo.org>
39338
39339 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
39340 fanotify_init returns EPERM.
39341
39342 2013-09-04 Joseph Myers <joseph@codesourcery.com>
39343
39344 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
39345 errors.
39346 (top level): Treat second token from macro or constant entries for
39347 allowed headers as allowed.
39348 * include/complex.h: Condition internal declarations on
39349 [!_ISOMAC].
39350 * include/fenv.h: Condition include of <stdbool.h> and internal
39351 declarations on [!_ISOMAC].
39352
39353 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
39354
39355 [BZ #15923]
39356 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
39357
39358 2013-09-04 Joseph Myers <joseph@codesourcery.com>
39359
39360 * configure.in (--enable-versioning): Remove configure option.
39361 (libc_cv_asm_symver_directive): Remove configure test.
39362 (libc_cv_ld_version_script_option): Likewise.
39363 (VERSIONING): Remove variable and AC_SUBST.
39364 (DO_VERSIONING): Remove AC_DEFINE.
39365 * configure: Regenerated.
39366 * config.h.in (DO_VERSIONING): Remove macro.
39367 * Makerules [$(versioning) = yes]: Change conditionals to
39368 [$(build-shared) = yes].
39369 * config.make.in (versioning): Remove variable.
39370 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
39371 [$(build-shared) = yes].
39372 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
39373 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
39374 * elf/Makefile [$(versioning) = yes]: Change conditionals to
39375 [$(build-shared) = yes].
39376 * extra-lib.mk [$(versioning) = yes]: Likewise.
39377 * hurd/Makefile [$(versioning) = yes]: Likewise.
39378 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
39379 [SHARED].
39380 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
39381 [SHARED].
39382 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39383 [SHARED && !NO_HIDDEN].
39384 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
39385 [SHARED].
39386 [SHARED && DO_VERSIONING]: Likewise..
39387 * libio/Makefile [$(versioning) = yes]: Change conditionals to
39388 [$(build-shared) = yes].
39389 * manual/install.texi (--disable-versioning): Remove
39390 documentation.
39391 * INSTALL: Regenerated.
39392 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
39393 to [SHARED].
39394 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
39395 [$(build-shared) = yes].
39396 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
39397 * sysdeps/i386/i686/multiarch/strstr-c.c
39398 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
39399 [SHARED && !NO_HIDDEN].
39400 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
39401 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
39402 * sysdeps/powerpc/powerpc32/dl-machine.c
39403 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
39404 * sysdeps/powerpc/powerpc32/sysdep.h
39405 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
39406 to [SHARED && PIC && !NO_HIDDEN].
39407 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
39408 conditional to [SHARED].
39409
39410 2013-09-04 Will Newton <will.newton@linaro.org>
39411
39412 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
39413 * benchtests/bench-string.h: Include bench-timing.h instead
39414 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
39415 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
39416 call to HP_TIMING_DIFF_INIT.
39417 * benchtests/bench-memccpy.c: Use bench-timing.h macros
39418 instead of hp-timing.h macros.
39419 * benchtests/bench-memchr.c: Likewise.
39420 * benchtests/bench-memcmp.c: Likewise.
39421 * benchtests/bench-memcpy.c: Likewise.
39422 * benchtests/bench-memmem.c: Likewise.
39423 * benchtests/bench-memmove.c: Likewise.
39424 * benchtests/bench-memset.c: Likewise.
39425 * benchtests/bench-rawmemchr.c: Likewise.
39426 * benchtests/bench-strcasecmp.c: Likewise.
39427 * benchtests/bench-strcasestr.c: Likewise.
39428 * benchtests/bench-strcat.c: Likewise.
39429 * benchtests/bench-strchr.c: Likewise.
39430 * benchtests/bench-strcmp.c: Likewise.
39431 * benchtests/bench-strcpy.c: Likewise.
39432 * benchtests/bench-strcpy_chk.c: Likewise.
39433 * benchtests/bench-strlen.c: Likewise.
39434 * benchtests/bench-strncasecmp.c: Likewise.
39435 * benchtests/bench-strncat.c: Likewise.
39436 * benchtests/bench-strncmp.c: Likewise.
39437 * benchtests/bench-strncpy.c: Likewise.
39438 * benchtests/bench-strnlen.c: Likewise.
39439 * benchtests/bench-strpbrk.c: Likewise.
39440 * benchtests/bench-strrchr.c: Likewise.
39441 * benchtests/bench-strspn.c: Likewise.
39442 * benchtests/bench-strstr.c: Likewise.
39443
39444 2013-09-04 Will Newton <will.newton@linaro.org>
39445
39446 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
39447
39448 2013-09-03 Joseph Myers <joseph@codesourcery.com>
39449
39450 [BZ #15427]
39451 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
39452 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
39453 * math/libm-test.inc (lgamma_test_data): Add more tests.
39454 * sysdeps/i386/fpu/libm-test-ulps: Update.
39455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39456
39457 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
39458
39459 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
39460 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39461 Add ifunc.
39462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39463 Add strcmp-sse2-unaligned
39464 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
39465
39466 2013-09-02 Mike Frysinger <vapier@gentoo.org>
39467
39468 * Versions.def (libc): Add GLIBC_2.19.
39469
39470 2013-09-02 Mike Frysinger <vapier@gentoo.org>
39471
39472 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
39473 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
39474
39475 2013-09-02 Joseph Myers <joseph@codesourcery.com>
39476
39477 [BZ #14155]
39478 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
39479 intermediate calculations in recurrence.
39480 (__ieee754_ynf): Likewise.
39481 * math/libm-test.inc (jn_test_data): Do not allow spurious
39482 underflow exception. Add more tests.
39483 (yn_test_data): Add more tests.
39484 * sysdeps/i386/fpu/libm-test-ulps: Update.
39485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39486
39487 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
39488
39489 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
39490
39491 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
39492
39493 * csu/init-first.c: Fix then/than typos.
39494 * locale/programs/ld-collate.c: Likewise.
39495 * locale/programs/linereader.h: Likewise.
39496 * manual/charset.texi: Likewise.
39497 * manual/filesys.texi: Likewise.
39498 * manual/stdio.texi: Likewise.
39499 * manual/string.texi: Likewise.
39500 * stdlib/fmtmsg.c: Likewise.
39501 * sysdeps/i386/stpncpy.S: Likewise.
39502 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39503 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39504 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39505 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39506
39507 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
39508
39509 * elf/dl-open.c: Fix typos.
39510 * iconvdata/gbbig5.c: Likewise.
39511 * iconvdata/iso-2022-jp.c: Likewise.
39512 * iconv/gconv_int.h: Likewise.
39513 * iconv/loop.c: Likewise.
39514 * nis/rpcsvc/nis.h: Likewise.
39515 * resolv/ns_name.c: Likewise.
39516 * stdio-common/vfscanf.c: Likewise.
39517 * streams/stropts.h: Likewise.
39518 * sunrpc/rpc_thread.c: Likewise.
39519 * sysdeps/i386/strpbrk.S: Likewise.
39520 * sysdeps/ieee754/k_standard.c: Likewise.
39521 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39522 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39523 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
39524 * sysdeps/mach/hurd/profil.c: Likewise.
39525 * sysdeps/s390/dl-procinfo.h: Likewise.
39526 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
39527 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39528 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
39529 * sysdeps/x86_64/dl-trampoline.S: Likewise.
39530 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39531
39532 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
39533
39534 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
39535 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
39536
39537 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
39538
39539 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
39540 aix specific files.
39541 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
39542 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
39543 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
39544 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
39545 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
39546 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
39547 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
39548 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
39549
39550 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
39551 Roland McGrath <roland@hack.frob.com>
39552
39553 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
39554 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
39555
39556 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
39557
39558 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
39559 __executable_start symbol instead of _start.
39560
39561 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
39562
39563 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
39564 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
39565 Move macros to...
39566 * sysdeps/gnu/ldsodefs.h: ... this new file.
39567
39568 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
39569 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
39570 instead of ELFOSABI_LINUX.
39571
39572 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
39573 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
39574 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
39575 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
39576 Likewise.
39577 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
39578 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
39579 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
39580 Likewise.
39581 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39582 (ibm_extended_long_double): Add ieee_nan member.
39583 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
39584 (do_test): New function.
39585
39586 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
39587 TEST_TRUNC.
39588 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
39589 functions, renamed from truncdfsf_test, trunctfsf_test,
39590 trunctfdf_test.
39591 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
39592 functions.
39593 (do_test): Run all these.
39594
39595 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
39596
39597 * argp/argp-help.c: Fix typos.
39598 * argp/argp-parse.c: Likewise.
39599 * debug/backtracesyms.c: Likewise.
39600 * elf/elf.h: Likewise.
39601 * malloc/malloc.c: Likewise.
39602 * nis/nis_print.c: Likewise.
39603 * resolv/res_comp.c: Likewise.
39604 * stdlib/stdlib.h: Likewise.
39605 * sunrpc/clnt_tcp.c: Likewise.
39606 * sunrpc/clnt_udp.c: Likewise.
39607 * sunrpc/clnt_unix.c: Likewise.
39608 * sysdeps/unix/bsd/ptsname.c: Likewise.
39609 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39610 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
39611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
39612 Likewise.
39613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
39614 Likewise.
39615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
39616 Likewise.
39617 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39618
39619 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39620
39621 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
39622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39623
39624 2013-08-27 Mike Frysinger <vapier@gentoo.org>
39625
39626 [BZ #15897]
39627 * dlfcn/Makefile (tests): Add bug-dl-leaf.
39628 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
39629 ($(objpfx)bug-dl-leaf): New rule.
39630 ($(objpfx)bug-dl-leaf.so): Likewise.
39631 ($(objpfx)bug-dl-leaf.out): Likewise.
39632 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
39633 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
39634 * dlfcn/bug-dl-leaf.c: New test.
39635 * dlfcn/bug-dl-leaf-lib.c: Likewise.
39636 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
39637 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
39638 (dlclose): Likewise.
39639 (dlmopen): Likewise.
39640
39641 2013-08-27 Roland McGrath <roland@hack.frob.com>
39642
39643 * include/netdb.h [!_ISOMAC]:
39644 Don't include <tls.h>.
39645 (h_errno, __libc_h_errno): Move declaration and macros out of
39646 [_LIBC_REENTRANT].
39647
39648 * include/resolv.h [_RESOLV_H_]:
39649 Don't include <tls.h>.
39650 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
39651 * resolv/res_libc.c: Don't include <tls.h>.
39652 (_res): Use __attribute__ ((nocommon)) in place of
39653 __attribute__ ((section (".bss"))).
39654
39655 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
39656 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
39657
39658 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
39659
39660 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
39661 only under [SIOCGIFCONF && SIOCGIFNETMASK].
39662
39663 * resolv/res_mkquery.c: Include <sys/time.h>.
39664
39665 * inet/ifreq.c: Moved to ...
39666 * sysdeps/unix/ifreq.c: ... here.
39667 * inet/ifreq.c: New file, true stub version.
39668
39669 * socket/sa_len.c: New file.
39670 * socket/Makefile (aux): Add it.
39671 * sysdeps/unix/sysv/linux/Makefile
39672 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
39673 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
39674 and #include <socket/sa_len.c>.
39675 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
39676 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
39677
39678 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
39679 * bits/socket.h: ... here.
39680
39681 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
39682 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
39683 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
39684
39685 2013-08-27 Andreas Schwab <schwab@suse.de>
39686
39687 [BZ #15736]
39688 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
39689 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
39690 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
39691 * string/test-strcasecmp.c (test_main): Run tests in several
39692 locales.
39693 * string/test-strncasecmp.c (test_main): Likewise.
39694
39695 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
39696 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
39697 to __strcasecmp_nonascii and __strncasecmp_nonascii.
39698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
39699 (__strncasecmp_ssse3) [PIC]: Likewise.
39700
39701 2013-08-26 Roland McGrath <roland@hack.frob.com>
39702
39703 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
39704
39705 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
39706 instead of explicitly declaring xdecrypt.
39707 * nis/nss_nis/nis-publickey.c: Likewise.
39708
39709 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39710
39711 [BZ #15890]
39712 * nscd/aicache.c: Include res_hconf.h.
39713 (addhstaiX): Initialize res_hconf.
39714
39715 2013-08-26 Andreas Schwab <schwab@suse.de>
39716
39717 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
39718 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
39719
39720 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39721
39722 * nscd/aicache.c (addhstaiX): Fix indentation.
39723
39724 2013-08-25 Mike Frysinger <vapier@gentoo.org>
39725
39726 * configure.ac: Quote $build_pt_chown test.
39727 * configure: Regenerated.
39728
39729 2013-08-23 Joseph Myers <joseph@codesourcery.com>
39730
39731 [BZ #15532]
39732 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
39733 * math/s_cexpf.c (__cexpf): Likewise.
39734 * math/s_cexpl.c (__cexpl): Likewise.
39735 * math/libm-test.inc (cexp_test_data): Correct expected return
39736 value for NaN + i0. Add another test.
39737
39738 2013-08-22 David S. Miller <davem@davemloft.net>
39739
39740 * po/ca.po: Update Catalan translation from translation project.
39741 * po/uk.po: Add Ukrainian translations from translation project.
39742
39743 2013-08-21 Joseph Myers <joseph@codesourcery.com>
39744
39745 [BZ #15797]
39746 * math/s_fdim.c (__fdim): Check for infinite arguments if result
39747 is infinite, not alongside NaN test.
39748 * math/s_fdimf.c (__fdimf): Likewise.
39749 * math/s_fdiml.c (__fdiml): Likewise.
39750 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
39751 errno is unchanged.
39752
39753 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
39754
39755 * argp/argp-help.c: Fix typos.
39756 * crypt/speeds.c: Likewise.
39757 * csu/check_fds.c: Likewise.
39758 * elf/dl-load.c: Likewise.
39759 * elf/dl-open.c: Likewise.
39760 * elf/reldep3.c: Likewise.
39761 * elf/reldep.c: Likewise.
39762 * elf/sprof.c: Likewise.
39763 * iconv/iconv_charmap.c: Likewise.
39764 * iconv/skeleton.c: Likewise.
39765 * iconv/strtab.c: Likewise.
39766 * io/lockf64.c: Likewise.
39767 * libio/libioP.h: Likewise.
39768 * resolv/gai_notify.c: Likewise.
39769 * resolv/ns_name.c: Likewise.
39770 * resolv/ns_samedomain.c: Likewise.
39771 * resolv/res_send.c: Likewise.
39772 * stdlib/random.c: Likewise.
39773 * sunrpc/rpc/xdr.h: Likewise.
39774 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
39775 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39776 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39777 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39778 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39779 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39780 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39781 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39782 * sysdeps/mach/hurd/check_fds.c: Likewise.
39783 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39784 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39785 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39786 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39787 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39788 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39789 * sysdeps/pthread/aio_notify.c: Likewise.
39790 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
39791 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
39792 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
39793 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39794 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39795
39796 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39797
39798 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
39799 version if bit_Slow_SSE4_2 is set.
39800 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39801 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39802
39803 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39804
39805 [BZ #15867]
39806 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
39807 trampoline stack frame information.
39808 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
39809 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
39810 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
39811 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
39812 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
39813 * sysdeps/unix/sysv/linux/powerpc/init-first.c
39814 (_libc_vdso_platform_setup): Initialize the signal trampolines.
39815 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
39816 sa_flags value.
39817 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
39818 interrupting a syscall and set with option SA_SIGINFO.
39819
39820 2013-08-20 Joseph Myers <joseph@codesourcery.com>
39821
39822 [BZ #15531]
39823 * math/s_cproj.c (__cproj): Only return an infinity if one part of
39824 argument is infinite.
39825 * math/s_cprojf.c (__cprojf): Likewise.
39826 * math/s_cprojl.c (__cprojl): Likewise.
39827 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
39828 * math/libm-test.inc (cproj_test_data): Add more tests.
39829
39830 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
39831
39832 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
39833 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
39834 size. Use __ffs to determine corresponding shift.
39835
39836 2013-08-20 Joseph Myers <joseph@codesourcery.com>
39837 Roland McGrath <roland@hack.frob.com>
39838
39839 * Makefile (INSTALL): Remove trailing blank lines from output of
39840 makeinfo.
39841
39842 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39843
39844 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
39845 Align 32 bit compat elf_greg to 8 bytes.
39846
39847 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
39848
39849 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
39850
39851 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39852
39853 * string/strcoll_l.c (coll_seq): New structure.
39854 (get_next_seq_cached): New function.
39855 (get_next_seq): New function.
39856 (do_compare): New function.
39857 (STRCOLL): Use GNU style definition. Simplify implementation
39858 by using get_next_seq, get_next_seq_cached and do_compare.
39859
39860 2013-08-16 Florian Weimer <fweimer@redhat.com>
39861
39862 [BZ #14699]
39863 CVE-2013-4237
39864 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
39865 member.
39866 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
39867 member.
39868 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
39869 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
39870 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
39871 conditional.
39872 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
39873 GETDENTS_64BIT_ALIGNED.
39874 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39875 * manual/filesys.texi (Reading/Closing Directory): Document
39876 ENAMETOOLONG return value of readdir_r. Recommend readdir more
39877 strongly.
39878 * manual/conf.texi (Limits for Files): Add portability note to
39879 NAME_MAX, PATH_MAX.
39880 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
39881
39882 2013-08-13 Andreas Schwab <schwab@suse.de>
39883
39884 [BZ #15749]
39885 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
39886 of fabs.
39887 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
39888 LDBL_MAX_EXP >= 16384]: Add tests for it.
39889
39890 2013-08-12 David S. Miller <davem@davemloft.net>
39891
39892 * version.h (RELEASE): Set to "development".
39893 (VERSION): Set to "2.18.90".
39894 * NEWS: Add 2.19 section.
39895
39896 2013-08-03 David S. Miller <davem@davemloft.net>
39897
39898 * po/ko.po: Update Korean translation from translation project.
39899
39900 2013-08-01 David S. Miller <davem@davemloft.net>
39901
39902 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
39903 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
39904 Bilka.
39905
39906 2013-07-30 David S. Miller <davem@davemloft.net>
39907
39908 * po/fr.po: Update French translation from translation project.
39909
39910 2013-07-28 David S. Miller <davem@davemloft.net>
39911
39912 * po/cs.po: Update Czech translation from translation project.
39913
39914 * po/sv.po: Update Swedish translation from translation project.
39915
39916 2013-07-27 David S. Miller <davem@davemloft.net>
39917
39918 * po/eo.po: Update Esperanto translation from translation project.
39919
39920 * po/vi.po: Update Vietnamese translation from translation project.
39921
39922 * po/de.po: Update German translation from translation project.
39923
39924 2013-07-26 David S. Miller <davem@davemloft.net>
39925
39926 * po/bg.po: Update Bulgarian translation from translation project.
39927
39928 * po/nl.po: Update Dutch translation from translation project.
39929 * po/pl.po: Update Polish translation from translation project.
39930 * po/ru.po: Update Russian translation from translation project.
39931
39932 2013-07-24 David S. Miller <davem@davemloft.net>
39933
39934 * po/libc.pot: Update.
39935
39936 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39937
39938 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
39939 variable page size.
39940 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
39941 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
39942 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
39943
39944 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39945
39946 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
39947
39948 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39949 Andreas Schwab <schwab@suse.de>
39950 Roland McGrath <roland@hack.frob.com>
39951 Joseph Myers <joseph@codesourcery.com>
39952 Carlos O'Donell <carlos@redhat.com>
39953
39954 [BZ #15755]
39955 * config.h.in: Define HAVE_PT_CHOWN.
39956 * config.make.in (build-pt-chown): New variable.
39957 * configure.in (--enable-pt_chown): New configure option.
39958 * configure: Regenerate.
39959 * login/Makefile: Include Makeconfig. Build pt_chown only if
39960 build-pt-chown is enabled.
39961 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
39962 pt_chown to fix pty ownership.
39963 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
39964 CLOSE_ALL_FDS.
39965 * manual/install.texi (Configuring and compiling): Mention
39966 --enable-pt_chown. Add @findex for grantpt.
39967 * INSTALL: Regenerate.
39968
39969 2013-07-20 David S. Miller <davem@davemloft.net>
39970
39971 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
39972 difference between 32-bit and 64-bit.
39973
39974 2013-07-15 Carlos O'Donell <carlos@redhat.com>
39975
39976 [BZ #15711]
39977 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
39978 Avoid system header dependency with -ffreestanding.
39979 ($(objpfx)bits/syscall%d): Likewise.
39980
39981 2013-07-13 David S. Miller <davem@davemloft.net>
39982
39983 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
39984 underflows from atanl/atan2l due to bug 15319.
39985 (casinh_test_data): Likewise.
39986
39987 2013-07-07 David S. Miller <davem@davemloft.net>
39988
39989 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
39990
39991 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
39992
39993 * sysdeps/i386/fpu/libm-test-ulps: Update.
39994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39995
39996 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39997
39998 * configure.in (--enable-lock-elision): Fix message text.
39999 * INSTALL: Regenerate.
40000 * configure: Regenerate.
40001
40002 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40003
40004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40005
40006 2013-07-03 Andreas Jaeger <aj@suse.de>
40007
40008 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
40009 define.
40010 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
40011 (ptrace_peeksiginfo_args): Add.
40012 (__ptrace_peeksiginfo_flags): Add.
40013 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40014 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40015 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40016
40017 2013-07-03 Allan McRae <allan@archlinux.org>
40018
40019 * sysdeps/i386/fpu/libm-test-ulps: Update.
40020
40021 2013-07-02 David S. Miller <davem@davemloft.net>
40022
40023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40024
40025 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
40026
40027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40028
40029 2013-07-02 Joseph Myers <joseph@codesourcery.com>
40030
40031 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40033
40034 2013-07-02 Andi Kleen <ak@linux.intel.com>
40035
40036 * config.h.in (ENABLE_LOCK_ELISION): Add.
40037 * configure.in (--enable-lock-elision): Add option.
40038 * manual/install.texi: Document --enable lock elision.
40039 * configure: Regenerate
40040 * INSTALL: Regenerate.
40041
40042 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
40043
40044 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
40045 SSE4.2 strcasecmp for libc.a.
40046 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
40047
40048 2013-07-02 Joseph Myers <joseph@codesourcery.com>
40049
40050 [BZ #13304]
40051 * soft-fp/op-common.h (_FP_FMA): New macro.
40052 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
40053 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
40054 (_FP_MUL_MEAT_1_imm): ... here.
40055 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
40056 (_FP_MUL_MEAT_1_wide): ... here.
40057 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
40058 (_FP_MUL_MEAT_1_hard): ... here.
40059 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
40060 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
40061 (_FP_MUL_MEAT_2_wide): ... here.
40062 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
40063 (_FP_MUL_MEAT_2_wide_3mul): ... here.
40064 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
40065 (_FP_MUL_MEAT_2_gmp): ... here.
40066 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
40067 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
40068 (_FP_MUL_MEAT_4_wide): ... here.
40069 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
40070 (_FP_MUL_MEAT_4_gmp): ... here.
40071 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
40072 (_FP_WFRACBITS_DW_S): Likewise.
40073 (_FP_WFRACXBITS_DW_S): Likewise.
40074 (_FP_HIGHBIT_DW_S): Likewise.
40075 (FP_FMA_S): Likewise.
40076 (_FP_FRAC_HIGH_DW_S): Likewise.
40077 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
40078 (_FP_WFRACBITS_DW_D): Likewise.
40079 (_FP_WFRACXBITS_DW_D): Likewise.
40080 (_FP_HIGHBIT_DW_D): Likewise.
40081 (FP_FMA_D): Likewise.
40082 (_FP_FRAC_HIGH_DW_D): Likewise.
40083 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
40084 (_FP_WFRACBITS_DW_E): Likewise.
40085 (_FP_WFRACXBITS_DW_E): Likewise.
40086 (_FP_HIGHBIT_DW_E): Likewise.
40087 (FP_FMA_E): Likewise.
40088 (_FP_FRAC_HIGH_DW_E): Likewise.
40089 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
40090 (_FP_WFRACBITS_DW_Q): Likewise.
40091 (_FP_WFRACXBITS_DW_Q): Likewise.
40092 (_FP_HIGHBIT_DW_Q): Likewise.
40093 (FP_FMA_Q): Likewise.
40094 (_FP_FRAC_HIGH_DW_Q): Likewise.
40095 * soft-fp/fmasf4.c: New file.
40096 * soft-fp/fmadf4.c: Likewise.
40097 * soft-fp/fmatf4.c: Likewise.
40098
40099 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40100
40101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
40102 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
40103 Silvermont.
40104 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
40105 macro.
40106 (index_Slow_SSE4_2): Likewise.
40107 (index_Prefer_PMINUB_for_stringop): Likewise.
40108 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
40109 bit_Slow_SSE4_2 is set.
40110 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40111 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40112
40113 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40114
40115 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
40116 rtld_global._dl_hwcap2.
40117 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
40118 POWER8.
40119 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
40120 POWER8 feature descriptions defined in _dl_hwcap2.
40121 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
40122 string handling for POWER8 feature bits.
40123 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
40124 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
40125 _dl_powerpc_cap_flags.
40126 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
40127 * sysdeps/powerpc/rtld-global-offsets.sym
40128 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
40129 _dl_hwcap2 in the rtld_global_ro structure.
40130
40131 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40132
40133 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
40134 hardware capabilities in support of AT_HWCAP2.
40135 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
40136 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
40137 GLRO(dl_hwcap2).
40138 (_dl_show_auxv): Add support for calling _dl_procinfo to display
40139 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
40140 explicitly the unknown a_type display mechanism is used.
40141 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
40142 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
40143 struct member.
40144 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
40145 to macro prototype for AT_HWCAP2 support.
40146 * sysdeps/i386/dl-procinfo.h: Likewise.
40147 * sysdeps/s390/dl-procinfo.h: Likewise.
40148 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
40149 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
40150 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
40151 return -1 for unknown a_type display fallback.
40152 * sysdeps/sparc/dl-procinfo.h: Likewise.
40153 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
40154 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
40155
40156 2013-06-28 Joseph Myers <joseph@codesourcery.com>
40157
40158 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
40159 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
40160
40161 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
40162
40163 [BZ #12492]
40164 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
40165 mprotect making __stack_prot writable.
40166
40167 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
40168 Joseph Myers <joseph@codesourcery.com>
40169
40170 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
40171 as being properly aligned.
40172
40173 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
40174
40175 * dlfcn/modstatic5.c: New file.
40176 * dlfcn/tststatic5.c: New file.
40177 * dlfcn/Makefile (tests): Add tststatic5.
40178 (tests-static): Likewise.
40179 (modules-names): Add modstatic5.
40180 (tststatic5-ENV): New variable.
40181 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
40182
40183 [BZ #15022]
40184 * elf/dl-support.c (_dl_main_map): New variable.
40185 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
40186 (_dl_nns, _dl_load_adds): Set to 1.
40187 (_dl_initial_searchlist): Refer to _dl_main_map.
40188 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
40189 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
40190 call to _dl_get_origin.
40191 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
40192 around call_map.
40193 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
40194 * dlfcn/modstatic3.c: New file.
40195 * dlfcn/tststatic3.c: New file.
40196 * dlfcn/tststatic4.c: New file.
40197 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
40198 (tests-static): Likewise.
40199 (modules-names): Add modstatic3.
40200 (tststatic3-ENV, tststatic4-ENV): New variables.
40201 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
40202 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
40203
40204 2013-06-26 Joseph Myers <joseph@codesourcery.com>
40205
40206 * configure.in (CC): Require GCC version 4.4 or later.
40207 * configure: Regenerated.
40208 * manual/install.texi (Tools for Compilation): Update GCC version
40209 requirement.
40210 * INSTALL: Regenerated.
40211
40212 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40213
40214 [BZ #15674]
40215 * string/test-memcmp.c (check2): New.
40216 (main): Call check2.
40217
40218 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
40219
40220 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
40221
40222 [BZ #15022]
40223 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
40224 over to...
40225 (dl_open_worker) [!SHARED]: ... here.
40226
40227 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40228
40229 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
40230
40231 2013-06-25 Richard Henderson <rth@redhat.com>
40232
40233 * locale/programs/locarchive.c: Include <libc-internal.h>
40234
40235 2013-06-25 Joseph Myers <joseph@codesourcery.com>
40236
40237 * manual/texinfo.tex: Update to version 2013-06-21.17, with
40238 trailing whitespace removed.
40239
40240 2013-06-24 Mike Frysinger <vapier@gentoo.org>
40241
40242 [BZ #10283]
40243 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
40244 * locale/programs/locarchive.c: Include libc-mmap.h.
40245 (prepare_address_space): Take two new outputs (the mmap base and len).
40246 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
40247 values.
40248 (create_archive): Declare new mmap base and len values for
40249 prepare_address_space, and store the result in ah.
40250 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
40251 (enlarge_archive): If ah->mmap_base is not NULL, use that and
40252 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40253 Declare new mmap base and len values for
40254 prepare_address_space, and store the result in new_ah.
40255 (open_archive): Declare new mmap base and len values for
40256 prepare_address_space, and store the result in ah.
40257 (close_archive): If ah->mmap_base is not NULL, use that and
40258 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
40259 * sysdeps/generic/libc-mmap.h: New file.
40260
40261 2013-06-24 Mike Frysinger <vapier@gentoo.org>
40262
40263 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
40264 (ALIGN_UP): Likewise.
40265 (PTR_ALIGN_DOWN): Likewise.
40266 (PTR_ALIGN_UP): Likewise.
40267
40268 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40269
40270 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
40271 entry mapped to PPC_PLATFORM_POWER8.
40272 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
40273 POWER8.
40274 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
40275 (_dl_string_platform): Add case for exporting platform position for
40276 POWER8.
40277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
40278 search path to sysdeps/powerpc/powerpc32/power8 directory.
40279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
40280 search path to sysdeps/powerpc/powerpc64/power8 directory.
40281 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
40282 power7 directories.
40283 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
40284 power7 directories.
40285
40286 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
40287
40288 * INSTALL: Regenerate.
40289
40290 * nscd/connections.c (nscd_init): Fix comment.
40291
40292 2013-06-22 Joseph Myers <joseph@codesourcery.com>
40293
40294 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
40295
40296 [BZ #15667]
40297 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
40298 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
40299
40300 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
40301
40302 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
40303 DL_DST_REQ_STATIC.
40304 (DL_DST_REQ_STATIC): Remove macro.
40305
40306 2013-06-21 Joseph Myers <joseph@codesourcery.com>
40307
40308 [BZ #7006]
40309 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
40310 with a shift of 0 bits.
40311
40312 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
40313
40314 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
40315 $(tststatic-ENV).
40316
40317 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40318
40319 [BZ #15655]
40320 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
40321
40322 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40323
40324 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
40325 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
40326 accepts -fno-tree-loop-distribute-patterns.
40327 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
40328 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
40329 recursive call.
40330 * string/memset.c (memset): Likewise.
40331 * string/test-memmove.c (simple_memmove): Disable loop transformation
40332 to library calls.
40333 * string/test-memset.c (simple_memset): Likewise.
40334 * benchtests/bench-memmove.c (simple_memmove): Likewise.
40335 * benchtests/bench-memset.c (simple_memset): Likewise.
40336 * configure: Regenerated.
40337
40338 2013-06-20 Joseph Myers <joseph@codesourcery.com>
40339
40340 * math/test-misc.c (main): Ignore fesetround failure when failures
40341 of subsequent rounding tests would be ignored.
40342
40343 [BZ #15654]
40344 * math/fedisblxcpt.c (fedisableexcept): Return 0.
40345 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
40346 * math/fegetenv.c (__fegetenv): Return 0.
40347 * math/fegetexcept.c (fegetexcept): Return 0.
40348 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
40349 FE_TONEAREST.
40350 * math/feholdexcpt.c (feholdexcept): Return 0.
40351 * math/fesetenv.c (__fesetenv): Return 0.
40352 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
40353 argument FE_TONEAREST.
40354 * math/feupdateenv.c (__feupdateenv): Return 0.
40355 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
40356
40357 2013-06-18 Roland McGrath <roland@hack.frob.com>
40358
40359 * elf/rtld-Rules (rtld-compile-command.S): New variable.
40360 (rtld-compile-command.s, rtld-compile-command.c): New variables.
40361 ($(objpfx)rtld-%.os rules): Use them.
40362
40363 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40364
40365 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
40366 fields.
40367
40368 2013-06-17 Roland McGrath <roland@hack.frob.com>
40369
40370 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
40371 length of target pattern, then descending length of dependency pattern.
40372 * configure.in (AWK): Require gawk 3.1.2 or newer.
40373 * manual/install.texi (Tools for Compilation): Say that we do.
40374 * configure: Regenerated.
40375
40376 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
40377 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
40378 * scripts/sysd-rules.awk: ... this new script.
40379 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
40380 than a glob-style pattern.
40381
40382 2013-06-17 Joseph Myers <joseph@codesourcery.com>
40383
40384 * math/test-misc.c (main): Do not treat incorrectly rounded
40385 conversions as failure unless ROUNDING_TESTS passes.
40386
40387 2013-06-15 Joseph Myers <joseph@codesourcery.com>
40388
40389 [BZ #15631]
40390 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
40391 restore exception state around main square root computation, then
40392 check for inexactness explicitly.
40393
40394 * math/libm-test.inc (fma_test_data): Add another test.
40395
40396 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40397
40398 * manual/threads.texi (Non-POSIX Extensions): New document
40399 node. Document pthread_getattr_default_np and
40400 pthread_setattr_default_np.
40401
40402 * Versions.def (libpthread): Add GLIBC_2.18.
40403 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
40404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40405 Likewise.
40406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40407 Likewise.
40408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40409 Likewise.
40410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40411 Likewise.
40412 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
40413 Likewise.
40414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40415 Likewise.
40416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40417 Likewise.
40418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40419 Likewise.
40420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40421 Likewise.
40422
40423 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40424
40425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40426 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
40427
40428 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40429 H.J. Lu <hjl.tools@gmail.com>
40430
40431 [BZ #15627]
40432 * sysdeps/x86_64/rtld-memset.c: Remove file.
40433 * sysdeps/x86_64/rtld-memset.S: New file.
40434
40435 2013-06-14 Joseph Myers <joseph@codesourcery.com>
40436
40437 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
40438 (test_in_one_mode): Take arguments for whether the rounding mode
40439 is supported for each floating-point type.
40440 (do_test): Pass new arguments to test_in_one_mode using
40441 ROUNDING_TESTS.
40442
40443 2013-06-13 Roland McGrath <roland@hack.frob.com>
40444
40445 * posix/tst-waitid.c (do_test): Distinguish different instances of
40446 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
40447 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
40448 before entering the kernel for waitpid.
40449
40450 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
40451
40452 * NEWS: Fix note on clock function precision. Text by Roland
40453 McGrath.
40454
40455 2013-06-13 Roland McGrath <roland@hack.frob.com>
40456
40457 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
40458 it into place only when and if the sanity check passes.
40459
40460 2013-06-13 Joseph Myers <joseph@codesourcery.com>
40461
40462 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
40463 output for whether conversion result is exact. Take argument
40464 indicating whether type is IBM long double.
40465 (round_for_all): Change need_exact field to ibm_ld.
40466 * stdlib/tst-strtod-round.c (struct exactness): New type.
40467 (struct test): Change bool ld_ok field to struct exactness exact.
40468 (TEST): Update all definitions for change to field.
40469 (tests): Regenerate array contents.
40470 (test_in_one_mode): Take pointer to new field instead of old ld_ok
40471 field value. Check for IBM long double here.
40472 (do_test): Update calls to test_in_one_mode.
40473
40474 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
40475
40476 [BZ #12515]
40477 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
40478 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
40479
40480 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40481
40482 [BZ #15605]
40483 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
40484 generated by the compiler on loop optimizations.
40485 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
40486 general definitions.
40487
40488 2013-06-12 Joseph Myers <joseph@codesourcery.com>
40489
40490 * math/bug-nextafter.c: Include <math-tests.h>.
40491 (main): Only test for exceptions if EXCEPTION_TESTS is true for
40492 the relevant type.
40493 * math/bug-nexttoward.c: Include <math-tests.h>.
40494 (main): Only test for exceptions if EXCEPTION_TESTS is true for
40495 the relevant type.
40496 * math/test-misc.c: Include <math-tests.h>.
40497 (main): Only test for exceptions if EXCEPTION_TESTS is true for
40498 the relevant type.
40499
40500 2013-06-12 Andreas Jaeger <aj@suse.de>
40501
40502 * po/ia.po: Update Interlingua translation from translation
40503 project.
40504
40505 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
40506
40507 * include/fenv.h: Include stdbool.h.
40508 (struct rm_ctx): New structure.
40509 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
40510 Define macro.
40511 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
40512 (SET_RESTORE_ROUNDF): Likewise.
40513 (SET_RESTORE_ROUNDL): Likewise.
40514 (SET_RESTORE_ROUND_NOEX): Likewise.
40515 (SET_RESTORE_ROUND_NOEXF): Likewise.
40516 (SET_RESTORE_ROUND_NOEXL): Likewise.
40517 (SET_RESTORE_ROUND_53BIT): Likewise.
40518 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
40519 (libc_feresetround_noexf_ctx): Likewise.
40520 (libc_feresetround_noexl_ctx): Likewise.
40521 (libc_feholdsetround_53bit_ctx): Likewise.
40522 (libc_feresetround_53bit_ctx): Likewise.
40523 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
40524 (libc_feholdexcept_setround_sse_ctx): New function.
40525 (libc_fesetenv_sse_ctx): Likewise.
40526 (libc_feupdateenv_sse_ctx): Likewise.
40527 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
40528 (libc_feholdexcept_setround_387_ctx): Likewise.
40529 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
40530 (libc_feholdsetround_387_prec_ctx): Likewise.
40531 (libc_feholdsetround_387_ctx): Likewise.
40532 (libc_feholdsetround_387_53bit_ctx): Likewise.
40533 (libc_feholdsetround_sse_ctx): Likewise.
40534 (libc_feresetround_sse_ctx): Likewise.
40535 (libc_feresetround_387_ctx): Likewise.
40536 (libc_feupdateenv_387_ctx): Likewise.
40537 (libc_feholdexcept_setroundf_ctx): Define macro.
40538 (libc_fesetenvf_ctx): Likewise.
40539 (libc_feupdateenvf_ctx): Likewise.
40540 (libc_feholdsetroundf_ctx): Likewise.
40541 (libc_feresetroundf_ctx): Likewise.
40542 (libc_feholdexcept_setround_ctx): Likewise.
40543 (libc_fesetenv_ctx): Likewise.
40544 (libc_feupdateenv_ctx): Likewise.
40545 (libc_feholdsetround_ctx): Likewise.
40546 (libc_feresetround_ctx): Likewise.
40547 (libc_feholdexcept_setroundl_ctx): Likewise.
40548 (libc_feupdateenvl_ctx): Likewise.
40549 (libc_feholdsetroundl_ctx): Likewise.
40550 (libc_feresetroundl_ctx): Likewise.
40551 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
40552 (libc_feresetround_53bit_ctx): Likewise.
40553
40554 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40555
40556 * locale/iso-639.def: Convert to UTF-8.
40557
40558 2013-06-11 Joseph Myers <joseph@codesourcery.com>
40559
40560 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
40561 (EXCEPTION_TESTS_double): Likewise.
40562 (EXCEPTION_TESTS_long_double): Likewise.
40563 (EXCEPTION_TESTS): Likewise.
40564 * math/libm-test.inc (test_exceptions): Only test exceptions if
40565 EXCEPTION_TESTS (FLOAT).
40566
40567 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40568
40569 * benchtests/Makefile (string-bench): Add strcpy_chk and
40570 stpcpy_chk.
40571 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
40572 * benchtests/bench-stpcpy_chk.c: New file.
40573 * benchtests/bench-strcpy_chk-ifunc.c: New file.
40574 * benchtests/bench-strcpy_chk.c: New file.
40575 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
40576 code.
40577 (do_test): Likewise.
40578
40579 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40580
40581 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
40582 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
40583 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
40584 with tabs where appropriate.
40585 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
40586 dl-procinfo.h.
40587 [PPC_PLATFORM_PPC440]: Likewise.
40588 [PPC_PLATFORM_PPC464]: Likewise.
40589 [PPC_PLATFORM_PPC476]: Likewise.
40590 (_dl_string_platform): Add support for detecting ppc405, ppc440,
40591 ppc464, and ppc476 platform strings merging from ports/
40592 dl-procinfo.h.
40593
40594 2013-06-11 Andreas Schwab <schwab@suse.de>
40595
40596 [BZ #14991]
40597 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
40598 (from_ucs4_idx): Regenerate.
40599 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
40600 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
40601 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
40602 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
40603 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
40604 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
40605 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
40606 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
40607 from FROM_LOOP and TO_LOOP specific macros.
40608 (BODY): Handle combining characters.
40609 * iconvdata/BIG5HKSCS.irreversible: Update.
40610 * iconvdata/BIG5HKSCS.precomposed: New file.
40611 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
40612 characters.
40613 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
40614
40615 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40616
40617 * include/sys/time.h: Fix indentation and add copyright header.
40618
40619 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
40620 (do_test): Likewise.
40621 * string/test-memchr.c (do_one_test): Likewise.
40622 (do_test): Likewise.
40623 * string/test-memcmp.c (do_one_test): Likewise.
40624 (do_test): Likewise.
40625 * string/test-memcpy.c (do_one_test): Likewise.
40626 (do_test): Likewise.
40627 * string/test-memmem.c (do_one_test): Likewise.
40628 (do_test): Likewise.
40629 (do_random_tests): Likewise.
40630 * string/test-memmove.c (do_one_test): Likewise.
40631 (do_test): Likewise.
40632 * string/test-memset.c (do_one_test): Likewise.
40633 (do_test): Likewise.
40634 * string/test-rawmemchr.c (do_one_test): Likewise.
40635 (do_test): Likewise.
40636 * string/test-strcasecmp.c (do_one_test): Likewise.
40637 (do_test): Likewise.
40638 * string/test-strcasestr.c (do_one_test): Likewise.
40639 (do_test): Likewise.
40640 * string/test-strcat.c (do_one_test): Likewise.
40641 (do_test): Likewise.
40642 * string/test-strchr.c (do_one_test): Likewise.
40643 (do_test): Likewise.
40644 * string/test-strcmp.c (do_one_test): Likewise.
40645 (do_test): Likewise.
40646 * string/test-strcpy.c (do_one_test): Likewise.
40647 (do_test): Likewise.
40648 * string/test-string.h: Likewise.
40649 (test_init): Likewise.
40650 * string/test-strlen.c (do_one_test): Likewise.
40651 (do_test): Likewise.
40652 * string/test-strncasecmp.c (do_one_test): Likewise.
40653 (do_test): Likewise.
40654 * string/test-strncat.c (do_one_test): Likewise.
40655 (do_test): Likewise.
40656 * string/test-strncmp.c (do_one_test): Likewise.
40657 (do_test_limit): Likewise.
40658 (do_test): Likewise.
40659 * string/test-strncpy.c (do_one_test): Likewise.
40660 (do_test): Likewise.
40661 * string/test-strnlen.c (do_one_test): Likewise.
40662 (do_test): Likewise.
40663 * string/test-strpbrk.c (do_one_test): Likewise.
40664 (do_test): Likewise.
40665 * string/test-strrchr.c (do_one_test): Likewise.
40666 (do_test): Likewise.
40667 * string/test-strspn.c (do_one_test): Likewise.
40668 (do_test): Likewise.
40669 * string/test-strstr.c (do_one_test): Likewise.
40670 (do_test): Likewise.
40671
40672 * benchtests/Makefile (string-bench): Add string benchmarks.
40673 * benchtests/bench-bcopy-ifunc.c: New file.
40674 * benchtests/bench-bcopy.c: New file.
40675 * benchtests/bench-bzero-ifunc.c: New file.
40676 * benchtests/bench-bzero.c: New file.
40677 * benchtests/bench-memccpy-ifunc.c: New file.
40678 * benchtests/bench-memccpy.c: New file.
40679 * benchtests/bench-memchr-ifunc.c: New file.
40680 * benchtests/bench-memchr.c: New file.
40681 * benchtests/bench-memcmp-ifunc.c: New file.
40682 * benchtests/bench-memcmp.c: New file.
40683 * benchtests/bench-memmem-ifunc.c: New file.
40684 * benchtests/bench-memmem.c: New file.
40685 * benchtests/bench-memmove-ifunc.c: New file.
40686 * benchtests/bench-memmove.c: New file.
40687 * benchtests/bench-mempcpy-ifunc.c: New file.
40688 * benchtests/bench-mempcpy.c: New file.
40689 * benchtests/bench-memset-ifunc.c: New file.
40690 * benchtests/bench-memset.c: New file.
40691 * benchtests/bench-rawmemchr-ifunc.c: New file.
40692 * benchtests/bench-rawmemchr.c: New file.
40693 * benchtests/bench-stpcpy-ifunc.c: New file.
40694 * benchtests/bench-stpcpy.c: New file.
40695 * benchtests/bench-stpncpy-ifunc.c: New file.
40696 * benchtests/bench-stpncpy.c: New file.
40697 * benchtests/bench-strcasecmp-ifunc.c: New file.
40698 * benchtests/bench-strcasecmp.c: New file.
40699 * benchtests/bench-strcasestr-ifunc.c: New file.
40700 * benchtests/bench-strcasestr.c: New file.
40701 * benchtests/bench-strcat-ifunc.c: New file.
40702 * benchtests/bench-strcat.c: New file.
40703 * benchtests/bench-strchr-ifunc.c: New file.
40704 * benchtests/bench-strchr.c: New file.
40705 * benchtests/bench-strchrnul-ifunc.c: New file.
40706 * benchtests/bench-strchrnul.c: New file.
40707 * benchtests/bench-strcmp-ifunc.c: New file.
40708 * benchtests/bench-strcmp.c: New file.
40709 * benchtests/bench-strcpy-ifunc.c: New file.
40710 * benchtests/bench-strcpy.c: New file.
40711 * benchtests/bench-strcspn-ifunc.c: New file.
40712 * benchtests/bench-strcspn.c: New file.
40713 * benchtests/bench-strlen-ifunc.c: New file.
40714 * benchtests/bench-strlen.c: New file.
40715 * benchtests/bench-strncasecmp-ifunc.c: New file.
40716 * benchtests/bench-strncasecmp.c: New file.
40717 * benchtests/bench-strncat-ifunc.c: New file.
40718 * benchtests/bench-strncat.c: New file.
40719 * benchtests/bench-strncmp-ifunc.c: New file.
40720 * benchtests/bench-strncmp.c: New file.
40721 * benchtests/bench-strncpy-ifunc.c: New file.
40722 * benchtests/bench-strncpy.c: New file.
40723 * benchtests/bench-strnlen-ifunc.c: New file.
40724 * benchtests/bench-strnlen.c: New file.
40725 * benchtests/bench-strpbrk-ifunc.c: New file.
40726 * benchtests/bench-strpbrk.c: New file.
40727 * benchtests/bench-strrchr-ifunc.c: New file.
40728 * benchtests/bench-strrchr.c: New file.
40729 * benchtests/bench-strspn-ifunc.c: New file.
40730 * benchtests/bench-strspn.c: New file.
40731 * benchtests/bench-strstr-ifunc.c: New file.
40732 * benchtests/bench-strstr.c: New file.
40733
40734 * benchtests/Makefile: Disable parallel execution of targets.
40735 (string-bench): Add memcpy.
40736 (benchset): New variable to store a list of benchmark sets.
40737 (bench-func): Renamed from bench.
40738 (bench-set): New target.
40739 (bench): Depend on bench-func and bench-set.
40740 * benchtests/README: Add section on benchmark sets.
40741 * benchtests/bench-memcpy-ifunc.c: New file.
40742 * benchtests/bench-memcpy.c: New file.
40743 * benchtests/bench-string.h: New file.
40744
40745 2013-06-11 Andreas Schwab <schwab@suse.de>
40746
40747 [BZ #15577]
40748 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
40749 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
40750 values in the triple.
40751 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
40752 terminator in the group key.
40753
40754 2013-06-11 Andreas Jaeger <aj@suse.de>
40755
40756 * po/zh_TW.po: Update Chinese (traditional) translation from
40757 translation project.
40758
40759 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40760
40761 * include/time.h (__clock_gettime): Add libc_hidden_proto.
40762 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
40763 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
40764 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40765 (clock_getcpuclockid): Likewise.
40766 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
40767 Add weak_alias and libc_hidden_def.
40768 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
40769 * rt/clock_gettime.c (clock_gettime): Rename to
40770 __clock_gettime. Add weak_alias and libc_hidden_def.
40771 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
40772 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
40773 __clock_nanosleep. Add weak_alias and libc_hidden_def.
40774 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
40775 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
40776 Likewise.
40777 * rt/clock_settime.c (clock_settime): Rename to
40778 __clock_settime. Add weak_alias and libc_hidden_def.
40779 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
40780
40781 2013-06-10 Joseph Myers <joseph@codesourcery.com>
40782
40783 * mach/err_boot.sub: Remove trailing whitespace.
40784 * mach/err_ipc.sub: Likewise.
40785 * mach/err_mach.sub: Likewise.
40786
40787 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
40788 (ROUNDING_TESTS_double): Likewise.
40789 (ROUNDING_TESTS_long_double): Likewise.
40790 (ROUNDING_TESTS): Likewise.
40791 * math/libm-test.inc: Include <math-tests.h>.
40792 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
40793 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40794 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40795 (IF_ROUND_INIT_FE_UPWARD): Likewise.
40796
40797 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40798
40799 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
40800 of assigning.
40801
40802 2013-06-08 Joseph Myers <joseph@codesourcery.com>
40803
40804 * sysdeps/gnu/errlist.awk: Do not generate space at end of
40805 otherwise empty TRANS lines.
40806 * sysdeps/gnu/errlist.c: Regenerated.
40807
40808 * catgets/gencat.c (error_print): Use (void) in function
40809 definition.
40810 * crypt/crypt_util.c (__init_des): Likewise.
40811 * crypt/speeds.c (Stop): Likewise.
40812 (main): Likewise.
40813 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
40814 * inet/ruserpass.c (token): Likewise.
40815 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
40816 * intl/localealias.c (extend_alias_table): Likewise.
40817 * intl/plural-exp.c (init_germanic_plural): Likewise.
40818 * libio/fcloseall.c (__fcloseall): Likewise.
40819 * libio/genops.c (_IO_flush_all): Likewise.
40820 (_IO_flush_all_linebuffered): Likewise.
40821 (_IO_cleanup): Likewise.
40822 (_IO_iter_begin): Likewise.
40823 (_IO_iter_end): Likewise.
40824 (_IO_list_lock): Likewise.
40825 (_IO_list_unlock): Likewise.
40826 (_IO_list_resetlock): Likewise.
40827 * libio/getchar.c (getchar): Likewise.
40828 * libio/getchar_u.c (getchar_unlocked): Likewise.
40829 * libio/getwchar.c (getwchar): Likewise.
40830 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
40831 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
40832 * login/getpt.c (__getpt): Likewise.
40833 * login/tst-utmp.c (main): Likewise.
40834 * malloc/hooks.c (__malloc_check_init): Likewise.
40835 * malloc/malloc.c (__malloc_stats): Likewise.
40836 * malloc/mtrace.c (tr_break): Likewise.
40837 (mtrace): Likewise.
40838 (muntrace): Likewise.
40839 * misc/fstab.c (endfsent): Likewise.
40840 * misc/getclktck.c (__getclktck): Likewise.
40841 * misc/getdtsz.c (__getdtablesize): Likewise.
40842 * misc/gethostid.c (gethostid): Likewise.
40843 * misc/getpagesize.c (__getpagesize): Likewise.
40844 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
40845 (__get_nprocs): Likewise.
40846 (__get_phys_pages): Likewise.
40847 (__get_avphys_pages): Likewise.
40848 * misc/getttyent.c (getttyent): Likewise.
40849 (setttyent): Likewise.
40850 (endttyent): Likewise.
40851 * misc/getusershell.c (getusershell): Likewise.
40852 (endusershell): Likewise.
40853 (setusershell): Likewise.
40854 (initshells): Likewise.
40855 * misc/hsearch.c (__hdestroy): Likewise.
40856 * misc/sync.c (sync): Likewise.
40857 * misc/syslog.c (closelog_internal): Likewise.
40858 (closelog): Likewise.
40859 * misc/ttyslot.c (ttyslot): Likewise.
40860 * misc/vhangup.c (vhangup): Likewise.
40861 * posix/fork.c (__fork): Likewise.
40862 * posix/getegid.c (__getegid): Likewise.
40863 * posix/geteuid.c (__geteuid): Likewise.
40864 * posix/getgid.c (__getgid): Likewise.
40865 * posix/getpid.c (__getpid): Likewise.
40866 * posix/getppid.c (__getppid): Likewise.
40867 * posix/getuid.c (__getuid): Likewise.
40868 * posix/pause.c (pause): Likewise.
40869 * posix/setpgrp.c (setpgrp): Likewise.
40870 * posix/setsid.c (__setsid): Likewise.
40871 * posix/test-vfork.c (noop): Likewise.
40872 * resolv/gethnamaddr.c (_endhtent): Likewise.
40873 (_gethtent): Likewise.
40874 (ht_endhostent): Likewise.
40875 (gethostent): Likewise.
40876 (dns_service): Likewise.
40877 * stdlib/drand48.c (drand48): Likewise.
40878 * stdlib/lrand48.c (lrand48): Likewise.
40879 * stdlib/mrand48.c (mrand48): Likewise.
40880 * stdlib/rand.c (rand): Likewise.
40881 * stdlib/random.c (__random): Likewise.
40882 * stdlib/setenv.c (clearenv): Likewise.
40883 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
40884 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
40885 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
40886 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
40887 (__get_nprocs): Likewise.
40888 (__get_phys_pages): Likewise.
40889 (__get_avphys_pages): Likewise.
40890 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
40891 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
40892 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
40893 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
40894 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
40895 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
40896 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
40897 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
40898 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
40899 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
40900 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
40901 * sysdeps/mach/hurd/sync.c (sync): Likewise.
40902 * sysdeps/posix/clock.c (clock): Likewise.
40903 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
40904 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
40905 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
40906 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
40907 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
40908 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
40909 (__get_nprocs_conf): Likewise.
40910 (__get_phys_pages): Likewise.
40911 (__get_avphys_pages): Likewise.
40912 * time/clock.c (clock): Likewise.
40913 * time/tzset.c (__tzname_max): Likewise.
40914
40915 2013-06-07 Joseph Myers <joseph@codesourcery.com>
40916
40917 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
40918 (__bswap_32): Do not use "register".
40919 * crypt/crypt.c (_ufc_doit_r): Likewise.
40920 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40921 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40922 * gmon/gmon.c (__monstartup): Likewise.
40923 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
40924 * hurd/hurdmalloc.c (more_memory): Likewise.
40925 (malloc): Likewise.
40926 (free): Likewise.
40927 (realloc): Likewise.
40928 (malloc_fork_prepare): Likewise.
40929 (malloc_fork_parent): Likewise.
40930 (malloc_fork_child): Likewise.
40931 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
40932 (_svcauth_des): Likewise.
40933 * inet/inet_lnaof.c (inet_lnaof): Likewise.
40934 * inet/inet_net.c (inet_network): Likewise.
40935 * inet/inet_netof.c (inet_netof): Likewise.
40936 * inet/rcmd.c (__validuser2_sa): Likewise.
40937 * io/fts.c (fts_open): Likewise.
40938 (fts_load): Likewise.
40939 (fts_close): Likewise.
40940 (fts_read): Likewise.
40941 (fts_children): Likewise.
40942 (fts_build): Likewise.
40943 (fts_stat): Likewise.
40944 (fts_sort): Likewise.
40945 (fts_alloc): Likewise.
40946 (fts_lfree): Likewise.
40947 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
40948 (_IO_file_xsgetn): Likewise.
40949 (_IO_file_xsgetn_mmap): Likewise.
40950 * libio/iofopncook.c (_IO_cookie_read): Likewise.
40951 (_IO_cookie_write): Likewise.
40952 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
40953 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
40954 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
40955 * malloc/obstack.c (_obstack_begin): Likewise.
40956 (_obstack_begin_1): Likewise.
40957 (_obstack_newchunk): Likewise.
40958 (_obstack_allocated_p): Likewise.
40959 (obstack_free): Likewise.
40960 (_obstack_memory_used): Likewise.
40961 * misc/getttyent.c (getttynam): Likewise.
40962 (getttyent): Likewise.
40963 (skip): Likewise.
40964 (value): Likewise.
40965 * misc/getusershell.c (initshells): Likewise.
40966 * misc/syslog.c (__vsyslog_chk): Likewise.
40967 * misc/ttyslot.c (ttyslot): Likewise.
40968 * nis/nis_hash.c (__nis_hash): Likewise.
40969 * posix/fnmatch_loop.c (FCT): Likewise.
40970 * posix/getconf.c (print_all): Likewise.
40971 (main): Likewise.
40972 * posix/getopt.c (exchange): Likewise.
40973 * posix/glob.c (globfree): Likewise.
40974 (prefix_array): Likewise.
40975 (__glob_pattern_type): Likewise.
40976 * resolv/arpa/nameser.h (NS_GET16): Likewise.
40977 (NS_GET32): Likewise.
40978 (NS_PUT16): Likewise.
40979 (NS_PUT32): Likewise.
40980 * resolv/gethnamaddr.c (getanswer): Likewise.
40981 (gethostbyname2): Likewise.
40982 (gethostbyaddr): Likewise.
40983 (_gethtent): Likewise.
40984 (_gethtbyname2): Likewise.
40985 (_gethtbyaddr): Likewise.
40986 * resolv/ns_print.c (dst_s_get_int16): Likewise.
40987 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
40988 * resolv/res_init.c (__res_vinit): Likewise.
40989 (net_mask): Likewise.
40990 * resolv/res_mkquery.c (outchar): Likewise.
40991 (PRINT): Likewise.
40992 * stdio-common/printf_fp.c (outchar): Likewise.
40993 (PRINT): Likewise.
40994 * stdio-common/printf_fphex.c (outchar): Likewise.
40995 (PRINT): Likewise.
40996 * stdio-common/printf_size.c (outchar): Likewise.
40997 (PRINT): Likewise.
40998 * stdio-common/test_rdwr.c (main): Likewise.
40999 * stdio-common/tfformat.c (matches): Likewise.
41000 * stdio-common/vfprintf.c (outchar): Likewise.
41001 (printf_unknown): Likewise.
41002 (buffered_vfprintf): Likewise.
41003 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41004 * stdio-common/xbug.c (AppendToBuffer): Likewise.
41005 (ReadFile): Likewise.
41006 * stdlib/qsort.c (SWAP): Likewise.
41007 (_quicksort): Likewise.
41008 * stdlib/setenv.c (__add_to_environ): Likewise.
41009 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41010 * stdlib/strtol_l.c (__strtol_l): Likewise.
41011 * stdlib/tst-strtod.c (main): Likewise.
41012 * stdlib/tst-strtol.c (main): Likewise.
41013 * stdlib/tst-strtoll.c (main): Likewise.
41014 * string/bits/string2.h (__strcmp_cc): Likewise.
41015 (__strcmp_cg): Likewise.
41016 (__strcspn_c1): Likewise.
41017 (__strcspn_c2): Likewise.
41018 (__strcspn_c3): Likewise.
41019 (__strspn_c1): Likewise.
41020 (__strspn_c2): Likewise.
41021 (__strspn_c3): Likewise.
41022 (__strsep_1c): Likewise.
41023 (__strsep_2c): Likewise.
41024 (__strsep_3c): Likewise.
41025 * string/memccpy.c (__memccpy): Likewise.
41026 * string/stpcpy.c (__stpcpy): Likewise.
41027 * string/strcmp.c (strcmp): Likewise.
41028 * string/strrchr.c (strrchr): Likewise.
41029 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
41030 Likewise.
41031 * sysdeps/mach/hurd/getcwd.c
41032 (_hurd_canonicalize_directory_name_internal): Likewise.
41033 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
41034 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
41035 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
41036 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
41037 Likewise, in both definitions.
41038 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
41039 definitions.
41040 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
41041 64] (__bswap_64): Likewise.
41042 * time/test_time.c (main): Likewise.
41043 * time/tzfile.c (__tzfile_read): Likewise.
41044 (__tzfile_compute): Likewise.
41045 * time/tzset.c (__tzset_parse_tz): Likewise.
41046 (tzset_internal): Likewise.
41047 (compute_change): Likewise.
41048 * wcsmbs/wcscat.c (__wcscat): Likewise.
41049 * wcsmbs/wcschr.c (wcschr): Likewise.
41050 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
41051 * wcsmbs/wcscspn.c (wcscspn): Likewise.
41052 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
41053 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
41054 * wcsmbs/wcsspn.c (wcsspn): Likewise.
41055 * wcsmbs/wcsstr.c (wcsstr): Likewise.
41056 * wcsmbs/wmemchr.c (wmemchr): Likewise.
41057 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41058 * wcsmbs/wmemset.c (wmemset): Likewise.
41059
41060 2013-06-06 Joseph Myers <joseph@codesourcery.com>
41061
41062 * scripts/config.guess: Update to version 2013-05-16.
41063 * scripts/config.sub: Update to version 2013-04-24.
41064 * scripts/install-sh: Update to version 2011-11-20.07.
41065 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
41066 * scripts/move-if-change: Update to version 2012-01-06 07:23.
41067
41068 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
41069
41070 * debug/fgetws_u_chk.c: Fix leading whitespaces.
41071 * elf/sln.c: Likewise.
41072 * hurd/hurd/ioctl.h: Likewise.
41073 * hurd/hurdmalloc.c: Likewise.
41074 * hurd/xattr.c: Likewise.
41075 * include/shlib-compat.h: Likewise.
41076 * inet/ruserpass.c: Likewise.
41077 * libio/iofgets_u.c: Likewise.
41078 * libio/iofgetws_u.c: Likewise.
41079 * locale/programs/ld-identification.c: Likewise.
41080 * locale/programs/ld-time.c: Likewise.
41081 * mach/msg-destroy.c: Likewise.
41082 * nss/nss_files/files-netgrp.c: Likewise.
41083 * resolv/res_data.c: Likewise.
41084 * soft-fp/op-1.h: Likewise.
41085 * soft-fp/op-2.h: Likewise.
41086 * soft-fp/op-4.h: Likewise.
41087 * soft-fp/op-common.h: Likewise.
41088 * stdio-common/printf_fphex.c: Likewise.
41089 * stdlib/strtod_l.c: Likewise.
41090 * sunrpc/rpc/clnt.h: Likewise.
41091 * sysdeps/generic/framestate.c: Likewise.
41092 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41093 * sysdeps/i386/bsd-setjmp.S: Likewise.
41094 * sysdeps/i386/__longjmp.S: Likewise.
41095 * sysdeps/i386/setjmp.S: Likewise.
41096 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41097 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41098 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41099 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41100 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41101 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41102 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41103 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41104 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41105 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41106 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41107 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41108 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41109 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41110 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41111 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41112 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41113 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
41114 * sysdeps/ieee754/support.c: Likewise.
41115 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41116 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
41117 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
41118 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
41119 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
41120 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
41121 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
41122 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
41123 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
41124 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
41125 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
41126 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
41127 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
41128 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
41129 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
41130 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
41131 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41133
41134 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
41135
41136 * posix/transbug.c: Remove executable mode.
41137
41138 2013-06-05 Joseph Myers <joseph@codesourcery.com>
41139
41140 * crypt/speeds.c: Remove trailing whitespace.
41141 * dlfcn/default.c: Likewise.
41142 * elf/ifuncdep2.c: Likewise.
41143 * elf/ifuncmain1.c: Likewise.
41144 * elf/ifuncmain1vis.c: Likewise.
41145 * elf/testobj.h: Likewise.
41146 * elf/tst-stackguard1.c: Likewise.
41147 * gmon/sys/gmon.h: Likewise.
41148 * hurd/hurdmsg.c: Likewise.
41149 * hurd/new-fd.c: Likewise.
41150 * hurd/ports-get.c: Likewise.
41151 * iconvdata/ibm1008_420.c: Likewise.
41152 * inet/tst-getni1.c: Likewise.
41153 * inet/tst-getni2.c: Likewise.
41154 * libio/ioungetc.c: Likewise.
41155 * libio/wfiledoalloc.c: Likewise.
41156 * manual/libm-err-tab.pl: Likewise.
41157 * math/w_dremf.c: Likewise.
41158 * misc/ftruncate.c: Likewise.
41159 * posix/bug-glob2.c: Likewise.
41160 * posix/tst-pcre.c: Likewise.
41161 * posix/wait4.c: Likewise.
41162 * resolv/README: Likewise.
41163 * resolv/res_debug.h: Likewise.
41164 * resolv/tst-inet_ntop.c: Likewise.
41165 * setjmp/bug269-setjmp.c: Likewise.
41166 * soft-fp/extended.h: Likewise.
41167 * soft-fp/op-1.h: Likewise.
41168 * soft-fp/op-2.h: Likewise.
41169 * soft-fp/op-4.h: Likewise.
41170 * soft-fp/op-8.h: Likewise.
41171 * soft-fp/testit.c: Likewise.
41172 * stdio-common/bug16.c: Likewise.
41173 * stdlib/random.c: Likewise.
41174 * sunrpc/rpcsvc/rquota.x: Likewise.
41175 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
41176 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41177 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41178 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41179 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41180 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41181 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41182 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41183 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41184 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41185 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41186 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41187 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41188 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41189 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41190 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41191 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41192 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41193 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41194 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41195 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41196 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41197 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
41198 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41199 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41200 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41201 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41202 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41203 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41204 * sysdeps/ieee754/s_lib_version.c: Likewise.
41205 * sysdeps/mach/hurd/check_fds.c: Likewise.
41206 * sysdeps/mach/hurd/getsockname.c: Likewise.
41207 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
41208 * sysdeps/mach/hurd/recvfrom.c: Likewise.
41209 * sysdeps/powerpc/bits/link.h: Likewise.
41210 * sysdeps/powerpc/dl-procinfo.c: Likewise.
41211 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
41212 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
41213 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
41214 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41215 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41216 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
41217 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41218 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
41219 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41220 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
41221 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41222 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
41223 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41224 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41225 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41226 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41227 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41228 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41229 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41230 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41231 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
41232 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41233 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41234 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
41235 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41236 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41237 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41238 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41239 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41240 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41241 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41242 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41243 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41244 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
41245 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41246 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
41247 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41248 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
41249 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
41250 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
41251 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
41252 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
41253 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
41254 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41255 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
41256 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
41257 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41258 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
41259 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
41260 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41261 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41262 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41263 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41264 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
41265 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
41266 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
41267 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41268 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
41269 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
41270 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
41271 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
41272 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
41273 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41274 * sysdeps/powerpc/sysdep.h: Likewise.
41275 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41276 * sysdeps/s390/s390-64/sub_n.S: Likewise.
41277 * sysdeps/sh/dl-trampoline.S: Likewise.
41278 * sysdeps/sh/memset.S: Likewise.
41279 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
41280 * sysdeps/sh/strlen.S: Likewise.
41281 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
41282 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
41283 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
41284 * sysdeps/sparc/sparc32/rem.S: Likewise.
41285 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
41286 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
41287 * sysdeps/sparc/sparc32/strchr.S: Likewise.
41288 * sysdeps/sparc/sparc32/udiv.S: Likewise.
41289 * sysdeps/sparc/sparc32/urem.S: Likewise.
41290 * sysdeps/sparc/sparc64/add_n.S: Likewise.
41291 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41292 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
41293 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
41294 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
41295 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
41296 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
41297 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
41298 * sysdeps/unix/bsd/times.c: Likewise.
41299 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
41300 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
41301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41304 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
41305 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
41306 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
41307 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
41308 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
41309 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
41310 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
41311 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
41312 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41313 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
41314 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
41315 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
41316 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
41317 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
41318 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
41319 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
41320 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
41321 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41322 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
41323 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
41324 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41325 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
41326 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41327 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
41328 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
41329 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
41330 * sysdeps/x86_64/strcspn.S: Likewise.
41331
41332 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41333
41334 * locale/C-translit.h: Revert #include <stdint.h> because this is a
41335 generated file. Regenerate properly from gen-translit.pl.
41336 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
41337 locale/C-translit.h.
41338
41339 2013-06-05 Andreas Schwab <schwab@suse.de>
41340
41341 [BZ #15100]
41342 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
41343 week as 6 instead of -1.
41344 * time/tst-strptime.c (day_tests): Add test case.
41345
41346 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
41347
41348 * sysdeps/generic/math_private.h
41349 (libc_feholdexcept_setround_53bit): Replace with
41350 libc_feholdsetround_53bit.
41351 (libc_feupdateenv_53bit): Replace with
41352 libc_feresetround_53bit.
41353 (SET_RESTORE_ROUND_53BIT): Adjust.
41354
41355 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
41356
41357 * string/test-strchrnul.c: Add copyright header.
41358
41359 * posix/tst-getaddrinfo4.c: Increase test timeout.
41360
41361 2013-06-03 Carlos O'Donell <carlos@redhat.com>
41362
41363 [BZ #15536]
41364 * math/libm-test.inc (MAX_EXP): Remove
41365 (MIN_EXP): Define.
41366 (ulp): Use MIN_EXP - MANT_DIG.
41367 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
41368
41369 2013-05-31 Carlos O'Donell <carlos@redhat.com>
41370
41371 * po/be.po: Revert last change.
41372 * po/zh_CN.po: Likewise.
41373 * po/header.pot: Likewise.
41374
41375 2013-05-31 Joseph Myers <joseph@codesourcery.com>
41376
41377 * Makefile ($(common-objpfx)linkobj/libc.so): Define
41378 link-libc-deps to empty as target-specific variable.
41379 * Makerules (link-libc-args): New variable.
41380 (libc-for-link): Likewise.
41381 (link-libc-deps): Likewise.
41382 (lib%.so): Depend on $(link-libc-deps). Link with
41383 $(link-libc-args).
41384 (build-module): Link with $(link-libc-args).
41385 (build-module-asneeded): Likewise.
41386 (build-module-helper-objlist): Filter out $(link-libc-deps) from
41387 list of objects.
41388 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
41389 target-specific variable.
41390 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
41391 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
41392 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
41393 libc.
41394 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
41395 libc and ld.so.
41396 ($(objpfx)libpcprofile.so): Likewise.
41397 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
41398 libc_nonshared.a.
41399 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
41400 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
41401 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
41402 $(link-libc-deps).
41403 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
41404 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
41405 * login/Makefile ($(objpfx)libutil.so): Likewise.
41406 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
41407 * math/Makefile ($(objpfx)libm.so): Likewise.
41408 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
41409 $(objpfx)libnsl.so): Define libc-for-link as target-specific
41410 variable instead of depending directly on libc.
41411 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
41412 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
41413 $(link-libc-deps).
41414 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
41415 libc.
41416 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
41417 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
41418 ($(objpfx)libanl.so): Likewise.
41419 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
41420 ld.so.
41421 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
41422 $(link-libc-deps).
41423 * sysdeps/i386/fpu/Makefile: Remove file.
41424 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
41425 ($(objpfx)libm.so): Remove dependency on ld.so.
41426
41427 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
41428
41429 [BZ # 15553]
41430 * nis/yp_xdr.c (XDRMAXNAME): Define.
41431 (XDRMAXRECORD): Define.
41432 (xdr_domainname): Use XDRMAXNAME.
41433 (xdr_mapname): Likewise.
41434 (xdr_peername): Likewise.
41435 (xdr_keydat): Use XDRMAXRECORD.
41436 (xdr_valdat): Likewise.
41437
41438 2013-05-30 Jeff Law <law@redhat.com>
41439
41440 [BZ #14256]
41441 * manual/errno.texi (ESTALE): Update to account for more than
41442 just NFS file systems.
41443 * sysdeps/gnu/errlist.c: Regenerated.
41444
41445 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41446
41447 [BZ #15465]
41448 * elf/Makefile (tests): Add tst-null-argv.
41449 (modules-names): Add tst-null-argv-lib.
41450 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
41451 (tst-null-argv-ENV): Set environment for tst-null-argv.
41452 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
41453 (RTLD_PROGNAME): New macro.
41454 * elf/tst-null-argv.c: New test case.
41455 * elf/tst-null-argv-lib.c: Library for test case.
41456 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
41457 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
41458 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
41459 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
41460 * elf/dl-init.c (call_init): Likewise.
41461 (_dl_init): Likewise.
41462 * elf/dl-load.c (print_search_path): Likewise.
41463 (_dl_map_object): Likewise.
41464 * elf/dl-lookup.c (do_lookup_x): Likewise.
41465 (add_dependency): Likewise.
41466 (_dl_lookup_symbol_x): Likewise.
41467 (_dl_debug_bindings): Likewise.
41468 * elf/dl-open.c (_dl_show_scope): Likewise.
41469 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41470 * elf/dl-version.c (match_symbol): Likewise.
41471 (_dl_check_map_versions): Likewise.
41472 * elf/rtld.c (dl_main): Likewise.
41473 (print_unresolved): Use RTLD_PROGNAME.
41474 (print_missing_version): Likewise.
41475 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
41476 (elf_machine_rela): Likewise.
41477 * sysdeps/powerpc/powerpc32/dl-machine.c
41478 (__process_machine_rela): Likewise.
41479 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41480 Likewise.
41481 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41482 Likewise.
41483 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41484 Likewise.
41485 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41486 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
41487 Likewise.
41488 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
41489 Likewise.
41490 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41491
41492 2013-05-28 Carlos O'Donell <carlos@redhat.com>
41493
41494 * po/be.po: Add descriptive title.
41495 * po/zh_CN.po: Likewise.
41496 * po/header.pot: Likewise.
41497
41498 2013-05-28 Mike Frysinger <vapier@gentoo.org>
41499
41500 * locale/programs/locarchive.c (create_archive): Inlucde fname in
41501 error message.
41502 (enlarge_archive): Likewise.
41503
41504 2013-05-28 Ben North <ben@redfrontdoor.org>
41505
41506 * manual/arith.texi (frexp): It is the magnitude of the return
41507 value which lies in [0.5, 1), not the return value itself.
41508
41509 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41510
41511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41512
41513 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
41514
41515 * stdio-common/bug26.c (main): Correct fscanf template.
41516
41517 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
41518 declare _dl_skip_args.
41519
41520 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
41521 Don't declare.
41522
41523 * manual/platform.texi: Add missing @end deftypefun.
41524
41525 2013-05-24 Joseph Myers <joseph@codesourcery.com>
41526
41527 [BZ #15529]
41528 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
41529 bit of mantissa of 2^16382.
41530 * math/libm-test.inc (hypot_test_data): Add more tests.
41531
41532 * math/libm-test.inc: Add drem and pow10 to list of tested
41533 functions.
41534 (pow10_test): New function.
41535 (drem_test): Likewise.
41536 (drem_test_tonearest): Likewise.
41537 (drem_test_towardzero): Likewise.
41538 (drem_test_downward): Likewise.
41539 (drem_test_upward): Likewise.
41540 (main): Call the new functions.
41541
41542 * math/libm-test.inc (finite_test_data): Remove.
41543 (finite_test): Run tests from isfinite_test_data.
41544 (gamma_test_data): Remove.
41545 (gamma_test): Run tests from lgamma_test_data.
41546 * sysdeps/i386/fpu/libm-test-ulps: Update.
41547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41548
41549 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41550
41551 * manual/platform.texi: Add PowerPC PPR function set documentation.
41552 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
41553 implementation.
41554
41555 2013-05-24 Carlos O'Donell <carlos@redhat.com>
41556
41557 * math/libm-test.inc (MAX_EXP): Define.
41558 (ULPDIFF): Define.
41559 (ulp): New function.
41560 (check_float_internal): Use ULPDIFF.
41561 (cpow_test): Disable failing test.
41562 (check_ulp): Test ulp() implemetnation.
41563 (main): Call check_ulp before starting tests.
41564
41565 2013-05-24 Joseph Myers <joseph@codesourcery.com>
41566
41567 * math/gen-libm-test.pl (generate_testfile): Do not handle
41568 START_DATA and END_DATA.
41569 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
41570 END_DATA.
41571 (acos_tonearest_test_data): Likewise.
41572 (acos_towardzero_test_data): Likewise.
41573 (acos_downward_test_data): Likewise.
41574 (acos_upward_test_data): Likewise.
41575 (acosh_test_data): Likewise.
41576 (asin_test_data): Likewise.
41577 (asin_tonearest_test_data): Likewise.
41578 (asin_towardzero_test_data): Likewise.
41579 (asin_downward_test_data): Likewise.
41580 (asin_upward_test_data): Likewise.
41581 (asinh_test_data): Likewise.
41582 (atan_test_data): Likewise.
41583 (atanh_test_data): Likewise.
41584 (atan2_test_data): Likewise.
41585 (cabs_test_data): Likewise.
41586 (cacos_test_data): Likewise.
41587 (cacosh_test_data): Likewise.
41588 (carg_test_data): Likewise.
41589 (casin_test_data): Likewise.
41590 (casinh_test_data): Likewise.
41591 (catan_test_data): Likewise.
41592 (catanh_test_data): Likewise.
41593 (cbrt_test_data): Likewise.
41594 (ccos_test_data): Likewise.
41595 (ccosh_test_data): Likewise.
41596 (ceil_test_data): Likewise.
41597 (cexp_test_data): Likewise.
41598 (cimag_test_data): Likewise.
41599 (clog_test_data): Likewise.
41600 (clog10_test_data): Likewise.
41601 (conj_test_data): Likewise.
41602 (copysign_test_data): Likewise.
41603 (cos_test_data): Likewise.
41604 (cos_tonearest_test_data): Likewise.
41605 (cos_towardzero_test_data): Likewise.
41606 (cos_downward_test_data): Likewise.
41607 (cos_upward_test_data): Likewise.
41608 (cosh_test_data): Likewise.
41609 (cosh_tonearest_test_data): Likewise.
41610 (cosh_towardzero_test_data): Likewise.
41611 (cosh_downward_test_data): Likewise.
41612 (cosh_upward_test_data): Likewise.
41613 (cpow_test_data): Likewise.
41614 (cproj_test_data): Likewise.
41615 (creal_test_data): Likewise.
41616 (csin_test_data): Likewise.
41617 (csinh_test_data): Likewise.
41618 (csqrt_test_data): Likewise.
41619 (ctan_test_data): Likewise.
41620 (ctan_tonearest_test_data): Likewise.
41621 (ctan_towardzero_test_data): Likewise.
41622 (ctan_downward_test_data): Likewise.
41623 (ctan_upward_test_data): Likewise.
41624 (ctanh_test_data): Likewise.
41625 (ctanh_tonearest_test_data): Likewise.
41626 (ctanh_towardzero_test_data): Likewise.
41627 (ctanh_downward_test_data): Likewise.
41628 (ctanh_upward_test_data): Likewise.
41629 (erf_test_data): Likewise.
41630 (erfc_test_data): Likewise.
41631 (exp_test_data): Likewise.
41632 (exp_tonearest_test_data): Likewise.
41633 (exp_towardzero_test_data): Likewise.
41634 (exp_downward_test_data): Likewise.
41635 (exp_upward_test_data): Likewise.
41636 (exp10_test_data): Likewise.
41637 (exp2_test_data): Likewise.
41638 (expm1_test_data): Likewise.
41639 (fabs_test_data): Likewise.
41640 (fdim_test_data): Likewise.
41641 (finite_test_data): Likewise.
41642 (floor_test_data): Likewise.
41643 (fma_test_data): Likewise.
41644 (fma_towardzero_test_data): Likewise.
41645 (fma_downward_test_data): Likewise.
41646 (fma_upward_test_data): Likewise.
41647 (fmax_test_data): Likewise.
41648 (fmin_test_data): Likewise.
41649 (fmod_test_data): Likewise.
41650 (fpclassify_test_data): Likewise.
41651 (frexp_test_data): Likewise.
41652 (gamma_test_data): Likewise.
41653 (hypot_test_data): Likewise.
41654 (ilogb_test_data): Likewise.
41655 (isfinite_test_data): Likewise.
41656 (isgreater_test_data): Likewise.
41657 (isgreaterequal_test_data): Likewise.
41658 (isinf_test_data): Likewise.
41659 (isless_test_data): Likewise.
41660 (islessequal_test_data): Likewise.
41661 (islessgreater_test_data): Likewise.
41662 (isnan_test_data): Likewise.
41663 (isnormal_test_data): Likewise.
41664 (issignaling_test_data): Likewise.
41665 (isunordered_test_data): Likewise.
41666 (j0_test_data): Likewise.
41667 (j1_test_data): Likewise.
41668 (jn_test_data): Likewise.
41669 (ldexp_test_data): Likewise.
41670 (lgamma_test_data): Likewise.
41671 (lrint_test_data): Likewise.
41672 (lrint_tonearest_test_data): Likewise.
41673 (lrint_towardzero_test_data): Likewise.
41674 (lrint_downward_test_data): Likewise.
41675 (lrint_upward_test_data): Likewise.
41676 (llrint_test_data): Likewise.
41677 (llrint_tonearest_test_data): Likewise.
41678 (llrint_towardzero_test_data): Likewise.
41679 (llrint_downward_test_data): Likewise.
41680 (llrint_upward_test_data): Likewise.
41681 (log_test_data): Likewise.
41682 (log10_test_data): Likewise.
41683 (log1p_test_data): Likewise.
41684 (log2_test_data): Likewise.
41685 (logb_test_data): Likewise.
41686 (logb_downward_test_data): Likewise.
41687 (lround_test_data): Likewise.
41688 (llround_test_data): Likewise.
41689 (modf_test_data): Likewise.
41690 (nearbyint_test_data): Likewise.
41691 (nextafter_test_data): Likewise.
41692 (nexttoward_test_data): Likewise.
41693 (pow_test_data): Likewise.
41694 (pow_tonearest_test_data): Likewise.
41695 (pow_towardzero_test_data): Likewise.
41696 (pow_downward_test_data): Likewise.
41697 (pow_upward_test_data): Likewise.
41698 (remainder_test_data): Likewise.
41699 (remainder_tonearest_test_data): Likewise.
41700 (remainder_towardzero_test_data): Likewise.
41701 (remainder_downward_test_data): Likewise.
41702 (remainder_upward_test_data): Likewise.
41703 (remquo_test_data): Likewise.
41704 (rint_test_data): Likewise.
41705 (rint_tonearest_test_data): Likewise.
41706 (rint_towardzero_test_data): Likewise.
41707 (rint_downward_test_data): Likewise.
41708 (rint_upward_test_data): Likewise.
41709 (round_test_data): Likewise.
41710 (scalb_test_data): Likewise.
41711 (scalbn_test_data): Likewise.
41712 (scalbln_test_data): Likewise.
41713 (signbit_test_data): Likewise.
41714 (sin_test_data): Likewise.
41715 (sin_tonearest_test_data): Likewise.
41716 (sin_towardzero_test_data): Likewise.
41717 (sin_downward_test_data): Likewise.
41718 (sin_upward_test_data): Likewise.
41719 (sincos_test_data): Likewise.
41720 (sinh_test_data): Likewise.
41721 (sinh_tonearest_test_data): Likewise.
41722 (sinh_towardzero_test_data): Likewise.
41723 (sinh_downward_test_data): Likewise.
41724 (sinh_upward_test_data): Likewise.
41725 (sqrt_test_data): Likewise.
41726 (tan_test_data): Likewise.
41727 (tan_tonearest_test_data): Likewise.
41728 (tan_towardzero_test_data): Likewise.
41729 (tan_downward_test_data): Likewise.
41730 (tan_upward_test_data): Likewise.
41731 (tanh_test_data): Likewise.
41732 (tgamma_test_data): Likewise.
41733 (trunc_test_data): Likewise.
41734 (y0_test_data): Likewise.
41735 (y1_test_data): Likewise.
41736 (yn_test_data): Likewise.
41737 (significand_test_data): Likewise.
41738
41739 * math/gen-libm-test.pl (@functions): Remove variable.
41740 (generate_testfile): Don't handle START and END lines.
41741 * math/libm-test.inc (START): New macro.
41742 (END): Likewise.
41743 (END_COMPLEX): Likewise.
41744 (acos_test): Use END macro without arguments.
41745 (acos_test_tonearest): Likewise.
41746 (acos_test_towardzero): Likewise.
41747 (acos_test_downward): Likewise.
41748 (acos_test_upward): Likewise.
41749 (acosh_test): Likewise.
41750 (asin_test): Likewise.
41751 (asin_test_tonearest): Likewise.
41752 (asin_test_towardzero): Likewise.
41753 (asin_test_downward): Likewise.
41754 (asin_test_upward): Likewise.
41755 (asinh_test): Likewise.
41756 (atan_test): Likewise.
41757 (atanh_test): Likewise.
41758 (atan2_test): Likewise.
41759 (cabs_test): Likewise.
41760 (cacos_test): Use END_COMPLEX macro without arguments.
41761 (cacosh_test): Likewise.
41762 (carg_test): Use END macro without arguments.
41763 (casin_test): Use END_COMPLEX macro without arguments.
41764 (casinh_test): Likewise.
41765 (catan_test): Likewise.
41766 (catanh_test): Likewise.
41767 (cbrt_test): Use END macro without arguments.
41768 (ccos_test): Use END_COMPLEX macro without arguments.
41769 (ccosh_test): Likewise.
41770 (ceil_test): Use END macro without arguments.
41771 (cexp_test): Use END_COMPLEX macro without arguments.
41772 (cimag_test): Use END macro without arguments.
41773 (clog_test): Use END_COMPLEX macro without arguments.
41774 (clog10_test): Likewise.
41775 (conj_test): Likewise.
41776 (copysign_test): Use END macro without arguments.
41777 (cos_test): Likewise.
41778 (cos_test_tonearest): Likewise.
41779 (cos_test_towardzero): Likewise.
41780 (cos_test_downward): Likewise.
41781 (cos_test_upward): Likewise.
41782 (cosh_test): Likewise.
41783 (cosh_test_tonearest): Likewise.
41784 (cosh_test_towardzero): Likewise.
41785 (cosh_test_downward): Likewise.
41786 (cosh_test_upward): Likewise.
41787 (cpow_test): Use END_COMPLEX macro without arguments.
41788 (cproj_test): Likewise.
41789 (creal_test): Use END macro without arguments.
41790 (csin_test): Use END_COMPLEX macro without arguments.
41791 (csinh_test): Likewise.
41792 (csqrt_test): Likewise.
41793 (ctan_test): Likewise.
41794 (ctan_test_tonearest): Likewise.
41795 (ctan_test_towardzero): Likewise.
41796 (ctan_test_downward): Likewise.
41797 (ctan_test_upward): Likewise.
41798 (ctanh_test): Likewise.
41799 (ctanh_test_tonearest): Likewise.
41800 (ctanh_test_towardzero): Likewise.
41801 (ctanh_test_downward): Likewise.
41802 (ctanh_test_upward): Likewise.
41803 (erf_test): Use END macro without arguments.
41804 (erfc_test): Likewise.
41805 (exp_test): Likewise.
41806 (exp_test_tonearest): Likewise.
41807 (exp_test_towardzero): Likewise.
41808 (exp_test_downward): Likewise.
41809 (exp_test_upward): Likewise.
41810 (exp10_test): Likewise.
41811 (exp2_test): Likewise.
41812 (expm1_test): Likewise.
41813 (fabs_test): Likewise.
41814 (fdim_test): Likewise.
41815 (finite_test): Likewise.
41816 (floor_test): Likewise.
41817 (fma_test): Likewise.
41818 (fma_test_towardzero): Likewise.
41819 (fma_test_downward): Likewise.
41820 (fma_test_upward): Likewise.
41821 (fmax_test): Likewise.
41822 (fmin_test): Likewise.
41823 (fmod_test): Likewise.
41824 (fpclassify_test): Likewise.
41825 (frexp_test): Likewise.
41826 (gamma_test): Likewise.
41827 (hypot_test): Likewise.
41828 (ilogb_test): Likewise.
41829 (isfinite_test): Likewise.
41830 (isgreater_test): Likewise.
41831 (isgreaterequal_test): Likewise.
41832 (isinf_test): Likewise.
41833 (isless_test): Likewise.
41834 (islessequal_test): Likewise.
41835 (islessgreater_test): Likewise.
41836 (isnan_test): Likewise.
41837 (isnormal_test): Likewise.
41838 (issignaling_test): Likewise.
41839 (isunordered_test): Likewise.
41840 (j0_test): Likewise.
41841 (j1_test): Likewise.
41842 (jn_test): Likewise.
41843 (ldexp_test): Likewise.
41844 (lgamma_test): Likewise.
41845 (lrint_test): Likewise.
41846 (lrint_test_tonearest): Likewise.
41847 (lrint_test_towardzero): Likewise.
41848 (lrint_test_downward): Likewise.
41849 (lrint_test_upward): Likewise.
41850 (llrint_test): Likewise.
41851 (llrint_test_tonearest): Likewise.
41852 (llrint_test_towardzero): Likewise.
41853 (llrint_test_downward): Likewise.
41854 (llrint_test_upward): Likewise.
41855 (log_test): Likewise.
41856 (log10_test): Likewise.
41857 (log1p_test): Likewise.
41858 (log2_test): Likewise.
41859 (logb_test): Likewise.
41860 (logb_test_downward): Likewise.
41861 (lround_test): Likewise.
41862 (llround_test): Likewise.
41863 (modf_test): Likewise.
41864 (nearbyint_test): Likewise.
41865 (nextafter_test): Likewise.
41866 (nexttoward_test): Likewise.
41867 (pow_test): Likewise.
41868 (pow_test_tonearest): Likewise.
41869 (pow_test_towardzero): Likewise.
41870 (pow_test_downward): Likewise.
41871 (pow_test_upward): Likewise.
41872 (remainder_test): Likewise.
41873 (remainder_test_tonearest): Likewise.
41874 (remainder_test_towardzero): Likewise.
41875 (remainder_test_downward): Likewise.
41876 (remainder_test_upward): Likewise.
41877 (remquo_test): Likewise.
41878 (rint_test): Likewise.
41879 (rint_test_tonearest): Likewise.
41880 (rint_test_towardzero): Likewise.
41881 (rint_test_downward): Likewise.
41882 (rint_test_upward): Likewise.
41883 (round_test): Likewise.
41884 (scalb_test): Likewise.
41885 (scalbn_test): Likewise.
41886 (scalbln_test): Likewise.
41887 (signbit_test): Likewise.
41888 (sin_test): Likewise.
41889 (sin_test_tonearest): Likewise.
41890 (sin_test_towardzero): Likewise.
41891 (sin_test_downward): Likewise.
41892 (sin_test_upward): Likewise.
41893 (sincos_test): Likewise.
41894 (sinh_test): Likewise.
41895 (sinh_test_tonearest): Likewise.
41896 (sinh_test_towardzero): Likewise.
41897 (sinh_test_downward): Likewise.
41898 (sinh_test_upward): Likewise.
41899 (sqrt_test): Likewise.
41900 (tan_test): Likewise.
41901 (tan_test_tonearest): Likewise.
41902 (tan_test_towardzero): Likewise.
41903 (tan_test_downward): Likewise.
41904 (tan_test_upward): Likewise.
41905 (tanh_test): Likewise.
41906 (tgamma_test): Likewise.
41907 (trunc_test): Likewise.
41908 (y0_test): Likewise.
41909 (y1_test): Likewise.
41910 (yn_test): Likewise.
41911 (significand_test): Likewise.
41912
41913 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
41914
41915 [BZ #15381]
41916 * libio/genops.c (_IO_no_init): Initialize wide struct info.
41917
41918 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
41919
41920 [BZ #14894]
41921 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
41922 __ppc_mdoio and __ppc_mdoom.
41923 * manual/platform.texi: Document new functions __ppc_yield,
41924 __ppc_mdoio and __ppc_mdoom.
41925
41926 2013-05-22 Carlos O'Donell <carlos@redhat.com>
41927
41928 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
41929 (main): Mention "tls" pseudo-hwcap is legacy.
41930 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
41931
41932 2013-05-22 Joseph Myers <joseph@codesourcery.com>
41933
41934 * math/gen-libm-test.pl (parse_args): Output only string of
41935 arguments as text for test name, not full call or descriptions of
41936 tests for extra outputs.
41937 (generate_testfile): Do not pass function name to parse_args.
41938 Generate this_func variable from START.
41939 * math/libm-test.inc (struct test_f_f_data): Rename test_name
41940 field to arg_str.
41941 (struct test_ff_f_data): Likewise.
41942 (test_ff_f_data_nexttoward): Likewise.
41943 (struct test_fi_f_data): Likewise.
41944 (struct test_fl_f_data): Likewise.
41945 (struct test_if_f_data): Likewise.
41946 (struct test_fff_f_data): Likewise.
41947 (struct test_c_f_data): Likewise.
41948 (struct test_f_f1_data): Likewise. Remove field extra_name.
41949 (struct test_fF_f1_data): Likewise.
41950 (struct test_ffI_f1_data): Likewise.
41951 (struct test_c_c_data): Rename test_name field to arg_str.
41952 (struct test_cc_c_data): Likewise.
41953 (struct test_f_i_data): Likewise.
41954 (struct test_ff_i_data): Likewise.
41955 (struct test_f_l_data): Likewise.
41956 (struct test_f_L_data): Likewise.
41957 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
41958 and extra2_name.
41959 (COMMON_TEST_SETUP): New macro.
41960 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
41961 (COMMON_TEST_CLEANUP): Likewise.
41962 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
41963 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
41964 macros.
41965 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
41966 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
41967 macros.
41968 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
41969 (RUN_TEST_fff_f): Take argument string. Call new setup and
41970 cleanup macros.
41971 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
41972 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
41973 macros.
41974 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
41975 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
41976 macros.
41977 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41978 (RUN_TEST_fF_f1): Take argument string. Call new setup and
41979 cleanup macros.
41980 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41981 (RUN_TEST_fI_f1): Take argument string. Call new setup and
41982 cleanup macros.
41983 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41984 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
41985 cleanup macros.
41986 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41987 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
41988 macros.
41989 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
41990 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
41991 macros.
41992 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
41993 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
41994 macros.
41995 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
41996 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
41997 cleanup macros.
41998 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
41999 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
42000 cleanup macros.
42001 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
42002 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
42003 macros.
42004 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
42005 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
42006 cleanup macros.
42007 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
42008 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
42009 macros.
42010 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
42011 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
42012 macros.
42013 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
42014 (RUN_TEST_fFF_11): Take argument string. Call new setup and
42015 cleanup macros.
42016 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
42017
42018 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
42019
42020 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
42021 to _sifields.sigfault.
42022 (si_addr_lsb): Define new macro.
42023 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42024 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42025 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
42026
42027 2013-05-03 Carlos O'Donell <carlos at redhat.com>
42028
42029 [BZ #15441]
42030 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
42031 returns -1.
42032 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
42033 null return -1.
42034 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
42035 loading the domain.
42036
42037 2013-05-22 Joseph Myers <joseph@codesourcery.com>
42038
42039 * math/gen-libm-test.pl (parse_args): Do not include expected
42040 result in test name.
42041 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
42042 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42043 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42044 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42045 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42047
42048 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42049
42050 * benchtests/Makefile: Sort function entries.
42051
42052 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
42053 tanh, asinh, acosh, atanh.
42054 * benchtests/acos-inputs: New file.
42055 * benchtests/acosh-inputs: New file.
42056 * benchtests/asin-inputs: New file.
42057 * benchtests/asinh-inputs: New file.
42058 * benchtests/atanh-inputs: New file.
42059 * benchtests/cosh-inputs: New file.
42060 * benchtests/log-inputs: New file.
42061 * benchtests/sinh-inputs: New file.
42062 * benchtests/tanh-inputs: New file.
42063
42064 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
42065
42066 [BZ #15339]
42067 * posix/tst-getaddrinfo4.c: New test.
42068 * posix/Makefile (tests): Add it.
42069
42070 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
42071
42072 [BZ #15339]
42073 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
42074 when no services were used.
42075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
42076 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
42077
42078 2013-05-21 Andreas Schwab <schwab@suse.de>
42079
42080 [BZ #15014]
42081 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
42082 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
42083 successful.
42084 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
42085 redundant variable declarations and reallocation of buffer when
42086 parsing as IPv6 address. Always set NSS status when called from
42087 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
42088 buffer too small. Correct computation of needed size.
42089 * nss/Makefile (tests): Add test-digits-dots.
42090 * nss/test-digits-dots.c: New test.
42091
42092 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
42093
42094 * benchtests/Makefile: Remove instructions for adding
42095 benchmark tests.
42096 * benchtests/README: New file to explain how to execute and
42097 enhance the benchmark tests.
42098
42099 2013-05-21 Andreas Schwab <schwab@suse.de>
42100
42101 [BZ #15493]
42102 * setjmp/Makefile (tests): Add tst-sigsetjmp.
42103 * setjmp/tst-sigsetjmp.c: New test.
42104
42105 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
42106
42107 * sysdeps/x86_64/memset.S (memset): New implementation.
42108 (__bzero): Likewise.
42109 (__memset_tail): New function.
42110
42111 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
42112
42113 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
42114 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
42115 __memcpy_sse2_unaligned ifunc selection.
42116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42117 Add memcpy-sse2-unaligned.S.
42118 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42119 Add: __memcpy_sse2_unaligned.
42120
42121 2013-05-19 Joseph Myers <joseph@codesourcery.com>
42122
42123 [BZ #15490]
42124 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42125 math_force_eval before restoring floating-point envrionment.
42126 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
42127 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
42128 Likewise.
42129 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
42130 <math_private.h>.
42131 (__nearbyintl): Use math_force_eval before restoring
42132 floating-point environment.
42133 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
42134
42135 * math/gen-libm-test.pl (special_functions): Remove.
42136 (parse_args): Don't handle TEST_extra. Handle functions with no
42137 return value.
42138 * math/libm-test.inc (struct test_sincos_data): Replace with
42139 struct test_fFF_11_data.
42140 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
42141 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
42142 (sincos_test_data): Change element type to struct
42143 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
42144 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
42145 RUN_TEST_LOOP_sincos.
42146 * math/README.libm-test: Don't mention special handling of
42147 individual functions.
42148 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
42149 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42150 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42151 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42152 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42154
42155 * math/gen-libm-test.pl (get_variable): Remove function.
42156 (parse_args): Don't show pointer parameters to call in test
42157 names. Use "extra output N" in test names for extra outputs
42158 rather than naming variables.
42159
42160 2013-05-18 Joseph Myers <joseph@codesourcery.com>
42161
42162 [BZ #15488]
42163 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
42164 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
42165 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
42166 double tests.
42167 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
42168 disable.
42169 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
42170 check_long_double.
42171
42172 * math/gen-libm-test.pl (@tests): Remove variable.
42173 ($count): Likewise.
42174 (new_test): Remove function.
42175 (show_exceptions): New function.
42176 (special_functions): Use show_exceptions instead of new_test.
42177 (parse_args): Likewise.
42178 (generate_testfile): Pass only function name in generated call to
42179 print_max_error or print_complex_max_error.
42180 (get_ulps): Do not handle complex tests specially.
42181 (output_test): Rename to ...
42182 (get_all_ulps_for_test): ... this. Return a string rather than
42183 printing to a file. Require ulps to be present.
42184 (output_ulps): Generate arrays rather than #defines.
42185 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
42186 (struct ulp_data): New type.
42187 (BUILD_COMPLEX_ULP): Remove macro.
42188 (compare_ulp_data): New function.
42189 (find_ulps): Likewise.
42190 (find_test_ulps): Likewise.
42191 (find_function_ulps): Likewise.
42192 (find_complex_function_ulps): Likewise.
42193 (print_max_error): Determine allowed ulps using
42194 find_function_ulps.
42195 (print_complex_max_error): Determine allowed ulps using
42196 find_complex_function_ulps.
42197 (check_float_internal): Determine max ulps using find_test_ulps.
42198 (check_float): Do not take max_ulp parameter. Update call to
42199 check_float_internal.
42200 (check_complex): Likewise.
42201 (check_int): Do not take max_ulp parameter.
42202 (check_long): Likewise.
42203 (check_bool): Likewise.
42204 (check_longlong): Likewise.
42205 (struct test_f_f_data): Remove max_ulp field.
42206 (struct test_ff_f_data): Likewise.
42207 (struct test_ff_f_data_nexttoward): Likewise.
42208 (struct test_fi_f_data): Likewise.
42209 (struct test_fl_f_data): Likewise.
42210 (struct test_if_f_data): Likewise.
42211 (struct test_fff_f_data): Likewise.
42212 (struct test_c_f_data): Likewise.
42213 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
42214 (struct test_fF_f1_data): Likewise.
42215 (struct test_ffI_f1_data): Likewise.
42216 (struct test_c_c_data): Remove max_ulp field.
42217 (struct test_cc_c_data): Likewise.
42218 (struct test_f_i_data): Likewise.
42219 (struct test_ff_i_data): Likewise.
42220 (struct test_f_l_data): Likewise.
42221 (struct test_f_L_data): Likewise.
42222 (struct test_sincos_data): Likewise.
42223 (RUN_TEST_f_f): Do not handle ulps.
42224 (RUN_TEST_LOOP_f_f): Likewise.
42225 (RUN_TEST_2_f): Likewise.
42226 (RUN_TEST_LOOP_2_f): Likewise.
42227 (RUN_TEST_fff_f): Likewise.
42228 (RUN_TEST_LOOP_fff_f): Likewise.
42229 (RUN_TEST_c_f): Likewise.
42230 (RUN_TEST_LOOP_c_f): Likewise.
42231 (RUN_TEST_f_f1): Likewise.
42232 (RUN_TEST_LOOP_f_f1): Likewise.
42233 (RUN_TEST_fF_f1): Likewise.
42234 (RUN_TEST_LOOP_fF_f1): Likewise.
42235 (RUN_TEST_fI_f1): Likewise.
42236 (RUN_TEST_LOOP_fI_f1): Likewise.
42237 (RUN_TEST_ffI_f1): Likewise.
42238 (RUN_TEST_LOOP_ffI_f1): Likewise.
42239 (RUN_TEST_c_c): Likewise.
42240 (RUN_TEST_LOOP_c_c): Likewise.
42241 (RUN_TEST_cc_c): Likewise.
42242 (RUN_TEST_LOOP_cc_c): Likewise.
42243 (RUN_TEST_f_i): Likewise.
42244 (RUN_TEST_LOOP_f_i): Likewise.
42245 (RUN_TEST_f_i_tg): Likewise.
42246 (RUN_TEST_LOOP_f_i_tg): Likewise.
42247 (RUN_TEST_ff_i_tg): Likewise.
42248 (RUN_TEST_LOOP_ff_i_tg): Likewise.
42249 (RUN_TEST_f_b): Likewise.
42250 (RUN_TEST_LOOP_f_b): Likewise.
42251 (RUN_TEST_f_b_tg): Likewise.
42252 (RUN_TEST_LOOP_f_b_tg): Likewise.
42253 (RUN_TEST_f_l): Likewise.
42254 (RUN_TEST_LOOP_f_l): Likewise.
42255 (RUN_TEST_f_L): Likewise.
42256 (RUN_TEST_LOOP_f_L): Likewise.
42257 (RUN_TEST_sincos): Likewise.
42258 (RUN_TEST_LOOP_sincos): Likewise.
42259
42260 2013-05-17 Joseph Myers <joseph@codesourcery.com>
42261
42262 [BZ #15480]
42263 [BZ #15485]
42264 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
42265 main case of finite arguments, set rounding mode to FE_TONEAREST
42266 and discard exceptions.
42267 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
42268 exceptions.
42269 (remainder_tonearest_test_data): New variable.
42270 (remainder_test_tonearest): New function.
42271 (remainder_towardzero_test_data): New variable.
42272 (remainder_test_towardzero): New function.
42273 (remainder_downward_test_data): New variable.
42274 (remainder_test_downward): New function.
42275 (remainder_upward_test_data): New variable.
42276 (remainder_test_upward): New function.
42277 (main): Call the new test functions.
42278
42279 * math/libm-test.inc (struct test_f_f1_data): Remove field
42280 extra_init.
42281 (struct test_fF_f1_data): Likewise.
42282 (struct test_ffI_f1_data): Likewise.
42283 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
42284 based on value of EXTRA_EXPECTED.
42285 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
42286 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
42287 EXTRA_VAR based on value of EXTRA_EXPECTED.
42288 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
42289 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
42290 EXTRA_VAR based on value of EXTRA_EXPECTED.
42291 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
42292 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
42293 EXTRA_VAR based on value of EXTRA_EXPECTED.
42294 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
42295 * math/gen-libm-test.pl (parse_args): Don't output initializers
42296 for extra output values.
42297
42298 * math/libm-test.inc (check_int): Expect result to be exactly
42299 equal to expected value and do not handle ulps.
42300 (check_long): Likewise.
42301 (check_longlong): Likewise.
42302
42303 * math/libm-test.inc (ceil_test_data): Test for "inexact"
42304 exceptions.
42305 (cimag_test_data): Likewise.
42306 (conj_test_data): Likewise.
42307 (copysign_test_data): Likewise.
42308 (cproj_test_data): Likewise.
42309 (creal_test_data): Likewise.
42310 (fabs_test_data): Likewise.
42311 (fdim_test_data): Likewise.
42312 (finite_test_data): Likewise.
42313 (floor_test_data): Likewise.
42314 (fmax_test_data): Likewise.
42315 (fmin_test_data): Likewise.
42316 (fmod_test_data): Likewise.
42317 (fpclassify_test_data): Likewise.
42318 (frexp_test_data): Likewise.
42319 (ilogb_test_data): Likewise.
42320 (isfinite_test_data): Likewise.
42321 (isgreater_test_data): Likewise.
42322 (isgreaterequal_test_data): Likewise.
42323 (isinf_test_data): Likewise.
42324 (isless_test_data): Likewise.
42325 (islessequal_test_data): Likewise.
42326 (islessgreater_test_data): Likewise.
42327 (isnan_test_data): Likewise.
42328 (isnormal_test_data): Likewise.
42329 (issignaling_test_data): Likewise.
42330 (isunordered_test_data): Likewise.
42331 (ldexp_test_data): Likewise.
42332 (lrint_test_data): Likewise.
42333 (lrint_test_data) [TEST_FLOAT]: Disable one test.
42334 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
42335 (lrint_tonearest_test_data): Test for "inexact" exceptions.
42336 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42337 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
42338 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42339 test input.
42340 (lrint_towardzero_test_data): Test for "inexact" exceptions.
42341 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42342 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
42343 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
42344 that test input.
42345 (lrint_downward_test_data): Test for "inexact" exceptions.
42346 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42347 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
42348 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
42349 test input.
42350 (lrint_upward_test_data): Test for "inexact" exceptions.
42351 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
42352 test input.
42353 (llrint_test_data): Test for "inexact" exceptions.
42354 (llrint_test_data) [TEST_FLOAT]: Disable one test.
42355 (llrint_tonearest_test_data): Test for "inexact" exceptions.
42356 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
42357 (llrint_towardzero_test_data): Test for "inexact" exceptions.
42358 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
42359 (llrint_downward_test_data): Test for "inexact" exceptions.
42360 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
42361 (llrint_upward_test_data): Test for "inexact" exceptions.
42362 (logb_test_data): Likewise.
42363 (logb_downward_test_data): Likewise.
42364 (nextafter_test_data): Likewise.
42365 (nexttoward_test_data): Likewise.
42366 (remainder_test_data): Likewise.
42367 (remquo_test_data): Likewise.
42368 (scalbn_test_data): Likewise.
42369 (scalbln_test_data): Likewise.
42370 (signbit_test_data): Likewise.
42371 (sqrt_test_data): Likewise.
42372 (significand_test_data): Likewise.
42373
42374 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
42375
42376 [BZ #15424]
42377 * benchtests/bench-modf.c (struct args): Mark arg0 as
42378 volatile.
42379 * scripts/bench.pl: Mark members of struct args as volatile.
42380
42381 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42382
42383 [BZ # 15497]
42384 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
42385 negative infinity on POWER6 or lower.
42386 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
42387
42388 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
42389
42390 [BZ #15442]
42391 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
42392 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
42393 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
42394 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
42395 (_FP_SETQNAN): New macro.
42396 (_FP_SETQNAN_SEMIRAW): Likewise.
42397 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
42398 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
42399 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
42400 (FP_EXTEND): Use _FP_FRAC_SNANP.
42401 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
42402 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
42403 into account.
42404 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42405 New macro.
42406 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
42407 Likewise.
42408
42409 2013-05-16 Joseph Myers <joseph@codesourcery.com>
42410
42411 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
42412 with DIVIDE_BY_ZERO_EXCEPTION.
42413 (gamma_test_data): Likewise.
42414 (lgamma_test_data): Likewise.
42415 (log_test_data): Likewise.
42416 (log10_test_data): Likewise.
42417 (log2_test_data): Likewise.
42418 (tgamma_test_data): Likewise.
42419
42420 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
42421 (acos_test_tonearest): Likewise.
42422 (acos_test_towardzero): Likewise.
42423 (acos_test_downward): Likewise.
42424 (acos_test_upward): Likewise.
42425 (acosh_test): Likewise.
42426 (asin_test): Likewise.
42427 (asin_test_tonearest): Likewise.
42428 (asin_test_towardzero): Likewise.
42429 (asin_test_downward): Likewise.
42430 (asin_test_upward): Likewise.
42431 (asinh_test): Likewise.
42432 (atan_test): Likewise.
42433 (atanh_test): Likewise.
42434 (atan2_test): Likewise.
42435 (cabs_test): Likewise.
42436 (cacos_test): Likewise.
42437 (cacosh_test): Likewise.
42438 (casin_test): Likewise.
42439 (casinh_test): Likewise.
42440 (catan_test): Likewise.
42441 (catanh_test): Likewise.
42442 (cbrt_test): Likewise.
42443 (ccos_test): Likewise.
42444 (ccosh_test): Likewise.
42445 (cexp_test): Likewise.
42446 (clog_test): Likewise.
42447 (clog10_test): Likewise.
42448 (cos_test): Likewise.
42449 (cos_test_tonearest): Likewise.
42450 (cos_test_towardzero): Likewise.
42451 (cos_test_downward): Likewise.
42452 (cos_test_upward): Likewise.
42453 (cosh_test): Likewise.
42454 (cosh_test_tonearest): Likewise.
42455 (cosh_test_towardzero): Likewise.
42456 (cosh_test_downward): Likewise.
42457 (cosh_test_upward): Likewise.
42458 (cpow_test): Likewise.
42459 (csin_test): Likewise.
42460 (csinh_test): Likewise.
42461 (csqrt_test): Likewise.
42462 (ctan_test): Likewise.
42463 (ctan_test_tonearest): Likewise.
42464 (ctan_test_towardzero): Likewise.
42465 (ctan_test_downward): Likewise.
42466 (ctan_test_upward): Likewise.
42467 (ctanh_test): Likewise.
42468 (ctanh_test_tonearest): Likewise.
42469 (ctanh_test_towardzero): Likewise.
42470 (ctanh_test_downward): Likewise.
42471 (ctanh_test_upward): Likewise.
42472 (erf_test): Likewise.
42473 (erfc_test): Likewise.
42474 (exp_test): Likewise.
42475 (exp_test_tonearest): Likewise.
42476 (exp_test_towardzero): Likewise.
42477 (exp_test_downward): Likewise.
42478 (exp_test_upward): Likewise.
42479 (exp10_test): Likewise.
42480 (exp2_test): Likewise.
42481 (expm1_test): Likewise.
42482 (fmod_test): Likewise.
42483 (gamma_test): Likewise.
42484 (hypot_test): Likewise.
42485 (j0_test): Likewise.
42486 (j1_test): Likewise.
42487 (jn_test): Likewise.
42488 (lgamma_test): Likewise.
42489 (log_test): Likewise.
42490 (log10_test): Likewise.
42491 (log1p_test): Likewise.
42492 (log2_test): Likewise.
42493 (logb_test_downward): Likewise.
42494 (pow_test): Likewise.
42495 (pow_test_tonearest): Likewise.
42496 (pow_test_towardzero): Likewise.
42497 (pow_test_downward): Likewise.
42498 (pow_test_upward): Likewise.
42499 (remainder_test): Likewise.
42500 (remquo_test): Likewise.
42501 (sin_test): Likewise.
42502 (sin_test_tonearest): Likewise.
42503 (sin_test_towardzero): Likewise.
42504 (sin_test_downward): Likewise.
42505 (sin_test_upward): Likewise.
42506 (sincos_test): Likewise.
42507 (sinh_test): Likewise.
42508 (sinh_test_tonearest): Likewise.
42509 (sinh_test_towardzero): Likewise.
42510 (sinh_test_downward): Likewise.
42511 (sinh_test_upward): Likewise.
42512 (sqrt_test): Likewise.
42513 (tan_test): Likewise.
42514 (tan_test_tonearest): Likewise.
42515 (tan_test_towardzero): Likewise.
42516 (tan_test_downward): Likewise.
42517 (tan_test_upward): Likewise.
42518 (tanh_test): Likewise.
42519 (tgamma_test): Likewise.
42520 (y0_test): Likewise.
42521 (y1_test): Likewise.
42522 (yn_test): Likewise.
42523
42524 * math/gen-libm-test.pl (adjust_arg): Remove function.
42525 (special_function): Remove argument $in_func. Only handle
42526 generating output for tables of tests, not inside functions.
42527 (parse_args): Likewise.
42528 (generate_testfile): Remove variable $in_func. Update call to
42529 parse_args.
42530 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
42531 (MINUS_ZERO_INIT): Rename macro to minus_zero.
42532 (PLUS_INFTY_INIT): Rename macro to plus_infty.
42533 (MINUS_INFTY_INIT): Rename macro to minus_infty.
42534 (QNAN_VALUE_INIT): Rename macro to qnan_value.
42535 (MAX_VALUE_INIT): Rename macro to max_value.
42536 (MIN_VALUE_INIT): Rename macro to min_value.
42537 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
42538 (plus_zero): Remove variable.
42539 (minus_zero): Likewise.
42540 (plus_infty): Likewise.
42541 (minus_infty): Likewise.
42542 (qnan_value): Likewise.
42543 (max_value): Likewise.
42544 (min_value): Likewise.
42545 (min_subnorm_value): Likewise.
42546
42547 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42548
42549 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
42550 uint64_t or uint32_t usage.
42551 * crypt/sha256-block.c: Likewise.
42552 * crypt/sha256-crypt.c: Likewise.
42553 * crypt/sha256.c: Likewise.
42554 * crypt/sha512-block.c: Likewise.
42555 * crypt/sha512-crypt.c: Likewise.
42556 * crypt/sha512.c: Likewise.
42557 * debug/backtrace-tst.c: Likewise.
42558 * debug/pcprofiledump.c: Likewise.
42559 * elf/cache.c: Likewise.
42560 * elf/dl-cache.c: Likewise.
42561 * elf/dl-misc.c: Likewise.
42562 * elf/dl-profile.c: Likewise.
42563 * elf/dl-support.c: Likewise.
42564 * elf/ldconfig.c: Likewise.
42565 * elf/sprof.c: Likewise.
42566 * iconv/dummy-repertoire.c: Likewise.
42567 * iconv/iconv_charmap.c: Likewise.
42568 * iconv/skeleton.c: Likewise.
42569 * iconvdata/8bit-generic.c: Likewise.
42570 * iconvdata/cp737.h: Likewise.
42571 * iconvdata/cp775.h: Likewise.
42572 * iconvdata/ibm1008.h: Likewise.
42573 * iconvdata/ibm1025.h: Likewise.
42574 * iconvdata/ibm1046.h: Likewise.
42575 * iconvdata/ibm1097.h: Likewise.
42576 * iconvdata/ibm1112.h: Likewise.
42577 * iconvdata/ibm1122.h: Likewise.
42578 * iconvdata/ibm1123.h: Likewise.
42579 * iconvdata/ibm1124.h: Likewise.
42580 * iconvdata/ibm1129.h: Likewise.
42581 * iconvdata/ibm1130.h: Likewise.
42582 * iconvdata/ibm1132.h: Likewise.
42583 * iconvdata/ibm1133.h: Likewise.
42584 * iconvdata/ibm1137.h: Likewise.
42585 * iconvdata/ibm1140.h: Likewise.
42586 * iconvdata/ibm1141.h: Likewise.
42587 * iconvdata/ibm1142.h: Likewise.
42588 * iconvdata/ibm1143.h: Likewise.
42589 * iconvdata/ibm1144.h: Likewise.
42590 * iconvdata/ibm1145.h: Likewise.
42591 * iconvdata/ibm1146.h: Likewise.
42592 * iconvdata/ibm1147.h: Likewise.
42593 * iconvdata/ibm1148.h: Likewise.
42594 * iconvdata/ibm1149.h: Likewise.
42595 * iconvdata/ibm1153.h: Likewise.
42596 * iconvdata/ibm1154.h: Likewise.
42597 * iconvdata/ibm1155.h: Likewise.
42598 * iconvdata/ibm1156.h: Likewise.
42599 * iconvdata/ibm1157.h: Likewise.
42600 * iconvdata/ibm1158.h: Likewise.
42601 * iconvdata/ibm1160.h: Likewise.
42602 * iconvdata/ibm1161.h: Likewise.
42603 * iconvdata/ibm1162.h: Likewise.
42604 * iconvdata/ibm1163.h: Likewise.
42605 * iconvdata/ibm1164.h: Likewise.
42606 * iconvdata/ibm1166.h: Likewise.
42607 * iconvdata/ibm1167.h: Likewise.
42608 * iconvdata/ibm12712.h: Likewise.
42609 * iconvdata/ibm1390.h: Likewise.
42610 * iconvdata/ibm1399.h: Likewise.
42611 * iconvdata/ibm16804.h: Likewise.
42612 * iconvdata/ibm4517.h: Likewise.
42613 * iconvdata/ibm4899.h: Likewise.
42614 * iconvdata/ibm4909.h: Likewise.
42615 * iconvdata/ibm4971.h: Likewise.
42616 * iconvdata/ibm5347.h: Likewise.
42617 * iconvdata/ibm803.h: Likewise.
42618 * iconvdata/ibm856.h: Likewise.
42619 * iconvdata/ibm901.h: Likewise.
42620 * iconvdata/ibm902.h: Likewise.
42621 * iconvdata/ibm9030.h: Likewise.
42622 * iconvdata/ibm9066.h: Likewise.
42623 * iconvdata/ibm921.h: Likewise.
42624 * iconvdata/ibm922.h: Likewise.
42625 * iconvdata/ibm9448.h: Likewise.
42626 * iconvdata/isiri-3342.h: Likewise.
42627 * iconvdata/jis0201.h: Likewise.
42628 * include/link.h: Likewise.
42629 * include/netdb.h: Likewise.
42630 * inet/check_native.c: Likewise.
42631 * inet/check_pf.c: Likewise.
42632 * inet/getipv4sourcefilter.c: Likewise.
42633 * inet/getnameinfo.c: Likewise.
42634 * inet/getsourcefilter.c: Likewise.
42635 * inet/htonl.c: Likewise.
42636 * inet/setipv4sourcefilter.c: Likewise.
42637 * inet/setsourcefilter.c: Likewise.
42638 * inet/test-inet6_opt.c: Likewise.
42639 * inet/tst-network.c: Likewise.
42640 * locale/C-collate.c: Likewise.
42641 * locale/C-ctype.c: Likewise.
42642 * locale/C-time.c: Likewise.
42643 * locale/C-translit.h: Likewise.
42644 * locale/loadarchive.c: Likewise.
42645 * locale/programs/3level.h: Likewise.
42646 * locale/programs/charmap.c: Likewise.
42647 * locale/programs/charmap.h: Likewise.
42648 * locale/programs/ld-address.c: Likewise.
42649 * locale/programs/ld-collate.c: Likewise.
42650 * locale/programs/ld-ctype.c: Likewise.
42651 * locale/programs/ld-identification.c: Likewise.
42652 * locale/programs/ld-measurement.c: Likewise.
42653 * locale/programs/ld-messages.c: Likewise.
42654 * locale/programs/ld-monetary.c: Likewise.
42655 * locale/programs/ld-name.c: Likewise.
42656 * locale/programs/ld-numeric.c: Likewise.
42657 * locale/programs/ld-paper.c: Likewise.
42658 * locale/programs/ld-telephone.c: Likewise.
42659 * locale/programs/ld-time.c: Likewise.
42660 * locale/programs/linereader.c: Likewise.
42661 * locale/programs/locale.c: Likewise.
42662 * locale/programs/locarchive.c: Likewise.
42663 * locale/programs/locfile.h: Likewise.
42664 * locale/programs/repertoire.c: Likewise.
42665 * locale/programs/simple-hash.c: Likewise.
42666 * locale/programs/simple-hash.h: Likewise.
42667 * malloc/memusage.c: Likewise.
42668 * malloc/memusagestat.c: Likewise.
42669 * nis/nis_defaults.c: Likewise.
42670 * nis/nis_hash.c: Likewise.
42671 * nis/nis_print.c: Likewise.
42672 * nis/nis_xdr.c: Likewise.
42673 * nscd/connections.c: Likewise.
42674 * nscd/hstcache.c: Likewise.
42675 * nscd/nscd_gethst_r.c: Likewise.
42676 * nscd/nscd_getserv_r.c: Likewise.
42677 * nscd/nscd_helper.c: Likewise.
42678 * nscd/servicescache.c: Likewise.
42679 * nss/makedb.c: Likewise.
42680 * nss/nss_db/db-XXX.c: Likewise.
42681 * nss/nss_db/db-initgroups.c: Likewise.
42682 * nss/nss_db/db-netgrp.c: Likewise.
42683 * nss/nss_files/files-network.c: Likewise.
42684 * nss/nss_files/files-parse.c: Likewise.
42685 * posix/bug-regex5.c: Likewise.
42686 * posix/fnmatch_loop.c: Likewise.
42687 * posix/regcomp.c: Likewise.
42688 * posix/regexec.c: Likewise.
42689 * posix/tst-rfc3484-2.c: Likewise.
42690 * posix/tst-rfc3484-3.c: Likewise.
42691 * posix/tst-rfc3484.c: Likewise.
42692 * resolv/nss_dns/dns-canon.c: Likewise.
42693 * resolv/nss_dns/dns-network.c: Likewise.
42694 * resolv/res_init.c: Likewise.
42695 * resolv/res_mkquery.c: Likewise.
42696 * resolv/tst-aton.c: Likewise.
42697 * stdlib/cxa_atexit.c: Likewise.
42698 * stdlib/cxa_finalize.c: Likewise.
42699 * stdlib/gen-fpioconst.c: Likewise.
42700 * stdlib/strtol_l.c: Likewise.
42701 * string/tst-endian.c: Likewise.
42702 * sunrpc/auth_des.c: Likewise.
42703 * sunrpc/clnt_udp.c: Likewise.
42704 * sunrpc/rtime.c: Likewise.
42705 * sunrpc/svcauth_des.c: Likewise.
42706 * sunrpc/xdr.c: Likewise.
42707 * sunrpc/xdr_intXX_t.c: Likewise.
42708 * sunrpc/xdr_rec.c: Likewise.
42709 * sysdeps/generic/ldconfig.h: Likewise.
42710 * sysdeps/generic/ldsodefs.h: Likewise.
42711 * sysdeps/generic/memusage.h: Likewise.
42712 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42713 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
42714 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
42715 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42716 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42717 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42718 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42719 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42720 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42721 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42722 * sysdeps/posix/getaddrinfo.c: Likewise.
42723 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42724 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42725 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42726 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42727 * sysdeps/powerpc/test-gettimebase.c: Likewise.
42728 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42729 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
42730 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
42731 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42732 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
42733 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42734 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42735 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
42736 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
42737 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
42738 * sysdeps/x86_64/dl-tls.h: Likewise.
42739 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
42740 * time/alt_digit.c: Likewise.
42741 * time/era.c: Likewise.
42742 * wcsmbs/tst-c16c32-1.c: Likewise.
42743
42744 2013-05-16 Joseph Myers <joseph@codesourcery.com>
42745
42746 * math/libm-test.inc (struct test_sincos_data): New type.
42747 (RUN_TEST_LOOP_sincos): New macro.
42748 (sincos_test_data): New variable.
42749 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
42750
42751 2013-05-16 Richard Henderson <rth@redhat.com>
42752
42753 * math/atest-exp2.c (LIMB64): New macro.
42754 (CONSTSZ): New macro.
42755 (mp_exp1, mp_exp_m1, mp_log2): New variables.
42756 (hexdig): Move ...
42757 (print_mpn_fp): ... to function scope.
42758 (read_mpn_hex): Remove.
42759 (get_log2): Remove.
42760 (exp2_mpn): Use mp_log2.
42761 (main): Use mp_exp1.
42762
42763 2013-05-16 Joseph Myers <joseph@codesourcery.com>
42764
42765 * math/libm-test.inc: Remove comment about not testing "inexact"
42766 exceptions.
42767 (INEXACT_EXCEPTION): New macro.
42768 (NO_INEXACT_EXCEPTION): Likewise.
42769 (INVALID_EXCEPTION_OK): Update value.
42770 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42771 (OVERFLOW_EXCEPTION_OK): Likewise.
42772 (UNDERFLOW_EXCEPTION_OK): Likewise.
42773 (IGNORE_ZERO_INF_SIGN): Likewise.
42774 (ERRNO_UNCHANGED): Likewise.
42775 (ERRNO_EDOM): Likewise.
42776 (ERRNO_ERANGE): Likewise.
42777 (test_exceptions): Handle testing "inexact" exceptions.
42778 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
42779 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
42780 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
42781 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
42782 INEXACT_EXCEPTION.
42783 (rint_towardzero_test_data): Likewise.
42784 (rint_downward_test_data): Likewise.
42785 (rint_upward_test_data): Likewise.
42786
42787 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
42788 with OVERFLOW_EXCEPTION.
42789 (exp10_test_data): Likewise.
42790 (exp2_test_data): Likewise.
42791 (expm1_test_data): Likewise.
42792 (lgamma_test_data): Likewise.
42793 (pow_test_data): Likewise.
42794 (tgamma_test_data): Likewise.
42795 (yn_test_data): Remove duplicate test of overflow.
42796
42797 * math/libm-test.inc (struct test_cc_c_data): New type.
42798 (RUN_TEST_LOOP_cc_c): New macro.
42799 (cpow_test_data): New variable.
42800 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
42801
42802 * math/libm-test.inc (struct test_f_L_data): New type.
42803 (RUN_TEST_LOOP_f_L): New macro.
42804 (llrint_test_data): New variable.
42805 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
42806 (llrint_tonearest_test_data): New variable.
42807 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
42808 (llrint_towardzero_test_data): New variable.
42809 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
42810 (llrint_downward_test_data): New variable.
42811 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
42812 (llrint_upward_test_data): New variable.
42813 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
42814 (llround_test_data): New variable.
42815 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
42816
42817 2013-05-13 Peter Collingbourne <pcc@google.com>
42818
42819 * math/atest-exp2.c (get_log2): Remove const attribute.
42820
42821 2013-05-15 Joseph Myers <joseph@codesourcery.com>
42822
42823 * math/libm-test.inc (struct test_f_l_data): New type.
42824 (RUN_TEST_LOOP_f_l): New macro.
42825 (lrint_test_data): New variable.
42826 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
42827 (lrint_tonearest_test_data): New variable.
42828 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
42829 (lrint_towardzero_test_data): New variable.
42830 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
42831 (lrint_downward_test_data): New variable.
42832 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
42833 (lrint_upward_test_data): New variable.
42834 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
42835 (lround_test_data): New variable.
42836 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
42837
42838 2013-05-15 Peter Collingbourne <pcc@google.com>
42839
42840 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
42841 (EXTRACT_WORDS64) Use where appropriate.
42842 (INSERT_WORDS64) Likewise.
42843
42844 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
42845 constraints with x constraints.
42846 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
42847
42848 * malloc/obstack.c (_obstack_compat): Add initializer.
42849
42850 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
42851
42852 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
42853 si_trapno and add si_addr_lsb to _sifields.sigfault.
42854 (si_trapno): Remove macro.
42855 (si_addr_lsb): Define new macro.
42856 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42857
42858 2013-05-15 Joseph Myers <joseph@codesourcery.com>
42859
42860 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
42861 instead of TEST_f_l.
42862 (llrint_test_tonearest): Likewise.
42863 (llrint_test_towardzero): Likewise.
42864 (llrint_test_downward): Likewise.
42865 (llrint_test_upward): Likewise.
42866 (llround_test): Likewise.
42867
42868 * math/libm-test.inc (struct test_f_i_data): Add comment.
42869 (RUN_TEST_LOOP_f_b): New macro.
42870 (RUN_TEST_LOOP_f_b_tg): Likewise.
42871 (finite_test_data): New variable.
42872 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
42873 (isfinite_test_data): New variable.
42874 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42875 (isinf_test_data): New variable.
42876 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42877 (isnan_test_data): New variable.
42878 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42879 (isnormal_test_data): New variable.
42880 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42881 (issignaling_test_data): New variable.
42882 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42883 (signbit_test_data): New variable.
42884 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42885
42886 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
42887 with INVALID_EXCEPTION.
42888 (acosh_test_data): Likewise.
42889 (asin_test_data): Likewise.
42890 (atanh_test_data): Likewise.
42891 (fmod_test_data): Likewise.
42892 (log_test_data): Likewise.
42893 (log10_test_data): Likewise.
42894 (log2_test_data): Likewise.
42895 (pow_test_data): Likewise.
42896 (sqrt_test_data): Likewise.
42897 (y0_test_data): Likewise.
42898 (y1_test_data): Likewise.
42899 (yn_test_data): Likewise.
42900
42901 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
42902 function contents.
42903
42904 * math/libm-test.inc (struct test_ff_i_data): New type.
42905 (RUN_TEST_LOOP_ff_i_tg): New macro.
42906 (isgreater_test_data): New variable.
42907 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42908 (isgreaterequal_test_data): New variable.
42909 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42910 (isless_test_data): New variable.
42911 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42912 (islessequal_test_data): New variable.
42913 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42914 (islessgreater_test_data): New variable.
42915 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42916 (isunordered_test_data): New variable.
42917 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42918
42919 2013-05-14 David S. Miller <davem@davemloft.net>
42920
42921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42922
42923 2013-05-14 Joseph Myers <joseph@codesourcery.com>
42924
42925 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
42926
42927 * math/libm-test.inc (struct test_fF_f1_data): Change type of
42928 extra_test to int.
42929 (struct test_f_i_data): Change type of max_ulp to int.
42930
42931 * math/libm-test.inc (test_ffI_f1_data): New type.
42932 (RUN_TEST_LOOP_ffI_f1): New macro.
42933 (remquo_test_data): New variable.
42934 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
42935
42936 * setjmp/tst-setjmp-fp.c: New file.
42937 * setjmp/Makefile (tests): Add tst-setjmp-fp.
42938 (link-libm): New variable.
42939 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
42940
42941 * math/libm-test.inc (struct test_f_i_data): New type.
42942 (RUN_TEST_LOOP_f_i): New macro.
42943 (RUN_TEST_LOOP_f_i_tg): Likewise.
42944 (fpclassify_test_data): New variable.
42945 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
42946 (ilogb_test_data): New variable.
42947 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
42948
42949 * math/libm-test.inc (scalbln_test): Correct function name in END
42950 call.
42951
42952 * math/libm-test.inc (struct test_f_f1_data): Add comment.
42953 (RUN_TEST_LOOP_fI_f1): New macro.
42954 (frexp_test_data): New variable.
42955 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
42956
42957 * math/libm-test.inc (struct test_fF_f1_data): New type.
42958 (RUN_TEST_LOOP_fF_f1): New macro.
42959 (modf_test_data): New variable.
42960 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
42961
42962 * math/libm-test.inc (struct test_f_f1_data): New type.
42963 (RUN_TEST_LOOP_f_f1): New macro.
42964 (gamma_test_data): New variable.
42965 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42966 (lgamma_test_data): New variable.
42967 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42968
42969 2013-05-13 Carlos O'Donell <carlos@redhat.com>
42970
42971 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
42972 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
42973 (main): Comment "tls" pseudo-hwcap.
42974
42975 2013-05-13 Joseph Myers <joseph@codesourcery.com>
42976
42977 * math/libm-test.inc (struct test_fl_f_data): New type.
42978 (RUN_TEST_LOOP_fl_f): New variable.
42979 (scalbln_test_data): New variable.
42980 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
42981
42982 * math/libm-test.inc (struct test_fi_f_data): New type.
42983 (RUN_TEST_LOOP_fi_f): New macro.
42984 (ldexp_test_data): New variable.
42985 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
42986 (scalbn_test_data): New variable.
42987 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
42988
42989 * math/libm-test.inc (struct test_c_f_data): New type.
42990 (RUN_TEST_LOOP_c_f): New macro.
42991 (cabs_test_data): New variable.
42992 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
42993 (carg_test_data): New variable.
42994 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
42995 (cimag_test_data): New variable.
42996 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
42997 (creal_test_data): New variable.
42998 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
42999
43000 * math/libm-test.inc (struct test_if_f_data): New type.
43001 (RUN_TEST_LOOP_if_f): New macro.
43002 (jn_test_data): New variable.
43003 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
43004 (yn_test_data): New variable.
43005 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
43006
43007 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
43008
43009 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43010
43011 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
43012 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
43013
43014 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
43015
43016 * benchtests/Makefile (CPPFLAGS-nonlib): Add
43017 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
43018 (bench-deps): Add bench-timing.h.
43019 * benchtests-bench-skeleton.c: Include bench-timing.h.
43020 (main): Use TIMING_* macros instead of clock_gettime.
43021 * benchtests/bench-timing.h: New file.
43022
43023 [BZ #14582]
43024 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
43025 Renamed from _LIB_VERSION.
43026 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
43027
43028 2013-05-12 Joseph Myers <joseph@codesourcery.com>
43029
43030 * math/libm-test.inc (struct test_fff_f_data): New type.
43031 (RUN_TEST_LOOP_fff_f): New macro.
43032 (fma_test_data): New variable.
43033 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
43034 (fma_towardzero_test_data): New variable.
43035 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
43036 (fma_downward_test_data): New variable.
43037 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
43038 (fma_upward_test_data): New variable.
43039 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
43040
43041 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
43042 (struct test_c_c_data): New type.
43043 (RUN_TEST_LOOP_c_c): New macro.
43044 (cacos_test_data): New variable.
43045 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
43046 (cacosh_test_data): New variable.
43047 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
43048 (casin_test_data): New variable.
43049 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
43050 (casinh_test_data): New variable.
43051 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
43052 (catan_test_data): New variable.
43053 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
43054 (catanh_test_data): New variable.
43055 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
43056 (ccos_test_data): New variable.
43057 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
43058 (ccosh_test_data): New variable.
43059 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
43060 (cexp_test_data): New variable.
43061 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
43062 (clog_test_data): New variable.
43063 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
43064 (clog10_test_data): New variable.
43065 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
43066 (conj_test_data): New variable.
43067 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
43068 (cproj_test_data): New variable.
43069 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
43070 (csin_test_data): New variable.
43071 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
43072 (csinh_test_data): New variable.
43073 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
43074 (csqrt_test_data): New variable.
43075 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
43076 (ctan_test_data): New variable.
43077 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
43078 (ctan_tonearest_test_data): New variable.
43079 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43080 (ctan_towardzero_test_data): New variable.
43081 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43082 (ctan_downward_test_data): New variable.
43083 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43084 (ctan_upward_test_data): New variable.
43085 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43086 (ctanh_test_data): New variable.
43087 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
43088 (ctanh_tonearest_test_data): New variable.
43089 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
43090 (ctanh_towardzero_test_data): New variable.
43091 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
43092 (ctanh_downward_test_data): New variable.
43093 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
43094 (ctanh_upward_test_data): New variable.
43095 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
43096 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
43097 of BUILD_COMPLEX.
43098
43099 * math/libm-test.inc (struct test_ff_f_data): New type.
43100 (struct test_ff_f_data_nexttoward): Likewise.
43101 (RUN_TEST_LOOP_2_f): New macro.
43102 (RUN_TEST_LOOP_ff_f): Likewise.
43103 (atan2_test_data): New variable.
43104 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
43105 (copysign_test_data): New variable.
43106 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
43107 (fdim_test_data): New variable.
43108 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
43109 (fmax_test_data): New variable.
43110 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
43111 (fmin_test_data): New variable.
43112 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
43113 (fmod_test_data): New variable.
43114 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
43115 (hypot_test_data): New variable.
43116 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
43117 (nextafter_test_data): New variable.
43118 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
43119 (nexttoward_test_data): New variable.
43120 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
43121 (pow_test_data): New variable.
43122 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
43123 (pow_tonearest_test_data): New variable.
43124 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
43125 (pow_towardzero_test_data): New variable.
43126 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
43127 (pow_downward_test_data): New variable.
43128 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
43129 (pow_upward_test_data): New variable.
43130 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
43131 (remainder_test_data): New variable.
43132 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
43133 (scalb_test_data): New variable.
43134 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
43135 * sysdeps/i386/fpu/libm-test-ulps: Update.
43136
43137 2013-05-11 Joseph Myers <joseph@codesourcery.com>
43138
43139 * math/libm-test.inc (fma_test): Use max_value instead of local
43140 variable fltmax.
43141 (nextafter_test): Likewise.
43142
43143 * math/libm-test.inc (acos_towardzero_test_data): New variable.
43144 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43145 (acos_downward_test_data): New variable.
43146 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43147 (acos_upward_test_data): New variable.
43148 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43149 (acosh_test_data): New variable.
43150 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
43151 (asin_test_data): New variable.
43152 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
43153 (asin_tonearest_test_data): New variable.
43154 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43155 (asin_towardzero_test_data): New variable.
43156 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43157 (asin_downward_test_data): New variable.
43158 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43159 (asin_upward_test_data): New variable.
43160 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43161 (asinh_test_data): New variable.
43162 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
43163 (atan_test_data): New variable.
43164 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
43165 (atanh_test_data): New variable.
43166 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
43167 (cbrt_test_data): New variable.
43168 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
43169 (ceil_test_data): New variable.
43170 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
43171 (cos_test_data): New variable.
43172 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
43173 (cos_tonearest_test_data): New variable.
43174 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43175 (cos_towardzero_test_data): New variable.
43176 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43177 (cos_downward_test_data): New variable.
43178 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43179 (cos_upward_test_data): New variable.
43180 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43181 (cosh_test_data): New variable.
43182 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
43183 (cosh_tonearest_test_data): New variable.
43184 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43185 (cosh_towardzero_test_data): New variable.
43186 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43187 (cosh_downward_test_data): New variable.
43188 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43189 (cosh_upward_test_data): New variable.
43190 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43191 (erf_test_data): New variable.
43192 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
43193 (erfc_test_data): New variable.
43194 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
43195 (exp_test_data): New variable.
43196 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
43197 (exp_tonearest_test_data): New variable.
43198 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43199 (exp_towardzero_test_data): New variable.
43200 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43201 (exp_downward_test_data): New variable.
43202 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43203 (exp_upward_test_data): New variable.
43204 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43205 (exp10_test_data): New variable.
43206 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
43207 (exp2_test_data): New variable.
43208 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
43209 (expm1_test_data): New variable.
43210 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
43211 (fabs_test_data): New variable.
43212 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
43213 (floor_test_data): New variable.
43214 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
43215 (j0_test_data): New variable.
43216 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
43217 (j1_test_data): New variable.
43218 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
43219 (log_test_data): New variable.
43220 (log_test): Run tests with RUN_TEST_LOOP_f_f.
43221 (log10_test_data): New variable.
43222 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
43223 (log1p_test_data): New variable.
43224 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
43225 (log2_test_data): New variable.
43226 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
43227 (logb_test_data): New variable.
43228 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
43229 (logb_downward_test_data): New variable.
43230 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43231 (nearbyint_test_data): New variable.
43232 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
43233 (rint_test_data): New variable.
43234 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
43235 (rint_tonearest_test_data): New variable.
43236 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43237 (rint_towardzero_test_data): New variable.
43238 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43239 (rint_downward_test_data): New variable.
43240 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43241 (rint_upward_test_data): New variable.
43242 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43243 (round_test_data): New variable.
43244 (round_test): Run tests with RUN_TEST_LOOP_f_f.
43245 (sin_test_data): New variable.
43246 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
43247 (sin_tonearest_test_data): New variable.
43248 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43249 (sin_towardzero_test_data): New variable.
43250 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43251 (sin_downward_test_data): New variable.
43252 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43253 (sin_upward_test_data): New variable.
43254 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43255 (sinh_test_data): New variable.
43256 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
43257 (sinh_tonearest_test_data): New variable.
43258 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43259 (sinh_towardzero_test_data): New variable.
43260 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43261 (sinh_downward_test_data): New variable.
43262 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43263 (sinh_upward_test_data): New variable.
43264 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43265 (sqrt_test_data): New variable.
43266 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
43267 (tan_test_data): New variable.
43268 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
43269 (tan_tonearest_test_data): New variable.
43270 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43271 (tan_towardzero_test_data): New variable.
43272 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
43273 (tan_downward_test_data): New variable.
43274 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43275 (tan_upward_test_data): New variable.
43276 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
43277 (tanh_test_data): New variable.
43278 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
43279 (tgamma_test_data): New variable.
43280 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
43281 (trunc_test_data): New variable.
43282 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
43283 (y0_test_data): New variable.
43284 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
43285 (y1_test_data): New variable.
43286 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
43287 (significand_test_data): New variable.
43288 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
43289
43290 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
43291
43292 [BZ #12387]
43293 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
43294
43295 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
43296
43297 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
43298
43299 2013-05-10 Andreas Jaeger <aj@suse.de>
43300
43301 [BZ #15448]
43302 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
43303 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
43304
43305 2013-05-10 Joseph Myers <joseph@codesourcery.com>
43306
43307 * math/gen-libm-test.pl (adjust_arg): New function.
43308 (special_functions): Handle generating output in both functions
43309 and arrays.
43310 (parse_args): Likewise.
43311 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
43312 $in_func argument to parse_args.
43313 * math/libm-test.inc (struct test_f_f_data): New type.
43314 (IF_ROUND_INIT_): New macro.
43315 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
43316 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43317 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43318 (IF_ROUND_INIT_FE_UPWARD): Likewise.
43319 (ROUND_RESTORE_): Likewise.
43320 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
43321 (ROUND_RESTORE_FE_TONEAREST): Likewise.
43322 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
43323 (ROUND_RESTORE_FE_UPWARD): Likewise.
43324 (RUN_TEST_LOOP_f_f): New macro.
43325 (acos_test_data): New variable.
43326 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
43327 (acos_tonearest_test_data): New variable.
43328 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
43329
43330 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43331
43332 * benchtests/bench-skeleton.c (startup): Fix coding style.
43333
43334 2013-05-10 Joseph Myers <joseph@codesourcery.com>
43335
43336 [BZ #6809]
43337 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
43338 negative infinity argument.
43339 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
43340 negative infinity argument.
43341 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
43342 negative infinity argument.
43343 * math/libm-test.inc (tgamma_test): Expect errno to be set for
43344 domain errors.
43345
43346 2013-05-10 Florian Weimer <fweimer@redhat.com>
43347
43348 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
43349 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
43350 * iconv/iconv_prog.c (main): Likewise.
43351 * locale/programs/charmap-dir.c (charmap_readdir)
43352 (fopen_uncompressed): Likewise.
43353 * locale/programs/locfile.c (siblings_uncached)
43354 (write_locale_data): Use lstat64 instead of lstat.
43355 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
43356 stat.
43357
43358 2013-05-10 Andreas Jaeger <aj@suse.de>
43359
43360 [BZ #15395]
43361 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
43362 localization.
43363 Include <locale.h>.
43364
43365 2013-05-09 Carlos O'Donell <carlos@redhat.com>
43366
43367 * elf/dl-close.c (_dl_close_worker): Add comments.
43368
43369 2013-05-09 Joseph Myers <joseph@codesourcery.com>
43370
43371 [BZ #15359]
43372 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
43373 high part of pi/2.
43374 (__ieee754_rem_pio2l): Update comments.
43375
43376 [BZ #15429]
43377 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
43378 high part of pi/2.
43379 (__ieee754_rem_pio2l): Update comments.
43380
43381 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
43382 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
43383
43384 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
43385 M_PI_4l.
43386
43387 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
43388 (M_PI_34_LOG10El): Likewise.
43389 (M_PI2_LOG10El): Likewise.
43390 (M_PI4_LOG10El): Likewise.
43391 (M_PI_LOG10El): Likewise.
43392
43393 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43394
43395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43396
43397 2013-05-08 Joseph Myers <joseph@codesourcery.com>
43398
43399 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
43400 (MINUS_ZERO_INIT): Likewise.
43401 (PLUS_INFTY_INIT): Likewise.
43402 (MINUS_INFTY_INIT): Likewise.
43403 (QNAN_VALUE_INIT): Likewise.
43404 (MAX_VALUE_INIT): Likewise.
43405 (MIN_VALUE_INIT): Likewise.
43406 (MIN_SUBNORM_VALUE_INIT): Likewise.
43407 (plus_zero): Initialize with PLUS_ZERO_INIT.
43408 (minus_zero): Initialize with MINUS_ZERO_INIT.
43409 (plus_infty): Initialize with PLUS_INFTY_INIT.
43410 (minus_infty): Initialize with MINUS_INFTY_INIT.
43411 (qnan_value): Initialize with QNAN_VALUE_INIT.
43412 (max_value): Initialize with MAX_VALUE_INIT.
43413 (min_value): Initialize with MIN_VALUE_INIT.
43414 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
43415
43416 * math/libm-test.inc (RUN_TEST_if_f): New macro.
43417 (jn_test): Use TEST_if_f instead of TEST_ff_f.
43418 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
43419 (yn_test): Use TEST_if_f instead of TEST_ff_f.
43420
43421 * math/libm-test.inc (RUN_TEST_f_f): New macro.
43422 (RUN_TEST_2_f): Likewise.
43423 (RUN_TEST_ff_f): Likewise.
43424 (RUN_TEST_fi_f): Likewise.
43425 (RUN_TEST_fl_f): Likewise.
43426 (RUN_TEST_fff_f): Likewise.
43427 (RUN_TEST_c_f): Likewise.
43428 (RUN_TEST_f_f1): Likewise.
43429 (RUN_TEST_fF_f1): Likewise.
43430 (RUN_TEST_fI_f1): Likewise.
43431 (RUN_TEST_ffI_f1): Likewise.
43432 (RUN_TEST_c_c): Likewise.
43433 (RUN_TEST_cc_c): Likewise.
43434 (RUN_TEST_f_i): Likewise.
43435 (RUN_TEST_f_i_tg): Likewise.
43436 (RUN_TEST_ff_i_tg): Likewise.
43437 (RUN_TEST_f_b): Likewise.
43438 (RUN_TEST_f_b_tg): Likewise.
43439 (RUN_TEST_f_l): Likewise.
43440 (RUN_TEST_f_L): Likewise.
43441 (RUN_TEST_sincos): Likewise.
43442 * math/gen-libm-test.pl (new_test): Take new argument to indicate
43443 whether to show exceptions. Do not include ");\n" in return
43444 value.
43445 (special_functions): Output call to RUN_TEST_sincos instead of
43446 check_float calls. Update calls to new_test.
43447 (parse_args): Output call to single RUN_TEST_* macro instead of
43448 check_* calls and other assignments. Update calls to new_test.
43449
43450 [BZ #2546]
43451 [BZ #2560]
43452 [BZ #5159]
43453 [BZ #15426]
43454 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
43455 input to result for tgamma overflow.
43456 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
43457 (gamma_coeff): New variable.
43458 (NCOEFF): New macro.
43459 (gamma_positive): New function.
43460 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
43461 underflow here. Use gamma_positive instead of exp (lgamma) for
43462 other arguments.
43463 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
43464 (gamma_coeff): New variable.
43465 (NCOEFF): New macro.
43466 (gammaf_positive): New function.
43467 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
43468 underflow here. Use gamma_positive instead of exp (lgamma) for
43469 other arguments.
43470 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
43471 (gamma_coeff): New variable.
43472 (NCOEFF): New macro.
43473 (gammal_positive): New function.
43474 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
43475 underflow here. Use gamma_positive instead of exp (lgamma) for
43476 other arguments.
43477 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
43478 (gamma_coeff): New variable.
43479 (NCOEFF): New macro.
43480 (gammal_positive): New function.
43481 (__ieee754_gammal_r): Handle positive infinity, overflow and
43482 underflow here. Handle NaN the same as positive infinity. Remove
43483 check x < 0xffffffff for negative integers. Use gamma_positive
43484 instead of exp (lgamma) for other arguments.
43485 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
43486 (gamma_coeff): New variable.
43487 (NCOEFF): New macro.
43488 (gammal_positive): New function.
43489 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
43490 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
43491 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
43492 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
43493 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
43494 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
43495 * sysdeps/generic/math_private.h (__gamma_productf): New
43496 prototype.
43497 (__gamma_product): Likewise.
43498 (__gamma_productl): Likewise.
43499 * math/Makefile (libm-calls): Add gamma_product.
43500 * math/libm-test.inc (tgamma_test): Add more tests.
43501 * sysdeps/i386/fpu/libm-test-ulps: Update.
43502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43503
43504 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
43505
43506 * benchtests/bench-skeleton.c (main): Preheat CPU.
43507
43508 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
43509
43510 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
43511
43512 2013-05-07 Roland McGrath <roland@hack.frob.com>
43513
43514 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
43515 and _dl_skip_args_internal.
43516
43517 2013-05-07 Carlos O'Donell <carlos@redhat.com>
43518
43519 * manual/message.texi (Message Translation): Talk about users.
43520 Message to key mapping impacts design.
43521
43522 2013-05-06 Roland McGrath <roland@hack.frob.com>
43523
43524 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
43525
43526 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
43527
43528 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
43529 * sysdeps/wordsize-64/glob64.c: ... here.
43530
43531 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
43532 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
43533 New macros.
43534
43535 * debug/getlogin_r_chk.c: Moved to ...
43536 * login/getlogin_r_chk.c: ... here.
43537 * debug/Makefile (routines): Move getlogin_r_chk to ...
43538 * login/Makefile (routines): ... here.
43539 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
43540 * login/Versions (libc: GLIBC_2.4): ... here.
43541
43542 * io/poll.c (__poll): Renamed from poll.
43543 Add libc_hidden_def.
43544 (poll): Define as weak alias.
43545
43546 * debug/ptsname_r_chk.c: Moved to ...
43547 * login/ptsname_r_chk.c: ... here.
43548 * debug/Makefile (routines): Move ptsname_r_chk to ...
43549 * login/Makefile (routines): ... here.
43550 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
43551 * login/Versions (libc: GLIBC_2.4): ... here.
43552
43553 * posix/getlogin.c: Moved to ...
43554 * login/getlogin.c: ... here.
43555 * posix/getlogin_r.c: Moved to ...
43556 * login/getlogin_r.c: ... here.
43557 * posix/getlogin_r.c: Moved to ...
43558 * login/getlogin_r.c: ... here.
43559 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
43560 * login/Makefile (routines): ... here.
43561 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
43562 * login/Versions (libc: GLIBC_2.0): ... here.
43563
43564 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
43565 (setrlimit): Define as weak alias.
43566
43567 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
43568 Call __ names for open, ftruncate, and close.
43569 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
43570 (truncate): Define as weak alias.
43571
43572 2013-05-06 Joseph Myers <joseph@codesourcery.com>
43573
43574 * math/gen-libm-test.pl (parse_args): Initialize x before each
43575 test of frexp, modf and remquo.
43576
43577 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
43578 test signgam value.
43579
43580 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43581
43582 [BZ #15418]
43583 [BZ #15419]
43584 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
43585 internal tests.
43586 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43587
43588 2013-05-06 Roland McGrath <roland@hack.frob.com>
43589
43590 * elf/dl-writev.h: New file.
43591 * elf/dl-misc.c: Include it.
43592 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
43593 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
43594
43595 2013-05-04 Joseph Myers <joseph@codesourcery.com>
43596
43597 * math/libm-test.inc (noXFails): Remove variable.
43598 (noXPasses): Likewise.
43599 (BUILD_COMPLEX_INT): Remove macro.
43600 (print_screen): Remove xfail argument.
43601 (print_screen_max_error): Likewise.
43602 (update_stats): Likewise.
43603 (print_max_error): Likewise. Update calls to other affected
43604 functions.
43605 (print_complex_max_error): Likewise.
43606 (test_single_exception): Update calls to print_screen.
43607 (test_single_errno): Likewise.
43608 (check_float_internal): Remove xfail argument. Update calls to
43609 other affected functions.
43610 (check_float): Likewise.
43611 (check_complex): Likewise.
43612 (check_int): Likewise.
43613 (check_long): Likewise.
43614 (check_bool): Likewise.
43615 (check_longlong): Likewise.
43616 (main): Don't print noXFails and noXPasses.
43617 * math/gen-libm-test.pl (top level): Don't mention expected
43618 failure handling in comment.
43619 (new_test): Don't handle expected failures.
43620 (parse_args): Don't mention expected failure handling in comment.
43621 (generate_testfile): Don't handle expected failures.
43622 (parse_ulps): Likewise.
43623 (print_ulps_file): Likewise.
43624 (get_failure): Remove function.
43625 (output_test): Don't handle expected failures.
43626 * make/README.libm-test: Don't mention expected failure handling.
43627
43628 * math/libm-test.inc (plus_zero): Make const. Add initializer.
43629 (minus_zero): Likewise.
43630 (plus_infty): Likewise.
43631 (minus_infty): Likewise.
43632 (qnan_value): Likewise.
43633 (max_value): Likewise.
43634 (min_value): Likewise.
43635 (min_subnorm_value): Likewise.
43636 (initialize): Do not initialize those variables dynamically.
43637
43638 2013-05-03 Roland McGrath <roland@hack.frob.com>
43639
43640 * io/open.c (__open_2): Moved to ...
43641 * io/open_2.c: ... this new file.
43642 * io/open64.c (__open64_2): Moved to ...
43643 * io/open64_2.c: ... this new file.
43644 * io/openat.c (__openat_2): Moved to ...
43645 * io/openat_2.c: ... this new file.
43646 * io/openat64.c (__openat64_2): Moved to ...
43647 * io/openat64_2.c: ... this new file.
43648 * io/Makefile (routines): Add them.
43649 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
43650 * sysdeps/unix/sysv/linux/open_2.c: File removed.
43651 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
43652 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
43653 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
43654 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
43655 (__openat64): Add hidden_ver.
43656 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
43657 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
43658
43659 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
43660 Separately conditionalize setting of GLRO(dl_sysinfo) so
43661 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
43662 as well, but the actual setting is only under [NEED_DL_SYSINFO].
43663
43664 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43665
43666 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
43667 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
43668 definition.
43669 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
43670 * sysdeps/unix/sysv/linux/powerpc/init-first.c
43671 (_libc_vdso_platform_setup): Add __vdso_time initialization.
43672 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
43673 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
43674
43675 2013-05-03 Joseph Myers <joseph@codesourcery.com>
43676
43677 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
43678 test signgam value.
43679
43680 * math/libm-test.inc (hypot_test): Do not use
43681 IGNORE_ZERO_INF_SIGN.
43682
43683 2013-05-03 Andreas Jaeger <aj@suse.de>
43684
43685 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
43686 Linux 3.9.
43687 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
43688 (PF_MAX): Adjust for VSOCK change.
43689
43690 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43691
43692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43693
43694 2013-05-02 Carlos O'Donell <carlos@redhat.com>
43695
43696 [BZ #15264]
43697 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
43698 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
43699 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
43700
43701 2013-05-02 David S. Miller <davem@davemloft.net>
43702
43703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43704
43705 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
43706
43707 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
43708
43709 2013-05-01 Roland McGrath <roland@hack.frob.com>
43710
43711 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
43712
43713 2013-05-01 Richard Smith <richard@metafoo.co.uk>
43714
43715 [BZ #14952]
43716 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
43717 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43718 Use __attribute__ ((__gnu_inline__)).
43719 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43720 Don't use __attribute__ ((__gnu_inline__)).
43721
43722 2013-05-01 Joseph Myers <joseph@codesourcery.com>
43723
43724 [BZ #15423]
43725 * math/s_catan.c (__catan): Handle small real or imaginary part of
43726 input specially to avoid spurious underflow.
43727 * math/s_catanf.c (__catanf): Likewise.
43728 * math/s_catanh.c (__catanh): Likewise.
43729 * math/s_catanhf.c (__catanhf): Likewise.
43730 * math/s_catanhl.c (__catanhl): Likewise.
43731 * math/s_catanl.c (__catanl): Likewise.
43732 * math/libm-test.inc (catan_test): Add more tests.
43733 (catanh_test): Likewise.
43734 * sysdeps/i386/fpu/libm-test-ulps: Update.
43735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43736
43737 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43738
43739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43740
43741 2013-04-30 Joseph Myers <joseph@codesourcery.com>
43742
43743 [BZ #15416]
43744 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
43745 accurately for denominator in atan2.
43746 * math/s_catanf.c (__catanf): Likewise.
43747 * math/s_catanh.c (__catanh): Likewise.
43748 * math/s_catanhf.c (__catanhf): Likewise.
43749 * math/s_catanhl.c (__catanhl): Likewise.
43750 * math/s_catanl.c (__catanl): Likewise.
43751 * math/libm-test.inc (catan_test): Add more tests.
43752 (catanh_test): Likewise.
43753 * sysdeps/i386/fpu/libm-test-ulps: Update.
43754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43755
43756 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43757
43758 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
43759
43760 * benchtests/Makefile (bench): Remove slow benchmarks.
43761 * benchtests/atan-inputs: Add slow benchmark inputs.
43762 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
43763 (BENCH_FUNC): Accept variant offset.
43764 (VARIANT): Define.
43765 * benchtests/bench-skeleton.c (main): Run benchmark for each
43766 variant.
43767 * benchtests/cos-inputs: Add slow benchmark inputs.
43768 * benchtests/exp-inputs: Likewise.
43769 * benchtests/pow-inputs: Likewise.
43770 * benchtests/sin-inputs: Likewise.
43771 * benchtests/slowatan-inputs: Remove.
43772 * benchtests/slowatan.c: Remove.
43773 * benchtests/slowcos-inputs: Remove.
43774 * benchtests/slowcos.c: Remove.
43775 * benchtests/slowexp-inputs: Remove.
43776 * benchtests/slowexp.c: Remove.
43777 * benchtests/slowpow-inputs: Remove.
43778 * benchtests/slowpow.c: Remove.
43779 * benchtests/slowsin-inputs: Remove.
43780 * benchtests/slowsin.c: Remove.
43781 * benchtests/slowtan-inputs: Remove.
43782 * benchtests/slowtan.c: Remove.
43783 * benchtests/tan-inputs: Add slow benchmark inputs.
43784 * scripts/bench.pl: Parse comments and directives.
43785
43786 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
43787 in CPPFLAGS.
43788 ($(objpfx)bench-%.c): Remove *-ITER.
43789 * benchtests/bench-modf.c: Remove definition of ITER.
43790 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
43791 (main): Loop for DURATION seconds instead of fixed number of
43792 iterations.
43793 * scripts/bench.pl: Don't expect iterations in parameters.
43794
43795 2013-04-29 Roland McGrath <roland@hack.frob.com>
43796
43797 * io/fchdir.c (__fchdir): Renamed from fchdir.
43798 (fchdir): Define as weak alias.
43799
43800 2013-04-29 Joseph Myers <joseph@codesourcery.com>
43801
43802 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
43803 (ERRNO_EDOM): Likewise.
43804 (ERRNO_ERANGE): Likewise.
43805 (noErrnoTests): New variable.
43806 (init_max_error): Set errno to 0.
43807 (test_single_errno): New function.
43808 (test_errno): Likewise.
43809 (check_float_internal): Call test_errno. Set errno to 0.
43810 (check_complex): Refer to errno tests in comment.
43811 (check_int): Call test_errno. Set errno to 0.
43812 (check_long): Likewise.
43813 (check_bool): Likewise.
43814 (check_longlong): Likewise.
43815 (cos_test): Use ERRNO_* flags for errno tests instead of
43816 check_int.
43817 (expm1_test): Likewise.
43818 (fmod_test): Likewise.
43819 (ilogb_test): Likewise.
43820 (lgamma_test): Likewise.
43821 (pow_test): Likewise.
43822 (remainder_test): Likewise.
43823 (sin_test): Likewise.
43824 (tan_test): Likewise.
43825 (yn_test): Likewise.
43826 (initialize): Set errno to 0.
43827 (main): Print number of errno tests.
43828 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
43829
43830 2013-04-29 Andreas Jaeger <aj@suse.de>
43831
43832 [BZ #15084]
43833 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
43834 and RES_USEVC.
43835
43836 [BZ #15085]
43837 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
43838 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
43839 unimplemented.
43840
43841 [BZ #15380]
43842 * stdlib/random.c (__initstate): Return NULL if
43843 __initstate fails.
43844
43845 [BZ #15086]
43846 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
43847 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
43848 RES_SNGLKUPREOP.
43849
43850 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43851
43852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43853
43854 2013-04-29 Joseph Myers <joseph@codesourcery.com>
43855
43856 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
43857 of individual tests.
43858 (casin_test): Likewise.
43859 (casinh_test): Likewise.
43860
43861 2013-04-27 Joseph Myers <joseph@codesourcery.com>
43862
43863 [BZ #15409]
43864 * math/s_catan.c (__catan): Handle arguments with large real or
43865 imaginary part separately without squaring.
43866 * math/s_catanf.c (__catanf): Likewise.
43867 * math/s_catanh.c (__catanh): Likewise.
43868 * math/s_catanhf.c (__catanhf): Likewise.
43869 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43870 and redefine.
43871 (__catanhl): Handle arguments with large real or imaginary part
43872 separately without squaring.
43873 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43874 and redefine.
43875 (__catanl): Handle arguments with large real or imaginary part
43876 separately without squaring.
43877 * math/libm-test.inc (catan_test): Add more tests.
43878 (catanh_test): Likewise.
43879 * sysdeps/i386/fpu/libm-test-ulps: Update.
43880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43881
43882 2013-04-27 Andreas Jaeger <aj@suse.de>
43883
43884 [BZ #15007]
43885 * stdlib/stdlib.h: Update guards for qecvt.
43886 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
43887 <stdlib.h>.
43888
43889 2013-04-27 Allan McRae <allan@archlinux.org>
43890
43891 * sysdeps/i386/fpu/libm-test-ulps: Update.
43892
43893 2013-04-26 Joseph Myers <joseph@codesourcery.com>
43894
43895 [BZ #15406]
43896 * math/s_catan.c: Include <float.h>.
43897 (__catan): Ensure underflow exception occurs for underflowed
43898 result.
43899 * math/s_catanf.c: Include <float.h>.
43900 (__catanf): Ensure underflow exception occurs for underflowed
43901 result.
43902 * math/s_catanh.c: Include <float.h>.
43903 (__catanh): Ensure underflow exception occurs for underflowed
43904 result.
43905 * math/s_catanhf.c: Include <float.h>.
43906 (__catanhf): Ensure underflow exception occurs for underflowed
43907 result.
43908 * math/s_catanhl.c: Include <float.h>.
43909 (__catanhl): Ensure underflow exception occurs for underflowed
43910 result.
43911 * math/s_catanl.c: Include <float.h>.
43912 (__catanl): Ensure underflow exception occurs for underflowed
43913 result.
43914 * math/libm-test.inc (catan_test): Add more tests.
43915 (catanh_test): Likewise.
43916
43917 [BZ #15405]
43918 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
43919 underflowed result.
43920 * math/s_ccoshf.c (__ccoshf): Likewise.
43921 * math/s_ccoshl.c (__ccoshl): Likewise.
43922 * math/s_csin.c (__csin): Likewise.
43923 * math/s_csinf.c (__csinf): Likewise.
43924 * math/s_csinh.c (__csinh): Likewise.
43925 * math/s_csinhf.c (__csinhf): Likewise.
43926 * math/s_csinhl.c (__csinhl): Likewise.
43927 * math/s_csinl.c (__csinl): Likewise.
43928 * math/libm-test.inc (ccos_test): Add more tests.
43929 (ccosh_test): Likewise.
43930 (csin_test): Likewise.
43931 (csinh_test): Likewise.
43932
43933 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43934
43935 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
43936 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
43937 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
43938 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
43939 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
43940 powerpc/power5+/fpu folders.
43941 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
43942
43943
43944 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
43945
43946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43947
43948 2013-04-25 Joseph Myers <joseph@codesourcery.com>
43949
43950 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
43951 additions to variable.
43952 [$(config-machine) = x86_64] (modules-names): Likewise.
43953 ($(objpfx)tst-audit3): Remove dependency.
43954 ($(objpfx)tst-audit3.out): Likewise.
43955 ($(objpfx)tst-audit4): Likewise.
43956 ($(objpfx)tst-audit4.out): Likewise.
43957 ($(objpfx)tst-audit5): Likewise.
43958 ($(objpfx)tst-audit5.out): Likewise.
43959 ($(objpfx)tst-audit6): Likewise.
43960 ($(objpfx)tst-audit6.out): Likewise.
43961 ($(objpfx)tst-audit7): Likewise.
43962 ($(objpfx)tst-audit7.out): Likewise.
43963 (tst-audit3-ENV): Remove variable.
43964 (tst-audit4-ENV): Likewise.
43965 (tst-audit5-ENV): Likewise.
43966 (tst-audit6-ENV): Likewise.
43967 (tst-audit7-ENV): Likewise.
43968 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
43969 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
43970 addition to variable.
43971 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
43972 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
43973 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
43974 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
43975 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
43976 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
43977 tst-audit3, tst-audit4 and tst-audit5.
43978 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
43979 tst-audit6 and tst-audit7.
43980 [$(subdir) = elf] (modules-names): Add audit modules for those
43981 tests.
43982 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
43983 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
43984 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
43985 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
43986 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
43987 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
43988 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
43989 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
43990 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
43991 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
43992 [$(subdir) = elf] (tst-audit3-ENV): New variable.
43993 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
43994 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
43995 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
43996 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
43997 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
43998 Likewise.
43999 [$(subdir) = elf && $(config-cflags-avx) = yes]
44000 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
44001 [$(subdir) = elf && $(config-cflags-avx) = yes]
44002 (CFLAGS-tst-auditmod4a.c): Likewise.
44003 [$(subdir) = elf && $(config-cflags-avx) = yes]
44004 (CFLAGS-tst-auditmod4b.c): Likewise.
44005 [$(subdir) = elf && $(config-cflags-avx) = yes]
44006 (CFLAGS-tst-auditmod6b.c): Likewise.
44007 [$(subdir) = elf && $(config-cflags-avx) = yes]
44008 (CFLAGS-tst-auditmod6c.c): Likewise.
44009 [$(subdir) = elf && $(config-cflags-avx) = yes]
44010 (CFLAGS-tst-auditmod7b.c): Likewise.
44011 * elf/tst-audit3.c: Move to ...
44012 * sysdeps/x86_64/tst-audit3.c: ... here.
44013 * elf/tst-audit4.c: Move to ...
44014 * sysdeps/x86_64/tst-audit4.c: ... here.
44015 * elf/tst-audit5.c: Move to ...
44016 * sysdeps/x86_64/tst-audit5.c: ... here.
44017 * elf/tst-audit6.c: Move to ...
44018 * sysdeps/x86_64/tst-audit6.c: ... here.
44019 * elf/tst-audit7.c: Move to ...
44020 * sysdeps/x86_64/tst-audit7.c: ... here.
44021 * elf/tst-auditmod3a.c: Move to ...
44022 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
44023 * elf/tst-auditmod3b.c: Move to ...
44024 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
44025 * elf/tst-auditmod4a.c: Move to ...
44026 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
44027 * elf/tst-auditmod4b.c: Move to ...
44028 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
44029 * elf/tst-auditmod5a.c: Move to ...
44030 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
44031 * elf/tst-auditmod5b.c: Move to ...
44032 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
44033 * elf/tst-auditmod6a.c: Move to ...
44034 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
44035 * elf/tst-auditmod6b.c: Move to ...
44036 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
44037 * elf/tst-auditmod6c.c: Move to ...
44038 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
44039 * elf/tst-auditmod7a.c: Move to ...
44040 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
44041 * elf/tst-auditmod7b.c: Move to ...
44042 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
44043
44044 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
44045
44046 [BZ #15366]
44047 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
44048 define unconditionally.
44049 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
44050 define unconditionally.
44051 (INT8_C, INT16_C, etc.): Likewise.
44052
44053 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
44054
44055 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
44056 __ehdr_start with hidden visibility.
44057
44058 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
44059
44060 2013-04-24 Carlos O'Donell <carlos@redhat.com>
44061
44062 * math/libm-test.inc (cos_test): Use accurate hex constants.
44063 (sincost_test): Likewise.
44064
44065 2013-04-24 Joseph Myers <joseph@codesourcery.com>
44066
44067 * math/libm-test.inc (catan_test): Add more tests.
44068 (catanh_test): Likewise.
44069
44070 * math/s_catanf.c (__catanf): Use suffixed floating-point
44071 constants.
44072 * math/s_catanhf.c (__catanhf): Likewise.
44073 * math/s_catanhl.c (__catanhl): Likewise.
44074 * math/s_catanl.c (__catanl): Likewise.
44075
44076 [BZ #15394]
44077 * math/s_catan.c (__catan): Calculate imaginary part of result
44078 with log1p not log unless computing log of number close to 0.
44079 * math/s_catanf.c (__catanf): Likewise.
44080 * math/s_catanl.c (__catanl): Likewise.
44081 * math/s_catanh.c (__catanh): Calculate real part of result with
44082 log1p not log unless computing log of number close to 0.
44083 * math/s_catanhf.c (__catanhf): Likewise.
44084 * math/s_catanhl.c (__catanhl): Likewise.
44085 * math/libm-test.inc (catan_test): Add more tests.
44086 (catanh_test): Likewise.
44087 * sysdeps/i386/fpu/libm-test-ulps: Update.
44088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44089
44090 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
44091
44092 * benchtests/Makefile: Mention files in which fast and slow
44093 paths of math functions are implemented.
44094
44095 2013-04-23 Roland McGrath <roland@hack.frob.com>
44096
44097 * sysdeps/posix/timespec_get.c: New file.
44098
44099 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44100
44101 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
44102 POWER.
44103 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
44104 for POWER.
44105 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
44106 powerpc/power5/fpu folders.
44107 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
44108 * benchtests/Makefile: Add modf testcase.
44109 * benchtests/bench-modf.c: New file: Benchmark test for mo
44110
44111 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
44112
44113 [BZ #14888]
44114 * time/Makefile (tests): Add tst-strptime-whitespace.
44115 * time/strptime_l.c (get_number): Use ISSPACE.
44116 (__strptime_internal): Likewise.
44117 * time/tst-strptime-whitespace.c: New test case.
44118
44119 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
44120
44121 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
44122 member.
44123 (_nss_files_init): Set it here.
44124
44125 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
44126
44127 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
44128 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
44129 unsigned.
44130
44131 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
44132
44133 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
44134
44135 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44136
44137 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
44138 size just once.
44139
44140 2013-04-21 David S. Miller <davem@davemloft.net>
44141
44142 * po/ru.po: Update Russion translation from translation project.
44143
44144 2013-04-17 Adam Conrad <adconrad@0c3.net>
44145
44146 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
44147 and setfsgid.
44148
44149 2013-04-17 Carlos O'Donell <carlos@redhat.com>
44150
44151 * configure.in: Remove i386 configure warning. Remove i386 case.
44152 * configure: Regenerate.
44153 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
44154 Add example to error message.
44155 * sysdeps/i386/configure: Regenerate.
44156
44157 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
44158
44159 * benchtests/Makefile (bench): Add cos, tan, slowcos and
44160 slowtan.
44161 * benchtests/cos-inputs: New file.
44162 * benchtests/slowcos-inputs: New file.
44163 * benchtests/slowcos.c: New file.
44164 * benchtests/slowtan-inputs: New file.
44165 * benchtests/slowtan.c: New file.
44166 * benchtests/tan-inputs: New file.
44167
44168 2013-04-16 Roland McGrath <roland@hack.frob.com>
44169
44170 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
44171 considered kosher.
44172
44173 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44174
44175 * benchtests/Makefile: Include cppflags-iterator.mk to add
44176 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
44177
44178 * Makefile.in (bench-clean): New target.
44179 * benchtests/Makefile (bench-clean): Likewise.
44180
44181 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
44182
44183 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
44184
44185 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
44186
44187 * stdio-common/tstdiomisc.c: Fix coding-style violation.
44188
44189 2013-04-15 Andreas Schwab <schwab@suse.de>
44190
44191 * nscd/grpcache.c (cache_addgr): Properly check for short write.
44192 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44193 * nscd/pwdcache.c (cache_addpw): Likewise.
44194 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
44195 more than recsize.
44196
44197 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
44198
44199 * benchtests/Makefile (bench): Write all output to
44200 bench-out.tmp together.
44201
44202 2013-04-15 Andreas Schwab <schwab@suse.de>
44203
44204 * nscd/nscd.c (main): Don't fork again after closing files.
44205
44206 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
44207
44208 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
44209
44210 * benchtests/Rules (bench-deps): Collect dependencies into a
44211 single variable. Add Makefile to dependencies.
44212 ($(objpfx)bench-%.c): Depend on bench-deps.
44213
44214 2013-04-12 Roland McGrath <roland@hack.frob.com>
44215 Xavier Roche <roche+kml2@exalead.com>
44216
44217 [BZ #15361]
44218 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
44219 just that it's a file descriptor.
44220 * manual/llio.texi (Synchronizing AIO Operations): Update description
44221 for EBADF error from aio_fsync.
44222
44223 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44224
44225 * Rules (bench): Move target definition...
44226 * benchtests/Makefile: ... here.
44227
44228 2013-04-11 Carlos O'Donell <carlos@redhat.com>
44229
44230 * math/libm-test.inc (cos_test): Fix PI/2 test.
44231 (sincos_test): Likewise.
44232 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44233 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
44234
44235 2013-04-11 Andreas Schwab <schwab@suse.de>
44236
44237 [BZ #13988]
44238 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
44239 accept exponent character only when digits were seen.
44240 * stdio-common/Makefile (tests): Add bug26.
44241 * stdio-common/bug26.c: New file.
44242
44243 [BZ #14293]
44244 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
44245 non-freeable.
44246
44247 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
44248
44249 * Makeconfig (rtld-prefix): Define built linker prefix.
44250 * Rules (run-bench): Use it.
44251 * math/Makefile (run-regen-ulps): Likewise.
44252
44253 * Rules (bench): Remove eval.
44254
44255 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44256 Roland McGrath <roland@hack.frob.com>
44257 Ondrej Bilka <neleai@seznam.cz>
44258
44259 [BZ #15346]
44260 * time/getdate.c: Include ctype.h and alloca.h.
44261 (__getdate_r): Trim leading and trailing spaces of input.
44262 * time/tst-getdate.c (tests): Add tests with leading and
44263 trailing spaces.
44264
44265 2013-04-08 Roland McGrath <roland@hack.frob.com>
44266
44267 [BZ #14280]
44268 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
44269 when computing value.
44270
44271 2013-04-06 Carlos O'Donell <carlos@redhat.com>
44272
44273 * math/README.libm-test (How can I generate "libm-test-ulps"?):
44274 Use testrun.sh to run libm tests.
44275
44276 [BZ #15309]
44277 * elf/dl-open.c (dl_open_worker): memset all of seen array.
44278
44279 2013-04-06 Marko Myllynen <myllynen@redhat.com>
44280
44281 [BZ #15264]
44282 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
44283
44284 2013-04-06 Carlos O'Donell <carlos@redhat.com>
44285
44286 * Makefile.in (regen-ulps): New target.
44287 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
44288 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
44289 [ifneq (no,$(PERL)] (regen-ulps): New target.
44290 [ifeq (no,$(PERL)] (regen-ulps): New target.
44291 * math/libm-test.inc (ulps_file_name): Define.
44292 (output_dir): New variable.
44293 (options): Add "output-dir" option.
44294 (parse_opt): Handle 'o' case.
44295 (main): If output_dir is non-NULL use it as a prefix
44296 otherwise use "".
44297 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
44298
44299 2013-04-06 Carlos O'Donell <carlos@redhat.com>
44300
44301 [BZ #10060, #10062]
44302 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
44303 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
44304 fail configure if __sync_val_compare_and_swap is not inlined.
44305 * sysdeps/i386/configure: Regenerate.
44306 * configure.in: Build for i686 when configured for i386.
44307 * configure: Regenerate.
44308 * README: Remove i386 reference.
44309
44310 2013-04-06 Carlos O'Donell <carlos@redhat.com>
44311
44312 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
44313 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44314
44315 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
44316
44317 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
44318 (lmsnanval): New variables.
44319 (F): Add conversion tests.
44320 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
44321 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
44322
44323 * stdio-common/tstdiomisc.c (F): Properly collect individual
44324 tests' results.
44325
44326 [BZ #14686, #15336]
44327 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
44328 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
44329 Instead, use input NaN values or generate a qNaN by arithmetic
44330 operation. Also fix bugs to comply with the standard.
44331 * math/libm-test.inc (remainder_test): Add more tests.
44332
44333 [BZ #15335, #15342]
44334 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
44335 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
44336 input NaN values or generate a qNaN by arithmetic operation.
44337
44338 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
44339 unreachable code.
44340
44341 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
44342 definitions.
44343
44344 2013-04-03 Joseph Myers <joseph@codesourcery.com>
44345
44346 [BZ #14478]
44347 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
44348 underflowed result.
44349 * math/s_cexpf.c (__cexpf): Likewise.
44350 * math/s_cexpl.c (__cexpl): Likewise.
44351 * math/libm-test.inc (cexp_test): Add more tests.
44352
44353 2013-04-03 Andreas Schwab <schwab@suse.de>
44354
44355 [BZ #15330]
44356 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
44357 order arrays from heap if bigger than alloca cutoff.
44358
44359 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
44360
44361 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
44362 (SNAN_TESTS_double): Refer to GCC PR56831.
44363 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
44364 GCC PR56828.
44365
44366 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
44367
44368 * Rules (bench): Move bench.out after the run is complete.
44369
44370 * Rules (bench): Echo currently running benchmark.
44371
44372 * benchtests/Makefile (bench): Add atan and slowatan.
44373 * benchtests/atan-inputs: New file.
44374 * benchtests/slowatan-inputs: New file.
44375 * benchtests/slowatan.c: New file.
44376
44377 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
44378 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
44379 its value.
44380
44381 [BZ #15305]
44382 * sysdeps/unix/sysv/linux/kernel-features.h
44383 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
44384 __ASSUME_XFS_RESTRICTED_CHOWN.
44385 * sysdeps/unix/sysv/linux/pathconf.c
44386 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
44387 Save and restore errno.
44388
44389 2013-04-02 Joseph Myers <joseph@codesourcery.com>
44390
44391 [BZ #15327]
44392 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
44393 arguments using __kernel_casinh.
44394 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
44395 arguments using __kernel_casinhf.
44396 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
44397 arguments using __kernel_casinhl.
44398 * math/libm-test.inc (cacosh_test): Add more tests.
44399 * sysdeps/i386/fpu/libm-test-ulps: Update.
44400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44401
44402 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
44403
44404 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
44405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
44406
44407 * bench/Makefile (bench): Add sin and slowsin.
44408 * benchtests/sin-inputs: New file.
44409 * benchtests/slowsin-inputs: New file.
44410 * benchtests/slowsin.c: New file.
44411
44412 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
44413 (bench): Add slowexp and slowpow.
44414 (exp-ITER): Increase iterations.
44415 (pow-ITER): Likewise.
44416 * benchtests/exp-inputs: Change input.
44417 * benchtests/pow-inputs: Likewise.
44418 * benchtests/slowexp-inputs: New file.
44419 * benchtests/slowexp.c: New file.
44420 * benchtests/slowpow-inputs: New file.
44421 * benchtests/slowpow.c: New file.
44422
44423 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44424
44425 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
44426 instructions.
44427 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44428 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
44429 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44430 * benchtests/Makefile: Add rint benchtest.
44431 * benchtests/rint-inputs: Input for rint benchtest.
44432
44433 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
44434
44435 * Versions.def (libm): Add GLIBC_2.18.
44436 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
44437 hidden libm prototypes.
44438 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
44439 * math/Makefile (libm-calls): Add s_issignaling.
44440 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
44441 __issignalingf, __issignalingl. Adjust all libm.abilist files.
44442 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
44443 declaration.
44444 * math/math.h [__USE_GNU] (issignaling): New macro.
44445 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
44446 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
44447 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
44448 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
44449 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
44450 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
44451 * manual/arith.texi (issignaling): New section.
44452 * manual/libm-err-tab.pl (@all_functions): Update comment.
44453 * math/gen-libm-test.pl (parse_args): Apply special handling for
44454 issignaling.
44455 * math/libm-test.inc (print_float, issignaling_test): New
44456 functions.
44457 (check_float_internal): Add issignaling checks.
44458 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
44459 default definition.
44460 * sysdeps/powerpc/math-tests.h: New file.
44461 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
44462 tests.
44463 * math/test-snan.c (TEST_FUNC): Likewise.
44464
44465 2013-03-30 David S. Miller <davem@davemloft.net>
44466
44467 * po/de.po: Update from translation team.
44468
44469 2013-03-30 Joseph Myers <joseph@codesourcery.com>
44470
44471 [BZ #10357]
44472 * math/k_casinh.c (__kernel_casinh): Handle arguments with
44473 imaginary part less than 1.0 and real part less than 0.5
44474 specially.
44475 * math/k_casinhf.c (__kernel_casinhf): Likewise.
44476 * math/k_casinhl.c (__kernel_casinhl): Likewise.
44477 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
44478 (cacos_test): Add more tests.
44479 (casin_test): Likewise.
44480 (casinh_test): Likewise.
44481 * sysdeps/i386/fpu/libm-test-ulps: Update.
44482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44483
44484 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
44485
44486 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
44487 ONE with its value.
44488
44489 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
44490 (__pow_mp): Replace ONE and MONE with their values.
44491 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44492 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
44493 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44494 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
44495 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44496 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44497
44498 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
44499
44500 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
44501 (__pow_mp): Replace ZERO and MZERO with their values.
44502 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44503 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44504 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44505 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44506 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44507 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
44508 (__sqr): Likewise.
44509
44510 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
44511
44512 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
44513
44514 2013-03-28 Roland McGrath <roland@hack.frob.com>
44515
44516 * include/stdlib.h [!SHARED] (__call_tls_dtors):
44517 Declare with __attribute__ ((weak)).
44518 * stdlib/exit.c (__libc_atexit) [!SHARED]:
44519 Call __call_tls_dtors only if it's not NULL.
44520
44521 2013-03-28 Roland McGrath <roland@hack.frob.com>
44522
44523 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
44524 didn't do it already, then set _dl_phdr and _dl_phnum based on the
44525 magic __ehdr_start linker symbol if it's defined.
44526 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
44527 them up here if it was already done.
44528
44529 * elf/dl-support.c (_dl_phdr): Make pointer to const.
44530 (_dl_aux_init): Use const in cast when setting it.
44531 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
44532 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
44533 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
44534
44535 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
44536 Declare them here.
44537 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
44538 * csu/libc-tls.c: Nor here.
44539 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
44540
44541 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
44542 (__libc_message): Never call vsyslog.
44543
44544 2013-03-28 Alan Modra <amodra@gmail.com>
44545
44546 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
44547 Define as empty.
44548 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
44549 Likewise.
44550
44551 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44552
44553 [BZ #15214]
44554 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
44555 underflow.
44556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44557
44558 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44559
44560 [BZ #15304]
44561 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44562 Don't add gid passed as argument.
44563
44564 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
44565
44566 2013-03-27 Joseph Myers <joseph@codesourcery.com>
44567
44568 [BZ #15307]
44569 * math/k_casinh.c (__kernel_casinh): Handle arguments with
44570 imaginary part between 1.0 and 1.5 and real part less than 0.5
44571 specially.
44572 * math/k_casinhf.c (__kernel_casinhf): Likewise.
44573 * math/k_casinhl.c (__kernel_casinhl): Likewise.
44574 * math/libm-test.inc (cacos_test): Add more tests.
44575 (casin_test): Likewise.
44576 (casinh_test): Likewise.
44577 * sysdeps/i386/fpu/libm-test-ulps: Update.
44578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44579
44580 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44581
44582 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
44583 constants.
44584 (norm): Likewise.
44585 (denorm): Likewise.
44586 (__dbl_mp): Likewise.
44587 (add_magnitudes): Likewise.
44588 (sub_magnitudes): Likewise.
44589 (__add): Likewise.
44590 (__sub): Likewise.
44591 (__mul): Likewise.
44592 (__sqr): Likewise.
44593 (__inv): Likewise.
44594 (__dvd): Likewise.
44595
44596 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
44597 commented code.
44598 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
44599 (__dubcos): Likewise.
44600 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
44601 (__ieee754_acos): Likewise.
44602 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44603 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
44604 (__exp1): Likewise.
44605 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44606 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44607 (log1): Likewise.
44608 (my_log2): Likewise.
44609 (checkint): Likewise.
44610 * sysdeps/ieee754/dbl-64/e_remainder.c
44611 (__ieee754_remainder): Likewise.
44612 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44613 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
44614 (bsloww): Likewise.
44615 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44616
44617 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44618 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
44619 MANTISSA_STORE_T to store computations on mantissa. Use
44620 macros for rounding and division.
44621 (denorm): Likewise.
44622 (__dbl_mp): Likewise.
44623 (add_magnitudes): Likewise.
44624 (sub_magnitudes): Likewise.
44625 (__mul): Likewise.
44626 (__sqr): Likewise.
44627 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
44628 powers of two in terms of TWOPOW macro.
44629 (mp_no): Make type of mantissa as MANTISSA_T.
44630 [!RADIXI]: Define RADIXI.
44631 [!TWO52]: Define TWO52.
44632 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44633
44634 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44635
44636 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
44637 llroundl symbol when building for PPC32.
44638
44639 2013-03-24 Mark H Weaver <mhw@netris.org>
44640
44641 * manual/arith.texi (Normalization Functions): Fix prototypes for
44642 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
44643
44644 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44645
44646 [BZ #13889]
44647 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
44648 high value to check if expl overflow.
44649 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
44650 to check for underflow and overflow.
44651 * math/libm-test.inc: Add exp test.
44652
44653 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
44654
44655 [BZ #11120]
44656 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
44657 with NOT_IN_libc.
44658
44659 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44660
44661 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
44662 symbol.
44663
44664 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
44665
44666 * math/gen-libm-test.pl (parse_args, special_functions): Properly
44667 wrap blocks consisting of several statements.
44668
44669 * sysdeps/generic/math-tests.h: New file.
44670 * sysdeps/i386/fpu/math-tests.h: Likewise.
44671 * math/test-snan.c: Include it.
44672 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
44673
44674 2013-03-21 Joseph Myers <joseph@codesourcery.com>
44675
44676 [BZ #15285]
44677 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
44678 (__ieee754_j0l): Do not improve calculations using cos of twice
44679 input for inputs above LDBL_MAX / 2.0L.
44680 (__ieee754_y0l): Likewise.
44681 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
44682 (__ieee754_j1l): Do not improve calculations using cos of twice
44683 input for inputs above LDBL_MAX / 2.0L.
44684 (__ieee754_y1l): Likewise.
44685 * math/libm-test.inc (j0_test): Add another test.
44686 (j1_test): Likewise.
44687 (y0_test): Likewise.
44688 (y1_test): Likewise.
44689 * sysdeps/i386/fpu/libm-test-ulps: Update.
44690
44691 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
44692
44693 * Rules ($(objpfx)bench-%.c): Include code from a C source
44694 file.
44695
44696 2013-03-21 Joseph Myers <joseph@codesourcery.com>
44697
44698 [BZ #15287]
44699 * math/k_casinh.c (__kernel_casinh): Handle arguments with
44700 imaginary part 1.0 and real part less than 0.5 specially.
44701 * math/k_casinhf.c (__kernel_casinhf): Likewise.
44702 * math/k_casinhl.c (__kernel_casinhl): Likewise.
44703 * math/libm-test.inc (cacos_test): Add more tests.
44704 (casin_test): Likewise.
44705 (casinh_test): Likewise.
44706 * sysdeps/i386/fpu/libm-test-ulps: Update.
44707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44708
44709 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
44710
44711 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
44712 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
44713
44714 2013-03-20 Joseph Myers <joseph@codesourcery.com>
44715
44716 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
44717 * config.make.in (config-cflags-sse4): Remove variable.
44718 (config-cflags-avx): Likewise.
44719 (config-cflags-sse2avx): Likewise.
44720 (config-cflags-novzeroupper): Likewise.
44721 (config-asflags-i686): Likewise.
44722 (have-mfma4): Likewise.
44723 (have-as-vis3): Likewise.
44724 (MIG): Likewise.
44725 * configure.in (MIG): Do not AC_SUBST.
44726 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
44727 (libc_cv_cc_sse4): Do not AC_SUBST.
44728 (libc_cv_cc_avx): Likewise.
44729 (libc_cv_cc_sse2avx): Likewise.
44730 (libc_cv_cc_novzeroupper): Likewise.
44731 (libc_cv_cc_fma4): Likewise.
44732 (libc_cv_as_i686): Likewise.
44733 (libc_cv_sparc_as_vis3): Likewise.
44734 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
44735 LIBC_CONFIG_VAR.
44736 (config-asflags-i686): Likewise.
44737 (config-cflags-avx): Likewise.
44738 (config-cflags-sse2avx): Likewise.
44739 (have-mfma4): Likewise.
44740 (config-cflags-novzeroupper): Likewise.
44741 * sysdeps/mach/configure.in (MIG): Likewise.
44742 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
44743 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
44744 LIBC_CONFIG_VAR.
44745 (config-cflags-avx): Likewise.
44746 (config-cflags-sse2avx): Likewise.
44747 (have-mfma4): Likewise.
44748 (config-cflags-novzeroupper): Likewise.
44749 * configure: Regenerated.
44750 * sysdeps/i386/configure: Likewise.
44751 * sysdeps/mach/configure: Likewise.
44752 * sysdeps/sparc/configure: Likewise.
44753 * sysdeps/x86_64/configure: Likewise.
44754
44755 2013-03-20 Roland McGrath <roland@hack.frob.com>
44756
44757 [BZ #14812]
44758 * locale/programs/localedef.c (options): Put N_ translation marker
44759 on argument names, not just descriptions.
44760
44761 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44762
44763 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
44764
44765 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
44766
44767 [BZ #14176]
44768 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
44769
44770 2013-03-19 Roland McGrath <roland@hack.frob.com>
44771
44772 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
44773 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
44774 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
44775 [!BEFORE_ABORT] (before_abort): New function.
44776 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
44777 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
44778 (writev_for_fatal): New function.
44779 (WRITEV_FOR_FATAL): New macro; call that.
44780 (backtrace_and_maps): New function.
44781 (BEFORE_ABORT): New macro; call that.
44782 (struct str_list): Type removed.
44783 (__libc_message, __libc_fatal): Functions removed.
44784 Include <sysdeps/posix/libc_fatal.c> instead.
44785
44786 2013-03-19 Joseph Myers <joseph@codesourcery.com>
44787
44788 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
44789 constants.
44790 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
44791 double constants.
44792
44793 2013-03-19 Andreas Schwab <schwab@suse.de>
44794
44795 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
44796 * sysdeps/gnu/configure: Regenerate.
44797
44798 * configure.in: Substitute libc_cv_rtlddir.
44799 * configure: Regenerate.
44800 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
44801 * Makeconfig (rtlddir, inst_rtlddir): New variables.
44802 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
44803 * elf/Makefile (install-others, CFLAGS-interp.c)
44804 (ldso_install, common-ldd-rewrite): Likewise.
44805 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
44806 $(inst_slibdir)/$(rtld-installed-name).
44807 * scripts/rellns-sh: Add -p option.
44808 * Makerules (make-shlib-link): Use rellns-sh to get relative name
44809 for source.
44810
44811 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
44812
44813 * manual/nptl.texi: Renamed to ...
44814 * manual/threads.texi: ... this.
44815 * manual/Makefile (chapters): Update.
44816
44817 2013-03-18 Roland McGrath <roland@hack.frob.com>
44818
44819 [BZ #14812]
44820 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
44821 on argument names, not just descriptions.
44822 * malloc/memusagestat.c (options): Likewise.
44823 * nss/getent.c (options): Likewise.
44824
44825 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
44826
44827 [BZ #14812]
44828 * iconv/iconv_prog.c (options): Put N_ translation marker
44829 on argument names, not just descriptions.
44830 * iconv/iconvconfig.c (options): Likewise.
44831
44832 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
44833
44834 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
44835 implementation which is faster on all x86_64 architectures.
44836 Tested on AMD, Intel Nehalem, SNB, IVB.
44837 * sysdeps/x86_64/strnlen.S: Likewise.
44838
44839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44840 Remove all multiarch strlen and strnlen versions.
44841 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44842 Remove strlen and strnlen related parts.
44843
44844 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
44845 Inline strlen part.
44846 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
44847
44848 * sysdeps/x86_64/multiarch/strlen.S: Remove.
44849 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
44850 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
44851 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
44852 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44853 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
44854
44855 2013-03-17 Carlos O'Donell <carlos@redhat.com>
44856
44857 * manual/memory.texi (Malloc Tunable Parameters):
44858 Sort parameters alphabetically. Add comments for missing entries.
44859
44860 2013-03-17 David S. Miller <davem@davemloft.net>
44861
44862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44863
44864 2013-03-16 Joseph Myers <joseph@codesourcery.com>
44865
44866 [BZ #15283]
44867 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
44868 for arguments at most half maximum finite value.
44869 * math/libm-test.inc (j0_test): Add more tests.
44870 (j1_test): Likewise.
44871 (y0_test): Likewise.
44872 (y1_test): Likewise.
44873 * sysdeps/i386/fpu/libm-test-ulps: Update.
44874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44875
44876 [BZ #14155]
44877 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
44878 1 / x and functions P and Q for arguments above 0x1p256L.
44879 (__ieee754_y0l): Likewise.
44880 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
44881 (__ieee754_y1l): Likewise.
44882 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
44883 (j1_test): Likewise.
44884 (y0_test): Likewise.
44885 (y1_test): Likewise.
44886
44887 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
44888
44889 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
44890 variable.
44891
44892 2013-03-15 Roland McGrath <roland@hack.frob.com>
44893
44894 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
44895 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
44896 zero since it's initialized to EXEC_PAGESIZE.
44897
44898 * sysdeps/unix/sysv/linux/ldsodefs.h
44899 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
44900 * sysdeps/generic/ldsodefs.h: ... here.
44901
44902 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
44903
44904 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
44905
44906 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
44907 math/test-snan.c.
44908 * math/test-snan.c: Renamed from
44909 sysdeps/powerpc/fpu/test-powerpc-snan.c.
44910 * math/Makefile (tests): Add test-snan.
44911 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
44912 test-powerpc-snan.
44913
44914 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
44915 SUFFIX. Initialize qNaN_var with __builtin_nan family of
44916 functions.
44917 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
44918 __builtin_nan family of functions.
44919 * math/libm-test.inc (initialize): Initialize qnan_value with
44920 __builtin_nan family of functions.
44921 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
44922 Remove variables.
44923 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
44924 Remove functions.
44925 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
44926 storage class. Initialize qNaN_var and sNaN_var with
44927 __builtin_nan and __builtin_nans families of functions,
44928 respectively.
44929
44930 * math/libm-test.inc (acosh_test): Also test with qNaN input.
44931 (sqrt_test): Remove duplicate test with qNaN input.
44932 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
44933 (round_test, signbit_test, significand_test): Note missing +/-Inf
44934 as well as qNaN tests.
44935
44936 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
44937 qNaN_var. Fix a few strings, too.
44938 * math/libm-test.inc (nan_value): Rename to qnan_value.
44939 * math/gen-libm-test.pl (%beautify): Adjust to that.
44940 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
44941 * math/test-misc.c (main): Likewise.
44942 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
44943 to __qnan_bytes, and __qnan_union, respectively.
44944 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
44945 Likewise.
44946 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
44947 and lqnanval, respectively.
44948 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
44949 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
44950 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
44951 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
44952
44953 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
44954 * math/test-misc.c (main) [__x86_64__]: Enable test for long
44955 doubles.
44956
44957 * math/test-misc.c (main): Fix copy'n'pastos.
44958 * misc/tst-efgcvt.c (special): Likewise.
44959
44960 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
44961 Remove declarations.
44962
44963 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
44964
44965 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
44966 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
44967 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
44968 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
44969
44970 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44971
44972 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
44973 macro to return vdso values correctly in IFUNC implementations.
44974 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44975 Optimization by using IFUNC.
44976
44977 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
44978 Richard Henderson <rth@redhat.com>
44979 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44980
44981 * Makefile.in (bench): New target.
44982 * NEWS: Mention the benchmark framework.
44983 * Rules (bench): Likewise.
44984 (binaries-bench): Generate binaries for functions to
44985 benchmark.
44986 * benchtests/Makefile: New makefile for benchmark tests.
44987 * benchtests/bench-skeleton.c: New skeleton file for benchmark
44988 programs.
44989 * benchtests/exp-inputs: New input file for EXP function.
44990 * benchtests/pow-inputs: New input file for POW function.
44991 * scripts/bench.pl: New script to generate source files for
44992 benchmark programs.
44993
44994 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
44995
44996 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44997 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
44998 computations on mantissa. Use macros for rounding and
44999 division.
45000 (denorm): Likewise.
45001 (__dbl_mp): Likewise.
45002 (add_magnitudes): Likewise.
45003 (sub_magnitudes): Likewise.
45004 (__mul): Likewise.
45005 (__sqr): Likewise.
45006 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
45007 powers of two in terms of TWOPOW macro.
45008 (mp_no): Make type of mantissa as MANTISSA_T.
45009 [!RADIXI]: Define RADIXI.
45010 [!TWO52]: Define TWO52.
45011 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45012
45013 * manual/nptl.texi (cindex): Modify threads to pthreads.
45014
45015 2013-03-15 Joseph Myers <joseph@codesourcery.com>
45016
45017 * sysdeps/x86_64/preconfigure: Regenerated.
45018
45019 2013-03-14 Joseph Myers <joseph@codesourcery.com>
45020
45021 [BZ #14155]
45022 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
45023 0x1p28 and above.
45024 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
45025 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
45026 0x1p28 and above.
45027 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
45028 * math/libm-test.inc (j0_test): Do not allow one spurious
45029 underflow exception.
45030 (y1_test): Likewise.
45031
45032 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
45033
45034 * manual/Makefile (chapters): Add nptl.
45035 * manual/debug.texi (Debugging Support): Add link to Threads
45036 chapter.
45037 * manual/nptl.texi: New file.
45038
45039 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
45040
45041 2013-03-14 Petr Baudis <pasky@ucw.cz>
45042
45043 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
45044 for non-NULL pointer before the memory validity test. Pointed
45045 out by Holger Brunck <holger.brunck@keymile.com>.
45046
45047 2013-03-13 Andreas Schwab <schwab@suse.de>
45048
45049 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
45050 instead of .os.
45051
45052 2013-03-13 Joseph Myers <joseph@codesourcery.com>
45053
45054 * timezone/zic.c: Update from tzcode 2013b.
45055
45056 2013-03-12 Carlos O'Donell <carlos@redhat.com>
45057
45058 * manual/install.texi (Configuring and compiling):
45059 Mention i686 and i586.
45060 * INSTALL: Regenerate.
45061
45062 2013-03-12 Roland McGrath <roland@hack.frob.com>
45063
45064 * sysdeps/init_array/elf-init.c: New file.
45065 * csu/elf-init.c
45066 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
45067 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
45068
45069 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
45070 __gmon_start__ as global, but as static with a .preinit_array pointer.
45071 * sysdeps/init_array/gmon-start.c: New file. Use that.
45072 * sysdeps/init_array/crti.S: New file, empty except for comments.
45073 * sysdeps/init_array/crtn.S: Likewise.
45074
45075 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
45076
45077 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
45078 definining bcopy.
45079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45080 Remove Prefer_SSE_for_memop.
45081 * sysdeps/x86_64/multiarch/init-arch.h: Remove
45082 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
45083 HAS_PREFER_SSE_FOR_MEMOP.
45084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
45085 memset-x86-64.
45086 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45087 Remove bzero, memset ifunc support.
45088 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
45089 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
45090 * sysdeps/x86_64/multiarch/memset.S: Likewise.
45091 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45092
45093 2013-03-11 Andreas Schwab <schwab@suse.de>
45094
45095 [BZ #15234]
45096 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
45097 by SHLIB_COMPAT.
45098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
45099 (GLIBC_2.16): Remove pthread_atfork.
45100
45101 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
45102
45103 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
45104 (ptestcases.h): Likewise.
45105
45106 2013-03-08 Roland McGrath <roland@hack.frob.com>
45107
45108 * Makeconfig ($(common-objpfx)config.status): Depend on
45109 sysdeps/*/preconfigure{,.in} too.
45110
45111 2013-03-08 Joseph Myers <joseph@codesourcery.com>
45112
45113 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
45114 (__free_hook): Use void * instead of __malloc_ptr_t.
45115 (__malloc_hook): Likewise.
45116 (__realloc_hook): Likewise.
45117 (__memalign_hook): Likewise.
45118 (__after_morecore_hook): Likewise.
45119 * malloc/arena.c (save_malloc_hook): Likewise.
45120 (save_free_hook): Likewise.
45121 * malloc/hooks.c (malloc_hook_ini): Likewise.
45122 (realloc_hook_ini): Likewise.
45123 (memalign_hook_ini): Likewise.
45124 * malloc/malloc.c (malloc_hook_ini): Likewise.
45125 (realloc_hook_ini): Likewise.
45126 (memalign_hook_ini): Likewise.
45127 (__free_hook): Likewise.
45128 (__malloc_hook): Likewise.
45129 (__realloc_hook): Likewise.
45130 (__memalign_hook): Likewise.
45131 (__libc_malloc): Likewise.
45132 (__libc_free): Likewise.
45133 (__libc_realloc): Likewise.
45134 (__libc_memalign): Likewise.
45135 (__libc_valloc): Likewise.
45136 (__libc_pvalloc): Likewise.
45137 (__libc_calloc): Likewise.
45138 (__posix_memalign): Likewise.
45139 * malloc/morecore.c (__sbrk): Likewise.
45140 (__default_morecore): Likewise.
45141
45142 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
45143
45144 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
45145 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
45146 __malloc_ptrdiff_t.
45147
45148 * malloc/malloc.h (__malloc_size_t): Remove macro.
45149 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
45150 __malloc_size_t.
45151 (old_memalign_hook): Likewise.
45152 (old_realloc_hook): Likewise.
45153 (struct hdr): Likewise.
45154 (flood): Likewise.
45155 (mallochook): Likewise.
45156 (memalignhook): Likewise.
45157 (reallochook): Likewise.
45158 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
45159 (tr_old_realloc_hook): Likewise.
45160 (tr_old_memalign_hook): Likewise.
45161 (tr_mallochook): Likewise.
45162 (tr_reallochook): Likewise.
45163 (tr_memalignhook): Likewise.
45164
45165 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45166
45167 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
45168 default_ldbl_pack and using as default implementation.
45169 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
45170 implementation.
45171 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
45172 redundant definition.
45173 (ldbl_insert_mantissa): Likewise.
45174 (ldbl_canonicalize): Likewise.
45175 (ldbl_nearbyint): Likewise.
45176 (ldbl_pack): Rename to ldbl_pack_ppc.
45177 (ldbl_unpack): Rename to ldbl_unpack_ppc.
45178 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
45179 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
45180
45181 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
45182
45183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
45184 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
45185 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
45186 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
45187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
45188 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
45189 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
45190 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
45191
45192 2013-03-07 Andreas Jaeger <aj@suse.de>
45193
45194 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45195 bits/mman-linux.h.
45196
45197 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
45198
45199 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
45200 Include mpa.h and declare __MPEXP.
45201 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
45202 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45203 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45204 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
45205 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45206 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
45207 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
45208
45209 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
45210 (__slowpow): Use long double EXPL and LOGL functions to
45211 compute POW.
45212 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
45213 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45214 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
45215 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
45216 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
45217 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
45218
45219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
45220 intermediate variable to calculate exponent.
45221 (__sqr): Likewise.
45222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45223 Likewise.
45224 (__sqr): Likewise.
45225
45226 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
45227 [!NO__SQR]: Define __sqr.
45228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
45229 and NO__SQR. Remove all code except __mul and __sqr. Include
45230 sysdeps/ieee754/dbl-64/mpa.c.
45231 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45232
45233 [BZ #12723]
45234 * posix/Makefile (tests): Add tst-pathconf.
45235 * posix/tst-pathconf.c: New test case.
45236 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
45237 _PC_PIPE_BUF.
45238 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
45239
45240 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
45241
45242 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
45243
45244 2013-03-06 Andreas Jaeger <aj@suse.de>
45245
45246 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
45247 definition via __MAP_ANONYMOUS.
45248
45249 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
45250 it's not part of Linux headers.
45251
45252 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
45253 (MAP_HUGE_MASK): Define.
45254
45255 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45256 Define.
45257 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45258 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45259 Define.
45260 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45261 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
45262 Define.
45263 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45264 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
45265 Define.
45266 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
45267
45268 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
45269 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
45270 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
45271 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
45272 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
45273 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
45274
45275 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45276 Handle f2fs.
45277
45278 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45279 Handle f2fs and efivarfs.
45280
45281 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
45282 f2fs.
45283
45284 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
45285 (EFIVARFS_MAGIC): Add.
45286 (F2FS_LINK_MAX): Add.
45287
45288 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45289
45290 * stdio-common/vfprintf.c: Replace __builtin_expect with
45291 __glibc_unlikely.
45292
45293 2013-03-06 Joseph Myers <joseph@codesourcery.com>
45294
45295 [BZ #13550]
45296 * sysdeps/generic/bp-sym.h: Remove file.
45297 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
45298 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
45299 <bp-sym.h> and <bp-asm.h>.
45300 (__longjmp): Don't use BP_SYM.
45301 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
45302 and <bp-asm.h>.
45303 (memcpy): Don't use BP_SYM.
45304 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
45305 <bp-sym.h> and <bp-asm.h>.
45306 (memcpy): Don't use BP_SYM.
45307 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
45308 <bp-asm.h>.
45309 (memcpy): Don't use BP_SYM.
45310 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
45311 <bp-asm.h>.
45312 (memset): Don't use BP_SYM.
45313 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45314 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45315 (__bzero): Don't use BP_SYM.
45316 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45317 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45318 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
45319 <bp-sym.h> and <bp-asm.h>.
45320 (memcmp): Don't use BP_SYM. Remove comment about bounded
45321 pointers.
45322 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
45323 <bp-sym.h> and <bp-asm.h>.
45324 (memcpy): Don't use BP_SYM.
45325 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
45326 <bp-sym.h> and <bp-asm.h>.
45327 (memset): Don't use BP_SYM.
45328 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45329 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45330 (__bzero): Don't use BP_SYM.
45331 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45332 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45333 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
45334 <bp-sym.h> and <bp-asm.h>.
45335 (strncmp): Don't use BP_SYM. Remove comment about bounded
45336 pointers.
45337 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
45338 <bp-sym.h> and <bp-asm.h>.
45339 (memcpy): Don't use BP_SYM.
45340 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
45341 <bp-sym.h> and <bp-asm.h>.
45342 (memset): Don't use BP_SYM.
45343 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45344 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45345 (__bzero): Don't use BP_SYM.
45346 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45347 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45348 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
45349 <bp-sym.h> and <bp-asm.h>.
45350 (__memchr): Don't use BP_SYM.
45351 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
45352 <bp-sym.h> and <bp-asm.h>.
45353 (memcmp): Don't use BP_SYM. Remove comment about bounded
45354 pointers.
45355 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
45356 <bp-sym.h> and <bp-asm.h>.
45357 (memcpy): Don't use BP_SYM.
45358 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
45359 <bp-sym.h> and <bp-asm.h>.
45360 (__mempcpy): Don't use BP_SYM.
45361 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
45362 <bp-sym.h> and <bp-asm.h>.
45363 (__memrchr): Don't use BP_SYM.
45364 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
45365 <bp-sym.h> and <bp-asm.h>.
45366 (memset): Don't use BP_SYM.
45367 (__bzero): Likewise.
45368 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
45369 <bp-sym.h> and <bp-asm.h>.
45370 (__rawmemchr): Don't use BP_SYM.
45371 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
45372 <bp-sym.h> and <bp-asm.h>.
45373 (__STRCMP): Don't use BP_SYM.
45374 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
45375 <bp-sym.h> and <bp-asm.h>.
45376 (strchr): Don't use BP_SYM.
45377 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
45378 <bp-sym.h> and <bp-asm.h>.
45379 (__strchrnul): Don't use BP_SYM.
45380 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
45381 <bp-sym.h> and <bp-asm.h>.
45382 (strlen): Don't use BP_SYM.
45383 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
45384 <bp-sym.h> and <bp-asm.h>.
45385 (strncmp): Don't use BP_SYM. Remove comment about bounded
45386 pointers.
45387 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
45388 <bp-sym.h> and <bp-asm.h>.
45389 (__strnlen): Don't use BP_SYM.
45390 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
45391 <bp-sym.h> and <bp-asm.h>.
45392 (__GI__setjmp): Don't use BP_SYM.
45393 (_setjmp): Likewise.
45394 (__sigsetjmp): Likewise.
45395 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
45396 (L(start_addresses)): Don't use BP_SYM.
45397 (_start): Likewise.
45398 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
45399 <bp-asm.h>.
45400 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
45401 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
45402 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45403 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45404 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
45405 <bp-asm.h>.
45406 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
45407 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
45408 about bounded pointers.
45409 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45410 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45411 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
45412 <bp-asm.h>.
45413 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
45414 about bounded pointers. Remove GKM FIXME comments.
45415 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45416 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
45417 <bp-asm.h>.
45418 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
45419 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
45420 Remove GKM FIXME comments.
45421 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45422 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45423 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
45424 <bp-asm.h>.
45425 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
45426 about bounded pointers. Remove GKM FIXME comment.
45427 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
45428 and <bp-asm.h>.
45429 (strncmp): Don't use BP_SYM. Remove comment about bounded
45430 pointers.
45431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
45432 <bp-sym.h> and <bp-asm.h>.
45433 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
45435 <bp-sym.h> and <bp-asm.h>.
45436 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
45437 comment.
45438
45439 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45440
45441 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
45442 call free(NULL).
45443
45444 2013-03-05 David S. Miller <davem@davemloft.net>
45445
45446 * po/es.po: Update from translation team.
45447
45448 2013-03-05 Andreas Jaeger <aj@suse.de>
45449
45450 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
45451 <bits/mman-linux.h>.
45452 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45453 is fine.
45454 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
45455 <bits/mman-linux.h> to end of file.
45456 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45457 is fine.
45458 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
45459 <bits/mman-linux.h> to end of file.
45460 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45461 is fine.
45462 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
45463 <bits/mman-linux.h> to end of file.
45464
45465 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
45466 (MCL_CURRENT, MCL_FUTURE): Define here.
45467
45468 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45469
45470 [BZ #15232]
45471 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
45472 attribute_hidden.
45473 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45474
45475 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45476
45477 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
45478 fourth parameter needed for rt_sigprocmask syscall.
45479 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45480 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45481 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
45482 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45483 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45484 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
45485
45486 2013-03-04 Joseph Myers <joseph@codesourcery.com>
45487
45488 [BZ #13550]
45489 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
45490 comment about bounded pointers.
45491 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
45492 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
45493
45494 2013-03-04 Andreas Jaeger <aj@suse.de>
45495
45496 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
45497 common definitions.
45498
45499 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
45500 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
45501 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
45502 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45503 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45504 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45505
45506 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45507
45508 [BZ #15055]
45509 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
45510 __ieee754_sqrl instead of __sqrl.
45511
45512 2013-03-01 Joseph Myers <joseph@codesourcery.com>
45513
45514 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
45515 * sysdeps/powerpc/fpu_control.h: ... here.
45516 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
45517 * sysdeps/powerpc/bits/fenvinline.h: ... here.
45518 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
45519 * sysdeps/powerpc/bits/mathinline.h: ... here.
45520
45521 2013-03-01 Roland McGrath <roland@hack.frob.com>
45522
45523 * elf/dl-hwcaps.c (_dl_important_hwcaps):
45524 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
45525 to just [NEED_DL_SYSINFO_DSO].
45526 * elf/dl-support.c: Likewise.
45527 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45528 * elf/rtld.c (dl_main): Likewise.
45529 * elf/setup-vdso.h (setup_vdso): Likewise.
45530 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
45531 * sysdeps/unix/sysv/linux/dl-sysdep.c
45532 (_dl_discover_osversion): Likewise.
45533
45534 2013-03-01 Carlos O'Donell <carlos@redhat.com>
45535
45536 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
45537 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45538
45539 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
45540
45541 * NEWS: Mention libm performance improvements and non-x86 PI
45542 futex support.
45543
45544 * csu/libc-start.c (__pthread_initialize_minimal): Change
45545 function arguments.
45546 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45547
45548 2013-02-28 Joseph Myers <joseph@codesourcery.com>
45549
45550 [BZ #13550]
45551 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
45552 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
45553 <bp-sym.h> and <bp-asm.h>.
45554 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45555 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
45556 and <bp-asm.h>.
45557 (memcpy): Don't use BP_SYM.
45558 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
45559 <bp-asm.h>.
45560 (__mpn_add_n): Don't use BP_SYM.
45561 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
45562 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
45563 and <bp-asm.h>.
45564 (__mpn_addmul_1): Don't use BP_SYM.
45565 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45566 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
45567 <bp-sym.h>.
45568 (_setjmp): Don't use BP_SYM.
45569 (__novmx_setjmp): Likewise.
45570 (__GI__setjmp): Likewise.
45571 (__vmx_setjmp): Likewise.
45572 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
45573 <bp-sym.h>.
45574 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
45575 (__bzero): Don't use BP_SYM.
45576 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45577 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45578 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
45579 <bp-sym.h> and <bp-asm.h>.
45580 (memcpy): Don't use BP_SYM.
45581 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
45582 <bp-sym.h> and <bp-asm.h>.
45583 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45584 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
45585 <bp-sym.h> and <bp-asm.h>.
45586 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45587 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
45588 <bp-asm.h>.
45589 (__mpn_lshift): Don't use BP_SYM.
45590 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45591 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
45592 <bp-asm.h>.
45593 (memset): Don't use BP_SYM.
45594 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45595 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45596 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
45597 <bp-asm.h>.
45598 (__mpn_mul_1): Don't use BP_SYM.
45599 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45600 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
45601 <bp-sym.h> and <bp-asm.h>.
45602 (memcmp): Don't use BP_SYM.
45603 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
45604 <bp-sym.h> and <bp-asm.h>.
45605 (memcpy): Don't use BP_SYM.
45606 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
45607 <bp-sym.h> and <bp-asm.h>.
45608 (memset): Don't use BP_SYM.
45609 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
45610 <bp-sym.h> and <bp-asm.h>.
45611 (strncmp): Don't use BP_SYM.
45612 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
45613 <bp-sym.h> and <bp-asm.h>.
45614 (memcpy): Don't use BP_SYM.
45615 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
45616 <bp-sym.h> and <bp-asm.h>.
45617 (memset): Don't use BP_SYM.
45618 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
45619 <bp-sym.h> and <bp-asm.h>.
45620 (__memchr): Don't use BP_SYM.
45621 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
45622 <bp-sym.h> and <bp-asm.h>.
45623 (memcmp): Don't use BP_SYM.
45624 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
45625 <bp-sym.h> and <bp-asm.h>.
45626 (memcpy): Don't use BP_SYM.
45627 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
45628 <bp-sym.h> and <bp-asm.h>.
45629 (__mempcpy): Don't use BP_SYM.
45630 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
45631 <bp-sym.h> and <bp-asm.h>.
45632 (__memrchr): Don't use BP_SYM.
45633 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
45634 <bp-sym.h> and <bp-asm.h>.
45635 (memset): Don't use BP_SYM.
45636 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
45637 <bp-sym.h> and <bp-asm.h>.
45638 (__rawmemchr): Don't use BP_SYM.
45639 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
45640 <bp-sym.h> and <bp-asm.h>.
45641 (__STRCMP): Don't use BP_SYM.
45642 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
45643 <bp-sym.h> and <bp-asm.h>.
45644 (strchr): Don't use BP_SYM.
45645 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
45646 <bp-sym.h> and <bp-asm.h>.
45647 (__strchrnul): Don't use BP_SYM.
45648 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
45649 <bp-sym.h> and <bp-asm.h>.
45650 (strlen): Don't use BP_SYM.
45651 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
45652 <bp-sym.h> and <bp-asm.h>.
45653 (strncmp): Don't use BP_SYM.
45654 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
45655 <bp-sym.h> and <bp-asm.h>.
45656 (__strnlen): Don't use BP_SYM.
45657 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
45658 <bp-asm.h>.
45659 (__mpn_rshift): Don't use BP_SYM.
45660 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45661 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
45662 <bp-sym.h> and <bp-asm.h>.
45663 (__sigsetjmp): Don't use BP_SYM.
45664 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
45665 (L(start_addresses)): Don't use BP_SYM.
45666 (_start): Likewise.
45667 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
45668 <bp-asm.h>.
45669 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
45670 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45671 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45672 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
45673 <bp-asm.h>.
45674 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
45675 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45676 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45677 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
45678 <bp-asm.h>.
45679 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
45680 comments.
45681 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45682 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
45683 <bp-asm.h>.
45684 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
45685 FIXME comments.
45686 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45687 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45688 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
45689 <bp-asm.h>.
45690 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
45691 comment.
45692 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
45693 and <bp-asm.h>.
45694 (strncmp): Don't use BP_SYM,
45695 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
45696 <bp-asm.h>.
45697 (__mpn_sub_n): Don't use BP_SYM.
45698 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45699 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
45700 and <bp-asm.h>.
45701 (__mpn_submul_1): Don't use BP_SYM.
45702 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
45704 <bp-sym.h> and <bp-asm.h>.
45705 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
45707 <bp-sym.h> and <bp-asm.h>.
45708 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
45709 comment.
45710
45711 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45712
45713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
45714 Use ZK to minimize writes to Z.
45715 (sub_magnitudes): Simplify code a bit.
45716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
45717 Use ZK to minimize writes to Z.
45718 (sub_magnitudes): Simplify code a bit.
45719
45720 2013-02-27 Roland McGrath <roland@hack.frob.com>
45721
45722 * csu/gmon-start.c: Add special exception to license text.
45723
45724 2013-02-27 Richard Henderson <rth@redhat.com>
45725
45726 * scripts/config.guess: Update from config.git.
45727 * scripts/config.sub: Likewise.
45728
45729 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
45730
45731 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
45732
45733 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
45734
45735 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
45736
45737 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
45738
45739 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
45740
45741 2013-02-26 Roland McGrath <roland@hack.frob.com>
45742
45743 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
45744 [$(build-shared = yes].
45745
45746 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45747
45748 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
45749 (__mul): Reduce iterations for calculating mantissa.
45750
45751 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
45752 MPTWO.
45753 (__mpranred): Likewise.
45754
45755 [BZ #15160]
45756 * malloc/memusagestat.c (main): Draw graphs for heap and stack
45757 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
45758
45759 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
45760
45761 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
45762 Define __attribute__.
45763
45764 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45765
45766 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
45767 unused.
45768 * posix/regex_internal.h (__attribute): Remove.
45769 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
45770 (re_string_context_at): Likewise.
45771 (bitset_not): Use __attribute__ and mark function as possibly
45772 unused.
45773 (bitset_merge): Likewise.
45774 (bitset_mask): Likewise.
45775 (re_string_char_size_at): Likewise.
45776 (re_string_wchar_at): Likewise.
45777 (re_string_elem_size_at): Likewise.
45778
45779 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45780
45781 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
45782 code.
45783 (cc32): Likewise.
45784
45785 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
45786 (__acr): Likewise.
45787 (__cpy): Likewise.
45788 (norm): Likewise.
45789 (denorm): Likewise.
45790 (__dbl_mp): Likewise.
45791 (add_magnitudes): Likewise.
45792 (sub_magnitudes): Likewise.
45793 (__mul): Likewise.
45794 (__inv): Likewise.
45795
45796 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
45797 style.
45798
45799 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
45800 style.
45801
45802 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
45803 code.
45804
45805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
45806 up changes with default code.
45807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
45808 Likewise.
45809
45810 2013-02-24 Allan McRae <allan@archlinux.org>
45811
45812 * manual/socket.texi (The Internet Namespace): Order menu items
45813 to match that in the file.
45814
45815 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
45816 node listing of the info page menu.
45817
45818 2013-02-21 Joseph Myers <joseph@codesourcery.com>
45819
45820 [BZ #13550]
45821 * sysdeps/i386/bp-asm.h: Remove file.
45822 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45823 (PARMS): Do not use macros from bp-asm.h.
45824 (S1): Likewise.
45825 (S2): Likewise.
45826 (SIZE): Likewise.
45827 (__mpn_add_n): Do not use BP_SYM
45828 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
45829 "bp-asm.h".
45830 (PARMS): Do not use macros from bp-asm.h.
45831 (S1): Likewise.
45832 (SIZE): Likewise.
45833 (__mpn_addmul_1): Do not use BP_SYM
45834 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
45835 "bp-asm.h".
45836 (PARMS): Do not use macros from bp-asm.h.
45837 (SIGMSK): Likewise.
45838 (_setjmp): Likewise. Do not use BP_SYM.
45839 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
45840 "bp-asm.h".
45841 (PARMS): Do not use macros from bp-asm.h.
45842 (SIGMSK): Likewise.
45843 (setjmp): Likewise. Do not use BP_SYM.
45844 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
45845 "bp-asm.h".
45846 (PARMS): Do not use macros from bp-asm.h.
45847 (__frexp): Do not use BP_SYM.
45848 (frexp): Likewise.
45849 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
45850 "bp-asm.h".
45851 (PARMS): Do not use macros from bp-asm.h.
45852 (__frexpf): Do not use BP_SYM.
45853 (frexpf): Likewise.
45854 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
45855 "bp-asm.h".
45856 (PARMS): Do not use macros from bp-asm.h.
45857 (__frexpl): Do not use BP_SYM.
45858 (frexpl): Likewise.
45859 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
45860 "bp-asm.h".
45861 (PARMS): Do not use macros from bp-asm.h.
45862 (__remquo): Do not use BP_SYM.
45863 (remquo): Likewise.
45864 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
45865 "bp-asm.h".
45866 (PARMS): Do not use macros from bp-asm.h.
45867 (__remquof): Do not use BP_SYM.
45868 (remquof): Likewise.
45869 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
45870 "bp-asm.h".
45871 (PARMS): Do not use macros from bp-asm.h.
45872 (__remquol): Do not use BP_SYM.
45873 (remquol): Likewise.
45874 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
45875 "bp-asm.h".
45876 (PARMS): Do not use macros from bp-asm.h.
45877 (DEST): Likewise.
45878 (SRC): Likewise.
45879 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
45880 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
45881 "bp-asm.h".
45882 (PARMS): Do not use macros from bp-asm.h.
45883 (strlen): Do not use BP_SYM.
45884 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
45885 "bp-asm.h".
45886 (PARMS): Do not use macros from bp-asm.h.
45887 (S1): Likewise.
45888 (S2): Likewise.
45889 (SIZE): Likewise.
45890 (__mpn_add_n): Do not use BP_SYM.
45891 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
45892 "bp-asm.h".
45893 (PARMS): Do not use macros from bp-asm.h.
45894 (S1): Likewise.
45895 (SIZE): Likewise.
45896 (__mpn_addmul_1): Do not use BP_SYM.
45897 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
45898 weak_alias.
45899 (bzero): Likewise.
45900 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
45901 "bp-asm.h".
45902 (PARMS): Do not use macros from bp-asm.h.
45903 (S): Likewise.
45904 (SIZE): Likewise.
45905 (__mpn_lshift): Do not use BP_SYM.
45906 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
45907 "bp-asm.h".
45908 (PARMS): Do not use macros from bp-asm.h.
45909 (DEST): Likewise.
45910 (SRC): Likewise.
45911 (LEN): Likewise.
45912 (memcpy): Likewise. Do not use BP_SYM.
45913 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
45914 libc_hidden_def and weak_alias.
45915 (mempcpy): Do not use BP_SYM in weak_alias.
45916 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
45917 "bp-asm.h".
45918 (PARMS): Do not use macros from bp-asm.h.
45919 (DEST): Likewise.
45920 (LEN): Likewise.
45921 [!BZERO_P] (CHR): Likewise.
45922 (memset): Likewise. Do not use BP_SYM.
45923 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
45924 "bp-asm.h".
45925 (PARMS): Do not use macros from bp-asm.h.
45926 (S1): Likewise.
45927 (SIZE): Likewise.
45928 (__mpn_mul_1): Do not use BP_SYM.
45929 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
45930 "bp-asm.h".
45931 (PARMS): Do not use macros from bp-asm.h.
45932 (S): Likewise.
45933 (SIZE): Likewise.
45934 (__mpn_rshift): Do not use BP_SYM.
45935 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
45936 "bp-asm.h".
45937 (PARMS): Do not use macros from bp-asm.h.
45938 (STR): Likewise.
45939 (CHR): Likewise.
45940 (strchr): Likewise. Do not use BP_SYM.
45941 (index): Do not use BP_SYM in weak_alias.
45942 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
45943 "bp-asm.h".
45944 (PARMS): Do not use macros from bp-asm.h.
45945 (DEST): Likewise.
45946 (SRC): Likewise.
45947 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
45948 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
45949 "bp-asm.h".
45950 (PARMS): Do not use macros from bp-asm.h.
45951 (strlen): Do not use BP_SYM.
45952 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
45953 "bp-asm.h".
45954 (PARMS): Do not use macros from bp-asm.h.
45955 (S1): Likewise.
45956 (S2): Likewise.
45957 (SIZE): Likewise.
45958 (__mpn_sub_n): Do not use BP_SYM.
45959 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
45960 "bp-asm.h".
45961 (PARMS): Do not use macros from bp-asm.h.
45962 (S1): Likewise.
45963 (SIZE): Likewise.
45964 (__mpn_submul_1): Do not use BP_SYM.
45965 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
45966 "bp-asm.h".
45967 (PARMS): Do not use macros from bp-asm.h.
45968 (S1): Likewise.
45969 (S2): Likewise.
45970 (SIZE): Likewise.
45971 (__mpn_add_n): Do not use BP_SYM.
45972 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
45973 weak_alias.
45974 (bzero): Likewise.
45975 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
45976 "bp-asm.h".
45977 (PARMS): Do not use macros from bp-asm.h.
45978 (BLK2): Likewise.
45979 (LEN): Likewise.
45980 (memcmp): Do not use BP_SYM.
45981 (bcmp): Do not use BP_SYM in weak_alias.
45982 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
45983 "bp-asm.h".
45984 (PARMS): Do not use macros from bp-asm.h.
45985 (DEST): Likewise.
45986 (SRC): Likewise.
45987 (LEN): Likewise.
45988 (memcpy): Likewise. Do not use BP_SYM.
45989 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
45990 "bp-asm.h".
45991 (PARMS): Do not use macros from bp-asm.h.
45992 (DEST): Likewise.
45993 (SRC): Likewise.
45994 (LEN): Likewise.
45995 (memmove): Likewise. Do not use BP_SYM.
45996 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
45997 "bp-asm.h".
45998 (PARMS): Do not use macros from bp-asm.h.
45999 (DEST): Likewise.
46000 (SRC): Likewise.
46001 (LEN): Likewise.
46002 (__mempcpy): Likewise. Do not use BP_SYM.
46003 (mempcpy): Do not use BP_SYM in weak_alias.
46004 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
46005 "bp-asm.h".
46006 (PARMS): Do not use macros from bp-asm.h.
46007 (DEST): Likewise.
46008 (LEN): Likewise.
46009 [!BZERO_P] (CHR): Likewise.
46010 (memset): Likewise. Do not use BP_SYM.
46011 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
46012 "bp-asm.h".
46013 (PARMS): Do not use macros from bp-asm.h.
46014 (STR2): Likewise.
46015 (strcmp): Do not use BP_SYM.
46016 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
46017 "bp-asm.h".
46018 (PARMS): Do not use macros from bp-asm.h.
46019 (STR): Likewise.
46020 (DELIM): Likewise.
46021 [USE_AS_STRTOK_R] (SAVE): Likewise.
46022 (FUNCTION): Likewise. Do not use BP_SYM.
46023 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
46024 aliases.
46025 (strtok_r): Likewise.
46026 (__GI___strtok_r): Likewise.
46027 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46028 (PARMS): Do not use macros from bp-asm.h.
46029 (S): Likewise.
46030 (SIZE): Likewise.
46031 (__mpn_lshift): Do not use BP_SYM.
46032 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46033 (PARMS): Do not use macros from bp-asm.h.
46034 (STR): Likewise.
46035 (CHR): Likewise.
46036 (__memchr): Do not use BP_SYM.
46037 (memchr): Do not use BP_SYM in weak_alias.
46038 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46039 (PARMS): Do not use macros from bp-asm.h.
46040 (BLK2): Likewise.
46041 (LEN): Likewise.
46042 (memcmp): Do not use BP_SYM.
46043 (bcmp): Do not use BP_SYM in weak_alias.
46044 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
46045 (PARMS): Do not use macros from bp-asm.h.
46046 (S1): Likewise.
46047 (SIZE): Likewise.
46048 (__mpn_mul_1): Do not use BP_SYM.
46049 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
46050 "bp-asm.h".
46051 (PARMS): Do not use macros from bp-asm.h.
46052 (STR): Likewise.
46053 (CHR): Likewise.
46054 (__rawmemchr): Do not use BP_SYM.
46055 (rawmemchr): Do not use BP_SYM in weak_alias.
46056 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
46057 (PARMS): Do not use macros from bp-asm.h.
46058 (S): Likewise.
46059 (SIZE): Likewise.
46060 (__mpn_rshift): Do not use BP_SYM.
46061 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
46062 (PARMS): Do not use macros from bp-asm.h.
46063 (SIGMSK): Likewise.
46064 (__sigsetjmp): Likewise. Do not use BP_SYM.
46065 * sysdeps/i386/start.S: Do not include "bp-sym.h".
46066 (_start): Do not use BP_SYM.
46067 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
46068 (PARMS): Do not use macros from bp-asm.h.
46069 (DEST): Likewise.
46070 (SRC): Likewise.
46071 (__stpcpy): Likewise. Do not use BP_SYM.
46072 (stpcpy): Do not use BP_SYM in weak_alias.
46073 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
46074 "bp-asm.h".
46075 (PARMS): Do not use macros from bp-asm.h.
46076 (DEST): Likewise.
46077 (SRC): Likewise.
46078 (LEN): Likewise.
46079 (__stpncpy): Likewise. Do not use BP_SYM.
46080 (stpncpy): Do not use BP_SYM in weak_alias.
46081 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
46082 (PARMS): Do not use macros from bp-asm.h.
46083 (STR): Likewise.
46084 (CHR): Likewise.
46085 (strchr): Likewise. Do not use BP_SYM.
46086 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
46087 "bp-asm.h".
46088 (PARMS): Do not use macros from bp-asm.h.
46089 (STR): Likewise.
46090 (CHR): Likewise.
46091 (__strchrnul): Likewise. Do not use BP_SYM.
46092 (strchrnul): Do not use BP_SYM in weak_alias.
46093 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
46094 "bp-asm.h".
46095 (PARMS): Do not use macros from bp-asm.h.
46096 (STOP): Likewise.
46097 (strcspn): Do not use BP_SYM.
46098 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
46099 "bp-asm.h".
46100 (PARMS): Do not use macros from bp-asm.h.
46101 (STR): Likewise.
46102 (STOP): Likewise.
46103 (strpbrk): Likewise. Do not use BP_SYM.
46104 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
46105 "bp-asm.h".
46106 (PARMS): Do not use macros from bp-asm.h.
46107 (STR): Likewise.
46108 (CHR): Likewise.
46109 (strrchr): Likewise. Do not use BP_SYM.
46110 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
46111 (PARMS): Do not use macros from bp-asm.h.
46112 (SKIP): Likewise.
46113 (strspn): Do not use BP_SYM.
46114 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
46115 (PARMS): Do not use macros from bp-asm.h.
46116 (STR): Likewise.
46117 (DELIM): Likewise.
46118 (SAVE): Likewise.
46119 (FUNCTION): Likewise. Do not use BP_SYM.
46120 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
46121 aliases.
46122 (strtok_r): Likewise.
46123 (__GI___strtok_r): Likewise.
46124 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
46125 (PARMS): Do not use macros from bp-asm.h.
46126 (S1): Likewise.
46127 (S2): Likewise.
46128 (SIZE): Likewise.
46129 (__mpn_sub_n): Do not use BP_SYM.
46130 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
46131 "bp-asm.h".
46132 (PARMS): Do not use macros from bp-asm.h.
46133 (S1): Likewise.
46134 (SIZE): Likewise.
46135 (__mpn_submul_1): Do not use BP_SYM.
46136 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
46137 <bp-sym.h>.
46138 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
46139 and <bp-asm.h>.
46140 (PARMS): Do not use macros from bp-asm.h.
46141 (FLAGS): Likewise.
46142 (PTID): Likewise.
46143 (TLS): Likewise.
46144 (CTID): Likewise.
46145 (__clone): Do not use BP_SYM.
46146 (clone): Do not use BP_SYM in weak_alias.
46147 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
46148 and <bp-asm.h>.
46149 (PARMS): Do not use macros from bp-asm.h.
46150 (LEN): Likewise.
46151 (__mmap64): Do not use BP_SYM.
46152 (mmap64): Do not use BP_SYM in weak_alias.
46153 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46154 <bp-sym.h> and <bp-asm.h>.
46155 (PARMS): Do not use macros from bp-asm.h.
46156 (__posix_fadvise64_l64): Do not use BP_SYM.
46157 * sysdeps/unix/sysv/linux/i386/semtimedop.S
46158 (PARMS): Do not use macros from bp-asm.h.
46159 (NSOPS): Likewise.
46160 (semtimedop): Do not use BP_SYM.
46161 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
46162 and <bp-asm.h>.
46163
46164 2013-02-21 Allan McRae <allan@archlinux.org>
46165
46166 * manual/message.texi (Charset conversion in gettext):
46167 Move @end statement to beginning of line.
46168
46169 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46170
46171 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
46172 static.
46173 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
46174 Likewise.
46175
46176 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
46177 (denorm): Likewise.
46178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
46179 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
46180
46181 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46182
46183 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
46184 tail-call to the resolved function if pltexit isn't needed.
46185
46186 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46187
46188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
46189 or Y being zero as being unlikely.
46190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46191 Likewise.
46192
46193 2013-02-20 Carlos O'Donell <carlos@redhat.com>
46194
46195 * manual/nss.texi (System Databases and Name Service Switch):
46196 Remove frobnicate @pxref.
46197
46198 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
46199
46200 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46201 __attribute__ ((unused)) to __attribute__ ((__unused__)).
46202
46203 2013-02-20 Petr Machata <pmachata@redhat.com>
46204
46205 * elf/elf.h (R_ARM_TARGET1): New macro.
46206 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
46207 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
46208 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
46209 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
46210 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
46211 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
46212 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
46213 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
46214 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
46215 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
46216 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
46217 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
46218 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
46219 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
46220 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
46221 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
46222 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
46223 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
46224 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
46225 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
46226 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
46227 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
46228 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
46229 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
46230 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
46231 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
46232 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
46233 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
46234 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
46235 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
46236 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
46237 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
46238 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
46239 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
46240 (R_ARM_THM_GOT_BREL12): Likewise.
46241 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
46242 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
46243 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
46244 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
46245 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
46246 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
46247 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
46248 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
46249 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
46250
46251 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
46252
46253 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
46254 __attribute_used__ to __attribute__ ((unused)).
46255
46256 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
46257
46258 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
46259 powerpc mpa.c.
46260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
46261 comment formatting.
46262 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
46263
46264 2013-02-19 Joseph Myers <joseph@codesourcery.com>
46265
46266 [BZ #13550]
46267 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
46268 Remove macro.
46269 (ENTER): Remove both macro definitions.
46270 (LEAVE): Likewise.
46271 (CHECK_BOUNDS_LOW): Likewise.
46272 (CHECK_BOUNDS_HIGH): Likewise.
46273 (CHECK_BOUNDS_BOTH): Likewise.
46274 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
46275 (RETURN_BOUNDED_POINTER): Likewise.
46276 (RETURN_NULL_BOUNDED_POINTER): Likewise.
46277 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
46278 (POP_ERRNO_LOCATION_RETURN): Likewise.
46279 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
46280 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46281 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
46282 macros.
46283 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46284 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
46285 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
46286 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
46287 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
46288 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
46289 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
46290 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
46291 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
46292 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
46293 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
46294 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
46295 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46296 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
46297 removed macros.
46298 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46299 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
46300 macros.
46301 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46302 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
46303 * sysdeps/i386/i586/memset.S (memset): Likewise.
46304 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
46305 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46306 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
46307 macros.
46308 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46309 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
46310 Change uses of L(2) to L(out).
46311 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
46312 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
46313 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
46314 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46315 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
46316 removed macros.
46317 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46318 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
46319 macros.
46320 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46321 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
46322 (RETURN): Do not use macro LEAVE.
46323 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
46324 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
46325 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
46326 * sysdeps/i386/i686/memset.S (memset): Likewise.
46327 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
46328 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
46329 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46330 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
46331 Likewise.
46332 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46333 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
46334 L(1_2) and L(1_3) into L(1).
46335 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46336 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
46337 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46338 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
46339 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46340 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
46341 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
46342 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46343 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
46344 macros.
46345 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
46346 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46347 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
46348 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
46349 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
46350 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46351 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
46352 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
46353 * sysdeps/i386/strcspn.S (strcspn): Likewise.
46354 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
46355 * sysdeps/i386/strrchr.S (strrchr): Likewise.
46356 * sysdeps/i386/strspn.S (strspn): Likewise.
46357 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
46358 conditional code.
46359 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46360 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
46361 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
46362 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
46363 L(1_3) into L(1_1).
46364 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
46365 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
46366 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
46367 macros.
46368 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46369
46370 2013-02-19 Jakub Jelinek <jakub@redhat.com>
46371
46372 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
46373 macro.
46374
46375 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
46376
46377 * math/atest-exp.c (exp_mpn): Remove ROUND.
46378 * math/atest-exp2.c (exp_mpn): Likewise.
46379 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
46380
46381 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
46382 * stdlib/tst-tls-atexit-lib.c: Likewise.
46383 * stdlib/tst-tls-atexit.c: Likewise.
46384
46385 2013-02-18 Mike Frysinger <vapier@gentoo.org>
46386
46387 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
46388 and __attribute_alloc_size__.
46389
46390 2013-02-18 Mike Frysinger <vapier@gentoo.org>
46391
46392 * include/programs/xmalloc.h: Change __attribute_alloc_size to
46393 __attribute_alloc_size__.
46394 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
46395 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
46396
46397 2013-02-18 Mike Frysinger <vapier@gentoo.org>
46398
46399 * include/programs/xmalloc.h: New file.
46400 * catgets/gencat.c: Include it.
46401 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
46402 * elf/pldd.c: Likewise.
46403 * iconv/iconv_charmap.c: Likewise.
46404 * iconv/iconvconfig.c: Likewise.
46405 * iconv/strtab.c: Likewise.
46406 * locale/programs/locale.c: Likewise.
46407 * locale/programs/localedef.h: Likewise.
46408 * locale/programs/simple-hash.c: Likewise.
46409 * nscd/nscd.h: Likewise.
46410 * nss/makedb.c: Likewise.
46411 * sysdeps/generic/ldconfig.h: Likewise.
46412
46413 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
46414
46415 * Versions.def: Add GLIBC_2.18.
46416 * include/link.h (struct link_map): New member l_tls_dtor_count.
46417 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
46418 (__call_tls_dtors): Likewise.
46419 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
46420 __cxa_thread_atexit_impl.
46421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46422 Likewise.
46423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46424 Likewise.
46425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46426 Likewise.
46427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46428 Likewise.
46429 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
46431 Likewise.
46432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
46433 Likewise.
46434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46436 Likewise.
46437 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
46438 (tests): Add test case tst-tls-atexit.
46439 (modules-names): Add shared library for tst-tls-atexit.
46440 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
46441 (GLIBC_PRIVATE): Add __call_tls_dtors.
46442 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
46443 for libstdc++.
46444 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
46445 * stdlib/tst-tls-atexit.c: New test case.
46446 * stdlib/tst-tls-atexit-lib.c: New test case.
46447
46448 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
46449
46450 * elf/Versions (ld): Add _dl_find_dso_for_object.
46451 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
46452 * elf/dl-open.c (_dl_find_dso_for_object): New function.
46453 (dl_open_worker): Use _dl_find_dso_for_object.
46454 * elf/dl-sym.c (do_sym): Likewise.
46455 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
46456
46457 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46458
46459 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
46460 Syntactic changes only.
46461 (_dl_runtime_profile): Do a tail-call to the resolved function.
46462
46463 2013-02-17 Joseph Myers <joseph@codesourcery.com>
46464
46465 [BZ #13550]
46466 * sysdeps/x86_64/bp-asm.h: Remove file.
46467 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
46468 <bp-sym.h> and <bp-asm.h>.
46469 (__clone): Do not use BP_SYM.
46470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
46471 <bp-sym.h> and <bp-asm.h>.
46472 * sysdeps/unix/x86_64/sysdep.S: Likewise.
46473 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
46474 "bp-asm.h".
46475 (_setjmp): Do not use BP_SYM.
46476 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
46477 "bp-asm.h".
46478 (setjmp): Do not use BP_SYM.
46479 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
46480 libc_hidden_def.
46481 (mempcpy): Do not use BP_SYM in weak_alias.
46482 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
46483 "bp-asm.h".
46484 (strchr): Do not use BP_SYM.
46485 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
46486 "bp-asm.h".
46487 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
46488 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
46489 (_start): Do not use BP_SYM.
46490 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
46491 "bp-asm.h".
46492 (strcat): Do not use BP_SYM.
46493 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
46494 "bp-asm.h".
46495 (STRCMP): Do not use BP_SYM.
46496 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
46497 "bp-asm.h".
46498 (STRCPY): Do not use BP_SYM.
46499 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
46500 "bp-asm.h".
46501 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
46502 "bp-asm.h".
46503 (FUNCTION): Do not use BP_SYM.
46504 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
46505 weak_alias.
46506 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
46507
46508 2013-02-17 Andreas Jaeger <aj@suse.de>
46509
46510 * time/Versions: Sort entries.
46511 * string/Versions: Likewise.
46512 * resolv/Versions: Likewise.
46513 * posix/Versions: Likewise.
46514 * iconv/Versions: Likewise.
46515 * elf/Versions: Likewise.
46516 * wcsmbs/Versions: Likewise.
46517
46518 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46519
46520 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
46521 loop termination condition.
46522
46523 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
46524 variable to calculate EZ.
46525 (__sqr): Likewise.
46526
46527 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
46528 the lower precision input.
46529
46530 2013-02-15 Joseph Myers <joseph@codesourcery.com>
46531
46532 [BZ #13550]
46533 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
46534 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
46535 (run-via-rtld-prefix): Do not handle %-bp tests.
46536 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
46537 (all-object-suffixes): Remove .ob.
46538 (bppfx): Remove variable.
46539 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
46540 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
46541 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
46542 [$(build-bounded) = yes] (libtype.ob): Likewise.
46543 * Makerules (elide-routines.ob): Remove variable.
46544 (do-tests-clean): Do not handle *-bp.out.
46545 (common-mostlyclean): Do not handle *-bp and *-bp.out.
46546 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
46547 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
46548 (tests): Do not include $(tests-bp.out).
46549 (xtests): Do not include $(xtests-bp.out).
46550 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
46551 [$(build-bounded) = yes] ($(addprefix
46552 $(objpfx),$(binaries-bounded))): Remove rule.
46553 ($(objpfx)%-bp.out): Remove rule.
46554 * config.make.in (build-bounded): Remove variable.
46555 * crypt/Makefile [$(build-bounded) = yes]
46556 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
46557 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
46558 append to variable.
46559 [$(build-bounded) = yes] (install-lib): Likewise.
46560 [$(build-bounded) = yes] (generated): Likewise.
46561 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
46562 Remove rule.
46563 * intl/Makefile [$(build-bounded) = yes]
46564 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
46565 * math/Makefile [$(build-bounded) = yes]
46566 ($(tests:%=$(objpfx)%-bp): Likewise.
46567 * misc/Makefile [$(build-bounded) = yes]
46568 ($(objpfx)tst-tsearch-bp): Likewise.
46569 * nptl/Makeconfig (bounded-thread-library): Remove variable.
46570 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
46571 Remove dependency.
46572 * string/Makefile (o-objects.ob): Remove variable.
46573 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
46574 (CFLAGS-.ob): Remove variable.
46575 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
46576 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
46577 both definitions of variable.
46578 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
46579 (ASFLAGS-.ob): Remove variable.
46580
46581 2013-02-14 Joseph Myers <joseph@codesourcery.com>
46582
46583 [BZ #13550]
46584 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
46585 Remove __BOUNDED_POINTERS__ from condition.
46586 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
46587 * string/bits/string2.h [!__NO_STRING_INLINES &&
46588 !__BOUNDED_POINTERS__]: Likewise.
46589 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
46590 Likewise.
46591 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
46592 Remove conditional code.
46593 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
46594 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
46595 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
46596 condition.
46597
46598 [BZ #13550]
46599 * csu/libc-start.c: Do not include <bp-sym.h>.
46600 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
46601 * elf/dl-open.c: Do not include <bp-sym.h>.
46602 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
46603 * math/fegetenv.c: Do not include <bp-sym.h>.
46604 (fegetenv): Do not use BP_SYM in versioned symbols.
46605 * nptl/sysdeps/pthread/bits/libc-lockP.h
46606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
46607 <bp-sym.h>.
46608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46609 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
46610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46611 (__pthread_mutex_destroy): Likewise.
46612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46613 (__pthread_mutex_lock): Likewise.
46614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46615 (__pthread_mutex_trylock): Likewise.
46616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46617 (__pthread_mutex_unlock): Likewise.
46618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46619 (__pthread_mutexattr_init): Likewise.
46620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46621 (__pthread_mutexattr_destroy): Likewise.
46622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46623 (__pthread_mutexattr_settype): Likewise.
46624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46625 (__pthread_rwlock_init): Likewise.
46626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46627 (__pthread_rwlock_destroy): Likewise.
46628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46629 (__pthread_rwlock_rdlock): Likewise.
46630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46631 (__pthread_rwlock_tryrdlock): Likewise.
46632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46633 (__pthread_rwlock_wrlock): Likewise.
46634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46635 (__pthread_rwlock_trywrlock): Likewise.
46636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46637 (__pthread_rwlock_unlock): Likewise.
46638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46639 (__pthread_key_create): Likewise.
46640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46641 (__pthread_setspecific): Likewise.
46642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46643 (__pthread_getspecific): Likewise.
46644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
46645 Likewise.
46646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46647 (_pthread_cleanup_push_defer): Likewise.
46648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46649 (_pthread_cleanup_pop_restore): Likewise.
46650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46651 (pthread_setcancelstate): Likewise.
46652 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
46653 <bp-sym.h>.
46654 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
46655 (memchr): Do not use BP_SYM in weak_alias.
46656 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
46657 (fegetenv): Do not use BP_SYM in versioned symbols.
46658 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
46659 (fesetenv): Do not use BP_SYM in versioned symbols.
46660 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46661 (feupdateenv): Do not use BP_SYM in versioned symbols.
46662 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46663 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46664 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
46665 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
46666 (open64): Do not use BP_SYM in weak_alias.
46667 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
46668 (fegetenv): Do not use BP_SYM in versioned symbols.
46669 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
46670 (fesetenv): Do not use BP_SYM in versioned symbols.
46671 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46672 (feupdateenv): Do not use BP_SYM in versioned symbols.
46673 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
46674 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
46675 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
46676 (feraiseexcept): Do not use BP_SYM in versioned symbols.
46677 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46678 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46679 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
46680 <bp-sym.h>.
46681 (__libc_start_main): Do not use BP_SYM.
46682
46683 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
46684
46685 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
46686 redundant return line.
46687 (norm): Likewise.
46688 (denorm): Likewise.
46689 (dbl_mp): Likewise.
46690 (sub_magnitudes): Likewise.
46691 (__add): Likewise.
46692 (__sub): Likewise.
46693 (__mul): Likewise.
46694 (__inv): Likewise.
46695 (__dvd): Likewise.
46696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
46697 (norm): Likewise.
46698 (denorm): Likewise.
46699 (dbl_mp): Likewise.
46700 (sub_magnitudes): Likewise.
46701 (__add): Likewise.
46702 (__sub): Likewise.
46703 (__mul): Likewise.
46704 (__inv): Likewise.
46705 (__dvd): Likewise.
46706
46707 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
46708 instead of __mul.
46709 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46710 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
46711 (cc32): Likewise.
46712
46713 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
46714 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
46715 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
46716 of __mul for squares.
46717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
46718 function
46719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
46720 Likewise.
46721 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
46722 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46723
46724 2013-02-13 Joseph Myers <joseph@codesourcery.com>
46725
46726 [BZ #13550]
46727 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
46728 code.
46729 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
46730 prototype or function definition. Rename ubp_* variables and
46731 parameters. Remove argv definitions conditional on
46732 [__BOUNDED_POINTERS__].
46733 * debug/backtrace.c (__backtrace): Do not use __unbounded.
46734 * elf/dl-runtime.c (_dl_fixup): Likewise.
46735 * include/set-hooks.h (RUN_HOOK): Likewise.
46736 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
46737 definition.
46738 * string/strcpy.c (strcpy): Do not use __unbounded.
46739 * sysdeps/generic/frame.h (struct layout): Likewise.
46740 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
46741 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
46742 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
46743 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
46744 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
46745 (__backtrace): Likewise.
46746 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
46747 use __ptrvalue.
46748 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
46749 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46750 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
46751 Likewise.
46752 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
46753 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
46754 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46755 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46756 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
46757 Do not use __unbounded.
46758 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
46759 Rename __unboundedrlimits parameter to rlimits in prototype.
46760 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
46761 Do not use __unbounded.
46762 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
46763 not use __ptrvalue.
46764 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46765 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
46766 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46767 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
46768 __ptrvalue or __unbounded.
46769 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
46770 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
46771 use __unbounded.
46772 (__new_msgctl): Do not use __ptrvalue.
46773 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
46774 __unbounded.
46775 (__libc_msgrcv): Do not use __ptrvalue.
46776 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
46777 startup_info): Do not use __unbounded.
46778 (__libc_start_main): Likewise. Rename ubp_* variables and
46779 parameters. Remove argv definitions conditional on
46780 [__BOUNDED_POINTERS__].
46781 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
46782 __ptrvalue.
46783 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
46784 use __unbounded.
46785 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
46786 or __ptrvalue.
46787 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
46788 use __unbounded.
46789 (__new_shmctl): Do not use __ptrvalue.
46790 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
46791 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
46792 Likewise.
46793 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
46794 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
46795 (__libc_sigaction): Likewise.
46796 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
46797 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
46798 Likewise.
46799 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46800
46801 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
46802
46803 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
46804
46805 * string/mempcpy.c: Implement by calling memcpy.
46806
46807 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46808
46809 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
46810
46811 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
46812 evaluation.
46813
46814 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
46815 values in the mantissa.
46816
46817 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
46818 minimize writes to Z.
46819 (sub_magnitudes): Simplify code a bit.
46820
46821 2013-02-12 Roland McGrath <roland@hack.frob.com>
46822
46823 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
46824 from the message. The linker prefixes all warnings with that already.
46825
46826 2013-02-12 Andreas Schwab <schwab@suse.de>
46827
46828 [BZ #15078]
46829 * posix/regexec.c (extend_buffers): Add parameter min_len.
46830 (check_matching): Pass minimum needed length.
46831 (clean_state_log_if_needed): Likewise.
46832 (get_subexp): Likewise.
46833 * posix/Makefile (tests): Add bug-regex34.
46834 (bug-regex34-ENV): Define.
46835 * posix/bug-regex34.c: New file.
46836
46837 [BZ #11561]
46838 * posix/regcomp.c (parse_bracket_exp): When looking up collating
46839 elements compare against the byte sequence of it, not its name.
46840 * posix/Makefile (tests): Add bug-regex35.
46841 (bug-regex35-ENV): Define.
46842 * posix/bug-regex35.c: New file.
46843
46844 2013-02-11 Tom de Vries <tom@codesourcery.com>
46845
46846 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
46847 comment.
46848 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
46849 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
46850 (CHECK_EOL): Add undef.
46851
46852 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
46853
46854 * bits/stdlib-bsearch.h: New file.
46855 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
46856 * stdlib/stdlib.h: Likewise.
46857
46858 2013-02-11 Roland McGrath <roland@hack.frob.com>
46859
46860 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
46861 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
46862 declaration.
46863 * manual/search.texi (Array Search Function): Add missing const in
46864 lfind prototype.
46865 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
46866 declaration to use rlim_t.
46867 (Basic Scheduling Functions): Remove erroneous const from
46868 sched_getparam prototype. Remove erroneous * from
46869 sched_get_priority_max and sched_get_priority_min prototypes.
46870 (Resource Usage): Fix summary @comment on vtimes to refer to
46871 sys/vtimes.h rather than vtimes.h.
46872 Add missing *s in vtimes prototype.
46873 (Limits on Resources): Fix ulimit prototype to return long int.
46874 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
46875 prototypes to use long int rather than double.
46876 (BSD Random): Fix initstate and setstate to use char *, not void *.
46877 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
46878 prototype to make second argument 'struct aiocb64 *const[]'.
46879 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
46880 (Status of AIO Operations): Remove erroneous const in aio_return and
46881 aio_return64 prototypes.
46882 (Synchronizing I/O): Fix sync prototype to return void.
46883 * manual/startup.texi (Suboptions): Remove an erroneous const in
46884 getsubopt prototype.
46885 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
46886 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
46887 use size_t rather than int.
46888 (Scanning All Users): Likewise for getpwent_r.
46889 (Setting Groups): Add missing const to setgroups prototype.
46890 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
46891 * manual/socket.texi (Host Names): Fix gethostbyaddr and
46892 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
46893 'const void *' rather than 'const char *'.
46894 (Host Address Functions): Likewise for inet_ntop.
46895 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
46896 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
46897 ssize_t for return value.
46898 (Sending Data): Likewise for send, sendto, sendmsg.
46899 (Socket Option Functions): Add a missing const in setsockopt prototype.
46900 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
46901 use wchar_t for the argument.
46902 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
46903 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
46904 take no arguments.
46905 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
46906 double/float/long double for second argument.
46907 Fix return types of significand, significandf, significandl.
46908 * manual/filesys.texi (Setting Permissions): Use mode_t for second
46909 argument in fchmod prototype.
46910 (File Owner): Use uid_t and gid_t in fchown prototype.
46911 (File Times): Add const to utimes, futimes, and lutimes prototypes.
46912 (Making Special Files): Use mode_t and dev_t in mknod prototype.
46913 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
46914 use 'const struct dirent **' as argument types to CMP function pointer
46915 argument.
46916 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
46917 (File Times): Fix summary magic @comment for struct utimbuf and utime
46918 to refer to utime.h, not time.h.
46919 * manual/string.texi (Argz Functions): Add missing const in
46920 argz_extract and argz_next prototypes.
46921 (Finding Tokens in a String): Likewise for basename.
46922 (String/Array Comparison): Fix typo in wcscasecmp prototype.
46923 (Copying and Concatenation): Fix typo in wmemmove prototype.
46924 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
46925 (Signal Stack): Remove erroneous const in sigstack prototype.
46926 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
46927 prototype.
46928 (Simple Calendar Time): Likewise for stime.
46929 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
46930 prototype.
46931 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
46932 say sys/sysctl.h instead.
46933 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
46934 and vsyslog prototypes.
46935
46936 2013-02-11 Tom de Vries <tom@codesourcery.com>
46937
46938 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
46939 Remove.
46940
46941 2013-02-11 Roland McGrath <roland@hack.frob.com>
46942
46943 * misc/sys/mman.h: Fix typo in mremap comment.
46944
46945 2013-02-08 Roland McGrath <roland@hack.frob.com>
46946
46947 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
46948 the '\0' terminator.
46949
46950 2013-02-08 Joseph Myers <joseph@codesourcery.com>
46951
46952 [BZ #13550]
46953 * debug/segfault.c: Don't include <bp-checks.h>.
46954 * sysdeps/generic/bp-checks.h: Remove file.
46955 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
46956 (__GETDENTS): Don't use CHECK_N.
46957 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
46958 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
46959 (__getgroups): Don't use CHECK_N.
46960 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
46961 (setgroups): Don't use CHECK_N.
46962 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
46963 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
46964 (__libc_msgrcv): Don't use CHECK_N.
46965 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
46966 (__libc_msgsnd): Don't use CHECK_N.
46967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
46968 <bp-checks.h>.
46969 (__libc_pread): Don't use CHECK_N.
46970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
46971 include <bp-checks.h>.
46972 (__libc_pread64): Don't use CHECK_N.
46973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
46974 include <bp-checks.h>.
46975 (__libc_pwrite): Don't use CHECK_N.
46976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
46977 include <bp-checks.h>.
46978 (__libc_pwrite64): Don't use CHECK_N.
46979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
46980 <bp-checks.h>.
46981 (__libc_pread): Don't use CHECK_N.
46982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
46983 include <bp-checks.h>.
46984 (__libc_pread64): Don't use CHECK_N.
46985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
46986 include <bp-checks.h>.
46987 (__libc_pwrite): Don't use CHECK_N.
46988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
46989 include <bp-checks.h>.
46990 (__libc_pwrite64): Don't use CHECK_N.
46991 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
46992 (do_pread): Don't use CHECK_N.
46993 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
46994 (do_pread64): Don't use CHECK_N.
46995 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
46996 (do_pwrite): Don't use CHECK_N.
46997 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
46998 (do_pwrite64): Don't use CHECK_N.
46999 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
47000 (__libc_readv): Don't use CHECK_N.
47001 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
47002 (semop): Don't use CHECK_N.
47003 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
47004 <bp-checks.h>.
47005 (semtimedop): Don't use CHECK_N.
47006 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
47007 (__libc_pread): Don't use CHECK_N.
47008 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
47009 <bp-checks.h>.
47010 (__libc_pread64): Don't use CHECK_N.
47011 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
47012 <bp-checks.h>.
47013 (__libc_pwrite): Don't use CHECK_N.
47014 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
47015 <bp-checks.h>.
47016 (__libc_pwrite64): Don't use CHECK_N.
47017 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
47018 <bp-checks.h>.
47019 (__libc_msgrcv): Don't use CHECK_N.
47020 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
47021 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
47022 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
47023 (__libc_writev): Don't use CHECK_N.
47024
47025 2013-02-08 Roland McGrath <roland@hack.frob.com>
47026
47027 * string/strcpy.c: Removed unused variable.
47028
47029 * Makeconfig (+sysdep-includes): Define with := rather than =.
47030 Use an existing include/ subdir of each sysdeps dir before it.
47031
47032 2013-02-08 Carlos O'Donell <carlos@redhat.com>
47033
47034 * nscd/connection.c (register_traced_file): Comment function.
47035 [HAVE_INOTIFY] (union __inev): Define.
47036 [HAVE_INOTIFY] (inotify_check_files): New function.
47037 [HAVE_INOTIFY] (clear_db_cache): Likewise.
47038 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
47039 clear_db_cache.
47040 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
47041
47042 2013-02-08 Carlos O'Donell <carlos@redhat.com>
47043
47044 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
47045 loaded if not already and that a failure is permanent.
47046
47047 2013-02-08 Carlos O'Donell <carlos@redhat.com>
47048
47049 [BZ #15006]
47050 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
47051 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
47052
47053 2013-02-08 Joseph Myers <joseph@codesourcery.com>
47054
47055 [BZ #13550]
47056 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
47057 (CHECK_1_NULL_OK): Likewise.
47058 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
47059 (__fxstat): Do not use CHECK_1.
47060 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
47061 <bp-checks.h>.
47062 (___fxstat64): Do not use CHECK_1.
47063 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
47064 <bp-checks.h>.
47065 (__fxstatat): Do not use CHECK_1.
47066 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
47067 <bp-checks.h>.
47068 (__fxstatat64): Do not use CHECK_1.
47069 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
47070 <bp-checks.h>.
47071 (__fxstat): Do not use CHECK_1.
47072 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
47073 <bp-checks.h>.
47074 (__fxstatat): Do not use CHECK_1.
47075 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
47076 <bp-checks.h>.
47077 (__getresgid): Do not use CHECK_1.
47078 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
47079 <bp-checks.h>.
47080 (__getresuid): Do not use CHECK_1.
47081 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
47082 <bp-checks.h>.
47083 (__lxstat): Do not use CHECK_1.
47084 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
47085 <bp-checks.h>.
47086 (__old_msgctl): Do not use CHECK_1.
47087 (__new_msgctl): Likewise.
47088 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
47089 <bp-checks.h>.
47090 (__new_setrlimit): Do not use CHECK_1.
47091 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
47092 <bp-checks.h>.
47093 (__old_shmctl): Do not use CHECK_1.
47094 (__new_shmctl): Likewise.
47095 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
47096 <bp-checks.h>.
47097 (__xstat): Do not use CHECK_1.
47098 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
47099 (__lxstat): Do not use CHECK_1.
47100 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
47101 <bp-checks.h>.
47102 (___lxstat64): Do not use CHECK_1.
47103 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
47104 (__old_msgctl): Do not use CHECK_1.
47105 (__new_msgctl): Likewise.
47106 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
47107 <bp-checks.h>.
47108 (__gettimeofday): Do not use CHECK_1.
47109 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
47110 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
47111 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
47112 <bp-checks.h>.
47113 (__gettimeofday): Do not use CHECK_1.
47114 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
47115 (__old_shmctl): Do not use CHECK_1_NULL_OK.
47116 (__new_shmctl): Do not use CHECK_1.
47117 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
47118 <bp-checks.h>.
47119 (do_sigtimedwait): Do not use CHECK_1.
47120 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
47121 <bp-checks.h>.
47122 (do_sigwaitinfo): Do not use CHECK_1.
47123 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
47124 <bp-checks.h>.
47125 (msgctl): Do not use CHECK_1.
47126 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
47127 <bp-checks.h>.
47128 (shmctl): Do not use CHECK_1.
47129 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
47130 (ustat): Do not use CHECK_1.
47131 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
47132 <bp-checks.h>.
47133 (__fxstat): Do not use CHECK_1.
47134 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47135 <bp-checks.h>.
47136 (__fxstatat): Do not use CHECK_1.
47137 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
47138 <bp-checks.h>.
47139 (__lxstat): Do not use CHECK_1.
47140 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
47141 <bp-checks.h>.
47142 (__xstat): Do not use CHECK_1.
47143 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
47144 (__xstat): Do not use CHECK_1.
47145 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
47146 (___xstat64): Do not use CHECK_1.
47147
47148 [BZ #13550]
47149 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
47150 definitions.
47151 (CHECK_BOUNDS_HIGH): Likewise.
47152 * string/strcpy.c: Do not include <bp-checks.h>.
47153 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
47154
47155 2013-02-07 Roland McGrath <roland@hack.frob.com>
47156
47157 * nscd/nscd-client.h (__nscd_drop_map_ref):
47158 Add __attribute__ ((unused)).
47159 * nis/nss-nisplus.h (niserr2nss): Likewise.
47160
47161 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
47162 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
47163
47164 * csu/libc-tls.c (init_static_tls, init_slotinfo):
47165 Remove inline keyword.
47166 * include/rounding-mode.h (round_away): Likewise.
47167 * libio/wfileops.c (adjust_wide_data): Likewise.
47168 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
47169 (__m128i_strloadu_tolower): Likewise.
47170 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
47171 (__m128i_strloadu_tolower): Likewise.
47172 * time/mktime.c (ydhms_diff): Likewise.
47173 * locale/elem-hash.h (elem_hash): Likewise.
47174 * locale/setlocale.c (setdata): Likewise.
47175 * posix/regex_internal.h (re_string_char_size_at): Likewise.
47176 (re_string_wchar_at): Likewise.
47177 (bitset_not, bitset_merge, bitset_mask): Likewise.
47178 [!(__GNUC__ > 3)] (inline): Remove macro.
47179 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
47180 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
47181 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
47182 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
47183 * string/memcmp.c (memcmp_bytes): Likewise.
47184 * locale/programs/locarchive.c (compute_hashval): Likewise.
47185 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
47186 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
47187 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
47188 * nss/getent.c (print_rpc, print_protocols): Likewise.
47189 (print_passwd, print_group, print_aliases): Likewise.
47190 * nis/nss-nisplus.h (niserr2nss): Likewise.
47191 * nscd/connections.c (restart_p): Likewise.
47192 Change return type to bool.
47193
47194 2013-02-05 Roland McGrath <roland@hack.frob.com>
47195
47196 * Makeconfig (all-Depend-files): Add existing
47197 $(sorted-subdirs:=/Depend) files.
47198 (all-subdirs): Remove nss.
47199 * sysdeps/unix/inet/Subdirs: Add it here instead.
47200 * hesiod/Depend: New file.
47201
47202 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
47203 instead of calling alloca.
47204
47205 * io/lseek.c (__lseek): Rename to __libc_lseek.
47206 Define __lseek as an alias.
47207
47208 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
47209
47210 2013-02-04 Carlos O'Donell <carlos@redhat.com>
47211
47212 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
47213 else clause and remove check for non-standard endianness.
47214
47215 2013-02-04 David S. Miller <davem@davemloft.net>
47216
47217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47218
47219 2013-02-04 Joseph Myers <joseph@codesourcery.com>
47220
47221 [BZ #13550]
47222 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
47223 (__ubp_memchr): Remove prototype.
47224 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
47225 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47226 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
47227 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
47228 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
47229 Remove alias.
47230 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
47231 (__ubp_memchr): Likewise.
47232 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
47233 (__ubp_memchr): Likewise.
47234 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
47235 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
47236 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
47237 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
47238 CHECK_STRING.
47239 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47240 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
47241 (__getcwd): Do not use CHECK_STRING.
47242 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
47243 <bp-checks.h>.
47244 (__real_chown): Do not use CHECK_STRING.
47245 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
47246 <bp-checks.h>.
47247 (fchownat): Do not use CHECK_STRING.
47248 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
47249 CHECK_STRING.
47250 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
47251 <bp-checks.h>.
47252 (__lchown): Do not use CHECK_STRING.
47253 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
47254 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
47255 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
47256 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
47257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
47258 include <bp-checks.h>.
47259 (truncate64): Do not use CHECK_STRING.
47260 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
47261 <bp-checks.h>.
47262 (__real_chown): Do not use CHECK_STRING.
47263 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
47264 <bp-checks.h>.
47265 (__lchown): Do not use CHECK_STRING.
47266 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
47267 <bp-checks.h>.
47268 (__chown): Do not use CHECK_STRING.
47269 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
47270 <bp-checks.h>.
47271 (truncate64): Do not use CHECK_STRING.
47272 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
47273 Likewise.
47274 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
47275 (__xmknod): Do not use CHECK_STRING.
47276 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47277 <bp-checks.h>.
47278 (__xmknodat): Do not use CHECK_STRING.
47279 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
47280 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
47281
47282 2013-02-04 Andreas Schwab <schwab@suse.de>
47283
47284 [BZ #14142]
47285 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
47286 * include/netdb.h: Likewise for h_errno.
47287 * elf/tst-stackguard1.c: Include <tls.h>.
47288
47289 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
47290
47291 * elf/link.h (struct link_map): Extend the l_addr comment.
47292 * include/link.h (struct link_map): Likewise.
47293
47294 2013-02-01 Joseph Myers <joseph@codesourcery.com>
47295
47296 [BZ #13550]
47297 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
47298 (BOUNDED_1): Remove macro.
47299 * debug/backtrace.c: Don't include <bp-checks.h>.
47300 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
47301 (__backtrace): Likewise.
47302 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
47303 <bp-checks.h>.
47304 (__backtrace): Don't use BOUNDED_1.
47305 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
47306 <bp-checks.h>.
47307 (__backtrace): Don't use BOUNDED_1.
47308 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
47309 (__backtrace): Don't use BOUNDED_1.
47310 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
47311 (shmat): Don't use BOUNDED_N.
47312
47313 2013-01-31 Joseph Myers <joseph@codesourcery.com>
47314
47315 [BZ #13550]
47316 * sysdeps/generic/bp-start.h: Remove file.
47317 * csu/libc-start.c: Don't include <bp-start.h>.
47318 (LIBC_START_MAIN): Set up __environ directly instead of using
47319 INIT_ARGV_and_ENVIRON.
47320 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
47321 <bp-start.h>.
47322
47323 [BZ #13550]
47324 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
47325 definitions.
47326 (CHECK_FCNTL): Likewise.
47327 (CHECK_N_PAGES): Likewise.
47328
47329 [BZ #13550]
47330 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
47331 definitions.
47332 (CHECK_SIGSET_NULL_OK): Likewise.
47333 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
47334 <bp-checks.h>.
47335 (sigpending): Don't use CHECK_SIGSET.
47336 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
47337 <bp-checks.h>.
47338 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47339 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
47340 <bp-checks.h>.
47341 (do_sigsuspend): Don't use CHECK_SIGSET.
47342 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
47343 use CHECK_SIGSET.
47344 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
47345 (do_sigwait): Don't use CHECK_SIGSET.
47346 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
47347 use CHECK_SIGSET.
47348 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
47349 include <bp-checks.h>.
47350 (sigpending): Don't use CHECK_SIGSET.
47351 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
47352 include <bp-checks.h>.
47353 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47354 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
47355 <bp-checks.h>.
47356 (sigpending): Don't use CHECK_SIGSET.
47357 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
47358 <bp-checks.h>.
47359 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
47360
47361 [BZ #13550]
47362 * sysdeps/generic/bp-semctl.h: Remove file.
47363 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
47364 <bp-checks.h> and <bp-semctl.h>.
47365 (__old_semctl): Don't use CHECK_SEMCTL.
47366 (__new_semctl): Likewise.
47367 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
47368 and <bp-semctl.h>.
47369 (__old_semctl): Don't use CHECK_SEMCTL.
47370 (__new_semctl): Likewise.
47371 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
47372 <bp-checks.h> and <bp-semctl.h>.
47373 (__old_semctl): Don't use CHECK_SEMCTL.
47374 (__new_semctl): Likewise.
47375 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
47376 <bp-checks.h> and <bp-semctl.h>.
47377 (semctl): Don't use CHECK_SEMCTL.
47378
47379 [BZ #13550]
47380 * Makerules (elide-bp-thunks): Remove variable.
47381 (elide-routines.oS): Don't use $(elide-bp-thunks).
47382 (elide-routines.os): Likewise.
47383 (elide-routines.o): Likewise.
47384 (elide-routines.op): Likewise.
47385 (elide-routines.og): Likewise.
47386 (objects): Don't use $(bp-thunks).
47387 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
47388 include.
47389 (common-generated): Do not add s-proto-bp.d.
47390 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
47391 (int): Likewise.
47392 (typ): Likewise.
47393 Do not generate makefile rules for bounded-pointer thunks.
47394 * sysdeps/generic/bp-thunks.h: Remove file.
47395 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
47396 * sysdeps/unix/s-proto-bp.S: Likewise.
47397
47398 [BZ #15062]
47399 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
47400 parts of result separately when argument is not close to line from
47401 -i to i and one part of argument is small.
47402 * math/k_casinhf.c (__kernel_casinhf): Likewise.
47403 * math/k_casinhl.c (__kernel_casinhl): Likewise.
47404 * math/libm-test.inc (cacos_test): Add more tests.
47405 (casin_test): Likewise.
47406 (casinh_test): Likewise.
47407 * sysdeps/i386/fpu/libm-test-ulps: Update.
47408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47409
47410 2013-01-31 David S. Miller <davem@davemloft.net>
47411
47412 * po/de.po: Update from translation team.
47413
47414 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
47415
47416 * time/tzfile.c: Include stdint.h for SIZE_MAX.
47417
47418 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
47419
47420 * configure.in (_AC_PROG_CC_C89): New definition.
47421 * configure: Regenerate.
47422
47423 * configure.in (AC_PROG_CPP): New definition.
47424 * configure: Regenerate.
47425
47426 2013-01-23 Joseph Myers <joseph@codesourcery.com>
47427
47428 * debug/tst-backtrace.h: New file.
47429 * debug/tst-backtrace2.c: Include tst-backtrace.h.
47430 (ret): Remove variable.
47431 (x): Likewise.
47432 (FAIL): Remove macro.
47433 (NO_INLINE): Likewise.
47434 (fn1): Use match function instead of strstr.
47435 * debug/tst-backtrace3.c: Include tst-backtrace.h.
47436 (ret): Remove variable.
47437 (x): Likewise.
47438 (FAIL): Remove macro.
47439 (NO_INLINE): Likewise.
47440 (fn): Use match function instead of strstr.
47441 * debug/tst-backtrace4.c: Include tst-backtrace.h.
47442 (ret): Remove variable.
47443 (x): Likewise.
47444 (FAIL): Remove macro.
47445 (NO_INLINE): Likewise.
47446 (handle_signal): Use match function instead of strstr.
47447 * debug/tst-backtrace5.c: Include tst-backtrace.h.
47448 (ret): Remove variable.
47449 (x): Likewise.
47450 (FAIL): Remove macro.
47451 (NO_INLINE): Likewise.
47452 (handle_signal): Use match function instead of strstr.
47453
47454 2013-01-23 Roland McGrath <roland@hack.frob.com>
47455
47456 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
47457
47458 2013-01-23 David S. Miller <davem@davemloft.net>
47459
47460 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
47461 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
47462 argument of CAS if possible.
47463 * sysdeps/sparc/sparc64/bits/atomic.h
47464 (__arch_compare_and_exchange_val_32_acq): Likewise.
47465 (__arch_compare_and_exchange_val_64_acq): Likewise.
47466
47467 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
47468
47469 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
47470 * sysdeps/posix/ulimit.c: ... this.
47471 Include <limits.h>.
47472 * sysdeps/unix/bsd/ulimit.c: Remove file.
47473
47474 2013-01-23 Adam Conrad <adconrad@0c3.net>
47475
47476 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
47477 (LDFLAGS-tst-array5): Likewise.
47478
47479 2013-01-23 Joseph Myers <joseph@codesourcery.com>
47480
47481 [BZ #15036]
47482 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
47483 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
47484 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
47485 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
47486
47487 2013-01-21 David S. Miller <davem@davemloft.net>
47488
47489 * sysdeps/sparc/backtrace.c: New file.
47490 * sysdeps/sparc/sparc32/backtrace.h: New file.
47491 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
47492 * sysdeps/sparc/sparc64/backtrace.h: New file.
47493 * sysdeps/sparc/sparc64/backtrace.c: Delete.
47494 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
47495 -funwind-tables.
47496
47497 2013-01-21 Andreas Schwab <schwab@suse.de>
47498
47499 [BZ #15020]
47500 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
47501 closed its stdout.
47502
47503 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
47504
47505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
47506 "mpa2.h".
47507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47508
47509 2013-01-18 Joseph Myers <joseph@codesourcery.com>
47510 Mark Mitchell <mark@codesourcery.com>
47511 Tom de Vries <tom@codesourcery.com>
47512 Paul Pluzhnikov <ppluzhnikov@google.com>
47513
47514 * debug/tst-backtrace2.c: New file.
47515 * debug/tst-backtrace3.c: Likewise.
47516 * debug/tst-backtrace4.c: Likewise.
47517 * debug/tst-backtrace5.c: Likewise.
47518 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
47519 (CFLAGS-tst-backtrace3.c): Likewise.
47520 (CFLAGS-tst-backtrace4.c): Likewise.
47521 (CFLAGS-tst-backtrace5.c): Likewise.
47522 (LDFLAGS-tst-backtrace2): Likewise.
47523 (LDFLAGS-tst-backtrace3): Likewise.
47524 (LDFLAGS-tst-backtrace4): Likewise.
47525 (LDFLAGS-tst-backtrace5): Likewise.
47526 (tests): Add new tests tst-backtrace2, tst-backtrace3,
47527 tst-backtrace4 and tst-backtrace5.
47528
47529 2013-01-18 Anton Blanchard <anton@samba.org>
47530 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47531
47532 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
47533 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
47534 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
47535 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
47536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47537 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
47538 "+r" and remove output regs list as redundant. Add explicit inline
47539 asm to specify register of return val to work around compiler codegen
47540 bug. Remove (int) cast on return value. Add return type parameter to
47541 use in macro so that this macro does not truncate return value for
47542 64-bit values.
47543 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
47544 pass to INTERNAL_VSYSCALL_NCS.
47545 (INLINE_VSYSCALL): Add 'long int' as return type to
47546 INTERNAL_VSYSCALL_NCS macro invocation.
47547 (INTERNAL_VSYSCALL): Add 'long int' as return type to
47548 INTERNAL_VSYSCALL_NCS macro invocation.
47549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47550
47551 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
47552
47553 [BZ #14496]
47554 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
47555 Fix application of SIMD FP exception mask.
47556
47557 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
47558 mp_no from a power of two.
47559 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
47560 __mpexp_twomm1. Use __pow_mp.
47561
47562 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
47563 multiplication.
47564
47565 2013-01-17 David S. Miller <davem@davemloft.net>
47566
47567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47568
47569 2013-01-17 Joseph Myers <joseph@codesourcery.com>
47570
47571 [BZ #15023]
47572 * include/complex.h: Condition contents on [!_COMPLEX_H].
47573 (__kernel_casinhf): New prototype.
47574 (__kernel_casinh): Likewise.
47575 (__kernel_casinhl): Likewise.
47576 * math/Makefile (libm_calls): Add k_casinh.
47577 * math/k_casinh.c: New file.
47578 * math/k_casinhf.c: Likewise.
47579 * math/k_casinhl.c: Likewise.
47580 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
47581 finite nonzero arguments.
47582 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
47583 finite nonzero arguments.
47584 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
47585 finite nonzero arguments.
47586 * math/s_casinh.c: Do not include <float.h>.
47587 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
47588 * math/s_casinhf.c: Do not include <float.h>.
47589 (__casinhf): Move code for finite nonzero arguments to
47590 k_casinhf.c.
47591 * math/s_casinhl.c: Do not include <float.h>.
47592 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
47593 redefine.
47594 (__casinhl): Move code for finite nonzero arguments to
47595 k_casinhl.c.
47596 * math/libm-test.inc (cacos_test): Add more tests.
47597 * sysdeps/i386/fpu/libm-test-ulps: Update.
47598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47599
47600 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
47601
47602 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
47603 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
47604 [!HAVE_MREMAP]: Remove [defined linux] case.
47605 * malloc/arena.c: Do not include <malloc-sysdep.h>.
47606
47607 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
47608
47609 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
47610
47611 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
47612
47613 * elf/elf.h (R_386_SIZE32): New relocation.
47614 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
47615 R_386_SIZE32.
47616 (elf_machine_rela): Likewise.
47617 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47618 R_X86_64_SIZE64 and R_X86_64_SIZE32.
47619
47620 2013-01-17 Joseph Myers <joseph@codesourcery.com>
47621
47622 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
47623 (FP_FAST_FMA): Do not define.
47624 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
47625 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
47626 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
47627 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
47628 !_SOFT_FLOAT]: Likewise.
47629 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
47630 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
47631 value.
47632 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
47633 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
47634 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
47635 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
47636 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
47637 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
47638 file.
47639
47640 2013-01-16 Andreas Schwab <schwab@suse.de>
47641
47642 [BZ #14327]
47643 * include/stdlib.h (__mktemp): Add declaration.
47644 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
47645 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
47646
47647 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
47648
47649 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
47650 definitions.
47651 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47652 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
47653 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
47654 definitions here.
47655 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
47656 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
47657 definitions.
47658 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
47659 and ONE.
47660 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
47661 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
47662 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
47663 definitions.
47664 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
47665 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
47666 definitions.
47667 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47668
47669 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
47670
47671 2013-01-15 David S. Miller <davem@davemloft.net>
47672
47673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47674 trunc{,f} to libm-sysdep_routes.
47675 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
47677 file.
47678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
47679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
47680 file.
47681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
47682 file.
47683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
47684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
47685 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
47686 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
47687 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
47688 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
47689 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
47690 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
47691
47692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47693 nearbyint{,f} to libm-sysdep_routes.
47694 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
47696 New file.
47697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
47698 file.
47699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
47700 New file.
47701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
47702 file.
47703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
47704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
47705 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
47706 file.
47707 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
47708 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
47709 file.
47710 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
47711 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
47712 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
47713
47714 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47715 libc_feholdexcept and libc_fesetenv.
47716
47717 2013-01-15 Mike Frysinger <vapier@gentoo.org>
47718
47719 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
47720
47721 2013-01-14 David S. Miller <davem@davemloft.net>
47722
47723 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
47724 (SPARC_ASM_VIS2_IFUNC): Likewise.
47725 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
47726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
47727 use of 'siam' instruction.
47728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
47729 Likewise.
47730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
47731 Likewise.
47732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
47733 Likewise.
47734 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
47735 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
47736 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
47737 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
47738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
47739 file.
47740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
47741 file.
47742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
47743 file.
47744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
47745 file.
47746 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
47747 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
47748 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
47749 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
47750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
47751 new VIS2 routines.
47752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47755 Likewise.
47756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
47761 routines to libm-sysdep_routines.
47762 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47763
47764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47765 fdim/fdimf to libm-sysdep_routines.
47766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
47767 file.
47768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
47769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
47770 file.
47771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
47772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
47773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
47774 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
47775 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
47776 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
47777 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
47778
47779 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
47780
47781 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
47782 to optimize copies.
47783
47784 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
47785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47786 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47787
47788 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
47789 local variable MPTWO.
47790 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47791 Likewise.
47792
47793 2013-01-13 Mike Frysinger <vapier@gentoo.org>
47794
47795 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
47796 GLOB_NOESCAPE.
47797
47798 2013-01-13 Mike Frysinger <vapier@gentoo.org>
47799
47800 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
47801
47802 2013-01-13 Mike Frysinger <vapier@gentoo.org>
47803
47804 * manual/pattern.texi (glob_t): Document gl_flags.
47805 (glob64_t): Likewise.
47806
47807 2013-01-11 David S. Miller <davem@davemloft.net>
47808
47809 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
47810 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
47811 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
47812 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
47813 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
47814 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
47815 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
47816 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
47817 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
47818 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
47819 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
47820 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
47821 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
47822
47823 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47824 sparc V9 rather than using V8 code.
47825 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47826 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47827
47828 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47829 Move to...
47830 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
47831 Here.
47832
47833 2013-01-11 Roland McGrath <roland@hack.frob.com>
47834
47835 [BZ #14941]
47836 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
47837 not in the main loop.
47838 * configure: Regenerated.
47839
47840 2013-01-11 Joseph Myers <joseph@codesourcery.com>
47841
47842 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
47843 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
47844 to just #else.
47845 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
47846 [!__GLIBC_HAVE_LONG_LONG] case.
47847 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
47848 condition to just #else.
47849 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
47850 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
47851 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
47852 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
47853 unconditional.
47854 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
47855 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47856 #elif condition to just #else.
47857 * sysdeps/unix/sysv/linux/sys/sysmacros.h
47858 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
47859 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47860 #elif condition to just #else.
47861
47862 2013-01-11 Steve Ellcey <sellcey@mips.com>
47863
47864 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
47865 (EF_MIPS_ARCH_64): Fix value.
47866 (EF_MIPS_ARCH_32R2): New.
47867 (EF_MIPS_ARCH_64R2): New.
47868
47869 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
47870
47871 * Makeconfig (+link-pie-before-libc): New.
47872 (+link-pie-after-libc): Likewise.
47873 (+link-pie-tests): Likewise.
47874 (+link-pie): Rewritten.
47875 (link-before-libc): Remove $(config-LDFLAGS).
47876 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
47877 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
47878 (config-LDFLAGS): Renamed to ...
47879 (rtld-LDFLAGS): This.
47880 (rtld-tests-LDFLAGS): New macro.
47881 (link-libc-rpath-link): Likewise.
47882 (link-libc-tests-rpath-link): Likewise.
47883 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
47884 (link-libc): Prepand $(link-libc-rpath-link).
47885 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
47886 (test-program-prefix): New macro.
47887 (test-via-rtld-prefix): Likewise.
47888 (test-program-cmd): Likewise.
47889 (host-test-program-cmd): Likewise.
47890 * Makefile ($(common-objpfx)testrun.sh): Replace
47891 $(run-program-prefix) with $(test-program-prefix).
47892 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
47893 $(rtld-LDFLAGS).
47894 ($(common-objpfx)shlib.lds): Likewise.
47895 (build-module-helper): Likewise.
47896 ($(common-objpfx)format.lds): Likewise.
47897 * Rules (binaries-pie-tests): New.
47898 (binaries-pie-notests): Likewise.
47899 (binaries-pie): Rewritten.
47900 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
47901 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
47902 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
47903 (make-test-out): Replace $(host-built-program-cmd) with
47904 $(host-test-program-cmd).
47905 * config.make.in (build-hardcoded-path-in-tests): New variable.
47906 * configure.in (--enable-hardcoded-path-in-tests): New configure
47907 option.
47908 (hardcoded_path_in_tests): New AC_SUBST.
47909 * configure: Regenerated.
47910 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
47911 $(built-program-cmd) with $(test-program-cmd).
47912 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
47913 (test_program_cmd): This.
47914 * elf/Makefile ($(objpfx)order.out): Run test with
47915 $(test-program-prefix).
47916 ($(objpfx)order2.out): Likewise.
47917 ($(objpfx)tst-initorder.out): Likewise.
47918 ($(objpfx)tst-initorder2.out): Likewise.
47919 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
47920 $(test-program-cmd).
47921 ($(objpfx)tst-array1-static.out): Likewise.
47922 ($(objpfx)tst-array2.out): Likewise.
47923 ($(objpfx)tst-array3.out): Likewise.
47924 ($(objpfx)tst-array4.out): Likewise.
47925 ($(objpfx)tst-array5.out): Likewise.
47926 ($(objpfx)tst-array5-static.out): Likewise.
47927 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
47928 $(test-program-cmd).
47929 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
47930 $(run-program-prefix) with $(test-program-prefix).
47931 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
47932 (test_program_prefix): This.
47933 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
47934 $(run-program-prefix) with $(test-program-prefix).
47935 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
47936 (test_program_prefix): This.
47937 * iconvdata/tst-tables.sh: Likewise.
47938 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
47939 $(run-program-prefix) with $(test-program-prefix).
47940 ($(objpfx)tst-translit.out): Likewise.
47941 ($(objpfx)tst-gettext2.out): Likewise.
47942 ($(objpfx)tst-gettext4.out): Likewise.
47943 ($(objpfx)tst-gettext6.out): Likewise.
47944 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
47945 (test_program_prefix): This.
47946 * intl/tst-gettext2.sh: Likewise.
47947 * intl/tst-gettext4.sh Likewise.
47948 * intl/tst-gettext6.sh: Likewise.
47949 * intl/tst-translit.sh: Likewise.
47950 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
47951 with $(test-program-cmd).
47952 * libio/Makefile ($(objpfx)test-freopen.out): Replace
47953 $(run-program-prefix) with $(test-program-prefix).
47954 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
47955 (test_program_prefix): This.
47956 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
47957 $(run-program-prefix) with $(test-program-prefix).
47958 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
47959 (test_program_prefix): This.
47960 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
47961 * posix/Makefile ($(objpfx)globtest.out): Replace
47962 $(run-via-rtld-prefix) and $(test-wrapper) with
47963 $(test-program-prefix) and $(test-via-rtld-prefix).
47964 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
47965 $(test-program-prefix).
47966 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
47967 $(host-test-program-cmd).
47968 (tst-spawn-ARGS): Likewise.
47969 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
47970 $(test-program-prefix).
47971 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
47972 (test_via_rtld_prefix): This.
47973 (test_wrapper): Renamed to ...
47974 (test_program_prefix): This.
47975 (run_program_prefix): Replaced by test_program_prefix.
47976 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
47977 (test_program_prefix): This.
47978 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
47979 with $(host-test-program-cmd).
47980 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
47981 $(run-program-prefix) with $(test-program-prefix).
47982 ($(objpfx)tst-printf.out): Likewise.
47983 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
47984 $(test-program-cmd).
47985 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
47986 (test_program_prefix): This.
47987 * stdio-common/tst-unbputc.sh: Likewise.
47988 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
47989 $(run-program-prefix) with $(test-program-prefix).
47990 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
47991 (test_program_prefix): This.
47992 * string/Makefile ($(objpfx)tst-svc.out): Replace
47993 $(built-program-cmd) with $(test-program-cmd).
47994
47995 2013-01-11 Andreas Jaeger <aj@suse.de>
47996
47997 [BZ #15003]
47998 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
47999 value. Sync with Linux 3.7.
48000
48001 2013-01-10 David S. Miller <davem@davemloft.net>
48002
48003 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
48004 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48005 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48006
48007 2013-01-10 Roland McGrath <roland@hack.frob.com>
48008
48009 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
48010 never set.
48011 * configure: Regenerated.
48012
48013 2013-01-10 David S. Miller <davem@davemloft.net>
48014
48015 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
48016 sparc V9 rather than using V8 code.
48017 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
48018 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
48019
48020 2013-01-10 Roland McGrath <roland@hack.frob.com>
48021
48022 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
48023 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
48024 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
48025 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
48026 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
48027 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
48028 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
48029 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
48030 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
48031 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
48032 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
48033 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
48034 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
48035 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
48036 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
48037 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
48038 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
48039 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
48040 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
48041 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
48042 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
48043 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
48044 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
48045 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
48046 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
48047 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
48048 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
48049
48050 2013-01-10 David S. Miller <davem@davemloft.net>
48051
48052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48053
48054 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
48055
48056 * posix/Makefile (tests-static): New variable.
48057 (tests): Add $(tests-static).
48058 (tst-exec-static-ARGS): New variable.
48059 (tst-spawn-static-ARGS): Likewise.
48060 * posix/tst-exec-static.c: New file.
48061 * posix/tst-spawn-static.c: Likewise.
48062 * posix/tst-exec.c: Support run directly.
48063 * posix/tst-spawn.c: Likewise.
48064
48065 2013-01-10 Joseph Myers <joseph@codesourcery.com>
48066
48067 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
48068 long.
48069 * math/bits/mathcalls.h (llrint): Likewise.
48070 (llround): Likewise.
48071 * stdlib/stdlib.h (struct drand48_data): Likewise.
48072 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
48073 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
48074 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
48075 Likewise.
48076 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
48077 Likewise.
48078 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
48079 (elf_greg_t): Likewise.
48080 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
48081 (__jmp_buf): Likewise.
48082 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
48083 definitions.
48084 (llrint): Likewise, for all definitions.
48085 (llrintl): Likewise.
48086
48087 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
48088 Remove [__GNUC__] condition.
48089 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
48090 condition to just [__USE_ISOC99].
48091 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
48092
48093 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
48094
48095 [BZ #14200]
48096 * sysdeps/unix/sysv/linux/x86/bits/environments.h
48097 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
48098 defined.
48099 (_POSIX_V6_ILP32_OFF32): Likewise.
48100 (_XBS5_ILP32_OFF32): Likewise.
48101 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
48102 (__ILP32_OFFBIG_LDFLAGS): Likewise.
48103
48104 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48105
48106 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
48107
48108 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
48109 doubles __mpexp_twomm1. Adjust usage.
48110 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
48111 Remove.
48112
48113 2013-01-10 Andreas Schwab <schwab@suse.de>
48114
48115 [BZ #14964]
48116 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
48117 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
48118
48119 2013-01-09 David S. Miller <davem@davemloft.net>
48120
48121 [BZ #15003]
48122 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
48123 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
48124 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
48125 (TCP_FASTOPEN): Define.
48126 (tcp_repair_opt): New structure.
48127 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
48128 enum values.
48129 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
48130 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
48131 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
48132 (tcp_cookie_transactions): New structure.
48133
48134 2013-01-09 Anton Blanchard <anton@samba.org>
48135
48136 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
48137 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
48138 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
48139 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
48140
48141 2013-01-09 Joseph Myers <joseph@codesourcery.com>
48142
48143 * include/features.h (__USE_ANSI): Remove.
48144
48145 2013-01-09 Roland McGrath <roland@hack.frob.com>
48146
48147 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
48148
48149 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
48150
48151 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
48152
48153 * sysdeps/s390/fpu/libm-test-ulps: Update.
48154
48155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48156
48157 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
48158 (__acr): Likewise.
48159 (__cpy): Likewise.
48160 (norm): Likewise.
48161 (denorm): Likewise.
48162 (__mp_dbl): Likewise.
48163 (__dbl_mp): Likewise.
48164 (add_magnitudes): Likewise.
48165 (sub_magnitudes): Likewise.
48166 (__add): Likewise.
48167 (__sub): Likewise.
48168 (__mul): Likewise.
48169 (__inv): Likewise.
48170 (__dvd): Likewise.
48171 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
48172 (__acr): Likewise.
48173 (__cpy): Likewise.
48174 (norm): Likewise.
48175 (denorm): Likewise.
48176 (__mp_dbl): Likewise.
48177 (__dbl_mp): Likewise.
48178 (add_magnitudes): Likewise.
48179 (sub_magnitudes): Likewise.
48180 (__add): Likewise.
48181 (__sub): Likewise.
48182 (__mul): Likewise.
48183 (__inv): Likewise.
48184 (__dvd): Likewise.
48185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
48186 (__acr): Likewise.
48187 (__cpy): Likewise.
48188 (norm): Likewise.
48189 (denorm): Likewise.
48190 (__mp_dbl): Likewise.
48191 (__dbl_mp): Likewise.
48192 (add_magnitudes): Likewise.
48193 (sub_magnitudes): Likewise.
48194 (__add): Likewise.
48195 (__sub): Likewise.
48196 (__mul): Likewise.
48197 (__inv): Likewise.
48198 (__dvd): Likewise.
48199
48200 2013-01-08 Joseph Myers <joseph@codesourcery.com>
48201
48202 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
48203 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
48204 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
48205 2 && __USE_EXTERN_INLINES]: Likewise.
48206
48207 2013-01-08 Andreas Jaeger <aj@suse.de>
48208
48209 [BZ# 14985]
48210 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
48211 Remove.
48212 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48213 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
48214
48215 2013-01-07 Anton Blanchard <anton@samba.org>
48216
48217 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
48218 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48219 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
48220 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48221 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48222 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48223 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
48224 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48225 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48226 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48227 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48228 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48229 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48230 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48231 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48232 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48233 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48234 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48235 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48236 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48237 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48238 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
48239 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48240 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48241 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
48242 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48243 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48244 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48245 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
48246 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48247 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48249 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48250 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48251 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48252 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48253 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48254 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48255 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
48256 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48257 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
48258 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48259 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48260
48261 2013-01-07 Joseph Myers <joseph@codesourcery.com>
48262
48263 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
48264 (__MALLOC_PMT): Likewise.
48265 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
48266 [__GNUC__], only on [_LIBC].
48267 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48268 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
48269 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
48270 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
48271 forward declaration.
48272 (realloc_hook_ini): Likewise.
48273 (memalign_hook_ini): Likewise.
48274 (__libc_memalign): Do not use __MALLOC_PMT in variable
48275 declaration.
48276 (__libc_valloc): Likewise.
48277 (__libc_pvalloc): Likewise.
48278 (__libc_calloc): Likewise.
48279 (__posix_memalign): Likewise.
48280
48281 [BZ #14996]
48282 * math/s_casinh.c: Include <float.h>.
48283 (__casinh): Do not do computation with squaring and square root
48284 for large arguments.
48285 * math/s_casinhf.c: Include <float.h>.
48286 (__casinhf): Do not do computation with squaring and square root
48287 for large arguments.
48288 * math/s_casinhl.c: Include <float.h>.
48289 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
48290 (__casinhl): Do not do computation with squaring and square root
48291 for large arguments.
48292 * math/libm-test.inc (casin_test): Add more tests.
48293 (casinh_test): Likewise.
48294 * sysdeps/i386/fpu/libm-test-ulps: Update.
48295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48296
48297 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
48298
48299 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
48300 (__x86_64_raw_data_cache_size): Likewise.
48301 (__x86_64_data_cache_size_half): Likewise.
48302 (__x86_64_raw_data_cache_size_half): Likewise.
48303 (__x86_64_shared_cache_size): Likewise.
48304 (__x86_64_raw_shared_cache_size): Likewise.
48305 (__x86_64_shared_cache_size_half): Likewise.
48306 (__x86_64_raw_shared_cache_size_half): Likewise.
48307 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
48308 to ...
48309 (__x86_data_cache_size): This.
48310 (__x86_64_raw_data_cache_size): Renamed to ...
48311 (__x86_raw_data_cache_size): This.
48312 (__x86_64_data_cache_size_half): Renamed to ...
48313 (__x86_data_cache_size_half): This.
48314 (__x86_64_raw_data_cache_size_half): Renamed to ...
48315 (__x86_raw_data_cache_size_half): This.
48316 (__x86_64_shared_cache_size): Renamed to ...
48317 (__x86_shared_cache_size): This.
48318 (__x86_64_raw_shared_cache_size): Renamed to ...
48319 (__x86_raw_shared_cache_size): This.
48320 (__x86_64_shared_cache_size_half): Renamed to ...
48321 (__x86_shared_cache_size_half): This.
48322 (__x86_64_raw_shared_cache_size_half): Renamed to ...
48323 (__x86_raw_shared_cache_size_half): This.
48324 * sysdeps/x86_64/memcpy.S: Updated.
48325 * sysdeps/x86_64/memset.S: Likewise.
48326 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48327 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48328 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48329
48330 2013-01-04 David S. Miller <davem@davemloft.net>
48331
48332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48333
48334 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
48335
48336 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
48337 1 to avoid redefinition warning.
48338 (__USE_GNU): Don't define.
48339 (init_signaling_nan): Protoize.
48340
48341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48342
48343 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48344
48345 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
48346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
48347 (__cpymn): Likewise.
48348 (norm): Remove commented code.
48349 (denorm): Likewise.
48350 (__mp_dbl): Likewise.
48351 (__inv): Likewise.
48352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
48353 (__cpymn): Likewise.
48354 (norm): Remove commented code.
48355 (denorm): Likewise.
48356 (__mp_dbl): Likewise.
48357 (__inv): Likewise.
48358
48359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
48360 mp_no value for 1.0 and 2.0.
48361 (norm): Use RADIXI instead of radixi.d.
48362 (denorm): Likewise.
48363 (__mul): Use 0.0 instead of zero.d.
48364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
48365 mp_no value for 1.0 and 2.0.
48366 (norm): Use RADIXI instead of radixi.d.
48367 (denorm): Likewise.
48368 (__mul): Use 0.0 instead of zero.d.
48369
48370 2013-01-04 Joseph Myers <joseph@codesourcery.com>
48371
48372 [BZ #14994]
48373 * math/s_casinh.c (__casinh): Reduce finite argument to first
48374 quadrant then set signs of results at the end.
48375 * math/s_casinhf.c (__casinhf): Likewise.
48376 * math/s_casinhl.c (__casinhl): Likewise.
48377 * math/libm-test.inc (casin_test): Add more tests.
48378 (casinh_test): Likewise.
48379 * sysdeps/i386/fpu/libm-test-ulps: Update.
48380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48381
48382 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
48383
48384 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
48385
48386 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
48387
48388 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
48389 declarations.
48390 (denorm): Likewise.
48391 (__mp_dbl): Likewise.
48392 (__inv): Likewise.
48393
48394 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
48395 and adjust the header comment.
48396
48397 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
48398 variable name from declaration.
48399
48400 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
48401
48402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48403 Initialize COMMON_CPUID_INDEX_7 element.
48404 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
48405 (CPUID_RTM): Likewise.
48406 (HAS_RTM): Likewise.
48407 (COMMON_CPUID_INDEX_7): New enum.
48408
48409 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
48410
48411 [BZ #14981]
48412 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
48413 size is zero, record memory as freed.
48414
48415 2013-01-03 Andreas Jaeger <aj@suse.de>
48416
48417 * po/ia.po: Add new Interlingua translation.
48418
48419 2012-01-03 Allan McRae <allan@archlinux.org>
48420
48421 * locale/programs/localedef.c: Fix description of '--posix' flag.
48422
48423 2013-01-02 Joseph Myers <joseph@codesourcery.com>
48424
48425 * NEWS: Update dates in second copyright notice.
48426 * README: Update copyright dates in example.
48427 * manual/libc.texinfo: Update copyright dates.
48428 * scripts/test-installation.pl: Update copyright date in --version
48429 output.
48430
48431 * hurd/ctty-input.c: Fix copyright notice formatting.
48432 * hurd/ctty-output.c: Likewise.
48433 * hurd/dtable.c: Likewise.
48434 * hurd/hurd-raise.c: Likewise.
48435 * hurd/hurdprio.c: Likewise.
48436 * hurd/msgportdemux.c: Likewise.
48437 * misc/sys/file.h: Likewise.
48438 * misc/sys/ioctl.h: Likewise.
48439 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48440 * sysdeps/mach/hurd/chdir.c: Likewise.
48441 * sysdeps/mach/hurd/fchdir.c: Likewise.
48442 * sysdeps/mach/hurd/rename.c: Likewise.
48443 * sysdeps/mach/hurd/rmdir.c: Likewise.
48444 * sysdeps/mach/hurd/seekdir.c: Likewise.
48445 * sysdeps/mach/hurd/setsid.c: Likewise.
48446 * sysdeps/posix/wait3.c: Likewise.
48447
48448 * All files with FSF copyright notices: Update copyright dates
48449 using scripts/update-copyrights.
48450 * intl/plural.c: Regenerated.
48451 * locale/programs/charmap-kw.h: Likewise.
48452 * locale/programs/locfile-kw.h: Likewise.
48453
48454 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48455
48456 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
48457 four values.
48458
48459 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
48460 calculation loop and add branch prediction.
48461
48462 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
48463 check access beyond bounds of m1np.
48464
48465 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48466 MPTWO.
48467 (__inv): Remove local variable MPTWO to use the global
48468 constant.
48469 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
48470 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48471 variable MPTWO.
48472 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
48473 MP3HALFS static const.
48474
48475 2013-01-01 David S. Miller <davem@davemloft.net>
48476
48477 * po/ca.po: Update from translation team.
48478
48479 2013-01-01 Joseph Myers <joseph@codesourcery.com>
48480
48481 * scripts/update-copyrights: New file.
48482 * Makeconfig: Reformat copyright notice.
48483 * ctype/ctype.h: Likewise.
48484 * debug/swprintf_chk.c: Likewise.
48485 * elf/dl-cache.c: Likewise.
48486 * elf/dl-debug.c: Likewise.
48487 * elf/dl-object.c: Likewise.
48488 * grp/initgroups.c: Likewise.
48489 * hurd/Makefile: Likewise.
48490 * hurd/hurd/signal.h: Likewise.
48491 * hurd/hurdfault.c: Likewise.
48492 * hurd/hurdioctl.c: Likewise.
48493 * hurd/hurdlookup.c: Likewise.
48494 * hurd/intr-msg.c: Likewise.
48495 * iconv/gconv_open.c: Likewise.
48496 * libio/swprintf.c: Likewise.
48497 * locale/lc-ctype.c: Likewise.
48498 * locale/nl_langinfo.c: Likewise.
48499 * mach/Machrules: Likewise.
48500 * mach/Makefile: Likewise.
48501 * malloc/obstack.h: Likewise.
48502 * manual/Makefile: Likewise.
48503 * manual/tsort.awk: Likewise.
48504 * misc/bits/stab.def: Likewise.
48505 * nis/nis_print_group_entry.c: Likewise.
48506 * nis/nis_table.c: Likewise.
48507 * nis/nss_compat/compat-pwd.c: Likewise.
48508 * nis/nss_compat/compat-spwd.c: Likewise.
48509 * po/Makefile: Likewise.
48510 * posix/fnmatch.c: Likewise.
48511 * posix/regex.h: Likewise.
48512 * resolv/Makefile: Likewise.
48513 * resolv/nss_dns/dns-network.c: Likewise.
48514 * resolv/res_hconf.c: Likewise.
48515 * scripts/gen-sorted.awk: Likewise.
48516 * soft-fp/soft-fp.h: Likewise.
48517 * stdio-common/printf.h: Likewise.
48518 * stdlib/monetary.h: Likewise.
48519 * stdlib/random.c: Likewise.
48520 * stdlib/random_r.c: Likewise.
48521 * sysdeps/generic/Makefile: Likewise.
48522 * sysdeps/gnu/Makefile: Likewise.
48523 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48524 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48525 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48526 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48527 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48528 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48530 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48531 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48533 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48534 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48535 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48536 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48537 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
48538 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48539 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48540 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48541 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48542 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48543 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48544 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48545 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48546 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48547 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
48548 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48549 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48550 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
48551 * sysdeps/mach/hurd/errnos.awk: Likewise.
48552 * sysdeps/mach/hurd/fork.c: Likewise.
48553 * sysdeps/mach/hurd/getcwd.c: Likewise.
48554 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
48555 * sysdeps/mach/hurd/mmap.c: Likewise.
48556 * sysdeps/mach/hurd/utimes.c: Likewise.
48557 * sysdeps/mach/hurd/xmknod.c: Likewise.
48558 * sysdeps/posix/profil.c: Likewise.
48559 * sysdeps/posix/readdir_r.c: Likewise.
48560 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48561 * sysdeps/powerpc/bits/setjmp.h: Likewise.
48562 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
48563 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48564 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48565 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48566 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48567 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48568 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48569 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48570 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48571 * sysdeps/pthread/lio_listio.c: Likewise.
48572 * sysdeps/sparc/dl-procinfo.h: Likewise.
48573 * sysdeps/unix/i386/sysdep.S: Likewise.
48574 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
48575 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
48576 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
48577 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
48578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48579 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
48580 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
48581 * sysdeps/unix/sysv/linux/speed.c: Likewise.
48582 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48583 * sysdeps/wordsize-32/divdi3.c: Likewise.
48584 * time/sys/time.h: Likewise.
48585 * wcsmbs/Makefile: Likewise.
48586
48587 2013-01-01 David S. Miller <davem@davemloft.net>
48588
48589 * po/fr.po: Update from translation team.
48590
48591 * catgets/gencat.c: Update copyright year.
48592 * csu/version.c: Likewise.
48593 * debug/catchsegv.sh: Likewise.
48594 * debug/pcprofiledump.c: Likewise.
48595 * debug/xtrace.sh: Likewise.
48596 * elf/ldconfig.c: Likewise.
48597 * elf/ldd.bash.in: Likewise.
48598 * elf/pldd.c: Likewise.
48599 * elf/sotruss.ksh: Likewise.
48600 * elf/sprof.c: Likewise.
48601 * iconv/iconv_prog.c: Likewise.
48602 * iconv/iconvconfig.c: Likewise.
48603 * locale/programs/locale.c: Likewise.
48604 * locale/programs/localedef.c: Likewise.
48605 * login/programs/pt_chown.c: Likewise.
48606 * malloc/memusage.sh: Likewise.
48607 * malloc/memusagestat.c: Likewise.
48608 * malloc/mtrace.pl: Likewise.
48609 * nscd/nscd.c: Likewise.
48610 * nss/getent.c: Likewise.
48611 * nss/makedb.c: Likewise.
48612 * posix/getconf.c: Likewise.
48613
48614 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
48615
48616 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
48617 numbers.
48618
48619 2012-12-30 Mike Frysinger <vapier@gentoo.org>
48620
48621 * math/bits/mathcalls.h (modf): Use __nonnull.
48622
48623 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
48624
48625 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
48626 (split): Use macro CN instead of the bare value.
48627 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
48628 could be used.
48629 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
48630 instead of the bare value.
48631 (power1): Likewise.
48632
48633 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48634
48635 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
48636 __ATAN_TWOM.
48637 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48638
48639 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
48640 their values.
48641 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48642 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48643 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
48644 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48645
48646 2012-12-28 Andreas Jaeger <aj@suse.de>
48647
48648 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
48649 values are from Linux 3.7.
48650
48651 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
48652 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
48653
48654 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48655
48656 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
48657 TRUE case.
48658
48659 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
48660 (norm): Likewise.
48661 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
48662 variables with preprocessor constants.
48663 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48664 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48665 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48666
48667 2012-12-27 Bruno Haible <bruno@clisp.org>
48668
48669 [BZ #14317]
48670 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
48671 only if needed.
48672
48673 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
48674
48675 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
48676 and use variable directly.
48677 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
48678
48679 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48680 MPONE.
48681 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
48682 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48683 variable MPONE.
48684 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48685 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48686 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
48687 include directive. Remove local variable MPONE.
48688 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
48689 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
48690 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48691
48692 2012-12-25 David S. Miller <davem@davemloft.net>
48693
48694 * version.h (RELEASE): Set to "development".
48695 (VERSION): Set to "2.17.90".
48696 * NEWS: Add 2.18 section.
48697
48698 2012-12-21 David S. Miller <davem@davemloft.net>
48699
48700 * po/hr.po: Update from translation team.
48701
48702 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48703
48704 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
48705
48706 2012-12-19 Steve Ellcey <sellcey@mips.com>
48707
48708 * NEWS: Mention new memcpy for MIPS.
48709
48710 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
48711
48712 * manual/contrib.texi (Contributors): Spelling correction.
48713
48714 2012-12-15 David S. Miller <davem@davemloft.net>
48715
48716 * po/ru.po: Update from translation team.
48717
48718 2012-12-13 David S. Miller <davem@davemloft.net>
48719
48720 * NEWS: Mention IFUNC testsuite enhancements.
48721
48722 * po/pl.po: Update from translation team.
48723 * po/bg.po: Likewise.
48724
48725 * manual/contrib.texi (Contributors): Update entries for Hongjiu
48726 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
48727
48728 2012-12-11 David S. Miller <davem@davemloft.net>
48729
48730 * po/sv.po: Update from translation team.
48731
48732 * po/vi.po: Update from translation team.
48733
48734 * po/cs.po: Update from translation team.
48735
48736 * po/de.po: Update from translation team.
48737 * po/eo.po: Likewise.
48738 * po/nl.po: Likewise.
48739
48740 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
48741
48742 [BZ #14246]
48743 * manual/argp.texi (Argp Helper Functions): Move node to follow
48744 Argp Parsing State.
48745
48746 [BZ #14872]
48747 * manual/conf.texi (Limits on File System Capacity): Mention if
48748 terminating null is included in the max size.
48749
48750 2012-12-10 Andreas Jaeger <aj@suse.de>
48751
48752 * po/cs.po: Update from translation team.
48753
48754 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
48755
48756 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
48757 void pointer and cast to uintptr_t.
48758 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
48759 path.
48760 * sysdeps/s390/s390-64/memcpy.S: Likewise.
48761 * sysdeps/s390/s390-64/memset.S: Likewise.
48762
48763 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
48764
48765 [BZ #14833]
48766 * menual/message.texi (Message Translation): Fix typos.
48767 (Helper programs for gettext): Likewise.
48768
48769 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
48770
48771 [BZ #14898]
48772 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
48773 Change to -1.
48774
48775 2012-12-07 David S. Miller <davem@davemloft.net>
48776
48777 * po/libc.pot: Update.
48778
48779 2012-12-07 Richard Henderson <rth@redhat.com>
48780
48781 [BZ #10114]
48782 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
48783 normal/normal case to before the switch.
48784 (_FP_DIV): Likewise.
48785
48786 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
48787 Mike Frysinger <vapier@gentoo.org>
48788
48789 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
48790 check for __NR_fadvise64_64.
48791
48792 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
48793
48794 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
48795 0, not just to plain "0" as a statement.
48796 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
48797 with cw.
48798
48799 2012-12-06 Joseph Myers <joseph@codesourcery.com>
48800
48801 * NEWS: Use sourceware.org in Bugzilla URL.
48802
48803 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
48804
48805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
48806 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48807
48808 * stdio-common/tst-put-error.c (do_test): Add newline to the
48809 padded test to ensure flush.
48810
48811 2012-12-05 Jeff Law <law@redhat.com>
48812
48813 * sunrpc/etc.rpc (fedfs_admin): Add entry.
48814
48815 2012-12-05 Joseph Myers <joseph@codesourcery.com>
48816
48817 * README: Don't refer to ports add-on as distributed separately.
48818 Mention AArch64 in list of systems supported in the ports add-on.
48819
48820 * LICENSES: Add more non-FSF copyright and license notices.
48821
48822 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
48823 ((unused)).
48824
48825 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
48826
48827 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
48828 10000 as width of padded output.
48829
48830 2012-12-04 Joseph Myers <joseph@codesourcery.com>
48831
48832 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
48833
48834 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
48835 variable LX with __attribute__ ((unused)).
48836 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48837 Likewise.
48838 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48839 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48840 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
48841 with __attribute__ ((unused)).
48842
48843 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
48844
48845 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
48846
48847 2012-12-04 Joseph Myers <joseph@codesourcery.com>
48848
48849 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
48850 (CFLAGS-nldbl-acos.c): New variable.
48851 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
48852 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
48853 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
48854 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
48855 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
48856 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
48857 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
48858 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
48859 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
48860 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
48861 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
48862 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
48863 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
48864 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
48865 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
48866 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
48867 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
48868 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
48869 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
48870 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
48871 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
48872 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
48873 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
48874 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
48875 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
48876 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
48877 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
48878 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
48879 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
48880 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
48881 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
48882 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
48883 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
48884 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
48885 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
48886 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
48887 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
48888 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
48889 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
48890 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
48891 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
48892 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
48893 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
48894 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
48895 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
48896 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
48897 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
48898 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
48899 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
48900 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
48901 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
48902 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
48903 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
48904 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
48905 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
48906 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
48907 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
48908 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
48909 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
48910 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
48911 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
48912 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
48913 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
48914 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
48915 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
48916 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
48917 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
48918 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
48919 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
48920 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
48921 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
48922 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
48923 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
48924 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
48925 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
48926 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
48927 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
48928 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
48929 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
48930 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
48931 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
48932 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
48933 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
48934 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
48935 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
48936 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
48937 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
48938 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
48939 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
48940 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
48941 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
48942 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
48943 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
48944 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
48945 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
48946 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
48947 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
48948
48949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48950 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48951
48952 [BZ #14914]
48953 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
48954 whole low double instead of just low 47 bits when splitting values
48955 into two parts.
48956
48957 2012-12-03 Allan McRae <allan@archlinux.org>
48958
48959 * manual/stdio.texi (Predefined Printf Handlers): Remove
48960 @hsep and @vsep usage.
48961
48962 2012-12-03 Mike Frysinger <vapier@gentoo.org>
48963
48964 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
48965 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
48966
48967 2012-12-03 Jeff Law <law@redhat.com>
48968
48969 * time/sys/time.h (settimeofday): Do not mark TV argument
48970 as __nonnull.
48971
48972 2012-12-01 Mike Frysinger <vapier@gentoo.org>
48973
48974 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
48975 when currently writing and seek to current position when not.
48976 * libio/Makefile (tests): Remove bug-fclose1.
48977 * libio/bug-fclose1.c: Delete.
48978
48979 2012-12-01 Joseph Myers <joseph@codesourcery.com>
48980
48981 * manual/arith.texi (feenableexcept): Fix typo.
48982 (fedisableexcept): Likewise.
48983
48984 2012-11-30 Roland McGrath <roland@hack.frob.com>
48985
48986 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
48987 second, differently-typed declaration, rather than a cast.
48988
48989 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
48990
48991 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
48992 * include/rpc/svc.h: ... here.
48993
48994 2012-11-30 Aurelien Jarno <aurel32@debian.org>
48995
48996 [BZ #13013]
48997 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
48998 depending n and resplen2 to catch cases where answer
48999 equals answerp2.
49000
49001 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
49002
49003 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
49004 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
49005
49006 2012-11-29 Mike Frysinger <vapier@gentoo.org>
49007
49008 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
49009
49010 2012-11-29 Roland McGrath <roland@hack.frob.com>
49011
49012 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
49013
49014 2012-11-28 Jeff Law <law@redhat.com>
49015
49016 [BZ #13761]
49017 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
49018 dataset_temporary. Track alloca usage into alloca_used.
49019 If dataset is large allocate and release it via malloc/free.
49020
49021 2012-06-04 Florian Weimer <fweimer@redhat.com>
49022
49023 [BZ #14197]
49024 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
49025
49026 2012-11-28 David S. Miller <davem@davemloft.net>
49027
49028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49029
49030 2012-11-28 Joseph Myers <joseph@codesourcery.com>
49031
49032 [BZ #14803]
49033 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
49034 of pi/2 rounded to nearest to 64 bits.
49035 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
49036 nearest to 64 bits.
49037 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
49038 bits.
49039
49040 2012-11-28 Jeff Law <law@redhat.com>
49041 Martin Osvald <mosvald@redhat.com>
49042
49043 [BZ #14889]
49044 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
49045 * sunrpc/svc.c: Include time.h.
49046 (__svc_accept_failed): New function.
49047 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
49048 any reason other than EINTR, call __svc_accept_failed.
49049 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
49050 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
49051
49052 2012-11-28 Andreas Schwab <schwab@suse.de>
49053
49054 * scripts/abilist.awk: Also handle indirect functions in .opd
49055 section.
49056
49057 2012-11-28 Joseph Myers <joseph@codesourcery.com>
49058
49059 [BZ #13881]
49060 * sysdeps/x86/fpu/powl_helper.c: New file.
49061 * sysdeps/x86/fpu/Makefile: Likewise.
49062 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
49063 (p3): New object.
49064 (__ieee754_powl): Use __powl_helper for finite arguments except
49065 integer exponents below 8.
49066 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
49067 (p3): New object.
49068 (__ieee754_powl): Use __powl_helper for finite arguments except
49069 integer exponents below 8.
49070 * math/libm-test.inc (pow_test): Add more tests and enable some
49071 previously disabled tests.
49072 * sysdeps/i386/fpu/libm-test-ulps: Update.
49073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49074
49075 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49076 Carlos O'Donell <carlos_odonell@mentor.com>
49077
49078 * nss/makedb.c (is_prime): Assert that input is odd and greater
49079 than 4. Note that fact in a comment too.
49080 (next_prime): Add 4 to input.
49081
49082 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
49083
49084 [BZ #11741]
49085 * libio/Makefile (tests): Add test case tst-fwrite-error.
49086 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
49087 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
49088 * libio/tst-fwrite-error.c: New test case.
49089
49090 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
49091
49092 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
49093 before casting to void *.
49094 * include/libc-internal.h (__pointer_type): New macro.
49095 (__integer_if_pointer_type_sub): Likewise.
49096 (__integer_if_pointer_type): Likewise.
49097 (cast_to_integer): Likewise.
49098 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
49099 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
49100 before casting to atomic64_t.
49101 (atomic_exchange_acq): Likewise.
49102 (__arch_exchange_and_add_body): Likewise.
49103 (__arch_add_body): Likewise.
49104 (atomic_add_negative): Likewise.
49105 (atomic_add_zero): Likewise.
49106
49107 2012-11-26 Joseph Myers <joseph@codesourcery.com>
49108
49109 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
49110 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
49111 (add_fdes): Likewise.
49112 (linear_search_fdes): Likewise.
49113 (binary_search_unencoded_fdes): Likewise.
49114
49115 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
49116
49117 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
49118
49119 2012-11-24 Adam Conrad <adconrad@0c3.net>
49120
49121 * configure.in: Autodetect C++ header directories.
49122 * configure: Regenerated.
49123
49124 2012-11-23 Mike Frysinger <vapier@gentoo.org>
49125
49126 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
49127
49128 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
49129
49130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49131
49132 2012-11-22 Joseph Myers <joseph@codesourcery.com>
49133
49134 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
49135 LDBL_MANT_DIG == 106]: Disable some tests.
49136 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49137 Likewise.
49138 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
49139 Likewise.
49140
49141 [BZ #14871]
49142 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
49143 input for small inputs. Return +/- pi/2 for large inputs.
49144 * math/libm-test.inc (atan_test): Add more tests.
49145
49146 * sysdeps/generic/unwind-dw2-fde-glibc.c
49147 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
49148 __attribute__ ((unused)).
49149
49150 [BZ #14645]
49151 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
49152 x * y if x and y are nonzero and z is zero.
49153
49154 [BZ #14811]
49155 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
49156 nonzero exponents with absolute value below 0x1p-117 to +/-
49157 0x1p-117.
49158
49159 [BZ #14869]
49160 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
49161 up arguments below 2**-450, not just those below 2**-500.
49162 * math/libm-test.inc (hypot_test): Add another test.
49163
49164 [BZ #14868]
49165 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
49166 Return a+b for ratio over 2**120, not 2**60.
49167 * math/libm-test.inc (hypot_test): Add another test.
49168
49169 * math/libm-test.inc (clog_test): Use
49170 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
49171 (clog10_test): Likewise.
49172
49173 [BZ #6778]
49174 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
49175
49176 2012-11-22 Andreas Schwab <schwab@suse.de>
49177
49178 * sysdeps/i386/fpu/libm-test-ulps: Update.
49179
49180 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
49181
49182 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
49183 printf output with newline.
49184
49185 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
49186
49187 [BZ #14865]
49188 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
49189 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
49190 -z nodlopen, -z initfirst and -z execstack support.
49191 * configure: Regenerated.
49192
49193 * elf/elf.h (DF_1_NODIRECT): New macro.
49194 (DF_1_IGNMULDEF): Likewise.
49195 (DF_1_NOKSYMS): Likewise.
49196 (DF_1_NOHDR): Likewise.
49197 (DF_1_EDITED): Likewise.
49198 (DF_1_NORELOC): Likewise.
49199 (DF_1_SYMINTPOSE): Likewise.
49200 (DF_1_GLOBAUDIT): Likewise.
49201 (DF_1_SINGLETON): Likewise.
49202 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
49203 DT_1_SUPPORTED_MASK bits.
49204 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
49205
49206 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
49207
49208 * sysdeps/unix/make-syscalls.sh: Document prefixes.
49209
49210 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
49211
49212 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
49213 macro.
49214
49215 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
49216 (sendmmsg): Move declarations...
49217 * socket/sys/socket.h: ... here.
49218 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
49219 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
49220 include it from...
49221 * socket/recvmmsg.c: ... this new file.
49222 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
49223 (sendmmsg): Rename to __sendmmsg, create weak alias and make
49224 definition of __sendmmsg hidden.
49225 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
49226 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
49227 Move ENOSYS stub into and include it from...
49228 * socket/sendmmsg.c: ... this new file.
49229 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
49230 (sysdep_routines): Move recvmmsg and sendmmsg...
49231 * socket/Makefile (routines): ... here.
49232 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
49233 (GLIBC_PRIVATE): Add __sendmmsg.
49234 * include/sys/socket.h (__sendmmsg): Add declarations.
49235 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
49236 sendmmsg.
49237
49238 2012-11-20 Joseph Myers <joseph@codesourcery.com>
49239
49240 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
49241 variable I1 with __attribute__ ((unused)).
49242 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49243
49244 2012-11-19 Joseph Myers <joseph@codesourcery.com>
49245
49246 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
49247 DUMMY variables with __attribute__ ((unused)).
49248
49249 * bits/byteswap.h: Include <bits/types.h>.
49250 (__bswap_64): Use __uint64_t instead of unsigned long long int.
49251
49252 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
49253
49254 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
49255 string_t. Do not manually set errno.
49256 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
49257 length with __strnlen. Make sure to both set errno and return it on
49258 failure.
49259
49260 2012-11-19 David S. Miller <davem@davemloft.net>
49261
49262 With help from Joseph Myers.
49263 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
49264 very large arguments properly.
49265 * math/libm-test.inc (atan_test): New tests.
49266 (atan2_test): New tests.
49267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49269
49270 2012-11-19 Joseph Myers <joseph@codesourcery.com>
49271
49272 [BZ #14856]
49273 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
49274 Define to 3.
49275
49276 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
49277 [POSIX] (EADDRNOTAVAIL): Likewise.
49278 [POSIX] (EAFNOSUPPORT): Likewise.
49279 [POSIX] (EALREADY): Likewise.
49280 [POSIX] (ECONNABORTED): Likewise.
49281 [POSIX] (ECONNREFUSED): Likewise.
49282 [POSIX] (ECONNRESET): Likewise.
49283 [POSIX] (EDESTADDRREQ): Likewise.
49284 [POSIX] (EDQUOT): Likewise.
49285 [POSIX] (EHOSTUNREACH): Likewise.
49286 [POSIX] (EIDRM): Likewise.
49287 [POSIX] (EISCONN): Likewise.
49288 [POSIX] (ELOOP): Likewise.
49289 [POSIX] (EMULTIHOP): Likewise.
49290 [POSIX] (ENETDOWN): Likewise.
49291 [POSIX] (ENETUNREACH): Likewise.
49292 [POSIX] (ENOBUFS): Likewise.
49293 [POSIX] (ENODATA): Likewise.
49294 [POSIX] (ENOLINK): Likewise.
49295 [POSIX] (ENOMSG): Likewise.
49296 [POSIX] (ENOPROTOOPT): Likewise.
49297 [POSIX] (ENOSR): Likewise.
49298 [POSIX] (ENOSTR): Likewise.
49299 [POSIX] (ENOTCONN): Likewise.
49300 [POSIX] (ENOTSOCK): Likewise.
49301 [POSIX] (EOPNOTSUPP): Likewise.
49302 [POSIX] (EOVERFLOW): Likewise.
49303 [POSIX] (EPROTO): Likewise.
49304 [POSIX] (EPROTONOSUPPORT): Likewise.
49305 [POSIX] (EPROTOTYPE): Likewise.
49306 [POSIX] (ESTALE): Likewise.
49307 [POSIX] (ETIME): Likewise.
49308 [POSIX] (ETXTBSY): Likewise.
49309 [POSIX] (EWOULDBLOCK): Likewise.
49310 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
49311 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
49312 [POSIX] (SEEK_CUR): Likewise.
49313 [POSIX] (SEEK_END): Likewise.
49314 [POSIX || UNIX98] (mode_t): Do not require.
49315 [POSIX] (off_t): Likewise.
49316 [POSIX] (pid_t): Likewise.
49317 [POSIX] (sys/stat.h): Do not allow header.
49318 [POSIX] (unistd.h): Likewise.
49319 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
49320 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
49321 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
49322 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
49323 require.
49324 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
49325 sigevent): Specify elements.
49326 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
49327 entry.
49328 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
49329 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
49330
49331 * conform/data/cpio.h-data [POSIX]: Disable whole file.
49332 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
49333 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
49334 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
49335 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
49336 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
49337 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
49338 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
49339 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
49340 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
49341 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
49342 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
49343 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
49344 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
49345 Likewise.
49346 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
49347 Likewise.
49348 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
49349 Likewise.
49350 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
49351 Likewise.
49352 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
49353 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
49354 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
49355 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
49356 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
49357 Specify lower bound on value.
49358 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
49359 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
49360 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
49361 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
49362 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
49363 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
49364 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
49365 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
49366 value.
49367 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
49368 as optional.
49369 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
49370 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
49371 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
49372 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
49373 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
49374 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
49375 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
49376 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
49377 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
49378 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
49379 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
49380 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
49381 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
49382 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
49383 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
49384 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
49385 entry.
49386 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
49387 optional.
49388 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
49389 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
49390 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
49391 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
49392 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
49393 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
49394 Likewise.
49395 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
49396 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
49397 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
49398 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
49399 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
49400 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
49401 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
49402 as optional.
49403 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
49404 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
49405 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
49406 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
49407 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
49408 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
49409 specify as optional.
49410 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
49411 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
49412 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
49413 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
49414 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
49415 [XPG3] (NL_LANGMAX): Likewise.
49416 [POSIX || XPG3] (NL_MSGMAX): Likewise.
49417 [POSIX || XPG3] (NL_NMAX): Likewise.
49418 [POSIX || XPG3] (NL_SETMAX): Likewise.
49419 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
49420 [XPG3] (NZERO): Likewise.
49421 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
49422 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
49423 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
49424 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
49425 (REG_ERANGE): Expect.
49426 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
49427 optional-constant.
49428 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
49429 Use (void) in prototype.
49430 [POSIX] (*_t): Allow.
49431 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
49432 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
49433 (WRDE_BADVAL): Expect.
49434
49435 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
49436 expect.
49437 [XPG3 || XPG4] (O_RSYNC): Likewise.
49438 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
49439 Likewise.
49440 [XPG3 || XPG4] (pthread_sigmask): Likewise.
49441 [XPG3 || XPG4] (sigqueue): Likewise.
49442 [XPG3 || XPG4] (sigtimedwait): Likewise.
49443 [XPG3 || XPG4] (sigwaitinfo): Likewise.
49444 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
49445 [XPG3 || XPG4] (vsnprintf): Likewise.
49446 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
49447 Likewise.
49448 [XPG3 || XPG4] (blksize_t): Likewise.
49449 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
49450 Likewise.
49451 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
49452 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49453 [XPG3 || XPG4] (struct itimerspec): Likewise.
49454 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
49455 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
49456 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
49457 [XPG3 || XPG4] (clockid_t): Likewise.
49458 [XPG3 || XPG4] (timer_t): Likewise.
49459 [XPG3 || XPG4] (clock_getres): Likewise.
49460 [XPG3 || XPG4] (clock_gettime): Likewise.
49461 [XPG3 || XPG4] (clock_settime): Likewise.
49462 [XPG3 || XPG4] (nanosleep): Likewise.
49463 [XPG3 || XPG4] (timer_create): Likewise.
49464 [XPG3 || XPG4] (timer_delete): Likewise.
49465 [XPG3 || XPG4] (timer_gettime): Likewise.
49466 [XPG3 || XPG4] (timer_getoverrun): Likewise.
49467 [XPG3 || XPG4] (timer_settime): Likewise.
49468 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
49469 [XPG3 || XPG4] (getlogin_r): Likewise.
49470 [XPG3 || XPG4] (pread): Likewise.
49471 [XPG3 || XPG4] (pthread_atfork): Likewise.
49472 [XPG3 || XPG4] (pwrite): Likewise.
49473
49474 [BZ #14835]
49475 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
49476 <bits/siginfo.h>.
49477
49478 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
49479
49480 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
49481 finalizing MALLSTREAM.
49482
49483 * sysdeps/mach/hurd/syncfs.c: New file.
49484
49485 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
49486
49487 [BZ #14719]
49488 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
49489 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
49490 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
49491 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
49492 (_nss_dns_gethostbyname4_r): Likewise.
49493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
49494 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
49495
49496 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
49497
49498 [BZ #13763]
49499 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
49500
49501 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
49502
49503 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
49504 * elf/cache.c (print_entry): Print ",AArch64" for
49505 FLAG_AARCH64_LIB64
49506
49507 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
49508 * elf/cache.c (print_entry): Print ",hard-float" for
49509 FLAG_ARM_LIBHF.
49510
49511 2012-11-18 David S. Miller <davem@davemloft.net>
49512
49513 With help from Joseph Myers.
49514 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
49515 cutoff to 2**-13.
49516 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
49517 cutoff to 2**-25.
49518 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
49519 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
49520 small.
49521 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
49522 * math/libm-test.inc (y0_test): New tests.
49523 (y1_test): New tests.
49524 * sysdeps/i386/fpu/libm-test-ulps: Update.
49525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49527
49528 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
49529
49530 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
49531 64-bit targets.
49532 * configure: Regenerated.
49533
49534 2012-11-17 David S. Miller <davem@davemloft.net>
49535
49536 [BZ #14811]
49537 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
49538 nonzero exponents with absolute value below 0x1p-128 to +/-
49539 0x1p-128.
49540
49541 2012-11-17 Joseph Myers <joseph@codesourcery.com>
49542
49543 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
49544
49545 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
49546
49547 * posix/getconf-speclist.c: New file.
49548 * posix/posix-envs.def: Likewise.
49549 * posix/confstr.c (START_ENV_GROUP): New macro.
49550 (END_ENV_GROUP): Likewise.
49551 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49552 (KNOWN_PRESENT_ENV_STRING): Likewise.
49553 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49554 (UNKNOWN_ENVIRONMENT): Likewise.
49555 (confstr): Include posix-envs.def instead of handling
49556 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
49557 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
49558 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
49559 (END_ENV_GROUP): Likewise.
49560 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49561 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49562 (UNKNOWN_ENVIRONMENT): Likewise.
49563 (__sysconf): Include posix-envs.def instead of handling associated
49564 cases directly here.
49565 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
49566 preprocessing getconf-speclist.c rather than running getconf or
49567 generating empty file.
49568
49569 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
49570
49571 * scripts/check-local-headers.sh: Ignore 'mach' headers.
49572
49573 2012-11-16 Andrej Lajovic <natrij@gmail.com>
49574
49575 [BZ #14672]
49576 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
49577
49578 2012-11-16 David S. Miller <davem@davemloft.net>
49579
49580 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
49581 smaller than LDBL_EPSILON/2.0L, just return xm1.
49582
49583 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
49584
49585 * elf/tst-array1.c (init): Set constructor priority to 1000.
49586 (fini): Set destructor priority to 1000.
49587 * elf/tst-array2dep.c: Likewise.
49588
49589 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
49590
49591 [BZ #11741]
49592 * libio/fileops.c (_IO_new_file_write): Correctly return error.
49593 (_IO_new_file_xsputn): Also return EOF if none of the input
49594 data was written when overflow failed.
49595 * libio/iopadn.c (_IO_padn): Likewise.
49596 * libio/iowpadn.c (_IO_wpadn): Likewise.
49597 * stdio-common/tst-put-error.c: Add copyright notice.
49598 (do_test): Add case for printing padded string.
49599 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
49600 _IO_padn returned error.
49601 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
49602 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
49603 return EOF.
49604
49605 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
49606
49607 * libio/libioP.h: Add comment note that the references to C++
49608 bits are now obsolete.
49609
49610 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
49611
49612 * math/libm-test.inc (check_complex): Use asprintf.
49613
49614 2012-11-14 Joseph Myers <joseph@codesourcery.com>
49615
49616 * debug/pcprofiledump.c (print_version): Update copyright year.
49617 * malloc/memusagestat.c (print_version): Likewise.
49618
49619 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
49620
49621 [BZ #14831]
49622 * elf/Makefile (tests): Add tst-audit8.
49623 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
49624 ($(objpfx)tst-audit8.out): New target.
49625 (tst-audit8-ENV): New variable.
49626 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
49627 audit if l_reloc_result is NULL.
49628 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
49629 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
49630 * elf/tst-audit8.c: New file.
49631
49632 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
49633
49634 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
49635 * misc/Makefile (CFLAGS-select.c): Define.
49636 * posix/Makefile (CFLAGS-pause.c): Define.
49637
49638 2012-11-13 David S. Miller <davem@davemloft.net>
49639
49640 * crypt/Makefile: Move test targets after toplevel Rules
49641 inclusion. Grab any necessary sysdep routines when linking.
49642 * crypt/md5.c (md5_process_block): Remove define, we will always
49643 name it __md5_process_block.
49644 (md5_finish_ctx): Update md5_process_block call.
49645 (md5_stream): Likewise.
49646 (md5_process_bytes): Likewise.
49647 (md5_process_block): Rename to __md5_process_block and move to ...
49648 * crypt/md5-block.c: ... here.
49649 * crypt/sha256.c (sha256_process_block): Move to ...
49650 * crypt/sha256-block.c: ... here.
49651 * crypt/sha512.c (sha512_process_block): Move to ...
49652 * crypt/sha512-block.c: ... here.
49653 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
49654 path.
49655 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
49656 * sysdeps/sparc/sparc64/multiarch/Makefile
49657 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
49658 crypt subdir.
49659 (localedef-aux): Add md5 crypto assembler when in locale subdir.
49660 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
49661 multiarch changes.
49662 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
49663 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
49664 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
49665 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
49666 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
49667 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
49668 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
49669 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
49670 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
49671 file.
49672 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
49673 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
49674 file.
49675 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
49676
49677 2012-11-13 Joseph Myers <joseph@codesourcery.com>
49678
49679 * timezone/tzselect.ksh: Update from tzcode git revision
49680 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
49681 * timezone/zdump.c: Likewise.
49682 * timezone/zic.c: Likewise.
49683 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
49684 in TZVERSION setting, not $(PKGVERSION).
49685 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
49686 REPORT_BUGS_TO settings.
49687
49688 [BZ #14838]
49689 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
49690 macro.
49691
49692 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
49693
49694 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
49695 detection to immediately after _FP_ROUND().
49696 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
49697 bits are 0.
49698
49699 2012-11-11 David S. Miller <davem@davemloft.net>
49700
49701 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
49702 inttypes.h
49703 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
49704 __close rather than their public counterparts.
49705
49706 2012-11-10 Joseph Myers <joseph@codesourcery.com>
49707
49708 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
49709 file.
49710 [UNIX98] (sem_timedwait): Do not expect.
49711 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
49712 [XPG4 || UNIX98] (sockatmark): Do not expect.
49713 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
49714 (clock_getcpuclockid): Do not expect.
49715 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
49716 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
49717 Do not expect.
49718 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
49719 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
49720 [UNIX98] (vwscanf): Likewise.
49721 [UNIX98] (vswscanf): Likewise.
49722
49723 2012-11-09 Joseph Myers <joseph@codesourcery.com>
49724
49725 * timezone/version.h: Remove file.
49726 * timezone/README: Do not refer to version.h.
49727 * timezone/Makefile ($(objpfx)zic.o): New dependency on
49728 $(objpfx)version.h.
49729 ($(objpfx)zdump.o): Likewise.
49730 ($(objpfx)version.h): New target.
49731
49732 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
49733 2012i.
49734 * timezone/README: Don't mention modification to tzselect.ksh.
49735 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
49736 work on unmodified tzselect.ksh. Substitute version numbers in
49737 tzselect.ksh.
49738
49739 * Makefile (format-me): Remove.
49740 (INSTALL): Adjust indentation. Use commands directly instead of
49741 using $(format-me).
49742
49743 * aclocal.m4 (ACX_PKGVERSION): New macro.
49744 (ACX_BUGURL): Likewise.
49745 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
49746 (PKGVERSION): New AC_DEFINE_UNQUOTED.
49747 (REPORT_BUGS_TO): Likewise.
49748 * configure: Regenerated.
49749 * config.h.in (PKGVERSION): New macro.
49750 (REPORT_BUGS_TO): Likewise.
49751 * config.make.in (PKGVERSION): New variable.
49752 (PKGVERSION_TEXI): Likewise.
49753 (REPORT_BUGS_TO): Likewise.
49754 (REPORT_BUGS_TEXI): Likewise.
49755 * Makefile (format-me): Use -I$(common-objpfx)manual.
49756 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
49757 ($(common-objpfx)manual/%): New target.
49758 (manual/%): Remove target.
49759 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
49760 (print_version): Use PKGVERSION.
49761 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
49762 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
49763 and REPORT_BUGS_TO.
49764 ($(objpfx)xtrace): Likewise.
49765 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
49766 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
49767 (print_version): Use PKGVERSION.
49768 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
49769 (do_version): Use PKGVERSION.
49770 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
49771 REPORT_BUGS_TO.
49772 (common-ldd-rewrite): Likewise.
49773 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
49774 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
49775 (print_version): Use PKGVERSION.
49776 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
49777 * elf/pldd.c (argp_program_bug_address): Remove variable.
49778 (more_help): New function.
49779 (argp): Use more_help.
49780 (print_version): Use PKGVERSION.
49781 * elf/sln.c (main): Use PKGVERSION.
49782 (usage): Use REPORT_BUGS_TO.
49783 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
49784 (top level): Use PKGVERSION.
49785 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
49786 (print_version): Use PKGVERSION.
49787 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
49788 (print_version): Use PKGVERSION.
49789 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
49790 (print_version): Use PKGVERSION.
49791 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
49792 (print_version): Use PKGVERSION.
49793 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
49794 (print_version): Use PKGVERSION.
49795 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
49796 (print_version): Use PKGVERSION.
49797 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
49798 and BUGURL.
49799 ($(objpfx)memusage): Likewise.
49800 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
49801 (do_version): Use PKGVERSION.
49802 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
49803 (print_version): Use PKGVERSION.
49804 * malloc/mtrace.pl ($PACKAGE): Remove variable.
49805 ($PKGVERSION): New variable.
49806 ($REPORT_BUGS_TO): Likewise.
49807 (usage): Use $REPORT_BUGS_TO.
49808 (top level): Use $PKGVERSION.
49809 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
49810 ($(objpfx)pkgvers.texi): New rule.
49811 ($(objpfx)stamp-pkgvers): Likewise.
49812 * manual/install.texi: Include pkgvers.texi.
49813 (--with-pkgversion): Document new configure option.
49814 (--with-bugurl): Likewise.
49815 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
49816 than necessarily for this particular distribution. Use
49817 REPORT_BUGS_TO for where to report bugs.
49818 * INSTALL: Regenerated.
49819 * manual/libc.texinfo: Include pkgvers.texi.
49820 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
49821 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
49822 (print_version): Use PKGVERSION.
49823 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
49824 (print_version): Use PKGVERSION.
49825 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
49826 (print_version): Use PKGVERSION.
49827 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
49828 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
49829 macro.
49830 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
49831 (print_version): Use PKGVERSION.
49832 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
49833 (print_version): Use PKGVERSION.
49834 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
49835 and PKGVERSION.
49836
49837 * timezone/checktab.awk: Update from tzcode 2012i.
49838 * timezone/ialloc.c: Likewise.
49839 * timezone/private.h: Likewise.
49840 * timezone/scheck.c: Likewise.
49841 * timezone/tzfile.h: Likewise.
49842 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
49843 (TZVERSION): Hardcode tzcode version number.
49844 * timezone/zdump.c: Update from tzcode 2012i.
49845 * timezone/zic.c: Likewise.
49846 * timezone/version.h: New file.
49847 * timezone/README: Describe version.h. Update upstream location.
49848
49849 [BZ #14824]
49850 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
49851 (mktemp): Enable declaration.
49852 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
49853 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
49854 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
49855 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
49856 Likewise.
49857 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
49858 Likewise.
49859 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
49860 Likewise.
49861 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
49862 Likewise.
49863 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
49864 Likewise.
49865 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
49866 Likewise.
49867
49868 [BZ #14821]
49869 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
49870 offset in buffer as u_int32_t not u_long. Consistently use memcpy
49871 for copies of such integer values.
49872 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49873 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49874
49875 2012-11-09 Andreas Jaeger <aj@suse.de>
49876
49877 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
49878 definitions and declarations that are provided by
49879 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49880
49881 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49882
49883 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
49884 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
49885 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
49886 definition.
49887
49888 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
49889
49890 * elf/elf.h: Update comment before AArch64 relocations.
49891
49892 2012-11-07 David S. Miller <davem@davemloft.net>
49893
49894 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
49895 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49896 (__start_context): Declare.
49897 (__makecontext_ret): Delete.
49898 (__makecontext): Hook up __start_context instead of
49899 __makecontext_ret.
49900 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
49901 (sysdep_routines): Add __start_context when in stdlib.
49902
49903 2012-11-07 Joseph Myers <joseph@codesourcery.com>
49904
49905 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
49906 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
49907 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
49908 hardcoded "nm".
49909 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
49910 (READELF): New variable. Use it instead of hardcoded "readelf".
49911
49912 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
49913
49914 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
49915 * sysdeps/x86/Makefile: Here.
49916 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
49917 * sysdeps/x86/tst-xmmymm.sh: This.
49918
49919 2012-11-07 Joseph Myers <joseph@codesourcery.com>
49920
49921 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
49922 expectations.
49923 [UNIX98] (pthread_barrier_t): Do not expect.
49924 [UNIX98] (pthread_barrierattr_t): Likewise.
49925 [UNIX98] (pthread_spinlock_t): Likewise.
49926 [UNIX98] (pthread_barrier_destroy): Likewise.
49927 [UNIX98] (pthread_barrier_init): Likewise.
49928 [UNIX98] (pthread_barrier_wait): Likewise.
49929 [UNIX98] (pthread_barrierattr_destroy): Likewise.
49930 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
49931 [UNIX98] (pthread_barrierattr_init): Likewise.
49932 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
49933 [UNIX98] (pthread_getcpuclockid): Likewise.
49934 [UNIX98] (pthread_mutex_timedlock): Likewise.
49935 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
49936 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
49937 [UNIX98] (pthread_sigmask): Likewise.
49938 [UNIX98] (pthread_spin_destroy): Likewise.
49939 [UNIX98] (pthread_spin_init): Likewise.
49940 [UNIX98] (pthread_spin_lock): Likewise.
49941 [UNIX98] (pthread_spin_trylock): Likewise.
49942 [UNIX98] (pthread_spin_unlock): Likewise.
49943 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
49944 Do not expect.
49945 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
49946 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
49947 [XPG3 || XPG4] (pthread_cond_t): Likewise.
49948 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
49949 [XPG3 || XPG4] (pthread_key_t): Likewise.
49950 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
49951 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
49952 [XPG3 || XPG4] (pthread_once_t): Likewise.
49953 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
49954 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
49955 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
49956 [XPG3 || XPG4] (pthread_t): Likewise.
49957
49958 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
49959 not expect.
49960 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
49961
49962 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
49963 Change function return type to int.
49964
49965 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
49966 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
49967 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
49968 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
49969 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
49970 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
49971 [!POSIX] (posix_madvise): Likewise.
49972 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
49973 && !UNIX98].
49974 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
49975 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
49976 (mode_t): Likewise.
49977 (posix_mem_offset): Likewise.
49978 (posix_typed_mem_get_info): Likewise.
49979 (posix_typed_mem_open): Likewise.
49980
49981 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
49982 Change condition to [XOPEN2K8].
49983
49984 * conform/conformtest.pl: Preprocess allow-header data with -x c
49985 instead of from stdin.
49986 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
49987 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
49988 [C99-based standards] (cerfc): Likewise.
49989 [C99-based standards] (cexp2): Likewise.
49990 [C99-based standards] (cexpm1): Likewise.
49991 [C99-based standards] (clog10): Likewise.
49992 [C99-based standards] (clog1p): Likewise.
49993 [C99-based standards] (clog2): Likewise.
49994 [C99-based standards] (clgamma): Likewise.
49995 [C99-based standards] (ctgamma): Likewise.
49996 [C99-based standards] (cerff): Likewise.
49997 [C99-based standards] (cerfcf): Likewise.
49998 [C99-based standards] (cexp2f): Likewise.
49999 [C99-based standards] (cexpm1f): Likewise.
50000 [C99-based standards] (clog10f): Likewise.
50001 [C99-based standards] (clog1pf): Likewise.
50002 [C99-based standards] (clog2f): Likewise.
50003 [C99-based standards] (clgammaf): Likewise.
50004 [C99-based standards] (ctgammaf): Likewise.
50005 [C99-based standards] (cerfl): Likewise.
50006 [C99-based standards] (cerfcl): Likewise.
50007 [C99-based standards] (cexp2l): Likewise.
50008 [C99-based standards] (cexpm1l): Likewise.
50009 [C99-based standards] (clog10l): Likewise.
50010 [C99-based standards] (clog1pl): Likewise.
50011 [C99-based standards] (clog2l): Likewise.
50012 [C99-based standards] (clgammal): Likewise.
50013 [C99-based standards] (ctgammal): Likewise.
50014 * conform/data/inttypes.h-data [C99-based standards]: Include
50015 stdint.h-data. Remove all expectations for stdint.h contents.
50016 [C99-based standards] (PRI*): Do not allow.
50017 [C99-based standards] (SCN*): Likewise.
50018 [C99-based standards] (*_t): Likewise.
50019 [C99-based-standards] (PRId8): Expect macro.
50020 [C99-based-standards] (PRIi8): Likewise.
50021 [C99-based-standards] (PRIo8): Likewise.
50022 [C99-based-standards] (PRIu8): Likewise.
50023 [C99-based-standards] (PRIx8): Likewise.
50024 [C99-based-standards] (PRIX8): Likewise.
50025 [C99-based-standards] (SCNd8): Likewise.
50026 [C99-based-standards] (SCNi8): Likewise.
50027 [C99-based-standards] (SCNo8): Likewise.
50028 [C99-based-standards] (SCNu8): Likewise.
50029 [C99-based-standards] (SCNx8): Likewise.
50030 [C99-based-standards] (PRIdLEAST8): Likewise.
50031 [C99-based-standards] (PRIiLEAST8): Likewise.
50032 [C99-based-standards] (PRIoLEAST8): Likewise.
50033 [C99-based-standards] (PRIuLEAST8): Likewise.
50034 [C99-based-standards] (PRIxLEAST8): Likewise.
50035 [C99-based-standards] (PRIXLEAST8): Likewise.
50036 [C99-based-standards] (SCNdLEAST8): Likewise.
50037 [C99-based-standards] (SCNiLEAST8): Likewise.
50038 [C99-based-standards] (SCNoLEAST8): Likewise.
50039 [C99-based-standards] (SCNuLEAST8): Likewise.
50040 [C99-based-standards] (SCNxLEAST8): Likewise.
50041 [C99-based-standards] (PRIdFAST8): Likewise.
50042 [C99-based-standards] (PRIiFAST8): Likewise.
50043 [C99-based-standards] (PRIoFAST8): Likewise.
50044 [C99-based-standards] (PRIuFAST8): Likewise.
50045 [C99-based-standards] (PRIxFAST8): Likewise.
50046 [C99-based-standards] (PRIXFAST8): Likewise.
50047 [C99-based-standards] (SCNdFAST8): Likewise.
50048 [C99-based-standards] (SCNiFAST8): Likewise.
50049 [C99-based-standards] (SCNoFAST8): Likewise.
50050 [C99-based-standards] (SCNuFAST8): Likewise.
50051 [C99-based-standards] (SCNxFAST8): Likewise.
50052 [C99-based-standards] (PRId16): Likewise.
50053 [C99-based-standards] (PRIi16): Likewise.
50054 [C99-based-standards] (PRIo16): Likewise.
50055 [C99-based-standards] (PRIu16): Likewise.
50056 [C99-based-standards] (PRIx16): Likewise.
50057 [C99-based-standards] (PRIX16): Likewise.
50058 [C99-based-standards] (SCNd16): Likewise.
50059 [C99-based-standards] (SCNi16): Likewise.
50060 [C99-based-standards] (SCNo16): Likewise.
50061 [C99-based-standards] (SCNu16): Likewise.
50062 [C99-based-standards] (SCNx16): Likewise.
50063 [C99-based-standards] (PRIdLEAST16): Likewise.
50064 [C99-based-standards] (PRIiLEAST16): Likewise.
50065 [C99-based-standards] (PRIoLEAST16): Likewise.
50066 [C99-based-standards] (PRIuLEAST16): Likewise.
50067 [C99-based-standards] (PRIxLEAST16): Likewise.
50068 [C99-based-standards] (PRIXLEAST16): Likewise.
50069 [C99-based-standards] (SCNdLEAST16): Likewise.
50070 [C99-based-standards] (SCNiLEAST16): Likewise.
50071 [C99-based-standards] (SCNoLEAST16): Likewise.
50072 [C99-based-standards] (SCNuLEAST16): Likewise.
50073 [C99-based-standards] (SCNxLEAST16): Likewise.
50074 [C99-based-standards] (PRIdFAST16): Likewise.
50075 [C99-based-standards] (PRIiFAST16): Likewise.
50076 [C99-based-standards] (PRIoFAST16): Likewise.
50077 [C99-based-standards] (PRIuFAST16): Likewise.
50078 [C99-based-standards] (PRIxFAST16): Likewise.
50079 [C99-based-standards] (PRIXFAST16): Likewise.
50080 [C99-based-standards] (SCNdFAST16): Likewise.
50081 [C99-based-standards] (SCNiFAST16): Likewise.
50082 [C99-based-standards] (SCNoFAST16): Likewise.
50083 [C99-based-standards] (SCNuFAST16): Likewise.
50084 [C99-based-standards] (SCNxFAST16): Likewise.
50085 [C99-based-standards] (PRId32): Likewise.
50086 [C99-based-standards] (PRIi32): Likewise.
50087 [C99-based-standards] (PRIo32): Likewise.
50088 [C99-based-standards] (PRIu32): Likewise.
50089 [C99-based-standards] (PRIx32): Likewise.
50090 [C99-based-standards] (PRIX32): Likewise.
50091 [C99-based-standards] (SCNd32): Likewise.
50092 [C99-based-standards] (SCNi32): Likewise.
50093 [C99-based-standards] (SCNo32): Likewise.
50094 [C99-based-standards] (SCNu32): Likewise.
50095 [C99-based-standards] (SCNx32): Likewise.
50096 [C99-based-standards] (PRIdLEAST32): Likewise.
50097 [C99-based-standards] (PRIiLEAST32): Likewise.
50098 [C99-based-standards] (PRIoLEAST32): Likewise.
50099 [C99-based-standards] (PRIuLEAST32): Likewise.
50100 [C99-based-standards] (PRIxLEAST32): Likewise.
50101 [C99-based-standards] (PRIXLEAST32): Likewise.
50102 [C99-based-standards] (SCNdLEAST32): Likewise.
50103 [C99-based-standards] (SCNiLEAST32): Likewise.
50104 [C99-based-standards] (SCNoLEAST32): Likewise.
50105 [C99-based-standards] (SCNuLEAST32): Likewise.
50106 [C99-based-standards] (SCNxLEAST32): Likewise.
50107 [C99-based-standards] (PRIdFAST32): Likewise.
50108 [C99-based-standards] (PRIiFAST32): Likewise.
50109 [C99-based-standards] (PRIoFAST32): Likewise.
50110 [C99-based-standards] (PRIuFAST32): Likewise.
50111 [C99-based-standards] (PRIxFAST32): Likewise.
50112 [C99-based-standards] (PRIXFAST32): Likewise.
50113 [C99-based-standards] (SCNdFAST32): Likewise.
50114 [C99-based-standards] (SCNiFAST32): Likewise.
50115 [C99-based-standards] (SCNoFAST32): Likewise.
50116 [C99-based-standards] (SCNuFAST32): Likewise.
50117 [C99-based-standards] (SCNxFAST32): Likewise.
50118 [C99-based-standards] (PRId64): Likewise.
50119 [C99-based-standards] (PRIi64): Likewise.
50120 [C99-based-standards] (PRIo64): Likewise.
50121 [C99-based-standards] (PRIu64): Likewise.
50122 [C99-based-standards] (PRIx64): Likewise.
50123 [C99-based-standards] (PRIX64): Likewise.
50124 [C99-based-standards] (SCNd64): Likewise.
50125 [C99-based-standards] (SCNi64): Likewise.
50126 [C99-based-standards] (SCNo64): Likewise.
50127 [C99-based-standards] (SCNu64): Likewise.
50128 [C99-based-standards] (SCNx64): Likewise.
50129 [C99-based-standards] (PRIdLEAST64): Likewise.
50130 [C99-based-standards] (PRIiLEAST64): Likewise.
50131 [C99-based-standards] (PRIoLEAST64): Likewise.
50132 [C99-based-standards] (PRIuLEAST64): Likewise.
50133 [C99-based-standards] (PRIxLEAST64): Likewise.
50134 [C99-based-standards] (PRIXLEAST64): Likewise.
50135 [C99-based-standards] (SCNdLEAST64): Likewise.
50136 [C99-based-standards] (SCNiLEAST64): Likewise.
50137 [C99-based-standards] (SCNoLEAST64): Likewise.
50138 [C99-based-standards] (SCNuLEAST64): Likewise.
50139 [C99-based-standards] (SCNxLEAST64): Likewise.
50140 [C99-based-standards] (PRIdFAST64): Likewise.
50141 [C99-based-standards] (PRIiFAST64): Likewise.
50142 [C99-based-standards] (PRIoFAST64): Likewise.
50143 [C99-based-standards] (PRIuFAST64): Likewise.
50144 [C99-based-standards] (PRIxFAST64): Likewise.
50145 [C99-based-standards] (PRIXFAST64): Likewise.
50146 [C99-based-standards] (SCNdFAST64): Likewise.
50147 [C99-based-standards] (SCNiFAST64): Likewise.
50148 [C99-based-standards] (SCNoFAST64): Likewise.
50149 [C99-based-standards] (SCNuFAST64): Likewise.
50150 [C99-based-standards] (SCNxFAST64): Likewise.
50151 [C99-based-standards] (PRIdMAX): Likewise.
50152 [C99-based-standards] (PRIiMAX): Likewise.
50153 [C99-based-standards] (PRIoMAX): Likewise.
50154 [C99-based-standards] (PRIuMAX): Likewise.
50155 [C99-based-standards] (PRIxMAX): Likewise.
50156 [C99-based-standards] (PRIXMAX): Likewise.
50157 [C99-based-standards] (SCNdMAX): Likewise.
50158 [C99-based-standards] (SCNiMAX): Likewise.
50159 [C99-based-standards] (SCNoMAX): Likewise.
50160 [C99-based-standards] (SCNuMAX): Likewise.
50161 [C99-based-standards] (SCNxMAX): Likewise.
50162 [C99-based-standards] (PRIdPTR): Likewise.
50163 [C99-based-standards] (PRIiPTR): Likewise.
50164 [C99-based-standards] (PRIoPTR): Likewise.
50165 [C99-based-standards] (PRIuPTR): Likewise.
50166 [C99-based-standards] (PRIxPTR): Likewise.
50167 [C99-based-standards] (PRIXPTR): Likewise.
50168 [C99-based-standards] (SCNdPTR): Likewise.
50169 [C99-based-standards] (SCNiPTR): Likewise.
50170 [C99-based-standards] (SCNoPTR): Likewise.
50171 [C99-based-standards] (SCNuPTR): Likewise.
50172 [C99-based-standards] (SCNxPTR): Likewise.
50173 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
50174 allow.
50175 * conform/data/stdint.h-data: Update comments to clarify
50176 requirements.
50177 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
50178 type.
50179 [C99-based standards] (INT8_MAX): Likewise.
50180 [C99-based standards] (INT16_MIN): Likewise.
50181 [C99-based standards] (INT16_MAX): Likewise.
50182 [C99-based standards] (INT32_MIN): Likewise.
50183 [C99-based standards] (INT32_MAX): Likewise.
50184 [C99-based standards] (INT64_MIN): Likewise.
50185 [C99-based standards] (INT64_MAX): Likewise.
50186 [C99-based standards] (UINT8_MAX): Likewise.
50187 [C99-based standards] (UINT16_MAX): Likewise.
50188 [C99-based standards] (UINT32_MAX): Likewise.
50189 [C99-based standards] (UINT64_MAX): Likewise.
50190 [C99-based standards] (INT_LEAST8_MIN): Likewise.
50191 [C99-based standards] (INT_LEAST8_MAX): Likewise.
50192 [C99-based standards] (INT_LEAST16_MIN): Likewise.
50193 [C99-based standards] (INT_LEAST16_MAX): Likewise.
50194 [C99-based standards] (INT_LEAST32_MIN): Likewise.
50195 [C99-based standards] (INT_LEAST32_MAX): Likewise.
50196 [C99-based standards] (INT_LEAST64_MIN): Likewise.
50197 [C99-based standards] (INT_LEAST64_MAX): Likewise.
50198 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
50199 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
50200 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
50201 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
50202 [C99-based standards] (INT_FAST8_MIN): Likewise.
50203 [C99-based standards] (INT_FAST8_MAX): Likewise.
50204 [C99-based standards] (INT_FAST16_MIN): Likewise.
50205 [C99-based standards] (INT_FAST16_MAX): Likewise.
50206 [C99-based standards] (INT_FAST32_MIN): Likewise.
50207 [C99-based standards] (INT_FAST32_MAX): Likewise.
50208 [C99-based standards] (INT_FAST64_MIN): Likewise.
50209 [C99-based standards] (INT_FAST64_MAX): Likewise.
50210 [C99-based standards] (UINT_FAST8_MAX): Likewise.
50211 [C99-based standards] (UINT_FAST16_MAX): Likewise.
50212 [C99-based standards] (UINT_FAST32_MAX): Likewise.
50213 [C99-based standards] (UINT_FAST64_MAX): Likewise.
50214 [C99-based standards] (INTPTR_MIN): Likewise.
50215 [C99-based standards] (INTPTR_MAX): Likewise.
50216 [C99-based standards] (UINTPTR_MAX): Likewise.
50217 [C99-based standards] (INTMAX_MIN): Likewise.
50218 [C99-based standards] (INTMAX_MAX): Likewise.
50219 [C99-based standards] (UINTMAX_MAX): Likewise.
50220 [C99-based standards] (PTRDIFF_MIN): Likewise.
50221 [C99-based standards] (PTRDIFF_MAX): Likewise.
50222 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
50223 [C99-based standards] (SIZE_MAX): Likewise.
50224 [C99-based standards] (WCHAR_MAX): Likewise.
50225 [C99-based standards] (WINT_MAX): Likewise.
50226 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
50227 constraint on value.
50228 [C99-based standards] (WCHAR_MIN): Likewise.
50229 [C99-based standards] (WINT_MIN): Likewise.
50230 [C99-based standards] (*_t): Allow.
50231 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
50232 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
50233 Include math.h-data and complex.h-data. Remove all expectations
50234 of math.h and complex.h contents.
50235 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
50236 at end of line.
50237 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
50238 (struct tm): Expect tag.
50239 [C99-based-standards] (wcstof): Expect function.
50240 [C99-based-standards] (wcstold): Likewise.
50241 [C99-based-standards] (wcstoll): Likewise.
50242 [C99-based-standards] (wcstoull): Likewise.
50243 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
50244 macro-int-constant. Specify type.
50245 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
50246 constraint on value.
50247 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50248 Specify type.
50249 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
50250 Specify value.
50251 [ISO C standards]: Do not allow headers.
50252 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
50253 wcs[abcdefghijklmnopqrstuvwxyz]*.
50254 [ISO C standards] (*_t): Do not allow.
50255 * conform/data/wctype.h-data [C99-based standards] (iswblank):
50256 Expect function.
50257 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
50258 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
50259 Specify type.
50260 [ISO C standards]: Do not allow headers.
50261 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
50262 is[abcdefghijklmnopqrstuvwxyz]*.
50263 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
50264 to[abcdefghijklmnopqrstuvwxyz]*.
50265 [ISO C standards] (*_t): Do not allow.
50266 * conform/data/stdalign.h-data: New file.
50267 * conform/data/stdbool.h-data: Likewise.
50268 * conform/data/stdnoreturn.h-data: Likewise.
50269
50270 2012-11-07 Roland McGrath <roland@hack.frob.com>
50271
50272 [BZ #14815]
50273 * manual/filesys.texi (Directory Entries): Typo fix.
50274 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
50275
50276 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50277
50278 * elf/elf.h (EM_AARCH64): New macro.
50279 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
50280 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
50281 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
50282 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
50283 (R_AARCH64_TLSDESC): Likewise.
50284 (NT_ARM_TLS): Likewise.
50285 (NT_ARM_HW_BREAK): Likewise.
50286 (NT_ARM_HW_WATCH): Likewise.
50287
50288 2012-11-07 Joseph Myers <joseph@codesourcery.com>
50289
50290 [BZ #14811]
50291 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
50292 (__ieee754_powl): Saturate nonzero exponents with absolute value
50293 below 0x1p-79 to +/- 0x1p-79.
50294 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
50295 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
50296 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
50297 nonzero exponents with absolute value below 0x1p-32 to +/-
50298 0x1p-32.
50299 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
50300 (__ieee754_powl): Saturate nonzero exponents with absolute value
50301 below 0x1p-79 to +/- 0x1p-79.
50302 * math/libm-test.inc (pow_test): Add more tests.
50303
50304 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50305
50306 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
50307 _dl_s390_cap_flags with kernel. Increase string length.
50308 (_dl_s390_platforms): Add z196 and zEC12.
50309
50310 2012-11-07 Joseph Myers <joseph@codesourcery.com>
50311
50312 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
50313 Change XOPEN21K to XOPEN2K.
50314
50315 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
50316
50317 * string/memmove.c: Use memcpy when possible.
50318
50319 2012-11-06 Andreas Jaeger <aj@suse.de>
50320
50321 * po/eo.po: Update from translation team.
50322
50323 2012-11-06 Joseph Myers <joseph@codesourcery.com>
50324
50325 [BZ #14793]
50326 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
50327 exponent and small x and y exponents, scale x or y up. Increase
50328 by 2 the exponent used in scaling up.
50329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50330 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50331 * math/libm-test.inc (fma_test): Add more tests.
50332 (fma_test_towardzero): Likewise.
50333 (fma_test_downward): Likewise.
50334 (fma_test_upward): Likewise.
50335
50336 2012-11-05 Joseph Myers <joseph@codesourcery.com>
50337
50338 [BZ #14805]
50339 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
50340 fenv_t *.
50341
50342 [BZ #14801]
50343 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
50344 namespace for names of struct fields.
50345 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
50346 fenv_t fields.
50347 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
50348 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
50349
50350 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
50351
50352 [BZ #3665]
50353 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
50354
50355 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
50356
50357 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
50358 PTR_DEMANGLE.
50359
50360 [BZ #5246]
50361 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
50362 PTR_DEMANGLE.
50363
50364 2012-11-04 Joseph Myers <joseph@codesourcery.com>
50365
50366 [BZ #14797]
50367 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
50368 definitely overflow as x * y not x * y + z.
50369 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50370 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50371 * math/libm-test.inc (fma_test): Add more tests.
50372 (fma_test_towardzero): Likewise.
50373 (fma_test_downward): Likewise.
50374 (fma_test_upward): Likewise.
50375
50376 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
50377
50378 [BZ #157]
50379
50380 * include/stub-tag.h: Remove file.
50381 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
50382 '#include' of it.
50383 * manual/maint.texi (Porting): Don't reference it.
50384 * Makerules ($(objpfx)stubs): Likewise.
50385 * dirent/closedir.c: Don't include <stub-tag.h>.
50386 * dirent/dirfd.c: Likewise.
50387 * dirent/fdopendir.c: Likewise.
50388 * dirent/getdents.c: Likewise.
50389 * dirent/getdents64.c: Likewise.
50390 * dirent/opendir.c: Likewise.
50391 * dirent/readdir.c: Likewise.
50392 * dirent/readdir64.c: Likewise.
50393 * dirent/readdir64_r.c: Likewise.
50394 * dirent/readdir_r.c: Likewise.
50395 * dirent/rewinddir.c: Likewise.
50396 * dirent/seekdir.c: Likewise.
50397 * dirent/telldir.c: Likewise.
50398 * gmon/profil.c: Likewise.
50399 * grp/setgroups.c: Likewise.
50400 * inet/if_index.c: Likewise.
50401 * io/access.c: Likewise.
50402 * io/chdir.c: Likewise.
50403 * io/chmod.c: Likewise.
50404 * io/chown.c: Likewise.
50405 * io/close.c: Likewise.
50406 * io/dup.c: Likewise.
50407 * io/dup2.c: Likewise.
50408 * io/dup3.c: Likewise.
50409 * io/euidaccess.c: Likewise.
50410 * io/faccessat.c: Likewise.
50411 * io/fchdir.c: Likewise.
50412 * io/fchmod.c: Likewise.
50413 * io/fchmodat.c: Likewise.
50414 * io/fchown.c: Likewise.
50415 * io/fchownat.c: Likewise.
50416 * io/fcntl.c: Likewise.
50417 * io/flock.c: Likewise.
50418 * io/fstatfs.c: Likewise.
50419 * io/fstatfs64.c: Likewise.
50420 * io/fstatvfs.c: Likewise.
50421 * io/fstatvfs64.c: Likewise.
50422 * io/futimens.c: Likewise.
50423 * io/fxstat.c: Likewise.
50424 * io/fxstat64.c: Likewise.
50425 * io/fxstatat.c: Likewise.
50426 * io/fxstatat64.c: Likewise.
50427 * io/getcwd.c: Likewise.
50428 * io/isatty.c: Likewise.
50429 * io/lchmod.c: Likewise.
50430 * io/lchown.c: Likewise.
50431 * io/link.c: Likewise.
50432 * io/linkat.c: Likewise.
50433 * io/lseek.c: Likewise.
50434 * io/lseek64.c: Likewise.
50435 * io/lxstat64.c: Likewise.
50436 * io/mkdir.c: Likewise.
50437 * io/mkdirat.c: Likewise.
50438 * io/mkfifo.c: Likewise.
50439 * io/mkfifoat.c: Likewise.
50440 * io/open.c: Likewise.
50441 * io/open64.c: Likewise.
50442 * io/openat.c: Likewise.
50443 * io/openat64.c: Likewise.
50444 * io/pipe.c: Likewise.
50445 * io/pipe2.c: Likewise.
50446 * io/poll.c: Likewise.
50447 * io/posix_fadvise.c: Likewise.
50448 * io/posix_fadvise64.c: Likewise.
50449 * io/posix_fallocate.c: Likewise.
50450 * io/posix_fallocate64.c: Likewise.
50451 * io/read.c: Likewise.
50452 * io/readlink.c: Likewise.
50453 * io/readlinkat.c: Likewise.
50454 * io/rmdir.c: Likewise.
50455 * io/sendfile.c: Likewise.
50456 * io/sendfile64.c: Likewise.
50457 * io/statfs.c: Likewise.
50458 * io/statfs64.c: Likewise.
50459 * io/statvfs.c: Likewise.
50460 * io/statvfs64.c: Likewise.
50461 * io/symlink.c: Likewise.
50462 * io/symlinkat.c: Likewise.
50463 * io/ttyname.c: Likewise.
50464 * io/ttyname_r.c: Likewise.
50465 * io/umask.c: Likewise.
50466 * io/unlink.c: Likewise.
50467 * io/unlinkat.c: Likewise.
50468 * io/utime.c: Likewise.
50469 * io/utimensat.c: Likewise.
50470 * io/write.c: Likewise.
50471 * io/xmknod.c: Likewise.
50472 * io/xmknodat.c: Likewise.
50473 * io/xstat.c: Likewise.
50474 * io/xstat64.c: Likewise.
50475 * login/getpt.c: Likewise.
50476 * login/grantpt.c: Likewise.
50477 * login/unlockpt.c: Likewise.
50478 * math/e_acoshl.c: Likewise.
50479 * math/e_acosl.c: Likewise.
50480 * math/e_asinl.c: Likewise.
50481 * math/e_atan2l.c: Likewise.
50482 * math/e_atanhl.c: Likewise.
50483 * math/e_coshl.c: Likewise.
50484 * math/e_expl.c: Likewise.
50485 * math/e_fmodl.c: Likewise.
50486 * math/e_gammal_r.c: Likewise.
50487 * math/e_hypotl.c: Likewise.
50488 * math/e_j0l.c: Likewise.
50489 * math/e_j1l.c: Likewise.
50490 * math/e_jnl.c: Likewise.
50491 * math/e_lgammal_r.c: Likewise.
50492 * math/e_log10l.c: Likewise.
50493 * math/e_log2l.c: Likewise.
50494 * math/e_logl.c: Likewise.
50495 * math/e_powl.c: Likewise.
50496 * math/e_rem_pio2l.c: Likewise.
50497 * math/e_sinhl.c: Likewise.
50498 * math/e_sqrtl.c: Likewise.
50499 * math/fclrexcpt.c: Likewise.
50500 * math/fedisblxcpt.c: Likewise.
50501 * math/feenablxcpt.c: Likewise.
50502 * math/fegetenv.c: Likewise.
50503 * math/fegetexcept.c: Likewise.
50504 * math/fegetround.c: Likewise.
50505 * math/feholdexcpt.c: Likewise.
50506 * math/fesetenv.c: Likewise.
50507 * math/fesetround.c: Likewise.
50508 * math/feupdateenv.c: Likewise.
50509 * math/fgetexcptflg.c: Likewise.
50510 * math/fraiseexcpt.c: Likewise.
50511 * math/fsetexcptflg.c: Likewise.
50512 * math/ftestexcept.c: Likewise.
50513 * math/k_cosl.c: Likewise.
50514 * math/k_rem_pio2l.c: Likewise.
50515 * math/k_sinl.c: Likewise.
50516 * math/k_tanl.c: Likewise.
50517 * math/s_asinhl.c: Likewise.
50518 * math/s_atanl.c: Likewise.
50519 * math/s_cbrtl.c: Likewise.
50520 * math/s_erfl.c: Likewise.
50521 * math/s_expm1l.c: Likewise.
50522 * math/s_log1pl.c: Likewise.
50523 * math/s_tanhl.c: Likewise.
50524 * misc/acct.c: Likewise.
50525 * misc/brk.c: Likewise.
50526 * misc/chflags.c: Likewise.
50527 * misc/chroot.c: Likewise.
50528 * misc/fchflags.c: Likewise.
50529 * misc/fgetxattr.c: Likewise.
50530 * misc/flistxattr.c: Likewise.
50531 * misc/fremovexattr.c: Likewise.
50532 * misc/fsetxattr.c: Likewise.
50533 * misc/fsync.c: Likewise.
50534 * misc/ftruncate.c: Likewise.
50535 * misc/futimes.c: Likewise.
50536 * misc/futimesat.c: Likewise.
50537 * misc/getdomain.c: Likewise.
50538 * misc/getdtsz.c: Likewise.
50539 * misc/gethostid.c: Likewise.
50540 * misc/gethostname.c: Likewise.
50541 * misc/getloadavg.c: Likewise.
50542 * misc/getpagesize.c: Likewise.
50543 * misc/getsysstats.c: Likewise.
50544 * misc/getxattr.c: Likewise.
50545 * misc/gtty.c: Likewise.
50546 * misc/ioctl.c: Likewise.
50547 * misc/lgetxattr.c: Likewise.
50548 * misc/listxattr.c: Likewise.
50549 * misc/llistxattr.c: Likewise.
50550 * misc/lremovexattr.c: Likewise.
50551 * misc/lsetxattr.c: Likewise.
50552 * misc/lutimes.c: Likewise.
50553 * misc/madvise.c: Likewise.
50554 * misc/mincore.c: Likewise.
50555 * misc/mlock.c: Likewise.
50556 * misc/mlockall.c: Likewise.
50557 * misc/mmap.c: Likewise.
50558 * misc/mprotect.c: Likewise.
50559 * misc/msync.c: Likewise.
50560 * misc/munlock.c: Likewise.
50561 * misc/munlockall.c: Likewise.
50562 * misc/munmap.c: Likewise.
50563 * misc/preadv.c: Likewise.
50564 * misc/preadv64.c: Likewise.
50565 * misc/ptrace.c: Likewise.
50566 * misc/pwritev.c: Likewise.
50567 * misc/pwritev64.c: Likewise.
50568 * misc/readv.c: Likewise.
50569 * misc/reboot.c: Likewise.
50570 * misc/remap_file_pages.c: Likewise.
50571 * misc/removexattr.c: Likewise.
50572 * misc/revoke.c: Likewise.
50573 * misc/select.c: Likewise.
50574 * misc/setdomain.c: Likewise.
50575 * misc/setegid.c: Likewise.
50576 * misc/seteuid.c: Likewise.
50577 * misc/sethostid.c: Likewise.
50578 * misc/sethostname.c: Likewise.
50579 * misc/setregid.c: Likewise.
50580 * misc/setreuid.c: Likewise.
50581 * misc/setxattr.c: Likewise.
50582 * misc/sstk.c: Likewise.
50583 * misc/stty.c: Likewise.
50584 * misc/swapoff.c: Likewise.
50585 * misc/swapon.c: Likewise.
50586 * misc/sync.c: Likewise.
50587 * misc/syncfs.c: Likewise.
50588 * misc/syscall.c: Likewise.
50589 * misc/truncate.c: Likewise.
50590 * misc/ualarm.c: Likewise.
50591 * misc/usleep.c: Likewise.
50592 * misc/ustat.c: Likewise.
50593 * misc/utimes.c: Likewise.
50594 * misc/vhangup.c: Likewise.
50595 * misc/writev.c: Likewise.
50596 * posix/_exit.c: Likewise.
50597 * posix/alarm.c: Likewise.
50598 * posix/execve.c: Likewise.
50599 * posix/fexecve.c: Likewise.
50600 * posix/fork.c: Likewise.
50601 * posix/fpathconf.c: Likewise.
50602 * posix/getaddrinfo.c: Likewise.
50603 * posix/getegid.c: Likewise.
50604 * posix/geteuid.c: Likewise.
50605 * posix/getgid.c: Likewise.
50606 * posix/getgroups.c: Likewise.
50607 * posix/getlogin.c: Likewise.
50608 * posix/getlogin_r.c: Likewise.
50609 * posix/getpgid.c: Likewise.
50610 * posix/getpid.c: Likewise.
50611 * posix/getppid.c: Likewise.
50612 * posix/getresgid.c: Likewise.
50613 * posix/getresuid.c: Likewise.
50614 * posix/getsid.c: Likewise.
50615 * posix/getuid.c: Likewise.
50616 * posix/glob64.c: Likewise.
50617 * posix/nanosleep.c: Likewise.
50618 * posix/pathconf.c: Likewise.
50619 * posix/pause.c: Likewise.
50620 * posix/posix_madvise.c: Likewise.
50621 * posix/pread.c: Likewise.
50622 * posix/pread64.c: Likewise.
50623 * posix/pwrite.c: Likewise.
50624 * posix/pwrite64.c: Likewise.
50625 * posix/sched_getaffinity.c: Likewise.
50626 * posix/sched_getp.c: Likewise.
50627 * posix/sched_gets.c: Likewise.
50628 * posix/sched_primax.c: Likewise.
50629 * posix/sched_primin.c: Likewise.
50630 * posix/sched_rr_gi.c: Likewise.
50631 * posix/sched_setaffinity.c: Likewise.
50632 * posix/sched_setp.c: Likewise.
50633 * posix/sched_sets.c: Likewise.
50634 * posix/sched_yield.c: Likewise.
50635 * posix/setgid.c: Likewise.
50636 * posix/setlogin.c: Likewise.
50637 * posix/setpgid.c: Likewise.
50638 * posix/setresgid.c: Likewise.
50639 * posix/setresuid.c: Likewise.
50640 * posix/setsid.c: Likewise.
50641 * posix/setuid.c: Likewise.
50642 * posix/sleep.c: Likewise.
50643 * posix/spawni.c: Likewise.
50644 * posix/sysconf.c: Likewise.
50645 * posix/times.c: Likewise.
50646 * posix/wait.c: Likewise.
50647 * posix/wait3.c: Likewise.
50648 * posix/wait4.c: Likewise.
50649 * posix/waitpid.c: Likewise.
50650 * resolv/gai_sigqueue.c: Likewise.
50651 * resource/getpriority.c: Likewise.
50652 * resource/getrlimit.c: Likewise.
50653 * resource/getrusage.c: Likewise.
50654 * resource/nice.c: Likewise.
50655 * resource/setpriority.c: Likewise.
50656 * resource/setrlimit.c: Likewise.
50657 * resource/ulimit.c: Likewise.
50658 * rt/aio_cancel.c: Likewise.
50659 * rt/aio_fsync.c: Likewise.
50660 * rt/aio_read.c: Likewise.
50661 * rt/aio_sigqueue.c: Likewise.
50662 * rt/aio_suspend.c: Likewise.
50663 * rt/aio_write.c: Likewise.
50664 * rt/clock_getres.c: Likewise.
50665 * rt/clock_gettime.c: Likewise.
50666 * rt/clock_nanosleep.c: Likewise.
50667 * rt/clock_settime.c: Likewise.
50668 * rt/lio_listio.c: Likewise.
50669 * rt/mq_close.c: Likewise.
50670 * rt/mq_getattr.c: Likewise.
50671 * rt/mq_notify.c: Likewise.
50672 * rt/mq_open.c: Likewise.
50673 * rt/mq_receive.c: Likewise.
50674 * rt/mq_send.c: Likewise.
50675 * rt/mq_setattr.c: Likewise.
50676 * rt/mq_timedreceive.c: Likewise.
50677 * rt/mq_timedsend.c: Likewise.
50678 * rt/mq_unlink.c: Likewise.
50679 * rt/shm_open.c: Likewise.
50680 * rt/shm_unlink.c: Likewise.
50681 * rt/timer_create.c: Likewise.
50682 * rt/timer_delete.c: Likewise.
50683 * rt/timer_getoverr.c: Likewise.
50684 * rt/timer_gettime.c: Likewise.
50685 * rt/timer_settime.c: Likewise.
50686 * setjmp/__longjmp.c: Likewise.
50687 * setjmp/setjmp.c: Likewise.
50688 * signal/kill.c: Likewise.
50689 * signal/killpg.c: Likewise.
50690 * signal/raise.c: Likewise.
50691 * signal/sigaction.c: Likewise.
50692 * signal/sigaltstack.c: Likewise.
50693 * signal/sigblock.c: Likewise.
50694 * signal/sigignore.c: Likewise.
50695 * signal/sigintr.c: Likewise.
50696 * signal/signal.c: Likewise.
50697 * signal/sigpause.c: Likewise.
50698 * signal/sigpending.c: Likewise.
50699 * signal/sigqueue.c: Likewise.
50700 * signal/sigreturn.c: Likewise.
50701 * signal/sigset.c: Likewise.
50702 * signal/sigsetmask.c: Likewise.
50703 * signal/sigstack.c: Likewise.
50704 * signal/sigsuspend.c: Likewise.
50705 * signal/sigtimedwait.c: Likewise.
50706 * signal/sigvec.c: Likewise.
50707 * signal/sigwait.c: Likewise.
50708 * signal/sigwaitinfo.c: Likewise.
50709 * signal/sysv_signal.c: Likewise.
50710 * socket/accept.c: Likewise.
50711 * socket/accept4.c: Likewise.
50712 * socket/bind.c: Likewise.
50713 * socket/connect.c: Likewise.
50714 * socket/getpeername.c: Likewise.
50715 * socket/getsockname.c: Likewise.
50716 * socket/getsockopt.c: Likewise.
50717 * socket/isfdtype.c: Likewise.
50718 * socket/listen.c: Likewise.
50719 * socket/recv.c: Likewise.
50720 * socket/recvfrom.c: Likewise.
50721 * socket/recvmsg.c: Likewise.
50722 * socket/send.c: Likewise.
50723 * socket/sendmsg.c: Likewise.
50724 * socket/sendto.c: Likewise.
50725 * socket/setsockopt.c: Likewise.
50726 * socket/shutdown.c: Likewise.
50727 * socket/sockatmark.c: Likewise.
50728 * socket/socket.c: Likewise.
50729 * socket/socketpair.c: Likewise.
50730 * stdio-common/ctermid.c: Likewise.
50731 * stdio-common/cuserid.c: Likewise.
50732 * stdio-common/remove.c: Likewise.
50733 * stdio-common/rename.c: Likewise.
50734 * stdio-common/renameat.c: Likewise.
50735 * stdio-common/tempname.c: Likewise.
50736 * stdlib/getcontext.c: Likewise.
50737 * stdlib/makecontext.c: Likewise.
50738 * stdlib/setcontext.c: Likewise.
50739 * stdlib/swapcontext.c: Likewise.
50740 * stdlib/system.c: Likewise.
50741 * streams/fattach.c: Likewise.
50742 * streams/fdetach.c: Likewise.
50743 * streams/getmsg.c: Likewise.
50744 * streams/getpmsg.c: Likewise.
50745 * streams/putmsg.c: Likewise.
50746 * streams/putpmsg.c: Likewise.
50747 * sysdeps/unix/bsd/getpt.c: Likewise.
50748 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
50749 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
50750 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50752 Likewise.
50753 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
50754 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50755 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
50756 * sysvipc/msgctl.c: Likewise.
50757 * sysvipc/msgget.c: Likewise.
50758 * sysvipc/msgrcv.c: Likewise.
50759 * sysvipc/msgsnd.c: Likewise.
50760 * sysvipc/semctl.c: Likewise.
50761 * sysvipc/semget.c: Likewise.
50762 * sysvipc/semop.c: Likewise.
50763 * sysvipc/semtimedop.c: Likewise.
50764 * sysvipc/shmat.c: Likewise.
50765 * sysvipc/shmctl.c: Likewise.
50766 * sysvipc/shmdt.c: Likewise.
50767 * sysvipc/shmget.c: Likewise.
50768 * termios/tcdrain.c: Likewise.
50769 * termios/tcflow.c: Likewise.
50770 * termios/tcflush.c: Likewise.
50771 * termios/tcgetattr.c: Likewise.
50772 * termios/tcgetpgrp.c: Likewise.
50773 * termios/tcsendbrk.c: Likewise.
50774 * termios/tcsetattr.c: Likewise.
50775 * termios/tcsetpgrp.c: Likewise.
50776 * time/adjtime.c: Likewise.
50777 * time/clock.c: Likewise.
50778 * time/getitimer.c: Likewise.
50779 * time/gettimeofday.c: Likewise.
50780 * time/setitimer.c: Likewise.
50781 * time/settimeofday.c: Likewise.
50782 * time/stime.c: Likewise.
50783 * time/time.c: Likewise.
50784
50785 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
50786
50787 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
50788 /usr/old/bin.
50789
50790 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
50791 instead of spaces.
50792 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
50793
50794 2012-11-03 Joseph Myers <joseph@codesourcery.com>
50795
50796 [BZ #14796]
50797 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
50798 FE_TONEAREST before applying Dekker multiplication and Knuth
50799 addition. Clear inexact exceptions and check for exact zero
50800 results afterwards.
50801 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50802 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50803 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50804 * math/libm-test.inc (fma_test): Add more tests.
50805 (fma_test_towardzero): Likewise.
50806 (fma_test_downward): Likewise.
50807 (fma_test_upward): Likewise.
50808 * sysdeps/generic/math_private.h (default_libc_fesetround): New
50809 function.
50810 (libc_fesetround): New macro.
50811 (libc_fesetroundf): Likewise.
50812 (libc_fesetroundl): Likewise.
50813 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
50814 function.
50815 (libc_fesetround_387): Likewise.
50816 (libc_fesetroundf): New macro.
50817 (libc_fesetround): Likewise.
50818 (libc_fesetroundl): Likewise.
50819 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
50820 function.
50821 (libc_fesetroundf): New macro.
50822 (libc_fesetround): Likewise.
50823 (libc_fesetroundl): Likewise.
50824 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
50825 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
50826 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
50827 libm_hidden_ver.
50828 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
50829 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
50830 libm_hidden_def.
50831 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
50832 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
50833 libm_hidden_ver.
50834 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
50835 libm_hidden_def.
50836
50837 [BZ #3439]
50838 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
50839 integer constant usable in #if and use that to give value to enum
50840 constant.
50841 (FE_DIVBYZERO): Likewise.
50842 (FE_UNDERFLOW): Likewise.
50843 (FE_OVERFLOW): Likewise.
50844 (FE_INVALID): Likewise.
50845 (FE_INVALID_SNAN): Likewise.
50846 (FE_INVALID_ISI): Likewise.
50847 (FE_INVALID_IDI): Likewise.
50848 (FE_INVALID_ZDZ): Likewise.
50849 (FE_INVALID_IMZ): Likewise.
50850 (FE_INVALID_COMPARE): Likewise.
50851 (FE_INVALID_SOFTWARE): Likewise.
50852 (FE_INVALID_SQRT): Likewise.
50853 (FE_INVALID_INTEGER_CONVERSION): Likewise.
50854 (FE_TONEAREST): Likewise.
50855 (FE_TOWARDZERO): Likewise.
50856 (FE_UPWARD): Likewise.
50857 (FE_DOWNWARD): Likewise.
50858 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
50859 (FE_DIVBYZERO): Likewise.
50860 (FE_OVERFLOW): Likewise.
50861 (FE_UNDERFLOW): Likewise.
50862 (FE_INEXACT): Likewise.
50863 (FE_TONEAREST): Likewise.
50864 (FE_DOWNWARD): Likewise.
50865 (FE_UPWARD): Likewise.
50866 (FE_TOWARDZERO): Likewise.
50867 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
50868 (FE_UNDERFLOW): Likewise.
50869 (FE_OVERFLOW): Likewise.
50870 (FE_DIVBYZERO): Likewise.
50871 (FE_INVALID): Likewise.
50872 (FE_TONEAREST): Likewise.
50873 (FE_TOWARDZERO): Likewise.
50874 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
50875 (FE_OVERFLOW): Likewise.
50876 (FE_UNDERFLOW): Likewise.
50877 (FE_DIVBYZERO): Likewise.
50878 (FE_INEXACT): Likewise.
50879 (FE_TONEAREST): Likewise.
50880 (FE_TOWARDZERO): Likewise.
50881 (FE_UPWARD): Likewise.
50882 (FE_DOWNWARD): Likewise.
50883 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
50884 (FE_DIVBYZERO): Likewise.
50885 (FE_OVERFLOW): Likewise.
50886 (FE_UNDERFLOW): Likewise.
50887 (FE_INEXACT): Likewise.
50888 (FE_TONEAREST): Likewise.
50889 (FE_DOWNWARD): Likewise.
50890 (FE_UPWARD): Likewise.
50891 (FE_TOWARDZERO): Likewise.
50892
50893 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
50894
50895 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
50896
50897 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
50898
50899 * scripts/cross-test-ssh.sh (command): Use newlines to separate
50900 commands. Quote $PWD.
50901 (blacklist_exports): Don't use remove_newlines. Replace "declare
50902 -x" by "export".
50903 (remove_newlines): Remove.
50904
50905 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
50906
50907 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
50908 * stdlib/stdlib.h (atof): Moved to ...
50909 * include/bits/stdlib-float.h: Here. New file.
50910 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
50911 * stdlib/bits/stdlib-float.h: New file.
50912 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
50913 -mno-sse -mno-mmx.
50914 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
50915 <xmmintrin.h>.
50916
50917 2012-11-02 Joseph Myers <joseph@codesourcery.com>
50918
50919 * conform/conformtest.pl (@headers): Add fenv.h.
50920 * conform/data/fenv.h-data: New file.
50921 * include/fenv.h [_ISOMAC]: Disable all contents of file except
50922 include of <math/fenv.h>.
50923
50924 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
50925 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
50926 && !UNIX98]. Enables tests for XOPEN2K8.
50927 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
50928 POSIX2008]: Likewise.
50929
50930 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
50931 (struct rusage): Do not expect type or its members.
50932
50933 [BZ #3439]
50934 * math/math.h (FP_NAN): Define macro to integer constant usable in
50935 #if and use that to give value to enum constant.
50936 (FP_INFINITE): Likewise.
50937 (FP_ZERO): Likewise.
50938 (FP_SUBNORMAL): Likewise.
50939 (FP_NORMAL): Likewise.
50940
50941 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
50942
50943 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
50944 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
50945 arguments.
50946
50947 2012-11-02 Roland McGrath <roland@hack.frob.com>
50948
50949 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
50950 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
50951 autoconf-time if not.
50952 * configure.in: Remove AC_PREREQ.
50953
50954 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50955
50956 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
50957 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
50958 of the internal implementation.
50959
50960 2012-11-02 Joseph Myers <joseph@codesourcery.com>
50961
50962 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
50963 except include of <misc/sys/syslog.h>.
50964
50965 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
50966
50967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
50968 function returns with a NULL context exit with zero.
50969
50970 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50971
50972 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
50973
50974 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
50975
50976 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
50977 (run_program_cmd): This.
50978 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
50979 (tst_langinfo): New variable. Use it.
50980
50981 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
50982
50983 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
50984 floating point opcodes.
50985
50986 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
50987
50988 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
50989 variable.
50990
50991 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
50992
50993 * sysdeps/mach/hurd/powerpc: Remove directory.
50994 * sysdeps/mach/powerpc: Likewise.
50995
50996 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
50997
50998 * scripts/check-local-headers.sh: Ignore c++ headers.
50999
51000 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
51001
51002 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
51003 __libc_cleanup_region_start argument.
51004
51005 2012-11-01 Joseph Myers <joseph@codesourcery.com>
51006
51007 [BZ #14784]
51008 [BZ #14785]
51009 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
51010 x * y using scaling, not as x * y + z.
51011 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51012 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51013 * math/libm-test.inc (fma_test): Add more tests.
51014 (fma_test_towardzero): Likewise.
51015 (fma_test_downward): Likewise.
51016 (fma_test_upward): Likewise.
51017
51018 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
51019
51020 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
51021
51022 2012-10-31 Joseph Myers <joseph@codesourcery.com>
51023
51024 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
51025 New variable.
51026
51027 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
51028
51029 * rt/tst-shm.c (worker): Correct checking for mmap failure.
51030
51031 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
51032
51033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51034 Fix sort order.
51035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51036 Likewise.
51037
51038 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51039
51040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51041 Fix the order of the list for glibc 2.17.
51042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51043 Likewise.
51044
51045 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
51046
51047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51048
51049 2012-10-31 Joseph Myers <joseph@codesourcery.com>
51050
51051 [BZ #14610]
51052 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
51053 for low part of x being zero before using __atanl (y).
51054 * math/libm-test.inc (atan2_test): Add another test.
51055
51056 * manual/install.texi (Configuring and compiling): Document
51057 general use of test-wrapper and test-wrapper-env.
51058 * INSTALL: Regenerated.
51059
51060 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
51061 (__fma): Do not extract and scale down low bits on after-rounding
51062 systems when result rounded to normal precision would have normal
51063 exponent.
51064 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
51065 (__fmal): Do not extract and scale down low bits on after-rounding
51066 systems when result rounded to normal precision would have normal
51067 exponent.
51068 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
51069 (__fmal): Do not extract and scale down low bits on after-rounding
51070 systems when result rounded to normal precision would have normal
51071 exponent.
51072 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
51073 macro.
51074 (fma_test): Add more tests.
51075 (fma_test_towardzero): Likewise.
51076 (fma_test_downward): Likewise.
51077 (fma_test_upward): Likewise.
51078
51079 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
51080
51081 * sysdeps/i386/tininess.h: Renamed to ...
51082 * sysdeps/x86/tininess.h: This.
51083 * sysdeps/x86_64/tininess.h: Removed.
51084
51085 2012-10-30 Joseph Myers <joseph@codesourcery.com>
51086
51087 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
51088 input. Use $(build-program-cmd).
51089 ($(objpfx)tst-array1-static.out): Likewise.
51090 ($(objpfx)tst-array2.out): Likewise.
51091 ($(objpfx)tst-array3.out): Likewise.
51092 ($(objpfx)tst-array4.out): Likewise.
51093 ($(objpfx)tst-array5.out): Likewise.
51094 ($(objpfx)tst-array5-static.out): Likewise.
51095
51096 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
51097
51098 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
51099 if defined.
51100
51101 * nss/nsswitch.h (nss_interface_function): Provide new
51102 macro for use with NSS functions.
51103 * grp/initgroups.c: Use new macro.
51104 * nss/getXXbyYY.c: Likewise.
51105 * nss/getXXbyYY_r.c: Likewise.
51106 * nss/getXXent.c: Likewise.
51107 * nss/getXXent_r.c: Likewise.
51108 * sysdeps/posix/getaddrinfo.c: Likewise.
51109
51110 2012-10-30 Andreas Jaeger <aj@suse.de>
51111
51112 * po/ru.po: Update Russion translation from translation project.
51113
51114 2012-10-30 Joseph Myers <joseph@codesourcery.com>
51115
51116 [BZ #14152]
51117 [BZ #14783]
51118 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
51119 result and shift together with sticky bit instead of replicating
51120 round-to-nearest rounding.
51121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51122 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51123 * math/libm-test.inc (fma_test): Add more tests. Do not permit
51124 missing underflow exceptions.
51125 (fma_test_towardzero): Add more tests.
51126 (fma_test_downward): Likewise.
51127 (fma_test_upward): Likewise.
51128
51129 [BZ #14047]
51130 * sysdeps/generic/tininess.h: New file.
51131 * sysdeps/i386/tininess.h: Likewise.
51132 * sysdeps/sh/tininess.h: Likewise.
51133 * sysdeps/x86_64/tininess.h: Likewise.
51134 * stdlib/tst-strtod-underflow.c: Likewise.
51135 * stdlib/tst-tininess.c: Likewise.
51136 * stdlib/strtod_l.c: Include <tininess.h>.
51137 (round_and_return): Do not set errno for exact underflow cases.
51138 Force an underflow exception when setting errno for underflow.
51139 Determine underflow based on rounding to normal precision if
51140 TININESS_AFTER_ROUNDING.
51141 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
51142 ERANGE for exact underflow cases.
51143 * stdlib/Makefile (tests): Add tst-tininess and
51144 tst-strtod-underflow.
51145 ($(objpfx)tst-tininess): Use $(link-libm).
51146 ($(objpfx)tst-strtod-underflow): Likewise.
51147
51148 2012-10-30 Andreas Jaeger <aj@suse.de>
51149
51150 [BZ#14767]
51151 * elf/Makefile (tests): Remove conditional for have-initfini-array
51152 since this is now always required and the variable does not exist
51153 anymore.
51154 (tests-static): Likewise.
51155 (modules-names): Likewise.
51156
51157 * po/eo.po: Add Esperanto translation from translation project.
51158
51159 * elf/tst-array1.c (fini_array): Make writeable so that it can be
51160 merged with constructor/destructor.
51161 (init_array): Likewise.
51162 * elf/tst-array2dep.c (fini_array): Likewise.
51163 (init_array): Likewise.
51164
51165 2012-10-29 Mike Frysinger <vapier@gentoo.org>
51166
51167 * manual/message.texi: Delete @cartouche tags.
51168
51169 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
51170
51171 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
51172 EOPNOTSUPP.
51173 * sysdeps/mach/hurd/fsync.c: Likewise.
51174
51175 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
51176 [_POSIX_REALTIME_SIGNALS]: Change condition to
51177 [_POSIX_REALTIME_SIGNALS > 0].
51178
51179 2012-10-27 Andreas Jaeger <aj@suse.de>
51180
51181 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
51182 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
51183 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
51184 [__WORDSIZE != 64]: Likewise.
51185
51186 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
51187
51188 * iconvdata/tst-table.sh: Remove ${SHELL}.
51189 * iconvdata/tst-tables.sh: Likewise.
51190
51191 2012-10-25 David S. Miller <davem@davemloft.net>
51192
51193 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51194 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
51195 of strtoull.
51196
51197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
51198 ifunc-impl-list.c
51199 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51200 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
51201 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
51202 file.
51203
51204 2012-10-25 Roland McGrath <roland@hack.frob.com>
51205
51206 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51207 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
51208 __getdirentries.
51209
51210 2012-10-25 Joseph Myers <joseph@codesourcery.com>
51211 Jim Blandy <jimb@codesourcery.com>
51212
51213 * scripts/cross-test-ssh.sh: New file.
51214 * manual/install.texi (Configuring and compiling): Document use of
51215 cross-test-ssh.sh.
51216 * INSTALL: Regenerated.
51217
51218 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
51219
51220 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
51221 EOPNOTSUPP.
51222
51223 2012-10-25 Joseph Myers <joseph@codesourcery.com>
51224
51225 * Makeconfig (run-program-prefix): Fix comment.
51226
51227 2012-10-24 Joseph Myers <joseph@codesourcery.com>
51228 Jim Blandy <jimb@codesourcery.com>
51229
51230 * Makeconfig (test-wrapper): New variable,
51231 (test-wrapper-env): Likewise.
51232 [$(cross-compiling) = yes && $(test-wrapper) != ""]
51233 (run-built-tests): Define to yes.
51234 (run-program-prefix): Use $(test-wrapper).
51235 (built-program-cmd): Likewise.
51236 * Rules (make-test-out): Use $(test-wrapper-env) and
51237 $(host-built-program-cmd).
51238 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
51239 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
51240 tst-pathopt.sh.
51241 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
51242 $(test-wrapper-env) to tst-rtld-load-self.sh.
51243 ($(objpfx)order2.out): Use $(test-wrapper).
51244 ($(objpfx)tst-initorder.out): Likewise.
51245 ($(objpfx)tst-initorder2.out): Likewise.
51246 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
51247 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
51248 (test_wrapper_env): New variable. Use it to run ld.so.
51249 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
51250 Use it to run ld.so.
51251 (test_wrapper_env): Likewise.
51252 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
51253 $(test-wrapper) to run-iconv-test.sh.
51254 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
51255 (ICONV): Use $test_wrapper.
51256 * posix/Makefile ($(objpfx)globtest.out): Pass
51257 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
51258 globtest.sh, not $(run-program-prefix).
51259 * posix/globtest.sh (run_via_rtld_prefix): New variable.
51260 (test_wrapper): Likewise.
51261 (test_wrapper_env): Likewise. Use it to run globtest with HOME
51262 set together with run_via_rtld_prefix.
51263 (run_program_prefix): Define in terms of test_wrapper and
51264 run_via_rtld_prefix.
51265
51266 2012-10-24 Roland McGrath <roland@hack.frob.com>
51267
51268 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
51269 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
51270 Targets removed.
51271
51272 [BZ #14743]
51273 * include/time.h: Remove librt_hidden_proto (clock_gettime).
51274 Declare __clock_getres, __clock_gettime, __clock_settime,
51275 __clock_nanosleep, and __clock_getcpuclockid.
51276 * rt/clock_gettime.c: Define __clock_gettime as an alias.
51277 Remove librt_hidden_def (clock_gettime).
51278 * sysdeps/unix/clock_gettime.c: Likewise.
51279 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
51280 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
51281 * rt/clock_getres.c: Define __clock_getres as an alias.
51282 * sysdeps/posix/clock_getres.c: Likewise.
51283 * rt/clock_settime.c: Define __clock_settime as an alias.
51284 * sysdeps/unix/clock_settime.c: Likewise.
51285 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
51286 * sysdeps/unix/clock_nanosleep.c: Likewise.
51287 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
51288 * rt/clock-compat.c: New file.
51289 * rt/Makefile (librt-routines): Add clock-compat and move
51290 $(clock-routines) to ...
51291 (routines): ... here, new variable.
51292 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
51293 Don't add get_clockfreq here.
51294 * rt/Versions (libc: GLIBC_2.17): New version set.
51295 Add clock_* symbols here.
51296 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
51297 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
51298 (GLIBC_2.17): Add clock_* symbols.
51299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
51300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
51301 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
51302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51303 Likewise.
51304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51305 Likewise.
51306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
51307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
51308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
51309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
51310 * NEWS: Mention the move.
51311
51312 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51313 Use __open, __read, __close rather than their public counterparts.
51314 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51315 (__get_clockfreq_via_cpuinfo): Likewise.
51316 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
51317 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
51318
51319 * config.h.in (HAVE_IFUNC): New #undef.
51320 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
51321 was successful.
51322 * configure: Regenerated.
51323
51324 2012-10-24 Mike Frysinger <vapier@gentoo.org>
51325
51326 * configure.in: Move READELF check to start of file.
51327 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
51328 libc_cv_asm_gnu_indirect_function in the process.
51329 * configure: Regenerated.
51330
51331 2012-10-24 Mike Frysinger <vapier@gentoo.org>
51332
51333 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
51334 send the output to /dev/null.
51335 (libc_cv_cc_with_libunwind): Likewise.
51336 (libc_cv_as_noexecstack): Likewise.
51337 * configure: Regenerate.
51338
51339 2012-10-24 Joseph Myers <joseph@codesourcery.com>
51340
51341 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
51342
51343 * posix/globtest.sh (TMPDIR): Do not set.
51344 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
51345 (testout): Likewise.
51346
51347 2012-10-24 Andreas Jaeger <aj@suse.de>
51348
51349 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
51350 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
51351 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
51352 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
51353 posix_fadvise64, posix_fallocate64.
51354
51355 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
51356 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
51357 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
51358 Likewise.
51359 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
51360 Likewise.
51361 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
51362
51363 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
51364 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
51365 <bits/fcntl-linux.h>.
51366 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
51367
51368 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
51369 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
51370 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
51371 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
51372 [__WORDSIZE != 64]: Likewise.
51373
51374 2012-10-23 Joseph Myers <joseph@codesourcery.com>
51375
51376 * Makeconfig (run-built-tests): New variable.
51377 * Rules [$(cross-compiling) = yes]: Change condition to
51378 [$(run-built-tests) = no].
51379 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
51380 to [$(run-built-tests) = yes].
51381 * elf/Makefile [$(cross-compiling) = no]: Likewise
51382 * grp/Makefile [$(cross-compiling) = no]: Likewise.
51383 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
51384 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
51385 * intl/Makefile [$(cross-compiling) = no]: Likewise.
51386 * io/Makefile [$(cross-compiling) = no]: Likewise.
51387 * libio/Makefile [$(cross-compiling) = no]: Likewise.
51388 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
51389 * misc/Makefile [$(cross-compiling) = no]: Likewise.
51390 * posix/Makefile [$(cross-compiling) = no]: Likewise.
51391 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
51392 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
51393 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
51394 * string/Makefile [$(cross-compiling) = no]: Likewise.
51395
51396 * posix/Makefile ($(objpfx)globtest.out): Pass
51397 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
51398 $(rtld-installed-name).
51399 * posix/globtest.sh (elf_objpfx): Remove variable.
51400 (rtld_installed_name): Likewise.
51401 (library_path): Likewise.
51402 (run_program_prefix): New variable. Use for running globtest
51403 binary.
51404
51405 2012-10-23 Jim Blandy <jimb@codesourcery.com>
51406 Joseph Myers <joseph@codesourcery.com>
51407
51408 * Makeconfig (host-built-program-cmd): New variable.
51409 * elf/Makefile (tst-stackguard1-ARGS): Use
51410 $(host-built-program-cmd).
51411 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
51412 (tst-spawn-ARGS): Likewise.
51413 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
51414
51415 2012-10-23 Joseph Myers <joseph@codesourcery.com>
51416 Jim Blandy <jimb@codesourcery.com>
51417
51418 * Makeconfig (run-via-rtld-prefix): New variable.
51419 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
51420 (built-program-cmd): Likewise.
51421
51422 2012-10-22 Andreas Jaeger <aj@suse.de>
51423
51424 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
51425 __O_RSYNC if it exists, otherwise to O_SYNC.
51426
51427 2012-10-22 Jim Blandy <jimb@codesourcery.com>
51428 Joseph Myers <joseph@codesourcery.com>
51429
51430 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
51431 /dev/null.
51432 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
51433 from /dev/null
51434 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
51435 /dev/null.
51436
51437 2012-10-22 Andreas Jaeger <aj@suse.de>
51438
51439 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
51440 Define always.
51441 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
51442
51443 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51444 bits/fcntl-linux.h.
51445
51446 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
51447 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
51448
51449 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
51450 to __O_LARGEFILE.
51451 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
51452 to __O_LARGEFILE.
51453
51454 2012-10-21 Jim Blandy <jimb@codesourcery.com>
51455 Joseph Myers <joseph@codesourcery.com>
51456
51457 * config.make.in (NM): New variable.
51458
51459 2012-10-21 Andreas Jaeger <aj@suse.de>
51460
51461 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
51462 definitions and declarations that are provided by
51463 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51464
51465 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
51466
51467 [BZ #14683]
51468 * elf/Makefile (tests-static): Add tst-leaks1-static.
51469 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
51470 ($(objpfx)tst-leaks1-static): New rule.
51471 ($(objpfx)tst-leaks1-static-mem): Likewise.
51472 (tst-leaks1-static-ENV): New macro.
51473 * elf/dl-open.c (dl_open_worker): Check the main application
51474 only if SHARED is defined.
51475 * elf/tst-leaks1-static.c: New file.
51476
51477 2012-10-20 Andreas Jaeger <aj@suse.de>
51478
51479 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
51480 generic values for Linux.
51481 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
51482 and declarations that are provided by <bits/fcntl-linux.h> and
51483 include <bits/fcntl-linux.h>.
51484 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51486
51487 2012-10-20 Roland McGrath <roland@hack.frob.com>
51488
51489 * io/fcntl.h: Move include of <bits/types.h> to the top and
51490 include it unconditionally.
51491
51492 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
51493
51494 * wcsmbs/Makefile (tests-ifunc): New variable.
51495 (tests): Add $(tests-ifunc).
51496 * wcsmbs/test-wcschr-ifunc.c: New file.
51497 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
51498 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
51499 * wcsmbs/test-wcslen-ifunc.c: Likewise.
51500 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
51501 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
51502
51503 * string/Makefile (tests-ifunc): New variable.
51504 (tests): Add $(tests-ifunc).
51505 * string/test-memccpy.c (TEST_NAME): New macro.
51506 * string/test-memchr.c (TEST_NAME): Likewise.
51507 * string/test-memcmp.c (TEST_NAME): Likewise.
51508 * string/test-memcpy.c (TEST_NAME): Likewise.
51509 * string/test-memmem.c (TEST_NAME): Likewise.
51510 * string/test-memmove.c (TEST_NAME): Likewise.
51511 * string/test-memset.c (TEST_NAME): Likewise.
51512 * string/test-rawmemchr.c (TEST_NAME): Likewise.
51513 * string/test-stpcpy.c (TEST_NAME): Likewise.
51514 * string/test-stpncpy.c (TEST_NAME): Likewise.
51515 * string/test-strcasecmp.c (TEST_NAME): Likewise.
51516 * string/test-strcasestr.c (TEST_NAME): Likewise.
51517 * string/test-strcat.c (TEST_NAME): Likewise.
51518 * string/test-strchr.c (TEST_NAME): Likewise.
51519 * string/test-strcmp.c(TEST_NAME): Likewise.
51520 * string/test-strcpy.c (TEST_NAME): Likewise.
51521 * string/test-strcspn.c (TEST_NAME): Likewise.
51522 * string/test-strlen.c (TEST_NAME): Likewise.
51523 * string/test-strncasecmp.c (TEST_NAME): Likewise.
51524 * string/test-strncmp.c (TEST_NAME): Likewise.
51525 * string/test-strncpy.c (TEST_NAME): Likewise.
51526 * string/test-strnlen.c (TEST_NAME): Likewise.
51527 * string/test-strpbrk.c (TEST_NAME): Likewise.
51528 * string/test-strrchr.c (TEST_NAME): Likewise.
51529 * string/test-strspn.c (TEST_NAME): Likewise.
51530 * string/test-strstr.c (TEST_NAME): Likewise.
51531 * string/test-bcopy-ifunc.c: New file.
51532 * string/test-bzero-ifunc.c: Likewise.
51533 * string/test-memccpy-ifunc.c: Likewise.
51534 * string/test-memchr-ifunc.c: Likewise.
51535 * string/test-memcmp-ifunc.c: Likewise.
51536 * string/test-memcpy-ifunc.c: Likewise.
51537 * string/test-memmem-ifunc.c: Likewise.
51538 * string/test-memmove-ifunc.c: Likewise.
51539 * string/test-mempcpy-ifunc.c: Likewise.
51540 * string/test-memset-ifunc.c: Likewise.
51541 * string/test-rawmemchr-ifunc.c: Likewise.
51542 * string/test-stpcpy-ifunc.c: Likewise.
51543 * string/test-stpncpy-ifunc.c: Likewise.
51544 * string/test-strcasecmp-ifunc.c: Likewise.
51545 * string/test-strcasestr-ifunc.c: Likewise.
51546 * string/test-strcat-ifunc.c: Likewise.
51547 * string/test-strchr-ifunc.c: Likewise.
51548 * string/test-strchrnul-ifunc.c: Likewise.
51549 * string/test-strcmp-ifunc.c: Likewise.
51550 * string/test-strcpy-ifunc.c: Likewise.
51551 * string/test-strcspn-ifunc.c: Likewise.
51552 * string/test-strlen-ifunc.c: Likewise.
51553 * string/test-strncasecmp-ifunc.c: Likewise.
51554 * string/test-strncat-ifunc.c: Likewise.
51555 * string/test-strncmp-ifunc.c: Likewise.
51556 * string/test-strncpy-ifunc.c: Likewise.
51557 * string/test-strnlen-ifunc.c: Likewise.
51558 * string/test-strpbrk-ifunc.c: Likewise.
51559 * string/test-strrchr-ifunc.c: Likewise.
51560 * string/test-strspn-ifunc.c: Likewise.
51561 * string/test-strstr-ifunc.c: Likewise.
51562
51563 * debug/Makefile (tests-ifunc): New variable.
51564 (tests): Add $(tests-ifunc).
51565 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
51566 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
51567 * debug/test-stpcpy_chk-ifunc.c: New file.
51568 * debug/test-strcpy_chk-ifunc.c: Likewise.
51569
51570 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
51571
51572 [BZ #13601]
51573 * elf/dl-load.c (open_verify): Retry read if the entire ELF
51574 header is not read in.
51575
51576 2012-10-19 Joseph Myers <joseph@codesourcery.com>
51577
51578 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
51579 script to $(SHELL) as $<. Pass $(common-objpfx) to script
51580 directly. Pass built executable to script as
51581 $(built-program-cmd).
51582 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
51583 $testprogram without using LD_LIBRARY_PATH and $ldso.
51584
51585 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
51586 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
51587 $(rtld-installed-name).
51588 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
51589 (rtld_installed_name): Likewise.
51590 (library_path): Likewise.
51591 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
51592 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
51593 $(run-program-prefix) to tst-tables.sh.
51594 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
51595 it to run tst-table-from and tst-table-to.
51596 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
51597 Pass it to tst-table.sh.
51598 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
51599 $(run-program-prefix) to tst-gettext.sh.
51600 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
51601 tst-translit.sh.
51602 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
51603 tst-gettext2.sh.
51604 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
51605 to run tst-gettext.
51606 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
51607 to run tst-gettext2.
51608 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
51609 to run tst-translit.
51610 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
51611 $(run-program-prefix) to tst-mtrace.sh.
51612 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
51613 to run tst-mtrace.
51614 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
51615 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
51616 $(rtld-installed-name).
51617 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
51618 (rtld_installed_name): Likewise.
51619 (run_program_prefix): New variable. Use it to run wordexp-test.
51620
51621 * Makeconfig (ARCH): Remove all definitions.
51622 (machine): Likewise.
51623 [ARCH]: Remove conditional code.
51624 [!objdir]: Give error.
51625 [!objdir] (objpfx): Remove.
51626 [!objdir] (common-objpfx): Likewise.
51627 [!objdir] (common-objdir): Likewise.
51628 * configure.in (config_makefile): Remove. Hardcode Makefile in
51629 AC_CONFIG_FILES call.
51630 * configure: Regenerated.
51631
51632 [BZ #13888]
51633 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
51634 or TMPDIR.
51635 (testout): Likewise.
51636
51637 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
51638 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
51639 $(rtld-installed-name).
51640 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
51641 (rtld_installed_name): Likwise.
51642 (runit): Remove function.
51643 (run_getconf): New variable, Use it for running getconf binary.
51644
51645 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
51646
51647 [BZ #14716]
51648 * string/test-memmem.c (check_result): New function.
51649 (do_one_test): Use it.
51650 (check1): New function.
51651 (test_main): Use it.
51652
51653 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
51654
51655 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
51656
51657 2012-10-18 Joseph Myers <joseph@codesourcery.com>
51658
51659 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
51660 (_G_LSEEK64): Likewise.
51661 (_G_MMAP64): Likewise.
51662 (_G_FSTAT64): Likewise.
51663 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
51664 (_G_LSEEK64): Likewise.
51665 (_G_MMAP64): Likewise.
51666 (_G_FSTAT64): Likewise.
51667 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
51668 unconditional. Call __mmap64 directly.
51669 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
51670 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
51671 __lseek64 directly.
51672 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
51673 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
51674 __mmap64 directly.
51675 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
51676 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
51677 __lseek64 directly.
51678 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
51679 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
51680 __lseek64 directly.
51681 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
51682 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
51683 __lseek64 directly.
51684 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
51685 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
51686 __fxstat64 directly.
51687 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
51688 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
51689 unconditional.
51690 (freopen64) [!_G_OPEN64]: Remove conditional code.
51691 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
51692 unconditional.
51693 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
51694 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
51695 unconditional.
51696 (ftello64) [!_G_LSEEK64]: Remove conditional code.
51697 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
51698 unconditional.
51699 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51700 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
51701 unconditional.
51702 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
51703 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
51704 unconditional.
51705 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51706 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
51707 unconditional.
51708 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51709 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
51710 unconditional.
51711 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51712
51713 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
51714
51715 [BZ #12140]
51716 * manual/memory.texi (Malloc Tunable Parameters): Add note
51717 about free list pointers overwriting some perturb bytes.
51718 Wording suggested by Roland McGrath.
51719
51720 2012-10-17 Joseph Myers <joseph@codesourcery.com>
51721
51722 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
51723 (lgamma_test): Likewise.
51724 (tgamma_test): Likewise.
51725
51726 2012-10-16 Florian Weimer <fweimer@redhat.com>
51727
51728 [BZ #14700]
51729 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
51730 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
51731
51732 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
51733
51734 * NEWS: Mention BZ #14716.
51735 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
51736 when removing AVAILABLE1_USES_J macro.
51737
51738 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
51739
51740 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
51741 (__bswap_64): __uint64_t for unsigned 64-bit int.
51742
51743 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
51744
51745 * include/string.h (memmem): Declare libc hidden alias.
51746 * string/memmem.c (memmem): Define libc hidden alias.
51747 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
51748 __read, __close instead of open, read, close.
51749
51750 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
51751
51752 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
51753 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
51754 global and hidden.
51755 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
51756 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
51757 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
51758 Likewise.
51759 (__rawmemchr_sse2): Likewise.
51760 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
51761 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
51762 (__strchr_sse2): Likewise.
51763 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
51764 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
51765 (__strcasecmp_sse2): Likewise.
51766 (__strncasecmp_sse2): Likewise.
51767 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
51768 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
51769 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
51770 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
51771 (__strrchr_sse2): Likewise.
51772 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
51773 ifunc-impl-list.c.
51774 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
51775 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
51776 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
51777 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51778 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
51779 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
51780 * sysdeps/x86_64/multiarch/memset.S: Likewise.
51781 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51782 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
51783 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
51784 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
51785 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
51786 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
51787 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
51788 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
51789 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51790 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
51791 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
51792 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
51793 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
51794 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
51795 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
51796 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
51797 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51798 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
51799 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51800 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
51801 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51802 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
51803 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
51804
51805 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
51806 global and hidden.
51807 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
51808 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
51809 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
51810 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
51811 Likewise.
51812 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
51813 Likewise.
51814 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
51815 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
51816 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
51817 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
51818 ifunc-impl-list.c.
51819 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51820 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51821 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51822 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51823 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51824 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51825 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51826 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51827 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51828 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51829 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51830 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51831 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51832 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
51833 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
51834 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51835 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
51836 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
51837 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51838 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51839 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51840 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51841 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51842 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51843 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51844 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
51845 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
51846 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
51847 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
51848 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51849 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
51850 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51851 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51852 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
51853 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51854 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51855 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51856 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51857 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51858 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51859 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
51860
51861 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
51862 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
51863 * include/ifunc-impl-list.h: New file.
51864 * misc/ifunc-impl-list.c: Likewise.
51865 * misc/Makefile (routines): Add ifunc-impl-list.
51866 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
51867 * string/test-string.h: Include <ifunc-impl-list.h>.
51868 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
51869 TEST_NAME]: New variables.
51870 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
51871 are defined.
51872 (test_init): Call __libc_ifunc_impl_list to initialize
51873 func_list if TEST_IFUNC and TEST_NAME are defined.
51874
51875 * string/Makefile (strop-tests): Add bcopy and bzero.
51876 * string/test-bcopy.c: New file.
51877 * string/test-bzero.c: Likewise.
51878 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
51879 defined.
51880 * string/test-memset.c: Support bzero test if TEST_BZERO is
51881 defined.
51882 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
51883 __libc_memmove.
51884 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
51885 __libc_memset.
51886 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
51887 of memset.
51888
51889 2012-10-10 Joseph Myers <joseph@codesourcery.com>
51890
51891 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
51892 * configure: Regenerated.
51893
51894 * Makeconfig (+link-static-before-libc): Don't include
51895 $(link-static-libc).
51896
51897 * libio/libio.h (_IO_pos_t): Remove.
51898
51899 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
51900
51901 * NEWS: Add note about FIPS mode. Wording suggested by Roland
51902 McGrath.
51903
51904 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
51905
51906 * crypt/crypt-entry.c: Include fips-private.h.
51907 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
51908 * crypt/md5c-test.c (main): Tolerate disabled MD5.
51909 * sysdeps/unix/sysv/linux/fips-private.h: New file.
51910 * sysdeps/generic/fips-private.h: New file, dummy fallback.
51911
51912 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
51913
51914 * crypt/crypt-private.h: Include stdbool.h.
51915 (_ufc_setup_salt_r): Return bool.
51916 * crypt/crypt-entry.c: Include errno.h.
51917 (__crypt_r): Return NULL with EINVAL for bad salt.
51918 * crypt/crypt_util.c (bad_for_salt): New.
51919 (_ufc_setup_salt_r): Check that salt is long enough and within
51920 the specified alphabet.
51921 * crypt/badsalttest.c: New file.
51922 * crypt/Makefile (tests): Add it.
51923 ($(objpfx)badsalttest): New.
51924
51925 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
51926
51927 * NEWS: Add entry for BZ #14602.
51928
51929 2012-10-09 Joseph Myers <joseph@codesourcery.com>
51930
51931 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
51932 type-generic.
51933 * math/libm-test.inc: Update comment listing what functions and
51934 macros are tested.
51935 (isgreater_test): New function.
51936 (isgreaterequal_test): Likewise.
51937 (isless_test): Likewise.
51938 (islessequal_test): Likewise.
51939 (islessgreater_test): Likewise.
51940 (isunordered_test): Likewise.
51941 (main): Call the new functions.
51942
51943 2012-10-09 Roland McGrath <roland@hack.frob.com>
51944
51945 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
51946 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
51947 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
51948 * sysdeps/i386/configure: Regenerated.
51949 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
51950 * sysdeps/mach/configure: Regenerated.
51951 * sysdeps/mach/hurd/configure: Regenerated.
51952 * sysdeps/powerpc/configure: Regenerated.
51953 * sysdeps/powerpc/powerpc32/configure: Regenerated.
51954 * sysdeps/powerpc/powerpc64/configure: Regenerated.
51955 * sysdeps/s390/s390-32/configure: Regenerated.
51956 * sysdeps/s390/s390-64/configure: Regenerated.
51957 * sysdeps/sh/configure: Regenerated.
51958 * sysdeps/sparc/configure: Regenerated.
51959 * sysdeps/unix/sysv/linux/configure: Regenerated.
51960 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
51961 * sysdeps/x86_64/configure: Regenerated.
51962
51963 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
51964 defined. Don't check if MAP is NULL.
51965
51966 2012-10-09 Joseph Myers <joseph@codesourcery.com>
51967
51968 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
51969 (_G_stat64): Likewise.
51970 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
51971 (_G_stat64): Likewise.
51972 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
51973 instead of struct _G_stat64.
51974 * libio/fileops.c (mmap_remap_check): Likewise.
51975 (decide_maybe_mmap): Likewise.
51976 (_IO_new_file_seekoff): Likewise.
51977 (_IO_file_stat): Likewise.
51978 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
51979 _G_off64_t.
51980 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
51981 instead of struct _G_stat64.
51982 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51983
51984 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
51985
51986 [BZ #14602]
51987 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51988 Replace with ...
51989 (CHECK_EOL): New macro.
51990 (two_way_short_needle): Check beginning of haystack for EOL. Use
51991 CHECK_EOL.
51992 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51993 Replace with CHECK_EOL.
51994 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51995 Replace with CHECK_EOL.
51996
51997 2012-10-08 Joseph Myers <joseph@codesourcery.com>
51998
51999 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
52000 type-generic.
52001 * math/libm-test.inc: Update comment listing what functions and
52002 macros are tested.
52003 (finite_test): New function.
52004 (isinf_test): Likewise.
52005 (isnan_test): Likewise.
52006 (fpclassify_test): Test subnormal input.
52007 (isfinite_test): Likewise.
52008 (isnormal_test): Likewise.
52009 (main): Call the new functions.
52010
52011 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
52012
52013 [BZ #14660]
52014 * Makerules (%.dynsym): Force C locale when running
52015 $(OBJDUMP) --dynamic-syms.
52016
52017 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
52018
52019 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
52020 <stdint.h>.
52021
52022 2012-10-06 David S. Miller <davem@davemloft.net>
52023
52024 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
52025 upper 32-bits of the length value in %o2 since we use branch-on-register
52026 tests which consider the entire 64-bit register.
52027
52028 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
52029
52030 * string/test-strstr.c (check2): Add a test for page boundary.
52031
52032 2012-10-05 David S. Miller <davem@davemloft.net>
52033
52034 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
52035 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
52036 file.
52037 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52038 sysdep_routines.
52039 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52040 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
52041 and bzero when HWCAP_SPARC_CRYPTO is present.
52042
52043 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
52044
52045 [BZ #14602]
52046 * string/test-strstr.c (check2): New function.
52047 (test_main): Call check2.
52048
52049 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
52050 and bug-strchr1.
52051 * string/bug-strcasestr1.c (do_test): Moved to ...
52052 * string/test-strcasestr.c (check1): Here. New function.
52053 (do_one_test): Break out result checking code into ...
52054 (check_result): This. New function.
52055 (do_one_test): Call check_result.
52056 (test_main): Call check1.
52057 * string/bug-strchr1.c (do_test): Moved to ...
52058 * string/test-strchr.c (check1): Here. New function.
52059 (do_one_test): Break out result checking code into ...
52060 (check_result): This. New function.
52061 (do_one_test): Call check_result.
52062 (test_main): Call check1.
52063 * string/bug-strstr1.c (main): Moved to ...
52064 * string/test-strstr.c (check1): Here. New function.
52065 (do_one_test): Break out result checking code into ...
52066 (check_result): This. New function.
52067 (do_one_test): Call check_result.
52068 (test_main): Call check1.
52069 * string/bug-strcasestr1.c: Removed.
52070 * string/bug-strchr1.c: Likewise.
52071 * string/bug-strstr1.c: Likewise.
52072
52073 * elf/Makefile (dl-routines): Add hwcaps.
52074 * elf/dl-support.c (_dl_important_hwcaps): Removed.
52075 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
52076 (_dl_important_hwcaps): Moved to ...
52077 * elf/dl-hwcaps.c: Here. New file.
52078 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
52079
52080 [BZ #14557]
52081 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
52082 if IS_IN_rtld isn't defined.
52083
52084 * elf/dl-support.c (_dl_sysinfo_map): New.
52085 Include "get-dynamic-info.h" and "setup-vdso.h".
52086 (_dl_non_dynamic_init): Call setup_vdso.
52087 * elf/dynamic-link.h: Don't include <assert.h>.
52088 (elf_get_dynamic_info): Moved to ...
52089 * elf/get-dynamic-info.h: Here. New file.
52090 * elf/dynamic-link.h: Include "get-dynamic-info.h".
52091 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
52092 * elf/setup-vdso.h: Here. New file.
52093 * elf/rtld.c: Include "setup-vdso.h".
52094 (dl_main): Call setup_vdso.
52095
52096 2012-10-05 Joseph Myers <joseph@codesourcery.com>
52097
52098 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
52099 creal in comment listing functions tested. List finite, isinf,
52100 isnan, isless, islessequal, isgreater, isgreaterequal,
52101 islessgreater, isunordered, lgamma_r and pow10 as functions and
52102 macros not tested. Mention which functions not tested are aliases
52103 for other functions. Fix typo. Note that signs of NaNs are not
52104 tested.
52105
52106 * scripts/config.guess: Update from config.git.
52107 * scripts/config.sub: Likewise.
52108
52109 2012-10-04 Roland McGrath <roland@hack.frob.com>
52110
52111 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
52112 * misc/madvise.c (madvise): Renamed to __madvise.
52113 Make madvise a weak alias.
52114 * include/sys/mman.h: Declare __madvise.
52115 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
52116 * sysdeps/unix/syscalls.list
52117 (madvise): Make __madvise the strong name, and madvise a weak alias.
52118 * sysdeps/unix/sysv/linux/syscalls.list
52119 (madvise, mmap): Remove redundant entries.
52120 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
52121 * malloc/malloc.c (mtrim): Likewise.
52122 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
52123
52124 2012-10-03 Roland McGrath <roland@hack.frob.com>
52125
52126 * sysdeps/mach/hurd/dl-cache.c: File removed.
52127 * config.h.in (USE_LDCONFIG): New #undef.
52128 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
52129 * configure: Regenerated.
52130 * elf/Makefile (dl-routines): Add dl-cache only under
52131 [$(use-ldconfig) = yes].
52132 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
52133 cache on [USE_LDCONFIG].
52134 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
52135 [USE_LDCONFIG].
52136 * elf/rtld.c (dl_main): Likewise.
52137
52138 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
52139
52140 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
52141 _SC_LEVEL4_CACHE_LINESIZE.
52142
52143 2012-10-03 Roland McGrath <roland@hack.frob.com>
52144
52145 * sysdeps/unix/bsd/confstr.h: File removed.
52146
52147 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
52148
52149 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
52150 sys/sdt-config.h.
52151
52152 2012-10-02 Roland McGrath <roland@hack.frob.com>
52153
52154 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
52155 Make 'mapoff' field ElfW(Off) rather than off_t.
52156
52157 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
52158
52159 * nscd/Makefile: Remove nscd-cflags and all its users.
52160 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
52161 (CFLAGS-nonlib): Add compiler flags for nscd modules.
52162
52163 [BZ #10631]
52164 * malloc.c (malloc_printerr): Clarify error message.
52165
52166 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
52167
52168 [BZ #14648]
52169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52170 Set bit_FMA_Usable if FMA is supported.
52171 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
52172 macro.
52173 (bit_FMA4_Usable): Updated.
52174 (index_FMA_Usable): New macro.
52175 (CPUID_FMA): Likewise
52176 (HAS_FMA): Defined with bit_FMA_Usable.
52177
52178 2012-10-01 Roland McGrath <roland@hack.frob.com>
52179
52180 * bits/types.h (__swblk_t): Type removed.
52181 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
52182 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
52183 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52184 (__SWBLK_T_TYPE): Likewise.
52185 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52186 (__SWBLK_T_TYPE): Likewise.
52187 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52188 (__SWBLK_T_TYPE): Likewise.
52189 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52190 (__SWBLK_T_TYPE): Likewise.
52191
52192 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
52193 Honza Horak <hhorak@redhat.com>
52194
52195 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
52196 (xdr_mapname): Use YPMAXMAP as maxsize.
52197 (xdr_peername): Use YPMAXPEER as maxsize.
52198 (xdr_keydat): Use YPAXRECORD as maxsize.
52199 (xdr_valdat): Use YPMAXRECORD as maxsize.
52200
52201 2012-10-01 Roland McGrath <roland@hack.frob.com>
52202
52203 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
52204
52205 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
52206 * csu/init-first.c: ... here.
52207 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
52208 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
52209 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
52210 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
52211 * sysdeps/i386/init-first.c: File removed.
52212 * sysdeps/sh/init-first.c: File removed.
52213
52214 2012-10-01 Joseph Myers <joseph@codesourcery.com>
52215
52216 [BZ #14645]
52217 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
52218 if x * y might underflow to zero and z is zero.
52219 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52220 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52221 * math/libm-test.inc (min_subnorm_value): New variable.
52222 (fma_test): Add more tests.
52223 (fma_test_towardzero): Likewise.
52224 (fma_test_downward): Likewise
52225 (fma_test_upward): Likewise.
52226 (initialize): Set min_subnorm_value.
52227
52228 2012-09-29 Joseph Myers <joseph@codesourcery.com>
52229
52230 [BZ #14638]
52231 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
52232 0 + 0.
52233 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
52234 mode for addition resulting in exact zero.
52235 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
52236 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
52237 exact 0 + 0.
52238 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52239 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52240 * math/libm-test.inc (fma_test): Add more tests.
52241 (fma_test_towardzero): New function.
52242 (fma_test_downward): Likewise.
52243 (fma_test_upward): Likewise.
52244 (main): Call the new functions.
52245
52246 2012-09-28 David S. Miller <davem@davemloft.net>
52247
52248 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
52249
52250 2012-09-28 Roland McGrath <roland@hack.frob.com>
52251
52252 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
52253 instead of SIGALRM.
52254
52255 * sysdeps/gnu/_G_config.h: Moved to ...
52256 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
52257 * sysdeps/mach/hurd/_G_config.h: Moved to ...
52258 * sysdeps/generic/_G_config.h: ... here.
52259
52260 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
52261
52262 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
52263
52264 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
52265 Conditionalize target on [libnss_test1.so-version].
52266
52267 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
52268
52269 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
52270 (elfobjdir): Move out of conditionals.
52271
52272 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
52273 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
52274 (__nss_lookup_function): Conditionalize label remove_from_tree on
52275 [!DO_STATIC_NSS || SHARED], matching its only use.
52276
52277 2012-09-28 David S. Miller <davem@davemloft.net>
52278
52279 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
52280 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
52281 file.
52282 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
52283 sysdep_routines.
52284 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
52285 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
52286 when HWCAP_SPARC_CRYPTO is present.
52287
52288 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
52289
52290 * io/tst-mknodat.c: Create a FIFO instead of a socket.
52291
52292 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
52293
52294 [BZ #6530]
52295 * stdio-common/vfprintf.c (process_string_arg): Revert
52296 2000-07-22 change.
52297
52298 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
52299
52300 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
52301 for testcase.
52302 * stdio-common/tst-sprintf.c: Include <locale.h>
52303 (main): Test sprintf's handling of incomplete multibyte
52304 characters.
52305
52306 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
52307
52308 * elf/dl-runtime.c (VERSYMIDX): Removed.
52309 * elf/dl-version.c (VERSYMIDX): Likewise.
52310 * elf/do-rel.h (VERSYMIDX): Likewise.
52311 (VALIDX): Likewise.
52312 * elf/dynamic-link.h (VERSYMIDX): Likewise.
52313 * elf/rtld.c (VALIDX): Likewise.
52314 (ADDRIDX): Likewise.
52315 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
52316 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
52317 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
52318 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
52319 (VALIDX): Likewise.
52320 (ADDRIDX): Likewise.
52321
52322 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
52323
52324 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
52325
52326 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
52327
52328 [BZ #11438]
52329 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
52330 to global scope.
52331 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
52332 addresses are in the same scope as 192.0.2/24.
52333 * posix/gai.conf: Document new scope table defaults.
52334
52335 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
52336
52337 [BZ #5298]
52338 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
52339 for ftell. Compute offsets from write pointers instead.
52340 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
52341
52342 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
52343
52344 [BZ #14543]
52345 * libio/Makefile (tests): New test case tst-fseek.
52346 * libio/tst-fseek.c: New test case to verify that fseek/ftell
52347 combination works in wide mode.
52348 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
52349 state when the external buffer state changes.
52350
52351 2012-09-27 David S. Miller <davem@davemloft.net>
52352
52353 [BZ #14376]
52354 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
52355 pass reloc->r_addend in as the 'high' argument to
52356 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
52357
52358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52359
52360 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
52361
52362 * rt/tst-aio2.c: Include <pthread.h>.
52363 * rt/tst-aio3.c: Likewise.
52364
52365 2012-09-27 Steve Ellcey <sellcey@mips.com>
52366
52367 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
52368
52369 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
52370
52371 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
52372 contents on [SHARED].
52373
52374 2012-09-26 Marek Polacek <polacek@redhat.com>
52375
52376 [BZ #14530]
52377 [BZ #13741]
52378 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
52379 for C++ and GCC <4.3 as well as for non GCC compilers.
52380
52381 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
52382
52383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52384
52385 2012-09-25 Roland McGrath <roland@hack.frob.com>
52386
52387 * Makefile.in (all, install): Declare with .PHONY.
52388 Reported by Michael Hope <michael.hope@linaro.org>.
52389
52390 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52391
52392 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
52393 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
52394 system header.
52395 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
52396 Likewise.
52397 (sydep_routines): Add the new and the internal functions.
52398 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
52399 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
52400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
52401 (GLIBC_2.17): Add the new function.
52402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
52403 (GLIBC_2.17): Likewise.
52404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
52405 (GLIBC_2.17): Likewise.
52406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
52407 (GLIBC_2.17): Likewise.
52408 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
52409
52410 2012-09-25 Alan Modra <amodra@gmail.com>
52411
52412 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
52413 Add release barrier before setting once_control to say
52414 initialisation is done. Add hints on lwarx. Use macro in
52415 place of isync.
52416 (clear_once_control): Add release barrier.
52417
52418 2012-09-25 Joseph Myers <joseph@codesourcery.com>
52419
52420 [BZ #13629]
52421 * math/s_clog.c (__clog): Handle more values close to |z| = 1
52422 specially.
52423 * math/s_clog10.c (__clog10): Likewise.
52424 * math/s_clog10f.c (__clog10f): Likewise.
52425 * math/s_clog10l.c (__clog10l): Likewise.
52426 * math/s_clogf.c (__clogf): Likewise.
52427 * math/s_clogl.c (__clogl): Likewise.
52428 * math/Makefile (libm-calls): Add x2y2m1.
52429 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
52430 (__x2y2m1): Likewise.
52431 (__x2y2m1l): Likewise.
52432 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
52433 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
52434 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
52435 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52436 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
52437 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
52438 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
52439 * sysdeps/i386/fpu/libm-test-ulps: Update.
52440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52441
52442 [BZ #14621]
52443 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
52444 int as type of variable DEPTH.
52445 (glob): Use size_t instead of int as type of variables NEWCOUNT
52446 and OLD_PATHC.
52447
52448 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52449
52450 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52451 Add s_sincosf-sse2.
52452 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
52453 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
52454 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
52455 macros for using routine as __sincosf_ia32.
52456 Use macro for function declaration and weak_alias.
52457 * sysdeps/i386/fpu/libm-test-ulps: Update.
52458
52459 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
52460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52461
52462 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
52463 subnormal argument.
52464 * math/s_cexpf.c (__cexpf): Likewise.
52465 * math/s_csinf.c (__csinf): Likewise.
52466 * math/s_csinhf.c (__csinhf): Likewise.
52467 * math/s_ctanf.c (__ctanf): Likewise.
52468 * math/s_ctanhf.c (__ctanhf): Likewise.
52469 * math/s_ccosh.c (__ccoshf): Likewise.
52470 * math/s_cexp.c (__cexpl): Likewise.
52471 * math/s_csin.c (__csin): Likewise.
52472 * math/s_csinh.c (__csinh): Likewise.
52473 * math/s_ctan.c (__ctan): Likewise.
52474 * math/s_ctanh.c (ctanh): Likewise.
52475 * math/s_ccoshl.c (__ccoshl): Likewise.
52476 * math/s_cexpl.c (__cexpl): Likewise.
52477 * math/s_csinl.c (__csinl): Likewise.
52478 * math/s_csinhl.c (__csinhl): Likewise.
52479 * math/s_ctanl.c (__ctanl): Likewise.
52480 * math/s_ctanhl.c (__ctanhl): Likewise.
52481
52482 2012-09-25 Joseph Myers <joseph@codesourcery.com>
52483
52484 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
52485 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
52486 (_IO_off_t): Define to __off_t, not _G_off_t.
52487 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
52488 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
52489 (_IO_wint_t): Define to wint_t, not _G_wint_t.
52490 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
52491 type of __dummy and __dummy2 fields.
52492 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
52493 (_G_ssize_t): Likewise.
52494 (_G_off_t): Likewise.
52495 (_G_pid_t): Likewise.
52496 (_G_uid_t): Likewise.
52497 (_G_wchar_t): Likewise.
52498 (_G_wint_t): Likewise.
52499 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
52500 (_G_ssize_t): Likewise.
52501 (_G_off_t): Likewise.
52502 (_G_pid_t): Likewise.
52503 (_G_uid_t): Likewise.
52504 (_G_wchar_t): Likewise.
52505 (_G_wint_t): Likewise.
52506 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
52507 (_G_ssize_t): Likewise.
52508 (_G_off_t): Likewise.
52509 (_G_pid_t): Likewise.
52510 (_G_uid_t): Likewise.
52511 (_G_wchar_t): Likewise.
52512 (_G_wint_t): Likewise.
52513
52514 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
52515
52516 * malloc/arena.c: Include malloc-sysdep.h.
52517 (shrink_heap): Use check_may_shrink_heap to decide if madvise
52518 is sufficient to shrink the heap or an unmap is needed.
52519 * sysdeps/generic/malloc-sysdep.h: New file. Define
52520 new function check_may_shrink_heap.
52521 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
52522 new function check_may_shrink_heap.
52523
52524 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
52525
52526 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
52527 comments.
52528
52529 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
52530
52531 * catgets/test-gencat.sh: Add "set -e".
52532 * elf/tst-pathopt.sh: Likewise.
52533 * grp/tst_fgetgrent.sh: Likewise.
52534 * iconvdata/run-iconv-test.sh: Likewise.
52535 * intl/tst-gettext.sh: Likewise.
52536 * intl/tst-gettext2.sh: Likewise.
52537 * intl/tst-gettext4.sh: Likewise.
52538 * intl/tst-gettext6.sh: Likewise.
52539 * intl/tst-translit.sh: Likewise.
52540 * io/ftwtest-sh: Likewise.
52541 * libio/test-freopen.sh: Likewise.
52542 * malloc/tst-mtrace.sh: Likewise.
52543 * posix/globtest.sh: Likewise.
52544 * posix/tst-getconf.sh: Likewise.
52545 * posix/wordexp-tst.sh: Likewise.
52546 * stdio-common/tst-printf.sh: Likewise.
52547 * stdio-common/tst-unbputc.sh: Likewise.
52548 * stdlib/tst-fmtmsg.sh: Likewise.
52549 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52550 * catgets/Makefile: Do not specify -e option when running
52551 testsuite shell scripts.
52552 * elf/Makefile: Likewise.
52553 * grp/Makefile: Likewise.
52554 * iconvdata/Makefile: Likewise.
52555 * intl/Makefile: Likewise.
52556 * io/Makefile: Likewise.
52557 * libio/Makefile: Likewise.
52558 * malloc/Makefile: Likewise.
52559 * posix/Makefile: Likewise.
52560 * stdio-common/Makefile: Likewise.
52561 * stdlib/Makefile: Likewise.
52562 * sysdeps/x86_64/Makefile: Likewise.
52563
52564 * io/ftwtest-sh: Add copyright header.
52565 * posix/globtest.sh: Likewise.
52566 * posix/tst-getconf.sh: Likewise.
52567 * posix/wordexp-tst.sh: Likewise.
52568 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52569
52570 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
52571
52572 [BZ #13679]
52573 * Makeconfig (+link): Defined as $(+link-static) if
52574 $(build-shared) isn't yes.
52575 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
52576 isn't yes.
52577 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
52578
52579 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
52580
52581 [BZ #14562]
52582 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
52583 new chunk size with MALLOC_ALIGN_MASK.
52584
52585 2012-09-24 Joseph Myers <joseph@codesourcery.com>
52586
52587 [BZ #5044]
52588 * stdio-common/printf_fphex.c: Include <stdbool.h> and
52589 <rounding-mode.h>.
52590 (__printf_fphex): Determine rounding using get_rounding_mode and
52591 round_away.
52592 * stdio-common/tst-printf-round.c (struct hex_test): New
52593 structure.
52594 (hex_tests): New variable.
52595 (test_hex_in_one_mode): New function.
52596 (do_test): Also run tests for hex float output.
52597
52598 2012-09-21 Joseph Myers <joseph@codesourcery.com>
52599
52600 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52601 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52602 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
52603 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52604 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52605 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
52606 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52607 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52608
52609 2012-09-20 Joseph Myers <joseph@codesourcery.com>
52610
52611 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
52612 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
52613 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
52614 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
52615
52616 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
52617
52618 [BZ #14579]
52619 * elf/rtld.c (dl_main): Limit the check for self loading to normal
52620 mode only.
52621 * elf/tst-rtld-load-self.sh: New test.
52622 * elf/Makefile: Run it.
52623
52624 2012-09-18 Joseph Myers <joseph@codesourcery.com>
52625
52626 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
52627 (tst-writev-ENV): Remove.
52628 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
52629
52630 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
52631
52632 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
52633
52634 2012-09-17 Joseph Myers <joseph@codesourcery.com>
52635
52636 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
52637 unconditional.
52638 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
52639 Likewise.
52640 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
52641 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
52642 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
52643 Likewise.
52644
52645 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
52646
52647 [BZ #14587]
52648 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
52649 * config.make.in (have-cpp-asm-debuginfo): Removed.
52650 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
52651 * configure: Regenerated.
52652
52653 2012-09-14 Joseph Myers <joseph@codesourcery.com>
52654
52655 [BZ #5044]
52656 * stdio-common/printf_fp.c: Include <stdbool.h> and
52657 <rounding-mode.h>.
52658 (___printf_fp): Determine rounding using get_rounding_mode and
52659 round_away.
52660 * stdio-common/tst-printf-round.c: New file.
52661 * stdio-common/Makefile (tests): Add tst-printf-round.
52662 (link-libm): New variable.
52663 ($(objpfx)tst-printf-round): Depend in $(link-libm).
52664
52665 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
52666
52667 [BZ #14576]
52668 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
52669 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
52670 Likewise.
52671 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
52672 Likewise.
52673
52674 2012-09-13 Joseph Myers <joseph@codesourcery.com>
52675
52676 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
52677 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52678 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52679 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52680
52681 2012-09-12 Joseph Myers <joseph@codesourcery.com>
52682
52683 [BZ #14518]
52684 * include/rounding-mode.h: New file.
52685 * sysdeps/generic/get-rounding-mode.h: Likewise.
52686 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
52687 * stdlib/strtod_l.c: Include <rounding-mode.h>.
52688 (MAX_VALUE): New macro.
52689 (MIN_VALUE): Likewise.
52690 (overflow_value): New function.
52691 (underflow_value): Likewise.
52692 (round_and_return): Use overflow_value and underflow_value to
52693 determine return values in overflow and underflow cases. Use
52694 round_away to determine rounding depending on rounding mode.
52695 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
52696 determine return values in overflow and underflow cases.
52697 * stdlib/tst-strtod-round.c: Include <fenv.h>.
52698 (struct test_results): New structure.
52699 (struct test): Use struct test_results to store expected results
52700 for all rounding modes.
52701 (TEST): Include expected results for all rounding modes.
52702 (test_in_one_mode): New function.
52703 (do_test): Use test_in_one_mode to compute and check results.
52704 Check results for all rounding modes.
52705 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
52706 $(link-libm).
52707
52708 2012-12-09 Allan McRae <allan@archlinux.org>
52709
52710 * sysdeps/i386/fpu/libm-test-ulps: Update
52711
52712 2012-09-11 Joseph Myers <joseph@codesourcery.com>
52713
52714 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
52715 (_G_int32_t): Likewise.
52716 (_G_uint16_t): Likewise.
52717 (_G_uint32_t): Likewise.
52718 (_G_HAVE_BOOL): Likewise.
52719 (_G_HAVE_ATEXIT): Likewise.
52720 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52721 (_G_HAVE_IO_FILE_OPEN): Likewise.
52722 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
52723 (_G_int32_t): Likewise.
52724 (_G_uint16_t): Likewise.
52725 (_G_uint32_t): Likewise.
52726 (_G_HAVE_BOOL): Likewise.
52727 (_G_HAVE_ATEXIT): Likewise.
52728 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52729 (_G_HAVE_IO_FILE_OPEN): Likewise.
52730 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
52731 (_G_int32_t): Likewise.
52732 (_G_uint16_t): Likewise.
52733 (_G_uint32_t): Likewise.
52734 (_G_HAVE_BOOL): Likewise.
52735 (_G_HAVE_ATEXIT): Likewise.
52736 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52737 (_G_HAVE_IO_FILE_OPEN): Likewise.
52738
52739 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
52740
52741 * csu/libc-tls.c: Update copyright years.
52742
52743 2012-09-10 Joseph Myers <joseph@codesourcery.com>
52744
52745 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
52746 [!_G_USING_THUNKS]: Remove conditional code.
52747 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
52748 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
52749
52750 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
52751 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
52752 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52753 (_G_VTABLE_LABEL_PREFIX): Likewise.
52754 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52755 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52756 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52757 (_G_VTABLE_LABEL_PREFIX): Likewise.
52758 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52759 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52760 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52761 (_G_VTABLE_LABEL_PREFIX): Likewise.
52762 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52763
52764 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
52765
52766 * libio/Makefile: Include ../Makeconfig before tests.
52767 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
52768 only if $(build-shared) is yes.
52769
52770 * iconv/gconv_db.c: Update copyright years.
52771
52772 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52773
52774 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
52775 unwind info if defined PIC. Fix special cases description.
52776 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
52777
52778 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
52779 DP_HI_MASK entry.
52780 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
52781
52782 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
52783
52784 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
52785
52786 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
52787 is NULL.
52788
52789 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
52790 (LDLIBS-tst-chk4): This.
52791 (LDFLAGS-tst-chk5): Renamed to ...
52792 (LDLIBS-tst-chk5): This.
52793 (LDFLAGS-tst-chk6): Renamed to ...
52794 (LDLIBS-tst-chk6): This.
52795 (LDFLAGS-tst-lfschk4): Renamed to ...
52796 (LDLIBS-tst-lfschk4): This.
52797 (LDFLAGS-tst-lfschk5): Renamed to ...
52798 (LDLIBS-tst-lfschk5): This.
52799 (LDFLAGS-tst-lfschk6): Renamed to ...
52800 (LDLIBS-tst-lfschk6): This.
52801
52802 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
52803 on $(common-objpfx)soversions.mk.
52804
52805 2012-09-07 Joseph Myers <joseph@codesourcery.com>
52806
52807 [BZ #10014]
52808 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
52809 example host name.
52810
52811 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
52812
52813 * malloc/arena.c (arena_get_retry): New function that gets
52814 another arena for the caller to try its request on.
52815 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
52816 current arena cannot fulfill the request.
52817 (__libc_memalign): Likewise.
52818 (__libc_memalign): Likewise.
52819 (__libc_pvalloc): Likewise.
52820 (__libc_calloc): Likewise.
52821
52822 2012-09-05 John Tobey <john.tobey@gmail.com>
52823
52824 [BZ #13542]
52825 * manual/arith.texi (Operations on Complex): Fix description
52826 of carg branch cut.
52827
52828 2012-09-06 Joseph Myers <joseph@codesourcery.com>
52829
52830 [BZ #10014]
52831 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
52832 host name.
52833
52834 [BZ #10038]
52835 * manual/memory.texi (Memory): Make order of menu items match
52836 order of sections.
52837
52838 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
52839
52840 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
52841 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
52842 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
52843
52844 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
52845
52846 * csu/libc-tls.c (static_dtv): Renamed to ...
52847 (_dl_static_dtv): This. Make it global.
52848 (_dl_initial_dtv): Removed.
52849 (__libc_setup_tls): Updated.
52850 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
52851 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
52852 DL_INITIAL_DTV.
52853
52854 2012-09-06 Petr Machata <pmachata@redhat.com>
52855
52856 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
52857 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
52858 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
52859 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
52860
52861 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
52862
52863 [BZ #14545]
52864 * csu/libc-tls.c (_dl_initial_dtv): New variable.
52865 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
52866 freeing dtv[-1].
52867
52868 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
52869
52870 [BZ #14544]
52871 * Makeconfig (link-static-before-libc): Replace $(+prector)
52872 with $(+prectorT).
52873 (link-static-after-libc): Replace $(+postctor) with
52874 $(+postctorT).
52875 (link-bounded): Replace $(+prector)/$(+postctor) with
52876 $(+prectorT)/$(+postctorT).
52877 (+prectorT): New macro.
52878 (+postctorT): Likewise.
52879
52880 2012-09-06 Joseph Myers <joseph@codesourcery.com>
52881
52882 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
52883 (round_str): Handle values above the maximum for IBM long double
52884 as inexact.
52885 * stdlib/tst-strtod-round.c (tests): Regenerated.
52886
52887 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52888
52889 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
52890 assembler flag.
52891 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
52892 zarch_nohighgprs around the zarch optimized routines.
52893 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
52894 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
52895 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
52896 for zarch.
52897
52898 2012-09-05 David S. Miller <davem@davemloft.net>
52899
52900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52901
52902 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
52903 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
52904 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
52905 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52906 entries.
52907
52908 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
52909
52910 * malloc/arena.c: Fold copyright years.
52911 * malloc/mcheck.c, malloc/memusage.c: Likewise.
52912
52913 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
52914
52915 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
52916
52917 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
52918
52919 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
52920
52921 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
52922
52923 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
52924 change internal state upon failure.
52925
52926 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
52927
52928 * malloc/mcheck.c (mcheck_check_all): Fix typo.
52929 * malloc/memusage.c (mmap): Likewise.
52930 (mmap64, mremap): Likewise. Adjust name in comment.
52931
52932 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
52933
52934 * libio/fileops.c: Fix typos in comments.
52935 * libio/oldfileops.c: Likewise.
52936 * libio/wfileops.c: Likewise.
52937
52938 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
52939
52940 [BZ #1349]
52941 * malloc/Makefile (tests): Add tst-malloc-usable test case.
52942 (tst-malloc-usable-ENV): Set environment for test case.
52943 * malloc/hooks.c (malloc_check_get_size): New function to get
52944 requested size.
52945 * malloc/malloc.c (musable): Use malloc_check_get_size.
52946 * malloc/tst-malloc-usable.c: New test case.
52947
52948 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
52949
52950 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
52951
52952 2012-09-05 Allan McRae <allan@archlinux.org>
52953
52954 [BZ #13966]
52955 * configure.in (CXX_SYSINCLUDES): Use compiler output to
52956 determine header location.
52957 * configure: Regenerated.
52958
52959 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
52960
52961 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
52962 float format.
52963 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
52964 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
52965 format.
52966 (test): Regenerate.
52967
52968 2012-09-04 David S. Miller <davem@davemloft.net>
52969
52970 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
52971 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
52972 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
52973
52974 2012-09-04 Florian Weimer <fweimer@redhat.com>
52975
52976 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
52977 failures.
52978
52979 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
52980
52981 2012-09-04 Joseph Myers <joseph@codesourcery.com>
52982
52983 [BZ #9914]
52984 * libio/iogetdelim.c: Include <limits.h>.
52985 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
52986 + len + 1 would overflow.
52987
52988 2012-09-03 Andreas Jaeger <aj@suse.de>
52989
52990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52991 * sysdeps/i386/fpu/libm-test-ulps: Update.
52992
52993 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52994
52995 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52996 Add s_sinf-sse2, s_conf-sse2.
52997
52998 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
52999 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
53000 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
53001 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
53002
53003 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
53004 for using routine as __sinf_ia32.
53005 Use macro for function declaration and weak_alias.
53006 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
53007 for using routine as __cosf_ia32.
53008 Use macro for function declaration and weak_alias.
53009
53010 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
53011 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
53012
53013 * sysdeps/x86_64/fpu/s_sinf.S: New file.
53014 * sysdeps/x86_64/fpu/s_cosf.S: New file.
53015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53016
53017 * math/libm-test.inc (cos_test): Add more test cases.
53018 (sin_test): Likewise.
53019 (sincos_test): Likewise.
53020
53021 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53022
53023 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
53024 (IFUNC_RESOLVE): Make pointers to the specialized implementations
53025 hidden.
53026 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53027
53028 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
53029
53030 [BZ #14538]
53031 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
53032 first element of the GOT.
53033 (elf_machine_load_address): Return the difference between
53034 the runtime address of _DYNAMIC and elf_machine_dynamic ().
53035
53036 2012-09-01 Allan McRae <allan@archlinux.org>
53037
53038 [BZ #13412]
53039 * configure.in (AWK): Require gawk version 3.0 or later.
53040 * configure: Regenerated.
53041
53042 2012-09-01 Joseph Myers <joseph@codesourcery.com>
53043
53044 * sysdeps/unix/sysv/linux/kernel-features.h
53045 (__ASSUME_POSIX_CPU_TIMERS): Remove.
53046 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53047 [__NR_clock_getres]: Make code unconditional.
53048 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
53049 (clock_getcpuclockid): Remove code left unreachable by removal of
53050 conditionals.
53051 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
53052 code unconditional.
53053 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53054 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53055 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
53056 Make code unconditional.
53057 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
53058 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53059 * sysdeps/unix/sysv/linux/clock_settime.c
53060 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
53061 conditional code.
53062 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
53063 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
53064
53065 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
53066
53067 [BZ #14476]
53068 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
53069 scripts/test-installation.pl.
53070
53071 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
53072 and $ld_so_version if it is set.
53073
53074 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
53075
53076 [BZ #14516]
53077 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
53078 failure if reading from procfs failed.
53079 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
53080
53081 2012-08-27 Joseph Myers <joseph@codesourcery.com>
53082
53083 * sysdeps/unix/sysv/linux/kernel-features.h
53084 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
53085 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53086 Remove conditional code.
53087 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53088 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
53089 Remove conditional code.
53090 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53091 * sysdeps/unix/sysv/linux/i386/fxstat.c
53092 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53093 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53094 * sysdeps/unix/sysv/linux/i386/fxstatat.c
53095 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53096 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53097 * sysdeps/unix/sysv/linux/i386/lxstat.c
53098 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
53099 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53100 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
53101 Remove conditional code.
53102 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53103 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
53104 Remove conditional code.
53105 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53106 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
53107 <kernel-features.h>.
53108 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
53109 Remove.
53110 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
53111 Remove conditional code.
53112 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
53113 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
53114 Remove conditional.
53115
53116 2012-08-27 Mike Frysinger <vapier@gentoo.org>
53117
53118 [BZ #5400]
53119 * NEWS: Add fixed bug number.
53120
53121 2012-08-27 Joseph Myers <joseph@codesourcery.com>
53122
53123 [BZ #14519]
53124 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
53125 underflowing exponent in case of negative sign.
53126 * stdlib/tst-strtod-round-data: Add more tests.
53127 * stdlib/tst-strtod-round.c (tests): Regenerated.
53128
53129 [BZ #3479]
53130 * stdlib/strtod_l.c (NDIG): Remove.
53131 (HEXNDIG): Likewise.
53132 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
53133 smallest representable value.
53134 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
53135 lie within an exact representation of 1/2 ulp of the result.
53136 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
53137 unconditionally.
53138 (TENS_P9_IDX): Define unconditionally.
53139 (TENS_P9_SIZE): Likewise.
53140 (TENS_P10_IDX): Likewise.
53141 (TENS_P10_SIZE): Likewise.
53142 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
53143 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
53144 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
53145 entries for 10^2^13 and 10^2^14.
53146 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
53147 (TENS_P13_IDX): Define.
53148 (TENS_P13_SIZE): Likewise.
53149 (TENS_P14_IDX): Likewise.
53150 (TENS_P14_SIZE): Likewise.
53151 (_fpioconst_pow10): Change array size to
53152 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
53153 unconditional.
53154 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
53155 1024]: Add entries for 10^2^13 and 10^2^14.
53156 [LAST_POW10 > _LAST_POW10]: Remove #error.
53157 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
53158 (_fpioconst_pow10): Change array size to
53159 FPIOCONST_POW10_ARRAY_SIZE.
53160 * stdlib/gen-fpioconst.c: New file.
53161 * stdlib/gen-tst-strtod-round.c: Likewise.
53162 * stdlib/tst-strtod-round-data: Likewise.
53163 * stdlib/tst-strtod-round.c: Likewise.
53164 * stdlib/Makefile (tests): Add tst-strtod-round.
53165
53166 [BZ #14459]
53167 * stdlib/strtod_l.c: Include <stdint.h>.
53168 (NDEBUG): Do not define.
53169 (round_and_return): Change EXPONENT parameter to type intmax_t.
53170 Rearrange calculations to avoid internal overflow possibilities.
53171 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
53172 Rearrange calculations to avoid internal overflow possibilities.
53173 Assert that number fits inside MPNSIZE limbs.
53174 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
53175 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
53176 calculations and add assertions to avoid internal overflow
53177 possibilities. Add casts to avoid signed/unsigned operations.
53178 * stdlib/tst-strtod-overflow.c: New file.
53179 * stdlib/Makefile (tests): Add tst-strtod-overflow.
53180
53181 2012-08-25 Marek Polacek <polacek@redhat.com>
53182
53183 * time/time.h: Fix some typos in comments.
53184
53185 2012-08-23 Roland McGrath <roland@hack.frob.com>
53186
53187 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
53188 * posix/tst-rfc3484-2.c: Likewise.
53189 * posix/tst-rfc3484-3.c: Likewise.
53190
53191 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
53192
53193 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
53194 (EF_ARM_ABI_FLOAT_HARD): Likewise.
53195
53196 2012-08-23 Joseph Myers <joseph@codesourcery.com>
53197
53198 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
53199 #include of fxstatat64.c.
53200
53201 2012-08-22 Roland McGrath <roland@hack.frob.com>
53202
53203 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
53204 * shadow/getspent_r.c: Likewise.
53205 * shadow/getspnam.c: Likewise.
53206 * shadow/getspnam_r.c: Likewise.
53207 * gshadow/getsgent.c: Likewise.
53208 * gshadow/getsgent_r.c: Likewise.
53209 * gshadow/getsgnam.c: Likewise.
53210 * gshadow/getsgnam_r.c: Likewise.
53211 * inet/getnetbyad.c: Likewise.
53212 * inet/getnetbyad_r.c: Likewise.
53213 * inet/getnetbynm.c: Likewise.
53214 * inet/getnetbynm_r.c: Likewise.
53215 * inet/getnetent.c: Likewise.
53216 * inet/getnetent_r.c: Likewise.
53217 * inet/getproto.c: Likewise.
53218 * inet/getproto_r.c: Likewise.
53219 * inet/getprtent.c: Likewise.
53220 * inet/getprtent_r.c: Likewise.
53221 * inet/getprtname.c: Likewise.
53222 * inet/getprtname_r.c: Likewise.
53223 * inet/getrpcbyname.c: Likewise.
53224 * inet/getrpcbyname_r.c: Likewise.
53225 * inet/getrpcbynumber.c: Likewise.
53226 * inet/getrpcbynumber_r.c: Likewise.
53227 * inet/getrpcent.c: Likewise.
53228 * inet/getrpcent_r.c: Likewise.
53229 * inet/getaliasent.c: Likewise.
53230 * inet/getaliasent_r.c: Likewise.
53231 * inet/getaliasname.c: Likewise.
53232 * inet/getaliasname_r.c: Likewise.
53233 * nscd/getgrgid_r.c: Likewise.
53234 * nscd/getgrnam_r.c: Likewise.
53235 * nscd/gethstbyad_r.c: Likewise.
53236 * nscd/gethstbynm3_r.c: Likewise.
53237 * nscd/getpwnam_r.c: Likewise.
53238 * nscd/getpwuid_r.c: Likewise.
53239 * nscd/getsrvbynm_r.c: Likewise.
53240 * nscd/getsrvbypt_r.c: Likewise.
53241 * nscd/gai.c: Likewise.
53242
53243 * configure.in (build_nscd): New substituted variable, set
53244 by --disable-build-nscd and defaults to $use_nscd.
53245 * configure: Regenerated.
53246 * config.make.in (build-nscd): New substituted variable.
53247 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
53248 Change conditional to require [$(build-nscd) = yes] as well.
53249 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
53250
53251 [BZ# 13696]
53252 * configure.in (use_nscd): New substituted variable, set by
53253 --disable-nscd. If enabled, define USE_NSCD.
53254 * configure: Regenerated.
53255 * config.h.in: Add USE_NSCD.
53256 * config.make.in (use-nscd): New substituted variable.
53257 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
53258 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
53259 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
53260 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
53261 (CFLAGS-getgrnam_r.c): Likewise.
53262 (CFLAGS-initgroups.c): Likewise.
53263 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
53264 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
53265 Variables removed.
53266 * inet/getnetgrent_r.c
53267 (nscd_setnetgrent): New function, broken out of ...
53268 (setnetgrent): ... here. Call it.
53269 (innetgr): Conditionalize nscd bits on [USE_NSCD].
53270 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
53271 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
53272 * nscd/Makefile (routines, aux): Move definitions after include of
53273 Makeconfig. Conditionalize on [$(use-nscd) != no].
53274 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
53275 Conditionalize on [USE_NSCD].
53276 (is_nscd, nscd_init_cb): Likewise.
53277 (nss_load_library): Conditionalize init callback on [USE_NSCD].
53278 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
53279 * nss/nss_db/db-init.c: Likewise.
53280 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
53281 [USE_NSCD].
53282 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
53283 (make_request): Use it.
53284 (cache_valid_p): New function.
53285 (__check_pf): Use it.
53286 * NEWS: Add item for --disable-nscd.
53287
53288 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
53289
53290 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
53291 to support sed >= 4.2.1-20-ga9bf076.
53292 * configure: Regenerated.
53293
53294 2012-08-22 Roland McGrath <roland@hack.frob.com>
53295
53296 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
53297 Conditionalize whole body on [IREL].
53298
53299 2012-08-22 Jeff Law <law@redhat.com>
53300
53301 [BZ #14505]
53302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
53303 if the family is PF_UNSPEC.
53304
53305 2012-08-22 Mike Frysinger <vapier@gentoo.org>
53306
53307 * Makerules (lib-version): Rename from V.
53308 (install-lib-nosubdir): Change V to lib-version.
53309
53310 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
53311
53312 [BZ #14252]
53313 * powerpc32/power6/wcschr.c: New file.
53314 * powerpc32/power6/wcscpy.c: New file.
53315 * powerpc32/power6/wcsrchr.c: New file.
53316 * powerpc64/power6/wcschr.c: New file.
53317 * powerpc64/power6/wcscpy.c: New file.
53318 * powerpc64/power6/wcsrchr.c: New file.
53319
53320 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
53321
53322 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
53323 (two_way_short_needle): Use it.
53324 * string/strstr.c (AVAILABLE1_USES_J): Define.
53325 * string/strcasestr.c: Likewise.
53326
53327 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
53328 array references.
53329 * string/strcasestr.c (TOLOWER): Make side-effect safe.
53330
53331 [BZ #11607]
53332 * NEWS: Add an entry.
53333 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
53334 define their defaults.
53335 (two_way_short_needle): Detect end-of-string on-the-fly.
53336 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
53337 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
53338 * string/bug-strcasestr1.c: New test.
53339 * string/Makefile: Run it.
53340
53341 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
53342
53343 [BZ #11607]
53344 * string/str-two-way.h (two_way_short_needle): Optimize matching of
53345 the first character.
53346
53347 2012-08-21 Roland McGrath <roland@hack.frob.com>
53348
53349 * csu/elf-init.c (__libc_csu_irel): Function removed.
53350 * csu/libc-start.c (apply_irel): New function.
53351 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
53352
53353 2012-08-21 Joseph Myers <joseph@codesourcery.com>
53354
53355 * sysdeps/unix/sysv/linux/kernel-features.h
53356 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
53357 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53358 <kernel-features.h>.
53359 [__NR_fadvise64_64]: Make code unconditional.
53360 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
53361 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53362 !__NR_fadvise64_64)]: Likewise.
53363 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
53364 !__NR_fadvise64_64))]: Likewise.
53365 [__NR_fadvise64]: Make code unconditional.
53366 [!__NR_fadvise64]: Remove conditional code.
53367 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
53368 <kernel-features.h>.
53369 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53370 unconditional.
53371 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53372 conditional code.
53373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
53374 not include <kernel-features.h>.
53375 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53376 unconditional.
53377 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53378 conditional code.
53379 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
53380 include <kernel-features.h>.
53381 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
53382 unconditional.
53383 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
53384 conditional code.
53385
53386 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
53387
53388 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
53389 slight instruction rearrangements per scrollpipe analysis.
53390 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
53391
53392 2012-08-20 Roland McGrath <roland@hack.frob.com>
53393
53394 * manual/syslog.texi (syslog; vsyslog, closelog):
53395 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
53396 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
53397
53398 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
53399 DSOCAPS to match condition on defining it.
53400
53401 2012-08-20 Joseph Myers <joseph@codesourcery.com>
53402
53403 * sysdeps/unix/sysv/linux/kernel-features.h
53404 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
53405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
53406 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53407 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
53409 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53410 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
53412 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
53413 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53414
53415 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
53416 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
53417
53418 * sysdeps/unix/sysv/linux/kernel-features.h
53419 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
53420 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
53421 unconditional.
53422 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53423 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
53424 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53425 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53426 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
53427 Make code unconditional.
53428 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53429 (__mmap64) [!__NR_mmap2]: Likewise.
53430 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
53431 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53432 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53433 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
53434 [__NR_mmap2]: Make code unconditional.
53435 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53436 (__mmap64) [!__NR_mmap2]: Likewise.
53437
53438 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53439
53440 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
53441
53442 2012-08-18 Andreas Jaeger <aj@suse.de>
53443
53444 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
53445
53446 2012-08-18 Mike Frysinger <vapier@gentoo.org>
53447
53448 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
53449 * include/unistd.h (__have_sock_cloexec): Likewise.
53450 (__have_pipe2): Likewise.
53451 (__have_dup3): Likewise.
53452
53453 2012-08-18 Mike Frysinger <vapier@gentoo.org>
53454
53455 [BZ #9685]
53456 * include/unistd.h (__have_pipe2): Change define into an extern int.
53457 (__have_dup3): Likewise.
53458 * socket/have_sock_cloexec.c: Include fcntl.h.
53459 (__have_pipe2): New variable.
53460 (__have_dup3): Likewise.
53461
53462 2012-08-17 Mike Frysinger <vapier@gentoo.org>
53463
53464 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
53465
53466 2012-08-17 Marek Polacek <polacek@redhat.com>
53467
53468 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
53469 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
53470
53471 2012-08-17 Roland McGrath <roland@hack.frob.com>
53472
53473 * configure.in: Add AC_SUBST for sysheaders.
53474 * configure: Regenerated.
53475 * config.make.in (sysheaders): New substituted variable.
53476
53477 * sysdeps/unix/mkfifo.c: Moved ...
53478 * sysdeps/posix/mkfifo.c: ... here.
53479 * sysdeps/unix/mkfifoat.c: Moved ...
53480 * sysdeps/posix/mkfifoat.c: ... here.
53481
53482 * sysdeps/unix/utime.c: Moved ...
53483 * sysdeps/posix/utime.c: ... here.
53484
53485 * sysdeps/unix/time.c: Moved ...
53486 * sysdeps/posix/time.c: ... here.
53487 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
53488 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
53489
53490 * sysdeps/unix/nice.c: Moved ...
53491 * sysdeps/posix/nice.c: ... here.
53492
53493 * sysdeps/unix/alarm.c: Moved ...
53494 * sysdeps/posix/alarm.c: ... here.
53495
53496 * intl/Makefile ($(codeset_mo)): Depend on the input file.
53497
53498 2012-08-17 Jeff Law <law@redhat.com>
53499
53500 * intl/Makefile (codeset_mo): New variable.
53501 ($(codeset_mo)): New target.
53502 (tst-codeset.out): Depend on that. Remove explicit rule.
53503 (tst-gettext3.out, tst-gettext5.out): Likewise.
53504 (LOCPATH-ENV, tst-codeset-ENV): New variables.
53505 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
53506 * intl/tst-codeset.sh: Remove.
53507 * intl/tst-gettext3.sh: Likewise.
53508 * intl/tst-gettext5.sh: Likewise.
53509
53510 2012-08-17 Roland McGrath <roland@hack.frob.com>
53511
53512 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
53513 * sysdeps/unix/syscalls.list: ... here.
53514
53515 * sysdeps/posix/getaddrinfo.c
53516 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
53517 (gaiconf_init, gaiconf_reload): Use them.
53518 [!_STATBUF_ST_NSEC]
53519 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
53520 Define using time_t rather than struct timespec.
53521
53522 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
53523 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
53524 Macros removed.
53525 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
53526 [!NO_THREADS].
53527 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
53528 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
53529 Likewise.
53530
53531 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
53532 __libc_cleanup_push argument.
53533
53534 * bits/param.h: New file.
53535 * misc/sys/param.h: New file.
53536 * include/sys/param.h: New file.
53537 * misc/Makefile (headers): Add bits/param.h.
53538 * sysdeps/generic/sys/param.h: File removed.
53539 * sysdeps/unix/sysv/linux/bits/param.h: New file.
53540 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
53541 * sysdeps/mach/hurd/bits/param.h: New file.
53542 * sysdeps/mach/hurd/sys/param.h: File removed.
53543
53544 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
53545 last change.
53546
53547 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
53548 [_IO_MTSAFE_IO].
53549 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
53550 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
53551 New macros.
53552
53553 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
53554 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
53555 rather than -D_IO_MTSAFE_IO conditionally.
53556 * stdio-common/Makefile (CPPFLAGS): Likewise.
53557 * wcsmbs/Makefile (CPPFLAGS): Likewise.
53558 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
53559 Use $(libio-mtsafe).
53560 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
53561 of -D_IO_MTSAFE_IO.
53562 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
53563 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
53564 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
53565 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
53566 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
53567 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
53568 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
53569 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
53570 (CFLAGS-fread_u_chk.c): Likewise.
53571 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
53572 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
53573 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
53574 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
53575 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
53576 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
53577 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
53578 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
53579 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
53580
53581 * libio/Makefile: Test [$(libc-reentrant) = yes]
53582 instead of [$(filter %REENTRANT, $(defines)) nonempty].
53583
53584 * Makeconfig
53585 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
53586 * sysdeps/pthread/configure: File removed.
53587 * sysdeps/pthread/Makeconfig: New file.
53588 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
53589 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
53590
53591 2012-08-16 Gary Benson <gbenson@redhat.com>
53592
53593 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
53594 unmapping the first object in a namespace.
53595
53596 2012-08-16 Roland McGrath <roland@hack.frob.com>
53597
53598 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
53599 (__internal_setnetgrent): ... this. Add internal_function to
53600 definition. Add libc_hidden_def.
53601 (setnetgrent): Update caller.
53602 (internal_endnetgrent): Renamed to ...
53603 (__internal_endnetgrent): ... this. Add internal_function to
53604 definition. Add libc_hidden_def.
53605 (endnetgrent): Update caller.
53606 (internal_getnetgrent_r): Renamed to ...
53607 (__internal_getnetgrent_r): ... this. Add internal_function to
53608 definition. Add libc_hidden_def.
53609 (__getnetgrent_r): Update caller.
53610 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
53611
53612 2012-08-16 Joseph Myers <joseph@codesourcery.com>
53613
53614 * stdlib/longlong.h: Update from GCC.
53615
53616 2012-08-16 Roland McGrath <roland@hack.frob.com>
53617
53618 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
53619 on _QL, which is set by umul_ppmm but never used.
53620 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
53621 variables, which are set by GMP macros but never used.
53622 * stdio-common/_itowa.c (_itowa): Likewise.
53623 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
53624 * stdlib/mod_1.c (mpn_mod_1): Likewise.
53625
53626 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
53627
53628 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
53629 struct La_sh_regs is not constant.
53630 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
53631 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
53632 and struct La_sparc64_regs are not constant.
53633
53634 2012-08-16 Joseph Myers <joseph@codesourcery.com>
53635
53636 * sysdeps/unix/sysv/linux/kernel-features.h
53637 (__ASSUME_POSIX_TIMERS): Remove.
53638 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53639 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53640 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
53641 Make code unconditional.
53642 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53643 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
53644 Make code unconditional.
53645 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53646 * sysdeps/unix/sysv/linux/clock_nanosleep.c
53647 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
53648 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53649 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
53650 Make code unconditional.
53651 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53652 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
53653 (__libc_missing_posix_timers): Remove.
53654
53655 2012-08-15 Roland McGrath <roland@hack.frob.com>
53656
53657 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
53658 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
53659
53660 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
53661
53662 * elf/dl-sym.c: Include <stdlib.h>.
53663
53664 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
53665 constants, which avoids warnings in 32-bit builds.
53666
53667 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
53668 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
53669
53670 * misc/lseek.c: File moved to ...
53671 * io/lseek.c: ... here.
53672
53673 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
53674
53675 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
53676 shifting LEN more than 31 bits at once.
53677
53678 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53679
53680 [BZ #14195]
53681 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
53682 segmentation fault for a case of two empty input strings.
53683 * string/test-strncasecmp.c (check1): Renamed to...
53684 (bz12205): ...this.
53685 (bz14195): Add new testcase for two empty input strings and N > 0.
53686 (test_main): Call new testcase, adapt for renamed function.
53687
53688 2012-08-15 Andreas Jaeger <aj@suse.de>
53689
53690 [BZ #14090]
53691 * crypt/md5test2.c: New test, based on test supplied by Serge
53692 Belyshev <belyshev@depni.sinp.msu.ru>.
53693 * crypt/Makefile (xtests): Add md5test-giant..
53694 * crypt/Makefile ($(objpfx)md5test-giant): Add.
53695
53696 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
53697
53698 [BZ #14090]
53699 * crypt/md5.c (md5_process_block): Don't assume the buffer
53700 length is less than 2**32.
53701 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
53702 length is less than 2**64.
53703
53704 2012-08-15 Roland McGrath <roland@hack.frob.com>
53705
53706 * string/str-two-way.h: Include <sys/param.h>.
53707 (MAX): Macro removed.
53708
53709 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
53710 Move #define and #undef of memmove to just before and after
53711 including <string.h>.
53712
53713 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
53714 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
53715 and after including <string.h>. Move declarations of
53716 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
53717 to before #include "string/memmove.c".
53718
53719 * include/dirent.h: Declare __getdirentries.
53720
53721 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
53722 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
53723
53724 2012-08-14 Mike Frysinger <vapier@gentoo.org>
53725
53726 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
53727 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
53728 * sysdeps/i386/configure: Regenerated.
53729 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
53730 STABS_CURRENT_FILE, and STABS_FUN.
53731 (END): Remove call to STABS_FUN_END.
53732 (STABS_CURRENT_FILE1): Delete.
53733 (STABS_CURRENT_FILE): Likewise.
53734 (STABS_FUN): Likewise.
53735 (STABS_FUN_END): Likewise.
53736 (STABS_FUN2): Likewise.
53737 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
53738 * sysdeps/x86_64/configure: Regenerated.
53739
53740 2012-08-14 Roland McGrath <roland@hack.frob.com>
53741
53742 * elf/dl-open.c: Include <atomic.h>.
53743 * elf/dl-lookup.c: Likewise.
53744
53745 2012-08-14 Joseph Myers <joseph@codesourcery.com>
53746
53747 * sysdeps/unix/sysv/linux/kernel-features.h
53748 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
53749 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
53750 unconditionally.
53751 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
53752 unconditionally.
53753 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
53754 condition on __ASSUME_CLONE_THREAD_FLAGS.
53755
53756 2012-08-14 Andreas Jaeger <aj@suse.de>
53757
53758 * sysdeps/i386/fpu/libm-test-ulps: Update.
53759
53760 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
53761
53762 * include/atomic.h (atomic_exchange_and_add): Split into ...
53763 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
53764 New atomic macros.
53765
53766 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
53767
53768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53769
53770 2012-08-13 Jeff Law <law@redhat.com>
53771
53772 * manual/stdio.texi (snprintf): Clarify handling of the trailing
53773 null byte in the output string.
53774
53775 2012-08-10 Joseph Myers <joseph@codesourcery.com>
53776
53777 * sysdeps/unix/sysv/linux/kernel-features.h
53778 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
53779 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
53780 (__ASSUME_ARG_MAX_STACK_BASED): Define.
53781 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
53782 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
53783 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
53784 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
53785
53786 2012-08-09 Jeff Law <law@redhat.com>
53787
53788 [BZ #13939]
53789 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
53790 When avoid_arena is set, don't retry in the that arena. Pick the
53791 next one, whatever it might be.
53792 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
53793 (arena_lock): Pass in new parameter to arena_get2.
53794 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
53795 arena_get2.
53796 (__libc_malloc): Unify retrying after main arena failure with
53797 __libc_memalign version.
53798 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
53799
53800 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
53801
53802 [BZ #14166]
53803 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
53804 to __redirect_strstr.
53805 (__strstr_sse42): Use typeof __redirect_strstr.
53806 (__strstr_ia32): Likewise.
53807 (__libc_strstr): New prototype.
53808 (strstr): Renamed to ...
53809 (__libc_strstr): This.
53810 (strstr): New strong alias of __libc_strstr.
53811 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53812 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
53813 __redirect_time.
53814 Include <time.h>.
53815 (__libc_time): New prototype.
53816 (time_ifunc): Replace time with __libc_time.
53817 (time): New strong alias and hidden definition of __libc_time.
53818 (__GI_time): Remove strong alias.
53819 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
53820 Include <stddef.h>.
53821 (memmove): Redefined to __redirect_memmove.
53822 (__memmove_sse2): Use typeof __redirect_memmove.
53823 (__memmove_ssse3): Likewise.
53824 (__memmove_ssse3_back): Likewise.
53825 (__libc_memmove): New prototype.
53826 (memmove): Renamed to ...
53827 (__libc_memmove): This.
53828 (memmove): New strong alias of __libc_memmove.
53829
53830 2012-08-08 Mark Salter <msalter@redhat.com>
53831
53832 * elf/elf.h
53833 (R_MN10300_TLS_GD): Define.
53834 (R_MN10300_TLS_LD): Likewise.
53835 (R_MN10300_TLS_LDO): Likewise.
53836 (R_MN10300_TLS_GOTIE): Likewise.
53837 (R_MN10300_TLS_IE): Likewise.
53838 (R_MN10300_TLS_LE): Likewise.
53839 (R_MN10300_TLS_DTPMOD): Likewise.
53840 (R_MN10300_TLS_DTPOFF): Likewise.
53841 (R_MN10300_TLS_TPOFF): Likewise.
53842 (R_MN10300_SYM_DIFF): Likewise.
53843 (R_MN10300_ALIGN): Likewise.
53844 (R_MN10300_NUM): Update.
53845
53846 2012-08-08 Joseph Myers <joseph@codesourcery.com>
53847
53848 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
53849 Remove.
53850
53851 2012-08-08 Roland McGrath <roland@hack.frob.com>
53852
53853 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
53854
53855 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
53856 sysdeps/unix -> sysdeps/posix move.
53857 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53858
53859 2012-08-07 Allan McRae <allan@archlinux.org>
53860
53861 [BZ #14303]
53862 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
53863 (SUNOS_CPP): Likewise.
53864 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
53865 not found.
53866 (open_input): Call CPP using execvp.
53867
53868 2012-08-07 Joseph Myers <joseph@codesourcery.com>
53869
53870 * sysdeps/unix/sysv/linux/kernel-features.h
53871 (__ASSUME_PROT_GROWSUPDOWN): Remove.
53872 (__ASSUME_NO_CLONE_DETACHED): Likewise.
53873 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53874 (__ASSUME_WAITID_SYSCALL): Likewise.
53875 * sysdeps/unix/sysv/linux/dl-execstack.c
53876 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
53877 code unconditional.
53878 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
53879 conditional code.
53880 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
53881 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
53882 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
53883 code.
53884 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
53885 unconditional.
53886 [__ASSUME_WAITID_SYSCALL]: Likewise.
53887 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
53888
53889 2012-08-07 Roland McGrath <roland@hack.frob.com>
53890
53891 * sysdeps/unix/closedir.c: Renamed to ...
53892 * sysdeps/posix/closedir.c: ... here.
53893 * sysdeps/unix/dirfd.c: Renamed to ...
53894 * sysdeps/posix/dirfd.c: ... here.
53895 * sysdeps/unix/dirstream.h: Renamed to ...
53896 * sysdeps/posix/dirstream.h: ... here.
53897 * sysdeps/unix/fdopendir.c: Renamed to ...
53898 * sysdeps/posix/fdopendir.c: ... here.
53899 * sysdeps/unix/opendir.c: Renamed to ...
53900 * sysdeps/posix/opendir.c: ... here.
53901 * sysdeps/unix/readdir.c: Renamed to ...
53902 * sysdeps/posix/readdir.c: ... here.
53903 * sysdeps/unix/readdir_r.c: Renamed to ...
53904 * sysdeps/posix/readdir_r.c: ... here.
53905 * sysdeps/unix/rewinddir.c: Renamed to ...
53906 * sysdeps/posix/rewinddir.c: ... here.
53907 * sysdeps/unix/seekdir.c: Renamed to ...
53908 * sysdeps/posix/seekdir.c: ... here.
53909 * sysdeps/unix/telldir.c: Renamed to ...
53910 * sysdeps/posix/telldir.c: ... here.
53911 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
53912 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
53913 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
53914 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
53915
53916 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
53917 * bits/fcntl.h: ... here.
53918
53919 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
53920 not 0.
53921 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
53922 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
53923 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
53924 (struct flock): Move l_start, l_len to the beginning.
53925 Use __pid_t for l_pid.
53926 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
53927 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
53928 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
53929 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
53930 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
53931 [__USE_LARGEFILE64] (struct flock64): New type.
53932 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
53933
53934 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
53935 * bits/dirent.h: ... here.
53936
53937 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
53938 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
53939
53940 2012-08-07 Joseph Myers <joseph@codesourcery.com>
53941
53942 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53943 Change from 2.6.0 to 2.6.16.
53944 * sysdeps/unix/sysv/linux/configure: Regenerated.
53945 * sysdeps/unix/sysv/linux/kernel-features.h
53946 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
53947 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
53948 version.
53949 (__ASSUME_UTIMES): Likewise.
53950 (__ASSUME_CLONE_STOPPED): Remove.
53951 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
53952 architectures, not kernel version.
53953 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
53954 (__ASSUME_NO_CLONE_DETACHED): Likewise.
53955 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53956 (__ASSUME_WAITID_SYSCALL): Likewise.
53957 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
53958 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
53959 * README: State 2.6.16 as minimum Linux kernel version. Do not
53960 refer to older versions.
53961
53962 2012-08-06 Roland McGrath <roland@hack.frob.com>
53963
53964 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
53965 Define alphasort64 as an alias.
53966 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
53967 Define versionsort64 as an alias.
53968 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
53969 Define scandir64 as an alias.
53970 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
53971 Define scandirat64 as an alias.
53972 * dirent/alphasort64.c (alphasort64):
53973 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
53974 * dirent/versionsort64.c: Likewise.
53975 * dirent/scandir64.c: Likewise.
53976 * dirent/scandirat64.c: Likewise.
53977 * sysdeps/wordsize-64/alphasort.c: File removed.
53978 * sysdeps/wordsize-64/alphasort64.c: File removed.
53979 * sysdeps/wordsize-64/scandir.c: File removed.
53980 * sysdeps/wordsize-64/scandir64.c: File removed.
53981 * sysdeps/wordsize-64/scandirat.c: File removed.
53982 * sysdeps/wordsize-64/scandirat64.c: File removed.
53983 * sysdeps/wordsize-64/versionsort.c: File removed.
53984 * sysdeps/wordsize-64/versionsort64.c: File removed.
53985 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
53986 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
53987 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
53988 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
53989 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
53990 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
53991 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
53992 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
53993
53994 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
53995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53996 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
53997 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53998 [defined __arch64__ || defined __sparcv9]
53999 (__INO_T_MATCHES_INO64_T): New macro.
54000 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54001 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
54002 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
54003 * sysdeps/unix/sysv/linux/bits/dirent.h
54004 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
54005 (_DIRENT_MATCHES_DIRENT64): New macro.
54006
54007 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
54008 Define lockf64 as an alias.
54009 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
54010 Define fseeko64 as an alias.
54011 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
54012 Define ftello64 as an alias.
54013 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
54014 Define _IO_fgetpos64 and fgetpos64 as aliases.
54015 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
54016 Define _IO_fsetpos64 and fsetpos64 as aliases.
54017 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
54018 Conditionalize body on this.
54019 * libio/fseeko64.c: Likewise.
54020 * libio/ftello64.c: Likewise.
54021 * libio/iofgetpos64.c: Likewise.
54022 * libio/iofsetpos64.c: Likewise.
54023 * sysdeps/wordsize-64/lockf.c: File removed.
54024 * sysdeps/wordsize-64/lockf64.c: File removed.
54025 * sysdeps/wordsize-64/fseeko.c: File removed.
54026 * sysdeps/wordsize-64/fseeko64.c: File removed.
54027 * sysdeps/wordsize-64/ftello.c: File removed.
54028 * sysdeps/wordsize-64/ftello64.c: File removed.
54029 * sysdeps/wordsize-64/iofgetpos.c: File removed.
54030 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
54031 * sysdeps/wordsize-64/iofsetpos.c: File removed.
54032 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
54033 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
54034 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
54035 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
54036 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
54037 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
54038 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
54039 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
54040 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
54041 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
54042 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
54043
54044 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54045 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
54046 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
54047 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54048 [defined __arch64__ || defined __sparcv9]
54049 (__OFF_T_MATCHES_OFF64_T): New macro.
54050 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
54051 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
54052 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54053 (__OFF_T_MATCHES_OFF64_T): New macro.
54054
54055 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
54056
54057 * stdlib/secure-getenv.c (__secure_getenv): Replace
54058 GLIBC_2_16 with GLIBC_2_17.
54059
54060 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
54061
54062 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
54063 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
54064
54065 2012-08-03 David S. Miller <davem@davemloft.net>
54066
54067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54068
54069 2012-08-03 Joseph Myers <joseph@codesourcery.com>
54070
54071 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
54072 Remove.
54073 (__ASSUME_CORRECT_SI_PID): Likewise.
54074 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
54075 (__ASSUME_TMPFS_NAME): Likewise.
54076 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
54077 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
54078 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
54079 (HAVE_AUX_SECURE): Make definition unconditional.
54080 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
54081 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
54082
54083 2012-08-03 Roland McGrath <roland@hack.frob.com>
54084
54085 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
54086 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
54087 * sysdeps/mach/hurd/eloop-threshold.h: New file.
54088 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
54089 __eloop_threshold instead of SYMLOOP_MAX.
54090
54091 * sysdeps/generic/eloop-threshold.h: New file.
54092 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
54093 of MAXSYMLINKS.
54094 * elf/chroot_canon.c (chroot_canon): Likewise.
54095
54096 2012-08-03 Joseph Myers <joseph@codesourcery.com>
54097
54098 [BZ #13717]
54099 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54100 Change to 2.6.0 everywhere.
54101 * sysdeps/unix/sysv/linux/configure: Regenerated.
54102 * sysdeps/unix/sysv/linux/kernel-features.h
54103 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
54104 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
54105 kernel versions.
54106 (__ASSUME_POSIX_TIMERS): Define unconditionally.
54107 (__ASSUME_FUTEX_REQUEUE): Remove.
54108 (__ASSUME_STATFS64): Define unconditionally.
54109 (__ASSUME_AT_SECURE): Likewise.
54110 (__ASSUME_CORRECT_SI_PID): Likewise.
54111 (__ASSUME_TGKILL): Define without depending on kernel version for
54112 i386.
54113 (__ASSUME_UTIMES): Likewise.
54114 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
54115 kernel version.
54116 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
54117 (__ASSUME_TMPFS_NAME): Likewise.
54118 * README: Update reference to Linux kernel versions.
54119
54120 2012-08-02 Marek Polacek <polacek@redhat.com>
54121
54122 [BZ# 14150]
54123 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
54124 libc_cv_asm_type_prefix with %.
54125 * configure: Regenerated.
54126 * include/libc-symbols.h: Remove comment about
54127 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54128 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
54129 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
54130 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
54131 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
54132 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
54133 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
54134 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
54135 * elf/tst-unique2mod1.c: Likewise.
54136 * elf/tst-unique1mod2.c: Likewise.
54137 * elf/tst-unique1mod1.c: Likewise.
54138 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
54139 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
54140 Replace ASM_TYPE_DIRECTIVE with .type.
54141 * sysdeps/s390/s390-64/sysdep.h: Likewise.
54142 * sysdeps/i386/sysdep.h: Likewise.
54143 * sysdeps/x86_64/sysdep.h: Likewise.
54144 * sysdeps/sh/sysdep.h: Likewise.
54145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54146 Do not define ASM_TYPE_DIRECTIVE.
54147 * sysdeps/powerpc/sysdep.h: Likewise.
54148 * sysdeps/powerpc/powerpc32/sysdep.h:
54149 Replace ASM_TYPE_DIRECTIVE with .type.
54150 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54151 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54152 * sysdeps/i386/fpu/e_powf.S: Likewise.
54153 * sysdeps/i386/fpu/e_expl.S: Likewise.
54154 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54155 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54156 * sysdeps/i386/fpu/e_pow.S: Likewise.
54157 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54158 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54159 * sysdeps/i386/fpu/s_expm1.S: Likewise.
54160 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54161 * sysdeps/i386/fpu/e_log2.S: Likewise.
54162 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54163 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54164 * sysdeps/i386/fpu/e_powl.S: Likewise.
54165 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54166 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54167 * sysdeps/i386/fpu/e_logl.S: Likewise.
54168 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54169 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54170 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54171 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54172 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54173 * sysdeps/i386/fpu/e_log.S: Likewise.
54174 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54175 * sysdeps/i386/fpu/e_logf.S: Likewise.
54176 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54177 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54178 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54179 * sysdeps/i386/fpu/e_log10.S: Likewise.
54180 * sysdeps/i386/fpu/s_frexp.S: Likewise.
54181 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54182 * sysdeps/i386/fpu/s_asinh.S: Likewise.
54183 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54184 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54185 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
54186 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54187 * sysdeps/i386/i686/strtok.S: Likewise.
54188 * sysdeps/i386/i386-mcount.S: Likewise.
54189 * sysdeps/i386/strtok.S: Likewise.
54190 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
54191 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54192 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54193 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54194 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54195 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54196 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54197 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54198 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54199 * sysdeps/x86_64/_mcount.S: Likewise.
54200 * sysdeps/x86_64/strtok.S: Likewise.
54201 * sysdeps/sh/_mcount.S: Likewise.
54202
54203 2012-08-01 Roland McGrath <roland@hack.frob.com>
54204
54205 * libio/iofopen.c: Include <fcntl.h>.
54206 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
54207 (_IO_fopen64, fopen64): Define as aliases.
54208 * libio/iofopen64.c: Include <fcntl.h>.
54209 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
54210 Conditionalize body on this.
54211 * sysdeps/wordsize-64/iofopen.c: File removed.
54212 * sysdeps/wordsize-64/iofopen64.c: File removed.
54213
54214 2012-08-01 Marek Polacek <polacek@redhat.com>
54215
54216 * libc/Makeconfig: Use elf in place of binfmt-subdir.
54217 Use dlfcn directly instead of a variable.
54218 (binfmt-subdir): Do not define.
54219 (dlfcn): Likewise.
54220
54221 2012-08-01 Joseph Myers <joseph@codesourcery.com>
54222
54223 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
54224 Remove all definitions.
54225 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
54226 <kernel-features.h>.
54227 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54228 (miss_F_GETOWN_EX): Remove all definitions.
54229 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
54230 macro definition.
54231 [!__ASSUME_FCNTL64]: Remove conditional code.
54232 [__ASSUME_FCNTL64]: Make code unconditional.
54233 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
54234 <kernel-features.h>.
54235 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
54236 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
54237 (lockf64) [__NR_fcntl64]: Make code unconditional.
54238 (lockf64) [__ASSUME_FCNTL64]: Likewise.
54239
54240 * sysdeps/unix/sysv/linux/kernel-features.h
54241 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
54242 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
54243 Make code unconditional.
54244 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54245 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
54247 [__NR_vfork]: Make code unconditional.
54248 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54249 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
54251 [__NR_vfork]: Make code unconditional.
54252 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
54253 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
54254
54255 2012-08-01 Roland McGrath <roland@hack.frob.com>
54256
54257 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
54258 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
54259
54260 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54261 Define mkstemp64 as an alias.
54262 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54263 Define mkstemps64 as an alias.
54264 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54265 Define mkostemp64 as an alias.
54266 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
54267 Define mkostemps64 as an alias.
54268 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
54269 Conditionalize body on this.
54270 * misc/mkostemp64.c: Likewise.
54271 * misc/mkostemps64.c: Likewise.
54272 * misc/mkstemps64.c: Likewise.
54273 * sysdeps/wordsize-64/mkstemp64.c: File removed.
54274 * sysdeps/wordsize-64/mkostemp64.c: File removed.
54275 * sysdeps/wordsize-64/mkostemp.c: File removed.
54276 * sysdeps/wordsize-64/mkstemp.c: File removed.
54277 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
54278 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
54279 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
54280 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
54281
54282 [BZ #14138]
54283 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
54284 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
54285 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
54286 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
54287
54288 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
54289 compat_symbol macros from <shlib-compat.h> rather than the underlying
54290 default_symbol_version and symbol_version macros, so that DEFAULT
54291 lines in shlib-versions are respected.
54292 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
54293
54294 2012-08-01 Florian Weimer <fweimer@redhat.com>
54295
54296 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
54297 Declare with warn_unused_result.
54298 (setgid, setregid, setegid, setresgid): Likewise.
54299 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
54300 Likewise.
54301 * WUR-REPORT: Remove set*id functions.
54302
54303 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
54304
54305 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
54306
54307 2012-07-31 Roland McGrath <roland@hack.frob.com>
54308
54309 [BZ #10191]
54310 * include/sys/socket.h (__libc_accept, __libc_accept4):
54311 Add attribute_hidden.
54312 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
54313
54314 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
54315 use of PTR_MANGLE.
54316 * inet/getnetgrent_r.c (setup): Likewise.
54317
54318 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
54319
54320 2012-07-31 David S. Miller <davem@davemloft.net>
54321
54322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54323
54324 2012-07-31 Joseph Myers <joseph@codesourcery.com>
54325
54326 [BZ #13629]
54327 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
54328 value between 1.0 and 2.0 and smaller part has absolute value less
54329 than 1.0.
54330 * math/s_clog10.c (__clog10): Likewise.
54331 * math/s_clog10f.c (__clog10f): Likewise.
54332 * math/s_clog10l.c (__clog10l): Likewise.
54333 * math/s_clogf.c (__clogf): Likewise.
54334 * math/s_clogl.c (__clogl): Likewise.
54335 * math/libm-test.inc (clog_test): Add more tests.
54336 (clog10_test): Likewise.
54337 * sysdeps/i386/fpu/libm-test-ulps: Update.
54338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54339
54340 2012-07-31 Florian Weimer <fweimer@redhat.com>
54341
54342 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
54343 Exit with zero in case no suitable GID is found, and write a
54344 message to standard error.
54345
54346 2012-07-30 Roland McGrath <roland@hack.frob.com>
54347
54348 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
54349 rather than to 1.
54350 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
54351 (MAXPATHLEN): Removed.
54352 (NOGROUP, NODEV): New macros.
54353 (setbit, clrbit, isset, isclr): New macros.
54354 (howmany, roundup, powerof2): New macros.
54355 (DEV_BSIZE): New macro.
54356
54357 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
54358 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
54359
54360 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
54361 definition on [!__NO_LONG_DOUBLE_MATH].
54362
54363 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
54364 PTR_MANGLE and PTR_DEMANGLE.
54365
54366 * socket/accept4.c (accept4): Rename to __libc_accept4.
54367 Define accept4 as a weak alias.
54368
54369 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
54370 on [_DIRENT_HAVE_D_TYPE].
54371 * io/ftw.c (ftw_dir): Likewise.
54372
54373 * io/xmknod.c (__xmknod): Don't check PATH for being null.
54374
54375 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
54376
54377 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
54378 Use the BSD numbers rather than the arbitrary ones we had.
54379 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
54380 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
54381 (SIGXCPU, SIGXFSZ): New macros.
54382 (_NSIG): Now 32.
54383
54384 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
54385 initializer on [_LIBC_REENTRANT].
54386
54387 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
54388 definitions inside [_POSIX_MAPPED_FILES].
54389
54390 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
54391
54392 * dirent/opendir.c: Include <fcntl.h>.
54393
54394 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
54395 (__libc_getspecific): Likewise.
54396 (__libc_key_create): Likewise.
54397
54398 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
54399 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
54400 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
54401 (tmpfile64): Define as alias.
54402 * sysdeps/wordsize-64/tmpfile.c: File removed.
54403 * sysdeps/wordsize-64/tmpfile64.c: File removed.
54404 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
54405 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
54406
54407 * stdio-common/vfscanf.c: Include <stdbool.h>.
54408 * nss/makedb.c: Likewise.
54409 * stdio-common/_i18n_number.h: Likewise.
54410 * argp/argp-help.c: Likewise.
54411 * posix/wordexp.c: Likewise.
54412 * sysdeps/posix/spawni.c: Likewise.
54413 * nss/nss_files/files-initgroups.c: Likewise.
54414 * stdio-common/reg-modifier.c: Include <stdlib.h>.
54415 * nss/nss_files/files-initgroups.c: Likewise.
54416 * nss/nss_db/db-netgrp.c: Likewise.
54417 * nss/nss_db/db-initgroups.c: Likewise.
54418 * io/fchmodat.c: Include <sys/stat.h>.
54419
54420 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
54421 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
54422
54423 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
54424 [HAVE_MMAP].
54425
54426 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
54427 Add multiple inclusion protection.
54428
54429 2012-07-27 David S. Miller <davem@davemloft.net>
54430
54431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54432
54433 2012-07-27 Gary Benson <gbenson@redhat.com>
54434
54435 [BZ #14298]
54436 * elf/rtld.c: Include <stap-probe.h>.
54437 (dl_main): Added static probes "init_start" and "init_complete".
54438 * elf/dl-load.c: Include <stap-probe.h>.
54439 (lose): Take new parameter "nsid".
54440 Added static probe "map_failed".
54441 (_dl_map_object_from_fd): Pass namespace id to lose.
54442 Added static probe "map_start".
54443 (open_verify): Pass namespace id to lose.
54444 * elf/dl-open.c: Include <stap-probe.h>.
54445 (dl_open_worker) Added static probes "map_complete", "reloc_start"
54446 and "reloc_complete".
54447 * elf/dl-close.c: Include <stap-probe.h>.
54448 (_dl_close_worker): Added static probes "unmap_start" and
54449 "unmap_complete".
54450 * elf/rtld-debugger-interface.txt: New file documenting the above.
54451
54452 2012-07-26 Roland McGrath <roland@hack.frob.com>
54453
54454 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
54455 rather than a string variable.
54456 * sunrpc/rpc_main.c (h_output): Likewise.
54457 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
54458
54459 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
54460
54461 * inet/check_native.c: New file.
54462
54463 2012-07-26 Joseph Myers <joseph@codesourcery.com>
54464
54465 [BZ #13629]
54466 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
54467 if larger part has absolute value 1.0.
54468 * math/s_clog10.c (__clog10): Likewise.
54469 * math/s_clog10f.c (__clog10f): Likewise.
54470 * math/s_clog10l.c (__clog10l): Likewise.
54471 * math/s_clogf.c (__clogf): Likewise.
54472 * math/s_clogl.c (__clogl): Likewise.
54473 * math/libm-test.inc (clog_test): Add more tests.
54474 (clog10_test): Likewise.
54475 * sysdeps/i386/fpu/libm-test-ulps: Update.
54476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54477
54478 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
54479 (pltexit): Likewise.
54480 (La_regs): Likewise.
54481 (La_retval): Likewise.
54482 (int_retval): Likewise.
54483 Update #error for removed macros to refer only to definitions in
54484 tst-audit.h.
54485 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
54486 macro.
54487 (pltexit): Likewise.
54488 (La_regs): Likewise.
54489 (La_retval): Likewise.
54490 (int_retval): Likewise.
54491 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
54492 macro.
54493 (pltexit): Likewise.
54494 (La_regs): Likewise.
54495 (La_retval): Likewise.
54496 (int_retval): Likewise.
54497 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
54498 macro.
54499 (pltexit): Likewise.
54500 (La_regs): Likewise.
54501 (La_retval): Likewise.
54502 (int_retval): Likewise.
54503 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
54504 macro.
54505 (pltexit): Likewise.
54506 (La_regs): Likewise.
54507 (La_retval): Likewise.
54508 (int_retval): Likewise.
54509 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
54510 macro.
54511 (pltexit): Likewise.
54512 (La_regs): Likewise.
54513 (La_retval): Likewise.
54514 (int_retval): Likewise.
54515 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
54516 macro.
54517 (pltexit): Likewise.
54518 (La_regs): Likewise.
54519 (La_retval): Likewise.
54520 (int_retval): Likewise.
54521 * sysdeps/generic/tst-audit.h: Update comment to refer only to
54522 macro definitions in tst-audit.h.
54523 * sysdeps/i386/tst-audit.h: New file.
54524 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
54525 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
54526 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
54527 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
54528 * sysdeps/sh/tst-audit.h: Likewise.
54529 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
54530 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
54531 * sysdeps/x86_64/tst-audit.h: Likewise.
54532
54533 2012-07-26 Andreas Jaeger <aj@suse.de>
54534
54535 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
54536 ptrace.
54537
54538 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
54539 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
54540 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
54541 PTRACE_O_MASK.
54542 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
54543 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
54544 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
54545
54546 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
54547 value.
54548
54549 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
54550 _sigsys.
54551 (si_call_addr, si_syscall, si_arch): Define new macro.
54552 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
54553 _sigsys.
54554 (si_call_addr, si_syscall, si_arch): Define new marcro.
54555 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
54556 _sigsys.
54557 (si_call_addr, si_syscall, si_arch): Define new macro.
54558 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
54559 _sigsys.
54560 (si_call_addr, si_syscall, si_arch): Define new macro.
54561
54562 2012-07-25 Joseph Myers <joseph@codesourcery.com>
54563
54564 [BZ #13717]
54565 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54566 Change to 2.4.21 where previously 2.4.1.
54567 * sysdeps/unix/sysv/linux/configure: Regenerated.
54568 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
54569 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
54570 Linux kernel version.
54571 (__ASSUME_STD_AUXV): Remove.
54572 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
54573 kernel version.
54574 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
54575 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
54576 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
54577 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
54578 (__ASSUME_NETLINK_SUPPORT): Likewise.
54579 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
54580 (__no_netlink_support): Remove conditional definition.
54581 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
54582 Remove.
54583 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54584 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
54585 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
54586 (if_nameindex_ioctl): Remove.
54587 (if_nameindex_netlink): Do not handle __no_netlink_support.
54588 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54589 code.
54590 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
54591 Remove conditional code.
54592 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54593 code.
54594 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
54595 unconditional.
54596 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54597 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
54598 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
54599 Remove.
54600 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
54601 [!__ASSUME_STD_AUXV]: Remove conditional code.
54602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
54603 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
54604 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
54605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
54606 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
54607 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54608 code.
54609 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54611 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
54612 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54613 conditional code.
54614 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54616 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54617 code.
54618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54619 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54620 conditional code.
54621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
54622 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54623 code unconditional.
54624 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54625 conditional code.
54626 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54627 unconditional.
54628 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54629 conditional code.
54630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54631 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54632 unconditional.
54633 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54634 conditional code.
54635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
54636 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54637 code unconditional.
54638 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54639 conditional code.
54640 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54641 unconditional.
54642 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54643 conditional code.
54644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
54645 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54646 code unconditional.
54647 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54648 conditional code.
54649 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54650 unconditional.
54651 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54652 conditional code.
54653
54654 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
54655
54656 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
54657 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
54658 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
54659 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
54660 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
54661 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
54662 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
54663 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
54664 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
54665 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
54666 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
54667 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
54668 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
54669 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
54670 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
54671 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
54672 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
54673 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
54674 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
54675 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
54676 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
54677 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
54678 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54679
54680 2012-07-25 Florian Weimer <fweimer@redhat.com>
54681
54682 * Versions.def: Add GLIBC_2.17.
54683 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
54684 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
54685 Introduce __libc_secure_getenv.
54686 * stdlib/Versions (2.17): Add secure_getenv
54687 (GLIBC_PRIVATE): Add __libc_secure_getenv.
54688 * stdlib/secure-getenv.c: Rename __secure_getenv to
54689 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
54690 symbol __secure_getenv for GLIBC_2.0.
54691 * stdlib/tst-secure-getenv.c: New.
54692 * stdlib/Makefile (tests): Add testcase.
54693 * manual/startup.texi (Environment Access): Document
54694 secure_getenv.
54695 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
54696 __libc_secure_getenv.
54697 * inet/ruserpass.c (ruserpass): Likewise.
54698 * malloc/mtrace.c (mtrace): Likewise.
54699 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
54700 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
54701 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
54702 * sysdeps/posix/tempname.c: Likewise. Evaluate
54703 HAVE_SECURE_GETENV.
54704 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
54705 __secure_getenv to __libc_secure_getenv.
54706 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
54707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54708 Likewise.
54709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54710 Likewise.
54711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54713 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54718
54719 2012-07-25 Joseph Myers <joseph@codesourcery.com>
54720
54721 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
54722 (struct La_i86_retval): Likewise.
54723 (struct La_x86_64_regs): Likewise.
54724 (struct La_x86_64_retval): Likewise.
54725 (struct La_x32_regs): Likewise.
54726 (struct La_x32_retval): Likewise.
54727 (struct La_ppc32_regs): Likewise.
54728 (struct La_ppc32_retval): Likewise.
54729 (struct La_ppc64_regs): Likewise.
54730 (struct La_ppc64_retval): Likewise.
54731 (struct La_sh_regs): Likewise.
54732 (struct La_sh_retval): Likewise.
54733 (struct La_s390_32_regs): Likewise.
54734 (struct La_s390_32_retval): Likewise.
54735 (struct La_s390_64_regs): Likewise.
54736 (struct La_s390_64_retval): Likewise.
54737 (struct La_sparc32_regs): Likewise.
54738 (struct La_sparc32_retval): Likewise.
54739 (struct La_sparc64_regs): Likewise.
54740 (struct La_sparc64_retval): Likewise.
54741 (struct audit_ifaces): Remove architecture-specific pltenter and
54742 pltexit members.
54743 * sysdeps/i386/ldsodefs.h: New file.
54744 * sysdeps/powerpc/ldsodefs.h: Likewise.
54745 * sysdeps/s390/ldsodefs.h: Likewise.
54746 * sysdeps/sh/ldsodefs.h: Likewise.
54747 * sysdeps/sparc/ldsodefs.h: Likewise.
54748 * sysdeps/x86_64/ldsodefs.h: Likewise.
54749
54750 2012-07-25 Marek Polacek <polacek@redhat.com>
54751
54752 [BZ #6808]
54753 * math/libm-test.inc (yn_test): Add another test.
54754 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
54755 to ERANGE when the result is +-Inf.
54756 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54757 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
54758 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
54759 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
54760
54761 2012-07-24 Joseph Myers <joseph@codesourcery.com>
54762
54763 * conform/data/time.h-data (NULL): Use macro-constant. Require
54764 equal to 0.
54765 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
54766 clock_t.
54767 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
54768
54769 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
54770
54771 * configure.in <sysdeps resolving>: Correct printing
54772 Implies_before.
54773 * configure: Regenerate.
54774
54775 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
54776
54777 * math/w_ilogb.c: Include <limits.h>.
54778 * math/w_ilogbl.c: Likewise.
54779
54780 2012-07-20 Joseph Myers <joseph@codesourcery.com>
54781
54782 * manual/lang.texi (__va_copy): Document primarily as ISO C99
54783 va_copy. Document allowing for unavailable va_copy only as
54784 pre-C99 compatibility.
54785 * manual/string.texi (Copying and Concatenation): Use va_copy
54786 instead of __va_copy in concat example.
54787
54788 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
54789
54790 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
54791 (__sendto): Use create_address_port. Initialize APORT and deallocate
54792 it if not null.
54793
54794 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
54795 with O_NOLINK passed to __file_name_lookup.
54796
54797 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
54798 with O_NOLINK passed to __file_name_lookup.
54799
54800 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
54801 negative N or less than NGIDS.
54802
54803 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
54804 type to string_t. Set ERANGE as errno and return it if NAME is not big
54805 enough. Use memcpy instead of strncpy.
54806
54807 2012-07-20 Joseph Myers <joseph@codesourcery.com>
54808
54809 * elf/Makefile (check-data): Remove.
54810 (localplt.data): New vpath directive.
54811 ($(objpfx)check-localplt.out): Use localplt.data from vpath
54812 instead of $(check-data).
54813 * scripts/data/localplt-generic.data: Move to ...
54814 * sysdeps/generic/localplt.data: ... here.
54815 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
54816 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
54817 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
54818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
54819 ... here.
54820 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
54821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
54822 ... here.
54823 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
54824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
54825 ... here.
54826 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
54827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
54828 ... here.
54829 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
54830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
54831 ... here.
54832 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
54833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
54834 ... here.
54835
54836 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54837
54838 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
54839 PPC32 and PPC64 files.
54840 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
54841 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
54842
54843 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54844
54845 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
54846 __makecontext_ret to ...
54847 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
54848 ... here and call exit if uc_link is NULL. New file.
54849 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
54850 __makecontext_ret.S.
54851 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
54852 __makecontext_ret to ...
54853 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
54854 ... here and call exit if uc_link is NULL. New file.
54855 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
54856 __makecontext_ret.S.
54857
54858 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54859
54860 * elf/elf.h (R_390_IRELATIVE): New definition.
54861 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
54862 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
54863 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
54864 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54865 (elf_machine_lazy_rel): Likewise.
54866 * sysdeps/s390/dl-irel.h: New file.
54867 * sysdeps/s390/s390-64/memcpy.S: New asm code.
54868 * sysdeps/s390/s390-64/memset.S: New asm code.
54869 * sysdeps/s390/s390-64/memcmp.S: New asm code.
54870 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
54871 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
54872 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
54873 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
54874 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
54875 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
54876 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
54877 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
54878 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
54879 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
54880 * sysdeps/s390/s390-32/memcpy.S: New asm code.
54881 * sysdeps/s390/s390-32/memset.S: New asm code.
54882 * sysdeps/s390/s390-32/memcmp.S: New asm code.
54883
54884 2012-07-17 Marek Polacek <polacek@redhat.com>
54885
54886 [BZ #14349]
54887 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
54888 * sysdeps/s390/s390-64/configure.in: Likewise.
54889 * sysdeps/sparc/configure.in: Likewise.
54890 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
54891 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
54892 * sysdeps/i386/configure.in: Likewise.
54893 * sysdeps/x86_64/configure.in: Likewise.
54894 * sysdeps/sh/configure.in: Likewise.
54895 * sysdeps/s390/s390-32/configure: Regenerated.
54896 * sysdeps/s390/s390-64/configure: Likewise.
54897 * sysdeps/x86_64/configure: Likewise.
54898 * sysdeps/sh/configure: Likewise.
54899 * sysdeps/powerpc/powerpc64/configure: Likewise.
54900 * sysdeps/powerpc/powerpc32/configure: Likewise.
54901 * sysdeps/sparc/configure: Likwise.
54902 * sysdeps/i386/configure: Likewise.
54903
54904 * elf/dl-open.c: Comment fixes.
54905
54906 2012-07-17 Joseph Myers <joseph@codesourcery.com>
54907
54908 * Makefile [CXX] (check-data): Remove.
54909 [CXX] (c++-types.data): New vpath directive.
54910 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
54911 vpath. Do not allow for C++ type data being missing.
54912 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
54913 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
54914 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
54915 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
54916 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
54917 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
54918 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
54919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
54920 ... here.
54921 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
54922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
54923 ... here.
54924 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
54925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
54926 ... here.
54927 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
54928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
54929 ... here.
54930 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
54931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
54932 ... here.
54933 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
54934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
54935 ... here.
54936 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
54937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
54938 ... here.
54939 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
54940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
54941
54942 * elf/tls-macros.h (TLS_LE): Move architecture-specific
54943 definitions to architecture-specific files.
54944 (TLS_IE): Likewise.
54945 (TLS_LD): Likewise.
54946 (TLS_GD): Likewise.
54947 * sysdeps/i386/tls-macros.h: New file.
54948 * sysdeps/powerpc/tls-macros.h: Likewise.
54949 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
54950 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
54951 * sysdeps/sh/tls-macros.h: Likewise.
54952 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
54953 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
54954 * sysdeps/x86_64/tls-macros.h: Likewise.
54955
54956 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
54957
54958 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
54959 zero value for regular exit case.
54960
54961 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
54962 (__start_context): Preserve zero value for regular exit case.
54963
54964 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
54965 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54966
54967 * manual/setjmp.texi (setcontext): Clarify normal process
54968 termination when uc_link is the null pointer.
54969 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
54970 exit call.
54971
54972 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
54973
54974 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
54975 preprocessor. Test for each exception mask separately.
54976
54977 2012-07-16 Andreas Jaeger <aj@suse.de>
54978
54979 * po/ru.po: Update from translation team.
54980
54981 2012-07-15 Joseph Myers <joseph@codesourcery.com>
54982
54983 * conform/data/string.h-data (NULL): Use macro-constant. Require
54984 equal to 0.
54985 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54986 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54987 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
54988 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
54989 [ISO || ISO99 || ISO11] (*_t): Do not allow.
54990
54991 2012-07-13 Andreas Jaeger <aj@suse.de>
54992
54993 * po/fr.po: Update from translation team.
54994
54995 2012-07-12 Marek Polacek <polacek@redhat.com>
54996
54997 [BZ #14173]
54998 * math/libm-test.inc (yn_test): Add test for BZ #14173.
54999 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
55000 loop condition.
55001
55002 2012-07-12 Joseph Myers <joseph@codesourcery.com>
55003
55004 [BZ #13717]
55005 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55006 Change to 2.4.1 where previously 2.4.0.
55007 * sysdeps/unix/sysv/linux/configure: Regenerated.
55008 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
55009 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
55010 version.
55011 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
55012 (__ASSUME_AT_CLKTCK): Remove.
55013 (__ASSUME_AT_PAGESIZE): Likewise.
55014 (__ASSUME_AT_XID): Likewise.
55015 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
55016 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
55017 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
55018 unconditionally.
55019 (HAVE_AUX_PAGESIZE): Likewise.
55020 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
55021 [__ASSUME_AT_CLKTCK]: Make code unconditional.
55022 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
55023
55024 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
55025
55026 [BZ #14307]
55027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
55028 the temporary buffer used to invoke __gethostbyname2_r,
55029 __gethostbyaddr_r and gethostbyname4_r to make room for struct
55030 host_data / struct gaih_addrtuple.
55031 * resolv/nss_dns/dns-host.c (global scope): Move definition of
55032 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
55033 header file nss/nsswitch.h.
55034 * nss/nsswitch.h (global scope): Add definition of implementation
55035 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
55036 resolv/nss_dns/dns-host.c).
55037
55038 2012-07-11 Andreas Jaeger <aj@suse.de>
55039
55040 * po/fr.po: Update from translation team.
55041
55042 * po/sv.po: Update from translation team
55043 * po/fr.po: Another update from translation team.
55044
55045 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55046
55047 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
55048 for subnormals or multiply small sinh result by itself.
55049 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55051
55052 2012-07-11 David S. Miller <davem@davemloft.net>
55053
55054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55055
55056 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
55057
55058 [BZ #14347]
55059 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
55060 (INTERNAL_MARK): Shift it here.
55061
55062 2012-07-10 Marek Polacek <polacek@redhat.com>
55063
55064 [BZ #14151]
55065 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
55066 libc_cv_asm_global_directive with .globl.
55067 * configure: Regenerated.
55068 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
55069 with .globl.
55070 * sysdeps/i386/configure: Regenerated.
55071 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
55072 with .globl.
55073 * sysdeps/x86_64/configure: Regenerated.
55074 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
55075 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
55076 * elf/tst-unique2mod2.c: Likewise.
55077 * elf/tst-unique2mod1.c: Likewise.
55078 * elf/tst-unique1mod2.c: Likewise.
55079 * elf/tst-unique1mod1.c: Likewise.
55080 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55081 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55082 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55083 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55084 * sysdeps/mach/sysdep.h: Likewise.
55085 * sysdeps/i386/sysdep.h: Likewise.
55086 * sysdeps/i386/i386-mcount.S: Likewise.
55087 * sysdeps/x86_64/_mcount.S: Likewise.
55088 * sysdeps/x86_64/sysdep.h: Likewise.
55089 * sysdeps/sh/_mcount.S: Likewise.
55090 * sysdeps/sh/sysdep.h: Likewise.
55091 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
55092 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
55093 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
55094 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55095 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
55096 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
55097 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
55098 * locale/localeinfo.h: Likewise.
55099 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
55100 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
55101
55102 2012-07-09 Roland McGrath <roland@hack.frob.com>
55103
55104 [BZ #14336]
55105 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
55106 system".
55107 * manual/message.texi (The Uniforum approach): Likewise.
55108 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
55109 (glibc iconv Implementation): Likewise.
55110
55111 2012-07-09 Joseph Myers <joseph@codesourcery.com>
55112
55113 [BZ #14337]
55114 * math/s_clog.c (__clog): Avoid scaling a value down where that
55115 could result in underflow.
55116 * math/s_clog10.c (__clog10): Likewise.
55117 * math/s_clog10f.c (__clog10f): Likewise.
55118 * math/s_clog10l.c (__clog10l): Likewise.
55119 * math/s_clogf.c (__clogf): Likewise.
55120 * math/s_clogl.c (__clogl): Likewise.
55121 * math/libm-test.inc (clog_test): Add more tests.
55122 (clog10_test): Likewise.
55123 * sysdeps/i386/fpu/libm-test-ulps: Update.
55124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55125
55126 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
55127
55128 [BZ #14283]
55129 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
55130 by 7 not 8 to examine high bit of fractional part.
55131
55132 [BZ #14042]
55133 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
55134 for call to __mcount_internal.
55135 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
55136 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
55137 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
55138
55139 2012-07-06 Joseph Myers <joseph@codesourcery.com>
55140
55141 [BZ #14154]
55142 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
55143 approximation for values within 0x1p-13f of an odd multiple of
55144 pi/4.
55145 * math/libm-test.inc (tan_test): Do not allow spurious underflow
55146 exception. Add more tests.
55147 * sysdeps/i386/fpu/libm-test-ulps: Update.
55148
55149 [BZ #6778]
55150 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
55151 inputs and return -1 for them. Do not check for +Inf in case not
55152 reachable for +Inf.
55153 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55154 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
55155 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55156 and return -1 for them. Do not check for +Inf in case not
55157 reachable for +Inf.
55158 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
55159 define.
55160 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55161 and return -1 for them. Do not check for +Inf in case not
55162 reachable for +Inf.
55163 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
55164 spurious underflow.
55165 * sysdeps/i386/fpu/libm-test-ulps: Update.
55166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55167
55168 2012-07-06 Mike Frysinger <vapier@gentoo.org>
55169
55170 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
55171
55172 2012-07-05 Joseph Myers <joseph@codesourcery.com>
55173
55174 [BZ #14157]
55175 [BZ #14331]
55176 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
55177 could result in spurious underflow. Scale down values above
55178 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
55179 * math/s_csqrtf.c (__csqrtf): Likewise.
55180 * math/s_csqrtl.c (__csqrtl): Likewise.
55181 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
55182 spurious underflow.
55183 * sysdeps/i386/fpu/libm-test-ulps: Update.
55184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55185
55186 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
55187
55188 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
55189 xopen-msg.sed.
55190 * catgets/xopen-msg.awk: New file.
55191 * catgets/xopen-msg.sed: Removed.
55192
55193 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
55194 po2text.sed.
55195 * intl/po2test.awk: New file.
55196 * intl/po2test.sed: Removed.
55197
55198 2012-07-04 Joseph Myers <joseph@codesourcery.com>
55199
55200 [BZ #14328]
55201 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
55202 or multiply small sinh result by itself.
55203 * math/s_ctanf.c (__ctanf): Likewise.
55204 * math/s_ctanh.c (__ctanh): Likewise.
55205 * math/s_ctanhf.c (__ctanhf): Likewise.
55206 * math/s_ctanhl.c (__ctanhl): Likewise.
55207 * math/s_ctanl.c (__ctanl): Likewise.
55208 * math/libm-test.inc (ctan_test_tonearest): New function.
55209 (ctan_test_towardzero): Likewise.
55210 (ctan_test_downward): Likewise.
55211 (ctan_test_upward): Likewise.
55212 (ctanh_test_tonearest): Likewise.
55213 (ctanh_test_towardzero): Likewise.
55214 (ctanh_test_downward): Likewise.
55215 (ctanh_test_upward): Likewise.
55216 (main): Call these new functions.
55217 * sysdeps/i386/fpu/libm-test-ulps: Update.
55218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55219
55220 2012-07-03 Mike Frysinger <vapier@gentoo.org>
55221
55222 * .gitignore: Delete /ports entry.
55223
55224 2012-07-03 Andreas Jaeger <aj@suse.de>
55225
55226 * po/bg.po: Update from translation team.
55227 * po/cs.po: Likewise.
55228 * po/de.po: Likewise.
55229 * po/hr.po: Likewise.
55230 * po/nl.pl: Likewise.
55231 * po/pl.po: Likewise.
55232 * po/vi.po: Likewise.
55233
55234 2012-07-03 Joseph Myers <joseph@codesourcery.com>
55235
55236 * Makeconfig [!+link] (+link-before-libc): New variable.
55237 [!+link] (+link-after-libc): Likewise.
55238 [!+link] (+link-tests): Likewise.
55239 [!+link] (+link): Define in terms of $(+link-before-libc) and
55240 $(+link-after-libc).
55241 [!+link-static] (+link-static-before-libc): New variable.
55242 [!+link-static] (+link-static-after-libc): Likewise.
55243 [!+link-static] (+link-static-tests): Likewise.
55244 [!+link-static] (+link-static): Define in terms of
55245 $(+link-static-before-libc) and $(+link-static-after-libc).
55246 [build-shared] (link-libc-before-gnulib): New variable.
55247 [build-shared] (link-libc-tests): Likewise.
55248 [build-shared] (link-libc): Define in terms of
55249 $(link-libc-before-gnulib).
55250 [!build-shared] (link-libc-tests): New variable.
55251 (link-libc-static-tests): New variable.
55252 [!gnulib] (gnulib-arch): New variable.
55253 [!gnulib] (gnulib-tests): Likewise.
55254 [!gnulib] (static-gnulib-arch): Likewise.
55255 [!gnulib] (static-gnulib-tests): Likewise.
55256 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
55257 Define with "=" instead of ":=".
55258 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
55259 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
55260 * Rules (binaries-all-notests): New variable.
55261 (binaries-all-tests): Likewise.
55262 (binaries-static-notests): Likewise.
55263 (binaries-static-tests): Likewise.
55264 (binaries-all): Define using $(binaries-all-notests) and
55265 $(binaries-all-tests).
55266 (binaries-static): Define using $(binaries-static-notests) and
55267 $(binaries-static-tests).
55268 (binaries-shared-tests): New variable.
55269 (binaries-shared-notests): Likewise.
55270 (binaries-shared): Remove variable.
55271 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
55272 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
55273 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
55274 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
55275 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
55276 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
55277 * elf/Makefile (sln-modules): New variable.
55278 (extra-objs): Add $(sln-modules:=.o).
55279 (ldconfig-modules): Add static-stubs.
55280 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
55281 * elf/static-stubs.c: New file.
55282
55283 [BZ #14283]
55284 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
55285 by 7 not 8 to examine high bit of fractional part. Use volatile
55286 variables when splitting into final array of floats if
55287 __FLT_EVAL_METHOD__ != 0.
55288 * math/libm-test.inc (cos_test): Add another test.
55289 (sin_test): Likewise.
55290 * sysdeps/i386/fpu/libm-test-ulps: Update.
55291
55292 [BZ #14273]
55293 * math/libm-test.inc (cosh_test): Add more tests.
55294
55295 * version.h (RELEASE): Set to "development".
55296 (VERSION): Set to "2.16.90".
55297
55298 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
55299
55300 * NEWS: Update copyright. Remove last-updated date.
55301 Mention math library bug fixes and timezone data changes.
55302 * README: Mention GNU/Hurd, x32, and HPPA support status.
55303
55304 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
55305
55306 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
55307
55308 2012-06-27 Andreas Jaeger <aj@suse.de>
55309
55310 * manual/contrib.texi (Contributors): Add Samuel Thibault.
55311
55312 2012-06-25 Andreas Jaeger <aj@suse.de>
55313
55314 * sysdeps/s390/fpu/libm-test-ulps: Update.
55315
55316 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
55317 Thomas Schwinge <thomas@codesourcery.com>
55318
55319 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
55320 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
55321 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
55322 fanotify_mark.
55323
55324 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
55325
55326 * sysdeps/mach/start.c: Remove file.
55327 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
55328 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
55329 * sysdeps/sh/init-first.c: Likewise.
55330
55331 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
55332 registers for frame unwinding purposes, add CFI directives.
55333 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55334 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
55335 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
55336 Likewise.
55337
55338 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
55339 __fortify_fail returning.
55340 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
55341
55342 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
55343 sysdeps/sh/____longjmp_chk.S.
55344 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
55345 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
55346 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
55347 (gen-as-const-headers): Append sigaltstack-offsets.sym.
55348
55349 * sysdeps/sh/abort-instr.h: New file.
55350 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
55351 process in case exit returns.
55352
55353 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
55354 initialize the GOT register before use.
55355
55356 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
55357 calculation of ARGC > 4.
55358
55359 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
55360 meaningful names to some local labels.
55361
55362 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55363 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55364
55365 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
55366 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
55367 (__arch_compare_and_exchange_val_16_acq): Likewise.
55368 (__arch_compare_and_exchange_val_32_acq): Likewise.
55369 (atomic_exchange_and_add): Fix gUSA sequence.
55370 (atomic_add): Likewise.
55371 (atomic_add_negative): Likewise.
55372 (atomic_add_zero): Likewise.
55373 (atomic_bit_test_set): Likewise.
55374
55375 2012-06-22 Andreas Schwab <schwab@redhat.com>
55376
55377 [BZ #13579]
55378 * include/link.h (struct link_map): Add l_free_initfini.
55379 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
55380 l_initfini.
55381 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
55382 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
55383 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
55384 set.
55385
55386 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
55387
55388 * configure.in: Use AC_LANG_SOURCE.
55389 * configure: Regenerate.
55390
55391 2012-06-22 Roland McGrath <roland@hack.frob.com>
55392
55393 * configure.in (libc_cv_localstatedir): New substituted variable.
55394 * configure: Regenerated.
55395 * config.make.in (localstatedir): New variable, substituted from
55396 libc_cv_localstatedir.
55397 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
55398 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
55399 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
55400 * sysdeps/gnu/configure: Regenerated.
55401
55402 2012-06-21 Jeff Law <law@redhat.com>
55403
55404 [BZ #14277]
55405 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
55406 free. Simplify list management for _LIBC case.
55407
55408 2012-06-21 Joseph Myers <joseph@codesourcery.com>
55409
55410 [BZ #14273]
55411 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
55412 Clear sign bit of 64-bit integer value before comparing against
55413 overflow value.
55414
55415 * sysdeps/mach/configure: Regenerated.
55416
55417 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
55418
55419 [BZ #14278]
55420 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
55421
55422 2012-06-21 Jeff Law <law@redhat.com>
55423
55424 [BZ #13882]
55425 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
55426 uint16_t for elements in the "seen" array to avoid char overflows.
55427 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55428 * elf/dl-open.c (dl_open_worker): Likewise.
55429
55430 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
55431
55432 * scripts/list-sources.sh: Scan PORTS for translations.
55433 * po/libc.pot: Regenerated.
55434
55435 2012-06-21 Andreas Jaeger <aj@suse.de>
55436
55437 [BZ #12194]
55438 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
55439 warning.
55440 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
55441 * bits/byteswap-16.h (__bswap_16): Likewise.
55442 * bits/byteswap.h (__bswap_constant_16): Likewise.
55443
55444 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
55445
55446 [BZ #14117]
55447 * sysdeps/i386/fpu_control.h: Removed.
55448 * sysdeps/x86_64/fpu_control.h: Moved to ...
55449 * sysdeps/x86/fpu_control.h: Here.
55450
55451 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
55452 (_FPU_SETCW): Likewise.
55453
55454 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
55455
55456 [BZ #14117]
55457 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
55458 * sysdeps/x86/fpu/bits/mathinline.h: This.
55459 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
55460
55461 [BZ #14050]
55462 [BZ #14117]
55463 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
55464 functions if __x86_64__ is defined.
55465
55466 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
55467
55468 * string/endian.h: Add !__ASSEMBLER__ condition for including
55469 conversion interfaces.
55470
55471 2012-06-15 Joseph Myers <joseph@codesourcery.com>
55472
55473 [BZ #14241]
55474 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
55475 of ABS(x) in calculating zero to negative powers other than odd
55476 integers.
55477 * math/libm-test.inc (pow_test): Add more tests.
55478
55479 2012-06-15 Andreas Jaeger <aj@suse.de>
55480
55481 * manual/contrib.texi (Contributors): Update entry of Liubov
55482 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
55483 Machado Filho.
55484
55485 2012-06-15 Cyril Hrubis <metan@ucw.cz>
55486
55487 * string/string.h: Add __wur to GNU version of strerror_r.
55488
55489 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
55490
55491 [BZ #14229]
55492 * string/Makefile (tests): Add tst-strtok_r.
55493 * string/tst-strtok_r.c: New file.
55494 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
55495 RAX_LP/RDX_LP on SAVE_PTR.
55496
55497 2012-06-14 Roland McGrath <roland@hack.frob.com>
55498
55499 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
55500
55501 2012-06-14 Joseph Myers <joseph@codesourcery.com>
55502
55503 * libm_test.inc (csqrt_test): Allow more spurious underflow
55504 exceptions.
55505 (j0_test): Likewise.
55506 (j1_test): Likewise.
55507 (y0_test): Likewise.
55508 (y1_test): Likewise.
55509
55510 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
55511
55512 * po/Makefile (libc.pot): Use UTF-8 charset.
55513
55514 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
55515
55516 [BZ #14210]
55517 Suppress sign-conversion warning from FD_SET.
55518 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
55519 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
55520 not unsigned long int.
55521 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
55522
55523 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
55524
55525 [BZ #14050]
55526 [BZ #14117]
55527 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
55528 __extern_always_inline instead of __extern_inline.
55529 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
55530 (__signbit): Likewise.
55531 (__signbitl): Support C++ namespace.
55532 (lrintf): New inline function.
55533 (lrint): Likewise.
55534 (llrintf): Likewise.
55535 (llrint): Likewise.
55536 (fmaxf): Likewise.
55537 (fmax): Likewise.
55538 (fminf): Likewise.
55539 (fmin): Likewise.
55540 (rint): Likewise.
55541 (rintf): Likewise.
55542 (ceil): Likewise.
55543 (ceilf): Likewise.
55544 (floor): Likewise.
55545 (floorf): Likewise.
55546 (nearbyint): Likewise.
55547 (nearbyintf): Likewise.
55548
55549 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
55550
55551 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
55552 non-default versions.
55553
55554 2012-06-11 Roland McGrath <roland@hack.frob.com>
55555
55556 [BZ #14218]
55557 * manual/argp.texi (Argp): Reword argp_parse description slightly.
55558
55559 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
55560
55561 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
55562 (FE_UPWARD, FE_DOWNWARD): Don't define.
55563 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
55564 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55565
55566 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
55567 reading it.
55568 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55569 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55570
55571 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
55572
55573 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
55574 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
55575 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
55576 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
55577
55578 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
55579
55580 [BZ #14117]
55581 * sysdeps/i386/fpu/bits/fenv.h: Removed.
55582 * sysdeps/i386/fpu/Implies: New file.
55583 * sysdeps/x86_64/fpu/Implies: Likewise.
55584 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
55585 * sysdeps/x86/fpu/bits/fenv.h: This.
55586
55587 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
55588 __SSE_MATH__.
55589
55590 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
55591
55592 [BZ #14134]
55593 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
55594 character 0xffff that matches the last element of the
55595 conversion table.
55596
55597 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55598
55599 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
55600 fmodl commit.
55601
55602 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55603
55604 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
55605 values higher than 25.6283.
55606
55607 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55608
55609 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
55610 subnormal exponent extraction and add some __builtin_expect.
55611 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
55612 Fix for subnormal mantissa calculation.
55613
55614 2012-06-04 Mike Frysinger <vapier@gentoo.org>
55615
55616 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
55617 cpu2 is -1 and errno is not ENOSYS.
55618
55619 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
55620
55621 [BZ #14117]
55622 * sysdeps/i386/i486/bits/string.h: Renamed to ...
55623 * sysdeps/x86/bits/string.h: This.
55624 * sysdeps/x86_64/bits/string.h: Removed.
55625
55626 * sysdeps/i386/i486/bits/string.h: Define inline functions only
55627 if not compiling for x86-64, but compiling for >= i486.
55628
55629 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
55630 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
55631
55632 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
55633 New macro from Linux kernel 3.4.0.
55634 (FP_XSTATE_MAGIC2): Likewise.
55635 (FP_XSTATE_MAGIC2_SIZE): Likewise.
55636 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
55637 (struct _fpx_sw_bytes): New struct.
55638 (struct _xsave_hdr): Likewise.
55639 (struct _ymmh_state): Likewise.
55640 (struct _xstate): Likewise.
55641
55642 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
55643 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
55644 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
55645 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
55646 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
55647 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
55648
55649 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
55650 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
55651 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
55652 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
55653 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
55654 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
55655
55656 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55657
55658 [BZ #13743]
55659 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
55660 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
55661 (sysdep_headers): Include sys/platform/ppc.h.
55662 * sysdeps/powerpc/test-gettimebase.c: Test for
55663 __ppc_get_timebase() to catch future ISA opcode/insn changes.
55664 * manual/Makefile (appendices): Include platform.texi.
55665 * manual/contrib.texi (Contributors): Update @node pointers.
55666 * manual/maint.texi (Maintenance): Likewise.
55667 (Platform): New node.
55668 * manual/platform.texi: New file. Document the new features.
55669
55670 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
55671 Jakub Jelinek <jakub@redhat.com>
55672
55673 [BZ #14188]
55674 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
55675 where __builtin_expect is unavailable.
55676
55677 2012-06-03 David S. Miller <davem@davemloft.net>
55678
55679 * stdlib/longlong.h: Updated from GCC.
55680
55681 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
55682
55683 [BZ #14042]
55684 * sysdeps/powerpc/powerpc32/mcount.c: New file.
55685 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
55686 __mcount_internal.
55687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55688 (GLIBC_2.16): Likewise.
55689
55690 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
55691
55692 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
55693
55694 2012-06-01 Joseph Myers <joseph@codesourcery.com>
55695
55696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
55697 (default-abi): New variable.
55698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
55699 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
55700 variable.
55701 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
55702 Likewise.
55703 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
55704 Likewise.
55705 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
55706 Likewise.
55707
55708 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
55709 definition. Document in comment.
55710
55711 2012-06-01 David S. Miller <davem@davemloft.net>
55712
55713 * stdlib/longlong.h: Updated from GCC.
55714
55715 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
55716
55717 [BZ #14117]
55718 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
55719 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
55720 sys/debugreg.h sys/io.h here.
55721 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
55722 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
55723 sys/io.h.
55724 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
55725 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
55726 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
55727 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
55728 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
55729 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
55730
55731 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
55732 Define only if __x86_64__ is defined.
55733
55734 2012-06-01 Joseph Myers <joseph@codesourcery.com>
55735
55736 [BZ #14048]
55737 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
55738 Use int64_t for variable i.
55739 * math/libm-test.inc (fmod_test): Add more tests.
55740
55741 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
55742 z computation is not scheduled after fetestexcept.
55743 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
55744 Use math_force_eval instead of asm to ensure calculation scheduled
55745 before exception test.
55746 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
55747 Ensure a1 + u.d computation is not scheduled after fetestexcept.
55748
55749 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
55750
55751 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
55752 computation is not scheduled after fetestexcept.
55753
55754 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
55755
55756 [BZ #14117]
55757 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
55758 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
55759
55760 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55761
55762 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
55763 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55764
55765 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
55766
55767 [BZ #14117]
55768 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
55769 <bits/wordsize.h>.
55770 (__WCHAR_MIN): Support __WORDSIZE == 64.
55771 (__WCHAR_MAX): Likewise.
55772
55773 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
55774 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
55775
55776 [BZ #14183]
55777 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
55778 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
55779
55780 [BZ #14117]
55781 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
55782 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
55783
55784 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
55785 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
55786
55787 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
55788 Defined to 1 if __x86_64__ isn't defined.
55789 (_STAT_VER_LINUX_OLD): New.
55790 (st_atime): Remove duplicate.
55791 (st_mtime): Likewise.
55792 (st_ctime): Likewise.
55793
55794 2012-05-31 David S. Miller <davem@davemloft.net>
55795
55796 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
55797 entries.
55798
55799 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
55800
55801 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
55802 gen-libm-test.pl.
55803
55804 [BZ #14132]
55805 * elf/dl-reloc.c: Include <_itoa.h>.
55806 (_dl_reloc_bad_type): Remove use of INTUSE.
55807 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
55808 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
55809 * stdio-common/psiginfo.c (psiginfo): Likewise.
55810 * stdio-common/psignal.c (psignal): Likewise.
55811 * string/strsignal.c (strsignal): Likewise.
55812 * include/signal.h (_sys_siglist): Declare hidden proto.
55813 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
55814 INTVARDEF with libc_hidden_data_def.
55815 * stdio-common/itoa-udigits.c: Likewise.
55816 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
55817 (_itoa_lower_digits_internal): Remove declaration.
55818 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
55819 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
55820 (_sys_sigabbrev_internal): Remove aliases.
55821 (_sys_siglist): Define hidden alias.
55822
55823 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
55824
55825 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55826 bits/sysctl.h.
55827
55828 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
55829
55830 [BZ #14117]
55831 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
55832 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
55833
55834 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
55835 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
55836 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
55837 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
55838 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
55839 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
55840
55841 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
55842 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
55843 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
55844
55845 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
55846 with __addr.
55847 (insw): Likewise.
55848 (insl): Likewise.
55849 (outsb): Likewise.
55850 (outsw): Likewise.
55851 (outsl): Likewise.
55852
55853 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
55854 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
55855 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
55856
55857 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
55858 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
55859 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
55860 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
55861 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
55862 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
55863
55864 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
55865 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
55866
55867 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
55868 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
55869
55870 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
55871 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
55872 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
55873
55874 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
55875 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
55876 to ...
55877 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
55878
55879 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
55880 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
55881 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
55882
55883 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
55884 for x86-64.
55885 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
55886
55887 2012-05-31 Joseph Myers <joseph@codesourcery.com>
55888
55889 * math/math.h (M_El): Use two more decimal places.
55890 (M_LOG2El): Likewise.
55891 (M_LOG10El): Likewise.
55892 (M_LN2l): Likewise.
55893 (M_LN10l): Likewise.
55894 (M_PIl): Likewise.
55895 (M_PI_2l): Likewise.
55896 (M_PI_4l): Likewise.
55897 (M_1_PIl): Likewise.
55898 (M_2_PIl): Likewise.
55899 (M_2_SQRTPIl): Likewise.
55900 (M_SQRT2l): Likewise.
55901 (M_SQRT1_2l): Likewise.
55902
55903 2012-05-31 David S. Miller <davem@davemloft.net>
55904
55905 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
55906 values between float registers.
55907 * sysdeps/sparc/sparc64/memset.S: Likewise.
55908 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55909
55910 2012-05-31 Mike Frysinger <vapier@gentoo.org>
55911
55912 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
55913 -D_FORTIFY_SOURCE=1.
55914 (CPPFLAGS-tst-longjmp_chk.c): Define.
55915 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
55916 (CPPFLAGS-tst-longjmp_chk2.c): Define.
55917 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
55918 CFLAGS-tst-wchar-h.c.
55919
55920 2012-05-31 Marek Polacek <polacek@redhat.com>
55921
55922 [BZ #14132]
55923 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
55924 __endmntent_internal): Remove declaration.
55925 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
55926 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
55927 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
55928
55929 2012-05-30 David S. Miller <davem@davemloft.net>
55930
55931 * sysdeps/sparc/sparc32/soft-fp/q_util.c
55932 (___Q_simulate_exceptions): Use real FP ops rather than writing
55933 into the %fsr.
55934 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
55935 Likewise.
55936
55937 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
55938
55939 [BZ #14117]
55940 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
55941 * sysdeps/x86/bits/xtitypes.h: This.
55942
55943 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
55944 * sysdeps/x86/bits/wordsize.h: This.
55945
55946 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
55947 * sysdeps/x86/bits/huge_vall.h: This.
55948
55949 * sysdeps/i386/bits/select.h: Removed.
55950 * sysdeps/x86_64/bits/select.h: Renamed to ...
55951 * sysdeps/x86/bits/select.h: This.
55952
55953 * sysdeps/i386/bits/setjmp.h: Removed.
55954 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
55955 * sysdeps/x86/bits/setjmp.h: This.
55956
55957 * sysdeps/i386/bits/mathdef.h: Removed.
55958 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
55959 * sysdeps/x86/bits/mathdef.h: This.
55960
55961 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
55962
55963 [BZ #14132]
55964 * include/sys/socket.h (__connect_internal)
55965 (__libc_sa_len_internal): Remove declaration.
55966 (__connect, __libc_sa_len): Declare hidden_proto.
55967 (SA_LEN): Remove use of INTUSE.
55968 * socket/connect.c: Add libc_hidden_def.
55969 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
55970 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
55971 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
55972 alias.
55973 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
55974 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
55975 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
55976 of adding _internal alias.
55977
55978 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
55979
55980 [BZ #14117]
55981 * sysdeps/i386/bits/link.h: Removed.
55982 * sysdeps/i386/bits/linkmap.h: Likewise.
55983 * sysdeps/x86_64/bits/link.h: Renamed to ...
55984 * sysdeps/x86/bits/link.h: This.
55985 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
55986 * sysdeps/x86/bits/linkmap.h: This.
55987
55988 * sysdeps/i386/bits/endian.h: Removed.
55989 * sysdeps/x86_64/bits/endian.h: Renamed to ...
55990 * sysdeps/x86/bits/endian.h: This.
55991
55992 * sysdeps/i386/bits/byteswap.h: Removed.
55993 * sysdeps/i386/bits/byteswap-16.h: Likewise.
55994 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
55995 * sysdeps/x86/bits/byteswap.h: This.
55996 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
55997 * sysdeps/x86/bits/byteswap-16.h: This.
55998 * sysdeps/i386/Implies: Add x86.
55999 * sysdeps/x86_64/Implies: Likewise.
56000
56001 2012-05-30 David S. Miller <davem@davemloft.net>
56002
56003 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
56004 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
56005 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56006 (FP_TRAPPING_EXCEPTIONS): Define.
56007 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56008 (FP_TRAPPING_EXCEPTIONS): Define.
56009 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
56010 subnormals only when inexact has been signalled or underflow
56011 exceptions are enabled.
56012 (_FP_PACK_CANONICAL): Likewise.
56013
56014 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
56015
56016 [BZ #14183]
56017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
56018 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
56019
56020 2012-05-30 Richard Henderson <rth@twiddle.net>
56021
56022 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
56023 with #ifndef NOT_IN_libc.
56024
56025 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
56026 marked to avoid plt entry.
56027
56028 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
56029
56030 [BZ #14112]
56031 * Makeconfig (default-abi): New macro.
56032 (abi-includes): Likewise.
56033 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
56034 $(abi-$(default-abi)-lib-soname) for soname if defined.
56035 ($(common-objpfx)gnu/lib-names.stmp): Generate from
56036 abi-variants.
56037 * Makefile (installed-stubs): Likewise.
56038 * include/stubs-biarch.h: Removed.
56039 * scripts/lib-names.awk: Only handle one library at a time.
56040 * scripts/soversions.awk: Remove WORDSIZE support.
56041 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
56042 entries.
56043 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
56044 Removed.
56045 (syscall-list-default-condition): Likewise.
56046 (syscall-list-default-condition): Likewise.
56047 (syscall-list-includes): Likewise.
56048 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
56049 syscall-list-* with abi-*. Handle undefined abi-variants.
56050 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
56051 * sysdeps/unix/sysv/linux/i386/Implies: New file.
56052 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
56053 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
56054 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
56055 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
56056 Removed.
56057 (syscall-list-32-options): Likewise.
56058 (syscall-list-32-condition): Likewise.
56059 (syscall-list-64-options): Likewise.
56060 (syscall-list-64-condition): Likewise.
56061 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
56062 macro.
56063 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
56064 Renamed to ...
56065 (abi-*): This.
56066 (abi-64-ld-soname): New macro.
56067 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
56068 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
56069 Renamed to ...
56070 (abi-*): This.
56071 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
56072 * sysdeps/x86_64/x32/shlib-versions: Likewise.
56073
56074 2012-05-30 Joseph Myers <joseph@codesourcery.com>
56075
56076 * sysdeps/unix/sysv/linux/kernel-features.h
56077 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
56078 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
56079 include <kernel-features.h>.
56080 [!__NR_ftruncate64]: Remove conditional code.
56081 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56082 [__NR_ftruncate64]: Make code unconditional.
56083 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56084 * sysdeps/unix/sysv/linux/truncate64.c: Do not
56085 include <kernel-features.h>.
56086 [!__NR_ftruncate64]: Remove conditional code.
56087 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56088 [__NR_ftruncate64]: Make code unconditional.
56089 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
56091 include <kernel-features.h>.
56092 [!__NR_ftruncate64]: Remove conditional code.
56093 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56094 [__NR_ftruncate64]: Make code unconditional.
56095 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56097 include <kernel-features.h>.
56098 [!__NR_ftruncate64]: Remove conditional code.
56099 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56100 [__NR_ftruncate64]: Make code unconditional.
56101 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
56102
56103 * configure.in (libc_cv_fpie): Weaken to a compile test using
56104 LIBC_TRY_CC_OPTION.
56105 * configure: Regenerated.
56106
56107 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56108
56109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
56110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
56111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
56112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56113 Refreshed.
56114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
56115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
56116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
56117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
56118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
56119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56120 Refreshed.
56121
56122 2012-05-27 David S. Miller <davem@davemloft.net>
56123
56124 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
56125 (___Q_zero): New.
56126 (__Q_simulate_exceptions): Return void. Change to simulate
56127 exceptions by writing into the %fsr.
56128 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
56129 (__Qp_handle_exceptions): Likewise.
56130 (numbers): Delete.
56131 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
56132 __Qp_handle_exceptions.
56133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
56134 __Qp_handle_exceptions.
56135 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56136 as unused and give dummy FP_RND_NEAREST initializer.
56137 (FP_INHIBIT_RESULTS): Define.
56138 (___Q_simulate_exceptions): Update declaration.
56139 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
56140 formatting.
56141 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
56142 as unused and give dummy FP_RND_NEAREST initializer.
56143 (__Qp_handle_exceptions): Update declaration.
56144 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
56145 formatting.
56146
56147 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
56148
56149 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
56150 the temporary FPU control word.
56151 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
56152 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
56153 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
56154 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56155 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
56156 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
56157 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
56158 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56159 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
56160 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
56161 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56162
56163 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
56164
56165 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
56166 fields.
56167
56168 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
56169
56170 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
56171 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
56172 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
56173 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
56174 Likewise.
56175 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
56176 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
56177 Likewise.
56178
56179 2012-05-27 Ulrich Drepper <drepper@gmail.com>
56180
56181 * po/h.po: Update from translation team.
56182
56183 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
56184
56185 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
56186
56187 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
56188 handling of denormals.
56189 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56190 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56191 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56192 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56193 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
56195 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
56196 Likewise.
56197
56198 2012-05-26 Marek Polacek <polacek@redhat.com>
56199
56200 [BZ #14152]
56201 * math/libm-test.inc (fma_test): Don't always expect underflow
56202 exception.
56203
56204 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
56205
56206 [BZ #12416]
56207 * elf/tst-execstack.c: Include stackinfo.h.
56208 (do_test): Adjust test case to ensure that pthread_getattr_np
56209 behaviour remains the same after marking stack executable.
56210
56211 2012-05-25 Joseph Myers <joseph@codesourcery.com>
56212
56213 * sysdeps/unix/sysv/linux/kernel-features.h
56214 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
56215 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
56216 kernel-features.h.
56217 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56218 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56219 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
56220 kernel-features.h.
56221 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
56222 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
56223
56224 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
56225
56226 * configure.in: Define the default includes to being none.
56227 * configure: Regenerated.
56228
56229 2012-05-25 Roland McGrath <roland@hack.frob.com>
56230
56231 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
56232 * sysdeps/x86_64/setjmp.S: Likewise.
56233 * sysdeps/i386/bsd-setjmp.S: Likewise.
56234 * sysdeps/i386/bsd-_setjmp.S: Likewise.
56235 * sysdeps/i386/setjmp.S: Likewise.
56236 * sysdeps/i386/__longjmp.S: Likewise.
56237 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56238 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
56239
56240 * include/stap-probe.h: New file.
56241 * configure.in: Handle --enable-systemtap.
56242 * configure: Regenerated.
56243 * config.h.in (USE_STAP_PROBE): New #undef.
56244 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
56245 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
56246 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
56247
56248 2012-05-25 Joseph Myers <joseph@codesourcery.com>
56249
56250 [BZ #13717]
56251 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
56252 to 2.4.0 where earlier.
56253 * sysdeps/unix/sysv/linux/configure: Regenerated.
56254 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56255 <kernel-features.h>.
56256 [__ASSUME_32BITUIDS]: Make code unconditional.
56257 [!__ASSUME_32BITUIDS]: Remove conditional code.
56258 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
56259 <kernel-features.h>.
56260 [__ASSUME_32BITUIDS]: Make code unconditional.
56261 [!__ASSUME_32BITUIDS]: Remove conditional code.
56262 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
56263 [__ASSUME_32BITUIDS]: Make code unconditional.
56264 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
56265 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
56266 <kernel-features.h>.
56267 [__ASSUME_32BITUIDS]: Make code unconditional.
56268 [!__ASSUME_32BITUIDS]: Remove conditional code.
56269 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
56270 <kernel-features.h>.
56271 [__ASSUME_32BITUIDS]: Make code unconditional.
56272 [!__ASSUME_32BITUIDS]: Remove conditional code.
56273 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
56274 <kernel-features.h>.
56275 [__ASSUME_32BITUIDS]: Make code unconditional.
56276 [!__ASSUME_32BITUIDS]: Remove conditional code.
56277 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
56278 <kernel-features.h>.
56279 [__ASSUME_32BITUIDS]: Make code unconditional.
56280 [!__ASSUME_32BITUIDS]: Remove conditional code.
56281 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56282 <kernel-features.h>.
56283 [__ASSUME_32BITUIDS]: Make code unconditional.
56284 [!__ASSUME_32BITUIDS]: Remove conditional code.
56285 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56286 <kernel-features.h>.
56287 [__ASSUME_32BITUIDS]: Make code unconditional.
56288 [!__ASSUME_32BITUIDS]: Remove conditional code.
56289 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
56290 <kernel-features.h>.
56291 [__ASSUME_32BITUIDS]: Make code unconditional.
56292 [!__ASSUME_32BITUIDS]: Remove conditional code.
56293 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56294 <kernel-features.h>.
56295 [__ASSUME_32BITUIDS]: Make code unconditional.
56296 [!__ASSUME_32BITUIDS]: Remove conditional code.
56297 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56298 <kernel-features.h>.
56299 [__ASSUME_32BITUIDS]: Make code unconditional.
56300 [!__ASSUME_32BITUIDS]: Remove conditional code.
56301 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
56302 <kernel-features.h>.
56303 [__ASSUME_32BITUIDS]: Make code unconditional.
56304 [!__ASSUME_32BITUIDS]: Remove conditional code.
56305 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
56306 <kernel-features.h>.
56307 [__NR_setresgid] (__setresgid): Do not declare.
56308 [__ASSUME_32BITUIDS]: Make code unconditional.
56309 [!__ASSUME_32BITUIDS]: Remove conditional code.
56310 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
56311 <kernel-features.h>.
56312 [__NR_setresuid] (__setresuid): Do not declare.
56313 [__ASSUME_32BITUIDS]: Make code unconditional.
56314 [!__ASSUME_32BITUIDS]: Remove conditional code.
56315 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
56316 <kernel-features.h>.
56317 [__ASSUME_32BITUIDS]: Make code unconditional.
56318 [!__ASSUME_32BITUIDS]: Remove conditional code.
56319 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
56320 <kernel-features.h>.
56321 [__ASSUME_32BITUIDS]: Make code unconditional.
56322 [!__ASSUME_32BITUIDS]: Remove conditional code.
56323 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
56324 <kernel-features.h>.
56325 [__ASSUME_32BITUIDS]: Make code unconditional.
56326 [!__ASSUME_32BITUIDS]: Remove conditional code.
56327 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
56328 <kernel-features.h>.
56329 [__ASSUME_32BITUIDS]: Make code unconditional.
56330 [!__ASSUME_32BITUIDS]: Remove conditional code.
56331 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
56332 <kernel-features.h>.
56333 [__ASSUME_32BITUIDS]: Make code unconditional.
56334 [!__ASSUME_32BITUIDS]: Remove conditional code.
56335 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
56336 <kernel-features.h>.
56337 [__ASSUME_32BITUIDS]: Make code unconditional.
56338 [!__ASSUME_32BITUIDS]: Remove conditional code.
56339 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
56340 <kernel-features.h>.
56341 [__ASSUME_32BITUIDS]: Make code unconditional.
56342 [!__ASSUME_32BITUIDS]: Remove conditional code.
56343 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
56344 <kernel-features.h>.
56345 [__ASSUME_32BITUIDS]: Make code unconditional.
56346 [!__ASSUME_32BITUIDS]: Remove conditional code.
56347 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
56348 <kernel-features.h>.
56349 [__ASSUME_32BITUIDS]: Make code unconditional.
56350 [!__ASSUME_32BITUIDS]: Remove conditional code.
56351 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56352 <kernel-features.h>.
56353 [__ASSUME_32BITUIDS]: Make code unconditional.
56354 [!__ASSUME_32BITUIDS]: Remove conditional code.
56355 * sysdeps/unix/sysv/linux/kernel-features.h
56356 (__ASSUME_SETRESUID_SYSCALL): Remove.
56357 (__ASSUME_SETRESGID_SYSCALL): Likewise.
56358 (__ASSUME_32BITUIDS): Likewise.
56359 (__ASSUME_LDT_WORKS): Likewise.
56360 (__ASSUME_O_DIRECTORY): Likewise.
56361 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
56362 architecture but not kernel version.
56363 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
56364 (__ASSUME_MMAP2_SYSCALL): Likewise.
56365 (__ASSUME_STAT64_SYSCALL): Likewise.
56366 (__ASSUME_IPC64): Likewise.
56367 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
56368 <kernel-features.h>.
56369 [__ASSUME_32BITUIDS]: Make code unconditional.
56370 [!__ASSUME_32BITUIDS]: Remove conditional code.
56371 * sysdeps/unix/sysv/linux/opendir.c: Do not include
56372 <kernel-features.h>.
56373 [__ASSUME_O_DIRECTORY]: Make code unconditional.
56374 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
56375 132096]: Remove conditional code.
56376 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
56377 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56378 <kernel-features.h>.
56379 [__ASSUME_32BITUIDS]: Make code unconditional.
56380 [!__ASSUME_32BITUIDS]: Remove conditional code.
56381 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56382 <kernel-features.h>.
56383 [__ASSUME_32BITUIDS]: Make code unconditional.
56384 [!__ASSUME_32BITUIDS]: Remove conditional code.
56385 * sysdeps/unix/sysv/linux/setegid.c: Do not include
56386 <kernel-features.h>.
56387 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
56388 unconditional.
56389 (__setresgid): Do not declare.
56390 [__ASSUME_32BITUIDS]: Make code unconditional.
56391 [!__ASSUME_32BITUIDS]: Remove conditional code.
56392 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
56393 <kernel-features.h>.
56394 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
56395 unconditional.
56396 (__setresuid): Do not declare.
56397 [__ASSUME_32BITUIDS]: Make code unconditional.
56398 [!__ASSUME_32BITUIDS]: Remove conditional code.
56399 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56400 <kernel-features.h>.
56401 [__ASSUME_32BITUIDS]: Make code unconditional.
56402 [!__ASSUME_32BITUIDS]: Remove conditional code.
56403 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
56404 <kernel-features.h>.
56405 [__ASSUME_32BITUIDS]: Make code unconditional.
56406 [!__ASSUME_32BITUIDS]: Remove conditional code.
56407
56408 2012-05-25 Richard Henderson <rth@twiddle.net>
56409
56410 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
56411 dl_hwcap to ifunc resolver.
56412 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
56413 elf_ifunc_invoke.
56414 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
56415 dl_hwcap to ifunc resolver.
56416 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
56417
56418 2012-05-24 Joseph Myers <joseph@codesourcery.com>
56419
56420 [BZ #14153]
56421 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
56422 for |x| <= 2**-26, not 2**-57.
56423 * math/libm-test.inc (acos_test): Do not allow spurious underflow
56424 exception.
56425
56426 2012-05-24 Jeff Law <law@redhat.com>
56427
56428 * stdio-common/Makefile (tests): Add bug25.
56429 * stdio-common/bug25.c: New test.
56430
56431 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
56432
56433 [BZ #13576]
56434 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
56435 multiple of MALLOC_ALIGNMENT in size.
56436 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
56437
56438 2012-05-24 Joseph Myers <joseph@codesourcery.com>
56439
56440 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
56441 Require >= 256.
56442 (FILENAME_MAX): Use macro-int-constant.
56443 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
56444 (_IOFBF): Use macro-int-constant.
56445 (_IOLBF): Likewise.
56446 (_IONBF): Likewise.
56447 (SEEK_CUR): Likewise.
56448 (SEEK_END): Likewise.
56449 (SEEK_SET): Likewise.
56450 (TMP_MAX): Likewise.
56451 (EOF): Use macro-int-constant. Require < 0.
56452 (NULL): Use macro-constant. Require == 0.
56453 (stdin): Require type to be FILE *.
56454 (stdout): Likewise.
56455 (stderr): Likewise.
56456 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
56457 macro-int-constant.
56458 (EXIT_SUCCESS): Likewise.
56459 (NULL): Use macro-constant. Require == 0.
56460 (RAND_MAX): Use macro-int-constant.
56461 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
56462 [C99-based standards] (strtof): Require function.
56463 [C99-based standards] (strtold): Likewise.
56464 [C99-based standards] (strtoll): Likewise.
56465 [C99-based standards] (strtoull): Likewise.
56466 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56467 [ISO || ISO99 || ISO11] (limits.h): Likewise.
56468 [ISO || ISO99 || ISO11] (math.h): Likewise.
56469 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
56470 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56471 [ISO || ISO99 || ISO11] (*_t): Do not allow.
56472
56473 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
56474
56475 [BZ #14132]
56476 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
56477 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
56478 * intl/dgettext.c (DCGETTEXT): Likewise.
56479 * intl/gettext.c (DCGETTEXT): Likewise.
56480 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
56481 * posix/regex_internal.h (gettext): Likewise.
56482 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
56483 Remove declaration.
56484 * include/argz.h (__argz_count_internal)
56485 (__argz_stringify_internal): Remove declaration.
56486 (__argz_count, __argz_stringify): Declare hidden proto.
56487 * intl/dcgettext.c: Remove use of INTDEF.
56488 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
56489 * string/argz-stringify.c: Likewise.
56490 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56491 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56492 Declare hidden proto.
56493 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56494 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56495 Declare hidden proto.
56496 * include/stdio.h (__asprintf_internal): Don't declare.
56497 (__asprintf): Don't define as macro. Declare hidden proto.
56498 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
56499 (__fsetlocking): Declare hidden proto.
56500 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
56501 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
56502 hidden proto.
56503 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
56504 (_IO_setlinebuf): Remove use of INTUSE.
56505 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
56506 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
56507 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
56508 Remove declaration.
56509 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
56510 (_IO_do_flush): Remove use of INTUSE.
56511 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
56512 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
56513 (_IO_adjust_column, _IO_least_wmarker)
56514 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
56515 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
56516 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
56517 (_IO_default_doallocate, _IO_wdefault_doallocate)
56518 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
56519 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
56520 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
56521 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
56522 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
56523 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
56524 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
56525 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
56526 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
56527 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
56528 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
56529 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
56530 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
56531 proto.
56532 (_IO_flush_all_internal, _IO_adjust_column_internal)
56533 (_IO_default_uflow_internal, _IO_default_finish_internal)
56534 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
56535 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
56536 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
56537 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
56538 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
56539 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
56540 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
56541 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
56542 (_IO_file_close_internal, _IO_file_close_it_internal)
56543 (_IO_file_underflow_internal, _IO_file_overflow_internal)
56544 (_IO_file_init_internal, _IO_file_attach_internal)
56545 (_IO_file_fopen_internal, _IO_file_read_internal)
56546 (_IO_file_sync_internal, _IO_file_seek_internal)
56547 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
56548 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
56549 (_IO_str_underflow_internal, _IO_str_overflow_internal)
56550 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
56551 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
56552 (_IO_list_all_internal, _IO_link_in_internal)
56553 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
56554 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
56555 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
56556 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
56557 (_IO_do_write_internal, _IO_padn_internal)
56558 (_IO_getline_info_internal, _IO_getline_internal)
56559 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
56560 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
56561 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
56562 (_IO_vfscanf_internal, _IO_vfprintf_internal)
56563 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
56564 (_IO_init_internal, _IO_un_link_internal): Don't declare.
56565 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
56566 with libc_hidden_ver, remove use of INTUSE.
56567 * libio/genops.c: Likewise.
56568 * libio/freopen.c: Likewise.
56569 * libio/freopen64.c: Likewise.
56570 * libio/iofclose.c: Likewise.
56571 * libio/iofdopen.c: Likewise.
56572 * libio/iofflush.c: Likewise.
56573 * libio/iofflush_u.c: Likewise.
56574 * libio/iofgets.c: Likewise.
56575 * libio/iofgets_u.c: Likewise.
56576 * libio/iofopen.c: Likewise.
56577 * libio/iofopncook.c: Likewise.
56578 * libio/iofread.c: Likewise.
56579 * libio/iofread_u.c: Likewise.
56580 * libio/ioftell.c: Likewise.
56581 * libio/iofwrite.c: Likewise.
56582 * libio/iogetline.c: Likewise.
56583 * libio/iogets.c: Likewise.
56584 * libio/iogetwline.c: Likewise.
56585 * libio/iopadn.c: Likewise.
56586 * libio/iopopen.c: Likewise.
56587 * libio/ioseekoff.c: Likewise.
56588 * libio/ioseekpos.c: Likewise.
56589 * libio/iosetbuffer.c: Likewise.
56590 * libio/iosetvbuf.c: Likewise.
56591 * libio/ioungetc.c: Likewise.
56592 * libio/ioungetwc.c: Likewise.
56593 * libio/iovdprintf.c: Likewise.
56594 * libio/iovsprintf.c: Likewise.
56595 * libio/iovsscanf.c: Likewise.
56596 * libio/memstream.c: Likewise.
56597 * libio/obprintf.c: Likewise.
56598 * libio/oldfileops.c: Likewise.
56599 * libio/oldiofclose.c: Likewise.
56600 * libio/oldiofdopen.c: Likewise.
56601 * libio/oldiofopen.c: Likewise.
56602 * libio/oldiopopen.c: Likewise.
56603 * libio/oldstdfiles.c: Likewise.
56604 * libio/putc.c: Likewise.
56605 * libio/setbuf.c: Likewise.
56606 * libio/setlinebuf.c: Likewise.
56607 * libio/stdfiles.c: Likewise.
56608 * libio/strops.c: Likewise.
56609 * libio/vasprintf.c: Likewise.
56610 * libio/vscanf.c: Likewise.
56611 * libio/vsnprintf.c: Likewise.
56612 * libio/vswprintf.c: Likewise.
56613 * libio/wfiledoalloc.c: Likewise.
56614 * libio/wfileops.c: Likewise.
56615 * libio/wgenops.c: Likewise.
56616 * libio/wmemstream.c: Likewise.
56617 * libio/wstrops.c: Likewise.
56618 * libio/__fpurge.c: Likewise.
56619 * libio/__fsetlocking.c: Likewise.
56620 * assert/assert.c: Likewise.
56621 * debug/fgets_chk.c: Likewise.
56622 * debug/fgets_u_chk.c: Likewise.
56623 * debug/fread_chk.c: Likewise.
56624 * debug/fread_u_chk.c: Likewise.
56625 * debug/gets_chk.c: Likewise.
56626 * debug/obprintf_chk.c: Likewise.
56627 * debug/vasprintf_chk.c: Likewise.
56628 * debug/vdprintf_chk.c: Likewise.
56629 * debug/vsnprintf_chk.c: Likewise.
56630 * debug/vsprintf_chk.c: Likewise.
56631 * malloc/mtrace.c: Likewise.
56632 * misc/error.c: Likewise.
56633 * misc/syslog.c: Likewise.
56634 * stdio-common/asprintf.c: Likewise.
56635 * stdio-common/fxprintf.c: Likewise.
56636 * stdio-common/getw.c: Likewise.
56637 * stdio-common/isoc99_fscanf.c: Likewise.
56638 * stdio-common/isoc99_scanf.c: Likewise.
56639 * stdio-common/isoc99_vfscanf.c: Likewise.
56640 * stdio-common/isoc99_vscanf.c: Likewise.
56641 * stdio-common/isoc99_vsscanf.c: Likewise.
56642 * stdio-common/printf-prs.c: Likewise.
56643 * stdio-common/printf_fp.c: Likewise.
56644 * stdio-common/printf_fphex.c: Likewise.
56645 * stdio-common/printf_size.c: Likewise.
56646 * stdio-common/putw.c: Likewise.
56647 * stdio-common/scanf.c: Likewise.
56648 * stdio-common/sprintf.c: Likewise.
56649 * stdio-common/tmpfile.c: Likewise.
56650 * stdio-common/vfprintf.c: Likewise.
56651 * stdio-common/vfscanf.c: Likewise.
56652 * stdlib/strfmon_l.c: Likewise.
56653 * sunrpc/openchild.c: Likewise.
56654 * sunrpc/xdr_stdio.c: Likewise.
56655 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
56656 * sysdeps/mach/hurd/tmpfile.c: Likewise.
56657
56658 2012-05-24 Roland McGrath <roland@hack.frob.com>
56659
56660 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56661
56662 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
56663 in the third column, to generate for the shared library an IFUNC
56664 that uses _dl_vdso_vsym.
56665 * Makerules (COMPILE.c, compile-stdin.c): New variables.
56666 * Makeconfig (object-suffixes-noshared): New variable.
56667
56668 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
56669 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
56670 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
56671 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
56672
56673 [BZ #14132]
56674 * include/sys/time.h (__gettimeofday): Remove macro.
56675 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
56676 * time/gettimeofday.c (__gettimeofday): Remove #undef.
56677 Remove INTDEF.
56678 (__gettimeofday): Add libc_hidden_def.
56679 (gettimeofday): Add libc_hidden_weak.
56680 * sysdeps/mach/gettimeofday.c: Likewise.
56681 * sysdeps/posix/gettimeofday.c: Likewise.
56682 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
56683 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
56684 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
56685 (__gettimeofday_internal): Remove strong_alias.
56686 (__gettimeofday): Add libc_hidden_def.
56687 (gettimeofday): Add libc_hidden_weak.
56688 * sysdeps/unix/syscalls.list (gettimeofday):
56689 Remove __gettimeofday_internal alias.
56690
56691 2012-05-24 Daniel Jacobowitz <drow@false.org>
56692 H.J. Lu <hongjiu.lu@intel.com>
56693
56694 [BZ #12495]
56695 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
56696 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
56697 (largebin_index_32_big): New.
56698 (largebin_index): Use it for 16-byte alignment.
56699 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
56700 correction with front_misalign.
56701
56702 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
56703
56704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
56705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
56706 Likewise.
56707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
56708 Likewise.
56709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56710 Likewise.
56711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
56712 Likewise.
56713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
56714 Likewise.
56715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
56716 Likewise.
56717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
56718 Likewise.
56719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56720 Likewise.
56721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
56722 Likewise.
56723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
56724 Likewise.
56725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
56726 Likewise.
56727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
56728 Likewise.
56729
56730 * scripts/data/c++-types-x32-linux-gnu.data: New file.
56731 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
56732
56733 2012-05-24 Joseph Myers <joseph@codesourcery.com>
56734
56735 [BZ #10846]
56736 [BZ #14036]
56737 * math/libm-test.inc (exp_test): Add test from bug 14036.
56738 (pow_test): Add test from bug 10846.
56739
56740 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
56741 and other flags.
56742 (special_function): Do not include flags in test name.
56743 (parse_args): Likewise.
56744 * sysdeps/i386/fpu/libm-test-ulps: Update.
56745 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56746 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56747 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56749
56750 * math/gen-libm-test.pl (%beautify): Add entries for underflow
56751 exceptions.
56752 * math/libm-test.inc ("Philosophy"): Update comment about
56753 exception testing.
56754 (UNDERFLOW_EXCEPTION): New macro.
56755 (UNDERFLOW_EXCEPTION_OK): Likewise.
56756 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
56757 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
56758 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
56759 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
56760 (INVALID_EXCEPTION_OK): Update value.
56761 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56762 (OVERFLOW_EXCEPTION_OK): Likewise.
56763 (IGNORE_ZERO_INF_SIGN): Likewise.
56764 (test_exceptions): Handle underflow exceptions.
56765 (acos_test): Update for underflow exception expectations.
56766 (cexp_test): Likewise.
56767 (clog_test): Likewise.
56768 (clog10_test): Likewise.
56769 (csqrt_test): Likewise.
56770 (ctan_test): Likewise.
56771 (ctanh_test): Likewise.
56772 (exp_test): Likewise.
56773 (exp10_test): Likewise.
56774 (exp2_test): Likewise.
56775 (expm1_test): Likewise.
56776 (fma_test): Likewise.
56777 (j0_test): Likewise.
56778 (jn_test): Likewise.
56779 (nexttoward_test): Likewise.
56780 (pow_test): Likewise.
56781 (scalbn_test): Likewise.
56782 (scalbln_test): Likewise.
56783 (tan_test): Likewise.
56784 (y1_test): Likewise.
56785 * sysdeps/i386/fpu/libm-test-ulps: Update.
56786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56787
56788 2012-05-23 David S. Miller <davem@davemloft.net>
56789
56790 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56791 (__libc_sigaction): Remove unused local variables.
56792
56793 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
56794
56795 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
56796
56797 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
56798
56799 mktime: avoid signed integer overflow
56800 * time/mktime.c (__mktime_internal): Do not mishandle the case
56801 where diff == INT_MIN.
56802
56803 mktime: simplify computation of average
56804 * time/mktime.c (ranged_convert): Use new time_t_avg function
56805 instead of rolling our own (probably-slower) code.
56806
56807 mktime: do not assume signed right shift propagates sign bit
56808 * time/mktime.c (isdst_differ): New static function.
56809 (__mktime_internal): No need to normalize tm_isdst now.
56810 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
56811 tm_isdst values.
56812
56813 mktime: merge another wrapv change from gnulib
56814 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
56815 from some compilers.
56816
56817 mktime: remove incorrect attempt at unusual arithmetics
56818 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
56819 The code didn't really work on such machines anyway.
56820 (TYPE_MINIMUM): Assume two's complement.
56821 (twos_complement_arithmetic): Verify that long_int and time_t
56822 are two's complement (or unsigned, in the latter case).
56823
56824 mktime: check signed shifts on long_int and time_t, too
56825 * time/mktime.c (SHR): Check that shifts work as desired
56826 on the types long_int and time_t too, as SHR is used on
56827 such types.
56828
56829 mktime: do not assume 'long' is wide enough
56830 * time/mktime.c (verify): Move decl up.
56831 (long_int): New type.
56832 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
56833 to remove assumption in the code that 'long' is wide enough to
56834 store year values. This assumption is not true on x32 and on
56835 some non-glibc platforms.
56836
56837 mktime: merge wrapv change from gnulib
56838 * time/mktime.c (WRAPV): New macro.
56839 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
56840 (guess_time_tm, __mktime_internal): Do not assume that signed
56841 integer overflow wraps around; modern compilers generate code
56842 where this assumption is no longer valid.
56843
56844 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
56845
56846 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56847 Replace "jmp L(pseudo_end)" with "ret".
56848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
56849 Likewise.
56850
56851 2012-05-23 Andreas Jaeger <aj@suse.de>
56852
56853 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
56854 * sysdeps/unix/sysv/linux/poll.c: Remove file.
56855
56856 2012-05-23 Andreas Jaeger <aj@suse.de>
56857 Maximilian Attems <max@stro.at>
56858
56859 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
56860 New macros.
56861
56862 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
56863
56864 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
56865 code so that pseudo_end is just ret and the stack pointer is
56866 correct also for static library in error case.
56867
56868 2012-05-23 Joseph Myers <joseph@codesourcery.com>
56869
56870 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
56871 move to syscalls.list.
56872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
56873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
56874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
56875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
56876
56877 * manual/install.texi (Running make install): Do not mention Linux
56878 kernel version for which pt_chown is not needed.
56879 (Linux): Do not mention problems with nscd with 2.0 kernels.
56880 * INSTALL: Regenerated.
56881
56882 2012-05-23 Andreas Jaeger <aj@suse.de>
56883
56884 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
56885 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
56886 macro.
56887 * sysdeps/unix/sysv/linux/s390/bits/mman.h
56888 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56889 * sysdeps/unix/sysv/linux/sh/bits/mman.h
56890 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56891 * sysdeps/unix/sysv/linux/i386/bits/mman.h
56892 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56893 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
56894 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56895 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
56896 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56897 * sysdeps/unix/sysv/linux/bits/in.h
56898 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
56899
56900 2012-05-22 Roland McGrath <roland@hack.frob.com>
56901
56902 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
56903 (PREPARE_VERSION): Just use assert instead, it will be elided
56904 under [NDEBUG] anyway.
56905
56906 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
56907
56908 * sysdeps/unix/sysv/linux/Makefile: Include
56909 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
56910 (sysdep_routines): Remove sysctl.
56911 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
56912 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
56913 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
56914 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
56915 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
56916
56917 2012-05-22 Andreas Jaeger <aj@suse.de>
56918
56919 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
56920 that pseudo_end is just ret and the stack pointer is correct also
56921 for static library in error case.
56922
56923 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
56924
56925 [BZ #14122]
56926 * nss/nsswitch.c (defconfig_entries): New variable.
56927 (__nss_database_lookup): Don't leak defconfig entries.
56928 (nss_parse_service_list): Don't leak on error paths.
56929 (free_database_entries): New function.
56930 (free_defconfig): New function.
56931 (free_mem): Move common code to free_database_entries.
56932
56933 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
56934
56935 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
56936 Add arch_prctl.
56937 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
56938
56939 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56940 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
56941 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
56942 New macro.
56943 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
56944 (INTERNAL_SYSCALL_TYPES): Likewise.
56945 (LOAD_ARGS_TYPES_[1-6]): Likewise.
56946 (LOAD_REGS_TYPES_[1-6]): Likewise.
56947 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
56948 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
56949
56950 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56951
56952 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
56953 copysignl for GLIBC_2_0.
56954 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
56955 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
56956 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
56957 logbl for GLIBC_2_0.
56958 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
56959 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
56960
56961 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
56962
56963 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
56964 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
56965
56966 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56967 Use "neg %eax".
56968
56969 * time/mktime.c: Update copyright years.
56970
56971 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
56972
56973 mktime: merge comment-quoting-style change from gnulib
56974 * time/mktime.c: Quote 'like this' in comments.
56975 The GNU coding standards suggest that we no longer quote `like this',
56976 as "`" and "'" are typically rendered asymmetrically nowadays.
56977 The typical gnulib style is to quote 'like this' when quoting
56978 code, and "like this" when quoting English.
56979
56980 * time/mktime.c (compile-command): Add "-I.".
56981
56982 mktime: merge mktime-internal.h change from gnulib
56983 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
56984
56985 mktime: merge time_r change from gnulib
56986 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
56987
56988 mktime: merge DEBUG change from gnulib
56989 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
56990 case system <time.h> has a #define.
56991
56992 mktime: merge <sys/types.h> change from gnulib
56993 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
56994 since <time.t> is now guaranteed to define time_t.
56995
56996 mktime: merge HAVE_CONFIG_H change from gnulib
56997 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
56998
56999 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
57000
57001 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57002 Use "neg %eax".
57003
57004 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
57005 __rlim_t cast.
57006 (struct rusage): Use anonymous union to pad each field to
57007 __syscall_slong_t.
57008
57009 2012-05-21 David S. Miller <davem@davemloft.net>
57010
57011 * Makefules (o-iterator): Remove .s cases.
57012 (compile-command.s): Delete.
57013 (COMPILE.s): Delete.
57014 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
57015
57016 2012-05-21 Joseph Myers <joseph@codesourcery.com>
57017
57018 * configure.in (libc_cv_predef_stack_protector): Only consider
57019 "foobar" and "__stack_chk_fail" lines in libc_undefs.
57020 * configure: Regenerated.
57021
57022 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
57023
57024 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
57025 New macro. Use R*LP on int and pointer.
57026 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
57027 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
57028 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
57029 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
57030
57031 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
57032 [__WORDSIZE_TIME64_COMPAT32] instead of
57033 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
57034 (struct utmp): Likewise.
57035 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
57036 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
57037 Renamed to ...
57038 (__WORDSIZE_TIME64_COMPAT32): This.
57039 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
57040 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
57041 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
57042 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
57043 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
57044 (__WORDSIZE_TIME64_COMPAT32): New macro.
57045
57046 2012-05-21 Andreas Jaeger <aj@suse.de>
57047
57048 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
57049 only if [SHARED]. Add prototype for __wcschr_ia32.
57050
57051 2012-05-21 Roland McGrath <roland@hack.frob.com>
57052
57053 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
57054 of %rbp unmolested in the jmp_buf while mangling the low bits.
57055 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
57056 unmolested high bits of %rbp while demangling the low bits.
57057 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57058
57059 2012-05-21 Andreas Jaeger <aj@suse.de>
57060
57061 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
57062 * sunrpc/svc_simple.c: Use it for registerrpc.
57063 * sunrpc/xcrypt.c: Use it for passwd2des.
57064
57065 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
57066
57067 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
57068
57069 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
57070 Don't define if [__SYSCALL_WORDSIZE != 32].
57071 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
57072 New macro.
57073
57074 2012-05-21 Bruno Haible <bruno@clisp.org>
57075 Andreas Jaeger <aj@suse.de>
57076
57077 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
57078 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
57079 inptr and inend for must_buffer_ch.
57080 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
57081 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
57082 * stdio-common/Makefile (tests): Remove bug15.
57083 (bug15-ENV): Remove macro.
57084 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
57085 anymore.
57086
57087 2012-05-19 Andreas Jaeger <aj@suse.de>
57088 Roland McGrath <roland@hack.frob.com>
57089
57090 * manual/contrib.texi: Completely rewritten. It contains now an
57091 alphabetical list of contributors and their contributions.
57092
57093 2012-05-21 Richard Henderson <rth@twiddle.net>
57094
57095 * misc/getauxval.c (__getauxval): Use unsigned long int.
57096 * misc/sys/auxv.h: Include <sys/cdefs.h>.
57097 (getauxval): Use unsigned long int.
57098
57099 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
57100
57101 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57102
57103 2012-05-21 Roland McGrath <roland@hack.frob.com>
57104
57105 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
57106 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
57107 __alignof__ (long double).
57108
57109 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57110
57111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57112
57113 2012-05-20 Richard Henderson <rth@twiddle.net>
57114
57115 * misc/getauxval.c: New file.
57116 * misc/sys/auxv.h: New file.
57117 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
57118 (routines): Add getauxval.
57119 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
57120 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
57121 * elf/dl-sysdep.c (_dl_auxv): Remove.
57122 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
57123 * elf/dl-support.c (_dl_auxv): New variable.
57124 (_dl_aux_init): Initialize it.
57125 * manual/startup.texi (Auxiliary Vector): New node.
57126 * sysdeps/generic/bits/hwcap.h: New file.
57127 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
57128 * sysdeps/powerpc/sysdep.h: ... here. Include it.
57129 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
57130 * sysdeps/sparc/sysdep.h: ... here. Include it.
57131 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
57132 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
57133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57134 Update.
57135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
57136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
57137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
57138 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
57139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
57141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
57142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
57143
57144 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57145
57146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57147
57148 2012-05-19 David S. Miller <davem@davemloft.net>
57149
57150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57151
57152 2012-05-19 Joseph Myers <joseph@codesourcery.com>
57153
57154 [BZ #14123]
57155 * math/s_ccosh.c: Include <float.h>
57156 (__ccosh): Avoid internal overflow calculating sinh and cosh
57157 values before multiplying by sin and cos values.
57158 * math/s_ccoshf.c: Likewise.
57159 * math/s_ccoshl.c: Likewise.
57160 * math/s_csin.c: Likewise.
57161 * math/s_csinf.c: Likewise.
57162 * math/s_csinl.c: Likewise.
57163 * math/s_csinh.c: Likewise.
57164 * math/s_csinhf.c: Likewise.
57165 * math/s_csinhl.c: Likewise.
57166 * math/libm-test.inc (ccos_test): Add more tests.
57167 (ccosh_test): Likewise.
57168 (csin_test): Likewise.
57169 (csinh_test): Likewise.
57170 * sysdeps/i386/fpu/libm-test-ulps: Update.
57171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57172
57173 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
57174
57175 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
57176 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
57177
57178 * sysdeps/x86_64/x32/_itoa.h: Add comment.
57179
57180 2012-05-19 Joseph Myers <joseph@codesourcery.com>
57181
57182 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
57183 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
57184 * sysdeps/powerpc/soft-fp/Versions: Likewise.
57185 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
57186 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
57187 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
57188 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
57189 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
57190 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
57191 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
57192 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
57193 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
57194 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
57195 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
57196 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
57197 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
57198 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
57199 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
57200 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
57201 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
57202 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
57203 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
57204 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
57205 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
57206 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
57207 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
57208 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
57209 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
57210 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
57211 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
57212 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
57213
57214 2012-05-18 Andreas Jaeger <aj@suse.de>
57215
57216 * csu/.gitignore: Delete.
57217
57218 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
57219
57220 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
57221 (timex): Use __syscall_slong_t.
57222
57223 2012-05-18 Andreas Jaeger <aj@suse.de>
57224 Carlos O'Donell <carlos_odonell@mentor.com>
57225
57226 * manual/install.texi (Configuring and compiling): Update
57227 description about files modified in the source directory.
57228 * INSTALL: Regenerated.
57229
57230 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
57231
57232 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
57233 value. Use "or" to set return value to -1.
57234 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
57235 negate return value.
57236
57237 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57238
57239 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
57240 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
57241 failure if the compiler has Graphite support disabled.
57242 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
57243 Likewise.
57244 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
57245 (CFLAGS-memmove.c): Likewise.
57246 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
57247 Likewise.
57248
57249 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
57250
57251 * sysdeps/x86_64/x32/_itoa.h: New file.
57252
57253 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
57254 getdents system call only if kernel and user dirents have the
57255 same d_ino and d_off.
57256
57257 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
57258 LLONG_MAX != LONG_MAX.
57259 (_itoa_word): Use _ITOA_WORD_TYPE on value.
57260 (_fitoa_word): Likewise.
57261
57262 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
57263 years.
57264 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
57265 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
57266 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
57267
57268 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
57269 include <bits/wordsize.h>. Check __x86_64__ instead of
57270 __WORDSIZE.
57271 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
57272 if __x86_64__ is defined. Use anonymous union on fpstate.
57273
57274 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
57275 anonymous union.
57276
57277 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
57278
57279 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
57280 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
57281 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
57282 Refer to _rtld_local_ro instead of _rtld_global_ro.
57283 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
57284 Likewise.
57285 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
57286 Likewise.
57287 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
57288 Likewise.
57289 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
57290 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
57291 of _rtld_global, and rtld_progname instead of _dl_argv[0].
57292
57293 [BZ #10882]
57294 * sysdeps/powerpc/powerpc32/dl-machine.c
57295 (__elf_machine_runtime_setup) [PROF]: Don't reference
57296 _dl_prof_resolve.
57297
57298 2012-05-18 Andreas Jaeger <aj@suse.de>
57299
57300 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
57301 function only available for GCCs before 3.4 since GCC 3.4
57302 introduced a builtin.
57303 (lrint): Likewise.
57304 (llrintf): Likewise.
57305 (llrint): Likewise.
57306 (fmaxf): Likewise.
57307 (fmax): Likewise.
57308 (fminf): Likewise.
57309 (fmin): Likewise.
57310 (rint): Likewise.
57311 (rintf): Likewise.
57312 (nearbyint): Likewise.
57313 (nearbyintf): Likewise.
57314 (ceil): Likewise.
57315 (ceilf): Likewise.
57316 (floor): Likewise.
57317 (floorf): Likewise.
57318
57319 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
57320
57321 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
57322 on both fields and cast pointer to __syscall_ulong_t.
57323
57324 * bits/types.h (__fsword_t): New type.
57325 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
57326 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
57327 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57328 (__FSWORD_T_TYPE): Likewise.
57329 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57330 (__FSWORD_T_TYPE): Likewise.
57331 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57332 (__FSWORD_T_TYPE): Likewise.
57333 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
57334 (__FSWORD_T_TYPE): Likewise.
57335 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
57336 __SWORD_TYPE with __fsword_t.
57337 (statfs64): Likewise.
57338
57339 2012-05-17 David S. Miller <davem@davemloft.net>
57340
57341 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
57342
57343 2012-05-17 Andreas Jaeger <aj@suse.de>
57344
57345 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
57346 warning.
57347
57348 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
57349
57350 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
57351
57352 2012-05-17 Andreas Jaeger <aj@suse.de>
57353
57354 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
57355 when it is used.
57356
57357 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
57358
57359 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
57360
57361 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
57362
57363 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
57364 * sysdeps/x86_64/tst-mallocalign1.c: New file.
57365
57366 2012-05-17 Andreas Jaeger <aj@suse.de>
57367 Carlos O'Donell <carlos_odonell@mentor.com>
57368
57369 [BZ #14059]
57370 * sysdeps/x86_64/multiarch/init-arch.h
57371 (bit_YMM_Usable): Rename to...
57372 (bit_AVX_Usable): ... this.
57373 (bit_FMA4_Usable): New macro.
57374 (bit_XMM_state): New macro.
57375 (bit_YMM_state): New macro.
57376 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
57377 [__ASSEMBLER__] (index_AVX_Usable): ... this.
57378 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
57379 (CPUID_OSXSAVE): New macro.
57380 (CPUID_AVX): New macro.
57381 (CPUID_FMA4): New macro.
57382 (index_YMM_Usable): Rename to...
57383 (index_AVX_Usable): ... this.
57384 (HAS_AVX): Use HAS_ARCH_FEATURE.
57385 (HAS_FMA4): Likewise.
57386 (HAS_YMM_USABLE): Remove.
57387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57388 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
57389 are present.
57390 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
57391 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
57392 * sysdeps/x86_64/multiarch/Makefile: Likewise.
57393 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
57394 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
57395
57396 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
57397
57398 * math/libm-test.c: Support platforms without multiple rounding modes.
57399 * math/bug-nextafter.c: Support platforms without FP exceptions.
57400 * math/bug-nexttoward.c: Likewise.
57401 * math/test-fenv.c: Likewise.
57402 * math/test-misc.c: Likewise.
57403 * stdlib/bug-getcontext.c: Likewise.
57404
57405 2012-05-17 Andreas Jaeger <aj@suse.de>
57406
57407 * manual/examples/search.c (critter_cmp): Change signature to
57408 avoid warnings.
57409 * manual/string.texi (Collation Functions): Likewise.
57410
57411 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
57412
57413 * bits/types.h: Fold copyright years.
57414 * bits/typesizes.h: Likewise.
57415 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
57416 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57417 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
57418 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
57419 * time/time.h: Likewise.
57420
57421 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
57422
57423 [BZ #208]
57424 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
57425 in instead of returning them. Return void.
57426 (__libc_mallinfo): Accumulate over all arenas.
57427 (__malloc_stats): Adjust for change in int_mallinfo interface.
57428
57429 2012-05-16 Roland McGrath <roland@hack.frob.com>
57430
57431 [BZ #10375]
57432 * configure.in (NM): Add AC_CHECK_TOOL for it.
57433 (libc_extra_cflags): New substituted variable.
57434 Check for -fstack-protector being used implicitly.
57435 * configure: Regenerated.
57436 * config.make.in (config-extra-cflags): New variable,
57437 gets @libc_extra_cflags@.
57438 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
57439
57440 [BZ #10375]
57441 * configure.in: Check for _FORTIFY_SOURCE being predefined.
57442 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
57443 * configure: Regenerated.
57444 * config.make.in (CPPUNDEFS): New substituted variable.
57445 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
57446 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
57447 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
57448
57449 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
57450
57451 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
57452 (mq_attr): Use __syscall_slong_t.
57453
57454 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
57455
57456 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
57457 Check __x86_64__ instead of __WORDSIZE.
57458 (_STAT_VER_LINUX): Likewise.
57459 (stat): Check __x86_64__ instead of __WORDSIZE. Use
57460 __syscall_ulong_t and __syscall_slong_t.
57461 (stat64): Likewise.
57462
57463 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
57464
57465 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
57466
57467 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
57468
57469 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
57470
57471 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
57472
57473 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
57474 __syscall_ulong_t.
57475
57476 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
57477 include <bits/wordsize.h>. Check __x86_64__ instead of
57478 __WORDSIZE.
57479 (greg_t): Use "__extension__ long long int" if __x86_64__ is
57480 defined.
57481 (mcontext_t): Replace "unsigned long" with "unsigned long long".
57482
57483 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
57484 include <bits/wordsize.h>. Check __x86_64__ instead of
57485 __WORDSIZE.
57486 (user_regs_struct): Use "__extension__ unsigned long long"
57487 instead of "unsigned long" if __x86_64__ is defined.
57488 (user): Likewise. Pad after pointer field if __ILP32__ is
57489 defined.
57490
57491 2012-05-16 Joseph Myers <joseph@codesourcery.com>
57492
57493 * configure.in (makeinfo): Require version 4.5 or later. Allow
57494 versions 5 to 9.
57495 * configure: Regenerated.
57496 * manual/install.texi (texinfo): Increase version requirement to
57497 4.5 or later.
57498 * INSTALL: Regenerated.
57499
57500 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
57501
57502 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
57503
57504 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
57505
57506 * sysdeps/x86_64/x32/ffs.c: New file.
57507
57508 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
57509 __syscall_ulong_t.
57510 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
57511 defined. Use __syscall_ulong_t.
57512 (shminfo): Use __syscall_ulong_t.
57513 (shm_info): Likewise.
57514
57515 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
57516 __syscall_ulong_t.
57517
57518 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
57519 <bits/wordsize.h>.
57520 (msgqnum_t): Use __syscall_ulong_t.
57521 (msglen_t): Likewise.
57522 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
57523 __syscall_ulong_t.
57524
57525 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
57526 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
57527
57528 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
57529
57530 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
57531 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
57532
57533 * sysvipc/sys/msg.h (msgbuf): Replace long int with
57534 __syscall_slong_t.
57535
57536 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
57537 include <bits/wordsize.h>. Check __x86_64__ instead of
57538 __WORDSIZE.
57539
57540 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
57541 "unsigned long long int" if __x86_64__ is defined.
57542 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
57543
57544 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
57545 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
57546 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
57547
57548 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
57549 <stdint.h>.
57550 (GET_PC): Cast to uintptr_t first.
57551 (GET_FRAME): Likewise.
57552 (GET_STACK): Likewise.
57553
57554 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
57555 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
57556 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
57557 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
57558 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
57559 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
57560 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
57561 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
57562 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
57563 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
57564 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
57565 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
57566 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57567 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
57568 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
57569 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
57570 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
57571 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
57572 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
57573 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
57574 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
57575 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
57576 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
57577 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
57578 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
57579 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
57580 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
57581 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
57582 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
57583
57584 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
57585
57586 * Makerules (+depfiles): Also collect depfiles from .oS in
57587 $(extra-objs).
57588 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
57589 .oS, $(libnldbl-routines)).
57590
57591 * Makerules (native-compile-mkdep-flags): Define.
57592 * sunrpc/Makefile (extra-objs): Add $(addprefix
57593 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
57594 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
57595 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
57596 calling $(make-target-directory).
57597
57598 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57599
57600 * bits/types.h (__snseconds_t): Removed.
57601 * time/time.h (struct timespec): Replace __snseconds_t with
57602 __syscall_slong_t.
57603 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
57604 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
57605 Likewise.
57606 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57607 (__SNSECONDS_T_TYPE): Likewise.
57608 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57609 (__SNSECONDS_T_TYPE): Likewise.
57610 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57611 (__SNSECONDS_T_TYPE): Likewise.
57612
57613 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57614
57615 * sysdeps/mach/hurd/bits/typesizes.h
57616 (__SYSCALL_SLONG_TYPE): New macro.
57617 (__SYSCALL_ULONG_TYPE): Likewise.
57618
57619 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57620
57621 * bits/types.h (__syscall_slong_t): New type.
57622 (__syscall_ulong_t): Likewise.
57623
57624 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
57625 (__SYSCALL_ULONG_TYPE): Likewise.
57626 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57627 (__SYSCALL_SLONG_TYPE): Likewise.
57628 (__SYSCALL_ULONG_TYPE): Likewise.
57629 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57630 (__SYSCALL_SLONG_TYPE): Likewise.
57631 (__SYSCALL_ULONG_TYPE): Likewise.
57632 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57633 (__SYSCALL_SLONG_TYPE): Likewise.
57634 (__SYSCALL_ULONG_TYPE): Likewise.
57635
57636 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57637
57638 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
57639 Add sigaltstack-offsets.sym.
57640 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
57641 <sigaltstack-offsets.h>.
57642 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
57643 longjmp_msg pointer.
57644 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
57645 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
57646 signal stack.
57647 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
57648
57649 2012-05-15 Joseph Myers <joseph@codesourcery.com>
57650
57651 * elf/stackguard-macros.h: Remove file.
57652 * sysdeps/generic/stackguard-macros.h: New file.
57653 * sysdeps/i386/stackguard-macros.h: Likewise.
57654 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57655 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57656 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57657 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57658 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57659 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57660 * sysdeps/x86_64/stackguard-macros.h: Likewise.
57661 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
57662 <elf/stackguard-macros.h>.
57663
57664 [BZ #14109]
57665 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
57666 __aligned__ in attribute.
57667 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
57668 (gregset_t): Likewise.
57669
57670 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57671
57672 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
57673 * sysdeps/x86_64/64/Implies-after: Here. New file.
57674 * sysdeps/x86_64/x32/Implies-after: New file.
57675
57676 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57677
57678 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
57679 and access return value for _dl_profile_fixup. Use R10_LP to
57680 load frame size.
57681
57682 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57683
57684 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
57685
57686 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57687
57688 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
57689 * sysdeps/x86_64/x32/sysdep.h: New file.
57690
57691 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57692
57693 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
57694 * sysdeps/x86_64/setjmp.S: Likewise.
57695
57696 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57697
57698 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
57699 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
57700 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
57701 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
57702 remove unused global constant.
57703
57704 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
57705
57706 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
57707 include of <not-cancel.h>.
57708
57709 2012-05-15 Roland McGrath <roland@hack.frob.com>
57710
57711 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
57712
57713 2012-05-15 Jeff Law <law@redhat.com>
57714 Andreas Jaeger <aj@suse.de>
57715
57716 [BZ #13594]
57717 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
57718 out from...
57719 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
57720 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
57721 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
57722 code changing __hst_map_handle.map.
57723
57724 2012-05-15 Roland McGrath <roland@hack.frob.com>
57725
57726 * configure.in (sysnames): Look for Implies-before and Implies-after
57727 files.
57728 * configure: Regenerated.
57729
57730 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57731
57732 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
57733 8-byte data alignment with LP_SIZE alignment.
57734
57735 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57736
57737 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
57738 into R10_LP.
57739
57740 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57741
57742 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
57743
57744 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57745
57746 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
57747 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
57748 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
57749 Likewise.
57750 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57751
57752 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57753
57754 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
57755 (stackinfo_sub_sp): Likewise.
57756
57757 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57758
57759 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
57760 RAX_LP.
57761
57762 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57763
57764 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
57765 into R*_LP.
57766
57767 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57768
57769 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
57770 sizes into R*_LP.
57771
57772 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57773
57774 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
57775
57776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57777
57778 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
57779 into R11_LP and load __x86_64_shared_cache_size_half into
57780 R8_LP.
57781
57782 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
57783
57784 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
57785 R8_LP.
57786
57787 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57788
57789 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
57790 logb for POWER7.
57791 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
57792 logbf for POWER7.
57793 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
57794 logbl for POWER7.
57795 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
57796 powerpc32/power7/fpu/s_logb.c via #include.
57797 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
57798 powerpc32/power7/fpu/s_logbf.c via #include.
57799 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
57800 powerpc32/power7/fpu/s_logbl.c via #include.
57801
57802 2012-05-15 Joseph Myers <joseph@codesourcery.com>
57803
57804 * README.libm: Remove file.
57805
57806 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
57807
57808 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
57809 count for x32. Use R*_LP and omit operand-size suffix.
57810
57811 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
57812
57813 * shlib-versions: Move x86_64-.*-linux.* entries to ...
57814 * sysdeps/x86_64/64/shlib-versions: Here. New file.
57815 * sysdeps/x86_64/x32/shlib-versions: New file.
57816
57817 2012-05-14 Roland McGrath <roland@hack.frob.com>
57818
57819 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
57820 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
57821 Use _dl_fatal_printf instead.
57822
57823 2012-05-14 Joseph Myers <joseph@codesourcery.com>
57824
57825 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
57826 set if not set by the user. Do not allow for being unset.
57827 * sysdeps/unix/sysv/linux/configure: Regenerated.
57828
57829 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
57830
57831 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
57832 the `q' suffix from lea and replace .quad with ASM_ADDR.
57833
57834 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
57835
57836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
57837 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
57838 instead of $17.
57839 (PTR_DEMANGLE): Likewise.
57840
57841 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
57842
57843 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
57844 (LP_OP): Likewise.
57845 (ASM_ADDR): Likewise.
57846 (RAX_LP): Likewise.
57847 (RBP_LP): Likewise.
57848 (RBX_LP): Likewise.
57849 (RCX_LP): Likewise.
57850 (RDI_LP): Likewise.
57851 (RSI_LP): Likewise.
57852 (RSP_LP): Likewise.
57853 (R8_LP): Likewise.
57854 (R9_LP): Likewise.
57855 (R10_LP): Likewise.
57856 (R10_LP): Likewise.
57857 (R11_LP): Likewise.
57858 (R12_LP): Likewise.
57859 (R13_LP): Likewise.
57860 (R14_LP): Likewise.
57861 (R15_LP): Likewise.
57862
57863 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
57864
57865 * sysdeps/x86_64/x32/dl-machine.h: New file.
57866
57867 2012-05-14 Andreas Jaeger <aj@suse.de>
57868
57869 * manual/Makefile (subdir): Remove export of subdir.
57870 (all): Remove target.
57871 (.PHONY): Remove all from list.
57872 (mkinstalldirs): Remove.
57873 (.PHONY): Remove installdirs from list.
57874 ($(inst_infodir)/libc.info): Use make-target-directory.
57875 (installdirs): Remove.
57876 (subdir_%): Remove.
57877 (glibc-targets): Remove.
57878 (lib): Remove.
57879 (stubs): Remove.
57880 ($(objpfx)stubs ../po/manual.pot): Remove.
57881 ($(objpfx)stamp%): Remove.
57882 (make-target-directory): Remove.
57883 (subdir_install): Remove.
57884 (routines): Remove.
57885 (aux): Remove.
57886 (sources): Remove.
57887 (objects): Remove.
57888 (headers): Remove.
57889
57890 [BZ #13750]
57891 * manual/.gitignore: Remove, it's not needed anymore.
57892 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
57893 all files in it.
57894 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
57895 directory.
57896 (texis): Renamed to $(objpfx)texis.
57897 (texis-path): New, contains path to generated files.
57898 (chapters.%): Use texis-path for complete path, add extra argument
57899 libc-texinfo.sh.
57900 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
57901 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
57902 (summary,texi, stamp-summary): Use complete path of
57903 files. Generate files in build dir.
57904 (dir-add.texi): Build in build dir.
57905 (libm-err.texi,stamp-libm-err): Likewise.
57906 (version.texi, stamp-version): Likewise.
57907 (.%c.texi): Likewise.
57908 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
57909 (mostlyclean): Remove target.
57910 (realclean): Remove target.
57911 (generated): Add new variable with contents from mostlyclean and
57912 realclean, remove entries duplicated in common-mostlyclean, add
57913 stamp-libm-err and stamp-version.
57914 (generated-dirs): Add libc directory.
57915 ($(inst_infodir)/libc.info): Install files from build dir.
57916
57917 * manual/install.texi (Configuring and compiling): Adjust since
57918 the info files are not part of the tar ball anymore.
57919
57920 2012-05-14 Andreas Jaeger <aj@suse.de>
57921
57922 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
57923 variable.
57924
57925 2012-05-14 Joseph Myers <joseph@codesourcery.com>
57926
57927 [BZ #13717]
57928 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57929 to 2.2.0 where earlier.
57930 * sysdeps/unix/sysv/linux/configure: Regenerated.
57931 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
57932 Remove conditional code.
57933 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
57934 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
57935 Remove conditional code.
57936 [!__NR_lchown]: Likewise.
57937 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57938 [__NR_lchown]: Likewise.
57939 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
57940 comment referencing __ASSUME_LCHOWN_SYSCALL.
57941 * sysdeps/unix/sysv/linux/i386/sigaction.c
57942 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57943 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57944 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
57945 Remove conditional code.
57946 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
57947 (__protocol_available): Remove #if 0 code.
57948 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
57949 conditional code.
57950 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
57951 * sysdeps/unix/sysv/linux/kernel-features.h
57952 (__ASSUME_GETCWD_SYSCALL): Don't define.
57953 (__ASSUME_REALTIME_SIGNALS): Likewise.
57954 (__ASSUME_PREAD_SYSCALL): Likewise.
57955 (__ASSUME_PWRITE_SYSCALL): Likewise.
57956 (__ASSUME_POLL_SYSCALL): Likewise.
57957 (__ASSUME_LCHOWN_SYSCALL): Likewise.
57958 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
57959 non-SPARC.
57960 (__ASSUME_SIOCGIFNAME): Don't define.
57961 (__ASSUME_MSG_NOSIGNAL): Likewise.
57962 (__ASSUME_SENDFILE): Define unconditionally.
57963 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
57964 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
57965 conditional code.
57966 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
57967 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
57968 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57969 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57970 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
57971 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57972 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
57974 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57975 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
57977 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57978 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
57980 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57981 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
57983 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57984 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
57986 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57987 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
57989 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57990 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
57992 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57993 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
57995 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57996 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57997 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
57998 Remove conditional code.
57999 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58000 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58001 Remove conditional code.
58002 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58003 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
58004 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
58005 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58006 Remove conditional code.
58007 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58008 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
58009 Remove conditional code.
58010 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58011 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
58012 Remove conditional code.
58013 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58014 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
58015 Remove conditional code.
58016 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
58017 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
58018 Remove conditional code.
58019 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58020 * sysdeps/unix/sysv/linux/sh/pwrite64.c
58021 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
58022 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
58023 * sysdeps/unix/sysv/linux/sigaction.c
58024 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58025 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58026 * sysdeps/unix/sysv/linux/sigpending.c
58027 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58028 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58029 * sysdeps/unix/sysv/linux/sigprocmask.c
58030 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58031 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58032 * sysdeps/unix/sysv/linux/sigsuspend.c
58033 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
58034 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
58035 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58036 (__libc_missing_rt_sigs): Remove.
58037 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
58038 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
58039 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
58040 Remove conditional code.
58041 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
58042 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
58043 return 1.
58044 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
58045 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
58046 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
58047 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
58048
58049 2012-05-14 Andreas Jaeger <aj@suse.de>
58050
58051 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
58052 it's not used in glibc.
58053 (__coshm1): Likewise.
58054 (__acosh1p): Likewise.
58055 (__sgn): Likewise.
58056
58057 * manual/string.texi (Copying and Concatenation): Add missing
58058 variable in concat example.
58059 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
58060
58061 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
58062
58063 [BZ #14103]
58064 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
58065 __builtin_clzl with __builtin_clzll.
58066
58067 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
58068
58069 [BZ #14104]
58070 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
58071 libc_freeres_ptr.
58072
58073 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58074
58075 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
58076 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
58077 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
58078 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
58079
58080 2012-05-14 Mike Frysinger <vapier@gentoo.org>
58081
58082 * NEWS: Update ia64 info.
58083
58084 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
58085
58086 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
58087 used as bcopy.
58088
58089 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
58090
58091 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
58092 * sysdeps/unix/syscalls.list (dup3): Likewise.
58093 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
58094 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
58095
58096 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
58097
58098 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
58099 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
58100
58101 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
58102
58103 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
58104 thread pointer.
58105 (TLS_IE): Use mov/add instead of movq/addq to load thread
58106 pointer.
58107 (TLS_GD_PREFIX): New.
58108 (TLS_GD): Use it.
58109
58110 2012-05-11 David S. Miller <davem@davemloft.net>
58111
58112 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
58113 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
58114 (_FPU_SETCW): Likewise.
58115
58116 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
58117
58118 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
58119 is 32-byte aligned.
58120
58121 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
58122
58123 [BZ #11837]
58124 * iconvdata/gb18030.c: Update tables.
58125 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
58126 characters specially.
58127 (BODY for TO_LOOP): Add encoding of missing ranges.
58128
58129 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
58130
58131 [BZ #13673]
58132 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
58133 * sysdeps/mach/hurd/dup3.c: Likewise.
58134 * sysdeps/mach/hurd/readlinkat.c: Likewise.
58135 * sysdeps/powerpc/memmove.c:: Likewise.
58136
58137 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
58138
58139 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
58140 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
58141
58142 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
58143
58144 * elf/elf.h (R_X86_64_RELATIVE64): New.
58145 (R_X86_64_NUM): Updated.
58146 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58147 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
58148 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
58149 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
58150 tst-quad1pie tst-quad2pie
58151 (modules-names): Add tst-quadmod1 tst-quadmod2.
58152 ($(objpfx)tst-quad1): New dependency.
58153 ($(objpfx)tst-quad2): Likewise.
58154 ($(objpfx)tst-quad1pie): Likewise.
58155 ($(objpfx)tst-quad2pie): Likewise.
58156 * sysdeps/x86_64/tst-quad1.c: New file.
58157 * sysdeps/x86_64/tst-quad1pie.c: New file.
58158 * sysdeps/x86_64/tst-quad2.c: Likewise.
58159 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
58160 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
58161 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
58162 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
58163 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
58164
58165 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58166
58167 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
58168 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
58169 * streams/stropts.h (t_scalar_t): Define type.
58170
58171 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
58172 (_PATH_PRESERVE): Set to "/var/lib".
58173 (_PATH_RWHODIR): Set to "/var/spool/rwho".
58174
58175 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
58176 instead of int.
58177
58178 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
58179 if __dir_mkfile succeeded.
58180
58181 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
58182 checking for _hurd_dtablesize. Unlock it right after having
58183 finished _hurd_dtable allocation.
58184
58185 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58186
58187 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
58188 * sysdeps/mach/hurd/configure: Regenerated.
58189 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
58190 special-casing to...
58191 * sysdeps/gnu/configure.in: ... this new file.
58192 * sysdeps/unix/sysv/linux/configure: Regenerated.
58193 * sysdeps/gnu/configure: New generated file.
58194
58195 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
58196 for Linux: use nsec instead of usec, as well as:
58197 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
58198 members of type struct timespec.
58199 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
58200 New macros.
58201 (struct stat64): Likewise.
58202 (_STATBUF_ST_NSEC): New macro.
58203 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
58204
58205 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
58206 __strtoul_internal rather than strtoul.
58207
58208 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
58209
58210 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
58211 and reject them.
58212
58213 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58214
58215 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
58216 which preserves existing values.
58217 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
58218
58219 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
58220
58221 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
58222 TIMEOUT values. Return EINVAL for NFDS values either negative or
58223 greater than FD_SETSIZE.
58224
58225 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58226
58227 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
58228 allocated, call __vm_protect to finish enabling the existing space, and
58229 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
58230 allocate the remainder.
58231
58232 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
58233
58234 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
58235 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
58236
58237 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58238
58239 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
58240 sysdeps/mach/hurd/readlink.c.
58241
58242 * posix/tst-sysconf.c (posix_options): Only use
58243 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
58244 _POSIX_SYNCHRONIZED_IO when they are defined
58245 * sysdeps/mach/hurd/bits/posix_opt.h:
58246 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
58247 (_XOPEN_REALTIME): Undefine macro.
58248 (_XOPEN_REALTIME_THREADS): Undefine macro.
58249 (_XOPEN_SHM): Undefine macro.
58250 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
58251 macro to -1.
58252 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
58253 macro to -1.
58254 (_POSIX_ASYNC_IO): Undefine macro.
58255 (_POSIX_PRIORITIZED_IO): Undefine macro.
58256 (_POSIX_SPIN_LOCKS): Define macro to -1.
58257
58258 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
58259 SA_NODEFER, SA_RESETHAND.
58260 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
58261 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
58262 F_DUPFD_CLOEXEC.
58263
58264 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58265
58266 * elf/Makefile (pldd-modules): Define unconditionally.
58267
58268 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58269
58270 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
58271
58272 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58273
58274 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
58275 Return ENOENT when name is empty.
58276 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
58277
58278 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58279
58280 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
58281
58282 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
58283
58284 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58285
58286 Fix mlock in all cases except non-readable pages.
58287 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
58288 instead of VM_PROT_ALL as parameter to __vm_wire function.
58289
58290 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
58291 (__mkdir): When path is `/', just fail with EEXIST.
58292 * sysdeps/mach/hurd/mkdirat.c: Likewise.
58293
58294 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58295
58296 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
58297 <sys/uio.h> (for writev).
58298 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
58299 and <sys/param.h> (for MIN).
58300
58301 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
58302
58303 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
58304 REQUESTED_TIME. Properly set the remaining time and return EINTR
58305 if interrupted.
58306
58307 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58308
58309 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
58310 Depend on against $(link-rpcuserlibs).
58311
58312 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58313
58314 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
58315 (__libc_stack_end): Do not use attribute_relro.
58316 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
58317 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
58318 to libthread-provided value.
58319 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
58320 attribute_relro.
58321
58322 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58323
58324 [BZ #3748]
58325 * bits/libc-lock.h (__libc_once_get): New macro.
58326 * sysdeps/mach/bits/libc-lock.h: Likewise.
58327 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
58328 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
58329 instead of using implementation details.
58330
58331 * libio/fileops.c: Unconditionally include <kernel-features.h>.
58332 * libio/freopen.c: Likewise.
58333 * libio/freopen64.c: Likewise.
58334 * misc/syslog.c: Likewise.
58335 * nscd/connections.c: Likewise.
58336 * nscd/netgroupcache.c: Likewise.
58337 * sysdeps/posix/getcwd.c: Likewise.
58338
58339 2012-05-10 Roland McGrath <roland@hack.frob.com>
58340
58341 * math/w_ilogbf.c: Add #include <limits.h>.
58342
58343 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58344
58345 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
58346 path instead of returning without unlocking.
58347
58348 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
58349 immediate-write ioctls.
58350 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
58351
58352 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58353
58354 * sysdeps/mach/hurd/i386/init-first.c (init): Use
58355 __builtin_frame_address instead of making assumptions about the
58356 location of the return address relative to DATA. Force early load of
58357 the return address.
58358 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
58359 __builtin_frame_address.
58360
58361 dup3 for GNU Hurd.
58362 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
58363 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
58364 implement dup3 and do some further code clean-ups.
58365 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
58366 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
58367
58368 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58369
58370 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
58371
58372 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
58373 HURD_CRITICAL_END around holding _hurd_dtable_lock.
58374 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
58375 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
58376 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
58377 d->port.lock.
58378
58379 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
58380 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
58381 when handler == SIG_ERR, not when handler != SIG_ERR.
58382
58383 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58384
58385 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
58386 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
58387 definitions.
58388
58389 accept4 for GNU Hurd.
58390 * include/sys/socket.h (__libc_accept4): New prototype.
58391 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
58392 to implement __libc_accept4.
58393 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
58394 __libc_accept4.
58395 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
58396
58397 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
58398 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
58399 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
58400 signal-defines.sym.
58401
58402 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58403
58404 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
58405
58406 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
58407
58408 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
58409 assertion on O_CLOEXEC flag.
58410 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
58411 * hurd/intern-fd.c: Likewise.
58412 * hurd/port2fd.c: Likewise.
58413
58414 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
58415
58416 [BZ #3906]
58417 * bits/in.h (IPV6_PKTINFO): Define new macro.
58418 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
58419
58420 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58421
58422 [BZ #13954]
58423 [BZ #13955]
58424 [BZ #13956]
58425 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
58426 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58427 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
58428 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58429 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58430 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58431 * math/libm-test.inc (logb_test) : Additional logb tests.
58432
58433 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
58434 Andreas Jaeger <aj@suse.de>
58435
58436 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
58437 * configure: Regenerated.
58438 * config.h.in (LINK_OBSOLETE_RPC): New macro.
58439 * config.make.in (link-obsolete-rpc): New substituted variable.
58440 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
58441 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
58442 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58443 (shared-only-routines): Don't set it under [link-obsolete-rpc],
58444 so that libc.a contains the symbols.
58445 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58446 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
58447 * sunrpc/auth_none.c: Likewise.
58448 * sunrpc/auth_unix.c: Likewise.
58449 * sunrpc/authdes_prot.c: Likewise.
58450 * sunrpc/authuxprot.c: Likewise.
58451 * sunrpc/clnt_gen.c: Likewise.
58452 * sunrpc/clnt_perr.c: Likewise.
58453 * sunrpc/clnt_raw.c: Likewise.
58454 * sunrpc/clnt_simp.c: Likewise.
58455 * sunrpc/clnt_tcp.c: Likewise.
58456 * sunrpc/clnt_udp.c: Likewise.
58457 * sunrpc/clnt_unix.c: Likewise.
58458 * sunrpc/des_crypt.c: Likewise.
58459 * sunrpc/des_soft.c: Likewise.
58460 * sunrpc/get_myaddr.c: Likewise.
58461 * sunrpc/key_call.c: Likewise.
58462 * sunrpc/key_prot.c: Likewise.
58463 * sunrpc/netname.c: Likewise.
58464 * sunrpc/pm_getmaps.c: Likewise.
58465 * sunrpc/pm_getport.c: Likewise.
58466 * sunrpc/pmap_clnt.c: Likewise.
58467 * sunrpc/pmap_prot.c: Likewise.
58468 * sunrpc/pmap_prot2.c: Likewise.
58469 * sunrpc/pmap_rmt.c: Likewise.
58470 * sunrpc/publickey.c: Likewise.
58471 * sunrpc/rpc_cmsg.c: Likewise.
58472 * sunrpc/rpc_common.c: Likewise.
58473 * sunrpc/rpc_dtable.c: Likewise.
58474 * sunrpc/rpc_prot.c: Likewise.
58475 * sunrpc/rpc_thread.c: Likewise.
58476 * sunrpc/rtime.c: Likewise.
58477 * sunrpc/svc.c: Likewise.
58478 * sunrpc/svc_auth.c: Likewise.
58479 * sunrpc/svc_raw.c: Likewise.
58480 * sunrpc/svc_run.c: Likewise.
58481 * sunrpc/svc_tcp.c: Likewise.
58482 * sunrpc/svc_udp.c: Likewise.
58483 * sunrpc/svc_unix.c: Likewise.
58484 * sunrpc/svcauth_des.c: Likewise.
58485 * sunrpc/xcrypt.c: Likewise.
58486 * sunrpc/xdr.c: Likewise.
58487 * sunrpc/xdr_array.c: Likewise.
58488 * sunrpc/xdr_float.c: Likewise.
58489 * sunrpc/xdr_intXX_t.c: Likewise.
58490 * sunrpc/xdr_mem.c: Likewise.
58491 * sunrpc/xdr_rec.c: Likewise.
58492 * sunrpc/xdr_ref.c: Likewise.
58493 * sunrpc/xdr_sizeof.c: Likewise.
58494 * sunrpc/xdr_stdio.c: Likewise.
58495
58496 2012-05-10 Roland McGrath <roland@hack.frob.com>
58497
58498 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
58499 change. Update copyright years.
58500
58501 2012-05-10 Joseph Myers <joseph@codesourcery.com>
58502
58503 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
58504
58505 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
58506 Joseph Myers <joseph@codesourcery.com>
58507 Paul Pluzhnikov <ppluzhnikov@google.com>
58508
58509 [BZ #14012]
58510 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
58511 requiring rpcgen.
58512 [cross-compiling] (extra-libs): Likewise.
58513 [cross-compiling] (extra-libs-others): Likewise.
58514 [cross-compiling] (librpcsvc-routines): Likewise.
58515 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
58516 [cross-compiling] (omit-deps): Likewise.
58517 (sunrpc-CPPFLAGS): New variable.
58518 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
58519 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
58520 (cross-rpcgen-objs): New variable.
58521 (extra-objs): Append $(cross-rpcgen-objs).
58522 ($(cross-rpcgen-objs)): New rule.
58523 ($(objpfx)cross-rpcgen): Likewise.
58524 (rpcgen-cmd): Define to use $(built-program-file). Expand
58525 comment.
58526 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
58527 ($(objpfx)x%.stmp): Likewise.
58528 * sunrpc/proto.h [IS_IN_build] (_): Define.
58529 [IS_IN_build] (_libc_intl_domainname): Likewise.
58530
58531 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
58532
58533 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
58534 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
58535 and R_X86_64_TPOFF64.
58536
58537 2012-05-10 Joseph Myers <joseph@codesourcery.com>
58538
58539 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
58540 sysdeps/unix/sysv/syscalls.list.
58541 (stime): Likewise.
58542 (utime): Likewise.
58543 * sysdeps/unix/sysv/syscalls.list: Remove file.
58544
58545 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
58546
58547 [BZ #3440]
58548 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
58549 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
58550 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
58551 (__LC_IDENTIFICATION): Make these macros useful in #if
58552 expressions, as required by C99.
58553
58554 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
58555
58556 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
58557 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
58558 after this.
58559
58560 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
58561
58562 * stdlib/longlong.h: Updated from GCC.
58563
58564 2012-05-09 Andreas Jaeger <aj@suse.de>
58565
58566 * nscd/nscd.c (run_modes): Make named enum, reorder so that
58567 default is first entry.
58568 (run_mode): Set type.
58569 (main): Remove informal message about syslog.
58570 (options): Fix typo.
58571
58572 [BZ #14053]
58573 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
58574 to asm.
58575 (lrint): Likewise.
58576 (llrintf): Likewise.
58577 (llrint): Likewise.
58578 (rint): Likewise.
58579 (rintf): Likewise.
58580 (nearbyint): Likewise.
58581 (nearbyintf): Likewise.
58582
58583 2012-05-09 Andreas Jaeger <aj@suse.de>
58584 Pedro Alves <palves@redhat.com>
58585
58586 * nscd/nscd.c (run_mode): Use enum.
58587 (main): Cleanup coding style issue.
58588
58589 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
58590 Andreas Jaeger <aj@suse.de>
58591
58592 * nscd/nscd.c (go_background): Replaced with...
58593 (run_mode): ... this.
58594 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
58595 (options): Add -F --foreground.
58596 (main): Implement it.
58597 (parse_opt): Parse it.
58598
58599 2012-05-09 Andreas Jaeger <aj@suse.de>
58600
58601 [BZ #14083]
58602 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
58603 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
58604 -Wconversion warning.
58605 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
58606 Likewise.
58607
58608 2012-05-09 Joseph Myers <joseph@codesourcery.com>
58609
58610 * conform/data/locale.h-data (NULL): Use macro-constant. Require
58611 == 0.
58612 (LC_ALL): Use macro-int-constant.
58613 (LC_COLLATE): Likewise.
58614 (LC_CTYPE): Likewise.
58615 (LC_MESSAGES): Likewise.
58616 (LC_MONETARY): Likewise.
58617 (LC_NUMERIC): Likewise.
58618 (LC_TIME): Likewise.
58619 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
58620 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58621 [ISO || ISO99 || ISO11] (*_t): Do not allow.
58622 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
58623 Specify type.
58624 [C99-based standards] (float_t): Expect type.
58625 [C99-based standards] (double_t): Expect type.
58626 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
58627 type.
58628 [C99-based standards] (HUGE_VALL): Likewise.
58629 [C99-based standards] (INFINITY): Likewise.
58630 [C99-based standards] (NAN): Likewise.
58631 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
58632 [C99-based standards] (FP_NAN): Likewise.
58633 [C99-based standards] (FP_NORMAL): Likewise.
58634 [C99-based standards] (FP_SUBNORMAL): Likewise.
58635 [C99-based standards] (FP_ZERO): Likewise.
58636 [C99-based standards] (FP_FAST_FMA): Use
58637 optional-macro-int-constant. Specify type. Require == 1.
58638 [C99-based standards] (FP_FAST_FMAF): Likewise.
58639 [C99-based standards] (FP_FAST_FMAL): Likewise.
58640 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
58641 [C99-based standards] (FP_ILOGBNAN): Likewise.
58642 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
58643 Specify type.
58644 [C99-based standards] (MATH_ERREXCEPT): Likewise.
58645 [C99-based standards] (math_errhandling): Specify type.
58646 [ISO99 || ISO11] (signgam): Do not allow.
58647 [non-C99-based standards] (copysignf): Do not allow.
58648 [non-C99-based standards] (exp2f): Likewise.
58649 [non-C99-based standards] (log2f): Likewise.
58650 [non-C99-based standards] (modff): Allow.
58651 [non-C99-based standards] (erff): Do not allow.
58652 [non-C99-based standards] (erfcf): Likewise.
58653 [non-C99-based standards] (gammaf): Likewise.
58654 [non-C99-based standards] (hypotf): Likewise.
58655 [non-C99-based standards] (j0f): Likewise.
58656 [non-C99-based standards] (j1f): Likewise.
58657 [non-C99-based standards] (jnf): Likewise.
58658 [non-C99-based standards] (lgammaf): Likewise.
58659 [non-C99-based standards] (tgammaf): Likewise.
58660 [non-C99-based standards] (y0f): Likewise.
58661 [non-C99-based standards] (y1f): Likewise.
58662 [non-C99-based standards] (ynf): Likewise.
58663 [non-C99-based standards] (isnanf): Likewise.
58664 [non-C99-based standards] (acoshf): Likewise.
58665 [non-C99-based standards] (asinhf): Likewise.
58666 [non-C99-based standards] (atanhf): Likewise.
58667 [non-C99-based standards] (cbrtf): Likewise.
58668 [non-C99-based standards] (expm1f): Likewise.
58669 [non-C99-based standards] (ilogbf): Likewise.
58670 [non-C99-based standards] (log1pf): Likewise.
58671 [non-C99-based standards] (logbf): Likewise.
58672 [non-C99-based standards] (nextafterf): Likewise.
58673 [non-C99-based standards] (remainderf): Likewise.
58674 [non-C99-based standards] (rintf): Likewise.
58675 [non-C99-based standards] (scalbf): Likewise.
58676 [non-C99-based standards] (copysignl): Likewise.
58677 [non-C99-based standards] (exp2l): Likewise.
58678 [non-C99-based standards] (log2l): Likewise.
58679 [non-C99-based standards] (modfl): Allow.
58680 [non-C99-based standards] (erfl): Do not allow.
58681 [non-C99-based standards] (erfcl): Likewise.
58682 [non-C99-based standards] (gammal): Likewise.
58683 [non-C99-based standards] (hypotl): Likewise.
58684 [non-C99-based standards] (j0l): Likewise.
58685 [non-C99-based standards] (j1l): Likewise.
58686 [non-C99-based standards] (jnl): Likewise.
58687 [non-C99-based standards] (lgammal): Likewise.
58688 [non-C99-based standards] (tgammal): Likewise.
58689 [non-C99-based standards] (y0l): Likewise.
58690 [non-C99-based standards] (y1l): Likewise.
58691 [non-C99-based standards] (ynl): Likewise.
58692 [non-C99-based standards] (isnanl): Likewise.
58693 [non-C99-based standards] (acoshl): Likewise.
58694 [non-C99-based standards] (asinhl): Likewise.
58695 [non-C99-based standards] (atanhl): Likewise.
58696 [non-C99-based standards] (cbrtl): Likewise.
58697 [non-C99-based standards] (expm1l): Likewise.
58698 [non-C99-based standards] (ilogbl): Likewise.
58699 [non-C99-based standards] (log1pl): Likewise.
58700 [non-C99-based standards] (logbl): Likewise.
58701 [non-C99-based standards] (nextafterl): Likewise.
58702 [non-C99-based standards] (remainderl): Likewise.
58703 [non-C99-based standards] (rintl): Likewise.
58704 [non-C99-based standards] (scalbl): Likewise.
58705 [ISO || ISO99 || ISO11] (*_t): Do not allow.
58706 [non-C99-based standards] (FP_*): Do not allow.
58707 [C99-based standards] (FP_*): Change to
58708 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58709 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58710 allow.
58711 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
58712 (SIG_ERR): Likewise.
58713 [X/Open-based standards] (SIG_HOLD): Likewise.
58714 (SIG_IGN): Likewise.
58715 (SIGABRT): Use macro-int-constant. Specify type. Require
58716 positive value.
58717 (SIGFPE): Likewise.
58718 (SIGILL): Likewise.
58719 (SIGINT): Likewise.
58720 (SIGSEGV): Likewise.
58721 (SIGTER): Likewise.
58722 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
58723 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
58724 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
58725 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
58726 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
58727 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
58728 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
58729 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
58730 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
58731 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
58732 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
58733 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
58734 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
58735 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
58736 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
58737 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
58738 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
58739 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
58740 [X/Open-based standards] (SIGTRAP): Likewise.
58741 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
58742 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
58743 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
58744 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
58745 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58746 allow.
58747
58748 2012-05-08 Ian Wienand <ianw@vmware.com>
58749
58750 [BZ #14080]
58751 * time/tzset.c (__tzset_parse_tz): Update default rules for
58752 daylight time changes in the Energy Policy Act of 2005.
58753
58754 2012-05-09 Andreas Jaeger <aj@suse.de>
58755
58756 [BZ #13983]
58757 * elf/ldconfig.c (parse_conf): Change string to make clear that
58758 ldconfig only issued a warning if ld.so.conf does not exist.
58759
58760 2012-05-08 David S. Miller <davem@davemloft.net>
58761
58762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
58763 movxtod instead of popping the value on the stack.
58764
58765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58766
58767 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
58768
58769 * config.h.in: Add HAVE_ARM_PCS_VFP.
58770
58771 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
58772
58773 [BZ #13979]
58774 * include/features.h: Warn if user requests __FORTIFY_SOURCE
58775 checking but the checks are disabled for any reason.
58776
58777 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
58778
58779 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
58780 and ELF64_R_TYPE with ELFW(R_TYPE).
58781
58782 2012-05-08 Joseph Myers <joseph@codesourcery.com>
58783
58784 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
58785 (ulimit): Likewise.
58786
58787 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
58788 (settimeofday): Likewise.
58789
58790 2012-05-08 Mike Frysinger <vapier@gentoo.org>
58791
58792 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
58793 a struct th_u2 inside the union, and move tu_block/tu_code into
58794 a new th_u3 union of tu_block/tu_code inside of that. Move
58795 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
58796 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
58797 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
58798 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
58799 (th_stuff): Change to th_u1.tu_stuff.
58800 (th_data): Define.
58801 (th_msg): Change to th_u1.th_u2.tu_data.
58802
58803 2012-05-07 David S. Miller <davem@davemloft.net>
58804
58805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58806
58807 [BZ #14074]
58808 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
58809 (SETUP_PIC_REG): Use it.
58810 (SETUP_PIC_REG_LEAF): Use it.
58811
58812 2012-05-07 Joseph Myers <joseph@codesourcery.com>
58813
58814 [BZ #13885]
58815 [BZ #13923]
58816 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58817 USE_AS_EXPM1L.
58818 (EXPL_FINITE): Likewise.
58819 (FLDLOG): Likewise.
58820 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58821 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58822 e_expl.S.
58823 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58824 USE_AS_EXPM1L.
58825 (EXPL_FINITE): Likewise.
58826 (FLDLOG): Likewise.
58827 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58828 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58829 e_expl.S.
58830 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
58831 test of -max_value argument for long double.
58832 * sysdeps/i386/fpu/libm-test-ulps: Update.
58833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58834
58835 2012-05-06 David S. Miller <davem@davemloft.net>
58836
58837 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
58838 quad soft-float symbols whose references which are compiler
58839 generated.
58840 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58841
58842 2012-05-06 Joseph Myers <joseph@codesourcery.com>
58843
58844 [BZ #13884]
58845 [BZ #13914]
58846 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58847 USE_AS_EXP10L.
58848 (EXPL_FINITE): Likewise.
58849 (FLDLOG): Likewise.
58850 (c0): Likewise.
58851 (c1): Likewise.
58852 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
58853 Adjust comments for base varying.
58854 (__expl_finite): Change alias to EXPL_FINITE.
58855 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
58856 e_expl.S.
58857 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
58858 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
58859 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58860 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
58861 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58862 USE_AS_EXP10L.
58863 (EXPL_FINITE): Likewise.
58864 (FLDLOG): Likewise.
58865 (c0): Likewise.
58866 (c1): Likewise.
58867 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
58868 Adjust comments for base varying.
58869 (__expl_finite): Change alias to EXPL_FINITE.
58870 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
58871 tests for bugs.
58872 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58873
58874 [BZ #14064]
58875 * math/libm-test.inc (check_float_internal): Correct ulp
58876 calculation for subnormal expected results.
58877
58878 2012-05-06 Andreas Jaeger <aj@suse.de>
58879
58880 * Makeconfig (+math-flags): New, set to -frounding-math.
58881 (+cflags): Add +math-flags so that all of glibc gets compiled with
58882 it.
58883
58884 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
58885
58886 2012-05-05 Joseph Myers <joseph@codesourcery.com>
58887
58888 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
58889 Disable one test.
58890
58891 [BZ #13787]
58892 [BZ #13922]
58893 [BZ #14036]
58894 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
58895 (__ieee754_expl): Allow for and saturate large arguments.
58896 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
58897 (u_threshold): Likewise.
58898 (__exp): Call __ieee754_exp before checking for overflow and
58899 underflow.
58900 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
58901 (u_threshold): Likewise.
58902 (__expf): Call __ieee754_expf before checking for overflow and
58903 underflow.
58904 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
58905 (u_threshold): Likewise.
58906 (__expl): Call __ieee754_expl before checking for overflow and
58907 underflow.
58908 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
58909 (__ieee754_expl): Allow for and saturate large arguments.
58910 * math/libm-test.inc (exp_test): Add another test. Do not allow
58911 missing overflow exception on overflow.
58912 (expm1_test): Do not allow missing overflow exception on overflow.
58913
58914 * sysdeps/i386/fpu/e_expl.c: Move to ...
58915 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
58916 rather than using inline asm.
58917 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
58918 * sysdeps/x86_64/fpu/e_expl.S: Copy from
58919 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
58920
58921 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
58922 (nice): Likewise.
58923 (poll): Likewise.
58924 (signal): Likewise.
58925 (time): Likewise.
58926 (times): Likewise.
58927
58928 2012-05-04 Joseph Myers <joseph@codesourcery.com>
58929
58930 * sysdeps/unix/syscalls.list (adjtime): Add entry from
58931 sysdeps/unix/common/syscalls.list.
58932 (fchmod): Likewise.
58933 (fchown): Likewise.
58934 (ftruncate): Likewise.
58935 (getrusage): Likewise.
58936 (gettimeofday): Likewise.
58937 (setpgid): Likewise.
58938 (setregid): Likewise.
58939 (setreuid): Likewise.
58940 (sigaction): Likewise.
58941 (truncate): Likewise.
58942 (vhangup): Likewise.
58943 * sysdeps/unix/common/syscalls.list: Remove file.
58944 * sysdeps/unix/bsd/Implies: Don't include unix/common.
58945 * sysdeps/unix/sysv/linux/Implies: Likewise.
58946
58947 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
58948
58949 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
58950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
58951 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
58952 Moved to ...
58953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
58954 Here.
58955 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
58956 to ...
58957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
58958 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
58959 to ...
58960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
58961 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
58962 to ...
58963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
58964 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
58965 to ...
58966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
58967 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
58968 to ...
58969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
58970 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
58971 to ...
58972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
58973 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
58974 to ...
58975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58976 Here.
58977 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
58978 to ...
58979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
58980 Here.
58981 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
58982 to ...
58983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
58984 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
58985 Moved to ...
58986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
58987 Here.
58988 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
58989 to ...
58990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
58991
58992 2012-05-04 Joseph Myers <joseph@codesourcery.com>
58993
58994 * sysdeps/unix/common/bits/dirent.h: Remove file.
58995 * sysdeps/unix/common/bits/fcntl.h: Likewise.
58996
58997 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
58998 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
58999 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
59000 * sysdeps/unix/bsd/isatty.c: Likewise.
59001 * sysdeps/unix/bsd/tcdrain.c: Likewise.
59002 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
59003 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
59004
59005 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59006
59007 [BZ #13563]
59008 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
59009 long double comparison inaccuracies.
59010 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
59011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59012
59013 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
59014
59015 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
59016 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
59017
59018 2012-05-04 Joseph Myers <joseph@codesourcery.com>
59019
59020 [BZ #14049]
59021 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
59022 nonzero digits before rounding a hex value.
59023 * stdlib/tst-strtod.c (tests): Add another test.
59024
59025 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59026
59027 * sysdeps/s390/fpu/libm-test-ulps: Update.
59028
59029 2012-05-03 Andreas Jaeger <aj@suse.de>
59030
59031 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
59032 does not get optimized out.
59033 (malloc_opt_barrier): New.
59034
59035 2012-05-03 Andreas Jaeger <aj@suse.de>
59036 Roland McGrath <roland@hack.frob.com>
59037
59038 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
59039 intermediate file deletion.
59040 (generated): Add .symlist files.
59041
59042 2012-05-03 Joseph Myers <joseph@codesourcery.com>
59043
59044 [BZ #13775]
59045 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
59046 Redirect under this condition.
59047 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59048 [__USE_GNU] (__dprintf_chk): Not under this condition.
59049 [__USE_GNU] (__vdprintf_chk): Likewise.
59050 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
59051 under this condition.
59052 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
59053 [__USE_XOPEN2K8] (dprintf): Define under this condition.
59054 [__USE_XOPEN2K8] (vdprintf): Likewise.
59055 [__USE_GNU] (__dprintf_chk): Not under this condition.
59056 [__USE_GNU] (__vdprintf_chk): Likewise.
59057 [__USE_GNU] (dprintf): Likewise.
59058 [__USE_GNU] (vdprintf): Likewise.
59059
59060 2012-05-03 Roland McGrath <roland@hack.frob.com>
59061
59062 * elf/Makefile (common-generated): Set this instead of generated for
59063 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
59064 $(all-built-dso)-derived lists.
59065
59066 2012-05-03 Andreas Jaeger <aj@suse.de>
59067
59068 * sysdeps/i386/fpu/libm-test-ulps: Update.
59069
59070 * FAQ: Removed.
59071 * FAQ.in: Likewise.
59072 * scripts/gen-FAQ.pl: Likewise.
59073 * manual/install.texi (Installation): Point to online location of
59074 FAQ.
59075 * Makefile (files-for-dist): Remove FAQ.
59076 (FAQ): Remove.
59077
59078 2012-05-02 Allan McRae <allan@archlinux.org>
59079
59080 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
59081 (LDFLAGS-reldepmod5.so): Likewise.
59082 (LDFLAGS-reldep6mod1.so): Likewise.
59083 (LDFLAGS-reldep6mod4.so): Likewise.
59084 (LDFLAGS-reldep8mod3.so): Likewise.
59085 (LDFLAGS-unload4mod1.so): Likewise.
59086 (LDFLAGS-unload4mod2.so): Likewise.
59087 (LDFLAGS-tst-initorder): Likewise.
59088 (LDFLAGS-tst-initordera2.so): Likewise.
59089 (LDFLAGS-tst-initordera3.so): Likewise.
59090 (LDFLAGS-tst-initordera4.so): Likewise.
59091 (LDFLAGS-tst-initorderb2.so): Likewise.
59092 (LDFLAGS-noload): Likewise.
59093 (LDFLAGS-next): Likewise.
59094 (LDFLAGS-order2mod1.so): Likewise.
59095 (LDFLAGS-order2mod2.so): Likewise.
59096 (LDFLAGS-tst-initorder2): Likewise.
59097 (LDFLAGS-tst-initorder2a.so): Likewise.
59098 (LDFLAGS-tst-initorder2b.so): Likewise.
59099 (LDFLAGS-tst-initorder2c.so): Likewise.
59100 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
59101
59102 2012-05-02 David S. Miller <davem@davemloft.net>
59103
59104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59105
59106 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
59107
59108 [BZ #14055]
59109 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
59110
59111 2012-05-02 Andreas Jaeger <aj@suse.de>
59112
59113 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
59114 since we manipulate rounding mode.
59115 (CPPFLAGS-test-idouble.c): Likewise.
59116 (CPPFLAGS-test-ifloat.c): Likewise.
59117 (CFLAGS-test-ldouble.c): Likewise.
59118 (CFLAGS-test-double.c): Likewise.
59119 (CFLAGS-test-float.c): Likewise.
59120 (CFLAGS-test-misc.c): Likewise.
59121 (CFLAGS-test-test-fenv.c): Likewise.
59122
59123 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59124
59125 [BZ #2550]
59126 [BZ #2570]
59127 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
59128 comparisons to determine direction to adjust input.
59129
59130 2012-05-01 Roland McGrath <roland@hack.frob.com>
59131
59132 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
59133 output to the target.
59134
59135 * scripts/localplt.awk: New file.
59136 * elf/Makefile ($(objpfx)check-localplt): Target removed.
59137 (check-localplt-CFLAGS): Variable removed.
59138 ($(all-built-dso:=.jmprel)): New static pattern rule.
59139 (generated): Add those targets.
59140 (localplt-built-dso): New variable.
59141 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
59142
59143 * elf/check-localplt.c: File removed.
59144
59145 * scripts/check-execstack.awk: New file.
59146 * elf/Makefile ($(objpfx)check-execstack): Target removed.
59147 (check-execstack-CFLAGS): Variable removed.
59148 ($(objpfx)check-execstack.h): Target removed.
59149 ($(objpfx)execstack-default): New target.
59150 (generated): Add that instead of check-execstack.h.
59151 ($(all-built-dso:=.phdr)): New static pattern rule.
59152 (generated): Add those targets.
59153 * elf/check-execstack.c: File removed.
59154
59155 * scripts/check-textrel.awk: New file.
59156 * elf/Makefile ($(objpfx)check-textrel): Target removed.
59157 (check-textrel-CFLAGS): Variable removed.
59158 (all-built-dso): Use := to define.o
59159 ($(all-built-dso:=.dyn)): New static pattern rule.
59160 (generated): Add those targets.
59161 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
59162 * config.make.in (READELF): New substituted variable.
59163 * elf/check-textrel.c: File removed.
59164
59165 2012-05-01 Joseph Myers <joseph@codesourcery.com>
59166
59167 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
59168 allow.
59169 * conform/data/ctype.h-data [C99-based standards] (isblank):
59170 Expect function.
59171 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
59172 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
59173 [ISO || ISO99 || ISO11] (*_t): Do not allow.
59174 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
59175 Specify type. Require positive value.
59176 (EILSEQ): Likewise.
59177 (ERANGE): Likewise.
59178 [ISO || POSIX] (EILSEQ): Do not expect.
59179 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
59180 Specify type. Require positive value.
59181 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
59182 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
59183 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
59184 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
59185 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
59186 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
59187 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
59188 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
59189 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
59190 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
59191 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
59192 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
59193 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
59194 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
59195 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
59196 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
59197 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
59198 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
59199 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
59200 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
59201 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
59202 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
59203 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
59204 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
59205 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
59206 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
59207 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
59208 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
59209 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
59210 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
59211 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
59212 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
59213 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
59214 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
59215 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
59216 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
59217 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
59218 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
59219 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
59220 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
59221 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
59222 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
59223 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
59224 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
59225 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
59226 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
59227 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
59228 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
59229 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
59230 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
59231 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
59232 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
59233 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
59234 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
59235 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
59236 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
59237 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
59238 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
59239 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
59240 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
59241 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
59242 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
59243 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
59244 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
59245 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
59246 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
59247 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
59248 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
59249 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
59250 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
59251 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
59252 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
59253 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
59254 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
59255 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
59256 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
59257 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
59258 Require >= 2.
59259 (FLT_ROUNDS): Expect as macro, not constant.
59260 (FLT_MANT_DIG): Use macro-int-constant.
59261 (DBL_MANT_DIG): Likewise.
59262 (LDBL_MANT_DIG): Likewise.
59263 (FLT_DIG): Likewise.
59264 (DBL_DIG): Likewise.
59265 (LDBL_DIG): Likewise.
59266 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
59267 (DBL_MIN_EXP): Likewise.
59268 (LDBL_MIN_EXP): Likewise.
59269 (FLT_MAX_EXP): Use macro-int-constant.
59270 (DBL_MAX_EXP): Likewise.
59271 (LDBL_MAX_EXP): Likewise.
59272 (FLT_MAX_10_EXP): Likewise.
59273 (DBL_MAX_10_EXP): Likewise.
59274 (LDBL_MAX_10_EXP): Likewise.
59275 (FLT_MAX): Use macro-constant.
59276 (DBL_MAX): Likewise.
59277 (LDBL_MAX): Likewise.
59278 (FLT_EPSILON): Use macro-constant. Give upper bound.
59279 (DBL_EPSILON): Likewise.
59280 (LDBL_EPSILON): Likewise.
59281 (FLT_MIN): Likewise.
59282 (DBL_MIN): Likewise.
59283 (LDBL_MIN): Likewise.
59284 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
59285 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
59286 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
59287 [ISO11] (FLT_HAS_SUBNORM): Likewise.
59288 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
59289 [ISO11] (DBL_DECIMAL_DIG): Likewise.
59290 [ISO11] (FLT_DECIMAL_DIG): Likewise.
59291 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
59292 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
59293 [ISO11] (FLT_TRUE_MIN): Likewise.
59294 [ISO11] (LDBL_TRUE_MIN): Likewise.
59295 [ISO || ISO99 || ISO11] (*_t): Do not allow.
59296 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
59297 (SCHAR_MIN): Use macro-int-constant. Specify type.
59298 (SCHAR_MAX): Likewise.
59299 (UCHAR_MAX): Likewise.
59300 (CHAR_MIN): Likewise.
59301 (CHAR_MAX): Likewise.
59302 (MB_LEN_MAX): Use macro-int-constant.
59303 (SHRT_MIN): Use macro-int-constant. Specify type.
59304 (SHRT_MAX): Likewise.
59305 (USHRT_MAX): Likewise.
59306 (INT_MAX): Likewise.
59307 (INT_MIN): Use macro-int-constant. Specify type. Make upper
59308 bound negative.
59309 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
59310 bound with "U".
59311 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
59312 bound with "L".
59313 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
59314 bound negative. Suffix upper bound with "L".
59315 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
59316 bound with "UL".
59317 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
59318 Specify type.
59319 [C99-based standards] (LLONG_MAX): Likewise.
59320 [C99-based standards] (ULLONG_MAX): Likewise.
59321 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
59322 == 0.
59323 [ISO11] (max_align_t): Require type.
59324 [ISO || ISO99 || ISO11] (*_t): Do not allow.
59325
59326 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
59327 from $CFLAGS, without defining away __attribute__ calls.
59328 (checknamespace): Use $CFLAGS_namespace.
59329
59330 * conform/conformtest.pl (@keywords): Only include C99 keywords
59331 for standards based on C99 or C11.
59332
59333 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
59334 Disable tests.
59335 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
59336 UNIX98]: Likewise.
59337
59338 * conform/conformtest.pl: Handle "macro-int-constant" and test for
59339 usability of symbols in #if.
59340
59341 * conform/conformtest.pl: If macro or constant types start
59342 "promoted:", expect the symbol to be of the following type
59343 promoted by the integer promotions.
59344
59345 * conform/conformtest.pl: Parse all "constant" and "macro" lines
59346 in one place. Also handle "macro-constant".
59347
59348 * conform/conformtest.pl: Only accept expected macro values with
59349 "==". Parse all "macro" lines in one place.
59350 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
59351
59352 * conform/conformtest.pl: Handle braced types on "constant" lines
59353 instead of handling "typed-constant".
59354 * conform/data/signal.h-data: Use "constant" instead of
59355 "typed-constant".
59356
59357 * conform/conformtest.pl: Handle "optional-" at start of lines in
59358 one place rather than duplicating several cases. Handle each
59359 format of "macro" line with initial "optional-".
59360
59361 * conform/conformtest.pl: Only accept expected constant or
59362 optional-constant values with "==". Parse all "constant" lines in
59363 one place. Parse all "optional-constant" lines in one place.
59364 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
59365 * conform/data/fmtmsg.h-data: Likewise.
59366 * conform/data/netinet/in.h-data: Likewise.
59367 * conform/data/tar.h-data: Likewise.
59368 * conform/data/limits.h-data: Use "==" form on "constant" and
59369 "optional-constant" lines.
59370
59371 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
59372 Use -std=c99 for XOPEN2K.
59373 (@knownproblems): Remove.
59374 (newtoken): Don't check %isknown.
59375
59376 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
59377 Do not expect macro.
59378 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
59379 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
59380 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
59381 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
59382 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
59383 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
59384 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
59385 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
59386 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
59387 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
59388 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
59389 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
59390 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
59391 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
59392 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
59393 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
59394 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
59395 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
59396 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
59397 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
59398 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
59399 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
59400 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
59401 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
59402 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
59403 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
59404 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
59405 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
59406 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
59407 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
59408 [XPG3] (acosh): Likewise.
59409 [XPG3] (asinh): Likewise.
59410 [XPG3] (atanh): Likewise.
59411 [XPG3] (cbrt): Likewise.
59412 [XPG3] (expm1): Likewise.
59413 [XPG3] (ilogb): Likewise.
59414 [XPG3] (log1p): Likewise.
59415 [XPG3] (logb): Likewise.
59416 [XPG3] (nextafter): Likewise.
59417 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
59418 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
59419 [XPG3] (remainder): Likewise.
59420 [XPG3] (rint): Likewise.
59421 [XPG3 || XPG4 || UNIX98] (round): Likewise.
59422 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
59423 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
59424 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
59425 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
59426 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
59427 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
59428 [UNIX98 || XOPEN2K] (scalb): Expect.
59429 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
59430 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
59431 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
59432 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
59433 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
59434 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
59435 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
59436 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
59437 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
59438 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
59439 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
59440 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
59441 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
59442 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
59443 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
59444 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
59445 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
59446 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
59447 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
59448 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
59449 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
59450 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
59451 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
59452 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
59453 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
59454 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
59455 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
59456 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
59457 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
59458 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
59459 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
59460 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
59461 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
59462 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
59463 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
59464 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
59465 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
59466 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
59467 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
59468 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
59469 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
59470 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
59471 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
59472 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
59473 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
59474 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
59475 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
59476 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
59477 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
59478 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
59479 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
59480 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
59481 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
59482 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
59483 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
59484 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
59485 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
59486 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
59487 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
59488 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
59489 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
59490 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
59491 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
59492 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
59493 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
59494 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
59495 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
59496 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
59497 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
59498 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
59499 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
59500 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
59501 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
59502 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
59503 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
59504 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
59505 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
59506 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
59507 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
59508 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
59509 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
59510 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
59511 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
59512 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
59513 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
59514 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
59515 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
59516 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
59517 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
59518 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
59519 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
59520 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
59521 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
59522 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
59523 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
59524 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
59525 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
59526 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
59527 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
59528 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
59529 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
59530 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
59531 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
59532 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
59533 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
59534 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
59535 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
59536 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
59537 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
59538 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
59539 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
59540 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
59541 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
59542 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
59543 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
59544 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
59545 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
59546 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
59547 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
59548 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
59549 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
59550 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
59551 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
59552 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
59553 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
59554 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
59555 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
59556 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
59557 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
59558 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
59559 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
59560 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
59561 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
59562 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
59563 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
59564 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
59565 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
59566
59567 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
59568 _XOPEN_SOURCE_EXTENDED for XPG4.
59569
59570 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
59571
59572 * Makeconfig (localtime): Remove variable.
59573 (inst_localtime-file): Likewise.
59574
59575 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
59576
59577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
59578 Update.
59579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59580 Update.
59581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
59582 Update.
59583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59584 Update.
59585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
59586 Update.
59587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
59588 Update.
59589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59590 Update.
59591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
59592 Update.
59593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59594 Update.
59595
59596 2012-05-01 Joseph Myers <joseph@codesourcery.com>
59597
59598 [BZ #2550]
59599 [BZ #2570]
59600 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
59601 comparisons to determine direction to adjust input.
59602 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
59603 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
59604 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
59605 Likewise.
59606 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
59607 Likewise.
59608 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59609 Likewise.
59610 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
59611 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
59612 Likewise.
59613 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
59614 Likewise.
59615 * math/libm-test.inc (nexttoward_test): Add more tests.
59616
59617 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
59618
59619 [BZ #14040]
59620 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
59621 in version GLIBC_2.1, not GLIBC_2.0.
59622 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
59623 Likewise.
59624
59625 2012-04-30 Joseph Myers <joseph@codesourcery.com>
59626
59627 [BZ #13942]
59628 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
59629 (1 - x) * (1 + x).
59630 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59631 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
59632 * math/libm-test.inc (acos_test): Add more tests.
59633 (asin_test): Likewise.
59634 * sysdeps/i386/fpu/libm-test-ulps: Update.
59635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59636
59637 [BZ #14034]
59638 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
59639 of square root.
59640 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
59641 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59642 * math/libm-test.inc (acos_test_tonearest): New function.
59643 (acos_test_towardzero): Likewise.
59644 (acos_test_downward): Likewise.
59645 (acos_test_upward): Likewise.
59646 (asin_test_tonearest): Likewise.
59647 (asin_test_towardzero): Likewise.
59648 (asin_test_downward): Likewise.
59649 (asin_test_upward): Likewise.
59650 (main): Call the new functions.
59651 * sysdeps/i386/fpu/libm-test-ulps: Update.
59652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59653
59654 [BZ #13884]
59655 [BZ #13924]
59656 * math/e_exp10.c: Include <float.h>.
59657 (__ieee754_exp10): Handle underflow here rather than multiplying
59658 large negative argument by M_LN10.
59659 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
59660 of __ieee754_expf.
59661 * math/e_exp10l.c: Include <float.h>.
59662 (__ieee754_exp10l): Handle underflow here rather than multiplying
59663 large negative argument by M_LN10l.
59664 * math/libm-test.inc (exp10_test): Add another test. Do not allow
59665 spurious overflow exception on underflow.
59666
59667 2012-04-29 Marek Polacek <polacek@redhat.com>
59668
59669 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
59670 (__fortify_function): New macro.
59671 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
59672 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
59673 __extern_always_inline.
59674 * libio/bits/stdio2.h: Likewise.
59675 * libio/bits/stdio.h: Likewise.
59676 * string/string.h: Likewise.
59677 * string/bits/string3.h: Likewise.
59678 * include/stdio.h: Likewise.
59679 * stdlib/bits/stdlib.h: Likewise.
59680 * stdlib/stdlib.h: Likewise.
59681 * rt/bits/mqueue2.h: Likewise.
59682 * rt/mqueue.h: Likewise.
59683 * posix/bits/unistd.h: Likewise.
59684 * posix/unistd.h: Likewise.
59685 * io/bits/poll2.h: Likewise.
59686 * io/bits/fcntl2.h: Likewise.
59687 * io/fcntl.h: Likewise.
59688 * io/sys/poll.h: Likewise.
59689 * misc/bits/syslog.h: Likewise.
59690 * misc/bits/syslog-ldbl.h: Likewise.
59691 * misc/sys/syslog.h: Likewise.
59692 * socket/bits/socket2.h: Likewise.
59693 * socket/sys/socket.h: Likewise.
59694 * debug/tst-chk1.c: Likewise.
59695 * wcsmbs/bits/wchar2.h: Likewise.
59696 * wcsmbs/bits/wchar-ldbl.h: Likewise.
59697 * wcsmbs/wchar.h: Likewise.
59698
59699 2012-04-29 Andreas Jaeger <aj@suse.de>
59700
59701 * Makerules (tests): Remove enable-check-abi protection.
59702 (check-abi-warn): Remove.
59703 (check-abi-%): Remove check-abi-warn usage.
59704
59705 * configure.in: Remove check-abi configure option.
59706 * configure: Regenerated.
59707 * config.make.in (enable-check-abi): Remove.
59708
59709 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
59710
59711 [BZ #14033]
59712 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
59713 double functions to double *_finite functions.
59714
59715 [BZ #13941]
59716 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
59717 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
59718 LDBL_MIN_EXP.
59719 * stdio-common/Makefile (tests): Add tst-sprintf3.
59720 * stdio-common/tst-sprintf3.c: New file.
59721
59722 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
59723 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
59724
59725 2012-04-28 Joseph Myers <joseph@codesourcery.com>
59726
59727 * conform/conformtest.pl: Remove duplicate typed-constant
59728 handling.
59729
59730 2012-04-28 David S. Miller <davem@davemloft.net>
59731
59732 * Makerules (%.abilist): Add vpath on sysdep_dirs.
59733 (check-abi-%): Remove AWK script prerequisite and explicit
59734 abilist directory.
59735 (check-abi): Rewrite to just diff the symlist with the abilist.
59736 (config-tls, config-abi-config): Delete, no longer used.
59737 (update-abi-%): Remove AWK script and explicit abilist directory.
59738 (update-abi): Rewrite to simply compare and conditionally copy the
59739 symlist and the sysdep abilist file. Remove update-abi-config
59740 checks.
59741 * abilist/ld.abilist: Remove.
59742 * abilist/libBrokenLocale.abilist: Remove.
59743 * abilist/libanl.abilist: Remove.
59744 * abilist/libcrypt.abilist: Remove.
59745 * abilist/libdl.abilist: Remove.
59746 * abilist/librt.abilist: Remove.
59747 * abilist/libthread_db.abilist: Remove.
59748 * abilist/libutil.abilist: Remove.
59749 * scripts/extract-abilist.awk: Remove.
59750 * scripts/merge-abilist.awk: Remove.
59751 * sysdeps/generic/libcidn.abilist: New file.
59752 * sysdeps/generic/libnss_compat.abilist: New file.
59753 * sysdeps/generic/libnss_db.abilist: New file.
59754 * sysdeps/generic/libnss_dns.abilist: New file.
59755 * sysdeps/generic/libnss_files.abilist: New file.
59756 * sysdeps/generic/libnss_hesiod.abilist: New file.
59757 * sysdeps/generic/libnss_nis.abilist: New file.
59758 * sysdeps/generic/libnss_nisplus.abilist: New file.
59759 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
59760 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
59761 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
59762 file.
59763 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
59764 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
59765 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
59766 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
59767 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
59768 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
59769 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
59770 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
59771 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
59772 file.
59773 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
59774 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
59775 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
59776 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
59777 file.
59778 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
59779 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
59780 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
59781 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
59782 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
59783 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
59784 file.
59785 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
59786 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
59787 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
59788 file.
59789 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
59790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
59791 New file.
59792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
59793 New file.
59794 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
59795 New file.
59796 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
59797 New file.
59798 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
59799 New file.
59800 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
59801 New file.
59802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
59803 New file.
59804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
59805 New file.
59806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
59807 New file.
59808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
59809 New file.
59810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
59811 New file.
59812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
59813 New file.
59814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
59815 New file.
59816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
59817 file.
59818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
59819 New file.
59820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
59821 New file.
59822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
59823 file.
59824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
59825 New file.
59826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
59827 New file.
59828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
59829 file.
59830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
59831 New file.
59832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59833 New file.
59834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
59835 New file.
59836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
59837 New file.
59838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
59839 New file.
59840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
59841 New file.
59842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
59843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
59844 file.
59845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
59846 New file.
59847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
59848 file.
59849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
59850 file.
59851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
59852 file.
59853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
59854 file.
59855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
59856 file.
59857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59858 New file.
59859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
59860 file.
59861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
59862 file.
59863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
59864 New file.
59865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
59866 file.
59867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
59868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
59869 file.
59870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
59871 New file.
59872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
59873 file.
59874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
59875 file.
59876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
59877 file.
59878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
59879 file.
59880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
59881 file.
59882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59883 New file.
59884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
59885 file.
59886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
59887 file.
59888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
59889 New file.
59890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
59891 file.
59892 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59893 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
59894 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
59895 file.
59896 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
59897 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
59898 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
59899 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
59900 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
59901 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
59902 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
59903 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
59904 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
59905 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
59906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
59907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
59908 file.
59909 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
59910 New file.
59911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
59912 file.
59913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
59914 file.
59915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
59916 file.
59917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
59918 file.
59919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
59920 file.
59921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59922 New file.
59923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
59924 New file.
59925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
59926 file.
59927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
59928 New file.
59929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
59930 file.
59931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
59932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
59933 file.
59934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
59935 New file.
59936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
59937 file.
59938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
59939 file.
59940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
59941 file.
59942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
59943 file.
59944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
59945 file.
59946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59947 New file.
59948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
59949 New file.
59950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
59951 file.
59952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
59953 New file.
59954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
59955 file.
59956
59957 2012-04-28 Joseph Myers <joseph@codesourcery.com>
59958
59959 * conform/conformtest.pl: Fix typo in handling typed-constant from
59960 allow-header.
59961
59962 2012-04-27 Joseph Myers <joseph@codesourcery.com>
59963
59964 * README: Cut down references to pre-2.6 Linux kernels and
59965 Linuxthreads. Update lists of configurations in libc and ports
59966 and sort alphabetically. Say "or newer" with Linux kernel version
59967 requirements.
59968
59969 * config.h.in [IS_IN_build]: Allow compiling without optimization.
59970
59971 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
59972
59973 [BZ #887]
59974 * math/libm-test.inc (logb_test_downward): New test to expose
59975 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
59976 rounding mode.
59977
59978 2012-04-27 Joseph Myers <joseph@codesourcery.com>
59979
59980 [BZ #14027]
59981 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
59982 to be done.
59983 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
59984 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
59985
59986 2012-04-26 Joseph Myers <joseph@codesourcery.com>
59987
59988 * sysdeps/unix/i386/brk.S: Remove file.
59989 * sysdeps/unix/i386/dl-brk.S: Likewise.
59990 * sysdeps/unix/i386/pipe.S: Likewise.
59991 * sysdeps/unix/i386/sigreturn.S: Likewise.
59992 * sysdeps/unix/i386/syscall.S: Likewise.
59993 * sysdeps/unix/i386/vfork.S: Likewise.
59994 * sysdeps/unix/i386/wait.S: Likewise.
59995
59996 * sysdeps/unix/common/tcsendbrk.c: Move to ...
59997 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
59998
59999 * configure.in (arm*-none*): Do not allow without
60000 --enable-hacker-mode.
60001 (netbsd*): Remove case setting base_os.
60002 (386bsd*): Likewise.
60003 (freebsd*): Likewise.
60004 (bsdi*): Likewise.
60005 (osf*): Likewise.
60006 (sunos*): Likewise.
60007 (ultrix*): Likewise.
60008 (newsos*): Likewise.
60009 (dynix*): Likewise.
60010 (*bsd*): Likewise.
60011 (sysv*): Likewise.
60012 (isc*): Likewise.
60013 (esix*): Likewise.
60014 (sco*): Likewise.
60015 (minix*): Likewise.
60016 (irix4*): Likewise.
60017 (irix6*): Likewise.
60018 (solaris[2-9]*): Likewise.
60019 (none): Likewise.
60020 * configure: Regenerated.
60021
60022 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60023
60024 [BZ #11521]
60025 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
60026 overflow or cancellation in calculating denominator.
60027 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
60028 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
60029 down expression to avoid unexpected rounding in newer GCCs.
60030 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
60031
60032 2012-04-26 David S. Miller <davem@davemloft.net>
60033
60034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
60035 long-double compat symbols.
60036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
60038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
60039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
60040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
60041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
60042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
60043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
60044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
60045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
60046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
60047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
60048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
60049
60050 2012-04-25 David S. Miller <davem@davemloft.net>
60051
60052 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
60053 HWCAP_* values only after the memory barriers have been defined.
60054 (atomic_full_barrier): Define.
60055 (atomic_read_barrier): Define.
60056 (atomic_write_barrier): Define.
60057
60058 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
60059
60060 * shlib-versions: Add libgcc_s version information.
60061 * sysdeps/generic/libgcc_s.h: Remove.
60062 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
60063 libgcc_s.h.
60064 * sysdeps/gnu/unwind-resume.c: Likewise.
60065 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
60066
60067 2012-04-25 David S. Miller <davem@davemloft.net>
60068
60069 * sysdeps/unix/sparc/brk.S: Delete.
60070 * sysdeps/unix/sparc/dl-brk.S: Delete.
60071 * sysdeps/unix/sparc/pipe.S: Delete.
60072 * sysdeps/unix/sparc/sysdep.S: Delete.
60073 * sysdeps/unix/sparc/sysdep.h: Delete.
60074 * sysdeps/unix/sparc/vfork.S: Delete.
60075 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
60076 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
60077 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
60078 (ret_ERRVAL, r0, r1, MOVE): Define.
60079 (JUMPTARGET): Remove.
60080 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
60081 sysdeps/unix/sparc/sysdep.h
60082 (ENTRY, END): Remove.
60083 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60084
60085 2012-04-25 Joseph Myers <joseph@codesourcery.com>
60086
60087 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
60088 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
60089 -DIS_IN_build.
60090
60091 * timezone/README: Update upstream location and email address for
60092 tzcode and tzdata.
60093 * timezone/zdump.c: Update from tzcode 2012b.
60094 * timezone/zic.c: Likewise.
60095
60096 * configure.in (libc_cv_as_needed): Remove test.
60097 * configure: Regenerated.
60098 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
60099 conditional definition.
60100 [$(have-as-needed) != yes] (no-as-needed): Likewise.
60101 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
60102 * config.make.in (have-as-needed): Remove variable.
60103
60104 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
60105 Paul Pluzhnikov <ppluzhnikov@google.com>
60106
60107 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
60108 strings correctly.
60109
60110 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
60111
60112 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
60113 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
60114 * sysdeps/sh/strlen.S: Likewise.
60115
60116 2012-04-24 Joseph Myers <joseph@codesourcery.com>
60117
60118 * sysdeps/unix/fork.S: Remove file.
60119 * sysdeps/unix/i386/fork.S: Likewise.
60120 * sysdeps/unix/sparc/fork.S: Likewise.
60121
60122 * sysdeps/unix/system.c: Remove file.
60123 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
60124
60125 * sysdeps/unix/getegid.S: Remove file.
60126 * sysdeps/unix/geteuid.S: Likewise.
60127
60128 2012-04-24 Roland McGrath <roland@hack.frob.com>
60129
60130 * scripts/check-localplt.awk: New file.
60131 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
60132 of diff.
60133 * scripts/data/localplt-generic.data: Add a comment.
60134
60135 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
60136 NODE when __dir_mkfile failed.
60137 * sysdeps/mach/hurd/symlinkat.c: Likewise.
60138 Reported by Ludovic Courtès <ludo@gnu.org>.
60139
60140 2012-04-24 Andreas Jaeger <aj@suse.de>
60141
60142 * Makerules (common-clean): Also remove gen-as-const-headers
60143 files.
60144
60145 2012-04-24 Joseph Myers <joseph@codesourcery.com>
60146
60147 * Makerules (native-compile): Do not change working directory for
60148 build. Use $(OUTPUT_OPTION) in command.
60149 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
60150
60151 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60152
60153 [BZ #13886]
60154 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
60155 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
60156 * math/libm-test.inc (floor_test): Add more tests.
60157 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
60158
60159 2012-04-24 Joseph Myers <joseph@codesourcery.com>
60160
60161 * sysdeps/unix/getdents.c: Remove file.
60162 * sysdeps/unix/sysv/getdents.c: Likewise.
60163 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
60164
60165 * sysdeps/unix/syscalls.list (madvise): Add syscall from
60166 sysdeps/unix/mman/syscalls.list.
60167 (mmap): Likewise.
60168 (mprotect): Likewise.
60169 (msync): Likewise.
60170 (munmap): Likewise.
60171 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
60172 * sysdeps/unix/mman/syscalls.list: Remove.
60173 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
60174
60175 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
60176 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
60177 * configure: Regenerated.
60178 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
60179 $(libgcc_s_suffix).
60180 * config.make.in (libgcc_s_suffix): Remove variable.
60181
60182 2012-04-23 Joseph Myers <joseph@codesourcery.com>
60183
60184 * sysdeps/unix/sysv/gethostname.c: Move to ...
60185 * sysdeps/posix/gethostname.c: ... here.
60186
60187 * sysdeps/unix/execve.S: Remove file.
60188
60189 * sysdeps/unix/_exit.S: Remove file.
60190
60191 2012-04-23 Andreas Jaeger <aj@suse.de>
60192
60193 [BZ #13739]
60194 * manual/Makefile: Remove make dist support, there's no
60195 need for a stand-alone documentation tar ball.
60196 (TEXI2DVI): Define always, it's not in Makeconfig.
60197 (dist): Removed.
60198 (tar-it): Removed.
60199 (edition): Removed.
60200 (glibc-doc-$(edition).tar): Removed
60201 (%.Z): Removed.
60202 (%.gz): Removed.
60203 (%.uu): Removed.
60204 (ETAGS): Remove, it's in Makeconfig.
60205 (move-if-change): Remove, it's in Makeconfig.
60206
60207 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
60208
60209 [BZ #13970]
60210 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
60211 (strtod, strtof, strtold, strtol, strtoul, strtoq)
60212 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
60213 (strtod_l, strtof_l, strtold_l): Remove __wur.
60214 It is not necessarily an error to ignore strtol's return value.
60215 One can reliably look at the stored endptr to decide whether
60216 the number had valid syntax.
60217
60218 2012-04-21 Andreas Jaeger <aj@suse.de>
60219
60220 [BZ #13739]
60221 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
60222
60223 2012-04-21 Joseph Myers <joseph@codesourcery.com>
60224
60225 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
60226 * sysdeps/unix/sysv/Versions: Remove file.
60227
60228 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
60229
60230 [BZ #13927]
60231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60232
60233 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
60234
60235 [BZ #7064]
60236 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
60237 version from __vm86.
60238
60239 2012-04-20 Joseph Myers <joseph@codesourcery.com>
60240
60241 * sysdeps/unix/common/lxstat.c: Remove file.
60242 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
60243
60244 * sysdeps/unix/sysv/Makefile: Remove file.
60245
60246 * sysdeps/unix/sysv/direct.h: Remove file.
60247
60248 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
60249 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
60250 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
60251 * sysdeps/unix/sysv/bits/signum.h: Likewise.
60252 * sysdeps/unix/sysv/bits/stat.h: Likewise.
60253 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
60254 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
60255
60256 * sysdeps/unix/sysv/setrlimit.c: Remove file.
60257
60258 * sysdeps/unix/xmknod.c: Remove file.
60259 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
60260
60261 * sysdeps/unix/sysv/settimeofday.c: Remove file.
60262
60263 * sysdeps/unix/sysv/i386/time.S: Remove file.
60264
60265 * sysdeps/unix/fxstat.c: Remove file.
60266 * sysdeps/unix/xstat.c: Likewise.
60267 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
60268
60269 * sysdeps/unix/sysv/sigaction.c: Remove file.
60270
60271 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
60272 (sysdep_headers): Remove variable.
60273 [termio.h not in sysdep_headers] (generated): Likewise.
60274 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
60275 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
60276 * sysdeps/unix/sysv/tcdrain.c: Likewise.
60277 * sysdeps/unix/sysv/tcflow.c: Likewise.
60278 * sysdeps/unix/sysv/tcflush.c: Likewise.
60279 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
60280 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
60281 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
60282 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
60283 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
60284
60285 * sysdeps/unix/siglist.c: Remove file.
60286
60287 * sysdeps/unix/getppid.S: Remove file.
60288
60289 * sysdeps/unix/mkdir.c: Remove file.
60290 * sysdeps/unix/rmdir.c: Likewise.
60291
60292 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
60293
60294 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
60295 ERR_MAX value.
60296 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
60297 errlist-compat value.
60298
60299 2012-04-18 David S. Miller <davem@davemloft.net>
60300
60301 * sysdeps/generic/memcopy.h (reg_char): Delete.
60302 * debug/strcat_chk.c: Use char, not reg_char.
60303 * debug/strcpy_chk.c: Likewise.
60304 * debug/strncat_chk.c: Likewise.
60305 * debug/strncpy_chk.c: Likewise.
60306 * string/memchr.c: Likewise.
60307 * string/memrchr.c: Likewise.
60308 * string/rawmemchr.c: Likewise.
60309 * string/strcat.c: Likewise.
60310 * string/strchr.c: Likewise.
60311 * string/strchrnul.c: Likewise.
60312 * string/strcmp.c: Likewise.
60313 * string/strcpy.c: Likewise.
60314 * string/strncat.c: Likewise.
60315 * string/strncmp.c: Likewise.
60316 * string/strncpy.c: Likewise.
60317
60318 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
60319
60320 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
60321 __builtin_memcopy is called when src and dest ranges are known to not
60322 overlap.
60323
60324 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
60325
60326 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
60327 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
60328 fwd_align_merge macro call.
60329 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
60330 bwd_align_merge macro call.
60331 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60332
60333 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
60334
60335 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
60336 bwd_align_merge macros.
60337 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
60338 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
60339 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60340
60341 2012-04-18 David S. Miller <davem@davemloft.net>
60342
60343 * sysdeps/sparc/sparc64/memcopy.h: Delete.
60344
60345 2012-04-18 Andreas Jaeger <aj@suse.de>
60346
60347 [BZ# 6794]
60348 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
60349 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
60350 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60351
60352 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
60353 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
60354 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60355
60356 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
60357 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
60358 Adjust for changed ldbl-128 files.
60359
60360 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
60361 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
60362 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60363
60364 2012-04-17 David S. Miller <davem@davemloft.net>
60365
60366 * sysdeps/sparc/sparc32/memcopy.h: Delete.
60367
60368 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
60369
60370 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
60371 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
60372 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
60373 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
60374 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60375 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
60376
60377 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60378
60379 [BZ #6794]
60380 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
60381 * math/libm-test.inc: Add ilogb errno and exception tests.
60382 * math/w_ilogb.c: New file: ilogb wrapper.
60383 * math/w_ilogbf.c: New file: ilogbf wrapper.
60384 * math/w_ilogbl.c: New file: ilogbl wrapper.
60385 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
60386 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
60387 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
60388 exception being thrown with 0.0 as argument.
60389 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
60390 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
60391 exception being thrown with 0.0 as argument.
60392 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
60393 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60394 exception being thrown with 0.0 as argument.
60395 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
60396 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
60397 exception being thrown with 0.0 as argument.
60398 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
60399 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
60400 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
60401 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
60402 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
60403 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
60404 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
60405 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
60406 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
60407
60408 2012-04-17 Petr Baudis <pasky@ucw.cz>
60409
60410 * include/sys/uio.h: Change __vector to __iovec to avoid clash
60411 with altivec.
60412
60413 2012-04-16 Marek Polacek <polacek@redhat.com>
60414
60415 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
60416
60417 2012-04-16 Marek Polacek <polacek@redhat.com>
60418
60419 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
60420 operands of fdivp instruction.
60421
60422 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
60423
60424 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
60425 * elf/tst-auditmod3b.c: Likewise.
60426 * elf/tst-auditmod4b.c: Likewise.
60427 * elf/tst-auditmod5b.c: Likewise.
60428 * elf/tst-auditmod6b.c: Likewise.
60429 * elf/tst-auditmod6c.c: Likewise.
60430 * elf/tst-auditmod7b.c: Likewise.
60431 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
60432 * sysdeps/x86_64/preconfigure.in: Likewise.
60433 * sysdeps/x86_64/preconfigure: Regenerated.
60434
60435 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
60436
60437 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
60438 __ILP32__.
60439
60440 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
60441
60442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60443 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
60444
60445 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
60446
60447 [BZ #13973]
60448 * locale/iso-639.def: Fix gl language name. Spotted by
60449 Yaron Shahrabani.
60450
60451 2012-04-12 Roland McGrath <roland@hack.frob.com>
60452
60453 [BZ #2074]
60454 * libio/libio.h (__io_write_fn): Update comment.
60455
60456 2012-04-12 Petr Baudis <pasky@ucw.cz>
60457
60458 [BZ #2074]
60459 * stdio.texi (Hook Functions): The user provided writer function
60460 is not allowed to return -1.
60461
60462 2012-04-11 David S. Miller <davem@davemloft.net>
60463
60464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60465
60466 2012-04-11 Mike Frysinger <vapier@gentoo.org>
60467
60468 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
60469 Add a leading slash to rtkaio.
60470
60471 2012-04-11 Jim Meyering <meyering@redhat.com>
60472
60473 [BZ #11959]
60474 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
60475 It is not necessarily an error to ignore fwrite's return
60476 value. One can reliably use ferror to test for errors after
60477 the fact.
60478
60479 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
60480
60481 * bits/types.h (__snseconds_t): New type.
60482 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
60483
60484 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
60485 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60486 (__SNSECONDS_T_TYPE): Likewise.
60487 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60488 (__SNSECONDS_T_TYPE): Likewise.
60489 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60490 (__SNSECONDS_T_TYPE): Likewise.
60491
60492 2012-04-10 Andreas Jaeger <aj@suse.de>
60493
60494 [BZ #2636]
60495 * manual/time.texi (Processor Time): Return type of times is
60496 elapsed real time since an arbitrary point in the past.
60497 (CPU Time): Move CLK_TCK from here...
60498 (Processor Time): ...to here. Correct description.
60499 * manual/conf.texi (Constants for Sysconf): Correct description of
60500 _SC_CLK_TCK.
60501
60502 2012-04-10 David S. Miller <davem@davemloft.net>
60503
60504 [BZ #13967]
60505 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
60506 where the is a gap between DT_REL(A) and DT_JMPREL.
60507
60508 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
60509
60510 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
60511 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60512 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60513
60514 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
60515
60516 * elf/dl-support.c (_dl_inhibit_cache): New variable.
60517 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
60518 (dl_main): Handle --inhibit-cache.
60519 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
60520 _dl_inhibit_cache.
60521 * elf/dl-load.c (_dl_map_object): Use it.
60522 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
60523
60524 2012-04-09 Joseph Myers <joseph@codesourcery.com>
60525
60526 [BZ #13872]
60527 * sysdeps/i386/fpu/e_powl.S (p78): New object.
60528 (__ieee754_powl): Saturate large exponents rather than testing for
60529 overflow of y*log2(x).
60530 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60531 * math/libm-test.inc (pow_test): Do not permit spurious overflow
60532 exceptions.
60533
60534 [BZ #11521]
60535 * math/s_ctan.c: Include <float.h>.
60536 (__ctan): Avoid internal overflow or cancellation in calculating
60537 denominator.
60538 * math/s_ctanf.c: Likewise.
60539 * math/s_ctanl.c: Likewise.
60540 * math/s_ctanh.c: Likewise.
60541 * math/s_ctanhf.c: Likewise.
60542 * math/s_ctanhl.c: Likewise.
60543 * math/libm-test.inc (ctan_test): Add more tests.
60544 (ctanh_test): Likewise.
60545 * sysdeps/i386/fpu/libm-test-ulps: Update.
60546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60547
60548 2012-04-09 Andreas Jaeger <aj@suse.de>
60549
60550 [BZ #6894]
60551 * manual/filesys.texi (Directory Entries): Mention that d_namlen
60552 is an optional BSD extension.
60553
60554 [BZ #10254]
60555 * manual/stdio.texi (Opening Streams): Document additional fopen
60556 parameters.
60557
60558 2012-04-09 Roland McGrath <roland@hack.frob.com>
60559
60560 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
60561 %eax without telling the compiler.
60562
60563 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
60564
60565 [BZ # 13963]
60566 * manual/install.texi: Use sourceware.org.
60567
60568 2012-04-09 Joseph Myers <joseph@codesourcery.com>
60569
60570 [BZ #13873]
60571 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
60572 (__ieee754_pow): Generate overflow and underflow using huge*huge
60573 and tiny*tiny rather than just returning constant infinity or zero
60574 for large exponents.
60575 * math/libm-test.inc (pow_test): Require overflow exceptions for
60576 applicable cases of large exponents.
60577
60578 [BZ #706]
60579 * sysdeps/i386/fpu/e_pow.S (p10): New object.
60580 (__ieee754_pow): Use iterative multiplication algorithm only for
60581 integer exponents with absolute value below 1024. Check for odd
60582 integer exponents when using algorithm for real exponents.
60583 * math/libm-test.inc (pow_test): Add more tests.
60584 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60585
60586 2012-04-08 Joseph Myers <joseph@codesourcery.com>
60587
60588 [BZ #13705]
60589 * math/libm-test.inc (exp_test): Do not allow overflow exception
60590 on underflow test.
60591
60592 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
60593
60594 [BZ #13705]
60595 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
60596 instead of __kernel_standard_f.
60597
60598 2012-04-08 Mike Frysinger <vapier@gentoo.org>
60599
60600 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
60601 * sysdeps/x86_64/memset_chk.S: Likewise.
60602
60603 2012-04-08 Andreas Jaeger <aj@suse.de>
60604
60605 [BZ #10153]
60606 * manual/startup.texi (Environment Access): Describe return value
60607 for putenv and setenv.
60608
60609 [BZ #6895]
60610 * manual/filesys.texi (Directory Entries): Add description for
60611 DT_LNK.
60612
60613 [BZ #6890]
60614 * manual/filesys.texi (Directory Entries): Clarify that it's file
60615 system not operating system in the description of DT_UNKNOWN.
60616
60617 [BZ #6578]
60618 * manual/syslog.texi (closelog): Fix reference, it's openlog.
60619
60620 2012-04-08 Stephen Compall <s11@member.fsf.org>
60621
60622 [BZ #6649]
60623 * manual/llio.texi (Opening and Closing Files): Add cross
60624 reference to explain mode argument.
60625
60626 2012-04-07 Mike Frysinger <vapier@gentoo.org>
60627
60628 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
60629 * sysdeps/x86_64/memset_chk.S: Likewise.
60630
60631 2012-04-07 David S. Miller <davem@davemloft.net>
60632
60633 * elf/elf.h (R_SPARC_WDISP10): Define.
60634 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
60635 R_SPARC_SIZE32.
60636 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
60637 R_SPARC_SIZE64 and R_SPARC_H34.
60638
60639 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
60640
60641 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
60642 conditions and remove no longer applicable assertion.
60643
60644 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
60645
60646 * bits/byteswap.h: Include <features.h>.
60647 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60648 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60649
60650 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
60651
60652 * bits/byteswap.h (__bswap_16): Removed.
60653 Include <bits/byteswap-16.h> to get __bswap_16.
60654 * sysdeps/i386/bits/byteswap.h: Likewise.
60655 * sysdeps/s390/bits/byteswap.h: Likewise.
60656 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60657 * bits/byteswap-16.h: New file.
60658 * sysdeps/i386/bits/byteswap-16.h: Likewise.
60659 * sysdeps/s390/bits/byteswap-16.h: Likewise.
60660 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
60661 * string/Makefile (headers): Add bits/byteswap-16.h.
60662
60663 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
60664
60665 [BZ #13895]
60666 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
60667 extra indirection.
60668 * nss/Makefile (tests-static, tests): Add tst-nss-static.
60669 * nss/tst-nss-static.c: New.
60670
60671 2012-04-06 Robert Millan <rmh@gnu.org>
60672
60673 [BZ #6486]
60674 * manual/llio.texi (File Position Primitive): lseek
60675 refers to WHENCE when it really means OFFSET.
60676
60677 2012-04-06 Andreas Jaeger <aj@suse.de>
60678
60679 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
60680 strncmp declarations.
60681
60682 * abilist/libc.abilist: Add __poll and __ppoll.
60683
60684 2012-04-05 David S. Miller <davem@davemloft.net>
60685
60686 * scripts/check-local-headers.sh: Accept a host triplet in the
60687 path matched by the exclude regexp.
60688
60689 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
60690 definition.
60691 * sysdeps/powerpc/powerpc32/dl-machine.h
60692 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
60693 * sysdeps/s390/s390-32/dl-machine.h
60694 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60695 * sysdeps/sparc/sparc32/dl-machine.h
60696 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60697 * sysdeps/sparc/sparc64/dl-machine.h
60698 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60699
60700 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
60701 lazy binding.
60702 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
60703 undefined symbol errors.
60704
60705 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
60706 DT_NEEDED entries.
60707
60708 2012-04-05 Michael Matz <matz@suse.de>
60709
60710 [BZ #13592]
60711 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
60712
60713 2012-04-05 Andreas Jaeger <aj@suse.de>
60714
60715 [BZ #13908]
60716 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
60717 comment.
60718
60719 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60720
60721 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
60722 which ROUND is no valid rounding mode.
60723
60724 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60725
60726 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
60727 read again.
60728 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
60729
60730 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60731
60732 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
60733 an exception using FPU order intentionally.
60734
60735 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
60736
60737 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
60738 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
60739 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
60740 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
60741
60742 2012-04-05 Simon Josefsson <simon@josefsson.org>
60743
60744 [BZ #12340]
60745 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
60746 EINVAL when BUFLEN is too smal.
60747
60748 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
60749
60750 [BZ #13553]
60751 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
60752 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
60753
60754 2012-04-03 Andreas Jaeger <aj@suse.de>
60755
60756 [BZ #13938]
60757 * manual/setjmp.texi (System V contexts): Fix sentence.
60758
60759 [BZ #13926]
60760 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
60761 New macro for this case.
60762 [!__GNUC__] (__bswap_64): New inline function for this case.
60763 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60764 * bits/byteswap.h: Likewise.
60765 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
60766 ull, guard with __GLIBC_HAVE_LONG_LONG.
60767
60768 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
60769 __GLIBC_HAVE_LONG_LONG.
60770
60771 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
60772 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
60773
60774 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60775
60776 [BZ #13691]
60777 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
60778 inptr and inend, rather than using last_ch.
60779
60780 2012-04-02 David S. Miller <davem@davemloft.net>
60781
60782 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
60783 * stdio-common/printf-parse.h (read_int): Change return type to
60784 'int', return -1 on INT_MAX overflow.
60785 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
60786 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
60787 overflows INT_MAX. Check for overflow of in-format-string precision
60788 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
60789 SIZE_MAX not INT_MAX for integer overflow test.
60790 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
60791 skip the construct in the format string but do not record anything.
60792 * stdio-common/bug22.c: Adjust to test both width/prevision
60793 INT_MAX overflow as well as total length INT_MAX overflow. Check
60794 explicitly for proper errno values.
60795
60796 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
60797
60798 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
60799 CHAR_MAX.
60800 * string/test-strcmp.c [! WIDE]: Likewise.
60801 * time/tst-mktime2.c: Likewise for INT_MAX.
60802 * string/test-string.h: #include <sys/param.h> for MIN.
60803
60804 * csu/init-first.c (__libc_init_first): Call __ctype_init.
60805 * sysdeps/i386/init-first.c (init): Likewise.
60806 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
60807 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
60808 * sysdeps/sh/init-first.c (init): Likewise.
60809
60810 2012-04-01 Ulrich Drepper <drepper@gmail.com>
60811
60812 * po/ru.po: Update from translation team.
60813 * po/vi.po: Likewise.
60814
60815 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
60816
60817 * resolv/nss_dns/dns-host.c: Merge copyright years.
60818
60819 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60820
60821 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60822 Optimize memcpy with prefetch if
60823 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
60824 src, dst pointers have unequal 16 byte alignments.
60825
60826 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
60827
60828 [BZ #13928]
60829 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
60830 from a CNAME entry and return the minimum ttl for the query.
60831 (gaih_getanswer_slice): Likewise.
60832
60833 2012-03-30 Jeff Law <law@redhat.com>
60834
60835 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
60836 due to long keys.
60837 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
60838 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
60839
60840 * resolv/nss_dns/dns-host.c: Update copyright year.
60841
60842 2012-03-30 Ulrich Drepper <drepper@gmail.com>
60843
60844 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
60845 requests to save a system call. Fix check that all bytes are sent.
60846
60847 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
60848 comments for sendmmsg.
60849
60850 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60851
60852 [BZ #13691]
60853 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
60854 with only 1 character between 0x0041 and 0x01b0.
60855 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
60856 * wcsmbs/tst-mbsnrtowcs.c: New file.
60857
60858 2012-03-29 David S. Miller <davem@davemloft.net>
60859
60860 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
60861 small copies by hand.
60862
60863 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60864
60865 [BZ #13761]
60866 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
60867 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
60868 group memberships.
60869
60870 2012-03-28 David S. Miller <davem@davemloft.net>
60871
60872 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
60873 that branches into memcpy.
60874 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60875 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
60876 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60877 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
60878 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
60879 bits.
60880 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
60881 implementation too.
60882 * sysdeps/sparc/mempcpy.S: New file.
60883
60884 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
60885 the IFUNC routine in the libc case.
60886 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60887
60888 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
60889 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
60890 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
60891 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
60892 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
60893 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
60894 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
60895 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
60896
60897 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
60898 loop to 256 bytes instead of 64 bytes and fix test signedness.
60899
60900 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
60901 * sysdeps/sparc/sparc32/Makefile: rather than here...
60902 * sysdeps/sparc/sparc64/Makefile: and here.
60903
60904 2012-03-28 Ulrich Drepper <drepper@gmail.com>
60905
60906 * malloc/mallocbug.c: Avoid warnings about unused variables.
60907
60908 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
60909
60910 [BZ #13760]
60911 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
60912 in the right place. Discard and retry query if response is
60913 larger than input buffer size.
60914
60915 2012-03-28 Joseph Myers <joseph@codesourcery.com>
60916
60917 [BZ #369]
60918 [BZ #2678]
60919 [BZ #3866]
60920 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
60921 x for large integer exponent.
60922 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60923 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
60924 sign of result as needed afterwards.
60925 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60926 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
60927 result for underflowing pow the same as for overflow.
60928 (__kernel_standard_l): Handle powl overflow and underflow here
60929 rather than calling __kernel_standard.
60930 * math/libm-test.inc (pow_test): Add more tests.
60931
60932 [BZ #3868]
60933 [BZ #13879]
60934 [BZ #13910]
60935 [BZ #13911]
60936 [BZ #13912]
60937 [BZ #13913]
60938 [BZ #13915]
60939 [BZ #13916]
60940 [BZ #13917]
60941 [BZ #13918]
60942 [BZ #13919]
60943 [BZ #13920]
60944 [BZ #13921]
60945 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
60946 * sysdeps/ieee754/k_standard.c: Include <float.h>.
60947 (__kernel_standard_l): New function.
60948 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
60949 __kernel_standard.
60950 * math/w_acosl.c (__acosl): Likewise.
60951 * math/w_asinl.c (__asinl): Likewise.
60952 * math/w_atan2l.c (__atan2l): Likewise.
60953 * math/w_atanhl.c (__atanhl): Likewise.
60954 * math/w_coshl.c (__coshl): Likewise.
60955 * math/w_exp10l.c (__exp10l): Likewise.
60956 * math/w_exp2l.c (__exp2l): Likewise.
60957 * math/w_fmodl.c (__fmodl): Likewise.
60958 * math/w_hypotl.c (__hypotl): Likewise.
60959 * math/w_j0l.c (__j0l, __y0l): Likewise.
60960 * math/w_j1l.c (__j1l, __y1l): Likewise.
60961 * math/w_jnl.c (__jnl, __ynl): Likewise.
60962 * math/w_lgammal.c (__lgammal): Likewise.
60963 * math/w_log10l.c (__log10l): Likewise.
60964 * math/w_log2l.c (__log2l): Likewise.
60965 * math/w_logl.c (__logl): Likewise.
60966 * math/w_powl.c (__powl): Likewise.
60967 * math/w_remainderl.c (__remainderl): Likewise.
60968 * math/w_scalbl.c (sysv_scalbl): Likewise.
60969 * math/w_sinhl.c (__sinhl): Likewise.
60970 * math/w_sqrtl.c (__sqrtl): Likewise.
60971 * math/w_tgammal.c (__tgammal): Likewise.
60972 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
60973 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
60974 * math/libm-test.inc (acos_test): Add more tests.
60975 (acosh_test): Likewise.
60976 (asin_test): Likewise.
60977 (atanh_test): Likewise.
60978 (exp_test): Likewise.
60979 (exp10_test): Likewise.
60980 (exp2_test): Likewise.
60981 (expm1_test): Likewise.
60982 (lgamma_test): Likewise.
60983 (log_test): Likewise.
60984 (log10_test): Likewise.
60985 (log1p_test): Likewise.
60986 (log2_test): Likewise.
60987 (pow_test): Do not allow some spurious overflow exceptions.
60988 (sqrt_test): Add more tests.
60989 (tgamma_test): Likewise.
60990 (y0_test): Likewise.
60991 (y1_test): Likewise.
60992 (yn_test): Likewise.
60993
60994 2012-03-27 Anton Blanchard <anton@samba.org>
60995
60996 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
60997 MAP_HUGETLB.
60998 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60999 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61000 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61001
61002 2012-03-27 David S. Miller <davem@davemloft.net>
61003
61004 * conform/Makefile: Run run-conformtest.sh using $(BASH).
61005
61006 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
61007 have-as-vis3 check.
61008
61009 2012-03-27 Andreas Jaeger <aj@suse.de>
61010
61011 * sysdeps/x86_64/elf/configure.in: Moved to ...
61012 * sysdeps/x86_64/configure.in: ... here.
61013 * sysdeps/x86_64/elf/start.S: Moved to ...
61014 * sysdeps/x86_64/start.S: ... here.
61015 * sysdeps/x86_64/elf/configure: Delete.
61016
61017 * sysdeps/x86_64/configure.in: Merge contents from
61018 sysdeps/i386/configure.in (without i686 check).
61019
61020 * sysdeps/i386/elf/Versions: Merge into ...
61021 * sysdeps/i386/Versions: ... this.
61022 * sysdeps/i386/elf/Versions: Delete file.
61023 * sysdeps/i386/elf/start.S: Moved to ...
61024 * sysdeps/i386/start.S: ...here.
61025 * sysdeps/i386/elf/configure.in: Merge into...
61026 * sysdeps/i386/configure.in: ...here.
61027 * sysdeps/i386/elf/configure.in: Delete file.
61028 * sysdeps/i386/elf/configure: Delete file.
61029
61030 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
61031 * debug/backtracesyms.c: ... here.
61032 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
61033 * debug/backtracesymsfd.c: ... here.
61034 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
61035 * sysdeps/generic/ifunc-sel.h: ... here.
61036
61037 * sysdeps/unix/i386/start.c: Delete file.
61038 * sysdeps/unix/sparc/start.c: Delete file.
61039 * sysdeps/unix/start.c: Delete file.
61040
61041 * sysdeps/sh/elf/configure.in: Moved to ...
61042 * sysdeps/sh/configure.in: ... here.
61043 * sysdeps/sh/elf/start.S: Moved to ...
61044 * sysdeps/sh/start.S: ... here.
61045 * sysdeps/sh/elf/configure: Delete file.
61046
61047 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
61048 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
61049 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
61050 * sysdeps/powerpc/powerpc64/entry.h: ... here.
61051 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
61052 * sysdeps/powerpc/powerpc64/start.S: here.
61053 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
61054 * sysdeps/powerpc/powerpc64/Makefile: ... this.
61055 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
61056 * sysdeps/powerpc/powerpc64/configure.in: ... this.
61057 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
61058
61059 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
61060 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
61061 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
61062 * sysdeps/powerpc/powerpc32/start.S: ... here.
61063 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
61064 * sysdeps/powerpc/powerpc32/configure.in: ... this.
61065 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
61066
61067 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
61068 * sysdeps/powerpc/ifunc-sel.h: ... here.
61069 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
61070 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
61071
61072 * sysdeps/sparc/elf/configure.in: Moved to ...
61073 * sysdeps/sparc/configure.in: ... here.
61074 * sysdeps/sparc/elf/configure: Delete file.
61075 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
61076 * sysdeps/sparc/sparc32/start.S: ... here.
61077 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
61078 * sysdeps/sparc/sparc64/start.S: ... here.
61079 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
61080 * sysdeps/sparc/sparc32/Makefile: ... this.
61081 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
61082 * sysdeps/sparc/sparc64/Makefile: ... this.
61083
61084 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
61085 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
61086 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
61087 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
61088 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
61089 * sysdeps/s390/s390-32/setjmp.S: ... here.
61090 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
61091 * sysdeps/s390/s390-32/configure.in: ... here.
61092 * sysdeps/s390/s390-32/elf/configure: Delete file.
61093 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
61094 * sysdeps/s390/s390-32/start.S: ... here.
61095
61096 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
61097 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
61098 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
61099 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
61100 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
61101 * sysdeps/s390/s390-64/setjmp.S: ... here.
61102 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
61103 * sysdeps/s390/s390-64/configure.in: ... here
61104 * sysdeps/s390/s390-64/elf/configure: Delete file.
61105 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
61106 * sysdeps/s390/s390-64/start.S: ... here.
61107 * sysdeps/s390/s390-64/elf/configure: Delete.
61108
61109 * configure.in: Remove support for elf directories in sysdeps.
61110
61111 * configure: Regenerated.
61112 * sysdeps/i386/configure: Regenerated.
61113 * sysdeps/powerpc/powerpc32/configure: Regenerated.
61114 * sysdeps/powerpc/powerpc64/configure: Regenerated.
61115 * sysdeps/s390/s390-32/configure: Regenerated.
61116 * sysdeps/s390/s390-64/configure: Regenerated.
61117 * sysdeps/sh/configure: Regenerated.
61118 * sysdeps/sparc/configure: Regenerated.
61119 * sysdeps/x86_64/configure: Regenerated.
61120
61121 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
61122
61123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61124
61125 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
61126 denormal result into account.
61127
61128 2012-03-25 Roland McGrath <roland@hack.frob.com>
61129
61130 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
61131 Reported by Allan McRae <allan@archlinux.org>.
61132
61133 2012-03-23 Jeff Law <law@redhat.com>
61134
61135 * nss/getnssent.c (__nss_getent): Fix typo.
61136
61137 2012-03-23 David S. Miller <davem@davemloft.net>
61138
61139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61140
61141 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
61142
61143 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
61144 to pad to uint64_t for each field.
61145 (dl_tls_index): Replace unsigned long with uint64_t.
61146
61147 2012-03-23 Daniel Jacobowitz <dmj@google.com>
61148 Paul Pluzhnikov <ppluzhnikov@google.com>
61149
61150 [BZ #6528]
61151 * grp/Makefile (otherlibs): Don't set it.
61152 * inet/Makefile (otherlibs): Likewise.
61153 * login/Makefile (otherlibs): Likewise.
61154 * nscd/Makefile (otherlibs): Likewise.
61155 * posix/Makefile (otherlibs): Likewise.
61156 * pwd/Makefile (otherlibs): Likewise.
61157 * rt/Makefile (otherlibs): Likewise.
61158 * sunrpc/Makefile (otherlibs): Likewise.
61159 * nss/Makefile (otherlibs): Likewise.
61160 Add libnss_files to routines and static-only-routines.
61161 ($(objpfx)getent): Remove rule.
61162 * resolv/Makefile: Add libnss_dns and libresolv to routines and
61163 static-only-routines.
61164
61165 2012-03-22 Joseph Myers <joseph@codesourcery.com>
61166
61167 [BZ #13892]
61168 * math/s_cexp.c: Include <float.h>.
61169 (__cexp): Handle exp result overflowing not necessarily
61170 overflowing both real and imaginary parts of result.
61171 * math/s_cexpf.c: Likewise.
61172 * math/s_cexpl.c: Likewise.
61173 * math/libm-test.inc (cexp_test): Add more tests.
61174 * sysdeps/i386/fpu/libm-test-ulps: Update.
61175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61176
61177 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
61178
61179 * include/link.h (ELFW): New macro.
61180 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
61181 Replace ELF64_R_TYPE with ELFW(R_TYPE).
61182
61183 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
61184
61185 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
61186 with uint64_t.
61187
61188 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
61189
61190 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
61191 declaration.
61192 (struct La_x32_retval): Likewise.
61193
61194 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
61195
61196 * sysdeps/x86_64/preconfigure.in: New file.
61197 * sysdeps/x86_64/preconfigure: New generated file.
61198
61199 2012-03-22 Joseph Myers <joseph@codesourcery.com>
61200
61201 [BZ #13824]
61202 * math/e_exp2l.c: Include <float.h>.
61203 (__ieee754_exp2l): Handle overflow and underflow cases
61204 separately. Only pass fractional part of argument to
61205 __ieee754_expl.
61206 * math/libm-test.inc (exp2_test): Add more tests.
61207
61208 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
61209 negating x to take absolute value.
61210 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
61211 Likewise.
61212 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61213 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
61214 Likewise.
61215 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
61216 computing low part if x was negated.
61217 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61218
61219 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
61220
61221 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
61222 la_x32_gnu_pltexit.
61223 (pltexit): Cast int_retval to ptrdiff_t.
61224 * elf/tst-auditmod3b.c: Likewise.
61225 * elf/tst-auditmod4b.c: Likewise.
61226 * elf/tst-auditmod5b.c: Likewise.
61227 * elf/tst-auditmod6b.c: Likewise.
61228 * elf/tst-auditmod6c.c: Likewise.
61229 * elf/tst-auditmod7b.c: Likewise.
61230
61231 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
61232 and x32_gnu_pltexit.
61233
61234 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
61235 __ELF_NATIVE_CLASS.
61236 (La_x32_regs): New macro.
61237 (La_x32_retval): Likewise.
61238 (la_x32_gnu_pltenter): New function prototype.
61239 (la_x32_gnu_pltexit): Likewise.
61240
61241 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
61242
61243 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
61244 exponent.
61245
61246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61247
61248 * configure.in (libc_cv_cc_nofma): Check for option to disable
61249 generation of FMA instructions.
61250 * configure: Regenerate.
61251 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
61252 * sysdeps/ieee754/dbl-64/Makefile: New file.
61253 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
61254 Remove brandred-fma4.
61255 (CFLAGS-brandred-fma4.c): Remove.
61256 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
61257 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
61258 define.
61259 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
61260 define.
61261
61262 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
61263
61264 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
61265 LLONG_MAX != LONG_MAX.
61266 (_itoa_word): Use _ITOA_WORD_TYPE on value.
61267 (_fitoa_word): Likewise.
61268 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
61269 LLONG_MAX != LONG_MAX.
61270 * stdio-common/_itowa.h: Include <_itoa.h>.
61271 (_itowa_word): Use _ITOA_WORD_TYPE on value.
61272 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
61273 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
61274 only if not defined.
61275 (_ITOA_WORD_TYPE): Likewise.
61276 (_itoa_word): Use _ITOA_WORD_TYPE on value.
61277 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
61278
61279 2012-03-21 David S. Miller <davem@davemloft.net>
61280
61281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61282
61283 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
61284
61285 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
61286 of x86_64 when setting libc_cv_slibdir, libdir and
61287 libc_cv_localedir.
61288 * sysdeps/unix/sysv/linux/configure: Regenerated.
61289
61290 2012-03-21 Joseph Myers <joseph@codesourcery.com>
61291
61292 * manual/lang.texi (Old Varargs): Remove section.
61293 (How Variadic): Update menu.
61294 (va_start): Do not mention varargs.h.
61295
61296 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
61297 Joseph Myers <joseph@codesourcery.com>
61298
61299 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
61300 link test.
61301 * configure: Regenerated.
61302
61303 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
61304
61305 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
61306 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
61307 conformtest.pl
61308
61309 2012-03-21 Joseph Myers <joseph@codesourcery.com>
61310
61311 * NOTES: Remove.
61312 * Makefile (files-for-dist): Remove NOTES.
61313 (NOTES): Remove rule.
61314 * README: Don't refer to NOTES.
61315 * manual/creature.texi: Don't include macros.texi.
61316 * manual/intro.texi (creature.texi): Remove comment referring to
61317 NOTES.
61318
61319 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
61320 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
61321 * configure: Regenerated.
61322 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
61323 LIBC_TRY_CC_OPTION.
61324 (libc_cv_as_i686): Likewise.
61325 (libc_cv_cc_avx): Likewise.
61326 (libc_cv_cc_sse2avx): Likewise.
61327 (libc_cv_cc_fma4): Likewise.
61328 (libc_cv_cc_novzeroupper): Likewise.
61329 * sysdeps/i386/configure: Regenerated.
61330
61331 [BZ #13883]
61332 * sysdeps/i386/fpu/s_cexp.S: Remove.
61333 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
61334 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
61335 * math/libm-test.inc (cexp_test): Add more tests.
61336 * sysdeps/i386/fpu/libm-test-ulps: Update.
61337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61338
61339 2012-03-21 Allan McRae <allan@archlinux.org>
61340
61341 * timezone/Makefile: Do not install iso3166.tab and zone.tab
61342
61343 2012-03-21 Joseph Myers <joseph@codesourcery.com>
61344
61345 [BZ #13871]
61346 * math/w_exp2.c: Do not include <float.h>.
61347 (o_threshold, u_threshold): Remove.
61348 (__exp2): Calculate result before checking finiteness and calling
61349 __kernel_standard.
61350 * math/w_exp2f.c: Likewise.
61351 * math/w_exp2l.c: Likewise.
61352 * math/libm-test.inc (exp2_test): Require overflow exception for
61353 1e6 input.
61354
61355 [BZ #3866]
61356 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
61357 range of signed 64-bit integers before using fistpll. Remove
61358 checks for whether integers fit in mantissa bits.
61359 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
61360 the range of signed 32-bit integers before using fistpl. Remove
61361 checks for whether integers fit in mantissa bits.
61362 * sysdeps/i386/fpu/e_powl.S (p64): New object.
61363 (__ieee754_powl): Test for y outside the range of signed 64-bit
61364 integers before using fistpll. Reduce 64-bit values to 63-bit
61365 ones as needed.
61366 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
61367 divide-by-zero is raised for zero to large negative powers.
61368 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
61369 (__ieee754_powl): Test for y outside the range of signed 64-bit
61370 integers before using fistpll. Reduce 64-bit values to 63-bit
61371 ones as needed.
61372 * math/libm-test.inc (pow_test): Add more tests.
61373
61374 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
61375
61376 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
61377 <stdio-common/_itoa.h>.
61378 * debug/segfault.c: Likewise.
61379 * elf/dl-cache.c: Likewise.
61380 * elf/dl-minimal.c: Likewise.
61381 * elf/dl-misc.c: Likewise.
61382 * elf/dl-sysdep.c: Likewise.
61383 * elf/dl-version.c: Likewise.
61384 * elf/rtld.c: Likewise.
61385 * hurd/hurdsock.c: Likewise.
61386 * hurd/lookup-retry.c: Likewise.
61387 * malloc/malloc.c: Likewise.
61388 * malloc/mtrace.c: Likewise.
61389 * nscd/nscd_getgr_r.c: Likewise.
61390 * nscd/nscd_getpw_r.c: Likewise.
61391 * nscd/nscd_getserv_r.c: Likewise.
61392 * posix/getopt_init.c: Likewise.
61393 * posix/wordexp.c: Likewise.
61394 * stdio-common/_itoa.c: Likewise.
61395 * stdio-common/printf_fphex.c: Likewise.
61396 * stdio-common/vfprintf.c: Likewise.
61397 * string/_strerror.c: Likewise.
61398 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
61399 * sysdeps/i386/i686/hp-timing.h: Likewise.
61400 * sysdeps/mach/_strerror.c: Likewise.
61401 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
61402 * sysdeps/mach/hurd/sethostid.c: Likewise.
61403 * sysdeps/mach/hurd/xmknodat.c: Likewise.
61404 * sysdeps/mach/xpg-strerror.c: Likewise.
61405 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61406 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61407 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
61408 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
61409 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61410 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
61411 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
61412 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
61413 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
61414 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
61415 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
61416 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61417 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
61418 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61419 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61420 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
61421 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
61422 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
61423 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
61424 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
61425 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
61426
61427 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
61428
61429 * stdio-common/_itoa.h: Moved to ...
61430 * sysdeps/generic/_itoa.h: Here.
61431
61432 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
61433
61434 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
61435 instead of "_itoa.h" and "_itowa.h".
61436 * stdio-common/vfprintf.: Likewise.
61437
61438 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
61439
61440 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
61441 <bits/wordsize.h>.
61442 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
61443 (__signbit): Likwise.
61444 (llrintf): Likwise.
61445 (llrint): Likwise.
61446
61447 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
61448
61449 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
61450 __WORDSIZE != 64.
61451
61452 2012-03-20 Joseph Myers <joseph@codesourcery.com>
61453
61454 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
61455 OVERFLOW_EXCEPTION_OK.
61456 * math/libm-test.inc ("Philosophy"): Update comment about
61457 exception testing.
61458 (OVERFLOW_EXCEPTION): Define.
61459 (OVERFLOW_EXCEPTION_OK): Likewise.
61460 (INVALID_EXCEPTION_OK): Renumber.
61461 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61462 (IGNORE_ZERO_INF_SIGN): Likewise.
61463 (test_exceptions): Handle FE_OVERFLOW.
61464 (exp10_test): Expect overflow exceptions.
61465 (exp2_test): Likewise.
61466 (expm1_test): Likewise.
61467 (nextafter_test): Likewise.
61468 (pow_test): Likewise.
61469 (scalbn_test): Likewise.
61470 (scalbln_test): Likewise.
61471
61472 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
61473
61474 * sysdeps/x86_64/bits/atomic.h
61475 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
61476 64bit integer.
61477 (atomic_exchange_acq): Likewise.
61478 (__arch_exchange_and_add_body): Likewise.
61479 (__arch_add_body): Likewise.
61480 (atomic_add_negative): Likewise.
61481 (atomic_add_zero): Likewise.
61482
61483 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
61484
61485 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
61486 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
61487
61488 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
61489
61490 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
61491 Check __x86_64__ instead of __WORDSIZE.
61492
61493 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
61494
61495 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
61496
61497 2012-03-19 David S. Miller <davem@davemloft.net>
61498
61499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61500
61501 * sysdeps/sparc/fpu/fenv_private.h: New file.
61502 * sysdeps/sparc/fpu/math_private.h: Use it.
61503 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
61504 Remove.
61505 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
61506 (libc_feholdexcept_setroundl): Remove.
61507 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
61508 Remove.
61509 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
61510 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
61511
61512 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
61513
61514 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
61515 int64_t instead of long int.
61516 (INSERT_WORDS64): Likwise.
61517
61518 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
61519
61520 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
61521 _Unwind_GetCFA return to _Unwind_Ptr first.
61522
61523 2012-03-19 Joseph Myers <joseph@codesourcery.com>
61524
61525 [BZ #13629]
61526 * math/s_clog.c: Include <float.h>.
61527 (__clog): Scale large or subnormal inputs.
61528 * math/s_clogf.c: Likewise.
61529 * math/s_clogl.c: Likewise.
61530 * math/s_clog10.c: Include <float.h>.
61531 (M_LOG10_2): Define.
61532 (__clog10): Scale large or subnormal inputs.
61533 * math/s_clog10f.c: Likewise.
61534 * math/s_clog10l.c: Likewise.
61535 * math/libm-test.inc (clog_test): Add more tests.
61536 (clog10_test): Likewise.
61537 * sysdeps/i386/fpu/libm-test-ulps: Update.
61538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61539
61540 [BZ #11451]
61541 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
61542 x and y.
61543 * math/libm-test.inc (atan2_test): Add another test.
61544
61545 * Makerules (common-objdir-compile): Remove.
61546 * sysdeps/unix/Makefile (config-generated): Do not add
61547 $(unix-generated) to variable.
61548 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
61549 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
61550 Remove rule.
61551 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
61552 Likewise.
61553 [generic bits/local_lim.h] (before-compile): Do not append to
61554 variable.
61555 [generic bits/local_lim.h] (common-generated): Likewise.
61556 [generic sys/param.h] (before-compile): Do not append to variable.
61557 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
61558 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
61559 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
61560 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
61561 include.
61562 [generic sys/param.h] (sys/param.h-includes): Remove variable.
61563 [generic sys/param.h] (sys/param.h-includes): Remove rule.
61564 [generic sys/param.h] ($(addprefix
61565 $(common-objpfx),$(sys/param.h-includes))): Likewise.
61566 [generic sys/param.h] (common-generated): Do not append to
61567 variable.
61568 [generic sys/param.h] (sysdep_headers): Likewise.
61569 [generic bits/errno.h] (before-compile): Do not append to
61570 variable.
61571 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
61572 rule.
61573 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
61574 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
61575 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
61576 [generic bits/errno.h] (common-generated): Do not append to
61577 variable.
61578 [generic bits/ioctls.h] (before-compile): Do not append to
61579 variable.
61580 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
61581 rule.
61582 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
61583 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
61584 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
61585 rule.
61586 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
61587 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
61588 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
61589 [generic bits/ioctls.h] (common-generated): Do not append to
61590 variable.
61591 [generic sys/syscall.h] (syscall.h): Remove variable.
61592 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
61593 rule.
61594 [generic sys/syscall.h] (before-compile): Do not append to
61595 variable.
61596 [generic sys/syscall.h] (common-generated): Likewise.
61597 * sysdeps/unix/errnos-tmpl.c: Remove file.
61598 * sysdeps/unix/errnos.awk: Likewise.
61599 * sysdeps/unix/ioctls-tmpl.c: Likewise.
61600 * sysdeps/unix/ioctls.awk: Likewise.
61601 * sysdeps/unix/mk-local_lim.c: Likewise.
61602 * sysdeps/unix/snarf-ioctls: Likewise.
61603
61604 2012-03-19 Richard Henderson <rth@twiddle.net>
61605
61606 * sysdeps/i386/fpu/fenv_private.h: New file.
61607 * sysdeps/i386/fpu/math_private.h: Use it.
61608 (math_opt_barrier, math_force_eval): Remove.
61609 (libc_feholdexcept_setround_53bit): Remove.
61610 (libc_feupdateenv_53bit): Remove.
61611 * sysdeps/x86_64/fpu/math_private.h: Likewise.
61612 (math_opt_barrier, math_force_eval): Remove.
61613 (libc_feholdexcept): Remove.
61614 (libc_feholdexcept_setround): Remove.
61615 (libc_fetestexcept, libc_fesetenv): Remove.
61616 (libc_feupdateenv_test): Remove.
61617 (libc_feupdateenv, libc_feholdsetround): Remove.
61618 (libc_feresetround): Remove.
61619
61620 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
61621 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
61622
61623 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
61624 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
61625 (libc_feupdateenv_testl): New.
61626 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
61627 (libc_feupdateenv_testf): New.
61628 (libc_feupdateenv): Use libc_feupdateenv_test.
61629 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
61630 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
61631
61632 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
61633 (libc_feholdsetroundf, libc_feholdsetroundl): New.
61634 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
61635 (libc_feresetround_noex): New.
61636 (libc_feresetround_noexf): New.
61637 (libc_feresetround_noexl): New.
61638 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
61639 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
61640 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
61641 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
61642 SET_RESTORE_ROUND.
61643 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61644 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
61645 (__cos): Likewise.
61646 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
61647 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
61648 SET_RESTORE_ROUND_NOEX.
61649 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
61650 SET_RESTORE_ROUND_NOEXF.
61651 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
61652 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
61653 (libc_feholdsetroundf): New.
61654 (libc_feresetround, libc_feresetroundf): New.
61655
61656 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
61657 (libc_feholdexcept_setround_53bit): Convert from macro to function.
61658 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
61659
61660 * sysdeps/generic/math_private.h: Include <fenv.h>.
61661 (default_libc_feholdexcept): New.
61662 (default_libc_feholdexcept_setround): New.
61663 (default_libc_fesetenv, default_libc_feupdateenv): New.
61664 (libc_feholdexcept): Only define if undefined.
61665 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
61666 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
61667 (libc_feholdexcept_setroundl): Likewise.
61668 (libc_feholdexcept_setround_53bit): Likewise.
61669 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
61670 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
61671 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
61672 (libc_feupdateenv_53bit): Likewise.
61673 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
61674 (libc_feholdexcept): Convert from macro to inline function.
61675 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
61676 (libc_fesetenv, libc_feupdateenv): Likewise.
61677
61678 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
61679 not previously defined.
61680 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
61681 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
61682 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
61683 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
61684 * sysdeps/ieee754/flt-32/math_private.h: New file.
61685 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
61686 math_private.h below SET_FLOAT_WORD.
61687 (__isnan, __isinf_ns, __finite): Remove.
61688 (__isnanf, __isinf_nsf, __finitef): Remove.
61689
61690 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
61691
61692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61693
61694 2012-03-17 David S. Miller <davem@davemloft.net>
61695
61696 [BZ #6471]
61697 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
61698 for 2.16.
61699
61700 2012-03-16 David S. Miller <davem@davemloft.net>
61701
61702 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
61703 warnings.
61704
61705 [BZ #6471]
61706 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
61707 properly.
61708 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
61709 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
61710 sysdep_routines when subdir is sysvipc.
61711 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
61712 __getshmlba helper.
61713
61714 * sysdeps/sparc/fpu/libm-test/ulps: Update.
61715
61716 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
61717
61718 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
61719 [__LP64__].
61720
61721 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
61722
61723 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
61724 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
61725 (__lround): Renamed to ...
61726 (__llround): This. Replace long int with long long int.
61727 Define lround functions as aliases of llround functions.
61728 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
61729
61730 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
61731
61732 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
61733 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
61734 adresses to uintptr_t. Replace "long int" and "unsigned long
61735 int" with "greg_t" on va_arg.
61736
61737 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
61738
61739 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
61740 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
61741
61742 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
61743 Move e_machine check before EI_CLASS check. Handle x32
61744 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
61745 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
61746 SKIP_EM_IA_64 and include
61747 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
61748
61749 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
61750 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
61751 (add_system_dir): New macro.
61752
61753 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
61754 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
61755
61756 2012-03-16 Joseph Myers <joseph@codesourcery.com>
61757
61758 [BZ #2551]
61759 [BZ #2552]
61760 [BZ #2553]
61761 [BZ #2554]
61762 [BZ #2562]
61763 [BZ #2563]
61764 [BZ #2565]
61765 [BZ #2566]
61766 [BZ #2576]
61767 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
61768 (y0): Likewise.
61769 * math/w_j0f.c (j0f): Likewise.
61770 (y0f): Likewise.
61771 * math/w_j0l.c (__j0l): Likewise.
61772 (__y0l): Likewise.
61773 * math/w_j1.c (j1): Likewise.
61774 (y1): Likewise.
61775 * math/w_j1f.c (j1f): Likewise.
61776 (y1f): Likewise.
61777 * math/w_j1l.c (__j1l): Likewise.
61778 (__y1l): Likewise.
61779 * math/w_jn.c (jn): Likewise.
61780 (yn): Likewise.
61781 * math/w_jnf.c (jnf): Likewise.
61782 (ynf): Likewise.
61783 * math/w_jnl.c (__jnl): Likewise.
61784 (__ynl): Likewise.
61785 * math/libm-test.inc (j0_test): Add more tests.
61786 (j1_test): Likewise.
61787 (jn_test): Likewise. Add trailing semicolon to existing test.
61788 (y0_test): Likewise.
61789 (y1_test): Likewise.
61790 * sysdeps/i386/fpu/libm-test-ulps: Update.
61791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61792
61793 [BZ #13851]
61794 [BZ #13854]
61795 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
61796 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
61797 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
61798 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
61799 (__tanl): Set errno for infinite argument.
61800 * sysdeps/i386/fpu/mptan.c: Remove.
61801 * sysdeps/i386/fpu/s_tan.S: Likewise.
61802 * sysdeps/i386/fpu/s_tanl.S: Likewise.
61803 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
61804 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
61805 * math/libm-test.inc (tan_test): Add more tests and enable more
61806 tests for double and long double.
61807 * sysdeps/i386/fpu/libm-test-ulps: Update.
61808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61809
61810 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
61811
61812 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
61813 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
61814
61815 2012-03-16 Roland McGrath <roland@hack.frob.com>
61816
61817 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
61818 * configure.in: Use it for both main tree and add-ons.
61819 * configure: Regenerated.
61820
61821 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
61822
61823 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
61824
61825 2012-03-16 Joseph Myers <joseph@codesourcery.com>
61826
61827 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
61828 in comment.
61829
61830 [BZ #13851]
61831 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
61832 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
61833 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
61834 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
61835 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
61836 infinite argument.
61837 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
61838 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
61839 != 0 for prec == 2.
61840 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
61841 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
61842 * sysdeps/i386/fpu/s_cosl.S: Likewise.
61843 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
61844 * sysdeps/i386/fpu/s_sinl.S: Likewise.
61845 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
61846 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
61847 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
61848 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
61849 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
61850 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
61851 * math/libm-test.inc (cos_test): Add more tests and enable more
61852 tests for long double.
61853 (sin_test): Likewise.
61854 (sincos_test): Likewise.
61855 * sysdeps/i386/fpu/libm-test-ulps: Update.
61856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61857
61858 2012-03-16 David S. Miller <davem@davemloft.net>
61859
61860 * sysdeps/sparc/fpu/math_private.h: New file.
61861
61862 2012-03-15 David S. Miller <davem@davemloft.net>
61863
61864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
61865 file.
61866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
61867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
61868 file.
61869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
61870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
61871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
61872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
61873 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
61874 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
61875 sysdep routines.
61876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61877
61878 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
61879 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
61880
61881 * sysdeps/sparc/sparc-ifunc.h: New file.
61882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
61883 sparc-ifunc.h
61884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
61886 Likewise.
61887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
61888 Likewise.
61889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
61890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
61891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61893 Likewise.
61894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
61896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
61898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
61899 Likewise.
61900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
61901 Likewise.
61902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
61904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
61905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
61906 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61907 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61908 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
61909 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
61910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61911 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
61913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
61914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
61915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
61916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
61917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
61918 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
61919 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
61920 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
61921 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
61922 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
61923 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
61924 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
61925 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
61926
61927 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
61928
61929 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
61930 scaling.
61931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61932
61933 2012-03-15 Andreas Jaeger <aj@suse.de>
61934
61935 [BZ #13852]
61936 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
61937 ieee754/flt-32 implementation for sin, cos and sincos.
61938 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
61939 * sysdeps/i386/fpu/s_cosf.S: Likewise.
61940 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
61941 * sysdeps/i386/fpu/s_sinf.S: Likewise.
61942 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
61943 ieee754/flt-32 implementation for tan.
61944
61945 * math/libm-test.inc (cos_test): Enable some large input tests for
61946 float as well
61947 (sin_test): Likewise.
61948 (sincos_test): Likewise.
61949 (tan_test): Add tests for large input.
61950
61951 * sysdeps/i386/fpu/libm-test-ulps: Update.
61952
61953 2012-03-15 Andreas Jaeger <aj@suse.de>
61954
61955 [BZ #13658]
61956 * math/libm-test.inc (cos_test): Add more test cases.
61957 (sin_test): Likewise.
61958 (sincos_test): Likewise.
61959
61960 2012-03-15 Andreas Jaeger <aj@suse.de>
61961
61962 [BZ #13837]
61963 * math/libm-test.inc (cos_test): Add a test case for large input
61964 value.
61965 (sin_test): Likewise.
61966 (sincos_test): Likewise.
61967
61968 2012-03-15 Andreas Jaeger <aj@suse.de>
61969 Joseph Myers <joseph@codesourcery.com>
61970
61971 [BZ #13658]
61972 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
61973 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
61974 * sysdeps/i386/fpu/branred.c: Likewise.
61975 * sysdeps/i386/fpu/dosincos.c: Likewise.
61976 * sysdeps/i386/fpu/mpa.c: Likewise.
61977 * sysdeps/i386/fpu/s_cos.S: Likewise.
61978 * sysdeps/i386/fpu/s_sin.S: Likewise.
61979 * sysdeps/i386/fpu/s_sincos.S: Likewise.
61980 * sysdeps/i386/fpu/sincos32.c: Likewise.
61981
61982 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
61983 Define.
61984 (libc_feupdateenv_53bit): Define.
61985 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
61986 Define.
61987 (libc_feupdateenv_53bit): Define.
61988
61989 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
61990 53 bit (without extend i386 double precision).
61991
61992 * math/libm-test.inc (sincos_test): Add tests for large input.
61993 (sin): Likewise.
61994 (cos): Likewise.
61995
61996 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
61997
61998 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
61999
62000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62001
62002 2012-03-15 David S. Miller <davem@davemloft.net>
62003
62004 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
62005 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
62006 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
62007 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
62008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
62009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
62010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
62011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
62012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
62013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
62014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
62015 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
62016 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
62017 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
62018 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
62019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
62020 file.
62021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
62022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
62023 file.
62024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
62025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
62026 file.
62027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
62028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
62029 file.
62030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
62031 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
62032 fmin/fmax sysdep routines.
62033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
62034
62035 2012-03-14 David S. Miller <davem@davemloft.net>
62036
62037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
62038 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
62039 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
62040 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
62041 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
62042 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
62043 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
62044 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
62045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
62046 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
62047 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
62048 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
62049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
62050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
62051 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
62052 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
62053 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
62054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
62055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
62056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
62057 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
62058 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
62059 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
62060 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
62061 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
62062 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
62063 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
62064 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
62065 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
62066 routines.
62067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
62068 file.
62069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
62070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
62071 file.
62072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
62073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
62074 file.
62075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
62076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
62077 file.
62078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
62079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
62080 file.
62081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
62082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
62083 file.
62084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
62085 file.
62086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
62087 file.
62088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
62089 file.
62090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
62091 New file.
62092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
62093 file.
62094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
62095 file.
62096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
62097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
62098 file.
62099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
62100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
62101 file.
62102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
62103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
62104 file.
62105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
62106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
62107 VIS3 routines.
62108
62109 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62110 New file.
62111
62112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62113
62114 * sysdeps/sparc/configure.in: New file.
62115 * sysdeps/sparc/configure: Generate.
62116 * configure.in (libc_cv_sparc_as_vis3): Substitute.
62117 * configure: Regenerate.
62118 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
62119 * config.make.in (have-as-vis3): New.
62120 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
62121 available use -Av9d instead of -Av9a.
62122 * sysdeps/sparc/sparc64/Makefile: Likewise.
62123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
62124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
62125 New file.
62126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
62127 file.
62128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
62129 New file.
62130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
62131 file.
62132 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
62133 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
62134 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
62135 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
62136 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
62137
62138 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
62139 fzeros/fnegs to load 0x80000000 into a float register instead of
62140 using the stack.
62141 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
62142
62143 2012-03-14 Joseph Myers <joseph@codesourcery.com>
62144
62145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62146 bits/syscall.h.
62147 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
62148 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
62149 ($(inst_includedir)/bits/syscall.h): Remove rule.
62150 ($(objpfx)bits/syscall.d): Include instead of
62151 $(objpfx)syscall-list.d.
62152 (generated): Change syscall-list.h and syscall-list.d to
62153 bits/syscall.h and bits/syscall.d.
62154
62155 2012-03-14 Roland McGrath <roland@hack.frob.com>
62156
62157 [BZ #13846]
62158 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
62159
62160 2012-03-14 Joseph Myers <joseph@codesourcery.com>
62161
62162 [BZ #13841]
62163 * math/s_csqrt.c: Include <float.h>.
62164 (__csqrt): Scale large or subnormal inputs.
62165 * math/s_csqrtf.c: Likewise.
62166 * math/s_csqrtl.c: Likewise.
62167 * math/libm-test.inc (csqrt_test): Add more tests.
62168 * sysdeps/i386/fpu/libm-test-ulps: Update.
62169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62170
62171 [BZ #13840]
62172 * math/libm-test.inc (hypot_test): Add more tests.
62173
62174 2012-03-13 David S. Miller <davem@davemloft.net>
62175
62176 [BZ #13840]
62177 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
62178 double-precision for the calculation instead of scaling.
62179
62180 2012-03-13 Joseph Myers <joseph@codesourcery.com>
62181
62182 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
62183 manipulate bits before adding and subtracting TWO52[sx].
62184 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
62185 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
62186 Likewise.
62187 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
62188
62189 2012-03-13 David S. Miller <davem@davemloft.net>
62190
62191 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
62192 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
62193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
62194 rtld-global-offsets.h
62195 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62196
62197 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
62198 large parameters.
62199
62200 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
62201
62202 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
62203 'err' in the ifdef scope in which it is actually used.
62204
62205 * nss/nss_db/db-init.c: Include string.h
62206
62207 2012-03-12 David S. Miller <davem@davemloft.net>
62208
62209 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62210 masking out of the most significant byte of random value used.
62211 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62212 Fix coding style in previous change.
62213
62214 * sysdeps/unix/sysv/linux/kernel-features.h
62215 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
62216 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
62217 expression.
62218 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
62219 later.
62220
62221 2012-03-11 David S. Miller <davem@davemloft.net>
62222
62223 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
62224 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
62225 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
62226 for 'resultvar' otherwise things get truncated on 64-bit.
62227
62228 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62229 Fix masking out of the most significant byte of random value used.
62230
62231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62232
62233 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
62234
62235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62236
62237 2012-03-09 David S. Miller <davem@davemloft.net>
62238
62239 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
62240 variables with appropriate CPP guards.
62241 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
62242 from the frame pointer, not the stack pointer. Correct layout
62243 comments. Fix test on resulting framesize and the management of
62244 the outregs buffer for pltexit. Preserve floating point return
62245 values across _dl_call_pltexit call.
62246 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
62247 framesize and the management of the outregs buffer for pltexit.
62248 Preserve floating point return values across _dl_call_pltexit
62249 call.
62250 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
62251 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
62252 (la_sparc64_gnu_pltexit): New functions.
62253 (print_exit): Fix format string for return register value.
62254
62255 2012-03-10 Joseph Myers <joseph@codesourcery.com>
62256
62257 * sunrpc/Makefile (others): Add rpcgen.
62258 ($(objpfx)rpcgen): Remove special build rule and dependency on
62259 libc.
62260 * sunrpc/rpcgen.c: New file.
62261
62262 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
62263
62264 [BZ #13673]
62265 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
62266 * stdio-common/bug-vfprintf-nargs.c: Likewise.
62267 * sysdeps/i386/crti.S: Likewise.
62268 * sysdeps/i386/crtn.S: Likewise.
62269 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
62270 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
62271 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
62272 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
62273 * sysdeps/sh/crti.S: Likewise.
62274 * sysdeps/sh/crtn.S: Likewise.
62275 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62276
62277 [BZ #13673]
62278 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
62279 with URL.
62280 * locale/programs/locfile-kw.gperf: Likewise.
62281 * locale/programs/charmap-kw.h: Regenerated.
62282 * locale/programs/locfile-kw.h: Likewise.
62283
62284 [BZ #13673]
62285 * intl/plural.y: Replace FSF snail mail address with URL.
62286 * intl/plural.c: Regenerated.
62287
62288 2012-03-09 Richard Henderson <rth@twiddle.net>
62289
62290 * include/math_private.h: Remove file.
62291 * math/math_private.h: Move file ...
62292 * sysdeps/generic/math_private.h: ... here.
62293
62294 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
62295 * sysdeps/powerpc/fpu/math_private.h: Likewise.
62296 * sysdeps/x86_64/fpu/math_private.h: Likewise.
62297
62298 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
62299 and <math_private.h>.
62300 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62301 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62302 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62303 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62304 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62305 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
62306 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62307 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62308 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62309 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62310 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62311 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
62312 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62313 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62314 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62315 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62316 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62317 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62318 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62319 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
62320 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62321 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62322 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62323 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62324 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62325 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62326 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62327 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62328 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62329 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62330 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62331 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62332 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62333 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62334 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62335 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62336 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62337 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62338 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62339 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62340 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
62341 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62342 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62343 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62344 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62345 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62346 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
62347 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62348 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62349 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62350 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62351 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
62352 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62353 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62354 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62355 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62356 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
62357 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62358 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62359 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
62360 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62361 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62362 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62363 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62364 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
62365 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62366 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62367 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62368 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
62369 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
62370 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
62371 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
62372 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
62373 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
62374 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
62375 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
62376 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
62377 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62378 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
62379 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
62380 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
62381 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
62382 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
62383 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
62384 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
62385 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
62386 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
62387 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
62388 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
62389 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62390 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62391 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
62392 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
62393 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
62394 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
62395 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
62396 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
62397 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
62398 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62399 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
62400 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
62401 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
62402 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
62403 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
62404 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62405 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
62406 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
62407 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
62408 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62409 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62410 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62411 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62412 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
62413 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62414 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
62415 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62416 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62417 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62418 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62419 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62420 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62421 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62422 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62423 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
62424 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62425 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62426 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
62427 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
62428 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62429 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
62430 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
62431 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62432 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62433 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
62434 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
62435 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
62436 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
62437 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62438 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
62439 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
62440 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62441 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
62442 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
62443 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
62444 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
62445 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62446 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62447 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62448 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
62449 * sysdeps/ieee754/k_standard.c: Likewise.
62450 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
62451 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
62452 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62453 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
62454 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
62455 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
62456 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
62457 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
62458 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
62459 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
62460 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62461 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
62462 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
62463 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
62464 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
62465 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
62466 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62467 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
62468 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
62469 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
62470 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
62471 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
62472 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62473 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62474 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62475 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
62476 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62477 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62478 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62479 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62480 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62481 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62482 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62483 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62484 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62485 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62486 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62487 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
62488 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
62489 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62490 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62491 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62492 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62493 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62494 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62495 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62496 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62497 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62498 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62499 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62500 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62501 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62502 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62503 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
62504 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62505 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62506 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
62507 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
62508 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62509 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62510 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62511 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62512 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62513 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
62514 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62515 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62516 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
62517 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
62518 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
62519 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
62520 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
62521 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62522 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
62523 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
62524 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
62525 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
62526 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
62527 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62528 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62529 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62530 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62531 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62532 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62533 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62534 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
62535 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62536 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62537 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
62538 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62539 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62540 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
62541 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62542 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
62543 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62544 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62545 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62546 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
62547 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
62548 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
62549 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
62550 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62551 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62552 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62553 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62554 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
62555 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62556 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62557 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
62558 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
62559 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62560 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62561 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62562 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
62563 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62564 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
62565 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62566 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
62567 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62568 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62569 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
62570 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62571 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
62572 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
62573 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
62574 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62575 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
62576 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62577 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62578 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62579 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62580 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62581 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62582 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62583 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
62584 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62585 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62586 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
62587 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
62588 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62589 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
62590 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
62591 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62592 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
62593 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
62594 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62595 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62596 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62597 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62598 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62599 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
62600 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62601 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62602 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62603 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62604 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
62605 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
62606 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62607 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62608 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62609 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
62610 * sysdeps/ieee754/s_lib_version.c: Likewise.
62611 * sysdeps/ieee754/s_matherr.c: Likewise.
62612 * sysdeps/ieee754/s_signgam.c: Likewise.
62613 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62614 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62615 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
62616 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
62617 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
62618 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62619 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
62620 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
62621 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
62622 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
62623 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62624 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
62625 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62626 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62627 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
62628 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62629 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62630 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62631 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62632 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62633 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62634
62635 2012-03-09 Joseph Myers <joseph@codesourcery.com>
62636
62637 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
62638 * sunrpc/rpc_main.c: Likewise.
62639 * sunrpc/rpc_svcout.c: Likewise.
62640
62641 2012-03-09 David S. Miller <davem@davemloft.net>
62642
62643 * include/math_private.h: New file.
62644
62645 2012-03-09 Joseph Myers <joseph@codesourcery.com>
62646
62647 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
62648 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
62649 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
62650 from <bits/socket_type.h>.
62651 (enum __socket_type): Don't define here.
62652 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
62653 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62654 bits/socket_type.h.
62655
62656 [BZ #13566]
62657 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
62658 checking __USE_GNU.
62659
62660 * Makerules ($(inst_includedir)/%.h): New rule.
62661 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
62662 (install-others): Remove variable setting.
62663 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
62664
62665 2012-03-08 Richard Henderson <rth@twiddle.net>
62666
62667 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
62668 from macro to inline function; merge with the
62669 !__LIBC_INTERNAL_MATH_INLINES version.
62670 (__ieee754_sqrtf): Likewise.
62671
62672 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
62673 to inline function.
62674 (__rintf, __floor, __floorf): Likewise.
62675
62676 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
62677 macro to inline function.
62678 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
62679
62680 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
62681 not <math/math_private.h>.
62682
62683 2012-03-08 David S. Miller <davem@davemloft.net>
62684
62685 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
62686 copyright year.
62687 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
62688
62689 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
62690
62691 * resolv/gai_misc.c (handle_requests): Fix struct timespec
62692 normalization.
62693 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
62694 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
62695
62696 2012-03-08 Ulrich Drepper <drepper@gmail.com>
62697
62698 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
62699 be defined individually, they must be defined as a block. Define
62700 S for printing a string instead of hidint the different by using a
62701 macro for adding the 'l'.
62702 * stdio-common/tst-fphex-wide.c: Adjust.
62703
62704 2012-03-07 Marek Polacek <polacek@redhat.com>
62705
62706 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
62707
62708 2012-03-08 Marek Polacek <polacek@redhat.com>
62709
62710 [BZ #13806]
62711 * stdio-common/Makefile (tests): Add tst-fphex-wide.
62712 * stdio-common/tst-fphex.c: Define a few macros to make the
62713 test reusable. Use them.
62714 * stdio-common/tst-fphex-wide.c: New file.
62715
62716 2012-03-08 Joseph Myers <joseph@codesourcery.com>
62717
62718 [BZ #6911]
62719 * manual/macros.texi (gnusystems): New macro.
62720 (nongnusystems): Likewise.
62721 (gnulinuxhurdsystems): Likewise.
62722 (gnuhurdsystems): Likewise..
62723 (gnulinuxsystems): Likewise.
62724 * manual/charset.texi: Use new macros or @theglibc{} to refer to
62725 variants of the GNU system, not "GNU system".
62726 * manual/conf.texi: Likewise.
62727 * manual/errno.texi: Likewise. Update example of errno macro
62728 expansion.
62729 * manual/filesys.texi: Likewise.
62730 (getumask): Document as specific to GNU/Hurd.
62731 * manual/install.texi: Likewise. Reword some references to
62732 GNU/Linux.
62733 * manual/intro.texi: Likewise.
62734 * manual/io.texi: Likewise.
62735 (File Name Portability): Detail which constraints are inapplicable
62736 to all GNU systems and which are only inapplicable to GNU/Hurd.
62737 * manual/job.texi: Likewise.
62738 * manual/llio.texi: Likewise.
62739 (O_NOCTTY): Document as present on GNU/Linux.
62740 * manual/maint.texi: Likewise.
62741 * manual/memory.texi: Likewise.
62742 * manual/pattern.texi: Likewise.
62743 * manual/pipe.texi: Likewise.
62744 * manual/process.texi: Likewise.
62745 * manual/resource.texi: Likewise.
62746 (RUSAGE_CHILDREN): Remove statement about specifying a particular
62747 child on GNU/Hurd.
62748 * manual/setjmp.texi: Likewise.
62749 * manual/signal.texi: Likewise.
62750 * manual/startup.texi: Likewise.
62751 * manual/stdio.texi: Likewise.
62752 * manual/terminal.texi: Likewise.
62753 (ONLCR): Document as POSIX.
62754 (OXTABS): Document availability on GNU/Linux as XTABS.
62755 (ONOEOT): Document availability separately from other bits.
62756 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
62757 * manual/time.texi: Likewise.
62758 * manual/users.texi: Likewise.
62759 * INSTALL: Regenerated.
62760 * sysdeps/gnu/errlist.c: Regenerated.
62761
62762 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
62763 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
62764 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
62765 puts.
62766 * configure: Regenerated.
62767
62768 2012-03-07 Joseph Myers <joseph@codesourcery.com>
62769
62770 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
62771 default includes instead of AC_HEADER_CHECK.
62772 * sysdeps/i386/configure: Regenerated.
62773
62774 [BZ #10716]
62775 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
62776 * math/s_cacoshf.c (__cacoshf): Likewise.
62777 * math/s_cacoshl.c (__cacoshl): Likewise.
62778 * math/s_casinh.c (__casinh): Set signs of result from argument.
62779 * math/s_casinhf.c (__casinhf): Likewise.
62780 * math/s_casinhl.c (__casinhl): Likewise.
62781 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
62782 (casinh_test): Add more tests.
62783 * sysdeps/i386/fpu/libm-test-ulps: Update.
62784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62785
62786 2012-03-07 Ulrich Drepper <drepper@gmail.com>
62787
62788 * po/zh_TW.po: Update from translation team.
62789
62790 * login/Makefile (distribute): Remove variable.
62791 * catgets/Makefile: Likewise.
62792 * mach/Makefile: Likewise.
62793 * malloc/Makefile: Likewise.
62794 * misc/Makefile: Likewise.
62795 * iconv/Makefile: Likewise.
62796 * nscd/Makefile: Likewise.
62797 * hurd/Makefile: Likewise.
62798 * manual/Makefile: Likewise.
62799 * locale/Makefile: Likewise.
62800 * intl/Makefile: Likewise.
62801 * conform/Makefile: Likewise.
62802 * nss/Makefile: Likewise.
62803 * time/Makefile: Likewise.
62804 * soft-fp/Makefile: Likewise.
62805 * dirent/Makefile: Likewise.
62806 * gmon/Makefile: Likewise.
62807 * po/Makefile: Likewise.
62808 * rt/Makefile: Likewise.
62809 * socket/Makefile: Likewise.
62810 * math/Makefile: Likewise.
62811 * signal/Makefile: Likewise.
62812 * debug/Makefile: Likewise.
62813 * elf/Makefile: Likewise.
62814 * timezone/Makefile: Likewise.
62815 * stdlib/Makefile: Likewise.
62816 * iconvdata/Makefile: Likewise.
62817 * sunrpc/Makefile: Likewise.
62818 * io/Makefile: Likewise.
62819 * argp/Makefile: Likewise.
62820 * inet/Makefile: Likewise.
62821 * hesiod/Makefile: Likewise.
62822 * grp/Makefile: Likewise.
62823 * csu/Makefile: Likewise.
62824 * wctype/Makefile: Likewise.
62825 * crypt/Makefile: Likewise.
62826 * libio/Makefile: Likewise.
62827 * string/Makefile: Likewise.
62828 * nis/Makefile: Likewise.
62829 * resolv/Makefile: Likewise.
62830 * stdio-common/Makefile: Likewise.
62831 * wcsmbs/Makefile: Likewise.
62832 * dlfcn/Makefile: Likewise.
62833 * posix/Makefile: Likewise.
62834
62835 [BZ #6959]
62836 * timezone/Makefile: Don't install timezone files, just the programs
62837 and scripts.
62838
62839 2012-03-06 Ulrich Drepper <drepper@gmail.com>
62840
62841 * nss/databases.def: Add missing gshadow entry.
62842
62843 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
62844
62845 2012-03-06 Marek Polacek <polacek@redhat.com>
62846
62847 [BZ #13726]
62848 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
62849 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62850 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
62851 * stdio-common/tst-long-dbl-fphex.c: New file.
62852
62853 2012-03-06 David S. Miller <davem@davemloft.net>
62854
62855 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62856 (set_obp_int): New function.
62857 (get_obp_int): New function.
62858 (__get_clockfreq_via_dev_openprom): Likewise.
62859 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
62860 Avoid unused variable warnings on 'val' and use builtin_expect.
62861 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
62862 __builtin_expect.
62863 (INLINE_CLONE_SYSCALL): Likewise.
62864
62865 2012-03-05 David S. Miller <davem@davemloft.net>
62866
62867 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62868
62869 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
62870
62871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62872
62873 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
62874 only for |x| >= 40.
62875 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62876
62877 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
62878
62879 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
62880 Replace gettimeofday with __vdso_gettimeofday.
62881
62882 * sysdeps/unix/sysv/linux/x86_64/init-first.c
62883 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
62884 __vdso_clock_gettime and __vdso_getcpu.
62885
62886 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
62887 time with __vdso_time.
62888
62889 2012-03-05 Joseph Myers <joseph@codesourcery.com>
62890
62891 * manual/lang.texi (size_t): Note types to which size_t may be
62892 equivalent with the GNU C Library, but do not describe when
62893 differences between them are significant.
62894
62895 2012-03-05 Andreas Jaeger <aj@suse.de>
62896
62897 * sysdeps/i386/fpu/libm-test-ulps: Update.
62898
62899 2012-03-05 Joseph Myers <joseph@codesourcery.com>
62900
62901 [BZ #3976]
62902 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
62903 (__ieee754_pow): Save and restore rounding mode and use
62904 round-to-nearest for main computations.
62905 * math/libm-test.inc (pow_test_tonearest): New function.
62906 (pow_test_towardzero): Likewise.
62907 (pow_test_downward): Likewise.
62908 (pow_test_upward): Likewise.
62909 (main): Call the new functions.
62910 * sysdeps/i386/fpu/libm-test-ulps: Update.
62911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62912
62913 [BZ #3976]
62914 * math/libm-test.inc (cosh_test_tonearest): New function.
62915 (cosh_test_towardzero): Likewise.
62916 (cosh_test_downward): Likewise.
62917 (cosh_test_upward): Likewise.
62918 (sinh_test_tonearest): Likewise.
62919 (sinh_test_towardzero): Likewise.
62920 (sinh_test_downward): Likewise.
62921 (sinh_test_upward): Likewise.
62922 (main): Call the new functions.
62923 * sysdeps/i386/fpu/libm-test-ulps: Update.
62924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62925
62926 2012-03-05 Tom de Vries <tom@codesourcery.com>
62927
62928 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
62929 default stack guard is set in last bytes.
62930 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
62931
62932 2012-03-05 Kees Cook <keescook@chromium.org>
62933
62934 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
62935
62936 [BZ #13656]
62937 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
62938 possibly allocate from heap instead of stack.
62939 * stdio-common/bug-vfprintf-nargs.c: New file.
62940 * stdio-common/Makefile (tests): Add nargs overflow test.
62941
62942 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
62943
62944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62945
62946 2012-03-03 Marek Polacek <polacek@redhat.com>
62947
62948 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
62949 * math/math_private.h: Likewise.
62950 * stdlib/tst-strtod.c: Likewise.
62951 * sysdeps/i386/i486/bits/atomic.h: Likewise.
62952 * sysdeps/x86_64/bits/atomic.h: Likewise.
62953
62954 2012-03-02 David S. Miller <davem@davemloft.net>
62955
62956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
62957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
62958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
62959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
62960 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
62961 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
62962 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
62963 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
62964
62965 2012-03-02 Roland McGrath <roland@hack.frob.com>
62966
62967 [BZ #13792]
62968 * manual/examples/README: New file, says the example source files
62969 can be used under GPL>=2.
62970 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
62971 line containing just "*/".
62972 * manual/examples/add.c: Add copyright header (GPL>=2).
62973 * manual/examples/argp-ex1.c: Likewise.
62974 * manual/examples/argp-ex2.c: Likewise.
62975 * manual/examples/argp-ex3.c: Likewise.
62976 * manual/examples/argp-ex4.c: Likewise.
62977 * manual/examples/atexit.c: Likewise.
62978 * manual/examples/db.c: Likewise.
62979 * manual/examples/dir.c: Likewise.
62980 * manual/examples/dir2.c: Likewise.
62981 * manual/examples/execinfo.c: Likewise.
62982 * manual/examples/filecli.c: Likewise.
62983 * manual/examples/filesrv.c: Likewise.
62984 * manual/examples/fmtmsgexpl.c: Likewise.
62985 * manual/examples/genpass.c: Likewise.
62986 * manual/examples/inetcli.c: Likewise.
62987 * manual/examples/inetsrv.c: Likewise.
62988 * manual/examples/isockad.c: Likewise.
62989 * manual/examples/longopt.c: Likewise.
62990 * manual/examples/memopen.c: Likewise.
62991 * manual/examples/memstrm.c: Likewise.
62992 * manual/examples/mkfsock.c: Likewise.
62993 * manual/examples/mkisock.c: Likewise.
62994 * manual/examples/mygetpass.c: Likewise.
62995 * manual/examples/pipe.c: Likewise.
62996 * manual/examples/popen.c: Likewise.
62997 * manual/examples/rprintf.c: Likewise.
62998 * manual/examples/search.c: Likewise.
62999 * manual/examples/select.c: Likewise.
63000 * manual/examples/setjmp.c: Likewise.
63001 * manual/examples/sigh1.c: Likewise.
63002 * manual/examples/sigusr.c: Likewise.
63003 * manual/examples/stpcpy.c: Likewise.
63004 * manual/examples/strdupa.c: Likewise.
63005 * manual/examples/strftim.c: Likewise.
63006 * manual/examples/strncat.c: Likewise.
63007 * manual/examples/subopt.c: Likewise.
63008 * manual/examples/swapcontext.c: Likewise.
63009 * manual/examples/termios.c: Likewise.
63010 * manual/examples/testopt.c: Likewise.
63011 * manual/examples/testpass.c: Likewise.
63012 * manual/examples/timeval_subtract.c: Likewise.
63013
63014 [BZ #13792]
63015 * manual/time.texi (Elapsed Time): Move timeval_subtract example
63016 function to ...
63017 * manual/timeval_subtract.c.texi: ... here, new file.
63018
63019 2012-03-02 David S. Miller <davem@davemloft.net>
63020
63021 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
63022
63023 2012-03-02 Joseph Myers <joseph@codesourcery.com>
63024
63025 [BZ #3976]
63026 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
63027 (__sin): Save and restore rounding mode and use round-to-nearest
63028 for all computations.
63029 (__cos): Save and restore rounding mode and use round-to-nearest
63030 for all computations.
63031 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
63032 <fenv.h>.
63033 (tan): Save and restore rounding mode and use round-to-nearest for
63034 all computations.
63035 * math/libm-test.inc (cos_test_tonearest): New function.
63036 (cos_test_towardzero): Likewise.
63037 (cos_test_downward): Likewise.
63038 (cos_test_upward): Likewise.
63039 (sin_test_tonearest): Likewise.
63040 (sin_test_towardzero): Likewise.
63041 (sin_test_downward): Likewise.
63042 (sin_test_upward): Likewise.
63043 (tan_test_tonearest): Likewise.
63044 (tan_test_towardzero): Likewise.
63045 (tan_test_downward): Likewise.
63046 (tan_test_upward): Likewise.
63047 (main): Call the new functions.
63048 * sysdeps/i386/fpu/libm-test-ulps: Update.
63049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63050
63051 [BZ #10135]
63052 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
63053 small n, then large n, before computing and testing k+n.
63054 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
63055 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
63056 Likewise.
63057 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
63058 Likewise.
63059 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
63060 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
63061 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
63062 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
63063 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63064 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63065 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
63066 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
63067 * math/libm-test.inc (scalbn_test): Add more tests.
63068 (scalbln_test): Likewise.
63069
63070 * manual/filesys.texi (mode_t): Describe constraints on size and
63071 signedness, not exact equivalence to a particular type.
63072 (ino_t): Likewise.
63073 (ino64_t): Likewise.
63074 (dev_t): Likewise.
63075 (nlink_t): Likewise.
63076 (blkcnt_t): Likewise.
63077 (blkcnt64_t): Likewise.
63078 * manual/llio.texi (off_t): Likewise.
63079
63080 [BZ #3976]
63081 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
63082 (__ieee754_exp): Save and restore rounding mode and use
63083 round-to-nearest for all computations.
63084 * math/libm-test.inc (exp_test_tonearest): New function.
63085 (exp_test_towardzero): Likewise.
63086 (exp_test_downward): Likewise.
63087 (exp_test_upward): Likewise.
63088 (main): Call the new functions.
63089 * sysdeps/i386/fpu/libm-test-ulps: Update.
63090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63091
63092 2012-03-01 Chris Demetriou <cgd@google.com>
63093
63094 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
63095 have predictable order.
63096
63097 2012-03-01 David S. Miller <davem@davemloft.net>
63098
63099 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
63100
63101 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
63102 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
63103 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
63104 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
63105
63106 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
63107 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
63108 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
63109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
63110 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
63111 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
63112 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
63113 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
63114 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
63115
63116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63117
63118 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
63119 * sysdeps/sparc/fpu/libm-test-ulps: to here.
63120 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
63121
63122 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
63123 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
63124 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63125 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
63126 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
63127 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
63128 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
63129 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
63130 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63131 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
63132 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
63133 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63134 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
63135 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63136 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63137 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63138 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
63139 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
63140 * sysdeps/sparc/elf/configure: Regenerated.
63141
63142 2012-03-01 Joseph Myers <joseph@codesourcery.com>
63143
63144 * configure.in (AS, LD): Require binutils 2.20 or later.
63145 * configure: Regenerated.
63146 * manual/install.texi (Tools for Compilation): Give binutils 2.20
63147 as required minimum version.
63148 * INSTALL: Regenerated.
63149
63150 [BZ #2541]
63151 [BZ #4108]
63152 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
63153 before squaring exponent.
63154 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
63155 bottom long double and 27 bits of top long double before squaring
63156 exponent.
63157 * math/libm-test.inc (erfc_test): Add more tests.
63158 * sysdeps/i386/fpu/libm-test-ulps: Update.
63159 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63161
63162 2012-03-01 Kai Tietz <ktietz@redhat.com>
63163
63164 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
63165 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
63166 containing bit-fields.
63167 * soft-fp/extended.h (_FP_UNION_E): Likewise.
63168 * soft-fp/single.h (_FP_UNION_S): Likewise.
63169 * soft-fp/double.h (_FP_UNION_D): Likewise.
63170
63171 2012-02-29 Joseph Myers <joseph@codesourcery.com>
63172
63173 [BZ #13786]
63174 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
63175 not include ../strcmp.S.
63176 [USE_AS_STRNCASECMP_L]: Likewise.
63177 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
63178 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
63179 * sysdeps/i386/i686/multiarch/strncase_l-c.c
63180 (__strncasecmp_l_ia32): Define as alias to
63181 __strncasecmp_l_nonascii.
63182
63183 [BZ #5794]
63184 * math/libm-test.inc (expm1_test): Add test for bug 5794.
63185 * sysdeps/i386/fpu/libm-test-ulps: Update.
63186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63187
63188 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
63189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63190
63191 2012-02-29 Jeff Law <law@redhat.com>
63192
63193 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
63194 out of bounds read.
63195
63196 2012-02-29 Marek Polacek <polacek@redhat.com>
63197
63198 [BZ #13706]
63199 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
63200 * elf/Makefile: Add rules to run tst-unused-dep.out.
63201
63202 2012-02-28 David S. Miller <davem@davemloft.net>
63203
63204 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
63205 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
63206 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
63207 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
63208 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
63209 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
63210
63211 2012-02-29 Joseph Myers <joseph@codesourcery.com>
63212
63213 * math/libm-test.inc (llround_test): Move one test from
63214 lround_test. Use TEST_f_L in moved test.
63215 (lround_test): Move misplaced test to llround_test. Add testcase
63216 from bug 2561.
63217
63218 2012-02-28 Ulrich Drepper <drepper@gmail.com>
63219
63220 * sysdeps/x86_64/fpu/e_expf.S: New file.
63221 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
63222
63223 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
63224
63225 [BZ #13637]
63226 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
63227 of remain_len that may cause incomplete multi-byte character and
63228 false match.
63229 * posix/bug-regex33.c: New file.
63230 * posix/Makefile (tests): Add bug-regex33.
63231
63232 2012-02-28 Joseph Myers <joseph@codesourcery.com>
63233
63234 * manual/macros.texi: New file.
63235 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
63236 * manual/libc.texinfo: Include macros.texi.
63237 * manual/creatute.texi: Likewise.
63238 * manual/install.texi: Likewise.
63239 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
63240 @glibcadj{} in references to the GNU C Library.
63241 * manual/charset.texi: Likewise.
63242 * manual/conf.texi: Likewise.
63243 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
63244 when not using those macros.
63245 * manual/creature.texi: Likewise.
63246 * manual/crypt.texi: Likewise.
63247 * manual/errno.texi: Likewise.
63248 * manual/filesys.texi: Likewise.
63249 * manual/header.texi: Likewise.
63250 * manual/install.texi: Likewise.
63251 * manual/intro.texi: Likewise.
63252 * manual/io.texi: Likewise.
63253 * manual/job.texi: Likewise.
63254 * manual/lang.texi: Likewise.
63255 * manual/libc.texiinfo: Likewise.
63256 * manual/llio.texi: Likewise.
63257 * manual/locale.texi: Likewise.
63258 * manual/maint.texi: Likewise.
63259 * manual/math.texi: Likewise.
63260 * manual/memory.texi: Likewise.
63261 * manual/message.texi: Likewise.
63262 * manual/nss.texi: Likewise.
63263 * manual/pattern.texi: Likewise.
63264 * manual/process.texi: Likewise.
63265 * manual/resource.texi: Likewise.
63266 * manual/search.texi: Likewise.
63267 * manual/setjmp.texi: Likewise.
63268 * manual/signal.texi: Likewise.
63269 * manual/socket.texi: Likewise.
63270 * manual/startup.texi: Likewise.
63271 * manual/stdio.texi: Likewise.
63272 * manual/string.texi: Likewise.
63273 * manual/sysinfo.texi: Likewise.
63274 * manual/syslog.texi: Likewise.
63275 * manual/terminal.texi: Likewise.
63276 * manual/time.texi: Likewise.
63277 * manual/users.texi: Likewise.
63278 * INSTALL: Regenerated.
63279 * NOTES: Regenerated.
63280 * sysdeps/gnu/errlist.c: Regenerated.
63281
63282 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
63283
63284 * include/dirent.h: Include <dirstream.h> before
63285 <dirent/dirent.h>.
63286
63287 2012-02-28 David S. Miller <davem@davemloft.net>
63288
63289 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
63290 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
63291 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
63292 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
63293
63294 2012-02-27 David S. Miller <davem@davemloft.net>
63295
63296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
63297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
63298 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
63299 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
63300
63301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
63302 frame pointer instead of stack pointer relative arg slot.
63303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63304 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63305 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63306
63307 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
63308
63309 [BZ #3992]
63310 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
63311
63312 2012-02-27 David S. Miller <davem@davemloft.net>
63313
63314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
63315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
63316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
63318 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
63319 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
63320 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
63321 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
63322
63323 2012-02-27 Joseph Myers <joseph@codesourcery.com>
63324
63325 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
63326 later. Allow versions 5-9.
63327 * configure: Regenerated.
63328 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
63329 required minimum version and 4.6 as recommended version. Do not
63330 mention bugs in GCC 2.7 and 2.8.
63331 * INSTALL: Regenerated.
63332
63333 2012-02-27 David S. Miller <davem@davemloft.net>
63334
63335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
63336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
63337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
63338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
63339 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
63340 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
63341 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
63342 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
63343
63344 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
63345 manipulate bits before adding and subtracting TWO112[sx].
63346 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63347
63348 2012-02-27 Roland McGrath <roland@hack.frob.com>
63349
63350 [BZ #13775]
63351 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
63352 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
63353 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
63354 being in POSIX, because they are in 1003.1-2008.
63355
63356 * rt/tst-aio.c: Include <fcntl.h>.
63357 * rt/tst-aio7.c: Likewise.
63358 * rt/tst-aio64.c: Likewise.
63359
63360 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
63361
63362 2012-02-27 Joseph Myers <joseph@codesourcery.com>
63363
63364 * manual/install.texi (--with-headers): Describe headers as
63365 interface headers, not private headers.
63366 (Specific advice for GNU/Linux systems): Describe use of headers
63367 from "make headers_install", not private headers from older
63368 kernels.
63369 * INSTALL: Regenerated.
63370 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
63371 Change to 2.6.19.
63372 * sysdeps/unix/sysv/linux/configure: Regenerated.
63373
63374 * manual/llio.texi (fclean): Remove documentation.
63375
63376 * manual/Makefile (libc-texi-generated): New variable. Include
63377 version.texi.
63378 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
63379 $(libc-texi-generated), not duplicated list of files.
63380 (version.texi, stamp-version): New rules.
63381 (realclean): Remove $(libc-texi-generated), not individual files
63382 from that list. Do not remove dir-add.texinfo.
63383 * manual/libc.texinfo: Comment out uses of edition numbers and
63384 references to printed manual. Remove last-updated dates.
63385 (EDITION): Comment out.
63386 (ISBN): Likewise.
63387 (VERSION, UPDATED): Remove.
63388 (version.texi): Include.
63389
63390 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
63391
63392 * sysdeps/posix/spawni.c: Include <signal.h>.
63393 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
63394 * sysdeps/pthread/aio_fsync.c: Likewise.
63395
63396 2012-02-26 Ulrich Drepper <drepper@gmail.com>
63397
63398 * conform/Makefile (tests): Run only when not cross-compiling and
63399 when fast-check is not defined.
63400
63401 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
63402 * conform/data/limits.h-data: Fixes for POSIX2008.
63403 * conform/run-conformtest.sh: Run all tests.
63404 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
63405 headers.
63406 * include/bits/dlfcn.h: Likewise.
63407 * include/langinfo.h: Likewise.
63408 * include/monetary.h: Likewise.
63409 * include/sys/poll.h: Likewise.
63410
63411 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
63412 for __USE_GNU.
63413 * posix/spawn.h: Define __need_sigset_t.
63414 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
63415 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
63416 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
63417 to get sigevent_t only.
63418 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
63419 only for __USE_GNU.
63420 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63421 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63422 process_vm_writev only for __USE_GNU.
63423 * termios/termios.h: Declare tcgetsid also for POSIX2008.
63424
63425 * conform/Makefile: For now ignore errors from run-conformtest.
63426 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
63427 POSIX to avoid namespace pollution. Don't prepend headers.
63428 * conform/data/aio.h-data: Fixes for POSIX testing.
63429 * conform/data/fcntl.h-data: Likewise.
63430 * conform/data/glob.h-data: Likewise.
63431 * conform/data/grp.h-data: Likewise.
63432 * conform/data/pthread.h-data: Likewise.
63433 * conform/data/pwd.h-data: Likewise.
63434 * conform/data/signal.h-data: Likewise.
63435 * conform/data/spawn.h-data: Likewise.
63436 * conform/data/stdio.h-data: Likewise.
63437 * conform/data/stdlib.h-data: Likewise.
63438 * conform/data/stropts.h-data: Likewise.
63439 * conform/data/sys/mman.h-data: Likewise.
63440 * conform/data/sys/stat.h-data: Likewise.
63441 * conform/data/sys/types.h-data: Likewise.
63442 * conform/data/sys/wait.h-data: Likewise.
63443 * conform/data/time.h-data: Likewise.
63444 * conform/data/unistd.h-data: Likewise.
63445 * conform/data/utime.h-data: Likewise.
63446
63447 * io/sys/stat.h: fchmod was always in POSIX.
63448 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
63449 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
63450 * rt/aio.h: Define __need_timespec before including <time.h>.
63451 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
63452 struct. Add forward declaration of pthread_attr_t and use it in
63453 sigevent.
63454 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63455 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63456 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
63457 always remove CLK_TCK definition.
63458
63459 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
63460
63461 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
63462
63463 2012-02-25 Ulrich Drepper <drepper@gmail.com>
63464
63465 * conform/run-conformtest.sh: New file.
63466 * conform/Makefile: Run run-conformtest for tests.
63467 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
63468 support.
63469
63470 * conform/data/uchar.h-data: New file.
63471 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
63472 * conform/data/arpa/inet.h-data: Likewise.
63473 * conform/data/assert.h-data: Likewise.
63474 * conform/data/complex.h-data: Likewise.
63475 * conform/data/cpio.h-data: Likewise.
63476 * conform/data/ctype.h-data: Likewise.
63477 * conform/data/dirent.h-data: Likewise.
63478 * conform/data/dlfcn.h-data: Likewise.
63479 * conform/data/errno.h-data: Likewise.
63480 * conform/data/fcntl.h-data: Likewise.
63481 * conform/data/float.h-data: Likewise.
63482 * conform/data/fmtmsg.h-data: Likewise.
63483 * conform/data/fnmatch.h-data: Likewise.
63484 * conform/data/ftw.h-data: Likewise.
63485 * conform/data/glob.h-data: Likewise.
63486 * conform/data/grp.h-data: Likewise.
63487 * conform/data/iconv.h-data: Likewise.
63488 * conform/data/inttypes.h-data: Likewise.
63489 * conform/data/langinfo.h-data: Likewise.
63490 * conform/data/libgen.h-data: Likewise.
63491 * conform/data/limits.h-data: Likewise.
63492 * conform/data/locale.h-data: Likewise.
63493 * conform/data/math.h-data: Likewise.
63494 * conform/data/monetary.h-data: Likewise.
63495 * conform/data/mqueue.h-data: Likewise.
63496 * conform/data/ndbm.h-data: Likewise.
63497 * conform/data/net/if.h-data: Likewise.
63498 * conform/data/netdb.h-data: Likewise.
63499 * conform/data/netinet/in.h-data: Likewise.
63500 * conform/data/nl_types.h-data: Likewise.
63501 * conform/data/poll.h-data: Likewise.
63502 * conform/data/pthread.h-data: Likewise.
63503 * conform/data/pwd.h-data: Likewise.
63504 * conform/data/regex.h-data: Likewise.
63505 * conform/data/sched.h-data: Likewise.
63506 * conform/data/search.h-data: Likewise.
63507 * conform/data/semaphore.h-data: Likewise.
63508 * conform/data/setjmp.h-data: Likewise.
63509 * conform/data/signal.h-data: Likewise.
63510 * conform/data/spawn.h-data: Likewise.
63511 * conform/data/stdarg.h-data: Likewise.
63512 * conform/data/stdio.h-data: Likewise.
63513 * conform/data/stdlib.h-data: Likewise.
63514 * conform/data/string.h-data: Likewise.
63515 * conform/data/strings.h-data: Likewise.
63516 * conform/data/stropts.h-data: Likewise.
63517 * conform/data/sys/ipc.h-data: Likewise.
63518 * conform/data/sys/mman.h-data: Likewise.
63519 * conform/data/sys/msg.h-data: Likewise.
63520 * conform/data/sys/resource.h-data: Likewise.
63521 * conform/data/sys/select.h-data: Likewise.
63522 * conform/data/sys/sem.h-data: Likewise.
63523 * conform/data/sys/shm.h-data: Likewise.
63524 * conform/data/sys/socket.h-data: Likewise.
63525 * conform/data/sys/stat.h-data: Likewise.
63526 * conform/data/sys/statvfs.h-data: Likewise.
63527 * conform/data/sys/time.h-data: Likewise.
63528 * conform/data/sys/timeb.h-data: Likewise.
63529 * conform/data/sys/times.h-data: Likewise.
63530 * conform/data/sys/types.h-data: Likewise.
63531 * conform/data/sys/uio.h-data: Likewise.
63532 * conform/data/sys/un.h-data: Likewise.
63533 * conform/data/sys/utsname.h-data: Likewise.
63534 * conform/data/sys/wait.h-data: Likewise.
63535 * conform/data/syslog.h-data: Likewise.
63536 * conform/data/tar.h-data: Likewise.
63537 * conform/data/termios.h-data: Likewise.
63538 * conform/data/utime.h-data: Likewise.
63539 * conform/data/utmpx.h-data: Likewise.
63540 * conform/data/varargs.h-data: Likewise.
63541 * conform/data/wchar.h-data: Likewise.
63542 * conform/data/wctype.h-data: Likewise.
63543 * conform/data/wordexp.h-data: Likewise.
63544
63545 * include/stropts.h: New file.
63546 * include/uchar.h: New file.
63547 * include/aio.h: Changes to allow conformtest.pl to use the headers.
63548 * include/assert.h: Likewise.
63549 * include/ctype.h: Likewise.
63550 * include/dirent.h: Likewise.
63551 * include/dlfcn.h: Likewise.
63552 * include/fcntl.h: Likewise.
63553 * include/fnmatch.h: Likewise.
63554 * include/glob.h: Likewise.
63555 * include/grp.h: Likewise.
63556 * include/libio.h: Likewise.
63557 * include/locale.h: Likewise.
63558 * include/math.h: Likewise.
63559 * include/net/if.h: Likewise.
63560 * include/netdb.h: Likewise.
63561 * include/netinet/in.h: Likewise.
63562 * include/pthread.h: Likewise.
63563 * include/pwd.h: Likewise.
63564 * include/regex.h: Likewise.
63565 * include/sched.h: Likewise.
63566 * include/search.h: Likewise.
63567 * include/setjmp.h: Likewise.
63568 * include/signal.h: Likewise.
63569 * include/stdio.h: Likewise.
63570 * include/stdlib.h: Likewise.
63571 * include/string.h: Likewise.
63572 * include/sys/cdefs.h: Likewise.
63573 * include/sys/mman.h: Likewise.
63574 * include/sys/msg.h: Likewise.
63575 * include/sys/resource.h: Likewise.
63576 * include/sys/select.h: Likewise.
63577 * include/sys/socket.h: Likewise.
63578 * include/sys/stat.h: Likewise.
63579 * include/sys/statvfs.h: Likewise.
63580 * include/sys/time.h: Likewise.
63581 * include/sys/times.h: Likewise.
63582 * include/sys/uio.h: Likewise.
63583 * include/sys/utsname.h: Likewise.
63584 * include/sys/wait.h: Likewise.
63585 * include/termios.h: Likewise.
63586 * include/time.h: Likewise.
63587 * include/ulimit.h: Likewise.
63588 * include/unistd.h: Likewise.
63589 * include/utime.h: Likewise.
63590 * include/wchar.h: Likewise.
63591 * include/wctype.h: Likewise.
63592 * include/wordexp.h: Likewise.
63593
63594 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
63595
63596 * time/time.h: TIME_UTC must be a macro.
63597 Make timespec_get available for ISO C11 only as well.
63598
63599 2012-02-24 Ulrich Drepper <drepper@gmail.com>
63600
63601 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
63602 Reported by Peng Haitao <penght@cn.fujitsu.com>.
63603
63604 2012-02-24 Joseph Myers <joseph@codesourcery.com>
63605
63606 * configure.in: Use -o not -a in test for unsupported multi-arch.
63607
63608 2012-02-24 Joseph Myers <joseph@codesourcery.com>
63609
63610 * manual/texinfo.tex: Update to version 2012-01-19.16.
63611
63612 2012-02-24 Joseph Myers <joseph@codesourcery.com>
63613
63614 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
63615
63616 2012-02-24 Roland McGrath <roland@hack.frob.com>
63617
63618 [BZ #13738]
63619 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
63620 * manual/fdl-1.3.texi: New file.
63621 * manual/fdl-1.1.texi: File removed.
63622
63623 [BZ #13738]
63624 * manual/libc.texinfo (FDL_VERSION): New @set.
63625 Use it for mention of FDL in cover text.
63626 (Documentation License): Use it in @include file name.
63627
63628 2012-02-22 Joseph Myers <joseph@codesourcery.com>
63629 Roland McGrath <roland@hack.frob.com>
63630
63631 [BZ #5461]
63632 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
63633 (not LONG_LONG_MAX and LONG_LONG_MIN.
63634 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
63635 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
63636 name.
63637 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
63638
63639 2012-02-22 Joseph Myers <joseph@codesourcery.com>
63640
63641 [BZ #2547]
63642 [BZ #11365]
63643 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
63644 manipulate bits before adding and subtracting TWO23[sx].
63645 * math/libm-test.inc (nearbyint_test): Add more tests.
63646
63647 2012-02-22 Joseph Myers <joseph@codesourcery.com>
63648
63649 [BZ #2548]
63650 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
63651 bits before adding and subtracting TWO23[sx].
63652 * math/libm-test.inc (rint_test): Add more tests.
63653 (rint_test_tonearest): Likewise.
63654 (rint_test_towardzero): Likewise.
63655 (rint_test_downward): Likewise.
63656 (rint_test_upward: Likewise.
63657
63658 2012-02-22 Joseph Myers <joseph@codesourcery.com>
63659
63660 [BZ #10110]
63661 * include/stdc-predef.h: New file. Extracted from features.h.
63662 * include/features.h: Include stdc-predef.h.
63663 * Makefile (headers): Add stdc-predef.h.
63664 * CONFORMANCE (Compiler limitations): Update.
63665
63666 2012-02-22 Joseph Myers <joseph@codesourcery.com>
63667
63668 * manual/libc.texinfo (VERSION, UPDATED): Revert.
63669
63670 2012-02-21 David S. Miller <davem@davemloft.net>
63671
63672 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
63673 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63674
63675 2012-02-20 David S. Miller <davem@davemloft.net>
63676
63677 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
63678 using a normal save/restore sequence, rather than allocating a
63679 dummy stack frame just to store a frame pointer and restore.
63680 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63681
63682 2012-02-21 Joseph Myers <joseph@codesourcery.com>
63683
63684 * manual/install.texi: Fix stray word in line-wrapped comment.
63685
63686 2012-02-20 David S. Miller <davem@davemloft.net>
63687
63688 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
63689 both binutils and gcc support GOTDATA.
63690
63691 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
63692 "rd %pc" in the PIC register setup sequences.
63693
63694 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
63695 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
63696 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63697 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
63698 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63699 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63700 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63701 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63702 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
63703 (SYSCALL_ERROR_HANDLER): Likewise.
63704 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63705 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63706 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
63707 (SYSCALL_ERROR_HANDLER): Likewise.
63708
63709 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
63710 (HAVE_GCC_GOTDATA): New.
63711 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
63712 relocation support in both binutils and gcc.
63713 * sysdeps/sparc/elf/configure: Regenerate.
63714
63715 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
63716 * sysdeps/sparc/sparc32/elf/configure: Delete.
63717 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
63718 * sysdeps/sparc/sparc64/elf/configure: Delete.
63719 * sysdeps/sparc/elf/configure.in: New file.
63720 * sysdeps/sparc/elf/configure: Generate.
63721
63722 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
63723 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
63724 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
63725 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
63726 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
63727
63728 2012-02-21 Joseph Myers <joseph@codesourcery.com>
63729
63730 * manual/install.texi: Do not mention specific glibc version
63731 numbers.
63732 * manual/libc.texinfo (VERSION, UPDATED): Update.
63733 (@copying): Use @copyright{} and range of years.
63734
63735 2012-02-21 Joseph Myers <joseph@codesourcery.com>
63736
63737 [BZ #13695]
63738 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
63739 [crti.S not in sysdirs] (generated): Do not append.
63740 [crti.S not in sysdirs] (omit-deps): Likewise.
63741 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
63742 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
63743 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
63744 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
63745 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
63746 Likewise.
63747 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
63748 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
63749 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
63750 * csu/defs.awk: Remove file.
63751 * sysdeps/generic/initfini.c: Likewise.
63752 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
63753 variable.
63754 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
63755 Likewise.
63756
63757 2012-02-20 Joseph Myers <joseph@codesourcery.com>
63758
63759 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
63760 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
63761 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
63762 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
63763 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63764 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
63765 <bits/epoll.h>.
63766 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
63767 (__EPOLL_PACKED): Define to empty if not defined by
63768 <bits/epoll.h>.
63769 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
63770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63771 bits/epoll.h.
63772
63773 2012-02-20 Joseph Myers <joseph@codesourcery.com>
63774
63775 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
63776 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
63777 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
63778 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
63779 <bits/timerfd.h>.
63780 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
63781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63782 bits/timerfd.h.
63783
63784 2012-02-20 Joseph Myers <joseph@codesourcery.com>
63785
63786 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
63787 in C locale.
63788 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63789 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63790 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
63791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63792
63793 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
63794
63795 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63796 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63797
63798 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
63799
63800 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
63801 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
63802 defined.
63803 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
63804 Likewise.
63805 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
63806 entry for 2.16.
63807
63808 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
63809
63810 * math/w_acos.c: Use non-signaling floating-point comparisons.
63811 * math/w_acosf.c: Likewise.
63812 * math/w_acosh.c: Likewise.
63813 * math/w_acoshf.c: Likewise.
63814 * math/w_acoshl.c: Likewise.
63815 * math/w_acosl.c: Likewise.
63816 * math/w_asin.c: Likewise.
63817 * math/w_asinf.c: Likewise.
63818 * math/w_asinl.c: Likewise.
63819 * math/w_atanh.c: Likewise.
63820 * math/w_atanhf.c: Likewise.
63821 * math/w_atanhl.c: Likewise.
63822 * math/w_exp2.c: Likewise.
63823 * math/w_exp2f.c: Likewise.
63824 * math/w_exp2l.c: Likewise.
63825 * math/w_j0.c: Likewise.
63826 * math/w_j0f.c: Likewise.
63827 * math/w_j0l.c: Likewise.
63828 * math/w_j1.c: Likewise.
63829 * math/w_j1f.c: Likewise.
63830 * math/w_j1l.c: Likewise.
63831 * math/w_jn.c: Likewise.
63832 * math/w_jnf.c: Likewise.
63833 * math/w_log.c: Likewise.
63834 * math/w_log10.c: Likewise.
63835 * math/w_log10f.c: Likewise.
63836 * math/w_log10l.c: Likewise.
63837 * math/w_log2.c: Likewise.
63838 * math/w_log2f.c: Likewise.
63839 * math/w_log2l.c: Likewise.
63840 * math/w_logf.c: Likewise.
63841 * math/w_logl.c: Likewise.
63842 * math/w_sqrt.c: Likewise.
63843 * math/w_sqrtf.c: Likewise.
63844 * math/w_sqrtl.c: Likewise.
63845 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63846 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
63847 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63848 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63849 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63850
63851 2012-02-19 Joseph Myers <joseph@codesourcery.com>
63852
63853 [BZ #9739]
63854 * manual/string.texi (strnlen): Use correct parameter name in
63855 equivalent expression.
63856
63857 2012-02-19 Joseph Myers <joseph@codesourcery.com>
63858
63859 [BZ #11174]
63860 * manual/users.texi (seteuid): Consistently use neweuid for
63861 argument name.
63862
63863 2012-02-19 Joseph Myers <joseph@codesourcery.com>
63864
63865 [BZ #13704]
63866 * manual/nss.texi (Services in the NSS configuration): Correct
63867 list of services in example configuration file.
63868
63869 2012-02-19 Nick Bowler <nbowler@draconx.ca>
63870
63871 [BZ #11322]
63872 * manual/arith.texi: Remove statements about negative zero
63873 behaving identically to zero.
63874
63875 2012-02-18 Joseph Myers <joseph@codesourcery.com>
63876
63877 [BZ #5993]
63878 * manual/install.texi: Do not document upgrading from libc5.
63879
63880 2012-02-18 Joseph Myers <joseph@codesourcery.com>
63881
63882 [BZ #4596]
63883 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
63884
63885 2012-02-18 David S. Miller <davem@davemloft.net>
63886
63887 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
63888 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
63889 %o7 across the call.
63890 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
63891 instead.
63892 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
63893 SETUP_PIC_REG_LEAF.
63894 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63895 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
63896 * sysdeps/sparc/crtn.S: Likewise.
63897
63898 2012-02-17 Ulrich Drepper <drepper@gmail.com>
63899
63900 * aout/Makefile: Remove.
63901
63902 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
63903
63904 [BZ #13058]
63905 * manual/examples/argp-ex1.c (main): Format definition in GNU
63906 style.
63907 * manual/examples/argp-ex2.c (main): Likewise.
63908 * manual/examples/argp-ex3.c (main): Likewise.
63909 * manual/examples/argp-ex4.c (main): Likewise.
63910 * manual/examples/longopt.c (main): Use new-style prototype
63911 definition.
63912 * manual/examples/strncat.c (main): Specify return type and use
63913 (void) for arguments.
63914 * manual/examples/subopt.c (main): Use char **argv argument.
63915
63916 2012-02-17 Joseph Myers <joseph@codesourcery.com>
63917
63918 [BZ #5077]
63919 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
63920 rounding modes.
63921
63922 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
63923
63924 [BZ #6907]
63925 * manual/string.texi (strchr): Change when strchrnul is
63926 recommended.
63927
63928 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
63929
63930 [BZ #174]
63931 * manual/locale.texi (setlocale): Document LOCPATH.
63932
63933 2012-02-17 Joseph Myers <joseph@codesourcery.com>
63934
63935 [BZ #10210]
63936 * manual/process.texi (execle): Move @dots{} before last argument.
63937
63938 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
63939
63940 [BZ #12047]
63941 * manual/charset.texi (Generic Charset Conversion): Fix typo
63942 (LC_TYPE -> LC_CTYPE).
63943
63944 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
63945
63946 [BZ #5805]
63947 * manual/arith.texi (scalbn): Use @var{} on parameter names.
63948 (scalbnf): Likewise.
63949 (scalbnl): Likewise.
63950 (scalbln): Likewise.
63951 (scalblnf): Likewise.
63952 (scalblnl): Likewise.
63953 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
63954 (vwarnx): Likewise.
63955 (verr): Likewise.
63956 (verrx): Likewise.
63957 * manual/filesys.texi (telldir): Use braces around return type.
63958 * manual/llio.texi (mmap): Add space after comma.
63959 (mmap64): Likewise.
63960 * manual/math.texi (jn): Use @var{} on parameter names.
63961 (jnf): Likewise.
63962 (jnl): Likewise.
63963 (yn): Likewise.
63964 (ynf): Likewise.
63965 (ynl): Likewise.
63966 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
63967 line.
63968 * manual/resource.texi (ulimit): Use @dots{} instead of literal
63969 "...".
63970 (sched_get_priority_min): Remove semicolon on @deftypefun line.
63971 (sched_get_priority_max): Likewise.
63972 * manual/signal.texi (sigvec): Add space after comma.
63973 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
63974 names.
63975 (if_indextoname): Likewise.
63976 (if_freenameindex): Likewise.
63977 (sendto): Use ',' instead of '.' in prototype.
63978 * manual/startup.texi (syscall): Use @dots{} instead of literal
63979 "...".
63980 * manual/stdio.texi (__fpending): Separate initial words of
63981 paragraph from @deftypefun line.
63982 * manual/syslog.texi (syslog): Use @dots{} instead of literal
63983 "...".
63984 (vsyslog): Use @var{} on parameter names.
63985 * manual/terminal.texi (stty): Use @var{} on parameter names.
63986 * manual/users.texi (getutmp): Use @var{} on parameter names.
63987 (getutmpx): Likewise.
63988
63989 2012-02-17 Joseph Myers <joseph@codesourcery.com>
63990
63991 [BZ #6884]
63992 * manual/stdio.texi (fopen): Fix typos in description of
63993 ",ccs=STRING".
63994
63995 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
63996
63997 [BZ #4026]
63998 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
63999 get clock_id definition.
64000
64001 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
64002
64003 [BZ #4822]
64004 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
64005 (madvise): Cast every argument to void on its own.
64006
64007 2012-02-17 Joseph Myers <joseph@codesourcery.com>
64008
64009 [BZ #9902]
64010 * manual/startup.texi (Exit Status): Fix typo.
64011
64012 2012-02-17 Joseph Myers <joseph@codesourcery.com>
64013
64014 [BZ #10140]
64015 * manual/examples/argp-ex1.c: Include <stdlib.h>.
64016 * manual/examples/argp-ex2.c: Likewise.
64017 * manual/examples/argp-ex3.c: Likewise.
64018
64019 2012-02-16 Richard Henderson <rth@redhat.com>
64020
64021 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
64022 * sysdeps/s390/s390-32/initfini.c: Remove.
64023 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
64024 * sysdeps/s390/s390-64/initfini.c: Remove.
64025
64026 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
64027
64028 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
64029 compiler output for sysdeps/generic/initfini.c.
64030 * sysdeps/sh/elf/initfini.c: Remove file.
64031
64032 2012-02-16 David S. Miller <davem@davemloft.net>
64033
64034 [BZ #11494]
64035 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
64036
64037 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
64038 * sysdeps/sparc/crti.S: New file.
64039 * sysdeps/sparc/crtn.S: New file.
64040 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
64041 * sysdeps/sparc/sparc64/Makefile: Likewise.
64042
64043 2012-02-15 Mike Frysinger <vapier@gentoo.org>
64044
64045 [BZ #3335]
64046 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
64047
64048 2012-02-15 Roland McGrath <roland@hack.frob.com>
64049
64050 [BZ #4822]
64051 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
64052
64053 * mach/devstream.c (cookie_io_functions_t): Macro removed.
64054 (write, read, close): Likewise.
64055 Patch by Aurelien Jarno <aurelien@aurel32.net>.
64056
64057 2012-02-15 Joseph Myers <joseph@codesourcery.com>
64058
64059 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
64060 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
64061 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
64062 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
64063 <bits/signalfd.h>.
64064 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
64065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64066 bits/signalfd.h.
64067
64068 2012-02-14 Marek Polacek <polacek@redhat.com>
64069
64070 * sysdeps/x86_64/crti.S: New file.
64071 * sysdeps/x86_64/crtn.S: New file.
64072 * sysdeps/x86_64/elf/initfini.c: Remove file.
64073
64074 2012-02-13 Joseph Myers <joseph@codesourcery.com>
64075
64076 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
64077 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
64078 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
64079 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
64080 <bits/inotify.h>.
64081 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
64082 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64083 bits/inotify.h.
64084
64085 2012-02-13 Joseph Myers <joseph@codesourcery.com>
64086
64087 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
64088 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
64089 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
64090 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
64091 <bits/eventfd.h>.
64092 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
64093 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64094 bits/eventfd.h.
64095
64096 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
64097
64098 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
64099 __feraiseexcept instead of feraiseexcept.
64100
64101 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
64102 nanosleep invocations.
64103 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
64104 strings, and add error checking for a nanosleep invocations.
64105
64106 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
64107
64108 Replace FSF snail mail address with URLs, as per GNU coding standards.
64109 Most of the snail mail addresses were wrong anyway, and omitting
64110 them makes the source code easier to maintain. Almost all of the
64111 changes are to license notices and to locale LC_IDENTIFICATION
64112 addresses, except for this one:
64113 * manual/libc.texinfo: In "Published by", give the FSF's URL,
64114 not its snail mail address.
64115
64116 2012-02-09 Richard Henderson <rth@twiddle.net>
64117
64118 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
64119 of kernel-features.h.
64120
64121 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
64122
64123 2012-02-08 Marek Polacek <polacek@redhat.com>
64124
64125 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
64126 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
64127 * sysdeps/gnu/_G_config.h: Likewise.
64128 * sysdeps/generic/_G_config.h: Likewise.
64129
64130 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
64131
64132 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
64133 tests.
64134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64135
64136 * sysdeps/powerpc/powerpc32/crti.S: New file.
64137 * sysdeps/powerpc/powerpc32/crtn.S: New file.
64138 * sysdeps/powerpc/powerpc64/crti.S: New file.
64139 * sysdeps/powerpc/powerpc64/crtn.S: New file.
64140
64141 * Makeconfig (have-initfini): Don't set.
64142 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
64143 * configure.in (nopic_initfini): Don't substitute.
64144 * config.h.in (HAVE_INITFINI): Don't #undef.
64145 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
64146 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
64147
64148 2012-02-08 Joseph Myers <joseph@codesourcery.com>
64149
64150 Support crti.S and crtn.S provided directly by architectures.
64151 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
64152 [crti.S in sysdirs] (omit-deps): Likewise.
64153 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
64154 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
64155 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
64156 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
64157 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
64158 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
64159 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
64160 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
64161 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
64162 compiler output for sysdeps/generic/initfini.c.
64163 * sysdeps/i386/elf/Makefile: Remove file.
64164 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
64165
64166 2012-02-07 Marek Polacek <polacek@redhat.com>
64167
64168 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
64169 * sysdeps/gnu/_G_config.h: Likewise.
64170 * sysdeps/mach/hurd/_G_config.h: Likewise.
64171
64172 2012-02-07 Marek Polacek <polacek@redhat.com>
64173
64174 * math/Makefile (tests): Add tst-CMPLX2.
64175 * math/tst-CMPLX2.c: New file.
64176
64177 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
64178
64179 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64180
64181 * math/libm-test.inc (jn_test): Add missing L suffix.
64182
64183 2012-02-06 Marek Polacek <polacek@redhat.com>
64184
64185 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
64186 * sysdeps/i386/fpu/e_powf.S: Likewise.
64187 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64188 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64189 * sysdeps/i386/fpu/e_acosh.S: Likewise.
64190 * sysdeps/i386/fpu/e_pow.S: Likewise.
64191 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64192 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64193 * sysdeps/i386/fpu/s_expm1.S: Likewise.
64194 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64195 * sysdeps/i386/fpu/e_log2.S: Likewise.
64196 * sysdeps/i386/fpu/e_log2l.S: Likewise.
64197 * sysdeps/i386/fpu/e_scalb.S: Likewise.
64198 * sysdeps/i386/fpu/e_powl.S: Likewise.
64199 * sysdeps/i386/fpu/s_log1p.S: Likewise.
64200 * sysdeps/i386/fpu/e_log10f.S: Likewise.
64201 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64202 * sysdeps/i386/fpu/e_logl.S: Likewise.
64203 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64204 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
64205 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64206 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64207 * sysdeps/i386/fpu/e_log2f.S: Likewise.
64208 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64209 * sysdeps/i386/fpu/e_log.S: Likewise.
64210 * sysdeps/i386/fpu/s_cexp.S: Likewise.
64211 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64212 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
64213 * sysdeps/i386/fpu/e_logf.S: Likewise.
64214 * sysdeps/i386/fpu/e_log10l.S: Likewise.
64215 * sysdeps/i386/fpu/e_atanh.S: Likewise.
64216 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
64217 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64218 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64219 * sysdeps/i386/fpu/e_log10.S: Likewise.
64220 * sysdeps/i386/fpu/s_frexp.S: Likewise.
64221 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64222 * sysdeps/i386/fpu/s_asinh.S: Likewise.
64223 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64224 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64225 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64226 * sysdeps/i386/asm-syntax.h: Likewise.
64227 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64228 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64229 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64230 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
64231 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
64232 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64233 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64234 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64235 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64236 * sysdeps/powerpc/sysdep.h: Likewise.
64237 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
64238 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64239
64240 2012-02-06 Joseph Myers <joseph@codesourcery.com>
64241
64242 [BZ #411]
64243 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
64244
64245 2012-02-06 Joseph Myers <joseph@codesourcery.com>
64246
64247 * sysdeps/i386/sysdep.h: Include <features.h>.
64248 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
64249 version.
64250
64251 2012-02-05 Joseph Myers <joseph@codesourcery.com>
64252
64253 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
64254 Define.
64255 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
64256 LOAD_PIC_REG_STR.
64257
64258 2012-02-03 Joseph Myers <joseph@codesourcery.com>
64259
64260 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
64261 (SETUP_PIC_REG): Use GET_PC_THUNK.
64262 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
64263 macro.
64264
64265 2012-02-03 Joseph Myers <joseph@codesourcery.com>
64266
64267 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
64268 for non-PIC compilation.
64269 (SETUP_PIC_REG): Add .p2align directive.
64270 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
64271 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
64272 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64273 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64274 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64275 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64276 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
64277 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64278 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64279 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64280 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64281 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64282 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64283 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64284 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64285 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64286 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64287 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64288 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64289 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64290 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64291 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64292 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64293 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64294 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64295 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64296 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64297 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64298 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64299 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64300 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64301 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64302 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
64303 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
64304 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
64305 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
64306 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
64307 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
64308 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
64309 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
64310 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
64311
64312 2012-02-03 Joseph Myers <joseph@codesourcery.com>
64313
64314 * math/tst-CMPLX.c: Include <stdio.h>.
64315
64316 2012-01-31 Joseph Myers <joseph@codesourcery.com>
64317
64318 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
64319 float.
64320 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64321 * sysdeps/sparc/bits/mathdef.h: Likewise.
64322
64323 2012-01-31 Marek Polacek <polacek@redhat.com>
64324
64325 * libio/libio.h: Don't define _PARAMS.
64326 * locale/programs/config.h: Don't define PARAMS.
64327 * stdlib/strtol_l.c: Likewise.
64328 (__strtol_l): Remove PARAMS from the prototype.
64329
64330 2012-01-31 Ulrich Drepper <drepper@gmail.com>
64331
64332 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
64333 names. Just use the correct names. Remove unnecessary wrapper
64334 functions.
64335 * malloc/arena.c: Likewise.
64336 * malloc/hooks.c: Likewise.
64337
64338 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
64339 ARENA_TEST says not to. Simplify test for creation of a new arena.
64340 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
64341
64342 2012-01-30 Ulrich Drepper <drepper@gmail.com>
64343
64344 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
64345 into tail calls.
64346 (update_get_addr): New function.
64347 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
64348 GET_ADDR_MODULE parameter.
64349
64350 2012-01-30 Joseph Myers <joseph@codesourcery.com>
64351
64352 * crypt/cert.c: Remove __STDC__ conditionals.
64353 * crypt/crypt-entry.c: Likewise.
64354 * crypt/crypt_util.c: Likewise.
64355 * libio/filedoalloc.c: Likewise.
64356 * libio/fileops.c: Likewise.
64357 * libio/genops.c: Likewise.
64358 * libio/iofclose.c: Likewise.
64359 * libio/iofdopen.c: Likewise.
64360 * libio/iofopen.c: Likewise.
64361 * libio/iofopen64.c: Likewise.
64362 * libio/iogetdelim.c: Likewise.
64363 * libio/iopopen.c: Likewise.
64364 * libio/obprintf.c: Likewise.
64365 * libio/oldfileops.c: Likewise.
64366 * libio/oldiofclose.c: Likewise.
64367 * libio/oldiofdopen.c: Likewise.
64368 * libio/oldiofopen.c: Likewise.
64369 * libio/oldiopopen.c: Likewise.
64370 * libio/wfiledoalloc.c: Likewise.
64371 * libio/wgenops.c: Likewise.
64372 * locale/programs/xmalloc.c: Likewise.
64373 * misc/syslog.c: Likewise.
64374 * stdio-common/xbug.c: Likewise.
64375 * string/memchr.c: Likewise.
64376 * string/memcmp.c: Likewise.
64377 * string/memrchr.c: Likewise.
64378 * string/rawmemchr.c: Likewise.
64379 * sysdeps/posix/getcwd.c: Likewise.
64380 * time/strftime_l.c: Likewise.
64381
64382 2012-01-30 Joseph Myers <joseph@codesourcery.com>
64383
64384 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
64385 * config.make.in (config-cflags-sse2avx): Define.
64386 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
64387 Fix typo.
64388
64389 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
64390
64391 * scripts/config.guess: Update from upstream config git repository.
64392 * scripts/config.sub: Likewise.
64393
64394 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
64395
64396 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
64397 (EM_NUM): Update.
64398 (R_TILEPRO_*, R_TILEGX_*): New macros.
64399
64400 * scripts/firstversions.awk: Fix bug in version range handling.
64401
64402 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
64403
64404 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
64405
64406 * include/sys/epoll.h: New file.
64407 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
64408 libc_hidden_def.
64409
64410 2012-01-28 Ulrich Drepper <drepper@gmail.com>
64411
64412 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
64413 Avoid unnecessary __WORDSIZE == 64 test.
64414 (fmaxf): Use VEX format if possible.
64415 (fmax): Likewise.
64416 (fminf): Likewise.
64417 (fmin): Likewise.
64418
64419 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
64420 * math/math_private.h: Remove libc_fegetround* and
64421 libc_fesetround*.
64422 * sysdeps/i386/configure.in: Check for -msse2avx.
64423 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
64424 also if SSE2AVX is defined.
64425 Remove libc_fegetround* and libc_fesetround*.
64426 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
64427 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
64428 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
64429 of HAS_YMM_USABLE.
64430 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64431 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64432 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64433 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64434 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64435
64436 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
64437
64438 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64439
64440 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
64441 size is not set.
64442 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64443
64444 2012-01-27 Ulrich Drepper <drepper@gmail.com>
64445
64446 [BZ #13618]
64447 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
64448 relocation.
64449 * Makeconfig (libm): Define.
64450 * elf/Makefile: Add rules to build and run tst-relsort1.
64451 * elf/tst-relsort1.c: New file.
64452 * elf/tst-relsort1mod1.c: New file.
64453 * elf/tst-relsort1mod2.c: New file.
64454
64455 2012-01-27 Joseph Myers <joseph@codesourcery.com>
64456
64457 * math/s_ldexp.c: Remove __STDC__ conditionals.
64458 * math/s_ldexpf.c: Likewise.
64459 * math/s_ldexpl.c: Likewise.
64460 * math/s_nextafter.c: Likewise.
64461 * math/s_nexttowardf.c: Likewise.
64462 * math/s_significand.c: Likewise.
64463 * math/s_significandf.c: Likewise.
64464 * math/s_significandl.c: Likewise.
64465 * math/w_jnl.c: Likewise.
64466 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64467 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64468 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64469 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64470 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64471 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64472 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
64473 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64474 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64475 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64476 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64477 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64478 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64479 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64480 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64481 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64482 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64483 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64484 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64485 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64486 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64487 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64488 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64489 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64490 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64491 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64492 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64493 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64494 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64495 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64496 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64497 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64498 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64499 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64500 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64501 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64502 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64503 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64504 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64505 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64506 * sysdeps/ieee754/k_standard.c: Likewise.
64507 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64508 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64509 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64510 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64511 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64512 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64513 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64514 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64515 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64516 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64517 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64518 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64519 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64520 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64521 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64522 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64523 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64524 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64525 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64526 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64527 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64528 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64529 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64530 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64531 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64532 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64533 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64534 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64535 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64536 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64537 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64538 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
64539 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64540 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64541 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64542 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64543 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
64544 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64545 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64546 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
64547 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
64548 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64549 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
64550 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
64551 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64552 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
64553 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64554 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64555 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64556 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
64557 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
64558 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64559 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64560 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64561 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64562 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64563 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
64564 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64565 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64566 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64567 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64568 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64569 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64570 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64571 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64572 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64573 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64574 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64575 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64576 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64577 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64578 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64579 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64580 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64581 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64582 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64583 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64584 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64585 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64586 * sysdeps/ieee754/s_matherr.c: Likewise.
64587 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64588 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64589 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64590 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64591
64592 2012-01-26 Joseph Myers <joseph@codesourcery.com>
64593
64594 * crypt/md5.h: Remove __STDC__ conditionals.
64595 * libio/libioP.h: Likewise.
64596 * locale/programs/config.h: Likewise.
64597 * sysdeps/generic/sysdep.h: Likewise.
64598 * sysdeps/i386/asm-syntax.h: Likewise.
64599 * sysdeps/s390/asm-syntax.h: Likewise.
64600 * sysdeps/unix/sysdep.h: Likewise.
64601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
64602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64603
64604 2012-01-26 Joseph Myers <joseph@codesourcery.com>
64605
64606 * libio/libio.h: Remove __STDC__ conditionals.
64607 * malloc/obstack.h: Likewise.
64608 * math/complex.h: Likewise.
64609 * math/math.h: Likewise.
64610 * sysdeps/generic/_G_config.h: Likewise.
64611 * sysdeps/gnu/_G_config.h: Likewise.
64612 * sysdeps/mach/hurd/_G_config.h: Likewise.
64613 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64614 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64615 * sysdeps/sparc/bits/mathdef.h: Likewise.
64616
64617 2012-01-26 Ulrich Drepper <drepper@gmail.com>
64618
64619 [BZ #13583]
64620 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
64621 Clean up HAS_* macros.
64622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
64623 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
64624 possible.
64625 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
64626 HAS_AVX.
64627 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64628 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64629 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64630 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64631 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64632
64633 2012-01-25 Joseph Myers <joseph@codesourcery.com>
64634
64635 * elf/tst-unique3.cc (gets): Remove declaration.
64636 * elf/tst-unique3lib.cc (gets): Likewise.
64637 * elf/tst-unique3lib2.cc (gets): Likewise.
64638 * elf/tst-unique4.cc (gets): Likewise.
64639
64640 2012-01-24 Ulrich Drepper <drepper@gmail.com>
64641
64642 * include/stdio.h: Add C++ protection. Add gets declarations and
64643 definitions.
64644 * debug/tst-chk1.c: Don't declare gets here.
64645 * stdio-common/tst-gets.c: Likewise.
64646
64647 2012-01-24 Joseph Myers <joseph@codesourcery.com>
64648
64649 * posix/glob: Remove directory.
64650
64651 2012-01-24 Joseph Myers <joseph@codesourcery.com>
64652
64653 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
64654
64655 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
64656
64657 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
64658 of the non-standard EPFNOSUPPORT.
64659
64660 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
64661
64662 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
64663 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
64664 ANYWHERE set to 1 only on KERN_NO_SPACE error.
64665
64666 2012-01-21 Ulrich Drepper <drepper@gmail.com>
64667
64668 * wcsmbs/uchar.h: Test __STDC_VERSION__.
64669
64670 2012-01-20 Ulrich Drepper <drepper@gmail.com>
64671
64672 * nscd/aicache.c (addhstaiX): Do not cache negative results of
64673 transient errors.
64674 * nscd/grpcache.c (cache_addgr): Likewise.
64675 * nscd/hstcache.c (cache_addhst): Likewise.
64676 * nscd/initgrcache.c (addinitgroupsX): Likewise.
64677 * nscd/pwdcache.c (cache_addpw): Likewise.
64678 * nscd/servicescache.c (cache_addserv): Likewise.
64679
64680 2012-01-16 Ulrich Drepper <drepper@gmail.com>
64681
64682 * malloc/malloc.c: Various cleanups.
64683 * malloc/hooks.c: Likewise.
64684
64685 * stdlib/Makefile (tests): Add bug-fmtmsg1.
64686 * stdlib/bug-fmtmsg1.c: New file.
64687
64688 * stdlib/fmtmsg.c (init): Add missing unlock.
64689 Patch by Peng Haitao <penght@cn.fujitsu.com>.
64690
64691 2012-01-12 Marek Polacek <polacek@redhat.com>
64692
64693 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
64694 and _GNU_SOURCE.
64695
64696 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
64697
64698 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
64699 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
64700 macro to ensure uniqueness of label name.
64701 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64702 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64703
64704 2012-01-11 Ulrich Drepper <drepper@gmail.com>
64705
64706 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
64707
64708 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
64709 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64710 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64711 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
64712
64713 2012-01-10 Ulrich Drepper <drepper@gmail.com>
64714
64715 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
64716
64717 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
64718 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64719 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64720
64721 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
64722
64723 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
64724 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64725 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64726 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
64727
64728 * math/bits/math-finite.h: Add ldexp support.
64729
64730 2012-01-10 Marek Polacek <polacek@redhat.com>
64731
64732 * locale/programs/localedef.h (show_archive_content): Add noreturn
64733 attribute.
64734
64735 2012-01-09 Ulrich Drepper <drepper@gmail.com>
64736
64737 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
64738
64739 2012-01-08 Ulrich Drepper <drepper@gmail.com>
64740
64741 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
64742
64743 * io/Makefile (headers): Add bits/poll2.h.
64744
64745 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
64746
64747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
64748 typo #include statement.
64749
64750 2012-01-08 Ulrich Drepper <drepper@gmail.com>
64751
64752 * include/sys/cdefs.h: Define __attribute_alloc_size.
64753 * catgets/gencat.c: Add alloc_size attribute and apply consistently
64754 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
64755 * elf/pldd.c: Likewise.
64756 * iconv/iconv_charmap.c: Likewise.
64757 * iconv/iconvconfig.c: Likewise.
64758 * iconv/strtab.c: Likewise.
64759 * locale/programs/locale.c: Likewise.
64760 * locale/programs/localedef.h: Likewise.
64761 * locale/programs/simple-hash.c: Likewise.
64762 * nscd/nscd.h: Likewise.
64763 * nss/makedb.c: Likewise.
64764 * sysdeps/generic/ldconfig.h: Likewise.
64765 * locale/programs/localedef.c: Remove xmalloc prototype.
64766 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
64767
64768 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
64769
64770 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
64771 appropriate.
64772
64773 2012-01-08 Ulrich Drepper <drepper@gmail.com>
64774
64775 * math/Makefile (tests): Add tst-CMPLX.
64776 * math/tst-CMPLX.c: New file.
64777
64778 * math/complex.h (CMPLXL): Fix typo.
64779
64780 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
64781 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
64782 GLIBC_2.16.
64783 * debug/tst-chk1.c: Add poll and ppoll tests.
64784 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
64785 * include/sys/poll.h: Add hidden proto for ppoll.
64786 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
64787 * sysdeps/mach/hurd/ppoll.c: Likewise.
64788 * io/ppoll.c: Likewise.
64789 * debug/poll_chk.c: New file.
64790 * debug/ppoll_chk.c: New file.
64791 * include/bits/poll2.h: New file.
64792 * io/bits/poll2.h: New file.
64793
64794 [BZ #1350]
64795 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
64796
64797 * configure.in: static is always set to yes. Remove.
64798 * config.make.in: Don't set build-static.
64799 * Makeconfig: Remove use of build-static.
64800 * dlfcn/Makefile: Likewise.
64801 * elf/Makefile: Likewise.
64802 * math/Makefile: Likewise.
64803 * misc/Makefile: Likewise.
64804 * nptl/Makefile: Likewise.
64805 * sysdeps/mach/hurd/Makefile: Likewise.
64806
64807 * configure.in: PWD_P is not used anymore.
64808 * config.make.in: Remove PWD_P entry.
64809
64810 * configure.in: Remove last remnants of RANLIB.
64811 No need to check for signed size_t anymore.
64812 Don't set libc_commonpagesize and libc_relro_required here for Alpha
64813 and IA-64.
64814 Remove __builtin_expect test because we require at least gcc 3.4.
64815 * aclocal.m4: Likewise.
64816
64817 * wcsmbs/mbrtoc16.c: Implement using towc function.
64818 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
64819 * wcsmbs/wcsmbsload.c: Likewise.
64820 * iconv/gconv_simple.c: Likewise.
64821 * iconv/gconv_int.h: Likewise.
64822 * iconv/gconv_builtin.h: Likewise.
64823 * iconv/iconv_prog.c: Remove CHAR16 handling.
64824
64825 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
64826
64827 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
64828
64829 * configure.in: Remove --with-elf and --enable-bounded options.
64830 Dont set base_machine for ia64. More non-ELF conditions removed.
64831 Remove testing and setting of leading underscore information.
64832 * config.make.in (build-bounded): Set to no.
64833 * config.h.in: Remove NO_UNDERSCORES entry.
64834 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
64835 them.
64836 * csu/start.c: Remove !NO_UNDERSCORE code.
64837 * locale/localeinfo.h: Likewise.
64838 * sysdeps/generic/machine-gmon.h: Likewise.
64839 * sysdeps/generic/sysdep.h: Likewise.
64840 * sysdeps/i386/sysdep.h: Likewise.
64841 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64842 * sysdeps/mach/sysdep.h: Likewise.
64843 * sysdeps/s390/s390-32/sysdep.h: Likewise.
64844 * sysdeps/s390/s390-64/sysdep.h: Likewise.
64845 * sysdeps/sh/sysdep.h: Likewise.
64846 * sysdeps/sparc/sparc32/alloca.S: Likewise.
64847 * sysdeps/unix/i386/sysdep.S: Likewise.
64848 * sysdeps/unix/sparc/start.c: Likewise.
64849 * sysdeps/unix/sparc/sysdep.S: Likewise.
64850 * sysdeps/unix/sparc/sysdep.h: Likewise.
64851 * sysdeps/unix/start.c: Likewise.
64852 * sysdeps/unix/x86_64/sysdep.S: Likewise.
64853 * sysdeps/x86_64/sysdep.h: Likewise.
64854
64855 2012-01-07 Ulrich Drepper <drepper@gmail.com>
64856
64857 [BZ #13553]
64858 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
64859 for non-gcc.
64860 * argp/argp-fmtstream.h: Use const instead __const.
64861 * argp/argp.h: Likewise.
64862 * assert/assert.h: Likewise.
64863 * bits/fenv.h: Likewise.
64864 * bits/sched.h: Likewise.
64865 * bits/sigset.h: Likewise.
64866 * bits/sigthread.h: Likewise.
64867 * catgets/nl_types.h: Likewise.
64868 * conform/data/pthread.h-data: Likewise.
64869 * crypt/crypt-private.h: Likewise.
64870 * crypt/crypt.h: Likewise.
64871 * crypt/crypt_util.c: Likewise.
64872 * ctype/ctype.h: Likewise.
64873 * debug/execinfo.h: Likewise.
64874 * debug/mbsnrtowcs_chk.c: Likewise.
64875 * debug/mbsrtowcs_chk.c: Likewise.
64876 * debug/wcsnrtombs_chk.c: Likewise.
64877 * debug/wcsrtombs_chk.c: Likewise.
64878 * debug/wcstombs_chk.c: Likewise.
64879 * dirent/dirent.h: Likewise.
64880 * dlfcn/dlfcn.h: Likewise.
64881 * elf/neededtest4.c: Likewise.
64882 * grp/grp.h: Likewise.
64883 * gshadow/gshadow.h: Likewise.
64884 * iconv/gconv.h: Likewise.
64885 * iconv/gconv_int.h: Likewise.
64886 * iconv/gconv_simple.c: Likewise.
64887 * iconv/iconv.h: Likewise.
64888 * iconv/loop.c: Likewise.
64889 * iconv/skeleton.c: Likewise.
64890 * include/aio.h: Likewise.
64891 * include/aliases.h: Likewise.
64892 * include/argz.h: Likewise.
64893 * include/arpa/inet.h: Likewise.
64894 * include/assert.h: Likewise.
64895 * include/dirent.h: Likewise.
64896 * include/dlfcn.h: Likewise.
64897 * include/execinfo.h: Likewise.
64898 * include/fcntl.h: Likewise.
64899 * include/fenv.h: Likewise.
64900 * include/glob.h: Likewise.
64901 * include/grp.h: Likewise.
64902 * include/libintl.h: Likewise.
64903 * include/mntent.h: Likewise.
64904 * include/netdb.h: Likewise.
64905 * include/pwd.h: Likewise.
64906 * include/rpc/netdb.h: Likewise.
64907 * include/sched.h: Likewise.
64908 * include/search.h: Likewise.
64909 * include/shadow.h: Likewise.
64910 * include/signal.h: Likewise.
64911 * include/stdio.h: Likewise.
64912 * include/stdlib.h: Likewise.
64913 * include/string.h: Likewise.
64914 * include/sys/socket.h: Likewise.
64915 * include/sys/stat.h: Likewise.
64916 * include/sys/statfs.h: Likewise.
64917 * include/sys/statvfs.h: Likewise.
64918 * include/sys/syslog.h: Likewise.
64919 * include/sys/time.h: Likewise.
64920 * include/sys/uio.h: Likewise.
64921 * include/time.h: Likewise.
64922 * include/unistd.h: Likewise.
64923 * include/utmp.h: Likewise.
64924 * include/wchar.h: Likewise.
64925 * include/wctype.h: Likewise.
64926 * inet/aliases.h: Likewise.
64927 * inet/arpa/inet.h: Likewise.
64928 * inet/netinet/ether.h: Likewise.
64929 * inet/netinet/in.h: Likewise.
64930 * intl/libintl.h: Likewise.
64931 * io/bits/fcntl2.h: Likewise.
64932 * io/fcntl.h: Likewise.
64933 * io/ftw.h: Likewise.
64934 * io/sys/poll.h: Likewise.
64935 * io/sys/stat.h: Likewise.
64936 * io/sys/statfs.h: Likewise.
64937 * io/sys/statvfs.h: Likewise.
64938 * io/utime.h: Likewise.
64939 * libio/bits/stdio.h: Likewise.
64940 * libio/bits/stdio2.h: Likewise.
64941 * libio/libio.h: Likewise.
64942 * libio/libioP.h: Likewise.
64943 * libio/stdio.h: Likewise.
64944 * locale/lc-ctype.c: Likewise.
64945 * locale/locale.h: Likewise.
64946 * login/utmp.h: Likewise.
64947 * malloc/arena.c: Likewise.
64948 * malloc/malloc.c: Likewise.
64949 * malloc/malloc.h: Likewise.
64950 * malloc/mcheck.c: Likewise.
64951 * malloc/mtrace.c: Likewise.
64952 * math/bits/mathcalls.h: Likewise.
64953 * math/fenv.h: Likewise.
64954 * math/math_private.h: Likewise.
64955 * misc/bits/error.h: Likewise.
64956 * misc/bits/syslog.h: Likewise.
64957 * misc/err.h: Likewise.
64958 * misc/error.h: Likewise.
64959 * misc/fstab.h: Likewise.
64960 * misc/mntent.h: Likewise.
64961 * misc/regexp.h: Likewise.
64962 * misc/search.h: Likewise.
64963 * misc/sgtty.h: Likewise.
64964 * misc/sys/mman.h: Likewise.
64965 * misc/sys/syslog.h: Likewise.
64966 * misc/sys/uio.h: Likewise.
64967 * misc/sys/xattr.h: Likewise.
64968 * misc/ttyent.h: Likewise.
64969 * nis/rpcsvc/ypclnt.h: Likewise.
64970 * nss/nss.h: Likewise.
64971 * posix/bits/unistd.h: Likewise.
64972 * posix/fnmatch.h: Likewise.
64973 * posix/glob.h: Likewise.
64974 * posix/sched.h: Likewise.
64975 * posix/spawn.h: Likewise.
64976 * posix/sys/wait.h: Likewise.
64977 * posix/unistd.h: Likewise.
64978 * posix/wordexp.h: Likewise.
64979 * pwd/pwd.h: Likewise.
64980 * resolv/netdb.h: Likewise.
64981 * resource/sys/resource.h: Likewise.
64982 * rt/aio.h: Likewise.
64983 * rt/bits/mqueue2.h: Likewise.
64984 * rt/mqueue.h: Likewise.
64985 * shadow/shadow.h: Likewise.
64986 * signal/signal.h: Likewise.
64987 * socket/send.c: Likewise.
64988 * socket/sendto.c: Likewise.
64989 * socket/sys/socket.h: Likewise.
64990 * stdio-common/printf.h: Likewise.
64991 * stdlib/bits/stdlib.h: Likewise.
64992 * stdlib/fmtmsg.h: Likewise.
64993 * stdlib/monetary.h: Likewise.
64994 * stdlib/stdlib.h: Likewise.
64995 * stdlib/ucontext.h: Likewise.
64996 * streams/stropts.h: Likewise.
64997 * string/argz.h: Likewise.
64998 * string/bits/string2.h: Likewise.
64999 * string/string.h: Likewise.
65000 * string/strings.h: Likewise.
65001 * sunrpc/rpc/auth.h: Likewise.
65002 * sunrpc/rpc/auth_des.h: Likewise.
65003 * sunrpc/rpc/clnt.h: Likewise.
65004 * sunrpc/rpc/netdb.h: Likewise.
65005 * sunrpc/rpc/pmap_clnt.h: Likewise.
65006 * sunrpc/rpc/xdr.h: Likewise.
65007 * sysdeps/generic/inttypes.h: Likewise.
65008 * sysdeps/generic/net/if.h: Likewise.
65009 * sysdeps/generic/sys/swap.h: Likewise.
65010 * sysdeps/gnu/net/if.h: Likewise.
65011 * sysdeps/gnu/utmpx.h: Likewise.
65012 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
65013 * sysdeps/i386/i486/bits/string.h: Likewise.
65014 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
65015 * sysdeps/s390/bits/string.h: Likewise.
65016 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
65017 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
65018 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
65019 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
65020 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
65021 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
65022 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
65023 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
65024 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
65025 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
65026 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
65027 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65028 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
65029 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65030 * sysdeps/unix/sysv/linux/readv.c: Likewise.
65031 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
65032 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
65033 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65034 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
65035 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
65036 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65037 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
65038 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
65039 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
65040 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
65041 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
65042 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
65043 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65044 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
65045 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
65046 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
65047 * sysvipc/sys/ipc.h: Likewise.
65048 * sysvipc/sys/msg.h: Likewise.
65049 * sysvipc/sys/sem.h: Likewise.
65050 * sysvipc/sys/shm.h: Likewise.
65051 * termios/termios.h: Likewise.
65052 * time/sys/time.h: Likewise.
65053 * time/time.h: Likewise.
65054 * wcsmbs/bits/wchar2.h: Likewise.
65055 * wcsmbs/uchar.h: Likewise.
65056 * wcsmbs/wchar.h: Likewise.
65057 * wctype/wctype.h: Likewise.
65058
65059 [BZ #13551]
65060 * Makeconfig: Remove all but ELF support including AIX support.
65061 * Makerules: Likewise.
65062 * config.h.in: Likewise.
65063 * config.make.in: Likewise.
65064 * configure: Likewise.
65065 * configure.in: Likewise.
65066 * csu/Makefile: Likewise.
65067 * csu/version.c: Likewise.
65068 * debug/Makefile: Likewise.
65069 * dlfcn/Makefile: Likewise.
65070 * elf/Makefile: Likewise.
65071 * extra-lib.mk: Likewise.
65072 * iconv/Makefile: Likewise.
65073 * include/libc-symbols.h: Likewise.
65074 * include/shlib-compat.h: Likewise.
65075 * resolv/Makefile: Likewise.
65076 * resolv/res_libc.c: Likewise.
65077 * rt/Makefile: Likewise.
65078 * sysdeps/i386/asm-syntax.h: Likewise.
65079 * sysdeps/i386/sysdep.h: Likewise.
65080 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
65081 * sysdeps/mach/sysdep.h: Likewise.
65082 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
65083 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
65084 * sysdeps/s390/asm-syntax.h: Likewise.
65085 * sysdeps/s390/s390-32/sysdep.h: Likewise.
65086 * sysdeps/s390/s390-64/sysdep.h: Likewise.
65087 * sysdeps/sh/sysdep.h: Likewise.
65088 * sysdeps/unix/sparc/sysdep.h: Likewise.
65089 * sysdeps/wordsize-32/divdi3.c: Likewise.
65090 * sysdeps/x86_64/sysdep.h: Likewise.
65091
65092 * argp/Versions: Remove _argp_unlock_xxx.
65093
65094 [BZ #13559]
65095 * abilist/ld.abilist: Update. Adjust for removal of tls option.
65096 * abilist/libBrokenLocale.abilist: Likewise.
65097 * abilist/libanl.abilist: Likewise.
65098 * abilist/libc.abilist: Likewise.
65099 * abilist/libcrypt.abilist: Likewise.
65100 * abilist/libdl.abilist: Likewise.
65101 * abilist/libm.abilist: Likewise.
65102 * abilist/libnsl.abilist: Likewise.
65103 * abilist/libpthread.abilist: Likewise.
65104 * abilist/libresolv.abilist: Likewise.
65105 * abilist/librt.abilist: Likewise.
65106 * abilist/libthread_db.abilist: Likewise.
65107 * abilist/libutil.abilist: Likewise.
65108 * abilist/libnss_db.abilist: New file.
65109
65110 * scripts/abilist.awk: Add support for indirect functions.
65111
65112 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
65113
65114 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
65115
65116 * shlib-versions: Remove entries for ports architectures.
65117
65118 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
65119 files in ports.
65120 * elf/stackguard-macros.h: Remove support for IA-64.
65121 * elf/tst-auditmod1.c: Likewise.
65122 * sysdeps/generic/ldsodefs.h: Likewise.
65123
65124 * sysdeps/unix/sysv/linux/configure.in: Ports should define
65125 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
65126 configure files.
65127
65128 [BZ #13552]
65129 * configure.in: Remove --enable-omitfp support.
65130 * FAQ.in: Adjust.
65131 * config.make.in: Likewise.
65132 * Makeconfig: Likewise.
65133 * manual/install.texi: Likewise.
65134
65135 In case anyone cares, the IA-64 architecture could move to ports.
65136 * sysdeps/ia64/*: Removed.
65137 * sysdeps/unix/sysv/linux/ia64/*: Removed.
65138 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
65139
65140 [BZ #13555]
65141 * configure.in: Remove entries for unsupported architectures.
65142
65143 [BZ #13533]
65144 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
65145 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
65146 routines.
65147 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
65148 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
65149 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
65150 fall back to using wcrtomb.
65151 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
65152 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
65153 renaming.
65154 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
65155 * wcsmbs/tst-c16c32-1.c: New file.
65156
65157 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
65158 local variable.
65159
65160 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
65161
65162 * elf/tst-unique3.cc: Add explicit declaration of gets.
65163 * elf/tst-unique3lib.cc: Likewise.
65164 * elf/tst-unique3lib2.cc: Likewise.
65165 * elf/tst-unique4.cc: Likewise.
65166
65167 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
65168
65169 2012-01-06 Joseph Myers <joseph@codesourcery.com>
65170
65171 [BZ #13566]
65172 * assert/assert.h (static_assert): Don't define for C++.
65173 * libio/stdio.h (gets): Do declare for C++ <= C++11.
65174 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
65175
65176 2012-01-03 Ulrich Drepper <drepper@gmail.com>
65177
65178 * iconv/loop.c (single loop): Fix assertion in storing of
65179 remaining bytes.
65180
65181 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
65182
65183 2012-01-01 Ulrich Drepper <drepper@gmail.com>
65184
65185 * posix/getconf.c: Update copyright year.
65186 * nss/getent.c: Likewise.
65187 * nss/makedb.c: Likewise.
65188 * iconv/iconvconfig.c: Likewise.
65189 * iconv/iconv_prog.c: Likewise.
65190 * elf/ldconfig.c: Likewise.
65191 * elf/pldd.c: Likewise.
65192 * elf/sotruss.ksh: Likewise.
65193 * catgets/gencat.c: Likewise.
65194 * csu/version.c: Likewise.
65195 * elf/ldd.bash.in: Likewise.
65196 * elf/sprof.c (print_version): Likewise.
65197 * locale/programs/locale.c: Likewise.
65198 * locale/programs/localedef.c: Likewise.
65199 * login/programs/pt_chown.c: Likewise.
65200 * nscd/nscd.c (print_version): Likewise.
65201 * debug/xtrace.sh: Likewise.
65202 * malloc/memusage.sh: Likewise.
65203 * malloc/mtrace.pl: Likewise.
65204 * debug/catchsegv.sh: Likewise.
65205
65206 2011-12-30 Jakub Jelinek <jakub@redhat.com>
65207
65208 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
65209 pure attribute.
65210
65211 2011-12-24 Ulrich Drepper <drepper@gmail.com>
65212
65213 [BZ #13533]
65214 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
65215 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
65216 transformations.
65217 * iconv/gconv_int.h: Likewise.
65218 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
65219 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
65220 from libc for GLIBC_2.16.
65221 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
65222 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
65223 * wcsmbs/uchar.h: Really define mbstate_t.
65224 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
65225 * wcsmbs/c16rtomb.c: New file.
65226 * wcsmbs/mbrtoc16.c: New file.
65227 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
65228 for C/POSIX locale.
65229 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
65230 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
65231
65232 * wcsmbs/wchar.h: Add missing __restrict.
65233
65234 2011-12-23 Ulrich Drepper <drepper@gmail.com>
65235
65236 [BZ #13532]
65237 * time/Makefile (routines): Add timespec_get.
65238 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
65239 * time/time.h: Define TIME_UTC and declare timespec_get. Define
65240 timespec for ISO C11.
65241 * time/timespec_get.c: New file.
65242 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
65243 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
65244
65245 [BZ #13531]
65246 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
65247 * stdlib/stdlib.h: Declare aligned_alloc.
65248 * Versions.def: Add GLIBC_2.16 for libc.
65249 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
65250
65251 [BZ 13527]
65252 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
65253 ISO C11.
65254
65255 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
65256 code.
65257
65258 [BZ #13528]
65259 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
65260
65261 [BZ #13529]
65262 * assert/assert.h (static_assert): Define.
65263
65264 * version.h: Update for 2.16 development version.
65265
65266 [BZ #13526]
65267 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
65268 _ISOC11_SOURCE.
65269
65270 * version.h (RELEASE): Bump for 2.15 release.
65271 * include/features.h (__GLIBC_MINOR__): Bump to 15.
65272
65273 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
65274 Patch by Marek Polacek <mpolacek@redhat.com>.
65275
65276 * bits/byteswap.h: Protect long long constants with __extension__.
65277 * sysdeps/i386/bits/byteswap.h: Likewise.
65278 * sysdeps/ia64/bits/byteswap.h: Likewise.
65279 * sysdeps/s390/bits/byteswap.h: Likewise.
65280 * sysdeps/x86_64/bits/byteswap.h: Likewise.
65281
65282 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65283
65284 [BZ #13540]
65285 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
65286 destination buffer.
65287 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
65288
65289 2011-12-23 Marek Polacek <polacek@redhat.com>
65290
65291 * elf/dl-addr.c (determine_info): Add inline keyword.
65292 * elf/tst-auditmod4b.c (check_avx): Likewise.
65293 * elf/tst-auditmod6b.c (check_avx): Likewise.
65294 * elf/tst-auditmod6c.c (check_avx): Likewise.
65295 * elf/tst-auditmod7b.c (check_avx): Likewise.
65296
65297 2011-12-23 Ulrich Drepper <drepper@gmail.com>
65298
65299 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
65300 !__SSE_MATH__.
65301
65302 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65303
65304 [BZ #13540]
65305 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
65306 processing for last bytes.
65307
65308 2011-08-06 Bruno Haible <bruno@clisp.org>
65309
65310 [BZ #13061]
65311 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
65312 U+0385, not to U+1FEE.
65313
65314 [BZ #13062]
65315 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
65316 entry for U+00A5 U+0301.
65317
65318 2011-12-22 Ulrich Drepper <drepper@gmail.com>
65319
65320 [BZ #13166]
65321 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
65322 buffer for the output is too small.
65323
65324 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
65325 optimization.
65326
65327 [BZ #13185]
65328 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
65329 SSE flags if possible.
65330
65331 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65332
65333 [BZ #13540]
65334 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
65335 processing for last bytes.
65336
65337 2011-12-22 Joseph Myers <joseph@codesourcery.com>
65338
65339 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
65340 (syscall-list-default-options, syscall-list-default-condition)
65341 (syscall-list-includes): Define.
65342 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
65343 list of ABIs and options and #if conditions for each ABI. Do not
65344 handle common syscalls between ABIs specially.
65345 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
65346 Remove.
65347 (syscall-list-variants, syscall-list-32bit-options)
65348 (syscall-list-32bit-condition, syscall-list-64bit-options)
65349 (syscall-list-64bit-condition): Define.
65350 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
65351 (syscall-list-variants, syscall-list-32bit-options)
65352 (syscall-list-32bit-condition, syscall-list-64bit-options)
65353 (syscall-list-64bit-condition): Define.
65354 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
65355 Remove.
65356 (syscall-list-variants, syscall-list-32bit-options)
65357 (syscall-list-32bit-condition, syscall-list-64bit-options)
65358 (syscall-list-64bit-condition): Define.
65359 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
65360 Remove.
65361 (syscall-list-variants, syscall-list-32bit-options)
65362 (syscall-list-32bit-condition, syscall-list-64bit-options)
65363 (syscall-list-64bit-condition): Define.
65364
65365 2011-12-22 Ulrich Drepper <drepper@gmail.com>
65366
65367 * locale/iso-639.def: Add brx entry.
65368
65369 [BZ #13328]
65370 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
65371 Proposed by Mariusz_Cukr <marcukr@op.pl>.
65372
65373 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
65374 __feraiseexcept_renamed.
65375
65376 2011-12-21 Ulrich Drepper <drepper@gmail.com>
65377
65378 [BZ #13538]
65379 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
65380 EPOLLET with unsigned values.
65381 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65382 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
65383
65384 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
65385 to large cancellation.
65386 * math/s_cacoshf.c: Likewise.
65387 * math/s_cacoshl.c: Likewise.
65388
65389 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
65390
65391 [BZ #13305]
65392 [BZ #12786]
65393 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
65394 * math/s_cacoshf.c: Likewise.
65395 * math/s_cacoshl.c: Likewise.
65396
65397 2011-12-21 Ulrich Drepper <drepper@gmail.com>
65398
65399 [BZ #13439]
65400 * iconv/gconv.h: Define __GCONV_SWAP.
65401 * iconvdata/unicode.c: The swap bit must be stored in __flags.
65402 * iconvdata/utf-16.c: Likewise.
65403 * iconvdata/utf-32.c: Likewise.
65404
65405 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
65406
65407 [BZ #13524]
65408 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
65409 numerator after shifting it by one limb.
65410
65411 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
65412
65413 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
65414 under [__USE_EXTERN_INLINES].
65415
65416 2011-12-17 Ulrich Drepper <drepper@gmail.com>
65417
65418 [BZ #13446]
65419 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
65420
65421 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65422
65423 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
65424 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
65425 optimized code.
65426 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
65427 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
65428 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
65429 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
65430 for strncasecmp/strncasecmp_l compilation.
65431 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
65432 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
65433
65434 2011-12-08 Marek Polacek <mpolacek@redhat.com>
65435
65436 [BZ #13484]
65437 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
65438 of __asm__.
65439
65440 2011-12-17 Ulrich Drepper <drepper@gmail.com>
65441
65442 [BZ #13506]
65443 * time/tzfile.c (__tzfile_read): Check values from file header.
65444
65445 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
65446
65447 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
65448 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
65449 * powerpc/powerpc32/dl-start.S: Likewise.
65450 * powerpc/powerpc32/elf/start.S: Likewise.
65451 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
65452 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
65453 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
65454 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
65455 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65456 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
65457 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
65458 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65459 * powerpc/powerpc32/fpu/s_round.S: Likewise.
65460 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65461 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65462 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65463 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
65464 * powerpc/powerpc32/memset.S: Likewise.
65465 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65466 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65467 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65468 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65469 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65470 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
65471 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
65472 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
65473 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
65474 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
65475 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
65476 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65477 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65478
65479 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65480
65481 * math/libm-test.inc: Added more nearbyint tests.
65482 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
65483 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
65484 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
65485 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
65486
65487 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
65488
65489 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
65490 FD_CLOEXEC.
65491
65492 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65493
65494 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
65495 Add wcscpy-ssse3 wcscpy-c.
65496 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
65497 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
65498 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
65499 * sysdeps/x86_64/wcschr.S: New file.
65500 * sysdeps/x86_64/wcsrchr.S: New file.
65501 * string/test-strcmp.c: Remove checking of wcscmp function for
65502 wrong alignments.
65503 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
65504 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
65505 wcsrchr-sse2 wcsrchr-c.
65506 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
65507 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
65508 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
65509 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
65510 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
65511 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
65512 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
65513 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
65514 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
65515 * wcsmbc/wcschr.c (WCSCHR): New macro.
65516
65517 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65518
65519 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
65520 * wcsmbs/test-wcsrchr.c: New file.
65521 * string/test-strrchr.c: Add wcsrchr support.
65522 (WIDE): New macro.
65523 * wcsmbs/test-wcscpy.c: New file.
65524 * string/test-strcpy.c: Add wcscpy support.
65525 (WIDE): New macro.
65526
65527 2011-12-10 Ulrich Drepper <drepper@gmail.com>
65528
65529 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
65530 the inner loop.
65531
65532 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
65533
65534 [BZ #13472]
65535 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
65536
65537 2011-12-04 Ulrich Drepper <drepper@gmail.com>
65538
65539 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
65540 Minor optimizations.
65541
65542 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
65543 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
65544 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
65545
65546 2011-12-03 Ulrich Drepper <drepper@gmail.com>
65547
65548 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
65549 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
65550 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
65551 for gcc to avoid warnings.
65552 * inet/Makefile (tests): Add tst-checks.
65553 * inet/tst-checks.c: New file.
65554
65555 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
65556 warning.
65557
65558 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
65559 __wmemcmp_sse2.
65560
65561 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
65562 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
65563
65564 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
65565
65566 2011-12-02 Ulrich Drepper <drepper@gmail.com>
65567
65568 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
65569 problem.
65570
65571 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
65572
65573 2011-11-29 Joseph Myers <joseph@codesourcery.com>
65574
65575 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
65576 conditional on GCC version.
65577 (__arch_compare_and_exchange_val_8_acq)
65578 (__arch_compare_and_exchange_val_16_acq)
65579 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
65580 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
65581 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
65582
65583 2011-12-02 Joseph Myers <joseph@codesourcery.com>
65584
65585 * sysdeps/sh/backtrace.c: New file.
65586
65587 2011-12-02 Andreas Schwab <schwab@redhat.com>
65588
65589 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
65590 parenthesis.
65591
65592 2011-12-01 Andreas Schwab <schwab@redhat.com>
65593
65594 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
65595 falling back to utime.
65596
65597 2011-11-30 Andreas Schwab <schwab@redhat.com>
65598
65599 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
65600 expectations for float.
65601
65602 2011-11-29 Andreas Schwab <schwab@redhat.com>
65603
65604 * locale/weight.h (findidx): Add parameter len.
65605 * locale/weightwc.h (findidx): Likewise.
65606 * posix/fnmatch_loop.c (FCT): Adjust caller.
65607 * posix/regcomp.c (build_equiv_class): Likewise.
65608 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
65609 * posix/regexec.c (check_node_accept_bytes): Likewise.
65610 * string/strcoll_l.c (STRCOLL): Likewise.
65611 * string/strxfrm_l.c (STRXFRM): Likewise.
65612
65613 2011-11-17 Ulrich Drepper <drepper@gmail.com>
65614
65615 * Makefile.in: Remove CVSOPT handling.
65616 * configure.in: Remove use of AC_REVISION.
65617 * iconvdata/Makefile (distribute): No need to filter out CVS.
65618 * scripts/list-sources.sh: Remove CVS, subversion and monotone
65619 handling.
65620
65621 2011-11-16 Andreas Schwab <schwab@redhat.com>
65622
65623 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
65624 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
65625 [USE_AS_STRNCASECMP_L]: Likewise.
65626 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
65627 NO_TLS_DIRECT_SEG_REFS.
65628 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
65629 Fix argument offsets for non-PIC.
65630 [USE_AS_STRNCASECMP_L]: Likewise.
65631 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
65632 NO_TLS_DIRECT_SEG_REFS.
65633
65634 2011-11-15 Ulrich Drepper <drepper@gmail.com>
65635
65636 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
65637 O_CLOEXEC.
65638 * locale/loadlocale.c (_nl_load_locale): Likewise.
65639
65640 2011-11-15 Andreas Schwab <schwab@redhat.com>
65641
65642 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
65643 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
65644 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
65645 (SYSCALL_GETTIME): Set errno on error.
65646
65647 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
65648 count references to noai6ai_cached.
65649
65650 2011-11-15 Ulrich Drepper <drepper@gmail.com>
65651
65652 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
65653
65654 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
65655 FD_CLOEXEC for /proc/self/maps.
65656
65657 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
65658 FD_CLOEXEC for /proc/meminfo.
65659
65660 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
65661 gai.conf.
65662
65663 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
65664 FD_CLOEXEC for given file.
65665
65666 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
65667
65668 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
65669 FD_CLOEXEC for /etc/hosts.
65670 (_gethtent): Likewise.
65671
65672 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
65673
65674 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
65675 cancellation and set FD_CLOEXEC for /etc/netgroup.
65676
65677 * nss/nss_files/files-key.c (search): Don't allow cancellation when
65678 reading /etc/publickey.
65679
65680 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
65681 allow cancellation when reading /etc/group.
65682
65683 * nss/nss_files/files-alias.c (internal_setent): Don't allow
65684 cancellation.
65685 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
65686
65687 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
65688 when using data file.
65689
65690 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
65691
65692 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
65693 (write_nis_obj): Use "c" and "e" in fopen.
65694
65695 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
65696
65697 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
65698
65699 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
65700
65701 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
65702
65703 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
65704 locale.alias.
65705
65706 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
65707
65708 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
65709
65710 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
65711
65712 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
65713 file parsing and set FD_CLOEXEC.
65714
65715 2011-11-14 Ulrich Drepper <drepper@gmail.com>
65716
65717 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
65718
65719 2011-11-14 Andreas Schwab <schwab@redhat.com>
65720
65721 * malloc/arena.c (arena_get2): Don't call reused_arena when
65722 _int_new_arena failed.
65723
65724 2011-11-14 Ulrich Drepper <drepper@gmail.com>
65725
65726 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
65727 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
65728 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
65729 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65730 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65731 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
65732 to compile strcasecmp and strncasecmp.
65733 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
65734 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
65735
65736 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
65737
65738 2011-11-13 Ulrich Drepper <drepper@gmail.com>
65739
65740 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
65741 locale-defines.sym to gen-as-const-headers.
65742 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
65743 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
65744 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
65745 to compile strcasecmp and strncasecmp.
65746 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
65747 strcasecmp_l and strncasecmp_l.
65748 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
65749 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
65750 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
65751 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
65752 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
65753 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
65754 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
65755 * sysdeps/i386/i686/multiarch/strncase.S: New file.
65756 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
65757 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
65758 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
65759
65760 2011-11-12 Ulrich Drepper <drepper@gmail.com>
65761
65762 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
65763 result of SYSDEP_GETTIME_CPU to retval.
65764 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
65765 parameter list to macro. Remove trailing semicolon. Adjust users.
65766
65767 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
65768 variable.
65769
65770 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
65771 mantissa words.
65772 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
65773
65774 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
65775 from unused variable.
65776
65777 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
65778 DWARF definitions.
65779 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
65780 for assembling.
65781
65782 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
65783 over namespaces.
65784
65785 * sunrpc/rpc_prot.c (rejected): Fix case value.
65786
65787 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
65788 unsigned long long int to avoid warnings in shift.
65789
65790 * posix/regex_internal.c (re_string_reconstruct): Actually use result
65791 of use of trans.
65792 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
65793 variable tmp.
65794
65795 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
65796 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
65797 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
65798
65799 * nis/nis_table.c (nis_list): Use variable of correct type for
65800 result of __follow_path call.
65801
65802 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65803
65804 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
65805 of math functions ceil, trunc, floor, round, and sqrt, when
65806 avaliable on the platform.
65807 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
65808 name clash.
65809 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65810 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65811 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65812
65813 2011-10-30 Marek Polacek <mpolacek@redhat.com>
65814
65815 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
65816 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65817
65818 2011-11-11 Roland McGrath <roland@hack.frob.com>
65819
65820 * include/unistd.h: Fix __readlink return type.
65821 Reported by Chris Metcalf <cmetcalf@tilera.com>.
65822
65823 2011-11-11 Ulrich Drepper <drepper@gmail.com>
65824
65825 * stdlib/ucontext.h: Undo last change for makecontext.
65826
65827 2011-11-11 Andreas Schwab <schwab@redhat.com>
65828
65829 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
65830
65831 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
65832 * setjmp/setjmp.h: Mark functions as non-leaf.
65833 * setjmp/bits/setjmp2.h: Likewise.
65834 * stdlib/ucontext.h: Likewise.
65835
65836 2011-11-10 Andreas Schwab <schwab@redhat.com>
65837
65838 * malloc/arena.c (_int_new_arena): Don't increment narenas.
65839 (reused_arena): Don't check arena limit.
65840 (arena_get2): Atomically check arena limit.
65841
65842 2011-11-08 Ulrich Drepper <drepper@gmail.com>
65843
65844 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
65845 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
65846
65847 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
65848 instructions.
65849
65850 2011-11-07 Andreas Schwab <schwab@redhat.com>
65851
65852 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
65853 handler when locking.
65854
65855 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65856 Fix size of allocated buffer.
65857
65858 2011-11-04 Andreas Schwab <schwab@redhat.com>
65859
65860 [BZ #10103]
65861 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
65862 declarations for long double functions.
65863 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
65864
65865 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
65866
65867 2011-11-03 Andreas Schwab <schwab@redhat.com>
65868
65869 * nscd/nscd.c (main): Don't start AVC thread until credentials are
65870 installed.
65871
65872 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
65873 is disabled.
65874
65875 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
65876
65877 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
65878
65879 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
65880
65881 * include/alloca.h (stackinfo_alloca_round): Define.
65882 (extend_alloca): Use it.
65883 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
65884 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
65885 here.
65886
65887 * scripts/check-local-headers.sh: Ignore libaudit.h.
65888
65889 * nscd/Makefile (extra-objs): Make recursively expanded.
65890
65891 2011-11-01 Ulrich Drepper <drepper@gmail.com>
65892
65893 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
65894 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
65895
65896 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
65897 * posix/tst-rfc3484-2.c: Likewise.
65898 * posix/tst-rfc3484-3.c: Likewise.
65899
65900 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65901 process_vm_writev.
65902 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
65903 process_vm_writev.
65904 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
65905 process_vm_writev from libc using GLIBC_2.15 version.
65906
65907 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
65908
65909 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
65910
65911 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
65912 stack usage.
65913
65914 2011-10-31 Ulrich Drepper <drepper@gmail.com>
65915
65916 [BZ #13367]
65917 * nss/getent.c (initgroups_keys): Show error message in case no group
65918 names are given.
65919
65920 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
65921 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
65922 __bump_nl_timestamp.
65923 * nscd/connections (nscd_init): When host database is served open
65924 netlink socket and request notification about configuration changes.
65925 (main_loop_poll): Track netlink file descriptor and bump timestamp
65926 in case data becomes available.
65927 (main_loop_epoll): Likewise.
65928 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
65929 (database_pers_head): Add extra_data fileds.
65930 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
65931 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
65932 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
65933 Adjust caller.
65934 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
65935 in6ai data, call __free_in6ai.
65936 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
65937 Add -DHAVE_NETLINK.
65938 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
65939 interface information. Reuse previous data if netlink timestamp
65940 is not changed.
65941 (__bump_nl_timestamp): New function.
65942 (__free_in6ai): New function.
65943
65944 2011-10-30 Ulrich Drepper <drepper@gmail.com>
65945
65946 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
65947 close_not_cancel_no_status here.
65948 (__check_pf): Reorganize code a bit to not call close twice if OOM.
65949
65950 2011-10-29 Ulrich Drepper <drepper@gmail.com>
65951
65952 [BZ #13276]
65953 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
65954 return value.
65955
65956 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
65957 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
65958 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
65959
65960 2011-07-03 Andreas Jaeger <aj@suse.de>
65961
65962 [BZ #10709]
65963 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
65964 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
65965 * math/libm-test.inc (sin_test): Add test case.
65966
65967 2011-10-29 Ulrich Drepper <drepper@gmail.com>
65968
65969 [BZ #13337]
65970 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
65971 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65972
65973 * elf/chroot_canon.c (chroot_canon): Cleanups.
65974
65975 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
65976
65977 [BZ #13335]
65978 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
65979 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65980
65981 * string/test-strchr.c: Make usable for strchrnul testing.
65982 * string/test-strchrnul.c: New file.
65983 * string/Makefile (strop-tests): Add strchrnul.
65984
65985 * po/it.po: Update from translation team.
65986 * po/es.po: Likewise.
65987
65988 2011-10-28 Ulrich Drepper <drepper@gmail.com>
65989
65990 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
65991 the three constants needed as parameters. Drop the others.
65992 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
65993 __m128i_strloadu_tolower.
65994 Create and initialize variable zero and use it in all the places
65995 where _mm_setzero_si128 was used.
65996
65997 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
65998 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
65999 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
66000 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
66001 anymore.
66002 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
66003 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
66004 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
66005 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
66006 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
66007 __mpranred, __mptan.
66008 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
66009 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
66010 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
66011 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
66012 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
66013 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
66014 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
66015 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
66016 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
66017
66018 2011-10-28 Andreas Schwab <schwab@redhat.com>
66019
66020 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
66021 redefine if SHARED.
66022 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
66023
66024 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
66025 wide char related routines to wcsmbs subdir.
66026
66027 2011-10-27 Andreas Schwab <schwab@redhat.com>
66028
66029 [BZ #13344]
66030 * misc/sys/cdefs.h (__THROWNL): Define.
66031 * posix/unistd.h: Use __THREADNL instead of __THREAD
66032 for memory synchronization functions.
66033
66034 2011-10-26 Roland McGrath <roland@hack.frob.com>
66035
66036 [BZ #13349]
66037 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
66038 doesn't exist.
66039 * manual/stdio.texi (Obstack Streams): Node removed.
66040
66041 2011-10-26 Andreas Schwab <schwab@redhat.com>
66042
66043 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
66044 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66045 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66046
66047 * math/math_private.h (math_force_eval): Allow non-addressable
66048 arguments.
66049 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
66050
66051 2011-10-25 Ulrich Drepper <drepper@gmail.com>
66052
66053 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
66054 file is not needed.
66055
66056 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
66057 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
66058 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66059 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66060 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66061 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66062 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66063 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
66064 Add AVX variants.
66065 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
66066 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
66067 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
66068 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
66069 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
66070 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
66071 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
66072 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
66073 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
66074 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
66075 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
66076 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
66077 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
66078 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
66079 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
66080 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
66081 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
66082 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
66083 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
66084
66085 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
66086 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
66087
66088 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
66089 place. Use VEX encoding when compiling for AVX.
66090
66091 2011-10-25 Andreas Schwab <schwab@redhat.com>
66092
66093 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
66094 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
66095
66096 * string/test-strchr.c (do_test): Don't generate NUL bytes.
66097
66098 2011-10-25 Ulrich Drepper <drepper@gmail.com>
66099
66100 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
66101 useless if() expression.
66102 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66103 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66104 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66105 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66106 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66107 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66108 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66109 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66110 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66111 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66112 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66113 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66114 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66115 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66116 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66117 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66118 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66119 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66120 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66121
66122 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
66123
66124 2011-10-25 Andreas Schwab <schwab@redhat.com>
66125
66126 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
66127 condition.
66128 * elf/dl-fini.c (_dl_sort_fini): Likewise.
66129
66130 2011-10-25 Ulrich Drepper <drepper@gmail.com>
66131
66132 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
66133 .text section. Avoid duplicate constants.
66134 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66135 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66136 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66137 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66138 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66139 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66140 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66141 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66142 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66143 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
66144 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66145 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66146 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66147 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66148 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66149 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66150 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66151 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66152 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66153 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66154 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66155 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66156 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66157 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
66158 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
66159 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
66160 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
66161 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
66162 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
66163 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
66164 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
66165 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
66166 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66167 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
66168 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
66169 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
66170 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
66171 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
66172 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
66173 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
66174 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
66175 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
66176 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
66177 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
66178 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
66179
66180 2011-10-24 Ulrich Drepper <drepper@gmail.com>
66181
66182 * sysdeps/x86_64/dla.h: Move to ...
66183 * sysdeps/x86_64/fpu/dla.h: ...here.
66184 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
66185 situations. Use __builtin_fma only for gcc 4.6 and up.
66186
66187 * config.make.in: Add have-mfma4 entry.
66188 * configure.in: Substitute libc_cv_cc_fma4.
66189 * math/Makefile (dbl-only-routines): Add sincostab.
66190 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
66191 Use __sincostab not sincos.
66192 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
66193 name is a macro.
66194 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66195 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66196 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66197 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
66198 using __copysign.
66199 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
66200 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
66201 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
66202 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
66203 and __inv.
66204 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
66205 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
66206 __copysign.
66207 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
66208 define aliases when function name is a macro.
66209 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
66210 sysdeps/ieee754/dbl-64/sincos.tbl.
66211 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
66212 fma4-enabled routines.
66213 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
66214 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
66215 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
66216 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
66217 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
66218 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
66219 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
66220 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
66221 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
66222 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
66223 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
66224 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
66225 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
66226 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
66227 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
66228 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
66229 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
66230 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
66231 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
66232 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
66233 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
66234 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
66235 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
66236 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
66237 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
66238 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
66239 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
66240 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
66241 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
66242 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
66243
66244 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
66245 rename.
66246 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66247 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66248 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66249 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66250 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66251 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66252 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66253 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66254
66255 2011-10-24 Andreas Schwab <schwab@redhat.com>
66256
66257 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
66258
66259 2011-10-23 Ulrich Drepper <drepper@gmail.com>
66260
66261 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
66262
66263 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
66264 prediction.
66265 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
66266
66267 * string/strnlen.c: Don't define STRNLEN, reverse logic.
66268 Remove unused variable magic_bits.
66269 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
66270
66271 * string/strnlen.c: Define and use STRNLEN macro.
66272 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
66273 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
66274 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
66275 * wcsmbs/wcslen.c: Define and use WCSLEN.
66276 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
66277 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
66278 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
66279 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
66280 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
66281 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
66282 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66283
66284 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66285
66286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66287 strnlen-sse2-no-bsf.
66288 Rename strlen-no-bsf to strlen-sse2-no-bsf.
66289 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
66290 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
66291 Add strnlen support.
66292 (USE_AS_STRNLEN): New macro.
66293 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
66294 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
66295 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
66296 * sysdeps/x86_64/wcslen.S: New file.
66297
66298 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
66299
66300 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
66301 XMM-moves are used for copying on small sizes.
66302
66303 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66304
66305 * wcsmbs/Makefile (strop-tests): Add wcschr.
66306 * wcsmbs/test-wcschr.c: New file.
66307 * string/test-strchr.c: Update.
66308 Add wcschr support.
66309 (WIDE): New macro.
66310
66311 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66312
66313 * wcsmbs/Makefile (strop-tests): Add wcslen.
66314 * wcsmbs/test-wcslen.c: New file.
66315 * string/test-strlen.c: Update.
66316 Add wcslen support.
66317 (WIDE): New macro.
66318
66319 2011-10-23 Ulrich Drepper <drepper@gmail.com>
66320
66321 * po/it.po: Update from translation team.
66322
66323 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66324
66325 * sysdeps/x86_64/wcscmp.S: Update.
66326 Fix wrong comparison semantics.
66327 wcscmp shall use signed comparison not unsigned.
66328 Don't use substraction to avoid overflow bug.
66329 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
66330 * wcsmbc/wcscmp.c: Likewise.
66331 * string/test-strcmp.c: Likewise.
66332 Add new tests to check cases with negative values.
66333
66334 2011-10-23 Ulrich Drepper <drepper@gmail.com>
66335
66336 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
66337 * sysdeps/x86_64/dla.h: ...here. New file.
66338 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
66339 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66340 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66341 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66342 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66343 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66344 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66345 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66346 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66347
66348 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
66349
66350 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
66351 __ynl_finite aliases.
66352
66353 2011-10-22 Ulrich Drepper <drepper@gmail.com>
66354
66355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66356
66357 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
66358 define DLA_FMA.
66359 [DLA_FMA] (EMULV): Use DLA_FMA.
66360 [DLA_FMA] (MUL12): Use EMULV.
66361 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
66362 that are not needed.
66363 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66364 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66365 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66366 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66367 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66368 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66369 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66370
66371 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
66372
66373 * math/s_nan.c: Undef __nan.
66374 * math/s_nanf.c: Undef __nanf.
66375 * math/s_nanl.c: Undef __nanl.
66376 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
66377 "math_private.h".
66378
66379 2011-10-22 Ulrich Drepper <drepper@gmail.com>
66380
66381 * math/s_catan.c: Add branch predictions.
66382 * math/s_catanf.c: Likewise.
66383 * math/s_catanh.c: Likewise.
66384 * math/s_catanhf.c: Likewise.
66385 * math/s_catanhl.c: Likewise.
66386 * math/s_catanl.c: Likewise.
66387 * math/s_cexp.c: Likewise.
66388 * math/s_cexpf.c: Likewise.
66389 * math/s_cexpl.c: Likewise.
66390 * math/s_clog.c: Likewise.
66391 * math/s_clog10.c: Likewise.
66392 * math/s_clog10f.c: Likewise.
66393 * math/s_clog10l.c: Likewise.
66394 * math/s_clogf.c: Likewise.
66395 * math/s_clogl.c: Likewise.
66396 * math/s_csqrt.c: Likewise.
66397 * math/s_csqrtf.c: Likewise.
66398 * math/s_csqrtl.c: Likewise.
66399 * math/s_ctanf.c: Likewise.
66400 * math/s_ctanh.c: Likewise.
66401 * math/s_ctanhf.c: Likewise.
66402 * math/s_ctanhl.c: Likewise.
66403 * math/s_ctanl.c: Likewise.
66404
66405 * math/math_private.h: Define __nan, __nanf, __nanl.
66406 * math/s_cacosh.c: Include <math_private.h>.
66407 * math/s_cacoshl.c: Likewise.
66408 * math/s_casinh.c: Likewise.
66409 * math/s_casinhf.c: Likewise.
66410 * math/s_casinhl.c: Likewise.
66411 * math/s_ccos.c: Rely entire on ccosh.
66412 * math/s_ccosf.c: Rely entire on ccoshf.
66413 * math/s_ccosl.c: Rely entirely on ccoshl.
66414 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
66415 Remove tests for FE_INVALID.
66416 * math/s_ccoshf.c: Likewise.
66417 * math/s_ccoshl.c: Likewise.
66418 * math/s_csin.c: Likewise.
66419 * math/s_csinf.c: Likewise.
66420 * math/s_csinh.c Likewise.
66421 * math/s_csinhf.c: Likewise.
66422 * math/s_csinhl.c: Likewise.
66423 * math/s_csinl.c: Likewise.
66424 * math/s_ctan.c: Likewise.
66425 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
66426 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
66427 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
66428
66429 2011-10-21 Ulrich Drepper <drepper@gmail.com>
66430
66431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
66432 compilation problems.
66433
66434 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
66435 __builtin_expect.
66436
66437 2011-10-20 Ulrich Drepper <drepper@gmail.com>
66438
66439 * sysdeps/i386/configure.in: Test for -mfma4 option.
66440 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
66441 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
66442 COMMON_CPUID_INDEX_80000001.
66443 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
66444 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
66445 use it if FMA3 is not supported.
66446 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
66447
66448 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
66449 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
66450
66451 2011-10-20 Andreas Schwab <schwab@redhat.com>
66452
66453 [BZ #12892]
66454 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
66455 it would create a cycle with a link time dependency.
66456
66457 2011-10-19 Ulrich Drepper <drepper@gmail.com>
66458
66459 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
66460 instruction.
66461 * string/Makefile (strop-tests): Add rawmemchr.
66462 * string/test-rawmemchr.c: New file.
66463
66464 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
66465 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
66466 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
66467 when compiling str{,n}casecmp and when AVX is available. Hook up
66468 new optimized code in initializers.
66469
66470 2011-10-19 Andreas Schwab <schwab@redhat.com>
66471
66472 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
66473 __feraiseexcept instead of feraiseexcept.
66474
66475 2011-10-18 Ulrich Drepper <drepper@gmail.com>
66476
66477 * math/math_private.h: Define defaults for libc_fetestexcept and
66478 libc_feupdateenv.
66479 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
66480 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
66481 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66482 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66483 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66484 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66485 libc_fetestexcept and libc_feupdateenv.
66486
66487 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
66488 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
66489 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
66490 * sysdeps/x86_64/fpu/math_private.h: Define special version of
66491 libc_feholdexcept_setround.
66492
66493 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
66494 Add s_nearbyint-c and s_nearbyintf-c.
66495 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
66496 nearbyintf inlines.
66497 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
66498 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
66499 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
66500 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
66501
66502 * math/math_private.h: Define defaults for libc_fegetround,
66503 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
66504 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
66505 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
66506 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
66507 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
66508 standard functions.
66509 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66510 Remove comments and hacks for old compiler versions.
66511 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66512 libc_fegetround, libc_fesetround, libc_feholdexcept, and
66513 libc_feholdexceptl.
66514
66515 2011-10-18 Andreas Schwab <schwab@redhat.com>
66516
66517 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
66518 (__feraiseexcept_renamed): Add __NTH.
66519 (feraiseexcept): Add __NTH. Rename local variables to fix
66520 namespace violations.
66521
66522 2011-10-17 Ulrich Drepper <drepper@gmail.com>
66523
66524 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
66525
66526 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
66527
66528 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
66529 recently added interfaces.
66530 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
66531
66532 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
66533 about macro parameter expansion.
66534
66535 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
66536 __NO_MATH_INLINES is defined. Cleanups.
66537
66538 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
66539 and __floorf is target has SSE4.1.
66540 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
66541 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
66542 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
66543 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
66544
66545 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
66546 name.
66547 (floorf): Likewise.
66548
66549 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
66550
66551 2011-10-17 Andreas Schwab <schwab@redhat.com>
66552
66553 * misc/sys/cdefs.h: Fix last change.
66554
66555 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
66556 database lookup.
66557
66558 2011-10-16 Ulrich Drepper <drepper@gmail.com>
66559
66560 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
66561
66562 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
66563 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66564 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66565 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66566 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66567 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66568 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66569 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66570 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66571 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
66572 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
66573 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
66574 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
66575 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
66576 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
66577 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
66578 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
66579 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
66580 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
66581 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
66582 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
66583 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
66584
66585 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
66586 ceil, ceilf, floor, floorf.
66587
66588 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
66589 Perform IRELATIVE relocations last.
66590
66591 * elf/do-rel.h: Add another parameter nrelative, replacing the
66592 local variable with the same name. Change name of the function
66593 to end in Rel or Rela (uppercase).
66594 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
66595 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
66596 elf_dynamic_do_##reloc function.
66597
66598 2011-10-15 Ulrich Drepper <drepper@gmail.com>
66599
66600 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
66601 is sufficient, at least on modern CPUs.
66602
66603 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
66604
66605 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
66606 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
66607
66608 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
66609 __expl_finite.
66610 * math/bits/math-finite.h: Add entries for exp.
66611 * math/e_expl.c: Add __*_finite alias.
66612 * sysdeps/i386/fpu/e_exp.S: Likewise.
66613 * sysdeps/i386/fpu/e_expf.S: Likewise.
66614 * sysdeps/i386/fpu/e_expl.c: Likewise.
66615 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66616 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66617 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
66618 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
66619 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
66620 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66621 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66622
66623 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
66624 is sufficient, at least on modern CPUs.
66625
66626 * ctype/ctype-info.c (__ctype_init): Define.
66627 * include/ctype.h (__ctype_init): Declare.
66628 (__ctype_b_loc): The variable is always initialized.
66629 (__ctype_toupper_loc): Likewise.
66630 (__ctype_tolower_loc): Likewise.
66631 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
66632 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
66633
66634 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
66635
66636 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
66637
66638 * configure.in: Also look in $cxxmachine/include for C++ system
66639 headers.
66640
66641 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66642
66643 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
66644 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
66645 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
66646 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
66647 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
66648 (USE_AS_WMEMCMP): New macro.
66649 Fixing indents.
66650 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
66651 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
66652 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
66653 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
66654 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66655 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
66656 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
66657 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
66658 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
66659 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
66660 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
66661 (USE_AS_WMEMCMP): New macro.
66662 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
66663 * sysdeps/string/test-memcmp.c: Update.
66664 Fix simple_wmemcmp.
66665 Add new tests.
66666 * wcsmbs/wmemcmp.c: Update.
66667 (WMEMCMP): New macro.
66668 Fix overflow bug.
66669
66670 2011-10-12 Andreas Jaeger <aj@suse.de>
66671
66672 [BZ #13268]
66673 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
66674
66675 2011-10-15 Ulrich Drepper <drepper@gmail.com>
66676
66677 * libio/iofwide.c (do_length): Avoid warning.
66678
66679 * ctype/ctype.h (__isctype_f): Add missing __THROW.
66680
66681 2011-10-14 Ulrich Drepper <drepper@gmail.com>
66682
66683 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
66684
66685 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
66686 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
66687 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
66688 * sysdeps/i386/i686/fpu/e_log.S: New file.
66689 * sysdeps/i386/i686/fpu/e_logf.S: New file.
66690 * sysdeps/i386/i686/fpu/e_logl.S: New file.
66691
66692 * ctype/ctype.h: Add support for inlined isXXX functions when
66693 compiling C++ code.
66694
66695 2011-10-14 Andreas Schwab <schwab@redhat.com>
66696
66697 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66698
66699 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
66700
66701 2011-10-13 Roland McGrath <roland@hack.frob.com>
66702
66703 [BZ #13291]
66704 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
66705
66706 2011-10-13 Andreas Schwab <schwab@redhat.com>
66707
66708 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
66709 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
66710 feraiseexcept.
66711
66712 * sysdeps/x86_64/memrchr.S: Check for zero size.
66713
66714 * string/stratcliff.c: Add memrchr tests.
66715
66716 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66717
66718 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66719 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
66720 rawmemchr-sse2 rawmemchr-sse2-bsf.
66721 * sysdeps/i386/i686/multiarch/memchr.S: New file.
66722 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
66723 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
66724 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
66725 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
66726 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
66727 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
66728 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
66729 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
66730 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
66731 * string/memrchr.c (MEMRCHR): New macro.
66732
66733 2011-10-12 Ulrich Drepper <drepper@gmail.com>
66734
66735 Add integration with gcc's -ffinite-math-only and optimize wrapper
66736 functions in libm.
66737 * Versions.def: Define GLIBC_2.15 version for libm.
66738 * math/Makefile (headers): Add bits/math-finite.h.
66739 * math/bits/math-finite.h: New file.
66740 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
66741 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
66742 * math/e_acoshl.c: Add __*_finite alias.
66743 * math/e_acosl.c: Likewise.
66744 * math/e_asinl.c: Likewise.
66745 * math/e_atan2l.c: Likewise.
66746 * math/e_atanhl.c: Likewise.
66747 * math/e_coshl.c: Likewise.
66748 * math/e_exp10.c: Likewise.
66749 * math/e_exp10f.c: Likewise.
66750 * math/e_exp10l.c: Likewise.
66751 * math/e_exp2l.c: Likewise.
66752 * math/e_fmodl.c: Likewise.
66753 * math/e_gammal_r.c: Likewise.
66754 * math/e_hypotl.c: Likewise.
66755 * math/e_j0l.c: Likewise.
66756 * math/e_j1l.c: Likewise.
66757 * math/e_jnl.c: Likewise.
66758 * math/e_lgammal_r.c: Likewise.
66759 * math/e_log10l.c: Likewise.
66760 * math/e_log2l.c: Likewise.
66761 * math/e_logl.c: Likewise.
66762 * math/e_powl.c: Likewise.
66763 * math/e_sinhl.c: Likewise.
66764 * math/e_sqrtl.c: Likewise.
66765 * math/e_scalb.c: Completely rewritten and optimized.
66766 * math/e_scalbf.c: Likewise.
66767 * math/e_scalbl.c: Likewise.
66768 * math/w_acos.c: Likewise.
66769 * math/w_acosf.c: Likewise.
66770 * math/w_acosl.c: Likewise.
66771 * math/w_acosh.c: Likewise.
66772 * math/w_acoshf.c: Likewise.
66773 * math/w_acoshl.c: Likewise.
66774 * math/w_asin.c: Likewise.
66775 * math/w_asinf.c: Likewise.
66776 * math/w_asinl.c: Likewise.
66777 * math/w_atan2.c: Likewise.
66778 * math/w_atan2f.c: Likewise.
66779 * math/w_atan2l.c: Likewise.
66780 * math/w_atanh.c: Likewise.
66781 * math/w_atanhf.c: Likewise.
66782 * math/w_atanhl.c: Likewise.
66783 * math/w_exp10.c: Likewise.
66784 * math/w_exp10f.c: Likewise.
66785 * math/w_exp10l.c: Likewise.
66786 * math/w_fmod.c: Likewise.
66787 * math/w_fmodf.c: Likewise.
66788 * math/w_fmodl.c: Likewise.
66789 * math/w_j0.c: Likewise.
66790 * math/w_j0f.c: Likewise.
66791 * math/w_j0l.c: Likewise.
66792 * math/w_j1.c: Likewise.
66793 * math/w_j1f.c: Likewise.
66794 * math/w_j1l.c: Likewise.
66795 * math/w_jn.c: Likewise.
66796 * math/w_jnf.c: Likewise.
66797 * math/w_log.c: Likewise.
66798 * math/w_logf.c: Likewise.
66799 * math/w_logl.c: Likewise.
66800 * math/w_log10.c: Likewise.
66801 * math/w_log10f.c: Likewise.
66802 * math/w_log10l.c: Likewise.
66803 * math/w_log2.c: Likewise.
66804 * math/w_log2f.c: Likewise.
66805 * math/w_log2l.c: Likewise.
66806 * math/w_pow.c: Likewise.
66807 * math/w_powf.c: Likewise.
66808 * math/w_powl.c: Likewise.
66809 * math/w_remainder.c: Likewise.
66810 * math/w_remainderf.c: Likewise.
66811 * math/w_remainderl.c: Likewise.
66812 * math/w_scalb.c: Likewise.
66813 * math/w_scalbf.c: Likewise.
66814 * math/w_scalbl.c: Likewise.
66815 * math/w_sqrt.c: Likewise.
66816 * math/w_sqrtf.c: Likewise.
66817 * math/w_sqrtl.c: Likewise.
66818 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
66819 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
66820 used.
66821 * math/math_private.h: Declare __kernel_standard_f.
66822 * math/w_cosh.c: Remove cruft and optimize a bit.
66823 * math/w_coshf.c: Likewise.
66824 * math/w_coshl.c: Likewise.
66825 * math/w_exp2.c: Likewise.
66826 * math/w_exp2f.c: Likewise.
66827 * math/w_exp2l.c: Likewise.
66828 * math/w_hypot.c: Likewise.
66829 * math/w_hypotf.c: Likewise.
66830 * math/w_hypotl.c: Likewise.
66831 * math/w_lgamma.c: Likewise.
66832 * math/w_lgamma_r.c: Likewise.
66833 * math/w_lgammaf.c: Likewise.
66834 * math/w_lgammaf_r.c: Likewise.
66835 * math/w_lgammal.c: Likewise.
66836 * math/w_lgammal_r.c: Likewise.
66837 * math/w_sinh.c: Likewise.
66838 * math/w_sinhf.c: Likewise.
66839 * math/w_sinhl.c: Likewise.
66840 * math/w_tgamma.c: Likewise.
66841 * math/w_tgammaf.c: Likewise.
66842 * math/w_tgammal.c: Likewise.
66843 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66844 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66845 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
66846 Minor optimizations. Pretty printing. Remove cruft.
66847 * sysdeps/i386/fpu/e_acosf.S: Likewise.
66848 * sysdeps/i386/fpu/e_acosh.S: Likewise.
66849 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66850 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66851 * sysdeps/i386/fpu/e_acosl.c: Likewise.
66852 * sysdeps/i386/fpu/e_asin.S: Likewise.
66853 * sysdeps/i386/fpu/e_asinf.S: Likewise.
66854 * sysdeps/i386/fpu/e_atan2.S: Likewise.
66855 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
66856 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
66857 * sysdeps/i386/fpu/e_atanh.S: Likewise.
66858 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66859 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66860 * sysdeps/i386/fpu/e_exp10.S: Likewise.
66861 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
66862 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
66863 * sysdeps/i386/fpu/e_exp2.S: Likewise.
66864 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
66865 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
66866 * sysdeps/i386/fpu/e_fmod.S: Likewise.
66867 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
66868 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
66869 * sysdeps/i386/fpu/e_hypot.S: Likewise.
66870 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
66871 * sysdeps/i386/fpu/e_log.S: Likewise.
66872 * sysdeps/i386/fpu/e_log10.S: Likewise.
66873 * sysdeps/i386/fpu/e_log10f.S: Likewise.
66874 * sysdeps/i386/fpu/e_log10l.S: Likewise.
66875 * sysdeps/i386/fpu/e_log2.S: Likewise.
66876 * sysdeps/i386/fpu/e_log2f.S: Likewise.
66877 * sysdeps/i386/fpu/e_log2l.S: Likewise.
66878 * sysdeps/i386/fpu/e_logf.S: Likewise.
66879 * sysdeps/i386/fpu/e_logl.S: Likewise.
66880 * sysdeps/i386/fpu/e_pow.S: Likewise.
66881 * sysdeps/i386/fpu/e_powf.S: Likewise.
66882 * sysdeps/i386/fpu/e_powl.S: Likewise.
66883 * sysdeps/i386/fpu/e_remainder.S: Likewise.
66884 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
66885 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
66886 * sysdeps/i386/fpu/e_scalb.S: Likewise.
66887 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66888 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66889 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
66890 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
66891 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
66892 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66893 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66894 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66895 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66896 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66897 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66898 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
66899 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66900 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66901 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66902 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66903 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66904 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66905 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66906 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66907 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66908 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66909 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66910 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66911 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66912 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66913 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66914 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66915 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66916 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66917 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66918 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66919 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66920 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
66921 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66922 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66923 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66924 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66925 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66926 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66927 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66928 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66929 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66930 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66931 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66932 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66933 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66934 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66935 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66936 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66937 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66938 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66939 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66940 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66941 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
66942 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66943 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66944 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66945 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66946 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66947 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66948 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66949 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66950 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66951 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66952 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66953 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66954 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66955 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66956 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66957 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66958 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66959 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66960 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
66961 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66962 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66963 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66964 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66965 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66966 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66967 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66968 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66969 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66970 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66971 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66972 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66973 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66974 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
66975 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66976 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66977 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66978 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66979 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66980 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66981 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66982 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66983 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66984 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66985 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66986 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66987 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66988 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66989 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
66990 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
66991 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
66992 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
66993 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
66994 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
66995 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
66996 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66997 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66998 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66999 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67000 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
67001 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67002 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
67003 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
67004 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
67005 (__isnanf): Likewise.
67006 (__isinf_ns): Likewise.
67007 (__isinf_nsf): Likewise.
67008 (__finite): Likewise.
67009 (__finitef): Likewise.
67010 (__ieee754_sqrt): Define as macro.
67011 (__ieee754_sqrtf): Define as macro.
67012 (__ieee754_sqrtl): Define as macro.
67013 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
67014 inlined copy.
67015 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
67016 __FINITE_MATH_ONLY__ consistent.
67017 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
67018
67019 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
67020
67021 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
67022 of rawmemchr.
67023
67024 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
67025
67026 2011-10-09 Ulrich Drepper <drepper@gmail.com>
67027
67028 * po/ja.po: Update from translation team.
67029
67030 2011-10-08 Roland McGrath <roland@hack.frob.com>
67031
67032 * locale/programs/locarchive.c (prepare_address_space): New function.
67033 (create_archive, enlarge_archive, open_archive): Use it.
67034
67035 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
67036 inside [SHARED], where it is used.
67037
67038 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
67039
67040 * nss/getent.c (netgroup_keys): Remove unused variable.
67041 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
67042
67043 2011-10-08 Ulrich Drepper <drepper@gmail.com>
67044
67045 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
67046 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
67047 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
67048 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
67049 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
67050 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
67051 * math/Makefile (libm-calls): Add s_isinf_ns.
67052 * math/divtc3.c: Use __isinf_nsl instead of isinf.
67053 * math/multc3.c: Likewise.
67054 * math/s_casin.c: Likewise.
67055 * math/s_casinf.c: Likewise.
67056 * math/s_casinl.c: Likewise.
67057 * math/s_ccos.c: Likewise.
67058 * math/s_ccosf.c: Likewise.
67059 * math/s_ccosl.c: Likewise.
67060 * math/s_ctan.c: Likewise.
67061 * math/s_ctanf.c: Likewise.
67062 * math/s_ctanh.c: Likewise.
67063 * math/s_ctanhf.c: Likewise.
67064 * math/s_ctanhl.c: Likewise.
67065 * math/s_ctanl.c: Likewise.
67066 * math/w_fmod.c: Likewise.
67067 * math/w_fmodf.c: Likewise.
67068 * math/w_fmodl.c: Likewise.
67069 * math/w_remainder.c: Likewise.
67070 * math/w_remainderf.c: Likewise.
67071 * math/w_remainderl.c: Likewise.
67072 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
67073 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
67074 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
67075 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
67076 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
67077 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
67078 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
67079 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
67080
67081 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
67082 of the number.
67083 * stdio-common/printf_fphex.c: Likewise.
67084 * stdio-common/printf_size.c: Likewise.
67085
67086 * math/e_exp10.c: Include math_private.h using <...> not "...".
67087 * math/e_exp10f.c: Likewise.
67088 * math/e_exp10l.c: Likewise.
67089 * math/e_exp2l.c: Likewise.
67090 * math/e_j0l.c: Likewise.
67091 * math/e_j1l.c: Likewise.
67092 * math/e_jnl.c: Likewise.
67093 * math/e_lgammal_r.c: Likewise.
67094 * math/e_rem_pio2l.c: Likewise.
67095 * math/e_scalb.c: Likewise.
67096 * math/e_scalbf.c: Likewise.
67097 * math/e_scalbl.c: Likewise.
67098 * math/k_cosl.c: Likewise.
67099 * math/k_sinl.c: Likewise.
67100 * math/k_tanl.c: Likewise.
67101 * math/s_cacoshf.c: Likewise.
67102 * math/s_catan.c: Likewise.
67103 * math/s_catanf.c: Likewise.
67104 * math/s_catanh.c: Likewise.
67105 * math/s_catanhf.c: Likewise.
67106 * math/s_catanhl.c: Likewise.
67107 * math/s_catanl.c: Likewise.
67108 * math/s_ccosh.c: Likewise.
67109 * math/s_ccoshf.c: Likewise.
67110 * math/s_ccoshl.c: Likewise.
67111 * math/s_cexp.c: Likewise.
67112 * math/s_cexpf.c: Likewise.
67113 * math/s_cexpl.c: Likewise.
67114 * math/s_clog.c: Likewise.
67115 * math/s_clog10.c: Likewise.
67116 * math/s_clog10f.c: Likewise.
67117 * math/s_clog10l.c: Likewise.
67118 * math/s_clogf.c: Likewise.
67119 * math/s_clogl.c: Likewise.
67120 * math/s_csin.c: Likewise.
67121 * math/s_csinf.c: Likewise.
67122 * math/s_csinh.c: Likewise.
67123 * math/s_csinhf.c: Likewise.
67124 * math/s_csinhl.c: Likewise.
67125 * math/s_csinl.c: Likewise.
67126 * math/s_csqrt.c: Likewise.
67127 * math/s_csqrtf.c: Likewise.
67128 * math/s_csqrtl.c: Likewise.
67129 * math/s_ctan.c: Likewise.
67130 * math/s_ctanf.c: Likewise.
67131 * math/s_ctanh.c: Likewise.
67132 * math/s_ctanhf.c: Likewise.
67133 * math/s_ctanhl.c: Likewise.
67134 * math/s_ctanl.c: Likewise.
67135 * math/s_ldexp.c: Likewise.
67136 * math/s_ldexpf.c: Likewise.
67137 * math/s_ldexpl.c: Likewise.
67138 * math/s_significand.c: Likewise.
67139 * math/s_significandf.c: Likewise.
67140 * math/s_significandl.c: Likewise.
67141 * math/w_acos.c: Likewise.
67142 * math/w_acosf.c: Likewise.
67143 * math/w_acosh.c: Likewise.
67144 * math/w_acoshf.c: Likewise.
67145 * math/w_acoshl.c: Likewise.
67146 * math/w_acosl.c: Likewise.
67147 * math/w_asin.c: Likewise.
67148 * math/w_asinf.c: Likewise.
67149 * math/w_asinl.c: Likewise.
67150 * math/w_atan2.c: Likewise.
67151 * math/w_atan2f.c: Likewise.
67152 * math/w_atan2l.c: Likewise.
67153 * math/w_atanh.c: Likewise.
67154 * math/w_atanhf.c: Likewise.
67155 * math/w_atanhl.c: Likewise.
67156 * math/w_cosh.c: Likewise.
67157 * math/w_coshf.c: Likewise.
67158 * math/w_coshl.c: Likewise.
67159 * math/w_dremf.c: Likewise.
67160 * math/w_exp10.c: Likewise.
67161 * math/w_exp10f.c: Likewise.
67162 * math/w_exp10l.c: Likewise.
67163 * math/w_exp2.c: Likewise.
67164 * math/w_exp2f.c: Likewise.
67165 * math/w_fmod.c: Likewise.
67166 * math/w_fmodf.c: Likewise.
67167 * math/w_fmodl.c: Likewise.
67168 * math/w_hypot.c: Likewise.
67169 * math/w_hypotf.c: Likewise.
67170 * math/w_hypotl.c: Likewise.
67171 * math/w_j0.c: Likewise.
67172 * math/w_j0f.c: Likewise.
67173 * math/w_j0l.c: Likewise.
67174 * math/w_j1.c: Likewise.
67175 * math/w_j1f.c: Likewise.
67176 * math/w_j1l.c: Likewise.
67177 * math/w_jn.c: Likewise.
67178 * math/w_jnf.c: Likewise.
67179 * math/w_jnl.c: Likewise.
67180 * math/w_lgamma.c: Likewise.
67181 * math/w_lgamma_r.c: Likewise.
67182 * math/w_lgammaf.c: Likewise.
67183 * math/w_lgammaf_r.c: Likewise.
67184 * math/w_lgammal.c: Likewise.
67185 * math/w_lgammal_r.c: Likewise.
67186 * math/w_log.c: Likewise.
67187 * math/w_log10.c: Likewise.
67188 * math/w_log10f.c: Likewise.
67189 * math/w_log10l.c: Likewise.
67190 * math/w_log2.c: Likewise.
67191 * math/w_log2f.c: Likewise.
67192 * math/w_log2l.c: Likewise.
67193 * math/w_logf.c: Likewise.
67194 * math/w_logl.c: Likewise.
67195 * math/w_pow.c: Likewise.
67196 * math/w_powf.c: Likewise.
67197 * math/w_powl.c: Likewise.
67198 * math/w_remainder.c: Likewise.
67199 * math/w_remainderf.c: Likewise.
67200 * math/w_remainderl.c: Likewise.
67201 * math/w_scalb.c: Likewise.
67202 * math/w_scalbf.c: Likewise.
67203 * math/w_scalbl.c: Likewise.
67204 * math/w_sinh.c: Likewise.
67205 * math/w_sinhf.c: Likewise.
67206 * math/w_sinhl.c: Likewise.
67207 * math/w_sqrt.c: Likewise.
67208 * math/w_sqrtf.c: Likewise.
67209 * math/w_sqrtl.c: Likewise.
67210 * math/w_tgamma.c: Likewise.
67211 * math/w_tgammaf.c: Likewise.
67212 * math/w_tgammal.c: Likewise.
67213
67214 * po/ja.po: Update from translation team.
67215
67216 2011-09-29 Andreas Jaeger <aj@suse.de>
67217
67218 [BZ #13179]
67219 * sunrpc/netname.c (netname2host): Fix logic.
67220
67221 [BZ #6779]
67222 [BZ #6783]
67223 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
67224 correctly.
67225 * math/w_remainder.c (__remainder): Likewise.
67226 * math/w_remainderf.c (__remainderf): Likewise.
67227 * math/libm-test.inc (remainder_test): Add test cases.
67228
67229 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67230
67231 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
67232 sdiv_qrnnd.
67233
67234 2011-10-07 Ulrich Drepper <drepper@gmail.com>
67235
67236 * string/test-memcmp.c: Avoid unncessary #defines.
67237 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67238
67239 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67240
67241 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
67242 Use new sse2 version for core i3 - i7 as it's faster
67243 than sse42 version.
67244 (bit_Prefer_PMINUB_for_stringop): New.
67245 * sysdeps/x86_64/rawmemchr.S: Update.
67246 Replace with faster SSE2 version.
67247 * sysdeps/x86_64/memrchr.S: New file.
67248 * sysdeps/x86_64/memchr.S: Update.
67249 Replace with faster SSE2 version.
67250
67251 2011-09-12 Marek Polacek <mpolacek@redhat.com>
67252
67253 * elf/dl-load.c (lose): Add cast to avoid warning.
67254
67255 2011-10-07 Ulrich Drepper <drepper@gmail.com>
67256
67257 * po/ca.po: Update from translation team.
67258
67259 * inet/getnetgrent_r.c: Hook up nscd.
67260 * nscd/Makefile (routines): Add nscd_netgroup.
67261 (nscd-modules): Add netgroupcache.
67262 (CFLAGS-netgroupcache.c): Define.
67263 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
67264 (cache_search): Add const to second parameter.
67265 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
67266 INNETGR.
67267 (dbs): Add netgrdb entry.
67268 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
67269 (verify_persistent_db): Handle netgrdb.
67270 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
67271 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
67272 GETFDNETGR.
67273 (netgroup_response_header): Define.
67274 (innetgroup_response_header): Define.
67275 (datahead): Add netgroup_response_header and innetgroup_response_header
67276 elements.
67277 * nscd/nscd.conf: Add entries for netgroup cache.
67278 * nscd/nscd.h (dbtype): Add netgrdb.
67279 (_PATH_NSCD_NETGROUP_DB): Define.
67280 (netgroup_iov_disabled): Declare.
67281 (xmalloc, xcalloc, xrealloc): Move declarations here.
67282 (cache_search): Adjust prototype.
67283 Add netgroup-related prototypes.
67284 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
67285 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
67286 (__nscd_innetgr): Declare.
67287 * nscd/selinux.c (perms): Use access_vector_t as element type and
67288 add netgroup-related initializers.
67289 * nscd/netgroupcache.c: New file.
67290 * nscd/nscd_netgroup.c: New file.
67291 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
67292 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
67293 For four parameters use innetgr.
67294 * nss/nss_files/files-init.c: Add definition and callback for netgr.
67295 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
67296 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
67297 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
67298
67299 * nscd/connections.c (register_traced_file): Don't register file
67300 for disabled databases.
67301
67302 2011-10-06 Ulrich Drepper <drepper@gmail.com>
67303
67304 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
67305
67306 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
67307 from tree and freeing node.
67308
67309 2011-09-25 Jiri Olsa <jolsa@redhat.com>
67310
67311 * nss/nsswitch.c (__nss_database_lookup): Handle
67312 nss_parse_service_list out of memory case.
67313
67314 2011-09-15 Jiri Olsa <jolsa@redhat.com>
67315
67316 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
67317 out of memory case.
67318
67319 2011-10-04 Andreas Schwab <schwab@redhat.com>
67320
67321 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
67322 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
67323 pass it down.
67324 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
67325 elf_machine_rela, elf_machine_lazy_rel.
67326 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
67327 (ELF_DYNAMIC_DO_REL): Likewise.
67328 (ELF_DYNAMIC_DO_RELA): Likewise.
67329 (ELF_DYNAMIC_RELOCATE): Likewise.
67330 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
67331 to ELF_DYNAMIC_DO_REL.
67332 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
67333 (dl_main): In trace mode always set __RTLD_NOIFUNC.
67334 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
67335 elf_machine_rela.
67336 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
67337 skip_ifunc, don't call ifunc function if non-zero.
67338 (elf_machine_rela): Likewise.
67339 (elf_machine_lazy_rel): Likewise.
67340 (elf_machine_lazy_rela): Likewise.
67341 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
67342 (elf_machine_lazy_rel): Likewise.
67343 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
67344 Likewise.
67345 (elf_machine_lazy_rel): Likewise.
67346 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67347 Likewise.
67348 (elf_machine_lazy_rel): Likewise.
67349 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
67350 (elf_machine_lazy_rel): Likewise.
67351 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
67352 (elf_machine_lazy_rel): Likewise.
67353 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
67354 (elf_machine_lazy_rel): Likewise.
67355 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
67356 (elf_machine_lazy_rel): Likewise.
67357 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
67358 (elf_machine_lazy_rel): Likewise.
67359 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
67360 (elf_machine_lazy_rel): Likewise.
67361
67362 2011-09-28 Ulrich Drepper <drepper@gmail.com>
67363
67364 * nss/nss_files/files-init.c (_nss_files_init): Use static
67365 initialization for all the *_traced_file variables.
67366
67367 2011-09-28 Andreas Schwab <schwab@redhat.com>
67368
67369 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67370
67371 2011-09-27 Roland McGrath <roland@hack.frob.com>
67372
67373 [BZ #13226]
67374 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
67375
67376 2011-09-27 Andreas Schwab <schwab@redhat.com>
67377
67378 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67379 Reread the line before reparsing it.
67380
67381 2011-09-26 Andreas Schwab <schwab@redhat.com>
67382
67383 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
67384
67385 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
67386 Maxim Kuvyrkov <maxim@codesourcery.com>
67387 Joseph Myers <joseph@codesourcery.com>
67388
67389 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
67390 if needed for __stack_chk_guard.
67391
67392 2011-09-19 Roland McGrath <roland@hack.frob.com>
67393
67394 * sysdeps/posix/spawni.c (script_execute): Always define it.
67395 It will be optimized away if unused.
67396 (maybe_script_execute): New function.
67397 (__spawni): Call it.
67398
67399 * Makerules: Don't include tls.make.
67400 (config-tls): Always set to thread.
67401 * tls.make.c: File removed.
67402
67403 2011-09-19 Mike Frysinger <vapier@gentoo.org>
67404
67405 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
67406 * config.make.in (CPPFLAGS-config): New substituted variable.
67407
67408 2011-09-15 Ulrich Drepper <drepper@gmail.com>
67409
67410 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
67411
67412 [BZ #13192]
67413 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
67414 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
67415
67416 2011-09-15 Roland McGrath <roland@hack.frob.com>
67417
67418 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
67419 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
67420 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
67421 (CALL_FAIL): Likewise.
67422 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
67423 (CALL_FAIL): Macro removed.
67424 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
67425
67426 2011-09-15 Ulrich Drepper <drepper@gmail.com>
67427
67428 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
67429 for __FINITE_MATH_ONLY__ == 1.
67430
67431 2011-09-15 Andreas Schwab <schwab@redhat.com>
67432
67433 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
67434 __ieee754_sqrt instead of sqrt.
67435 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
67436 __ieee754_sqrtf instead of sqrtf.
67437 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
67438 __floorf instead of floorf.
67439 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
67440 __floorf, __truncf instead of floorf, truncf.
67441
67442 2011-09-14 Ulrich Drepper <drepper@gmail.com>
67443
67444 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
67445
67446 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
67447 __extern_always_inline.
67448 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
67449 32-bit.
67450
67451 2011-09-14 Andreas Schwab <schwab@redhat.com>
67452
67453 * elf/rtld.c (dl_main): Also relocate in dependency order when
67454 doing symbol dependency testing.
67455
67456 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
67457
67458 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67459 Always define `refsym'.
67460
67461 2011-09-13 Andreas Schwab <schwab@redhat.com>
67462
67463 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
67464 (__FD_ELT): Renamed from __FDELT.
67465 * misc/bits/select2.h (__FD_ELT): Likewise.
67466 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
67467 __FD_MASK instead of __FDELT, __FDMASK.
67468 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67469 Likewise.
67470 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67471 Likewise.
67472
67473 * elf/Makefile (gen-ldd): Fix pattern.
67474
67475 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
67476 (init_tls): Likewise.
67477
67478 2011-09-12 Ulrich Drepper <drepper@gmail.com>
67479
67480 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
67481
67482 2011-09-12 Andreas Schwab <schwab@redhat.com>
67483
67484 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
67485 `struct cmsghdr *' instead of `void *'.
67486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
67487 Likewise.
67488
67489 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
67490
67491 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
67492 if non-absolute.
67493 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
67494 ldd_rewrite_script.
67495
67496 2011-09-11 Ulrich Drepper <drepper@gmail.com>
67497
67498 * configure.in: Remove --with-tls option.
67499 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
67500 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
67501 out in case it is missing.
67502 * sysdeps/ia64/elf/configure.in: Likewise.
67503 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
67504 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
67505 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
67506 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
67507 * sysdeps/sh/elf/configure.in: Likewise.
67508 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
67509 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67510 * sysdeps/x86_64/elf/configure.in: Likewise.
67511 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
67512 * sysdeps/mach/hurd/tls.h: Likewise.
67513
67514 [BZ #13067]
67515 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
67516
67517 [BZ #13090]
67518 * configure.in: Fix use of AC_INIT.
67519
67520 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
67521
67522 2011-09-10 Ulrich Drepper <drepper@gmail.com>
67523
67524 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
67525 __set_errno.
67526 * malloc/hooks.c: Likewise.
67527
67528 [BZ #11929]
67529 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
67530 variables statically.
67531 (narenas): Initialize.
67532 (list_lock): Initialize.
67533 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
67534 initializtion of main_arena and list_lock. Small cleanups.
67535 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
67536 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
67537 Add initializers to main_arena and mp_.
67538 (malloc_state): Remove pagesize member. Change all users to use
67539 GLRO(dl_pagesize).
67540
67541 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
67542 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
67543 is always initialized.
67544
67545 * malloc/malloc.c: Removed unused configurations and dead code.
67546 * malloc/arena.c: Likewise.
67547 * malloc/hooks.c: Likewise.
67548 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
67549
67550 * include/tls.h: Removed. USE___THREAD must always be defined.
67551 * bits/libc-tsd.h: Don't handle !USE___THREAD.
67552 * elf/dl-libc.c: Likewise.
67553 * elf/dl-tsd.c: Likewise.
67554 * include/errno.h: Likewise.
67555 * include/netdb.h: Likewise.
67556 * include/resolv.h: Likewise.
67557 * inet/herrno-loc.c: Likewise.
67558 * inet/herrno.c: Likewise.
67559 * malloc/arena.c: Likewise.
67560 * malloc/hooks.c: Likewise.
67561 * malloc/malloc.c: Likewise.
67562 * resolv/res-state.c: Likewise.
67563 * resolv/res_libc.c: Likewise.
67564 * sysdeps/i386/dl-machine.h: Likewise.
67565 * sysdeps/ia64/dl-machine.h: Likewise.
67566 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
67567 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67568 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
67569 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
67570 * sysdeps/sh/dl-machine.h: Likewise.
67571 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67572 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67573 * sysdeps/unix/i386/sysdep.S: Likewise.
67574 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
67575 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
67576 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
67577 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
67578 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
67579 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
67580 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
67581 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67582 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67583 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
67584 * sysdeps/unix/x86_64/sysdep.S: Likewise.
67585 * sysdeps/x86_64/dl-machine.h: Likewise.
67586 * tls.make.c: Likewise.
67587
67588 * configure.in: Remove --with-__thread option. Make tests for
67589 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
67590 tls_model attribute fail if no support is available. Remove
67591 USE_IN_LIBIO.
67592 * Makeconfig: Adjust for dropped configure option. All features are
67593 now mandatory.
67594 * Makerules: Likewise.
67595 * Versions.def: Likewise.
67596 * argp/argp-fmtstream.c: Likewise.
67597 * argp/argp-fmtstream.h: Likewise.
67598 * argp/argp-help.c: Likewise.
67599 * assert/assert.c: Likewise.
67600 * config.h.in: Likewise.
67601 * config.make.in: Likewise.
67602 * configure: Likewise.
67603 * configure.in: Likewise.
67604 * csu/Versions: Likewise.
67605 * csu/init.c: Likewise.
67606 * elf/tst-audit2.c: Likewise.
67607 * elf/tst-tls10.c: Likewise.
67608 * elf/tst-tls10.h: Likewise.
67609 * elf/tst-tls11.c: Likewise.
67610 * elf/tst-tls12.c: Likewise.
67611 * elf/tst-tls14.c: Likewise.
67612 * elf/tst-tlsmod11.c: Likewise.
67613 * elf/tst-tlsmod12.c: Likewise.
67614 * elf/tst-tlsmod13.c: Likewise.
67615 * elf/tst-tlsmod13a.c: Likewise.
67616 * elf/tst-tlsmod14a.c: Likewise.
67617 * elf/tst-tlsmod15b.c: Likewise.
67618 * elf/tst-tlsmod16a.c: Likewise.
67619 * elf/tst-tlsmod16b.c: Likewise.
67620 * elf/tst-tlsmod7.c: Likewise.
67621 * elf/tst-tlsmod8.c: Likewise.
67622 * elf/tst-tlsmod9.c: Likewise.
67623 * gmon/gmon.c: Likewise.
67624 * grp/fgetgrent_r.c: Likewise.
67625 * grp/putgrent.c: Likewise.
67626 * hurd/fopenport.c: Likewise.
67627 * include/libc-symbols.h: Likewise.
67628 * include/tls.h: Likewise.
67629 * intl/gettextP.h: Likewise.
67630 * intl/loadinfo.h: Likewise.
67631 * locale/global-locale.c: Likewise.
67632 * locale/localeinfo.h: Likewise.
67633 * mach/devstream.c: Likewise.
67634 * malloc/arena.c: Likewise.
67635 * malloc/set-freeres.c: Likewise.
67636 * misc/err.c: Likewise.
67637 * misc/getttyent.c: Likewise.
67638 * misc/mntent_r.c: Likewise.
67639 * posix/getopt.c: Likewise.
67640 * posix/wordexp.c: Likewise.
67641 * pwd/fgetpwent_r.c: Likewise.
67642 * resolv/Versions: Likewise.
67643 * resolv/res_hconf.c: Likewise.
67644 * shadow/fgetspent_r.c: Likewise.
67645 * shadow/putspent.c: Likewise.
67646 * stdio-common/printf_fphex.c: Likewise.
67647 * stdio-common/tmpfile.c: Likewise.
67648 * stdlib/abort.c: Likewise.
67649 * stdlib/fmtmsg.c: Likewise.
67650 * sunrpc/auth_unix.c: Likewise.
67651 * sunrpc/clnt_perr.c: Likewise.
67652 * sunrpc/clnt_tcp.c: Likewise.
67653 * sunrpc/clnt_udp.c: Likewise.
67654 * sunrpc/clnt_unix.c: Likewise.
67655 * sunrpc/openchild.c: Likewise.
67656 * sunrpc/svc_simple.c: Likewise.
67657 * sunrpc/svc_tcp.c: Likewise.
67658 * sunrpc/svc_udp.c: Likewise.
67659 * sunrpc/svc_unix.c: Likewise.
67660 * sunrpc/xdr.c: Likewise.
67661 * sunrpc/xdr_array.c: Likewise.
67662 * sunrpc/xdr_rec.c: Likewise.
67663 * sunrpc/xdr_ref.c: Likewise.
67664 * sunrpc/xdr_stdio.c: Likewise.
67665
67666 2011-09-09 Ulrich Drepper <drepper@gmail.com>
67667
67668 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67669
67670 2011-07-03 Andreas Jaeger <aj@suse.de>
67671
67672 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
67673 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
67674 regenerate with gen-libm-tests.pl.
67675
67676 2010-05-12 Petr Baudis <pasky@suse.cz>
67677
67678 [BZ #11589]
67679 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
67680 around j0() zero points by switching to j1().
67681 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67682 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67683 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67684 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67685
67686 2011-09-09 Ulrich Drepper <drepper@gmail.com>
67687
67688 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
67689 instead of 0.
67690 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
67691 instead of 0.
67692 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67693 Patch in part by Pavel Roskin <proski@gnu.org>.
67694
67695 [BZ #13138]
67696 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
67697 realloc.
67698 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
67699 Free memory block if necessary.
67700
67701 [BZ #12847]
67702 * libio/genops.c (INTDEF): For string streams the _lock pointer can
67703 be NULL. Don't lock in this case.
67704
67705 2011-09-09 Roland McGrath <roland@hack.frob.com>
67706
67707 * elf/elf.h (ELFOSABI_GNU): New macro.
67708 (ELFOSABI_LINUX): Define to that.
67709
67710 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
67711
67712 * string/strncat.c (strncat): Undef the symbol in case it has been
67713 defined in bits/string.h.
67714
67715 2011-09-09 Ulrich Drepper <drepper@gmail.com>
67716
67717 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
67718
67719 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
67720 link map.
67721
67722 2011-08-17 Andreas Jaeger <aj@suse.de>
67723
67724 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
67725
67726 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
67727 Ian Lance Taylor <iant@google.com>
67728
67729 * math/libm-test.inc (lround_test): New testcase.
67730 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
67731
67732 2011-09-08 Ulrich Drepper <drepper@gmail.com>
67733
67734 * Makefile: Remove support for automatic cvs check-ins.
67735 * Makerules: Likewise.
67736 * config.make.in: Likewise.
67737 * configure.in: Likewise.
67738 * intl/Makefile: Likewise.
67739 * locale/Makefile: Likewise.
67740 * po/Makefile: Likewise.
67741 * posix/Makefile: Likewise.
67742 * sysdeps/gnu/Makefile: Likewise.
67743 * sysdeps/mach/hurd/Makefile: Likewise.
67744 * sysdeps/sparc/sparc32/Makefile: Likewise.
67745
67746 [BZ #13118]
67747 * posix/Makefile (bug-regex32-ENV): Define.
67748 Patch by John Stanley <jpsinthemix@verizon.net>.
67749
67750 * misc/Makefile (headers): Add bits/select2.h.
67751 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
67752 * misc/bits/select2.h: New file.
67753 * include/bits/select2.h: New file.
67754 * debug/Makefile (routines): Add fdelt_chk.
67755 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
67756 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
67757 FD_ISSET.
67758 * debug/fdelt_chk.c: New file.
67759
67760 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
67761 * wcsmbs/test-wmemcmp.c: Likewise.
67762 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
67763 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
67764
67765 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67766
67767 * string/Makefile (strop-tests): Add memcmp.
67768 * string/test-wmemcmp.c: New file.
67769 * string/test-memcmp.c: Add wmemcmp support.
67770
67771 2011-09-08 Roland McGrath <roland@hack.frob.com>
67772
67773 [BZ #13153]
67774 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
67775 2011-07-19 change.
67776
67777 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
67778 garbage value in a __mach_port_mod_refs call in the cases of the
67779 task-self and thread-self ports.
67780
67781 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
67782
67783 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
67784
67785 2011-09-08 Andreas Schwab <schwab@redhat.com>
67786
67787 * elf/dl-load.c (lose): Check for non-null L.
67788
67789 2011-09-07 Ulrich Drepper <drepper@gmail.com>
67790
67791 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
67792
67793 * elf/dl-libc.c (dlerror_run): Pass back error code from
67794 dl_catch_error.
67795
67796 [BZ #13123]
67797 * elf/dl-load.c (lose): Free l_origin if it is valid.
67798
67799 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
67800 names.
67801 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
67802 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67803 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67804 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67805 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
67806 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
67807
67808 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67809
67810 * sysdeps/powerpc/fpu/e_hypot.c: New file.
67811 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
67812 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
67813 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
67814 * sysdeps/powerpc/fpu/k_cosf.c: New file.
67815 * sysdeps/powerpc/fpu/k_sinf.c: New file.
67816 * sysdeps/powerpc/fpu/s_cosf.c: New file.
67817 * sysdeps/powerpc/fpu/s_sinf.c: New file.
67818 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
67819 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
67820
67821 2011-08-15 Alan Modra <amodra@gmail.com>
67822
67823 [BZ #13092]
67824 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
67825 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
67826 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
67827 ppc_mcount to static-only-routines.
67828 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
67829 __mcount_internal.
67830 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
67831 __mcount_internal with usual JUMPTARGET. Remove useless nop.
67832
67833 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
67834
67835 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
67836 for finite and infinity parameters.
67837
67838 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
67839
67840 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
67841 and add nop instructions for throughput optimization.
67842 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67843
67844 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
67845
67846 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
67847 aligned copy for power7 with vector-scalar instructions.
67848 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
67849
67850 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
67851
67852 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
67853 AVX check.
67854
67855 2011-09-07 Andreas Schwab <schwab@redhat.com>
67856
67857 [BZ #13144]
67858 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
67859 last change.
67860
67861 2011-09-07 Ulrich Drepper <drepper@gmail.com>
67862
67863 * sysdeps/unix/sysv/linux/x86_64/init-first.c
67864 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
67865 syscall wrapper around clock_gettime in __vdso_clock_gettime.
67866 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
67867 clock_gettime.
67868
67869 2011-09-06 Ulrich Drepper <drepper@gmail.com>
67870
67871 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
67872 Forgot to demangle the pointer.
67873
67874 * sysdeps/i386/sysdep.h: Define atom_text_section.
67875 * sysdeps/x86_64/sysdep.h: Likewise.
67876 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
67877 section with atom_text_section.
67878 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67879 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67880 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
67881 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67882 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
67883
67884 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
67885 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
67886 already be defined. Change to take two parameters and don't assign
67887 result to variable. Adjust all users.
67888 Define INTERNAL_GETTIME if not already defined.
67889 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
67890 call.
67891 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
67892 HAVE_CLOCK_GETTIME_VSYSCALL.
67893 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
67894
67895 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
67896 gettimeofday vsyscall, just use time.
67897
67898 2011-09-06 Andreas Schwab <schwab@redhat.com>
67899
67900 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
67901 <errno.h>.
67902
67903 2011-09-06 Ulrich Drepper <drepper@gmail.com>
67904
67905 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
67906 syscall on x86-64.
67907 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
67908 syscall.
67909 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
67910 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
67911 syscall if possible.
67912
67913 2011-09-05 Ulrich Drepper <drepper@gmail.com>
67914
67915 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
67916 e_ident. Don't pass to find_mapsXX.
67917 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
67918
67919 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
67920
67921 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67922 strchr-sse2-no-bsf strrchr-sse2-no-bsf
67923 * sysdeps/x86_64/multiarch/strchr.S: Update.
67924 Check bit_slow_BSF bit.
67925 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67926 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
67927 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
67928
67929 2011-09-05 Ulrich Drepper <drepper@gmail.com>
67930
67931 [BZ #13134]
67932 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
67933 before glibc 2.15.
67934 (tryshell): Define.
67935 (__spawni): Change last parameter to be flag. Test
67936 SPAWN_XFLAGS_USE_PATH flag to use path or not.
67937 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
67938 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
67939 * posix/spawni.c: Likewise.
67940 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
67941 * posix/spawnp.c: Likewise. Change normal version to use
67942 SPAWN_XFLAGS_USE_PATH.
67943 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
67944 SPAWN_XFLAGS_TRY_SHELL.
67945
67946 [BZ #13150]
67947 * posix/glob.h: Remove gcc 1.x support.
67948
67949 [BZ #13068]
67950 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
67951
67952 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
67953
67954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67955 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
67956 strrchr-sse2-bsf
67957 * sysdeps/i386/i686/multiarch/strchr.S: New file.
67958 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
67959 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
67960 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
67961 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
67962 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
67963
67964 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67965
67966 * sysdeps/x86_64/wcscmp.S: New file.
67967
67968 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
67969 wcscmp-c wcscmp-sse2
67970 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
67971 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
67972 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
67973 * wcsmbs/wcscmp.c: Allow renaming.
67974
67975 2011-09-05 David S. Miller <davem@davemloft.net>
67976
67977 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
67978 stack slot, rather than the struct return pointer slot.
67979 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
67980 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
67981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
67982 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
67983
67984 2011-09-05 Ulrich Drepper <drepper@gmail.com>
67985
67986 * po/ja.po: Update from translation team.
67987
67988 [BZ #13144]
67989 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
67990 kernel in 64-bit binaries.
67991
67992 2011-09-01 David S. Miller <davem@davemloft.net>
67993
67994 * elf/elf.h (HWCAP_SPARC_*): Move to..
67995 * sysdeps/sparc/sysdep.h: this new file and add new values.
67996 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
67997 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
67998 _DL_HWCAP_COUNT to 24.
67999 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
68000 entries.
68001 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
68002 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
68003 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
68004 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
68005 instead of magic constants.
68006 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68007
68008 2011-08-31 David S. Miller <davem@davemloft.net>
68009
68010 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
68011 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
68012 Reimplement to do errno handling inline.
68013 (SYSCALL_ERROR_HANDLER): New macro.
68014 (__SYSCALL_STRING): Do not do errno handling in asm.
68015 (__CLONE_SYSCALL_STRING): Delete.
68016 (__INTERNAL_SYSCALL_STRING): Delete.
68017 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
68018 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
68019 (PSEUDO): Reimplement to do errno handling inline.
68020 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
68021 (SYSCALL_ERROR_HANDLER): New macro.
68022 (__SYSCALL_STRING): Do not do errno handling in asm.
68023 (__CLONE_SYSCALL_STRING): Delete.
68024 (__INTERNAL_SYSCALL_STRING): Delete.
68025 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
68026 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
68027 i386.
68028 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
68029 (inline_syscall*): Add 'err' argument.
68030 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
68031 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
68032 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
68033 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
68034
68035 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
68036 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68037
68038 2011-08-30 Andreas Schwab <schwab@redhat.com>
68039
68040 * elf/rtld.c (dl_main): Relocate objects in dependency order.
68041
68042 2011-08-29 Jiri Olsa <jolsa@redhat.com>
68043
68044 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
68045 directive.
68046
68047 2011-08-24 David S. Miller <davem@davemloft.net>
68048
68049 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
68050
68051 2011-08-24 Andreas Schwab <schwab@redhat.com>
68052
68053 * elf/Makefile: Add rules to build and run unload8 test.
68054 * elf/unload8.c: New file.
68055 * elf/unload8mod1.c: New file.
68056 * elf/unload8mod1x.c: New file.
68057 * elf/unload8mod2.c: New file.
68058 * elf/unload8mod3.c: New file.
68059
68060 * elf/dl-close.c (_dl_close_worker): Reset private search list if
68061 it wasn't used.
68062
68063 2011-08-23 David S. Miller <davem@davemloft.net>
68064
68065 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
68066 subtract stack bias.
68067 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
68068 %sp not %fp in calculations.
68069 (_JMPBUF_UNWINDS_ADJ): Likewise.
68070
68071 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
68072 (aio_suspend): Call it to force an exception region around the
68073 AIO_MISC_WAIT() invocation.
68074
68075 2011-08-23 Andreas Schwab <schwab@redhat.com>
68076
68077 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
68078 backslash.
68079
68080 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
68081
68082 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
68083 protection macro.
68084 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
68085 and <dl-machine.h>.
68086 (Elf64_FuncDesc): Remove.
68087
68088 2011-08-22 David S. Miller <davem@davemloft.net>
68089
68090 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
68091 sigaltstack check, add missing cfi directives.
68092 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
68093 missing cfi directives, and sigaltstack handling.
68094
68095 2011-08-16 Andreas Schwab <schwab@redhat.com>
68096
68097 [BZ #11724]
68098 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
68099 object is seen twice.
68100 * elf/dl-fini.c (_dl_sort_fini): Likewise.
68101
68102 * elf/Makefile (distribute): Add tst-initorder2.c.
68103 (tests): Add tst-initorder2.
68104 (modules-names): Add tst-initorder2a tst-initorder2b
68105 tst-initorder2c tst-initorder2d. Add rules to build them.
68106 ($(objpfx)tst-initorder2.out): New rule.
68107 * elf/tst-initorder2.c: New file.
68108 * elf/tst-initorder2.exp: New file.
68109
68110 2011-08-22 Andreas Schwab <schwab@redhat.com>
68111
68112 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
68113
68114 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
68115 dependencies back to end of function.
68116
68117 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
68118 $(elfobjdir)/ld.so.
68119
68120 2011-08-21 Ulrich Drepper <drepper@gmail.com>
68121
68122 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
68123 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
68124 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
68125 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
68126 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
68127 of __vdso_gettimeofday.
68128 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
68129 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
68130 attribute_hidden.
68131 (_libc_vdso_platform_setup): Remove initialization of
68132 __vdso_gettimeofday and __vdso_time.
68133
68134 2011-08-20 Ulrich Drepper <drepper@gmail.com>
68135
68136 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
68137 and fgetc_unlocked.
68138 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
68139 getc_unlocked.
68140
68141 * elf/dl-open.c (add_to_global): Report additions to the global scope
68142 for LD_DEBUG=scopes.
68143 (dl_open_worker): Also print scope of newly loaded dependencies.
68144 (_dl_show_scope): Indicate if there is no scope.
68145
68146 [BZ #13114]
68147 * stdio-common/Makefile (tests): Add bug24.
68148 * stdio-common/bug24.c: New file.
68149
68150 2011-08-19 Andreas Jaeger <aj@suse.de>
68151
68152 [BZ #13114]
68153 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
68154 non-existant file when using close-on-exec mode.
68155
68156 2011-08-20 Ulrich Drepper <drepper@gmail.com>
68157
68158 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
68159 the very first instruction.
68160
68161 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
68162 the CFI state in the end.
68163 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
68164 inclusion of dl-trampoline.h.
68165 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
68166
68167 2011-08-19 Andreas Schwab <schwab@redhat.com>
68168
68169 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
68170 expectations for long double.
68171
68172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
68173 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
68174
68175 2011-08-14 David S. Miller <davem@davemloft.net>
68176
68177 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
68178 artificual limit depends upon the system page size.
68179
68180 2011-08-17 Ulrich Drepper <drepper@gmail.com>
68181
68182 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
68183 * resolv/Makefile: Define CFLAGS-libresolv.
68184
68185 2011-08-17 Andreas Schwab <schwab@redhat.com>
68186
68187 * nss/makedb.c (compute_tables): Make variables used in nested
68188 function static.
68189
68190 2011-08-17 Ulrich Drepper <drepper@gmail.com>
68191
68192 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
68193 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
68194 if buffer was too small.
68195
68196 * elf/pldd.c (main): Attach to all threads in the process.
68197 Rewrite /proc handling to use *at functions.
68198
68199 2011-08-16 Ulrich Drepper <drepper@gmail.com>
68200
68201 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
68202 specifies first scope to show.
68203 (dl_open_worker): Update callers. Move printing scope of new
68204 object to before the relocation.
68205 * elf/rtld.c (dl_main): Update _dl_show_scope call.
68206 * sysdeps/generic/ldsodefs.h: Update declaration.
68207
68208 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
68209 string for the scope number.
68210
68211 2011-08-14 Ulrich Drepper <drepper@gmail.com>
68212
68213 * nscd/servicescache.c (cache_addserv): Make sure written is always
68214 initialized.
68215
68216 2011-08-14 Roland McGrath <roland@hack.frob.com>
68217
68218 * sysdeps/i386/i486/bits/atomic.h
68219 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
68220 statement expression, so as to suppress "set but not used" warning.
68221 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
68222
68223 * string/strncat.c (STRNCAT): Use prototype definition.
68224
68225 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
68226 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
68227 -Iprograms here.
68228 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
68229 (localedef-modules): Add localedef.
68230 (locale-modules): Add locale.
68231
68232 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
68233 * elf/rtld.c (dl_main): Invert order of assignment in last change,
68234 to avoid a warning.
68235
68236 2011-08-14 David S. Miller <davem@davemloft.net>
68237
68238 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
68239 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
68240
68241 2011-08-13 Ulrich Drepper <drepper@gmail.com>
68242
68243 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
68244 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
68245 * elf/rtld.c (dl_main): Set l_name of vDSO.
68246 Call _dl_show_scope when DL_DEBUG_SCOPES.
68247 (process_dl_debug): Recognize scopes flag and also set it for all.
68248 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
68249 Declare _dl_show_scope.
68250
68251 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
68252 (do_dlopen): Pass caller_dlopen to dl_open.
68253 (__libc_dlopen_mode): Initialize caller_dlopen.
68254
68255 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
68256 of libc. Make tolower call locale-independent. Optimize a bit by
68257 using isdigit instead of isalnum.
68258 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
68259
68260 2011-08-12 Ulrich Drepper <drepper@gmail.com>
68261
68262 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
68263 was a dependency or dynamically loaded.
68264
68265 2011-08-11 Ulrich Drepper <drepper@gmail.com>
68266
68267 * intl/l10nflist.c: Allow architecture-specific pop function.
68268 * sysdeps/x86_64/l10nflist.c: New file.
68269
68270 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
68271 classification.
68272
68273 2011-08-10 Andreas Schwab <schwab@redhat.com>
68274
68275 * include/dirent.h: Add libc_hidden_proto for scandirat and
68276 scandirat64. Don't declare __scandirat64.
68277 * dirent/scandirat.c: Add libc_hidden_def.
68278 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
68279 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
68280
68281 2011-08-10 David S. Miller <davem@davemloft.net>
68282
68283 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
68284 enum.
68285 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68286 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68287 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68288
68289 2011-08-09 Ulrich Drepper <drepper@gmail.com>
68290
68291 * Versions.def [libc]: Add GLIBC_2.15.
68292 * dirent/Makefile (routines): Add scandirat and scandirat64.
68293 * dirent/Versions [libc]: Export scandirat and scandirat64 for
68294 GLIBC_2.15.
68295 * dirent/dirent.h: Declare scandirat and scandirat64.
68296 * dirent/scandirat.c: New file.
68297 * dirent/scandirat64.c: New file.
68298 * sysdeps/wordsize-64/scandirat.c: New file.
68299 * sysdeps/wordsize-64/scandirat64.c: New file.
68300 * dirent/opendir.c: Define opendirat.
68301 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
68302 using scandirat.
68303 * dirent/scandir64.c: Adjust for scandir.c change.
68304 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
68305 __scandirat64, and __scandir_cancel_handler.
68306 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
68307 additional parameter and use openat instead of open (outside of ld.so).
68308 Add new __opendir as wrapper around __opendirat.
68309 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
68310 here without requiring old scandirat implementation.
68311
68312 2011-08-08 Ulrich Drepper <drepper@gmail.com>
68313
68314 * dirent/scandir.c (cancel_handler): Renamed to
68315 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
68316 defined. Adjust users.
68317 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
68318 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
68319
68320 2011-08-04 Ulrich Drepper <drepper@gmail.com>
68321
68322 * string/test-string.h (IMPL): Use __STRING to expand name and then
68323 stringify it.
68324
68325 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
68326 of cleanups.
68327
68328 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68329
68330 * string/Makefile: Update.
68331 (strop-tests): Append strncat.
68332 * string/test-wcscmp.c: New file.
68333 New comprehensive test for wcscmp.
68334 * string/test-strcmp.c: Update.
68335 (WIDE): New define.
68336
68337 2011-07-22 Andreas Schwab <schwab@redhat.com>
68338
68339 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
68340 line.
68341
68342 2011-07-26 Andreas Schwab <schwab@redhat.com>
68343
68344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68345 encoding to ACE if AI_IDN.
68346
68347 2011-08-01 Jakub Jelinek <jakub@redhat.com>
68348
68349 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
68350 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
68351
68352 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
68353
68354 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
68355 Fix overflow bug in strncat.
68356 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
68357
68358 * string/test-strncat.c: Update.
68359 Add new tests for checking overflow bugs.
68360
68361 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
68362
68363 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68364 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
68365 * sysdeps/i386/i686/multiarch/strcat.S: New file.
68366 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
68367 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
68368 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
68369 * sysdeps/i386/i686/multiarch/strncat.S: New file.
68370 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
68371 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
68372
68373 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
68374 (USE_AS_STRCAT): Define.
68375 Add strcat and strncat support.
68376 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
68377
68378 2011-07-25 Andreas Schwab <schwab@redhat.com>
68379
68380 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
68381 __n bigger than INT_MAX+1.
68382 (__strncmp_g): Likewise.
68383
68384 2011-07-23 Ulrich Drepper <drepper@gmail.com>
68385
68386 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
68387 * libio/stido.h: Likewise.
68388
68389 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
68390 (AF_NFC): Define.
68391 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
68392 (AF_NFC): Define.
68393
68394 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
68395 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
68396 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
68397 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
68398 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
68399
68400 [BZ #13021]
68401 * scripts/test-installation.pl: Don't expect libnss_test1 to be
68402 installed.
68403
68404 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
68405 typo.
68406 (_dl_x86_64_save_sse): Likewise.
68407
68408 2011-07-22 Ulrich Drepper <drepper@gmail.com>
68409
68410 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
68411 OSXSAVE.
68412 (_dl_x86_64_save_sse): Likewise.
68413
68414 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
68415
68416 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
68417
68418 2011-07-21 Andreas Schwab <schwab@redhat.com>
68419
68420 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
68421 change.
68422 (_dl_x86_64_save_sse): Use correct AVX check.
68423
68424 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
68425
68426 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
68427 bug in strncpy/strncat.
68428 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
68429
68430 2011-07-21 Ulrich Drepper <drepper@gmail.com>
68431
68432 * string/tester.c (test_strcat): Add tests for different alignments
68433 of source and destination.
68434 (test_strncat): Likewise.
68435
68436 2011-07-20 Ulrich Drepper <drepper@gmail.com>
68437
68438 [BZ #12852]
68439 * posix/glob.c (glob): Check passed in values before using them in
68440 expressions to avoid some overflows.
68441 (glob_in_dir): Likewise.
68442
68443 [BZ #13007]
68444 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
68445 check for AVX enablement so that we don't crash with old kernels and
68446 new hardware.
68447 * elf/tst-audit4.c: Add same checks here.
68448 * elf/tst-audit6.c: Likewise.
68449
68450 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
68451
68452 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
68453
68454 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
68455
68456 2011-07-20 Ulrich Drepper <drepper@gmail.com>
68457
68458 * po/cs.po: Update from translation team.
68459 * po/bg.po: Likewise.
68460
68461 2011-07-12 Marek Polacek <mpolacek@redhat.com>
68462
68463 * misc/sys/cdefs.h: Add support for const attribute.
68464 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
68465 to gnu_dev_{major,minor,makedev} functions.
68466
68467 2011-07-20 Marek Polacek <mpolacek@redhat.com>
68468
68469 * intl/dcigettext.c (get_output_charset): Add missing bracket.
68470
68471 2011-07-20 Andreas Schwab <schwab@redhat.com>
68472
68473 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
68474 strlen results.
68475
68476 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68477
68478 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
68479 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
68480 register in order to avoid conflicts with the soft frame pointer
68481 being held in r11 when necessary.
68482 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
68483 (INTERNAL_VSYSCALL_NCS): Likewise.
68484
68485 2011-07-14 Marek Polacek <mpolacek@redhat.com>
68486
68487 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
68488 * elf/dl-fini.c (_dl_fini): Adjust caller.
68489 * elf/dl-close.c (_dl_close_worker): Likewise.
68490 * sysdeps/generic/ldsodefs.h: Adjust declaration.
68491
68492 2011-07-15 Marek Polacek <mpolacek@redhat.com>
68493
68494 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
68495 "aux_cache->nlibs < 0".
68496
68497 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
68498 in the reload-count case.
68499
68500 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
68501
68502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68503 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
68504 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
68505 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
68506 * sysdeps/x86_64/multiarch/strcat.S: New file.
68507 * sysdeps/x86_64/multiarch/strncat.S: New file.
68508 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
68509 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
68510 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
68511 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
68512 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
68513 (USE_AS_STRCAT): Define.
68514 Add strcat and strncat support.
68515 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68516 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
68517 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
68518 * string/strncat.c: Update.
68519 (USE_AS_STRNCAT): Define.
68520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68521 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
68522 and i7.
68523 * sysdeps/x86_64/multiarch/init-arch.h
68524 (bit_Prefer_PMINUB_for_stringop): New.
68525 (index_Prefer_PMINUB_for_stringop): Likewise.
68526 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
68527 bit_Prefer_PMINUB_for_stringop.
68528
68529 2011-07-19 Ulrich Drepper <drepper@gmail.com>
68530
68531 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
68532 buffer64.
68533 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
68534 of casting of buffer.
68535 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
68536 buffer32 and buffer64.
68537 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
68538 writes instead of casting of buffer.
68539 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
68540 buffer32.
68541 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
68542 casting of buffer.
68543
68544 2011-07-19 Andreas Schwab <schwab@redhat.com>
68545
68546 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
68547
68548 2011-07-19 Ulrich Drepper <drepper@gmail.com>
68549
68550 * nscd/nscd.c (termination_handler): Don't do anything for a database
68551 if it has not yet been initialized.
68552
68553 2011-07-18 Ulrich Drepper <drepper@gmail.com>
68554
68555 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68556
68557 2011-07-15 Marek Polacek <mpolacek@redhat.com>
68558
68559 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68560
68561 2011-07-18 Ulrich Drepper <drepper@gmail.com>
68562
68563 * po/nl.po: Update from translation team.
68564 * po/sv.po: Likewise.
68565
68566 2011-07-16 Roland McGrath <roland@hack.frob.com>
68567
68568 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
68569 now disallowed by GCC.
68570
68571 * configure.in (use-default-link): Default to yes if a test -shared
68572 link meets our qualifications.
68573 * configure: Regenerated.
68574
68575 * config.make.in (output-format): New variable.
68576 * configure.in: Check for ld --print-output-format support.
68577 * configure: Regenerated.
68578 * Makerules ($(common-objpfx)format.lds)
68579 [$(output-format) != unknown]: Just use $(output-format),
68580 instead of the linker-script munging.
68581
68582 2011-07-14 Roland McGrath <roland@hack.frob.com>
68583
68584 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
68585 of $(common-objpfx)shlib.lds.
68586 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
68587
68588 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
68589 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
68590
68591 * configure.in (-z relro check): Adjust test code to add a large
68592 writable data section after it.
68593 * configure: Regenerated.
68594
68595 2011-07-11 Roland McGrath <roland@hack.frob.com>
68596
68597 * configure.in (-z relro check): Fix test code to make the variable
68598 truly const.
68599 * configure: Regenerated.
68600
68601 2011-07-11 Ulrich Drepper <drepper@gmail.com>
68602
68603 * nscd/nscd.h (struct traced_file): Define.
68604 (struct database_dyn): Remove inotify_descr, reset_res, and filename
68605 elements. Add traced_files.
68606 (inotify_fd): Declare.
68607 (register_traced_file): Declare.
68608 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
68609 (inotify_fd): Export.
68610 (resolv_conf_descr): Remove.
68611 (nscd_init): Move inotify descriptor creation to main.
68612 Don't register files for notification here.
68613 (register_traced_file): New function.
68614 (invalidate_cache): Don't use reset_res to determine whether to call
68615 res_init, go through the list of registered files.
68616 (main_loop_poll): The inotify descriptors are now stored in the
68617 structures for the traced files.
68618 (main_loop_epoll): Likewise
68619 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
68620 to __nss_disable_nscd.
68621 * nscd/cache.c (prune_cache): There is no single inotify descriptor
68622 for a database anymore. Check the records for all the registered
68623 files instead.
68624 * nss/Makefile (libnss_files-routines): Add files-init.
68625 (libnss_db-routines): Add db-init.
68626 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
68627 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
68628 * nss/nss_db/db-init.c: New file.
68629 * nss/nss_files/files-init.c: New file.
68630 * nss/nsswitch.c (nss_load_library): New function. Broken out of
68631 __nss_lookup_function.
68632 (__nss_lookup_function): Call nss_load_library.
68633 (nss_load_all_libraries): New function.
68634 (__nss_disable_nscd): Take parameter with callback function for files
68635 to register. Set is_nscd. Load all the DSOs for the NSS modules
68636 used for the cached services.
68637 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
68638 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
68639 options for features to all the files in nscd.
68640
68641 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
68642
68643 2011-07-10 Roland McGrath <roland@hack.frob.com>
68644
68645 * csu/elf-init.c (__libc_csu_init): Comment typo.
68646
68647 2011-07-09 Ulrich Drepper <drepper@gmail.com>
68648
68649 * po/pl.po: Update from translation team.
68650 * po/ja.po: Likewise.
68651 * po/ru.po: Likewise.
68652 * po/ko.po: Likewise.
68653 * po/fr.po: Likewise.
68654
68655 2011-07-09 Roland McGrath <roland@hack.frob.com>
68656
68657 * configure.in (.ctors/.dtors header and trailer check):
68658 Use an empirical test on a built program.
68659 * configure: Regenerated.
68660
68661 * configure.in (-z relro check): Use an empirical test on a built DSO.
68662 Detect, but do not require, on ia64.
68663 * configure: Regenerated.
68664
68665 * configure.in (READELF): Find it with AC_CHECK_TOOL.
68666 Update tests that use readelf to use $READELF instead.
68667 * configure: Regenerated.
68668
68669 2011-07-08 Ulrich Drepper <drepper@gmail.com>
68670
68671 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
68672 if the result is not used.
68673
68674 2011-07-05 Andreas Jaeger <aj@suse.de>
68675
68676 [BZ#9696]
68677 * stdlib/tst-strtod.c: Add testcase.
68678
68679 2011-07-07 Ulrich Drepper <drepper@gmail.com>
68680
68681 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
68682 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
68683 The latter has a higher limit. Take additional parameter to pass to
68684 the new function.
68685 (__pathconf): Pass file to __statfs_link_max.
68686 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
68687 __statfs_link_max.
68688 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
68689 __statfs_link_max.
68690
68691 [BZ #12868]
68692 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
68693 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68694 Handle Lustre.
68695 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
68696 (__statfs_filesize_max): Likewise.
68697 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
68698
68699 2011-07-05 Andreas Jaeger <aj@suse.de>
68700
68701 * resolv/res_comp.c (dn_skipname): Remove unused variable.
68702
68703 2011-07-06 Marek Polacek <mpolacek@redhat.com>
68704
68705 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
68706 `status' variable.
68707 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
68708 Likewise.
68709
68710 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
68711
68712 * Makefile (strop-tests): Add strncat.
68713 * string/test-strncat.c: New file.
68714
68715 2011-06-30 Marek Polacek <mpolacek@redhat.com>
68716
68717 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
68718
68719 2011-06-21 Andreas Jaeger <aj@suse.de>
68720
68721 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
68722 Copy rule from iconvdata/Makefile.
68723
68724 2011-07-06 Ulrich Drepper <drepper@gmail.com>
68725
68726 [BZ #12922]
68727 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
68728 but no long options are defined, just return 'W'.
68729
68730 2011-06-22 Marek Polacek <mpolacek@redhat.com>
68731
68732 [BZ #9696]
68733 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
68734
68735 2011-07-06 Ulrich Drepper <drepper@gmail.com>
68736
68737 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
68738 netgroups to read.
68739 (innetgr): Likewise.
68740
68741 2011-07-05 Roland McGrath <roland@hack.frob.com>
68742
68743 * config.make.in (install_root): Default to $(DESTDIR).
68744
68745 2011-07-05 Ulrich Drepper <drepper@gmail.com>
68746
68747 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
68748
68749 2011-07-02 Roland McGrath <roland@hack.frob.com>
68750
68751 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
68752
68753 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
68754 containing directory rather than embedding absolute directory names.
68755
68756 * scripts/check-local-headers.sh: Rewritten using awk.
68757 Match by word, not by line. Print error messages for matches.
68758 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
68759
68760 * Makerules [shlib-lds-flags empty]:
68761 ($(common-objpfx)libc_pic.opts): New target.
68762 ($(common-objpfx)libc_pic.os.clean): New target.
68763 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
68764
68765 * config.make.in (OBJCOPY): New variable.
68766 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
68767 * configure: Regenerated.
68768
68769 * config.make.in (use-default-link): New variable.
68770 * configure.in (use_default_link): Grok --with-default-link to set it.
68771 * configure: Regenerated.
68772 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
68773 (shlib-lds, shlib-lds-flags): Define to empty.
68774
68775 * Makerules (shlib-lds): New variable.
68776 (shlib-lds-flags): New variable.
68777 (build-shlib, build-moduile, build-module-asneeded): Use it.
68778 ($(common-objpfx)libc.so): Use $(shlib-lds).
68779 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
68780 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
68781
68782 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
68783 DT_FLAGS/DT_FLAGS_1 with zero flags.
68784
68785 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
68786 linker script munging.
68787
68788 2011-07-02 Ulrich Drepper <drepper@gmail.com>
68789
68790 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
68791 as 128-bit value.
68792 * crypt/sha512.c (sha512_process_block): Perform total addition using
68793 128-bit if possible.
68794 (__sha512_finish_ctx): Likewise.
68795 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
68796 as 64-bit value.
68797 * crypt/sha256.c (SWAP64): Define.
68798 (sha256_process_block): Perform total addition using 64-bit if
68799 possible.
68800 (__sha256_finish_ctx): Likewise.
68801
68802 2011-07-01 Ulrich Drepper <drepper@gmail.com>
68803
68804 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
68805 * nscd/initgrcache.c (addinitgroupsX): Likewise.
68806 * nscd/hstcache.c (cache_addhst): Likewise.
68807 * nscd/grpcache.c (cache_addgr): Likewise.
68808 * nscd/aicache.c (addhstaiX): Likewise
68809 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
68810
68811 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
68812
68813 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
68814 * nscd/initgrcache.c (addinitgroupsX): Likewise.
68815 * nscd/hstcache.c (cache_addhst): Likewise.
68816 * nscd/grpcache.c (cache_addgr): Likewise.
68817 * nscd/aicache.c (addhstaiX): Likewise
68818
68819 2011-07-01 Andreas Schwab <schwab@redhat.com>
68820
68821 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
68822 domain only when needed.
68823
68824 2011-06-30 Andreas Schwab <schwab@redhat.com>
68825
68826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
68827 is always restored.
68828
68829 2011-06-29 Ulrich Drepper <drepper@gmail.com>
68830
68831 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
68832 are re-adding the entry.
68833 * nscd/servicescache.c (cache_addserv): Likewise.
68834
68835 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
68836
68837 * sysdeps/generic/dl-irel.h: fix protection against multiple
68838 inclusions.
68839 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
68840
68841 2011-06-28 Ulrich Drepper <drepper@gmail.com>
68842
68843 [BZ #12935]
68844 * malloc/memusage.sh: Fix quoting in message.
68845 * debug/xtrace.sh: Likewise.
68846
68847 * configure.in: Remove support for --experimental-malloc option, make
68848 it the default.
68849 * config.make.in: Likewise.
68850 * malloc/Makefile: Likewise.
68851
68852 2011-06-27 Andreas Schwab <schwab@redhat.com>
68853
68854 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
68855 two-byte characters.
68856
68857 2011-06-27 Roland McGrath <roland@hack.frob.com>
68858
68859 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
68860 AC_CACHE_CHECK invocation.
68861 * configure: Regenerated.
68862
68863 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
68864
68865 2011-06-27 Ulrich Drepper <drepper@gmail.com>
68866
68867 [BZ #12350]
68868 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
68869 bit from old_res_options.
68870
68871 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
68872
68873 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
68874 value type for setfct.
68875
68876 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
68877
68878 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68879 __gettimeofday instead of gettimeofday.
68880
68881 2011-06-26 Ulrich Drepper <drepper@gmail.com>
68882
68883 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
68884
68885 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
68886
68887 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
68888
68889 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
68890 info.
68891
68892 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
68893
68894 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68895 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68896 strcpy-sse2-unaligned strncpy-sse2-unaligned
68897 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
68898 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
68899 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
68900 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
68901 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
68902 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
68903 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
68904 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
68905 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
68906 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
68907 (STRCPY): Support SSE2 and SSSE3 versions.
68908
68909 2011-06-24 Ulrich Drepper <drepper@gmail.com>
68910
68911 [BZ #12874]
68912 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
68913 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
68914 kernels which artificially limit size of requests.
68915
68916 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
68917
68918 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68919 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68920 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
68921 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
68922 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
68923 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
68924 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
68925 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
68926 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
68927 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
68928 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
68929 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
68930 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
68931 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
68932 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
68933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68934 Enable unaligned load optimization for Intel Core i3, i5 and i7
68935 processors.
68936 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
68937 Define.
68938 (index_Fast_Unaligned_Load): Define.
68939 (HAS_FAST_UNALIGNED_LOAD): Define.
68940
68941 2011-06-23 Marek Polacek <mpolacek@redhat.com>
68942
68943 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
68944
68945 2011-06-22 Ulrich Drepper <drepper@gmail.com>
68946
68947 [BZ #12907]
68948 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
68949 until it is clear that the information is realy needed.
68950 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
68951
68952 2011-06-22 Andreas Schwab <schwab@redhat.com>
68953
68954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
68955
68956 2011-06-22 Ulrich Drepper <drepper@gmail.com>
68957
68958 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68959 /sys/devices/system/cpu/online if it is usable.
68960
68961 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
68962 reading the information from the /proc filesystem to once a second.
68963
68964 2011-06-21 Andreas Jaeger <aj@suse.de>
68965
68966 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
68967 NULL after inclusion of kernel headers.
68968
68969 2011-06-21 Ulrich Drepper <drepper@gmail.com>
68970
68971 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
68972 calls to internal_setent.
68973
68974 [BZ #12885]
68975 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
68976 addresses using gethostbyname4_r ignore IPv4 addresses.
68977
68978 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
68979 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
68980
68981 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
68982
68983 2011-06-20 David S. Miller <davem@davemloft.net>
68984
68985 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
68986 inclusions.
68987 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
68988
68989 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
68990 (elf_irel): Use it.
68991 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
68992 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
68993 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
68994 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
68995 * sysdeps/x86_64/dl-irel.h: Likewise.
68996
68997 * elf/dl-runtime.c: Use elf_ifunc_invoke.
68998 * elf/dl-sym.c: Likewise.
68999
69000 2011-06-15 Ulrich Drepper <drepper@gmail.com>
69001
69002 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
69003 need to dereference resplen2.
69004
69005 2011-06-14 Andreas Schwab <schwab@redhat.com>
69006
69007 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
69008
69009 2011-06-15 Ulrich Drepper <drepper@gmail.com>
69010
69011 * Makeconfig: Define vardbdir and inst_vardbdir.
69012 * nss/Makefile: Add rules to install db-Makefile.
69013
69014 * nss/nss_db/db-XXX.c: Cleanup.
69015
69016 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
69017 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
69018 GLIBC_PRIVATE.
69019 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
69020 * nss/makedb.c: Implement -g option to specify that value strings
69021 are generated and should not be added to table iterated over for
69022 get*ent calls.
69023 * nss/nss_db/db-initgroups.c: New file.
69024
69025 * nss/getent.c: Add support for initgroups lookups through getgrouplist
69026 interface.
69027
69028 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
69029 (internal_getgrouplist): Adjust to name change.
69030 Update use_initgroups_entry if this is not the first call.
69031 * nss/databases.def: Add initgroups entry.
69032
69033 * nss/makedb.c (compute_tables): Check result of multiple hash table
69034 sizes to minimize maximum chain length.
69035
69036 2011-06-14 Ulrich Drepper <drepper@gmail.com>
69037
69038 * Versions.def: Add entry for libnss_db.
69039 * shlib-versions: Likewise.
69040 * nss/Makefile: Add rules to build libnss_db.
69041 * nss/Versions: Add libnss_db information. Organize libnss_files
69042 entries better.
69043 * nss/db-Makefile: Add gshadow support. Change rules for the new
69044 makedb progra. Some minor improvements to generate smaller files.
69045 * nss/nss_db/nss_db.h: Move NSS database header data structures to
69046 here from...
69047 * nss/makedb.c: ...here.
69048 Improve database format to be smaller and require less memory at
69049 runtime.
69050 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
69051 db anymore.
69052 * nss/nss_db/db-netgrp.c: Likewise.
69053 * nss/nss_db/db-open.c: Likewise.
69054 * nss/nss_files/flies-XXX.x: Adjust comments.
69055 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
69056 * nss/nss_files/files-grp.c: Likewise.
69057 * nss/nss_files/files-hosts.c: Likewise.
69058 * nss/nss_files/files-network.c: Likewise.
69059 * nss/nss_files/files-proto.c: Likewise.
69060 * nss/nss_files/files-pwd.c: Likewise.
69061 * nss/nss_files/files-rpc.c: Likewise.
69062 * nss/nss_files/files-service.c: Likewise.
69063 * nss/nss_files/files-sgrp.c: Likewise.
69064 * nss/nss_files/files-spwd.c: Likewise.
69065 * nss/nss_db/db-alias.c: Removed.
69066 * nss/nss_db/dummy-db.h: Removed.
69067
69068 2011-06-02 Ulrich Drepper <drepper@gmail.com>
69069
69070 * nss/makedb.c: Rewritten to not use database library.
69071 * nss/Makefile: Update to build new makedb program.
69072
69073 2011-06-14 Andreas Jaeger <aj@suse.de>
69074
69075 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
69076 memset declaration.
69077
69078 2011-06-10 Andreas Schwab <schwab@redhat.com>
69079
69080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
69081 tmpbuf.
69082
69083 2011-06-10 Roland McGrath <roland@hack.frob.com>
69084
69085 * Makerules (shlib.lds): Fail if the linker script comes out empty.
69086 * elf/Makefile ($(objpfx)ld.so): Likewise.
69087
69088 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
69089 Don't list ld.so twice in dependencies.
69090
69091 * posix/bug-regex31.c: Include <stdlib.h>.
69092
69093 * nscd/hstcache.c (cache_addhst): Remove unused variable.
69094
69095 * nis/nss_compat/compat-spwd.c
69096 (getspent_next_nss_netgr): Remove unused variable.
69097 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
69098
69099 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
69100 nonmembers" output to use the right array.
69101
69102 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
69103
69104 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
69105
69106 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
69107 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
69108 * catgets/gencat.c (read_input_file): Likewise.
69109 * locale/programs/locarchive.c (enlarge_archive): Likewise.
69110
69111 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
69112 variable definition inside #if's controlling its use.
69113
69114 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
69115
69116 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
69117
69118 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
69119
69120 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
69121 unreachable code.
69122
69123 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
69124
69125 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
69126 * configure: Regenerated.
69127
69128 * Makerules: Revert last change.
69129 * elf/Makefile: Likewise.
69130
69131 2011-06-09 Roland McGrath <roland@hack.frob.com>
69132
69133 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
69134 * elf/Makefile ($(objpfx)librtld.os): Likewise.
69135 (reloc-link): Likewise.
69136
69137 2011-06-09 Ulrich Drepper <drepper@gmail.com>
69138
69139 * elf/Makefile: Add rules to build pldd.
69140 * elf/pldd.c: New file.
69141 * elf/pldd-xx.c: New file.
69142
69143 2011-06-07 Ulrich Drepper <drepper@gmail.com>
69144
69145 * version.h: Update for 2.15 development version.
69146
69147 2011-06-07 David S. Miller <davem@davemloft.net>
69148
69149 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
69150 ifuncs.
69151 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
69152 elf_machine_lazy_rel): Likewise.
69153 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
69154 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
69155 elf_machine_lazy_rel): Likewise.
69156 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
69157 dl_hwcap via passed in argument.
69158 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
69159 Likewise.
69160
69161 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69162
69163 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
69164
69165 2011-06-06 Roland McGrath <roland@hack.frob.com>
69166
69167 [BZ #12849]
69168 * manual/fdl-1.1.texi: New file, verbatim from:
69169 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
69170 * manual/lgpl-2.1.texi: New file, verbatim from:
69171 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
69172 * manual/Makefile (licenses): New variable, list those new file names.
69173 (texis): Use it.
69174 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
69175
69176 * manual/fdl.texi: File removed.
69177 * manual/lesser.texi: File removed.
69178 * manual/libc.texinfo (Copying, Documentation License):
69179 Use new @include file names, put @appendix directive before @include.
69180
69181 2011-06-04 Jakub Jelinek <jakub@redhat.com>
69182
69183 [BZ #12841]
69184 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
69185 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
69186 (mq_open): Add __NTH.
69187
69188 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
69189
69190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69191 Assume Intel Core i3/i5/i7 processor if AVX is available.
69192
69193 2011-05-31 Ulrich Drepper <drepper@gmail.com>
69194
69195 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69196 typo.
69197
69198 2011-05-31 Andreas Schwab <schwab@redhat.com>
69199
69200 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
69201 memory. Use alloca_account. Fix memory leak when retrying.
69202
69203 2011-05-31 Ulrich Drepper <drepper@gmail.com>
69204
69205 * version.h (RELEASE): Bump for 2.14 release.
69206 * include/features.h (__GLIBC_MINOR__): Bump to 14.
69207
69208 * config.make.in (RANLIB): Remove entry.
69209
69210 2011-05-30 Ulrich Drepper <drepper@gmail.com>
69211
69212 * po/Makefile (po-sed-cmd): Add ksh to extensions.
69213 (libc.pot): Work around missing support for .ksh extension in xgettext.
69214
69215 [BZ #12684]
69216 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
69217 if both request failed.
69218 (send_dg): In case of server errors clear resplen or *resplen2.
69219
69220 [BZ #12454]
69221 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
69222 when there are multiple maps.
69223 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
69224 (_dl_fini): Remove test here.
69225
69226 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
69227
69228 2011-05-29 Ulrich Drepper <drepper@gmail.com>
69229
69230 [BZ #12350]
69231 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
69232 bit from old_res_options.
69233 (gaih_inet): Likewise.
69234
69235 [BZ #11099]
69236 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
69237 as signed.
69238
69239 * resolv/res_init.c (res_setoptions): Make the code more compact.
69240
69241 [BZ #11558]
69242 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
69243 set RES_USEVC.
69244
69245 [BZ #11634]
69246 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
69247
69248 * malloc/malloc.h: Mark malloc hook variables as deprecated.
69249
69250 [BZ #11781]
69251 * malloc/malloc.h: Declare malloc hook variables as volatile.
69252
69253 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
69254 in last patch.
69255
69256 [BZ #11799]
69257 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
69258 raise in the comment.
69259 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69260 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69261 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
69262
69263 2011-05-28 Ulrich Drepper <drepper@gmail.com>
69264
69265 [BZ #12811]
69266 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
69267 grow the buffers more if it already has to be sufficient.
69268 (build_wcs_upper_buffer): Likewise.
69269 * posix/regexec.c (check_matching): Likewise.
69270 (clean_state_log_if_needed): Likewise.
69271 (extend_buffers): Don't enlarge buffers beyond size of the input
69272 buffer.
69273 Patches mostly by Emil Wojak <emil@wojak.eu>.
69274 * posix/bug-regex32.c: New file.
69275 * posix/Makefile (tests): Add bug-regex32.
69276
69277 * locale/findlocale.c (_nl_find_locale): Return right away if
69278 _nl_explode_name failed.
69279 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
69280
69281 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
69282
69283 * debug/xtrace.sh: Unify messages.
69284 * malloc/memusage.sh: Likewise.
69285
69286 [BZ #12813]
69287 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
69288 time symbol from vDSO. Substitute with vsyscall if not available.
69289 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
69290 __vdso_time.
69291
69292 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
69293 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
69294 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
69295 Add sendmmsg and internal_sendmmsg.
69296 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
69297 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
69298 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
69299
69300 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
69301 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
69302 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
69303
69304 2011-05-27 Ulrich Drepper <drepper@gmail.com>
69305
69306 [BZ #12813]
69307 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
69308 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
69309 available.
69310 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
69311 __vdso_getcpu.
69312
69313 [BZ #12814]
69314 * iconvdata/Makefile (tests): Add bug-iconv9.
69315 * iconvdata/bug-iconv9.c: New file.
69316
69317 2011-05-27 Andreas Schwab <schwab@redhat.com>
69318
69319 [BZ #12814]
69320 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
69321
69322 2011-05-25 Jakub Jelinek <jakub@redhat.com>
69323
69324 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69325 (struct user_regs_struct): Change intcs field back to cs.
69326
69327 2011-05-25 Ulrich Drepper <drepper@gmail.com>
69328
69329 * po/ja.po: Update from translation team.
69330
69331 2011-05-23 Ulrich Drepper <drepper@gmail.com>
69332
69333 [BZ #12795]
69334 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
69335 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
69336
69337 2011-05-20 Andreas Schwab <schwab@redhat.com>
69338
69339 * stdlib/longlong.h: Update from GCC.
69340
69341 2011-05-23 Andreas Schwab <schwab@redhat.com>
69342
69343 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
69344 parameter name.
69345 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
69346 Add parameter name.
69347 (__sysconf): Pass it down.
69348
69349 2011-05-22 Ulrich Drepper <drepper@gmail.com>
69350
69351 [BZ #12671]
69352 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
69353 some situations.
69354 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
69355 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
69356 add in in __libc_use_alloca calls. Adjust callers.
69357 (glob): Use malloc in some situations.
69358
69359 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
69360 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
69361 pltexit.
69362
69363 2011-05-21 Ulrich Drepper <drepper@gmail.com>
69364
69365 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
69366 and CLOCK_BOOTTIME_ALARM.
69367
69368 [BZ #12782]
69369 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
69370 is returned.
69371
69372 * string/_strerror.c (__strerror_r): Print negative errors as signed
69373 numbers.
69374
69375 [BZ #12777]
69376 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
69377 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
69378 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
69379
69380 * configure.in: Fix typo in redirection and correct removal of test
69381 files in two cases.
69382
69383 [BZ #12788]
69384 * locale/setlocale.c (new_composite_name): Fix test to check for
69385 identical name of all categories.
69386
69387 [BZ #12792]
69388 * libio/filedoalloc.c (local_isatty): New function.
69389 (_IO_file_doallocate): Use local_isatty.
69390 * stdio-common/perror.c (perror): In case a new stream is used
69391 forward the stream error.
69392 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
69393 error flag.
69394
69395 2011-05-20 Ulrich Drepper <drepper@gmail.com>
69396
69397 [BZ #11884]
69398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
69399 alloca.
69400 * include/alloca.h (extend_alloca_account): Define.
69401
69402 [BZ #11857]
69403 * posix/regex.h: Fix comments with documentation of user-accessible
69404 fields after compilation and describe correct free'ing of pattern
69405 after re_compile_pattern.
69406 Patch by Reuben Thomas <rrt@sc3d.org>.
69407
69408 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
69409
69410 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
69411 and -mno-altivec to prevent the compiler from using Altivec and/or
69412 VSX instructions when the corresponding registers are not available.
69413
69414 2011-05-19 Andreas Schwab <schwab@redhat.com>
69415
69416 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
69417
69418 2011-05-19 Ulrich Drepper <drepper@gmail.com>
69419
69420 * libio/freopen.c (freopen): Use __dup2, not dup2.
69421 * libio/freopen64.c (freopen64): Likewise.
69422
69423 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
69424
69425 [BZ #12775]
69426 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
69427 * math/Makefile (tests): Add test-powl.
69428 (CFLAGS-test-powl.c): Define.
69429 * math/test-powl.c: New file.
69430
69431 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
69432
69433 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
69434
69435 2011-05-17 Ulrich Drepper <drepper@gmail.com>
69436
69437 [BZ #11837]
69438 * iconvdata/gb18030.c: Update to GB18020-2005.
69439
69440 2011-05-16 Ulrich Drepper <drepper@gmail.com>
69441
69442 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
69443 RE_SYNTAX_POSIX_AWK): Update to match recent development.
69444 Patch by Aharon Robbins <arnold@skeeve.com>.
69445
69446 [BZ #11892]
69447 * stdlib/putenv.c (putenv): Don't always create copy of the variable
69448 on the stack.
69449
69450 [BZ #11895]
69451 * misc/pselect.c (__pselect): Handle timeout value errors hidden
69452 through underflows.
69453
69454 [BZ #12766]
69455 * misc/error.c (error_at_line): Ensure file_name and old_file_name
69456 point to strings before performing equality test for error_one_per_line
69457 mode.
69458
69459 [BZ #11697]
69460 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
69461
69462 [BZ #11820]
69463 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69464 (struct user_fpregs_struct): Avoid __uint*_t types.
69465
69466 [BZ #6420]
69467 * malloc/mtrace.c (tr_where): Add additional parameter to point to
69468 symbol info. Use it instead of calling _dl_addr locally.
69469 (lock_and_info): New function.
69470 (tr_freehook): Call lock_and_info and pass symbol info as additional
69471 parameter to tr_where.
69472 (tr_mallochook): Likewise.
69473 (tr_reallochook): Likewise.
69474 (tr_memalignhook): Likewise.
69475
69476 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
69477 used and couldn't be at all thread-safe.
69478
69479 2011-05-15 Ulrich Drepper <drepper@gmail.com>
69480
69481 * libio/freopen.c (freopen): Don't close old file descriptor
69482 before the new one is opened. Instead dup the new file descriptor
69483 to the old one after the new stream is created.
69484 * libio/freopen64.c (freopen64): Likewise.
69485 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
69486 * libio/fileops.c (_IO_new_file_close_it): Handle new
69487 _IO_FLAGS2_NOCLOSE flag.
69488 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
69489 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
69490 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
69491 _IO_FLAGS2_NOCLOSE flag.
69492 * include/unistd.h: Add hidden_proto for dup3.
69493 Define __have_dup3.
69494 * io/dup3.c: Define hidden symbol.
69495 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
69496
69497 [BZ #7101]
69498 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
69499 when an incomplete long option is used.
69500 * posix/tst-getopt_long1.c: New file.
69501 * posix/Makefile (tests): Add tst-getopt_long1.
69502
69503 [BZ #10138]
69504 * scripts/config.guess: Update from autoconf-2.68.
69505 * scripts/config.sub: Likewise.
69506
69507 [BZ #10157]
69508 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
69509 tests into ...
69510 (has_cpuclock): ...this. New function.
69511 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
69512 macro here based on has_cpuclock code.
69513
69514 [BZ #10149]
69515 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69516 First byte (not low byte) is now always NUL.
69517 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
69518
69519 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69520 Use non-cancelable interfaces.
69521
69522 [BZ #9809]
69523 * locale/iso-639.def: Add entry for Sorani.
69524
69525 [BZ #11901]
69526 * include/stdlib.h: Move include protection to the right place.
69527 Define abort_msg_s. Declare __abort_msg with it.
69528 * stdlib/abort.c (__abort_msg): Adjust type.
69529 * assert/assert.c (__assert_fail_base): New function. Majority
69530 of code from __assert_fail. Allocate memory for __abort_msg with
69531 mmap.
69532 (__assert_fail): Now call __assert_fail_base.
69533 * assert/assert-perr.c: Remove bulk of implementation. Use
69534 __assert_fail_base.
69535 * include/assert.hL Declare __assert_fail_base.
69536 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
69537 mmap.
69538 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
69539
69540 2011-05-14 Ulrich Drepper <drepper@gmail.com>
69541
69542 [BZ #11952]
69543 [BZ #12453]
69544 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
69545 until all modules are registered in the DTV.
69546 * elf/Makefile: Add rules to build and run tst-tls19.
69547 * elf/tst-tls19.c: New file.
69548 * elf/tst-tls19mod1.c: New file.
69549 * elf/tst-tls19mod2.c: New file.
69550 * elf/tst-tls19mod3.c: New file.
69551 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
69552
69553 [BZ #12083]
69554 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
69555 correctly.
69556
69557 [BZ #12601]
69558 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
69559 two-byte sequence errors.
69560 * iconvdata/Makefile (tests): Add bug-iconv8.
69561 * iconvdata/bug-iconv8.c: New file.
69562
69563 [BZ #12626]
69564 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
69565 buf2 definition.
69566
69567 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
69568
69569 [BZ #12432]
69570 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
69571 (dummy_getcfa): New function.
69572 (init): Get _Unwind_GetCFA address, use dummy if not found.
69573 (backtrace_helper): In recursion check, also check whether CFA changes.
69574 (__backtrace): Completely initialize arg.
69575
69576 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
69577 storing incomplete byte sequence in state object. Avoid testing for
69578 guaranteed too small input if we know there is enough data available.
69579
69580 2011-05-11 Andreas Schwab <schwab@redhat.com>
69581
69582 * Makeconfig (+link-pie): Indent.
69583 * Rules (binaries-pie): Define if $(have-fpie) and
69584 $(build-shared).
69585 (binaries-shared): Also filter out $(binaries-pie).
69586 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
69587 * nscd/Makefile (others-pie): Add nscd.
69588 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
69589 ($(objpfx)nscd): Remove command override.
69590 * login/Makefile (others-pie): Add pt_chown.
69591 ($(objpfx)pt_chown): Remove command override.
69592 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
69593 remove command overrides.
69594
69595 2011-05-13 Ulrich Drepper <drepper@gmail.com>
69596
69597 * libio/tst_putwc.c: Fix error messages.
69598
69599 [BZ #12724]
69600 * libio/fileops.c (_IO_new_file_close_it): Always flush when
69601 currently writing and seek to current position when not.
69602 * libio/Makefile (tests): Add bug-fclose1.
69603 * libio/bug-fclose1.c: New file.
69604
69605 2011-05-12 Ulrich Drepper <drepper@gmail.com>
69606
69607 [BZ #12511]
69608 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
69609 don't set DF_1_NODELETE here.
69610 (do_lookup_x): When entering new entry test for copy relocation
69611 and if necessary set DF_1_NODELETE flag.
69612 * elf/tst-unique4.cc: New file.
69613 * elf/tst-unique4.h: New file.
69614 * elf/tst-unique4lib.cc: New file.
69615 * elf/Makefile: Add rules to build and run tst-unique4.
69616 Patch by Piotr Bury <pbury@goahead.com>.
69617
69618 2011-05-11 Ulrich Drepper <drepper@gmail.com>
69619
69620 [BZ #12052]
69621 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
69622
69623 [BZ #12625]
69624 * misc/mntent_r.c (addmntent): Flush the stream after the output
69625
69626 [BZ #12393]
69627 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
69628 (is_trusted_path_normalize): Skip initial colon. Append slash
69629 to empty buffer. Duplicate is_trusted_path code but allow
69630 constructed patch to be prefix.
69631 (is_dst): Allow $ORIGIN followed by /.
69632 (_dl_dst_substitute): Correct clearing of check_for_trusted.
69633 Correct testing of result of is_trusted_path_normalize
69634 (decompose_rpath): Fix warning.
69635
69636 2011-05-10 Ulrich Drepper <drepper@gmail.com>
69637
69638 [BZ #11257]
69639 * grp/initgroups.c (internal_getgrouplist): When we found the service
69640 list through the initgroups entry in nsswitch.conf do not always
69641 continue on a successful lookup. Don't always use the
69642 __nss_group_database value if it is set.
69643 * nss/nsswitch.conf (initgroups): Change action for successful db
69644 lookup to continue for compatibility.
69645
69646 2011-05-09 Ulrich Drepper <drepper@gmail.com>
69647
69648 [BZ #11532]
69649 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
69650 and CP774 modules.
69651 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
69652 and CP774 modules.
69653 * iconvdata/tst-tables.sh: Likewise.
69654 * iconvdata/cp770.c: New file.
69655 * iconvdata/cp771.c: New file.
69656 * iconvdata/cp772.c: New file.
69657 * iconvdata/cp773.c: New file.
69658 * iconvdata/cp774.c: New file.
69659 * iconvdata/testdata/CP770: New file.
69660 * iconvdata/testdata/CP770..UTF8: New file.
69661 * iconvdata/testdata/CP771: New file.
69662 * iconvdata/testdata/CP771..UTF8: New file.
69663 * iconvdata/testdata/CP772: New file.
69664 * iconvdata/testdata/CP772..UTF8: New file.
69665 * iconvdata/testdata/CP773: New file.
69666 * iconvdata/testdata/CP773..UTF8: New file.
69667 * iconvdata/testdata/CP774: New file.
69668 * iconvdata/testdata/CP774..UTF8: New file.
69669
69670 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
69671 END CHARMAP line.
69672 * iconvdata/gen-8bit-gap.sh: Likewise.
69673 * iconvdata/gen-8bit.sh: Likewise.
69674
69675 * locale/iso-639.def: Add ary entry.
69676
69677 [BZ #11258]
69678 * locale/C-translit.h.in: Add U20A1 transliteration.
69679
69680 [BZ #12178]
69681 * locale/iso-639.def: Add wae entry.
69682 Patch by Kevin Bortis <bortis@translate-wae.ch>.
69683
69684 [BZ #12545]
69685 * locale/programs/localedef.c (construct_output_path): Use ssize_t
69686 for n.
69687
69688 [BZ #12711]
69689 * locale/C-translit.h.in: Add entry for U20B9.
69690 Patch by pravin.d.s@gmail.com.
69691
69692 2011-05-08 Ulrich Drepper <drepper@gmail.com>
69693
69694 [BZ #12713]
69695 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
69696 ENAMETOOLONG use generic getcwd.
69697 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
69698 in rtld. Use *stat64.
69699 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
69700 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
69701 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
69702 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
69703 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
69704 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
69705 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
69706 __fstatat64 macros.
69707 * include/dirent.h: Add libc_hidden_proto for rewinddir.
69708 * dirent/rewinddir.c: Add libc_hidden_def.
69709 * sysdeps/mach/hurd/rewinddir.c: Likewise.
69710 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
69711
69712 * include/dirent.h (__alloc_dir): Add flags parameter.
69713 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
69714 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
69715 __alloc_dir.
69716 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
69717 from fdopendir if O_CLOEXEC is already set.
69718
69719 2011-03-15 Alan Modra <amodra@gmail.com>
69720
69721 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
69722 l_tls_firstbyte_offset non-zero. Save padding offset in
69723 l_tls_firstbyte_offset for later use.
69724 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
69725 freeing static tls block.
69726
69727 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
69728
69729 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
69730 where #ifdef was intended. The intent is to prevent ARG_MAX from
69731 being defined by the kernel headers.
69732
69733 2011-05-07 Ulrich Drepper <drepper@gmail.com>
69734
69735 [BZ #12734]
69736 * resolv/resolv.h: Define RES_NOTLDQUERY.
69737 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
69738 no-tld-query and set RES_NOTLDQUERY.
69739 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
69740 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
69741 modern BIND to search name as TLD unless forbidden.
69742
69743 2011-05-07 Petr Baudis <pasky@suse.cz>
69744 Ulrich Drepper <drepper@gmail.com>
69745
69746 [BZ #12393]
69747 * elf/dl-load.c (fillin_rpath): Move trusted path check...
69748 (is_trusted_path): ...to here.
69749 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
69750 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
69751 using is_trusted_path_normalize() in setuid scripts.
69752
69753 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
69754
69755 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
69756 __BEGIN/__END_DECLS.
69757
69758 2011-05-06 Ulrich Drepper <drepper@gmail.com>
69759
69760 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
69761 NSS_STATUS_NOTFOUND if no record was found.
69762
69763 2011-05-05 Andreas Schwab <schwab@redhat.com>
69764
69765 * sunrpc/Makefile (headers): Add rpc/netdb.h.
69766 (headers-not-in-tirpc): Remove rpc/netdb.h
69767 * resolv/netdb.h: Revert last change.
69768
69769 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
69770
69771 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
69772 circular dependency between libgcc.a and libc.a.
69773
69774 2011-05-05 Andreas Schwab <schwab@redhat.com>
69775
69776 * resolv/netdb.h: Don't include <rpc/netdb.h>.
69777 * nis/Makefile: Don't install rpcsvc/*.
69778 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
69779 instead of <rpc/types.h>.
69780 (MAXHOSTNAMELEN): Define.
69781
69782 2011-05-03 Andreas Schwab <schwab@redhat.com>
69783
69784 * elf/ldconfig.c (add_dir): Don't crash on empty path.
69785
69786 2011-04-28 Maciej Babinski <mbabinski@google.com>
69787
69788 [BZ #12714]
69789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
69790 gethostbyname4_r when IPv6 results are possible.
69791
69792 2011-05-02 Ulrich Drepper <drepper@gmail.com>
69793
69794 [BZ #12723]
69795 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
69796 _PC_PIPE_BUF handling.
69797
69798 2011-04-30 Bruno Haible <bruno@clisp.org>
69799
69800 [BZ #12717]
69801 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
69802 * resolv/netdb.h (getnameinfo): Change type of flags parameter
69803 to 'int'.
69804 * inet/getnameinfo.c (getnameinfo): Likewise.
69805
69806 2011-04-29 Ulrich Drepper <drepper@gmail.com>
69807
69808 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
69809 to groups setting in database lookup.
69810 * nss/nsswitch.conf: Add initgroups entry.
69811
69812 2011-04-22 Ulrich Drepper <drepper@gmail.com>
69813
69814 [BZ #12685]
69815 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
69816 mode string.
69817 Patch by Eric Blake <eblake@redhat.com>.
69818
69819 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
69820
69821 * sunrpc/Makefile (need-export-routines): Add svc_run.
69822 (routines): Remove svc_run.
69823 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
69824 * sunrpc/clnt_perr.c (clnt_perrno): Export.
69825 * sunrpc/svc_run.c (svc_run): Likewise.
69826 * sunrpc/svc_udp.c (svcudp_create): Likewise.
69827
69828 2011-04-21 Ulrich Drepper <drepper@gmail.com>
69829
69830 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
69831 problem in reallocation in last patch.
69832
69833 2011-04-20 Ulrich Drepper <drepper@gmail.com>
69834
69835 * sunrpc/Makefile: Move inclusion of Rules.
69836
69837 2011-04-19 Ulrich Drepper <drepper@gmail.com>
69838
69839 * nss/nss_files/files-initgroups.c: New file.
69840 * nss/Makefile (libnss_files-routines): Add files-initgroups.
69841 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
69842 _nss_files_initgroups_dyn.
69843
69844 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
69845
69846 * elf/elf.h (R_ARM_IRELATIVE): Define.
69847
69848 2011-04-19 Ulrich Drepper <drepper@gmail.com>
69849
69850 * po/ru.po: Update from translation team.
69851
69852 2011-04-17 Ulrich Drepper <drepper@gmail.com>
69853
69854 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
69855 dependencies.
69856
69857 2011-02-06 Mike Frysinger <vapier@gentoo.org>
69858
69859 [BZ #12653]
69860 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
69861 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
69862 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69863 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69864 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69865
69866 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
69867
69868 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
69869 differing bytes.
69870 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69871 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69872 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69873
69874 2011-04-17 Ulrich Drepper <drepper@gmail.com>
69875
69876 [BZ #12420]
69877 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
69878 storing it.
69879 * stdlib/bug-getcontext.c: New file.
69880 * stdlib/Makefile: Add rules to build and run bug-getcontext.
69881
69882 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69883
69884 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
69885 instructions into .machine "z9-109".
69886 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
69887 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
69888
69889 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69890
69891 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
69892 between environment variables and auxiliary vector.
69893
69894 2011-04-16 Ulrich Drepper <drepper@gmail.com>
69895
69896 * Makefile: Add rules to build linkobj/libc.so.
69897 * include/libc-symbols.h: Define libc_hidden_nolink.
69898 * include/rpc/auth.h: Mark functions which are to be hidden.
69899 * include/rpc/auth_des.h: Likewise.
69900 * include/rpc/auth_unix.h: Likewise.
69901 * include/rpc/clnt.h: Likewise.
69902 * include/rpc/des_crypt.h: Likewise.
69903 * include/rpc/key_prot.h: Likewise.
69904 * include/rpc/pmap_clnt.h: Likewise.
69905 * include/rpc/pmap_prot.h: Likewise.
69906 * include/rpc/pmap_rmt.h: Likewise.
69907 * include/rpc/rpc_msg.h: Likewise.
69908 * include/rpc/svc.h: Likewise.
69909 * include/rpc/svc_auth.h: Likewise.
69910 * include/rpc/xdr.h: Likewise.
69911 * nis/Makefile: Link all DSOs against linkobj/libc.so.
69912 * nss/Makefile: Likewise.
69913 * sunrpc/Makefile: Don't install headers. Build library with normal
69914 entry points. Don't build rpcinfo. Link RPC tests appropriately.
69915 * sunrpc/auth_des.c: Hide exported symbols by default, export some
69916 for the compat linking library. Remove use of INTDEF/INTUSE.
69917 * sunrpc/auth_none.c: Likewise.
69918 * sunrpc/auth_unix.c: Likewise.
69919 * sunrpc/authdes_prot.c: Likewise.
69920 * sunrpc/authuxprot.c: Likewise.
69921 * sunrpc/clnt_gen.c: Likewise.
69922 * sunrpc/clnt_perr.c: Likewise.
69923 * sunrpc/clnt_raw.c: Likewise.
69924 * sunrpc/clnt_simp.c: Likewise.
69925 * sunrpc/clnt_tcp.c: Likewise.
69926 * sunrpc/clnt_udp.c: Likewise.
69927 * sunrpc/clnt_unix.c: Likewise.
69928 * sunrpc/des_crypt.c: Likewise.
69929 * sunrpc/des_soft.c: Likewise.
69930 * sunrpc/get_myaddr.c: Likewise.
69931 * sunrpc/key_call.c: Likewise.
69932 * sunrpc/key_prot.c: Likewise.
69933 * sunrpc/netname.c: Likewise.
69934 * sunrpc/pm_getmaps.c: Likewise.
69935 * sunrpc/pm_getport.c: Likewise.
69936 * sunrpc/pmap_clnt.c: Likewise.
69937 * sunrpc/pmap_prot.c: Likewise.
69938 * sunrpc/pmap_prot2.c: Likewise.
69939 * sunrpc/pmap_rmt.c: Likewise.
69940 * sunrpc/publickey.c: Likewise.
69941 * sunrpc/rpc_cmsg.c: Likewise.
69942 * sunrpc/rpc_common.c: Likewise.
69943 * sunrpc/rpc_dtable.c: Likewise.
69944 * sunrpc/rpc_prot.c: Likewise.
69945 * sunrpc/rpc_thread.c: Likewise.
69946 * sunrpc/rtime.c: Likewise.
69947 * sunrpc/svc.c: Likewise.
69948 * sunrpc/svc_auth.c: Likewise.
69949 * sunrpc/svc_authux.c: Likewise.
69950 * sunrpc/svc_raw.c: Likewise.
69951 * sunrpc/svc_run.c: Likewise.
69952 * sunrpc/svc_simple.c: Likewise.
69953 * sunrpc/svc_tcp.c: Likewise.
69954 * sunrpc/svc_udp.c: Likewise.
69955 * sunrpc/svc_unix.c: Likewise.
69956 * sunrpc/svcauth_des.c: Likewise.
69957 * sunrpc/xcrypt.c: Likewise.
69958 * sunrpc/xdr.c: Likewise.
69959 * sunrpc/xdr_array.c: Likewise.
69960 * sunrpc/xdr_float.c: Likewise.
69961 * sunrpc/xdr_intXX_t.c: Likewise.
69962 * sunrpc/xdr_mem.c: Likewise.
69963 * sunrpc/xdr_rec.c: Likewise.
69964 * sunrpc/xdr_ref.c: Likewise.
69965 * sunrpc/xdr_sizeof.c: Likewise.
69966 * sunrpc/xdr_stdio.c: Likewise.
69967
69968 2011-04-10 Ulrich Drepper <drepper@gmail.com>
69969
69970 [BZ #12650]
69971 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
69972 * sysdeps/ia64/dl-tls.h: Likewise.
69973 * sysdeps/powerpc/dl-tls.h: Likewise.
69974 * sysdeps/s390/dl-tls.h: Likewise.
69975 * sysdeps/sh/dl-tls.h: Likewise.
69976 * sysdeps/sparc/dl-tls.h: Likewise.
69977 * sysdeps/x86_64/dl-tls.h: Likewise.
69978 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
69979
69980 2011-03-14 Andreas Schwab <schwab@redhat.com>
69981
69982 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
69983 rpath element also skip the following colon.
69984 (expand_dynamic_string_token): Add is_path parameter and pass
69985 down to DL_DST_REQUIRED and _dl_dst_substitute.
69986 (decompose_rpath): Call expand_dynamic_string_token with
69987 non-zero is_path. Ignore empty rpaths.
69988 (_dl_map_object_from_fd): Call expand_dynamic_string_token
69989 with zero is_path.
69990
69991 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
69992
69993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69994 Make cancelable.
69995
69996 2011-04-09 Ulrich Drepper <drepper@gmail.com>
69997
69998 [BZ #12655]
69999 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
70000 Patch by Filipe David Manana <fdmanana@apache.org>.
70001
70002 2011-04-07 Andreas Schwab <schwab@redhat.com>
70003
70004 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
70005 Maintain aligned stack.
70006 (CHECK_RSP): Remove unused macro.
70007
70008 2011-04-03 Ulrich Drepper <drepper@gmail.com>
70009
70010 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
70011 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
70012
70013 2011-04-02 Ulrich Drepper <drepper@gmail.com>
70014
70015 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
70016
70017 * include/features.h: Mention __USE_XOPEN2K8 in comment.
70018
70019 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
70020
70021 [BZ #12518]
70022 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
70023 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
70024 * sysdeps/x86_64/memmove.c: New file.
70025 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
70026 (memcpy): Renamed to ...
70027 (__new_memcpy): This.
70028 (memcpy): Provide GLIBC_2_14 memcpy.
70029 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
70030 (memcpy): Provide GLIBC_2_2_5 memcpy.
70031
70032 2011-04-01 Ulrich Drepper <drepper@gmail.com>
70033
70034 [BZ #12631]
70035 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
70036
70037 2011-03-30 Andreas Schwab <schwab@redhat.com>
70038
70039 * misc/syncfs.c: New file.
70040 * misc/Makefile (routines): Add syncfs.
70041 * posix/unistd.h: Declare syncfs.
70042 * sysdeps/unix/syscalls.list: Add syncfs.
70043
70044 2011-04-01 Andreas Schwab <schwab@redhat.com>
70045
70046 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
70047 open_by_handle_at.
70048 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
70049 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70050 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70051 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70052 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70053 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
70054 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70055
70056 2011-04-01 Ulrich Drepper <drepper@gmail.com>
70057
70058 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
70059 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70060 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
70061 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70062 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70063 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70064 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70065
70066 * io/Makefile: Compile fallocate.c, fallocate64.c, and
70067 sync_file_range.c with -fexceptions.
70068 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
70069 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
70070 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
70071 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
70072 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
70073 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
70074 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
70075 sync_file_range as cancellation point
70076 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
70077 now a wrapper around __call_sync_file_range with cancellation handling.
70078 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
70079 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
70080 function name to __call_sync_file_range.
70081 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
70082 Add call_sync_file_range.
70083
70084 2011-04-01 Andreas Schwab <schwab@redhat.com>
70085
70086 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70087 bits/timex.h.
70088
70089 2011-04-01 Ulrich Drepper <drepper@gmail.com>
70090
70091 * iconv/iconv.h: Fix typo in comment.
70092 * io/fcntl.h: Likewise.
70093 * libio/stdio.h: Likewise.
70094 * posix/spawn.h: Likewise.
70095 * posix/unistd.h: Likewise.
70096 * stdlib/stdlib.h: Likewise.
70097 * time/time.h: Likewise.
70098 * wcsmbs/wchar.h: Likewise.
70099
70100 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
70101 open_by_handle): Add.
70102 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
70103 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
70104 Augment a few comments.
70105 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
70106 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70107 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
70108 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70109 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
70110 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
70111 open_by_handle.
70112
70113 * io/fcntl.h (AT_EMPTY_PATH): Define.
70114
70115 2011-03-30 Ulrich Drepper <drepper@gmail.com>
70116
70117 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
70118 * sysdeps/unix/sysv/linux/bits/time.h: New file.
70119 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
70120 to...
70121 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
70122 * Versions.def: Add GLIBC_2.14.
70123 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
70124 Export.
70125
70126 2011-03-22 Ulrich Drepper <drepper@gmail.com>
70127
70128 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
70129 round counter.
70130 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70131
70132 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
70133
70134 [BZ #12597]
70135 * string/test-strncmp.c (do_page_test): New function.
70136 (check2): Likewise.
70137 (test_main): Call check2.
70138 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
70139
70140 2011-03-20 Ulrich Drepper <drepper@gmail.com>
70141
70142 [BZ #12587]
70143 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
70144 Handle cache information in CPU leaf 4.
70145 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
70146
70147 2011-03-18 Ulrich Drepper <drepper@gmail.com>
70148
70149 [BZ #12583]
70150 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
70151 character representation.
70152 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
70153
70154 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
70155
70156 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
70157 END(__isnan) to END(__isnanf) to match function entry point/label
70158 EALIGN(__isnanf,...).
70159
70160 2011-03-10 Jakub Jelinek <jakub@redhat.com>
70161
70162 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
70163
70164 2011-03-10 Ulrich Drepper <drepper@gmail.com>
70165
70166 [BZ #12510]
70167 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
70168 copy from the symbol referenced in the relocation to initialize the
70169 used variable.
70170 Patch by Piotr Bury <pbury@goahead.com>.
70171 * elf/Makefile: Add rules to build and tst-unique3.
70172 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
70173 * elf/tst-unique3.cc: New file.
70174 * elf/tst-unique3.h: New file.
70175 * elf/tst-unique3lib.cc: New file.
70176 * elf/tst-unique3lib2.cc: New file.
70177
70178 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
70179
70180 2011-03-10 Mike Frysinger <vapier@gentoo.org>
70181
70182 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
70183 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
70184 to _start.
70185
70186 2011-03-06 Ulrich Drepper <drepper@gmail.com>
70187
70188 * elf/dl-load.c (_dl_map_object): If we are looking for the first
70189 to-be-loaded object along a path to loader is ld.so.
70190
70191 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
70192 Ulrich Drepper <drepper@gmail.com>
70193
70194 * sysdeps/x86_64/memset.S: After aligning destination, code
70195 branches to different locations depending on the value of
70196 misalignment, when multiarch is enabled. Fix this.
70197
70198 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
70199
70200 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
70201 Set _x86_64_preferred_memory_instruction for AMD processsors.
70202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70203 Set bit_Prefer_SSE_for_memop for AMD processors.
70204
70205 2011-03-04 Ulrich Drepper <drepper@gmail.com>
70206
70207 * libio/fmemopen.c (fmemopen): Optimize a bit.
70208
70209 2011-03-03 Andreas Schwab <schwab@redhat.com>
70210
70211 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
70212
70213 2011-03-03 Roland McGrath <roland@redhat.com>
70214
70215 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
70216
70217 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
70218
70219 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
70220 __bzero_ultra1 instead of __memset_ultra1.
70221
70222 2011-02-23 Andreas Schwab <schwab@redhat.com>
70223 Ulrich Drepper <drepper@gmail.com>
70224
70225 [BZ #12509]
70226 * include/link.h (struct link_map): Add l_orig_initfini.
70227 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
70228 returning unsuccessfully.
70229 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
70230 close of a file loaded at startup, restore the original l_initfini
70231 list.
70232 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
70233 list, store the pointer.
70234 * elf/Makefile ($(objpfx)noload-mem): New rule.
70235 (noload-ENV): Define.
70236 (tests): Add $(objpfx)noload-mem.
70237 * elf/noload.c: Include <memcheck.h>.
70238 (main): Call mtrace. Close all opened handles.
70239
70240 2011-02-17 Andreas Schwab <schwab@redhat.com>
70241
70242 [BZ #12454]
70243 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
70244 dependencies are missing.
70245
70246 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
70247
70248 Fix __if_freereq crash: Unlike the generic version which uses free,
70249 Hurd needs munmap.
70250 * sysdeps/mach/hurd/ifreq.h: New file.
70251
70252 2011-01-27 Petr Baudis <pasky@suse.cz>
70253 Ulrich Drepper <drepper@gmail.com>
70254
70255 [BZ 12445]#
70256 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
70257 to extend_alloca().
70258 * stdio-common/bug23.c: New file.
70259 * stdio-common/Makefile (tests): Add bug23.
70260
70261 2010-09-28 Andreas Schwab <schwab@redhat.com>
70262 Ulrich Drepper <drepper@gmail.com>
70263
70264 [BZ #12489]
70265 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
70266 before performing relro protection. At old place add assertion
70267 to make sure nothing changed.
70268
70269 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
70270 Glauber de Oliveira Costa <glommer@gmail.com>
70271
70272 * elf/elf.h: Add new ARM TLS relocs.
70273
70274 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
70275
70276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70277 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
70278 cast from r3.
70279 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
70280 'tests' variable.
70281 * sysdeps/wordsize-64/tst-writev.c: New file.
70282
70283 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
70284
70285 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
70286 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
70287 insns in _dl_start to prevent a TOC reference before relocs are
70288 resolved.
70289
70290 2011-02-15 Ulrich Drepper <drepper@gmail.com>
70291
70292 [BZ #12469]
70293 * Makeconfig: Remove RANLIB definition.
70294 * Makerules: Don't use RANLIB.
70295 * aclocal.m4: Remove ranlib test.
70296 * configure.in: No need to check for ranlib.
70297 * elf/rtld-Rules: Don't use RANLIB.
70298
70299 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
70300
70301 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
70302 protection macro.
70303 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
70304 inclusion protection macro.
70305
70306 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
70307 SIGRTMIN and SIGRTMAX and print information in that case only when
70308 SIGRTMIN is defined.
70309
70310 2011-02-11 Jakub Jelinek <jakub@redhat.com>
70311
70312 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
70313 arginfo fn returning -1.
70314
70315 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
70316 and thousands string is zero terminated.
70317
70318 2011-02-03 Andreas Schwab <schwab@redhat.com>
70319
70320 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
70321 sysdeps/unix/sysv/linux/bits/socket.h.
70322
70323 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
70324
70325 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
70326 (__CPU_COUNT): Remove old macros.
70327 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
70328 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
70329 (__CPU_ALLOC, __CPU_FREE): Add macros.
70330 (__sched_cpualloc, __sched_cpufree): Add declarations.
70331
70332 2011-02-05 Ulrich Drepper <drepper@gmail.com>
70333
70334 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
70335 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
70336 * nscd/aicache.c (addhstaiX): Return timeout of added value.
70337 (readdhstai): Return value of addhstaiX call.
70338 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
70339 (addgrbyX): Return value returned by cache_addgr.
70340 (readdgrbyname): Return value returned by addgrbyX.
70341 (readdgrbygid): Likewise.
70342 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
70343 (addpwbyX): Return value returned by cache_addpw.
70344 (readdpwbyname): Return value returned by addhstbyX.
70345 (readdpwbyuid): Likewise.
70346 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
70347 (addservbyX): Return value returned by cache_addserv.
70348 (readdservbyname): Return value returned by addservbyX:
70349 (readdservbyport): Likewise.
70350 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
70351 (addhstbyX): Return value returned by cache_addhst.
70352 (readdhstbyname): Return value returned by addhstbyX.
70353 (readdhstbyaddr): Likewise.
70354 (readdhstbynamev6): Likewise.
70355 (readdhstbyaddrv6): Likewise.
70356 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
70357 (readdinitgroups): Return value returned by addinitgroupsX.
70358 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
70359 (prune_cache): Keep track of timeout value of re-added entries.
70360 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
70361 * nscd/nscd.h: Adjust prototypes of readd* functions.
70362
70363 2011-02-04 Roland McGrath <roland@redhat.com>
70364
70365 * nis/nis_server.c (nis_servstate): Use the right name for 0.
70366 (nis_stats): Likewise.
70367 * nis/nis_modify.c (nis_modify): Likewise.
70368 * nis/nis_remove.c (nis_remove): Likewise.
70369 * nis/nis_add.c (nis_add): Likewise.
70370
70371 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
70372
70373 * posix/fnmatch_loop.c: Add some consts.
70374
70375 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
70376
70377 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
70378
70379 [BZ #12460]
70380 * config.make.in (config-cflags-novzeroupper): Define.
70381 * configure.in: Substitute libc_cv_cc_novzeroupper.
70382 * elf/Makefile (AVX-CFLAGS): Define.
70383 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
70384 (CFLAGS-tst-auditmod4a.c): Likewise.
70385 (CFLAGS-tst-auditmod4b.c): Likewise.
70386 (CFLAGS-tst-auditmod6b.c): Likewise.
70387 (CFLAGS-tst-auditmod6c.c): Likewise.
70388 (CFLAGS-tst-auditmod7b.c): Likewise.
70389 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
70390
70391 2011-02-02 Ulrich Drepper <drepper@gmail.com>
70392
70393 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
70394 function to the callback.
70395 Patch partly by Jiri Olsa <jolsa@redhat.com>.
70396
70397 2011-02-02 Andreas Schwab <schwab@redhat.com>
70398
70399 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
70400 of errno.
70401
70402 2011-01-19 Ulrich Drepper <drepper@gmail.com>
70403
70404 [BZ #11724]
70405 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
70406 of constructors.
70407 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
70408 of destructors.
70409 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
70410
70411 [BZ #11724]
70412 * elf/Makefile: Add rules to build and run new test.
70413 * elf/tst-initorder.c: New file.
70414 * elf/tst-initorder.exp: New file.
70415 * elf/tst-initordera1.c: New file.
70416 * elf/tst-initordera2.c: New file.
70417 * elf/tst-initordera3.c: New file.
70418 * elf/tst-initordera4.c: New file.
70419 * elf/tst-initorderb1.c: New file.
70420 * elf/tst-initorderb2.c: New file.
70421 * elf/tst-order-a1.c: New file.
70422 * elf/tst-order-a2.c: New file.
70423 * elf/tst-order-a3.c: New file.
70424 * elf/tst-order-a4.c: New file.
70425 * elf/tst-order-b1.c: New file.
70426 * elf/tst-order-b2.c: New file.
70427 * elf/tst-order-main.c: New file.
70428 New test case by George Gensure <werkt0@gmail.com>.
70429
70430 2010-10-01 Andreas Schwab <schwab@redhat.com>
70431
70432 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70433 decoding ACE if AI_CANONIDN.
70434
70435 2011-01-18 Ulrich Drepper <drepper@gmail.com>
70436
70437 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
70438
70439 2011-01-17 Ulrich Drepper <drepper@gmail.com>
70440
70441 * version.h (RELEASE): Bump for 2.13 release.
70442 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
70443
70444 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
70445
70446 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
70447 MADV_NOHUGEPAGE.
70448 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
70449 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70450 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70451 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70452 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70453 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70454
70455 * posix/getconf.c: Update copyright year.
70456 * catgets/gencat.c: Likewise.
70457 * csu/version.c: Likewise.
70458 * debug/catchsegv.sh: Likewise.
70459 * debug/xtrace.sh: Likewise.
70460 * elf/ldconfig.c: Likewise.
70461 * elf/ldd.bash.in: Likewise.
70462 * elf/sprof.c (print_version): Likewise.
70463 * iconv/iconv_prog.c: Likewise.
70464 * iconv/iconvconfig.c: Likewise.
70465 * locale/programs/locale.c: Likewise.
70466 * locale/programs/localedef.c: Likewise.
70467 * malloc/memusage.sh: Likewise.
70468 * malloc/mtrace.pl: Likewise.
70469 * nscd/nscd.c (print_version): Likewise.
70470 * nss/getent.c: Likewise.
70471
70472 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
70473 PF_CAIF, and PF_ALG.
70474 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70475
70476 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
70477
70478 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
70479 (modules-names): Use them.
70480 (ifunc-test-modules, ifunc-pie-tests): Define.
70481 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
70482 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
70483 (test-extras): Likewise.
70484 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
70485 $(compile-command.c).
70486 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
70487 (all-built-dso): Define.
70488 (check-textrel.out, check-execstack.out): Depend on it.
70489
70490 * configure.in: Don't override --enable-multi-arch.
70491
70492 2011-01-15 Ulrich Drepper <drepper@gmail.com>
70493
70494 [BZ #6812]
70495 * nscd/hstcache.c (tryagain): Define.
70496 (cache_addhst): Return tryagain not notfound for temporary errors.
70497 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
70498 failed.
70499
70500 2011-01-14 Ulrich Drepper <drepper@gmail.com>
70501
70502 [BZ #10563]
70503 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
70504 to make the syscall.
70505 * sysdeps/unix/sysv/linux/setgroups.c: New file.
70506
70507 [BZ #12378]
70508 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
70509 and fall back to matching as normal character if the string ends before
70510 the matching ']' is found. This is what POSIX requires.
70511 * posix/testfnm.c: Adjust test result.
70512 * posix/globtest.sh: Adjust test result. Add new test.
70513 * posix/tst-fnmatch.input: Likewise.
70514 * posix/tst-fnmatch2.c: Add new test.
70515
70516 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
70517
70518 * elf/Makefile (check-execstack): Revert last change. Depend on
70519 check-execstack.h.
70520 (check-execstack.h): New target.
70521 (generated): Add check-execstack.h.
70522 * elf/check-execstack.c: Include "check-execstack.h".
70523 (main): Revert last change.
70524 (handle_file): Return zero if GNU_STACK is absent and
70525 DEFAULT_STACK_PERMS doesn't include PF_X.
70526
70527 2011-01-13 Ulrich Drepper <drepper@gmail.com>
70528
70529 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
70530 in child fails because the descriptor is already closed.
70531 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
70532 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
70533 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
70534
70535 [BZ #12397]
70536 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
70537 syscall.
70538
70539 [BZ #10484]
70540 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
70541 temporary buffer used to handle multi lookups locally.
70542 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
70543
70544 2011-01-12 Ulrich Drepper <drepper@gmail.com>
70545
70546 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
70547 loader is ld.so.
70548
70549 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
70550
70551 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
70552 alignment for SSE2.
70553
70554 2011-01-12 Ulrich Drepper <drepper@gmail.com>
70555
70556 [BZ #12394]
70557 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
70558 characters. When rounding increased number of integer digits recompute
70559 number of groups.
70560 * stdio-common/tst-grouping.c: New file.
70561 * stdio-common/Makefile: Add rules to build and run tst-grouping.
70562
70563 2011-01-09 Ulrich Drepper <drepper@gmail.com>
70564
70565 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
70566 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
70567
70568 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
70569 void.
70570 * bits/select.h: Likewise.
70571
70572 2011-01-08 Ulrich Drepper <drepper@gmail.com>
70573
70574 * po/ja.po: Update from translation team.
70575
70576 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
70577
70578 [BZ #11155]
70579 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
70580 implementation just like for lxstat, fxstatat, et al.
70581
70582 2010-12-27 Jim Meyering <meyering@redhat.com>
70583
70584 [BZ #12348]
70585 * posix/regexec.c (build_trtable): Return failure indication upon
70586 calloc failure. Otherwise, re_search_internal could infloop on OOM.
70587
70588 2010-12-25 Ulrich Drepper <drepper@gmail.com>
70589
70590 [BZ #12201]
70591 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
70592 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
70593 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
70594 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
70595
70596 [BZ #12207]
70597 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
70598
70599 [BZ #12204]
70600 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
70601 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
70602
70603 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
70604
70605 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
70606 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
70607 script has SORT_BY_INIT_PRIORITY.
70608 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
70609 NO_CTORS_DTORS_SECTIONS is defined.
70610 * elf/soinit.c: Likewise.
70611 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
70612 NO_CTORS_DTORS_SECTIONS is defined.
70613 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
70614 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
70615 * sysdeps/sh/init-first.c: Likewise.
70616 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
70617
70618 2010-12-24 Ulrich Drepper <drepper@gmail.com>
70619
70620 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
70621 always use the slow path.
70622
70623 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
70624
70625 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
70626 similar rule which adds the sysdep directories to the header search in
70627 order to pick up the correct platform stackinfo.h.
70628 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
70629 perform test if it is, otherwise return successfully without testing.
70630 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
70631 DEFAULT_STACK_PERMS define in stackinfo.h.
70632 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
70633 defined in stackinfo.h.
70634 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
70635 DEFAULT_STACK_PERMS defined in stackinfo.h.
70636 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
70637 * sysdeps/ia64/stackinfo.h: Likewise.
70638 * sysdeps/s390/stackinfo.h: Likewise.
70639 * sysdeps/sh/stackinfo.h: Likewise.
70640 * sysdeps/sparc/stackinfo.h: Likewise.
70641 * sysdeps/x86_64/stackinfo.h: Likewise.
70642 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
70643 PF_X for powerpc64. Retain PF_X for powerpc32.
70644
70645 2010-12-19 Ulrich Drepper <drepper@gmail.com>
70646
70647 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
70648 accurately.
70649 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
70650 GETDENTS_64BIT_ALIGNED.
70651
70652 2010-12-14 Ulrich Drepper <dreper@gmail.com>
70653
70654 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
70655
70656 2010-12-10 Andreas Schwab <schwab@redhat.com>
70657
70658 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
70659 _GNU_SOURCE.
70660
70661 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
70662 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
70663 Remove __restrict.
70664 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
70665 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
70666
70667 2010-12-09 Ulrich Drepper <drepper@gmail.com>
70668
70669 [BZ #11655]
70670 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
70671 are initialized.
70672
70673 2010-12-09 Jakub Jelinek <jakub@redhat.com>
70674
70675 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
70676
70677 2010-12-03 Ulrich Drepper <drepper@gmail.com>
70678
70679 * po/it.po: Update from translation team.
70680
70681 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
70682
70683 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
70684 unused codes.
70685
70686 2010-11-30 Ulrich Drepper <drepper@gmail.com>
70687
70688 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
70689
70690 2010-11-24 Andreas Schwab <schwab@redhat.com>
70691
70692 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
70693 specially.
70694 (gaih_getanswer_slice): Likewise.
70695
70696 2010-10-20 Jakub Jelinek <jakub@redhat.com>
70697
70698 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
70699
70700 2010-05-31 Petr Baudis <pasky@suse.cz>
70701
70702 [BZ #11149]
70703 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
70704 silently even in the chroot mode.
70705
70706 2010-11-22 Ulrich Drepper <drepper@gmail.com>
70707
70708 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
70709 last patch a bit. Pretty printing
70710
70711 2010-05-31 Petr Baudis <pasky@suse.cz>
70712
70713 [BZ #10085]
70714 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
70715 initialization of skip_initgroups_dyn.
70716
70717 2010-11-19 Ulrich Drepper <drepper@gmail.com>
70718
70719 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
70720 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70721
70722 2010-11-16 Ulrich Drepper <drepper@gmail.com>
70723
70724 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
70725
70726 2010-11-11 Andreas Schwab <schwab@redhat.com>
70727
70728 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
70729 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
70730 (tst-fnmatch-ENV): Set MALLOC_TRACE.
70731 ($(objpfx)tst-fnmatch-mem): New rule.
70732 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
70733 * posix/tst-fnmatch.c (main): Call mtrace.
70734
70735 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
70736
70737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70738 Support Intel processor model 6 and model 0x2c.
70739
70740 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
70741
70742 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
70743 signed comparison.
70744
70745 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
70746
70747 [BZ #12205]
70748 * string/test-strncasecmp.c (check_result): New function.
70749 (do_one_test): Use it.
70750 (check1): New function.
70751 (test_main): Use it.
70752 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
70753 Support strcasecmp and strncasecmp.
70754
70755 2010-11-08 Ulrich Drepper <drepper@gmail.com>
70756
70757 [BZ #12194]
70758 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
70759 * sysdeps/x86_64/bits/byteswap.h: Likewise.
70760
70761 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
70762
70763 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
70764 IFUNC support.
70765 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70766 memset-x86-64.
70767 * sysdeps/x86_64/multiarch/bzero.S: New file.
70768 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
70769 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
70770 * sysdeps/x86_64/multiarch/memset.S: New file.
70771 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
70772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70773 Set bit_Prefer_SSE_for_memop for Intel processors.
70774 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
70775 Define.
70776 (index_Prefer_SSE_for_memop): Define.
70777 (HAS_PREFER_SSE_FOR_MEMOP): Define.
70778
70779 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
70780
70781 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
70782 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
70783
70784 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
70785
70786 [BZ #12191]
70787 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70788 (__x86_64_raw_data_cache_size_half): Likewise.
70789 (__x86_64_raw_shared_cache_size): Likewise.
70790 (__x86_64_raw_shared_cache_size_half): Likewise.
70791
70792 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70793 (__x86_64_raw_data_cache_size_half): Likewise.
70794 (__x86_64_raw_shared_cache_size): Likewise.
70795 (__x86_64_raw_shared_cache_size_half): Likewise.
70796 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
70797 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
70798 and __x86_64_raw_shared_cache_size_half. Round
70799 __x86_64_data_cache_size_half, __x86_64_data_cache_size
70800 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
70801 to multiple of 256 bytes.
70802
70803 2010-11-03 Ulrich Drepper <drepper@gmail.com>
70804
70805 [BZ #12167]
70806 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
70807 of inacessible symlinks. Verify result of symlink before returning it.
70808 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
70809 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
70810
70811 2010-10-28 Erich Ritz <erichritz@gmail.com>
70812
70813 * math/math.h (isinf): Fix typo in comment.
70814
70815 2010-11-01 Ulrich Drepper <drepper@gmail.com>
70816
70817 * po/da.po: Update from translation team.
70818
70819 2010-10-26 Ulrich Drepper <drepper@gmail.com>
70820
70821 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
70822 is added to the list.
70823
70824 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70825 Ulrich Drepper <drepper@gmail.com>
70826
70827 * elf/dl-object.c (_dl_new_object): Don't append the new object to
70828 the global list here. Move code to...
70829 (_dl_add_to_namespace_list): ...here. New function.
70830 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
70831 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
70832 * elf/dl-load.c (lose): Don't remove the element from the list.
70833 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
70834 (_dl_map_object): Likewise.
70835
70836 2010-10-25 Ulrich Drepper <drepper@gmail.com>
70837
70838 [BZ #12159]
70839 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
70840 into all bytes of SSE register.
70841 Patch by Richard Li <richardpku@gmail.com>.
70842
70843 2010-10-24 Ulrich Drepper <drepper@gmail.com>
70844
70845 [BZ #12140]
70846 * malloc/malloc.c (_int_free): Fill correct number of bytes when
70847 perturbing.
70848
70849 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
70850
70851 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
70852 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
70853 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
70854 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
70856 submachine.
70857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
70858
70859 2010-10-22 Andreas Schwab <schwab@redhat.com>
70860
70861 * include/dlfcn.h (__RTLD_SECURE): Define.
70862 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
70863 mode & __RTLD_SECURE instead.
70864 (open_path): Rename preloaded parameter to secure.
70865 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
70866 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
70867 * elf/dl-deps.c (openaux): Likewise.
70868 * elf/rtld.c (struct map_args): Remove is_preloaded.
70869 (map_doit): Don't use it.
70870 (dl_main): Likewise.
70871 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
70872 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
70873
70874 2010-09-09 Andreas Schwab <schwab@redhat.com>
70875
70876 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
70877 (sysd-rules-targets): Remove duplicates.
70878 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
70879 rtld-%.$o dependency.
70880
70881 2010-10-18 Andreas Schwab <schwab@redhat.com>
70882
70883 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
70884 _dl_map_object do it.
70885
70886 2010-10-19 Ulrich Drepper <drepper@gmail.com>
70887
70888 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
70889 fast fma builtins, define the macros in the C99 standard.
70890 (FP_FAST_FMAF): Likewise.
70891 (FP_FAST_FMAL): Likewise.
70892 * sysdeps/x86_64/bits/mathdef.h: Likewise.
70893
70894 * bits/mathdef.h: Update copyright year.
70895 * sysdeps/powerpc/bits/mathdef.h: Likewise.
70896
70897 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
70898
70899 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
70900 builtins, define the macros in the C99 standard.
70901 (FP_FAST_FMAF): Likewise.
70902 (FP_FAST_FMAL): Likewise.
70903 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
70904 multiply/add.
70905 (FP_FAST_FMAF): Likewise.
70906
70907 2010-10-15 Jakub Jelinek <jakub@redhat.com>
70908
70909 [BZ #3268]
70910 * math/libm-test.inc (fma_test): Some new testcases.
70911 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
70912 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
70913 y and infinite z. Do multiplication by C already in long double.
70914 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
70915 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
70916 y and infinite z. Do bitwise or of inexact bit into u.d.
70917 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
70918 * sysdeps/i386/fpu/s_fmaf.S: Removed.
70919 * sysdeps/i386/fpu/s_fma.S: Removed.
70920 * sysdeps/i386/fpu/s_fmal.S: Removed.
70921
70922 2010-10-16 Jakub Jelinek <jakub@redhat.com>
70923
70924 [BZ #3268]
70925 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
70926 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
70927 computation is not scheduled after fetestexcept. Fix value
70928 of minimum denormal long double.
70929
70930 2010-10-14 Jakub Jelinek <jakub@redhat.com>
70931
70932 [BZ #3268]
70933 * math/libm-test.inc (fma_test): Add some more tests.
70934 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
70935 correctly.
70936
70937 2010-10-15 Andreas Schwab <schwab@redhat.com>
70938
70939 * scripts/data/localplt-s390-linux-gnu.data: New file.
70940 * scripts/data/localplt-s390x-linux-gnu.data: New file.
70941
70942 2010-10-13 Jakub Jelinek <jakub@redhat.com>
70943
70944 [BZ #3268]
70945 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
70946 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
70947 instead of dbl-64.
70948 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
70949 inlines.
70950 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
70951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
70952 if one of x and y is very large and the other is subnormal.
70953 * sysdeps/s390/fpu/s_fmaf.c: New file.
70954 * sysdeps/s390/fpu/s_fma.c: New file.
70955 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
70956 * sysdeps/powerpc/fpu/s_fma.S: New file.
70957 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
70958 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
70959 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
70960
70961 2010-10-12 Jakub Jelinek <jakub@redhat.com>
70962
70963 [BZ #3268]
70964 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
70965 fma tests.
70966 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
70967 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
70968 * sysdeps/i386/i686/multiarch/s_fma.c: Include
70969 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
70970 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
70971 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
70972 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
70973
70974 2010-10-12 Ulrich Drepper <drepper@redhat.com>
70975
70976 [BZ #12078]
70977 * posix/regcomp.c (parse_branch): One more memory leak plugged.
70978 * posix/bug-regex31.input: Add test case.
70979
70980 2010-10-11 Ulrich Drepper <drepper@gmail.com>
70981
70982 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
70983 * posix/bug-regex31.input: New file.
70984
70985 [BZ #12078]
70986 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
70987 (parse_sub_exp): Fix last change, use postorder.
70988
70989 * posix/bug-regex31.c: New file.
70990 * posix/Makefile: Add rules to build and run bug-regex31.
70991
70992 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
70993
70994 [BZ #12078]
70995 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
70996
70997 [BZ #12108]
70998 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
70999 to have entries in sys_siglist.
71000
71001 [BZ #12093]
71002 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
71003 be NULL.
71004
71005 2010-10-07 Jakub Jelinek <jakub@redhat.com>
71006
71007 [BZ #3268]
71008 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
71009 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
71010 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
71011 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
71012 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
71013 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
71014 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
71015 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
71016 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
71017 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
71018 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
71019 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
71020 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
71021 * math/ftestexcept.c (fetestexcept): Likewise.
71022 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
71023 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
71024 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
71025 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
71026 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
71027 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
71028 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
71029
71030 2010-10-11 Ulrich Drepper <drepper@gmail.com>
71031
71032 [BZ #12107]
71033 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
71034 newline.
71035
71036 2010-10-06 Ulrich Drepper <drepper@gmail.com>
71037
71038 * string/bug-strstr1.c: New file.
71039 * string/Makefile: Add rules to build and run bug-strstr1.
71040
71041 2010-10-05 Eric Blake <eblake@redhat.com>
71042
71043 [BZ #12092]
71044 * string/str-two-way.h (two_way_long_needle): Always clear memory
71045 when skipping input due to the shift table.
71046
71047 2010-10-03 Ulrich Drepper <drepper@gmail.com>
71048
71049 [BZ #12005]
71050 * malloc/mcheck.c: Handle large requests.
71051
71052 [BZ #12077]
71053 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
71054 for strncmp and strncasecmp.
71055 * string/stratcliff.c: Add tests for strcmp and strncmp.
71056 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
71057
71058 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
71059
71060 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
71061 __set_fpscr.
71062
71063 2010-09-30 Andreas Jaeger <aj@suse.de>
71064
71065 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
71066 (CGROUP_SUPER_MAGIC): Define.
71067 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71068 Handle btrfs and cgroup file systems.
71069 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
71070 Likewise.
71071
71072 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
71073
71074 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
71075 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
71076
71077 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71078
71079 [BZ #12067]
71080 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
71081 trying to locate the ELF header.
71082
71083 2010-09-27 Andreas Schwab <schwab@redhat.com>
71084
71085 [BZ #11611]
71086 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
71087 Mask out sign-bit copies when constructing f_fsid.
71088
71089 2010-09-24 Petr Baudis <pasky@suse.cz>
71090
71091 * debug/stack_chk_fail_local.c: Add missing licence exception.
71092 * debug/warning-nop.c: Likewise.
71093
71094 2010-09-15 Joseph Myers <joseph@codesourcery.com>
71095
71096 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
71097 implementing getdents64 using getdents syscall, set d_type if
71098 __ASSUME_GETDENTS32_D_TYPE.
71099
71100 2010-09-16 Andreas Schwab <schwab@redhat.com>
71101
71102 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
71103 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
71104
71105 2010-09-21 Ulrich Drepper <drepper@redhat.com>
71106
71107 [BZ #12037]
71108 * posix/unistd.h: Undo change of feature selection for ftruncate from
71109 2010-01-11.
71110
71111 2010-09-20 Ulrich Drepper <drepper@redhat.com>
71112
71113 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
71114 detection.
71115
71116 2010-09-20 Andreas Schwab <schwab@redhat.com>
71117
71118 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
71119 fanotify_mark.
71120 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71121
71122 2010-09-14 Andreas Schwab <schwab@redhat.com>
71123
71124 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
71125 variables after CHECK_SP call.
71126 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
71127
71128 2010-09-13 Andreas Schwab <schwab@redhat.com>
71129 Ulrich Drepper <drepper@redhat.com>
71130
71131 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
71132 re-relocationg ld.so.
71133 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
71134 _dl_init_paths call.
71135 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
71136 here anymore.
71137
71138 2010-09-14 Ulrich Drepper <drepper@redhat.com>
71139
71140 * resolv/res_init.c (__res_vinit): Count the default server we added.
71141
71142 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
71143 Ulrich Drepper <drepper@redhat.com>
71144
71145 [BZ #11968]
71146 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71147 (____longjmp_chk): Use %ebx for saving value across system call.
71148 Add unwind info.
71149
71150 2010-09-06 Andreas Schwab <schwab@redhat.com>
71151
71152 * manual/Makefile: Don't mix pattern rules with normal rules.
71153
71154 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
71155
71156 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
71157 operation.
71158 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
71159 * libio/iofopncook.c (_IO_cookie_init): Likewise.
71160 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
71161 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
71162 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71163 Likewise.
71164
71165 2010-09-04 Ulrich Drepper <drepper@redhat.com>
71166
71167 [BZ #11979]
71168 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
71169 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
71170
71171 2010-09-02 Ulrich Drepper <drepper@redhat.com>
71172
71173 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
71174 * sysdeps/x86_64/addmul_1.S: Likewise.
71175 * sysdeps/x86_64/lshift.S: Likewise.
71176 * sysdeps/x86_64/mul_1.S: Likewise.
71177 * sysdeps/x86_64/rshift.S: Likewise.
71178 * sysdeps/x86_64/sub_n.S: Likewise.
71179 * sysdeps/x86_64/submul_1.S: Likewise.
71180
71181 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
71182
71183 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
71184 Define __sched_param instead of SCHED_* and sched_param when
71185 <bits/sched.h> is included with __need_schedparam defined.
71186 * bits/sched.h [__need_schedparam]
71187 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
71188 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
71189 (__defined_schedparam): Define to 1.
71190 (__sched_param): New structure, identical to sched_param.
71191 (__need_schedparam): Undefine.
71192
71193 2010-08-31 Mike Frysinger <vapier@gentoo.org>
71194
71195 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
71196 (epoll_create1): Declare.
71197
71198 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
71199
71200 2010-08-31 Andreas Schwab <schwab@redhat.com>
71201
71202 [BZ #7066]
71203 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
71204 shifting retval into place.
71205
71206 2010-09-01 Ulrich Drepper <drepper@redhat.com>
71207
71208 * nis/rpcsvc/nis.h: Update copyright notice.
71209 * nis/rpcsvc/nis.x: Likewise.
71210 * nis/rpcsvc/nis_callback.h: Likewise.
71211 * nis/rpcsvc/nis_callback.x: Likewise.
71212 * nis/rpcsvc/nis_object.x: Likewise.
71213 * nis/rpcsvc/nis_tags.h: Likewise.
71214 * nis/rpcsvc/yp.h: Likewise.
71215 * nis/rpcsvc/yp.x: Likewise.
71216 * nis/rpcsvc/ypupd.h: Likewise.
71217 * nis/yp_xdr.c: Likewise.
71218 * nis/ypupdate_xdr.c: Likewise.
71219
71220 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
71221 mainly the body of pmap_getport. Add parameters to specify timeouts.
71222 (pmap_getport): Use __libc_rpc_getport.
71223 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
71224 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
71225 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
71226
71227 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
71228
71229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
71230 fanotify_mark.
71231
71232 2010-08-27 Roland McGrath <roland@redhat.com>
71233
71234 * sysdeps/i386/i686/multiarch/Makefile
71235 (CFLAGS-varshift.c): New variable.
71236
71237 2010-08-27 Ulrich Drepper <drepper@redhat.com>
71238
71239 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
71240 * sysdeps/i386/i686/multiarch/varshift.c: New file.
71241
71242 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
71243
71244 * sysdeps/x86_64/strlen.S: Minimal code improvement.
71245
71246 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
71247
71248 * sysdeps/x86_64/strlen.S: Unroll the loop.
71249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71250 strlen-sse2 strlen-sse2-bsf.
71251 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
71252 __strlen_no_bsf if bit_Slow_BSF is set.
71253 (__strlen_sse42): Removed.
71254 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
71255 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
71256
71257 2010-08-25 Roland McGrath <roland@redhat.com>
71258
71259 * sysdeps/x86_64/multiarch/varshift.S: File removed.
71260 * sysdeps/x86_64/multiarch/varshift.c: New file.
71261 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
71262 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
71263 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
71264 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
71265
71266 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
71267
71268 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71269 strlen-sse2 strlen-sse2-bsf.
71270 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
71271 __strlen_sse2_bsf if bit_Slow_BSF is unset.
71272 (__strlen_sse2): Removed.
71273 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
71274 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
71275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
71276 bit_Slow_BSF for Atom.
71277 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
71278 (index_Slow_BSF): Define.
71279 (HAS_SLOW_BSF): Define.
71280
71281 2010-08-25 Ulrich Drepper <drepper@redhat.com>
71282
71283 [BZ #10851]
71284 * resolv/res_init.c (__res_vinit): When no server address at all
71285 is given default to loopback.
71286
71287 2010-08-24 Roland McGrath <roland@redhat.com>
71288
71289 * configure.in: Remove config-name.h generation.
71290 * configure: Regenerated.
71291 * config-name.in: File removed.
71292 * scripts/config-uname.sh: New file.
71293 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
71294 ($(objdir)config-name.h): New target.
71295
71296 * sunrpc/rpc_parse.h: Avoid nested comment.
71297
71298 2010-08-24 Richard Henderson <rth@redhat.com>
71299 Ulrich Drepper <drepper@redhat.com>
71300 H.J. Lu <hongjiu.lu@intel.com>
71301
71302 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
71303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
71304 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
71305 Replace _mm_srli_si128 with __m128i_shift_right. Replace
71306 _mm_alignr_epi8 with _mm_loadu_si128.
71307 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
71308 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
71309 (__m128i_shift_right): Removed.
71310 * sysdeps/i386/i686/multiarch/varshift.h: New file.
71311 * sysdeps/i386/i686/multiarch/varshift.S: New file.
71312 * sysdeps/x86_64/multiarch/varshift.h: New file.
71313 * sysdeps/x86_64/multiarch/varshift.S: New file.
71314
71315 2010-08-21 Mike Frysinger <vapier@gentoo.org>
71316
71317 * configure.in: Move assembler checks to before sysdep dir checking.
71318
71319 2010-08-20 Petr Baudis <pasky@suse.cz>
71320
71321 * LICENSES: Sync the sunrpc license.
71322
71323 2010-08-19 Ulrich Drepper <drepper@redhat.com>
71324
71325 * sunrpc/auth_des.c: Update copyright notice once again.
71326 * sunrpc/auth_none.c: Likewise.
71327 * sunrpc/auth_unix.c: Likewise.
71328 * sunrpc/authdes_prot.c: Likewise.
71329 * sunrpc/authuxprot.c: Likewise.
71330 * sunrpc/bindrsvprt.c: Likewise.
71331 * sunrpc/clnt_gen.c: Likewise.
71332 * sunrpc/clnt_perr.c: Likewise.
71333 * sunrpc/clnt_raw.c: Likewise.
71334 * sunrpc/clnt_simp.c: Likewise.
71335 * sunrpc/clnt_tcp.c: Likewise.
71336 * sunrpc/clnt_udp.c: Likewise.
71337 * sunrpc/clnt_unix.c: Likewise.
71338 * sunrpc/des_crypt.c: Likewise.
71339 * sunrpc/des_soft.c: Likewise.
71340 * sunrpc/get_myaddr.c: Likewise.
71341 * sunrpc/getrpcport.c: Likewise.
71342 * sunrpc/key_call.c: Likewise.
71343 * sunrpc/key_prot.c: Likewise.
71344 * sunrpc/openchild.c: Likewise.
71345 * sunrpc/pm_getmaps.c: Likewise.
71346 * sunrpc/pm_getport.c: Likewise.
71347 * sunrpc/pmap_clnt.c: Likewise.
71348 * sunrpc/pmap_prot.c: Likewise.
71349 * sunrpc/pmap_prot2.c: Likewise.
71350 * sunrpc/pmap_rmt.c: Likewise.
71351 * sunrpc/rpc/auth.h: Likewise.
71352 * sunrpc/rpc/auth_unix.h: Likewise.
71353 * sunrpc/rpc/clnt.h: Likewise.
71354 * sunrpc/rpc/des_crypt.h: Likewise.
71355 * sunrpc/rpc/key_prot.h: Likewise.
71356 * sunrpc/rpc/netdb.h: Likewise.
71357 * sunrpc/rpc/pmap_clnt.h: Likewise.
71358 * sunrpc/rpc/pmap_prot.h: Likewise.
71359 * sunrpc/rpc/pmap_rmt.h: Likewise.
71360 * sunrpc/rpc/rpc.h: Likewise.
71361 * sunrpc/rpc/rpc_des.h: Likewise.
71362 * sunrpc/rpc/rpc_msg.h: Likewise.
71363 * sunrpc/rpc/svc.h: Likewise.
71364 * sunrpc/rpc/svc_auth.h: Likewise.
71365 * sunrpc/rpc/types.h: Likewise.
71366 * sunrpc/rpc/xdr.h: Likewise.
71367 * sunrpc/rpc_clntout.c: Likewise.
71368 * sunrpc/rpc_cmsg.c: Likewise.
71369 * sunrpc/rpc_common.c: Likewise.
71370 * sunrpc/rpc_cout.c: Likewise.
71371 * sunrpc/rpc_dtable.c: Likewise.
71372 * sunrpc/rpc_hout.c: Likewise.
71373 * sunrpc/rpc_main.c: Likewise.
71374 * sunrpc/rpc_parse.c: Likewise.
71375 * sunrpc/rpc_parse.h: Likewise.
71376 * sunrpc/rpc_prot.c: Likewise.
71377 * sunrpc/rpc_sample.c: Likewise.
71378 * sunrpc/rpc_scan.c: Likewise.
71379 * sunrpc/rpc_scan.h: Likewise.
71380 * sunrpc/rpc_svcout.c: Likewise.
71381 * sunrpc/rpc_tblout.c: Likewise.
71382 * sunrpc/rpc_util.c: Likewise.
71383 * sunrpc/rpc_util.h: Likewise.
71384 * sunrpc/rpcinfo.c: Likewise.
71385 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
71386 * sunrpc/rpcsvc/key_prot.x: Likewise.
71387 * sunrpc/rpcsvc/klm_prot.x: Likewise.
71388 * sunrpc/rpcsvc/mount.x: Likewise.
71389 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
71390 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
71391 * sunrpc/rpcsvc/rex.x: Likewise.
71392 * sunrpc/rpcsvc/rstat.x: Likewise.
71393 * sunrpc/rpcsvc/rusers.x: Likewise.
71394 * sunrpc/rpcsvc/sm_inter.x: Likewise.
71395 * sunrpc/rpcsvc/spray.x: Likewise.
71396 * sunrpc/rpcsvc/yppasswd.x: Likewise.
71397 * sunrpc/rtime.c: Likewise.
71398 * sunrpc/svc.c: Likewise.
71399 * sunrpc/svc_auth.c: Likewise.
71400 * sunrpc/svc_authux.c: Likewise.
71401 * sunrpc/svc_raw.c: Likewise.
71402 * sunrpc/svc_run.c: Likewise.
71403 * sunrpc/svc_simple.c: Likewise.
71404 * sunrpc/svc_tcp.c: Likewise.
71405 * sunrpc/svc_udp.c: Likewise.
71406 * sunrpc/svc_unix.c: Likewise.
71407 * sunrpc/svcauth_des.c: Likewise.
71408 * sunrpc/xcrypt.c: Likewise.
71409 * sunrpc/xdr.c: Likewise.
71410 * sunrpc/xdr_array.c: Likewise.
71411 * sunrpc/xdr_float.c: Likewise.
71412 * sunrpc/xdr_mem.c: Likewise.
71413 * sunrpc/xdr_rec.c: Likewise.
71414 * sunrpc/xdr_ref.c: Likewise.
71415 * sunrpc/xdr_sizeof.c: Likewise.
71416 * sunrpc/xdr_stdio.c: Likewise.
71417
71418 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
71419 handling.
71420
71421 2010-08-19 Andreas Schwab <schwab@redhat.com>
71422
71423 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
71424
71425 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
71426
71427 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
71428 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
71429 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
71430 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
71431 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
71432 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
71433 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
71434 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
71435 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
71436 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
71437 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
71438 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
71439 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
71440 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
71441
71442 2010-07-26 Anton Blanchard <anton@samba.org>
71443
71444 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
71445 * malloc/arena.c (heap_trim): Likewise.
71446
71447 2010-08-16 Ulrich Drepper <drepper@redhat.com>
71448
71449 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
71450 here. Not...
71451 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
71452 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
71453
71454 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
71455
71456 * sysdeps/i386/elf/Makefile: New file.
71457
71458 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
71459
71460 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
71461 from fanotify_init.
71462 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
71463 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71464
71465 2010-08-15 Ulrich Drepper <drepper@redhat.com>
71466
71467 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
71468 of strncasecmp_l.
71469 * sysdeps/multiarch/strcmp.S: Likewise.
71470
71471 2010-08-14 Ulrich Drepper <drepper@redhat.com>
71472
71473 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71474 strncase_l-nonascii.
71475 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71476 Add strncase_l-ssse3.
71477 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
71478 * sysdeps/x86_64/strcmp.S: Likewise.
71479 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
71480 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
71481 * sysdeps/x86_64/strncase.S: New file.
71482 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
71483 * sysdeps/x86_64/strncase_l.S: New file.
71484 * string/Makefile (strop-tests): Add strncasecmp.
71485 * string/test-strncasecmp.c: New file.
71486
71487 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
71488 warning.
71489
71490 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
71491 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
71492
71493 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
71494
71495 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
71496
71497 2010-08-12 Ulrich Drepper <drepper@redhat.com>
71498
71499 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
71500 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
71501 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
71502
71503 2010-05-01 Alan Modra <amodra@gmail.com>
71504
71505 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
71506 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
71507 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
71508 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
71509 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
71510 tidying. Don't tail-call __sigjmp_save for static lib.
71511 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
71512 save location.
71513 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
71514 (CALL_MCOUNT): Add eh info, and nop after bl.
71515 (TAIL_CALL_SYSCALL_ERROR): New macro.
71516 (PSEUDO_RET): Use it.
71517 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
71518 Correct save location of integer regs and cr.
71519 (_dl_profile_resolve): Correct cr save location. Delete nops
71520 after bl when SHARED. Reduce cfi size a little by better
71521 placement of cfi directives.
71522 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
71523 make a stack frame. Instead use parm save area as a temp.
71524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
71525 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
71526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
71527 Don't make a stack frame for parent, use parm save area.
71528 Increase child stack frame to 112 bytes. Don't save unused reg,
71529 and adjust reg usage. Set up cfi on error recovery and
71530 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
71531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71532 (__makecontext): Add dummy nop after jump to exit.
71533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
71534 Use correct parm save area and cr save, reduce stack frame.
71535 Correct cfi for possible PSEUDO_RET frame setup.
71536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
71537 Branch to local label emitted by PSEUDO_RET rather than
71538 __syscall_error.
71539
71540 2010-08-12 Andreas Schwab <schwab@redhat.com>
71541
71542 [BZ #11904]
71543 * locale/programs/locale.c (print_assignment): New function.
71544 (show_locale_vars): Use it.
71545
71546 2010-08-11 Ulrich Drepper <drepper@redhat.com>
71547
71548 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
71549 field.
71550 (struct statfs64): Likewise.
71551 (_STATFS_F_FLAGS): Define.
71552 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
71553 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71554 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
71555 (ST_VALID): Define locally.
71556 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
71557 __statvfs_getflags, use the provided value.
71558 * sysdeps/unix/sysv/linux/kernel-features.h: Define
71559 __ASSUME_STATFS_F_FLAGS.
71560
71561 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
71562
71563 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
71564 Add sys/fanotify.h.
71565 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
71566 fanotify_mask for GLIBC_2.13.
71567 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
71568 fanotify_init and fanotify_mark.
71569 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71570 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
71571
71572 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
71573 Add prlimit.
71574 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
71575 prlimit64 for GLIBC_2.13.
71576 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
71577 prlimit64.
71578 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
71579 syscall.
71580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
71581 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71582 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
71583 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
71584 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
71585 add prlimit alias.
71586 * sysdeps/unix/sysv/linux/prlimit.c: New file.
71587
71588 [BZ #11903]
71589 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
71590 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
71591
71592 * nss/Makefile: Add rules to build and run tst-nss-test1.
71593 * shlib-versions: Add entry for libnss_test1.
71594 * nss/nss_test1.c: New file.
71595 * nss/tst-nss-test1.c: New file.
71596
71597 * nss/nsswitch.c (__nss_database_custom): Define new variable.
71598 (__nss_configure_lookup): Set appropriate entry in
71599 __nss_configure_lookup to true.
71600 * nss/nsswitch.h: Define enum with indeces of databases in
71601 databases and __nss_database_custom arrays. Declare
71602 __nss_database_custom.
71603 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
71604 to avoid using nscd when custom rules are installed.
71605 * nss/getXXbyYY_r.c: Likewise.
71606 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
71607
71608 * nss/nss_files/files-parse.c: Whitespace fixes.
71609
71610 2010-08-09 Ulrich Drepper <drepper@redhat.com>
71611
71612 [BZ #11883]
71613 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
71614 * posix/fnmatch_loop.c: Likewise.
71615
71616 2010-07-17 Andi Kleen <ak@linux.intel.com>
71617
71618 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
71619 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
71620 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
71621 * Versions.def [GLIBC_2.13]: Add.
71622
71623 2010-08-06 Ulrich Drepper <drepper@redhat.com>
71624
71625 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71626 Also fail if tpwd after pwuid call is NULL.
71627
71628 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
71629
71630 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
71631 when converting to ms.
71632
71633 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
71634
71635 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
71636 EOPNOTSUPP errors with ENOTTY.
71637 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
71638 EOPNOTSUPP errors with ENOTTY.
71639
71640 2010-07-31 Ulrich Drepper <drepper@redhat.com>
71641
71642 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71643 Add strcasecmp_l-ssse3.
71644 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
71645 strcasecmp.
71646 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
71647 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
71648 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
71649
71650 2010-07-30 Ulrich Drepper <drepper@redhat.com>
71651
71652 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
71653
71654 * string/Makefile (strop-tests): Add strcasecmp.
71655 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71656 strcasecmp_l-nonascii.
71657 (gen-as-const-headers): Add locale-defines.sym.
71658 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
71659 * sysdeps/x86_64/strcasecmp.S: New file.
71660 * sysdeps/x86_64/strcasecmp_l.S: New file.
71661 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
71662 * sysdeps/x86_64/locale-defines.sym: New file.
71663 * string/test-strcasecmp.c: New file.
71664
71665 * string/test-strcasestr.c: Test both ends of the range of characters.
71666 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
71667
71668 2010-07-29 Roland McGrath <roland@redhat.com>
71669
71670 [BZ #11856]
71671 * manual/locale.texi (Yes-or-No Questions): Fix example code.
71672
71673 2010-07-27 Ulrich Drepper <drepper@redhat.com>
71674
71675 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
71676 for ld.so.
71677
71678 2010-07-27 Andreas Schwab <schwab@redhat.com>
71679
71680 * manual/memory.texi (Malloc Tunable Parameters): Document
71681 M_PERTURB.
71682
71683 2010-07-26 Roland McGrath <roland@redhat.com>
71684
71685 [BZ #11840]
71686 * configure.in (-fgnu89-inline check): Set and substitute
71687 gnu89_inline, not libc_cv_gnu89_inline.
71688 * configure: Regenerated.
71689 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
71690
71691 2010-07-26 Ulrich Drepper <drepper@redhat.com>
71692
71693 * string/test-strnlen.c: New file.
71694 * string/Makefile (strop-tests): Add strnlen.
71695 * string/tester.c (test_strnlen): Add a few more test cases.
71696 * string/tst-strlen.c: Better error reporting.
71697
71698 * sysdeps/x86_64/strnlen.S: New file.
71699
71700 2010-07-24 Ulrich Drepper <drepper@redhat.com>
71701
71702 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
71703 lower-latency instructions.
71704
71705 2010-07-23 Ulrich Drepper <drepper@redhat.com>
71706
71707 * string/test-strcasestr.c: New file.
71708 * string/test-strstr.c: New file.
71709 * string/Makefile (strop-tests): Add strstr and strcasestr.
71710 * string/str-two-way.h: Don't undefine MAX.
71711 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
71712
71713 2010-07-21 Andreas Schwab <schwab@redhat.com>
71714
71715 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71716 strcasestr-nonascii.
71717 (CFLAGS-strcasestr-nonascii.c): Define.
71718 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
71719 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
71720 Remove unused attribute.
71721
71722 2010-07-20 Roland McGrath <roland@redhat.com>
71723
71724 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
71725 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
71726 ld.so.cache was broken. With it, there is no way to disable dsocaps
71727 like LD_HWCAP_MASK can disable hwcaps.
71728
71729 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
71730
71731 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
71732
71733 2010-07-16 Ulrich Drepper <drepper@redhat.com>
71734
71735 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
71736 call in strcasestr.
71737 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
71738 __strcasestr_sse42_nonascii.
71739 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
71740 strcasestr-nonascii.c.
71741 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
71742
71743 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
71744
71745 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
71746 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
71747 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
71748 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
71749
71750 2010-07-09 Ulrich Drepper <drepper@redhat.com>
71751
71752 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
71753 fcntl.
71754
71755 2010-07-06 Andreas Schwab <schwab@redhat.com>
71756
71757 [BZ #11577]
71758 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
71759 dl_signal_cerror.
71760
71761 2010-07-06 Ulrich Drepper <drepper@redhat.com>
71762
71763 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
71764 _PC_PIPE_BUF using F_GETPIPE_SZ.
71765
71766 2010-07-05 Roland McGrath <roland@redhat.com>
71767
71768 * manual/arith.texi (Rounding Functions): Fix rint description
71769 implicit in round description.
71770
71771 2010-07-02 Ulrich Drepper <drepper@redhat.com>
71772
71773 * elf/Makefile: Fix linking for a few tests to make recent linker
71774 happy.
71775
71776 2010-06-30 Andreas Schwab <schwab@redhat.com>
71777
71778 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71779 $(common-objpfx)libc_nonshared.a.
71780
71781 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
71782
71783 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
71784 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
71785 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71786 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71787 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
71788 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
71789 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71790 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
71792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
71793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
71794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
71796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
71798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
71799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
71800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
71801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
71803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
71805 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
71806 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
71807 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
71808 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
71809 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
71810 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
71811 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
71812 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
71813 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
71814 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
71815 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
71816 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
71817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
71818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
71819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
71820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
71821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
71822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
71823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
71824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
71825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
71826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
71827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
71828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
71829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
71830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
71831
71832 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
71833
71834 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
71835 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
71836 * string/memmove.c (memmove): Renamed to ...
71837 (MEMMOVE): ...this. Default to memmove.
71838 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
71839 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
71840 (END_CHK): Define.
71841 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71842 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
71843 mempcpy-ssse3-back memmove-ssse3-back.
71844 * sysdeps/x86_64/multiarch/bcopy.S: New file .
71845 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
71846 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
71847 * sysdeps/x86_64/multiarch/memcpy.S: New file.
71848 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
71849 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
71850 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
71851 * sysdeps/x86_64/multiarch/memmove.c: New file.
71852 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
71853 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
71854 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
71855 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
71856 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
71857 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
71858 Define.
71859 (index_Fast_Copy_Backward): Define.
71860 (HAS_ARCH_FEATURE): Define.
71861 (HAS_FAST_REP_STRING): Define.
71862 (HAS_FAST_COPY_BACKWARD): Define.
71863
71864 2010-06-21 Andreas Schwab <schwab@redhat.com>
71865
71866 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71867 Restore proper fallback handling.
71868
71869 2010-06-19 Ulrich Drepper <drepper@redhat.com>
71870
71871 [BZ #11701]
71872 * posix/group_member.c (__group_member): Correct checking loop.
71873
71874 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
71875 OOM in getpwuid_r correctly. Return error number when the caller
71876 should return, otherwise -1.
71877 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
71878 call returning > 0 value.
71879 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
71880
71881 2010-06-07 Andreas Schwab <schwab@redhat.com>
71882
71883 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
71884 libc_nonshared.a from targets in modules-names.
71885
71886 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
71887
71888 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
71889 requires it.
71890
71891 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
71892
71893 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
71894 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
71895 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
71896 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
71897
71898 2010-06-02 Andreas Schwab <schwab@redhat.com>
71899
71900 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
71901
71902 2010-06-14 Ulrich Drepper <drepper@redhat.com>
71903
71904 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
71905 and F_GETPIPE_SZ.
71906 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71907 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71908 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71909 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71910 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71911 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
71912
71913 2010-06-14 Roland McGrath <roland@redhat.com>
71914
71915 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
71916
71917 2010-06-07 Jakub Jelinek <jakub@redhat.com>
71918
71919 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
71920 __REDIRECT followed by __THROW.
71921 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
71922 * posix/getopt.h (getopt): Likewise.
71923
71924 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
71925
71926 * hurd/lookup-at.c (__file_name_lookup_at): Accept
71927 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
71928 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
71929 in AT_FLAGS.
71930 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
71931 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
71932
71933 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
71934
71935 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
71936
71937 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
71938
71939 [BZ #11640]
71940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71941 Properly check family and model.
71942
71943 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
71944
71945 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
71946
71947 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
71948
71949 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
71950
71951 2010-05-21 Ulrich Drepper <drepper@redhat.com>
71952
71953 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
71954 symbol reference.
71955
71956 2010-05-19 Andreas Schwab <schwab@redhat.com>
71957
71958 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
71959 symbol reference.
71960
71961 2010-05-21 Andreas Schwab <schwab@redhat.com>
71962
71963 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
71964 and internal_recvmmsg.
71965 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
71966 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
71967 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
71968 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
71969
71970 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
71971 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71972 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71973
71974 2010-05-20 Andreas Schwab <schwab@redhat.com>
71975
71976 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
71977
71978 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
71979
71980 POWER7 optimizations.
71981 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
71982 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
71983
71984 2010-05-19 Ulrich Drepper <drepper@redhat.com>
71985
71986 * version.h: Update for 2.13 development version.
71987
71988 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
71989
71990 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
71991 exceptions. Return 0.
71992
71993 2010-05-07 Roland McGrath <roland@redhat.com>
71994
71995 * elf/ldconfig.c (main): Add a const.
71996
71997 2010-05-06 Ulrich Drepper <drepper@redhat.com>
71998
71999 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
72000 (args_options): Add no-idn option.
72001 (ahosts_keys_int): Add idn_flags to ai_flags.
72002 (parse_option): Handle 'i' option to clear idn_flags.
72003
72004 * malloc/malloc.c (_int_free): Possible race in the most recently
72005 added check. Only act on the data if no current modification
72006 happened.
72007
72008 See ChangeLog.17 for earlier changes.