]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
This patch renames all uses of __isinf*, __isnan*, __finite* and __signbit* to use...
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d81f90cc
WD
12015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2
3 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4 __signbit* with standard C99 macros.
5 * math/e_exp10l.c: Likewise.
6 * math/e_exp2l.c: Likewise.
7 * math/e_scalb.c: Likewise.
8 * math/e_scalbf.c: Likewise.
9 * math/e_scalbl.c: Likewise.
10 * math/s_ldexp.c: Likewise.
11 * math/s_ldexpf.c: Likewise.
12 * math/s_ldexpl.c: Likewise.
13 * math/w_atan2.c: Likewise.
14 * math/w_atan2f.c: Likewise.
15 * math/w_atan2l.c: Likewise.
16 * math/w_cosh.c: Likewise.
17 * math/w_coshf.c: Likewise.
18 * math/w_coshl.c: Likewise.
19 * math/w_exp10.c: Likewise.
20 * math/w_exp10f.c: Likewise.
21 * math/w_exp10l.c: Likewise.
22 * math/w_exp2.c: Likewise.
23 * math/w_exp2f.c: Likewise.
24 * math/w_exp2l.c: Likewise.
25 * math/w_fmod.c: Likewise.
26 * math/w_fmodf.c: Likewise.
27 * math/w_fmodl.c: Likewise.
28 * math/w_hypot.c: Likewise.
29 * math/w_hypotf.c: Likewise.
30 * math/w_hypotl.c: Likewise.
31 * math/w_jnl.c: Likewise.
32 * math/w_lgamma.c: Likewise.
33 * math/w_lgamma_r.c: Likewise.
34 * math/w_lgammaf.c: Likewise.
35 * math/w_lgammaf_r.c: Likewise.
36 * math/w_lgammal.c: Likewise.
37 * math/w_lgammal_r.c: Likewise.
38 * math/w_pow.c: Likewise.
39 * math/w_powf.c: Likewise.
40 * math/w_powl.c: Likewise.
41 * math/w_remainder.c: Likewise.
42 * math/w_remainderf.c: Likewise.
43 * math/w_remainderl.c: Likewise.
44 * math/w_scalb.c: Likewise.
45 * math/w_scalbf.c: Likewise.
46 * math/w_scalbl.c: Likewise.
47 * math/w_scalbln.c: Likewise.
48 * math/w_scalblnf.c: Likewise.
49 * math/w_scalblnl.c: Likewise.
50 * math/w_sinh.c: Likewise.
51 * math/w_sinhf.c: Likewise.
52 * math/w_sinhl.c: Likewise.
53 * math/w_tgamma.c: Likewise.
54 * math/w_tgammaf.c: Likewise.
55 * math/w_tgammal.c: Likewise.
56 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
58 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
63 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
64 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
68 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
69 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
74 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
78 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
79 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
81 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
82 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
83 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
87 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
88 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
89 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
90 * stdio-common/printf_fp.c: Likewise.
91 * stdio-common/printf_fphex.c: Likewise.
92 * stdio-common/printf_size.c: Likewise.
93
aca6ea65
JM
942015-06-03 Joseph Myers <joseph@codesourcery.com>
95
f014e87e
JM
96 [BZ #18470]
97 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
98 strnlen.
99 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
100 Remove variable.
101 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
102 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
103 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
104 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
105 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
106 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
107 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
108 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
109 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
110 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
111
aca6ea65
JM
112 [BZ #18468]
113 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
114 weak alias of __wmemchr. Use libc_hidden_weak.
115 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
116 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
117 instead of wmemchr.
118
1a1a6bde
RM
1192015-06-02 Roland McGrath <roland@hack.frob.com>
120
121 [BZ #18383]
122 * elf/tst-tlsalign-extern.c: New file.
123 * elf/tst-tlsalign-extern-static.c: New file.
124 * elf/tst-tlsalign-vars.c: New file.
125 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
126 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
127 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
128 ($(objpfx)tst-tlsalign-extern-static): Likewise.
129 (test-xfail-tst-tlsalign-extern-static): New variable.
130
bb4acb52
JM
1312015-06-02 Joseph Myers <joseph@codesourcery.com>
132
e0c349b4
JM
133 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
134 Use variable name _sc_err instead of err.
135 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
136 instead of ret.
137 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
138 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
139 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
140 (INLINE_SYSCALL): Likewise.
141
17696087
JM
142 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
143 * include/string.h (__strnlen): Use libc_hidden_proto.
144 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
145 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
146 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
147 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
148 (libc_hidden_def): Undefine and redefine.
149 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
150 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
151 __GI_strnlen.
152 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
153 libc_hidden_def.
154 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
155
bb4acb52
JM
156 [BZ #18469]
157 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
158 weak alias of __towlower. Use libc_hidden_weak.
159 (towupper): Rename to __towupper and define as weak alias of
160 __towupper. Use libc_hidden_weak.
161 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
162 (__towupper): Likewise.
163 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
164 __towlower instead of towlower.
165
6cfae52e
RM
1662015-06-02 Roland McGrath <roland@hack.frob.com>
167
168 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
169 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
170
71bf272d
WD
1712015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
172
173 * sysdeps/aarch64/libm-test-ulps: Update.
174
1395ef21
AZ
1752015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
176
177 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
178 Define.
179 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
180 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
181 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
182 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
183 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
184 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
185 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
186
44c92499 1872015-06-01 Martin Sebor <msebor@redhat.com>
db8fed87
MS
188
189 [BZ #18116]
44c92499
AZ
190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
191 (__setcontext): Use extended four-operand version of mtsf whenever
db8fed87 192 possible.
44c92499
AZ
193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
194 (__novec_swapcontext): Likewise.
db8fed87 195
0994b9b6
SP
1962015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
197
0cd28286
SP
198 * benchtests/scripts/compare_bench.py: New file.
199 * benchtests/scripts/import_bench.py (mean): New function.
200 (split_list): Likewise.
201 (do_for_all_timings): Likewise.
202 (compress_timings): Likewise.
203
0994b9b6
SP
204 * benchtests/scripts/import_bench.py: New file.
205 * benchtests/scripts/validate_benchout.py: Import import_bench
206 instead of jsonschema.
207 (validate_bench): Remove function.
208 (main): Use import_bench.
209
2483fa85
SE
2102015-06-01 Steve Ellcey <sellcey@imgtec.com>
211
212 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
213 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
214
fd57d826
AZ
2152015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
216
217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
218
f2175470
RM
2192015-05-28 Roland McGrath <roland@hack.frob.com>
220
3ed01512
RM
221 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
222 set THREAD_SELF->tid to a magic value and futex-wake it.
223 Pass its address to the thread_exit system call.
224 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
225 bit is clear.
226 * sysdeps/nacl/lowlevellock.h: New file.
227 * sysdeps/nacl/lll_timedwait_tid.c: New file.
228
f2175470
RM
229 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
230 Add TIMEOUT to current time, don't subtract it.
231
58007e9e
L
2322015-05-28 H.J. Lu <hongjiu.lu@intel.com>
233
234 [BZ #18422]
235 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
236 ($(objpfx)tst-audit2.out): Also depend on
237 $(objpfx)tst-auditmod9b.so.
238 * elf/tst-audit2.c: Include <dlfcn.h>.
239 (calloc_called): New.
240 (calloc): Allow to be called more than once.
241 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
242
be2e25bb
WD
2432015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
244
245 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
246 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
247
d28311a1
MM
2482015-05-27 Marko Myllynen <myllynen@redhat.com>
249
250 * stdlib/monetary.h: Fix comment.
251
18270599
CM
2522015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
253
254 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
255 Avoid using variables in #defines that might cause shadowing.
256 (INTERNAL_VSYSCALL_CALL): Likewise.
257
68c97aef
RM
2582015-05-26 Roland McGrath <roland@hack.frob.com>
259
1f3a37b1
RM
260 * sysdeps/nacl/lll_timedlock_wait.c: New file.
261
68c97aef
RM
262 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
263 * nptl/lll_timedlock_wait.c: ... to this new file.
264 * nptl/Makefile (libpthread-routines): Add it.
265 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
266 * nptl/lll_timedwait_tid.c: ... to this new file.
267 * nptl/Makefile (libpthread-routines): Add it.
268 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
269 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
270 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
271 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
272 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
273 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
274 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
275 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
276 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
277 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
278
97554e43
AZ
2792015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
280
281 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
282 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
283 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
284 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
285 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
286 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
287 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
288 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
289 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
290 * sysdeps/unix/sysv/linux/tile/sysdep.h
291 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
292 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
293 using vDSO syscall macro.
294
6afb9c01
AR
2952015-05-26 Andriy Rysin <arysin@gmail.com>
296
297 [BZ #17293]
298 * uk_UA: Fix sorting order for Ukrainian locale
299
f09b8615
SP
3002015-05-26 Marko Myllynen <myllynen@redhat.com>
301
302 * stdlib/monetary.h: Fix comment.
303
a06b40cd
SN
3042015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
305
306 [BZ #18234]
307 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
308 st_mtim and st_ctim members.
309 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
310 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
311 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
312 (struct stat64): Likewise.
313 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
314 (struct stat64): Likewise.
315 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
316 (struct stat64): Likewise.
317
f534255e
AZ
3182015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
319
320 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
321 Define and include sysdep-vdso.h.
322 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
323 Likewise.
324 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
325 Likewise.
326 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
327 Define with VDSO_SYMBOL and use PTR_MANGLE.
328 (__vdso_clock_gettime): Likewise.
329 (__vdso_clock_getres): Likewise.
330 (_libc_vdso_platform_setup): Likewise.
331 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
332 Likewise.
333 (_libc_vdso_platform_setup): Likewise.
334 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
335 Likewise.
336 (__vdso_clock_gettime): Likewise.
337 (__vdso_clock_getres): Likewise.
338 (__vdso_get_tbfreq): Likewise.
339 (__vdso_getcpu): Likewise.
340 (__vdso_time): Likewise.
341 (__vdso_sigtramp_rt64): Likewise.
342 (__vdso_signtramp32): Likewise.
343 (__vdso_sigtramp_rt32): Likewise.
344 (_libc_vdso_platform_setup): Likewise.
345 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
346 Likewise.
347 (__vdso_clock_gettime): Likewise.
348 (__vdso_clock_getres): Likewise.
349 (_libc_vdso_platform_setup): Likewise.
350 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
351 Likewise.
352 (__vdso_clock_gettime): Likewise.
353 (_libc_vdso_platform_setup): Likewise.
354 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
355 Likewise.
356 (__vdso_getcpu): Likewise.
357 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
358 Use VDSO_SYMBOL macro to define.
359 (__vdso_clock_gettime): Likewise.
360 (__vdso_clock_getres): Likewise.
361 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
362 Likewise.
363 (__vdso_clock_gettime): Likewise.
364 (__vdso_clock_getres): Likewise.
365 (__vdso_get_tbfreq): Likewise.
366 (__vdso_getcpu): Likewise.
367 (__vdso_time): Likewise.
368 (__vdso_sigtramp_rt64): Likewise.
369 (__vdso_signtramp32): Likewise.
370 (__vdso_sigtramp_rt32): Likewise.
371 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
372 Likewise.
373 (__vdso_clock_gettime): Likewise.
374 (__vdso_clock_getres): Likewise.
375 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
376 Likewise.
377 (__vdso_clock_gettime): Likewise.
378 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
379 Likewise.
380 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
381 macro.
382 (INTERNAL_VSYSCALL): Likewise.
383 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
384 Remove macro.
385 (INTERNAL_VSYSCALL): Likewise.
386 (INTERNAL_VSYSCALL_NCS): Likewise.
387 (INTERNAL_VSYSCALL_CALL): New macro.
388 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
389 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
390 Likewise.
391 (INTERNAL_VSYSCALL): Likewise.
392 (INTERNAL_VSYSCALL_NCS): Likewise.
393 (INTERNAL_VSYSCALL_CALL): New macro.
394 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
396 (INLINE_VSYSCALL): Remove macro.
397 (INTERNAL_VSYSCALL): Remove macro.
398 (INTERNAL_VSYSCALL_NCS): Remove macro.
399 (INTERNAL_VSYSCALL_CALL): New macro.
400 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
401 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
402 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
403 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
404 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
406 (INLINE_VSYSCALL): Remove macro.
407 (INTERNAL_VSYSCALL): Likewise.
408 (INTERNAL_VSYSCALL_NCS): Likewise.
409 (INTERNAL_VSYSCALL_CALL): New macro.
410 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
411 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
412 PTR_DEMANGLE on vDSO pointer.
413 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
414 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
415 macro.
416 (INTERNAL_SYSCALL): Likewise.
417 (INTERNAL_VSYSCALL_NCS): Remove macro.
418 (INTERNAL_VSYSCALL_CALL): New macro.
419 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
420 Remove macro.
421 (INTERNAL_VSYSCALL): Likewise.
422 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
423 sysdep-vdso.h instead of libc-vdso.h.
424 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
425 definition.
426 (INLINE_VSYSCALL): Likewise.
427 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
428 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
429 definition.
430 (INLINE_VSYSCALL): Likewise.
431 (INTERNAL_VSYSCALL): Likewise.
432 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
433 * sysdeps/unix/sysv/linux/timespec_get.c
434 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
435 (timespec_get): Use ANSI prototype.
436 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
437 and definition for Linux.
438
829a679f
AS
4392015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
440
441 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
442 * include/libc-symbols.h: libmvec_hidden_* macro series added.
443
3e058c9d
L
4442015-05-22 H.J. Lu <hongjiu.lu@intel.com>
445
446 [BZ #18410]
447 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
448 for missing DT_PLTRELSZ.
449
333e1ba4
PE
4502015-05-22 Paul Eggert <eggert@cs.ucla.edu>
451
452 Remove obsolete aliases that broke 'locale -a'
453 [BZ #18412]
454 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
455 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
456 breaking some applications that use 'locale -a' output.
457 Change the encoding of this file from Latin-1 to ASCII to avoid
458 other potential problems with people grepping this file.
459
60dce8b9
AZ
4602015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
461
462 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
463 -fasynchronous-unwind-tables.
464 (CFLAGS-sendto.c): Likewise.
465 (CFLAGS-sendmsg.c): Likewise.
466 (CFLAGS-connect.c): Likewise.
467 (CFLAGS-recvmsg.c): Likewise.
468 (CFLAGS-recvfrom.c): Likewise.
469 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
470 (SOCKETCALL): New macro: non-cancellable socketcall.
471 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
472 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
473 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
474 * sysdeps/unix/sysv/linux/accept.c: New file.
475 * sysdeps/unix/sysv/linux/bind.c: Likewise.
476 * sysdeps/unix/sysv/linux/connect.c: Likewise.
477 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
478 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
479 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
480 * sysdeps/unix/sysv/linux/listen.c: Likewise.
481 * sysdeps/unix/sysv/linux/recv.c: Likewise.
482 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
483 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
484 * sysdeps/unix/sysv/linux/send.c: Likewise.
485 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
486 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
487 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
488 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
489 * sysdeps/unix/sysv/linux/socket.c: Likewise.
490 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
491 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
492 prototype.
493 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
494 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
495 instead of __internal_xxx function.
496 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
497 prototype.
498 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
499 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
500 instead of __internal_xxx function.
501 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
502 prototype.
503 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
504 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
505 instead of __internal_xxx function.
506 * sysdeps/unix/sysv/linux/accept.S: Remove file.
507 * sysdeps/unix/sysv/linux/bind.S: Likewise.
508 * sysdeps/unix/sysv/linux/connect.S: Likewise.
509 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
510 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
511 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
512 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
513 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
514 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
515 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
516 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
517 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
518 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
519 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
520 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
521 * sysdeps/unix/sysv/linux/listen.S: Likewise.
522 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
523 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
524 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
525 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
528 * sysdeps/unix/sysv/linux/recv.S: Likewise.
529 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
530 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
531 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
532 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
533 * sysdeps/unix/sysv/linux/send.S: Likewise.
534 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
535 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
536 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
537 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
538 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
539 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
540 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
541 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
542 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
543 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
544 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
545 socketcall is implemented in GLIBC.
546
fded7ed6
JM
5472015-05-22 Joseph Myers <joseph@codesourcery.com>
548
dc6b5aed
JM
549 * soft-fp/fmadf4.c: Include <libc-internal.h>.
550 (__fma): Ignore uninitialized warnings around packing.
551 * soft-fp/fmasf4.c: Include <libc-internal.h>.
552 (__fmaf): Ignore uninitialized warnings around packing.
553 * soft-fp/fmatf4.c: Include <libc-internal.h>.
554 (__fmal): Ignore uninitialized warnings around packing.
555
0c3717e7
JM
556 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
557 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
558 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
559 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
560
31a8780d
JM
561 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
562 switch statement into default case.
563 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
564
fded7ed6
JM
565 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
566 a conditional in forcing "inexact".
567 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
568 Likewise.
569
992328e5
RM
5702015-05-22 Roland McGrath <roland@hack.frob.com>
571
572 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
573 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
574 for each INTERNAL_SYSCALL use.
575
cf06a4e3
JM
5762015-05-22 Joseph Myers <joseph@codesourcery.com>
577
4e5f9259
JM
578 [BZ #438]
579 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
580 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
581 variable.
582
cf06a4e3
JM
583 [BZ #18444]
584 * string/basename.c (basename): Rename to __basename and define as
585 weak alias of __basename. Use libc_hidden_weak.
586 * include/string.h (__basename): Declare. Use libc_hidden_proto.
587 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
588 __basename instead of basename.
589 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
590 Remove variable.
591 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
592
e69dcccb
FW
5932015-05-18 Florian Weimer <fweimer@redhat.com>
594
595 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
596 (_IO_JUMPS_FILE_plus): New.
597 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
598 _IO_CAST_FIELD_ACCESS.
599 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
600 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
601 * libio/freopen.c (freopen): Likewise.
602 * libio/freopen64.c (freopen64): Likewise.
603 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
604 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
605 * libio/iofwide.c (_IO_fwide): Likewise.
606 * libio/memstream.c (open_memstream): Likewise.
607 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
608 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
609 * libio/oldiopopen.c (_IO_old_popen): Likewise.
610
9d12d765
JM
6112015-05-21 Joseph Myers <joseph@codesourcery.com>
612
9124ccf7
JM
613 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
614 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
615 NADJ.
616 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
617 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
618 NADJ.
619 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
620 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
621 NADJ.
622
89f3b6e1
JM
623 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
624 (p == 4) case.
625
9d12d765
JM
626 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
627 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
628 Remove variable.
629 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
630 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
631 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
632
0f87de79
FW
6332015-05-21 Florian Weimer <fweimer@redhat.com>
634
635 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
636 Adjust jump table label generation macros.
637
f8194fa6
FW
6382015-05-21 Florian Weimer <fweimer@redhat.com>
639
640 * stdio-common/vfprintf.c (vfprintf): Move local variables
641 args_malloced, specs, specs_malloced, and the code after
642 do_positional to the printf_positional function.
643 (printf_positional): New function.
644
f0f98189
FW
6452015-05-21 Florian Weimer <fweimer@redhat.com>
646
647 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
648 function.
649 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
650 STEP4_TABLE, process_arg): Move macro definitions
651 out of the vfprintf function. (Cosmetic change only.)
652
608f8971
CD
6532015-05-21 Carlos O'Donell <carlos@redhat.com>
654
655 * benchtests/Makefile (stdio-common-bench): Define.
656 (benchset): Add stdio-common-bench.
657 * sprintf-inputs: New file.
658 * sprintf-source.c: New file.
659
2212c142
AS
6602015-05-21 Andreas Schwab <schwab@suse.de>
661
662 [BZ #13028]
663 [BZ #17053]
664 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
665 of struct __res_state.
666 * resolv/res_send.c (__libc_res_nsend): Likewise.
667 (get_nsaddr): New function.
668 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
669 statp directly.
670
be8b8f17
JM
6712015-05-20 Joseph Myers <joseph@codesourcery.com>
672
f5857378
JM
673 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
674 -D_POSIX_C_SOURCE=199506L.
675
38d3d5b7
JM
676 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
677
be8b8f17
JM
678 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
679 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
680 Do not mention otherwise.
681 [POSIX] (_XOPEN_VERSION): Do not expect.
682 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
683 [POSIX] (_POSIX2_C_BIND): Likewise.
684 [POSIX] (_POSIX2_VERSION): Likewise.
685 [POSIX] (_XOPEN_XPG2): Likewise.
686 [POSIX] (_XOPEN_XPG3): Likewise.
687 [POSIX] (_XOPEN_XPG4): Likewise.
688 [POSIX] (_XOPEN_UNIX): Likewise.
689 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
690 [POSIX] (_POSIX_BARRIERS): Likewise.
691 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
692 [POSIX] (_POSIX_CPUTIME): Likewise.
693 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
694 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
695 [POSIX] (_POSIX_SHELL): Likewise.
696 [POSIX] (_POSIX_SPAWN): Likewise.
697 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
698 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
699 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
700 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
701 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
702 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
703 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
704 [POSIX] (_XBS5_LP64_OFF64): Likewise.
705 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
706 [POSIX] (_POSIX_TIMEOUTS): Likewise.
707 [POSIX] (_POSIX2_PBS): Likewise.
708 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
709 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
710 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
711 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
712 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
713 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
714 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
715 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
716 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
717 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
718 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
719 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
720 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
721 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
722 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
723 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
724 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
725 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
726 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
727 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
728 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
729 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
730 [POSIX] (_SC_2_C_BIND): Likewise.
731 [POSIX] (_SC_2_C_VERSION): Likewise.
732 [POSIX] (_SC_2_PBS): Likewise.
733 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
734 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
735 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
736 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
737 [POSIX] (_SC_2_PBS_TRACK): Likewise.
738 [POSIX] (_SC_ATEXIT_MAX): Likewise.
739 [POSIX] (_SC_BARRIERS): Likewise.
740 [POSIX] (_SC_BASE): Likewise.
741 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
742 [POSIX] (_SC_DEVICE_IO): Likewise.
743 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
744 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
745 [POSIX] (_SC_FD_MGMT): Likewise.
746 [POSIX] (_SC_FIFO): Likewise.
747 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
748 [POSIX] (_SC_FILE_LOCKING): Likewise.
749 [POSIX] (_SC_FILE_SYSTEM): Likewise.
750 [POSIX] (_SC_IOV_MAX): Likewise.
751 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
752 [POSIX] (_SC_NETWORKING): Likewise.
753 [POSIX] (_SC_PAGE_SIZE): Likewise.
754 [POSIX] (_SC_PASS_MAX): Likewise.
755 [POSIX] (_SC_PIPE): Likewise.
756 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
757 [POSIX] (_SC_REGEXP): Likewise.
758 [POSIX] (_SC_SHELL): Likewise.
759 [POSIX] (_SC_SIGNALS): Likewise.
760 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
761 [POSIX] (_SC_SPIN_LOCKS): Likewise.
762 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
763 [POSIX] (_SC_USER_GROUPS): Likewise.
764 [POSIX] (_SC_USER_GROUPS_R): Likewise.
765 [POSIX] (_SC_STREAMS): Likewise.
766 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
767 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
768 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
769 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
770 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
771 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
772 [POSIX] (_PC_FILESIZEBITS): Likewise.
773 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
774 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
775 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
776 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
777 [POSIX] (uid_t): Likewise.
778 [POSIX] (gid_t): Likewise.
779 [POSIX] (off_t): Likewise.
780 [POSIX] (pid_t): Likewise.
781 [POSIX] (cuserid): Allow.
782 (_SC_2_CHAR_TERM): Require constant.
783 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
784 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
785 variable.
786
5e2aa9a4
RM
7872015-05-20 Roland McGrath <roland@hack.frob.com>
788
7cea6212
RM
789 * sysdeps/nacl/pthread-pids.h: New file.
790 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
791 (create_thread): Use __nacl_get_tid to initialize PD->tid.
792
793 * nptl/pthread-pids.h: New file.
794 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
795 * nptl/nptl-init.c: Include <pthread-pids.h>.
796 (__pthread_initialize_minimal_internal):
797 Call __pthread_initialize_pids instead of set_tid_address syscall.
798
5e2aa9a4
RM
799 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
800 * sysdeps/posix/usleep.c: ... here.
801
96dffc26
AZ
8022015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
803
804 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
805 call_pselect6 object.
806 [$(subdir) = io]: Remove call_sync_file_range object.
807 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
808 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
809 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
810 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
811
5be91118
WD
8122015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
813
814 * math/s_cproj.c: Add include "math_private.h".
815 * math/s_cprojf.c: Likewise.
816 * math/s_cprojl.c: Likewise.
817
526af541
JM
8182015-05-19 Joseph Myers <joseph@codesourcery.com>
819
3ce2232e
JM
820 [BZ #18244]
821 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
822 high mantissa bit when testing whether P is a NaN.
823 * math/libm-test.inc (remainder_test_data): Add more tests.
824 (remquo_test_data): Likewise.
825
526af541
JM
826 [BZ #18049]
827 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
828 below -32, return the argument, with underflow if subnormal.
829 * math/auto-libm-test-in: Add more tests of atanh.
830 * math/auto-libm-test-out: Regenerated.
831
88ed594f
RM
8322015-05-19 Roland McGrath <roland@hack.frob.com>
833
834 [BZ #18434]
835 * nptl/tst-sem15.c: New file.
836 * nptl/Makefile (tests): Add it.
837 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
838 s/<</>>/ to fix typo in EOVERFLOW check.
839 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
840
654055e0
SP
8412015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
842
843 * manual/strings.texi (envz_remove): Fix typo in safety
844 annotations.
845
eb286115
SE
8462015-05-19 Paul Eggert <eggert@cs.ucla.edu>
847 Steve Ellcey <sellcey@imgtec.com>
848
849 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
850 in order to avoid strict alias warnings.
851 (iruserok_af): Ditto for ra.
852
265cbed8
JL
8532015-05-19 James Lemke <jwlemke@codesourcery.com>
854
855 [BZ #17581]
856 * malloc/hooks.c
857 (magicbyte): Convert to a function and avoid returning 0x01.
858 (mem2mem_check): Avoid using a length byte equal to the magic byte.
859 (mem2chunk_check): Fix unsigned comparisons to zero.
860 Hoist defs of sz and magic.
861
1c5df816
RH
8622015-05-19 Richard Henderson <rth@redhat.com>
863
85bae5a1
RH
864 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
865
1c5df816
RH
866 * sysdeps/alpha/fpu/libm-test-ulps: Update.
867
920d7012
SP
8682015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
869
fff94fa2
SP
870 [BZ #16159]
871 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
872 * malloc/arena.c (arena_lock): Check if arena is corrupt.
873 (reused_arena): Find a non-corrupt arena.
874 (heap_trim): Pass arena to unlink.
875 * malloc/hooks.c (malloc_check_get_size): Pass arena to
876 malloc_printerr.
877 (top_check): Likewise.
878 (free_check): Likewise.
879 (realloc_check): Likewise.
880 * malloc/malloc.c (malloc_printerr): Add arena argument.
881 (unlink): Likewise.
882 (munmap_chunk): Adjust.
883 (ARENA_CORRUPTION_BIT): New macro.
884 (arena_is_corrupt): Likewise.
885 (set_arena_corrupt): Likewise.
886 (sysmalloc): Use mmap if there are no usable arenas.
887 (_int_malloc): Likewise.
888 (__libc_malloc): Don't fail if arena_get returns NULL.
889 (_mid_memalign): Likewise.
890 (__libc_calloc): Likewise.
891 (__libc_realloc): Adjust for additional argument to
892 malloc_printerr.
893 (_int_free): Likewise.
894 (malloc_consolidate): Likewise.
895 (_int_realloc): Likewise.
896 (_int_memalign): Don't touch corrupt arenas.
897 * malloc/tst-malloc-backtrace.c: New test case.
898
99db95db
SP
899 * Makefile (summarize-tests): Fix return value on success.
900
920d7012
SP
901 * manual/string.texi (Envz Functions): Add envz_remove.
902
46f894d8
RM
9032015-05-18 Roland McGrath <roland@hack.frob.com>
904
905 * sysdeps/posix/opendir.c: Include <stdbool.h>.
906 (invalid_name): New function, broken out of ...
907 (__opendirat): ... here. Call it.
908 (need_isdir_precheck): New function, broken out of ...
909 (__opendirat): ... here. Call it.
910 Use __fxstatat64, not __xstatat64.
911 (opendir_oflags): New function, broken out of ...
912 (__opendirat): ... here. Call it.
913 (opendir_tail): New function, broken out of ...
914 (__opendirat): ... here. Call it.
915 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
916 opendir_tail, rather than punting to __opendirat.
917 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
918
eefe64b9
SP
9192015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
920
921 * .gitignore: Ignore generated *.pyc.
922
330fadfc
AS
9232015-05-18 Arjun Shankar <arjun.is@lostca.se>
924
925 * include/stdio.h: Define __need_wint_t.
926 * test-skeleton.c: Avoid `for' loop initial declaration.
927 * nptl/tst-initializers1.c: Use test-skeleton.c.
928
b40a4e1a
AZ
9292015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
930
931 [BZ #18418]
932 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
933
ff069f02
JM
9342015-05-15 Joseph Myers <joseph@codesourcery.com>
935
8020a808
JM
936 [BZ #16352]
937 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
938 (__ieee754_atanh): Force underflow exception for results with
939 small absolute value.
940 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
941 (__ieee754_atanhf): Force underflow exception for results with
942 small absolute value.
943 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
944 (__ieee754_atanh): Force underflow exception for results with
945 small absolute value.
946 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
947 (__ieee754_atanhf): Force underflow exception for results with
948 small absolute value.
949 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
950 (__ieee754_atanhl): Force underflow exception for results with
951 small absolute value.
952 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
953 (__ieee754_atanhl): Force underflow exception for results with
954 small absolute value.
955 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
956 (__ieee754_atanhl): Force underflow exception for results with
957 small absolute value.
958 * math/auto-libm-test-in: Do not allow missing underflow
959 exceptions from atanh.
960 * math/auto-libm-test-out: Regenerated.
961
5a608ccc
JM
962 [BZ #18221]
963 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
964 2**-28 as threshold for returning x or +/- 1/x.
965 * math/auto-libm-test-in: Add more tests of tan.
966 * math/auto-libm-test-out: Regenerated.
967
ff069f02
JM
968 [BZ #18220]
969 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
970 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
971 * math/auto-libm-test-in: Add another test of lgamma.
972 * math/auto-libm-test-out: Regenerated.
973
0e9be4db
WD
9742015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
975
976 * stdio-common/printf_fp.c (___printf_fp): Use abs.
977 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
978 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
979 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
980 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
981 (ADD2A): Use fabs. (SUB2A): Use fabs.
982 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
983 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
984 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
985 (log1): Use fabs. (my_log2): Use fabs.
986 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
987 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
988 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
989 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
990 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
991 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
992 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
993 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
994 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
995 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
996 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
997
fbc68f03
JM
9982015-05-15 Joseph Myers <joseph@codesourcery.com>
999
1000 [BZ #18217]
1001 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1002 as threshold for returning 1 - x.
1003 * math/auto-libm-test-in: Add more tests of erfc.
1004 * math/auto-libm-test-out: Regenerated.
1005
0b7a5f92
JM
10062015-05-14 Joseph Myers <joseph@codesourcery.com>
1007
9a71f1fc
JM
1008 [BZ #18196]
1009 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1010 threshold for large arguments.
1011 * math/auto-libm-test-in: Add another test of atan.
1012 * math/auto-libm-test-out: Regenerated.
1013
0b7a5f92
JM
1014 [BZ #16339]
1015 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1016 (__log1p): Force underflow exception for results with small
1017 absolute value.
1018 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1019 (__log1pf): Force underflow exception for results with small
1020 absolute value.
1021 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1022 (__log1p): Force underflow exception for results with small
1023 absolute value.
1024 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1025 (__log1pf): Force underflow exception for results with small
1026 absolute value.
1027 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1028 (__log1pl): Force underflow exception for results with small
1029 absolute value.
1030 * math/auto-libm-test-in: Do not allow missing underflow
1031 exceptions from log1p.
1032 * math/auto-libm-test-out: Regenerated.
1033
95b07fbc
AZ
10342015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
1035 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1036
b2fb2524 1037 [BZ #16704]
95b07fbc
AZ
1038 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
1039
ee971601
AS
10402015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
1041
5695d46f
AS
1042 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
1043 (libmvec): New variable.
1044 * configure.ac: Added option for mathvec build.
1045 * configure: Regenerated.
1046 * mathvec/Depend: New file.
1047 * mathvec/Makefile: New file.
1048 * shlib-versions: Added libmvec.
1049 * math/Makefile: Added rule for libm.so installation.
1050
202d48da
AS
1051 * bits/math-vector.h: New file.
1052 * bits/libm-simd-decl-stubs.h: New header.
1053 * math/Makefile (headers): Added new header
1054 libm-simd-decl-stubs.h.
1055 * math/math.h (__MATHCALL_VEC): New macro.
1056
58c50f06
AS
1057 * math/gen-libm-have-vector-test.sh: Script generates series of macros
1058 for conditions in testing functions.
1059 * math/Makefile: Added call of libm-have-vector-test.sh.
1060 * math/libm-test.inc (HAVE_VECTOR): New macros.
1061
a6cdcd75
AS
1062 * math/libm-test.inc: START refactored.
1063 * math/test-double.c (TEST_MATHVEC): Add define.
1064 * math/test-float.c: Likewise.
1065 * math/test-idouble.c: Likewise.
1066 * math/test-ifloat.c: Likewise.
1067 * math/test-ildoubl.c: Likewise.
1068 * math/test-ldouble.c: Likewise.
1069 * sysdeps/generic/math-tests-arch.h
1070 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
1071 architecture check.
1072
ee971601
AS
1073 * math/test-double.c (FUNC_TEST): New macro.
1074 * math/test-float.c: Likewise.
1075 * math/test-idouble.c: Likewise.
1076 * math/test-ifloat.c: Likewise.
1077 * math/test-ildoubl.c: Likewise.
1078 * math/test-ldouble.c: Likewise.
1079 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
1080
b88a18e1
RM
10812015-05-13 Roland McGrath <roland@hack.frob.com>
1082
9e4ec74f
RM
1083 * sysdeps/nacl/fdopendir.c: New file.
1084
95341673 1085 * dirent/scandir-tail.c: New file.
d2ee815a
RM
1086 * dirent/scandir64-tail.c: New file.
1087 * dirent/Makefile (routines): Add them.
95341673 1088 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
d2ee815a
RM
1089 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
1090 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
1091 [!SCANDIR] (SCANDIR_TAIL): New macro.
1092 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
1093 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
1094 (SCANDIRAT): Macro removed.
1095 (SCANDIR_TAIL): New macro.
1096 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
1097 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
1098 (SCANDIRAT): Just call __opendirat and __scandir_tail.
1099 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
1100 (READDIR): Macro removed.
1101 (SCANDIR_TAIL): New macro.
1102 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
1103 (SCANDIR_TAIL): New macro.
1104
83c10893
RM
1105 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
1106 * dirent/scandir-cancel.c: ... to this new file.
1107 * dirent/Makefile (routines): Add it.
1108 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
1109 * sysdeps/unix/sysv/linux/i386/scandir64.c
1110 (SKIP_SCANDIR_CANCEL): Macro removed.
1111 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
1112
b88a18e1
RM
1113 * dirent/tst-scandir.c: New file.
1114 * dirent/tst-scandir64.c: New file.
1115 * dirent/Makefile (tests): Add them.
1116
d9efd775
L
11172015-05-13 H.J. Lu <hongjiu.lu@intel.com>
1118
1119 [BZ #18409]
1120 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
1121
265a9b73
SN
11222015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1123
1124 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
1125 list.
1126
60ccaf75
LH
11272015-05-13 Leonhard Holz <leonhard.holz@web.de>
1128
1129 * benchtests/bench-strcoll.c: New benchmark.
1130 * benchtests/Makefile: Generate locales and run benchmark.
1131 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1132 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1133 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1134 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1135 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1136 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
1137 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
1138 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
1139 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
1140 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
1141 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
1142 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
1143 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
1144 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
1145 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
1146 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
1147 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
1148 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
1149 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
1150 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
1151 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
1152 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
1153 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
1154 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
1155
0f4840be
OB
11562015-05-12 Ondřej Bílka <neleai@seznam.cz>
1157
1158 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
1159 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1160
7327b333
RM
11612015-05-12 Roland McGrath <roland@hack.frob.com>
1162
1163 * posix/uname-values.h: New file.
1164 * posix/uname.c: Include that instead of <config-name.h>.
1165 * sysdeps/nacl/uname-values.h: New file.
1166 * sysdeps/arm/nacl/uname-values.h: New file.
1167
8e65ea4d
JM
11682015-05-12 Joseph Myers <joseph@codesourcery.com>
1169
1170 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
1171 splitting into fields.
1172
a964c6e4 11732015-05-12 Leonhard Holz <leonhard.holz@web.de>
f13c2a8d
LH
1174
1175 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
1176 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
1177 * locale/localeinfo.h: Add enum collation_encoding_type.
1178 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
1179 * programs/ld-collate.c (collate_output): Add encoding type info.
1180 * string/strcoll_l.c (STRDIFF): New function.
1181 * (STRCOLL): Use STRDIFF to skip over equal prefix.
1182 * wcsmbs/wcscoll_l.c: Define STRDIFF.
1183
34cb304e
JM
11842015-05-11 Joseph Myers <joseph@codesourcery.com>
1185
1186 [BZ #18397]
1187 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1188 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
1189 <fpu_control.h> instead of <math/fpu_control.c>.
1190 * sysdeps/mips/mips32/fpu/Makefile: New file.
1191
b13b96ca
AS
11922015-05-11 Andreas Schwab <schwab@suse.de>
1193
1194 [BZ #18007]
1195 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1196 nss_endgrent.
1197 (_nss_compat_endgrent): Call nss_endgrent.
1198 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1199 nss_endpwent.
1200 (_nss_compat_endpwent): Call nss_endpwent.
1201 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1202 needent, call nss_setspent only if non-zero.
1203 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1204 (internal_endspent): Don't call nss_endspent.
1205 (_nss_compat_endspent): Call nss_endspent.
1206 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1207 Remove. All uses removed.
1208 (internal_setent): Remove parameter stayopen, add parameter
1209 stream. Use it instead of global variable.
1210 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1211 (internal_endent, internal_getent): Add parameter stream. Use it
1212 instead of global variable.
1213 (CONCAT(_nss_files_end,ENTNAME))
1214 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1215 (_nss_files_get##name##_r): Pass local stream. Remove locking.
1216 * nss/nss_files/files-alias.c (position, last_use): Remove. All
1217 uses removed.
1218 (internal_setent, internal_endent): Add parameter stream. Use it
1219 instead of global variable.
1220 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1221 stream.
1222 (get_next_alias): Add parameter stream.
1223 (_nss_files_getaliasent_r): Pass global stream.
1224 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
1225 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1226 (_nss_files_gethostbyname4_r): Pass local stream to
1227 internal_setent, internal_getent and internal_endent. Remove
1228 locking.
1229
e1b6cb04
SL
12302015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1231
1232 * tst-strfmon1.c (tests): Update expected currency symbol.
1233
c4c977c6
RM
12342015-05-08 Roland McGrath <roland@hack.frob.com>
1235
1236 * sysdeps/nacl/gethostname.c: New file.
1237
14f36098
JM
12382015-05-08 Joseph Myers <joseph@codesourcery.com>
1239
1240 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1241 and sinh.
1242 * math/auto-libm-test-out: Regenerated.
1243 * sysdeps/i386/fpu/libm-test-ulps: Update.
1244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1245
c92d40c0
CD
12462015-05-08 Carlos O'Donell <carlos@redhat.com>
1247
1248 [BZ #18125]
1249 * stdlib/tst-setcontext3.c: New file.
1250 * stdlib/tst-setcontext3.sh: New file.
1251 * stdlib/Makefile (tests): Add tst-setcontext3.
1252 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1253 to verify test program created output file.
1254 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1255 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1256 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1257 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1258
48276b67
RM
12592015-05-06 Roland McGrath <roland@hack.frob.com>
1260
b5fe8ec8
RM
1261 [BZ #18383]
1262 * elf/tst-tlsalign.c: New file.
1263 * elf/tst-tlsalign-static.c: New file.
1264 * elf/tst-tlsalign-lib.c: New file.
1265 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1266 (tests-static): Add tst-tlsalign-static.
1267 (modules-names): Add tst-tlsalign-lib.
1268 (test-xfail-tst-tlsalign): New variable.
1269 (test-xfail-tst-tlsalign-static): New variable.
1270
48276b67
RM
1271 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1272 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1273
471dffa1
JM
12742015-05-06 Joseph Myers <joseph@codesourcery.com>
1275
1276 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1277 csqrt, erfc, sin and sincos.
1278 * math/auto-libm-test-out: Regenerated.
1279 * sysdeps/i386/fpu/libm-test-ulps: Update.
1280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1281
eda361c8
WD
12822015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
1283
1284 * sysdeps/aarch64/libm-test-ulps: Update.
1285
31450d9a
JM
12862015-05-05 Joseph Myers <joseph@codesourcery.com>
1287
1288 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1289 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1290 * math/auto-libm-test-out: Regenerated.
1291 * sysdeps/i386/fpu/libm-test-ulps: Update.
1292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1293
a6ab6ccd
DM
12942015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
1295
1296 [BZ #18265]
1297 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1298 (wcsncpy): Likewise.
1299
d0ccd0d9
FW
13002015-05-05 Florian Weimer <fweimer@redhat.com>
1301
1302 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1303 Assume __ASSUME_FALLOCATE is always true.
1304 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1305 (__posix_fallocate64_l64): Likweise.
1306 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1307 (posix_fallocate): Likewise.
1308 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1309 (__posix_fallocate64_l64): Likewise.
1310 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1311 [!__ASSUME_FALLOCATE]: Add comment.
1312
4bd40bcf
FW
13132015-05-05 Florian Weimer <fweimer@redhat.com>
1314
1315 * sysdeps/unix/sysv/linux/i386/Makefile
1316 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1317 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1318 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1319 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1320 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1321 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1322 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1323
305392ea
JM
13242015-05-02 Joseph Myers <joseph@codesourcery.com>
1325
1326 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1327 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1328 tgamma.
1329 * math/auto-libm-test-out: Regenerated.
1330 * sysdeps/i386/fpu/libm-test-ulps: Update.
1331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1332
a0d31f36
JM
13332015-05-01 Joseph Myers <joseph@codesourcery.com>
1334
51e15247
JM
1335 * math/auto-libm-test-in: Add more tests of tgamma.
1336 * math/auto-libm-test-out: Regenerated.
1337 * sysdeps/i386/fpu/libm-test-ulps: Update.
1338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1339
5ffb9a53
JM
1340 * math/auto-libm-test-in: Add more tests of tanh.
1341 * math/auto-libm-test-out: Regenerated.
1342 * sysdeps/i386/fpu/libm-test-ulps: Update.
1343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1344
0957e15d
JM
1345 * math/auto-libm-test-in: Add more tests of tan.
1346 * math/auto-libm-test-out: Regenerated.
1347 * sysdeps/i386/fpu/libm-test-ulps: Update.
1348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1349
827bb585
JM
1350 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1351 * math/auto-libm-test-out: Regenerated.
1352 * sysdeps/i386/fpu/libm-test-ulps: Update.
1353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1354
86793ae7
JM
1355 * math/auto-libm-test-in: Add another test of pow.
1356 * math/auto-libm-test-out: Regenerated.
1357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1358
038e4be9
JM
1359 * math/auto-libm-test-in: Add more tests of lgamma.
1360 * math/auto-libm-test-out: Regenerated.
1361 * sysdeps/i386/fpu/libm-test-ulps: Update.
1362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1363
a0d31f36
JM
1364 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
1365 log1p.
1366 * math/auto-libm-test-out: Regenerated.
1367 * sysdeps/i386/fpu/libm-test-ulps: Update.
1368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1369
b4336ba4
MW
13702015-05-01 Mark Wielaard <mjw@redhat.com>
1371
1372 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1373 Elf64_Chdr structs and ELFCOMPRESS constants.
1374
c5a3a509
JM
13752015-05-01 Joseph Myers <joseph@codesourcery.com>
1376
e1483b36
JM
1377 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1378 expm1.
1379 * math/auto-libm-test-out: Regenerated.
1380 * sysdeps/i386/fpu/libm-test-ulps: Update.
1381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1382
c5a3a509
JM
1383 * math/auto-libm-test-in: Add more tests of erf and erfc.
1384 * math/auto-libm-test-out: Regenerated.
1385 * sysdeps/i386/fpu/libm-test-ulps: Update.
1386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1387
44cb254f
SN
13882015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1389
1390 * config.h.in (HAVE_AARCH64_BE): Add.
1391
0833cecd
JM
13922015-04-30 Joseph Myers <joseph@codesourcery.com>
1393
9862ab1f
JM
1394 * math/auto-libm-test-in: Add more tests of csqrt.
1395 * math/auto-libm-test-out: Regenerated.
1396 * sysdeps/i386/fpu/libm-test-ulps: Update.
1397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1398
094fca83
JM
1399 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1400 * math/auto-libm-test-out: Regenerated.
1401 * sysdeps/i386/fpu/libm-test-ulps: Update.
1402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1403
0833cecd
JM
1404 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1405
314647f7
RM
14062015-04-29 Roland McGrath <roland@hack.frob.com>
1407
45c2c564
RM
1408 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1409 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1410
3600cf1e
RM
1411 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1412 (euidaccess, eaccess): Define as weak aliases.
1413
314647f7
RM
1414 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1415 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
1416 but __suseconds_t is often 'long int' so some sources assume that
1417 type is being used (e.g. they use %ld to print tv_usec).
1418
03d2730b
FW
14192015-04-29 Florian Weimer <fweimer@redhat.com>
1420
1421 [BZ #18007]
1422 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1423 (CVE-2014-8121)
1424 * nss/tst-nss-getpwent.c: New file.
1425 * nss/Makefile (tests): Add new test.
1426
7d0b2575
JM
14272015-04-28 Joseph Myers <joseph@codesourcery.com>
1428
1429 [BZ #18346]
1430 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1431 exponents less than 48 as cases where high part of mantissa needs
1432 examining to determine whether argument is integral.
1433 * math/libm-test.inc (round_test_data): Add more tests.
1434
fb4041ae
MW
14352015-04-28 Mark Wielaard <mjw@redhat.com>
1436
1437 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
1438
3f2e21e9
DM
14392015-04-27 David S. Miller <davem@davemloft.net>
1440
1441 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
1442 __tls_get_addr.
1443 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1444
5cffc05e
L
14452015-04-27 H.J. Lu <hongjiu.lu@intel.com>
1446
1447 [BZ#18333]
1448 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
1449
cc8dcf96
FW
14502015-04-27 Florian Weimer <fweimer@redhat.com>
1451
1452 [BZ#18333]
1453 * time/tzset.c (parse_tzname): Return error on memory allocation
1454 failure.
1455 * test-skeleton.c (struct temp_name_list): Change type of name
1456 member to non-const.
1457 (add_temp_file): Create a copy of the file name.
1458 (delete_temp_files): Deallocate memory.
1459 (create_temp_file): Add comment.
1460
2dd6ee79
FW
14612015-04-24 Florian Weimer <fweimer@redhat.com>
1462
1463 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
1464 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
1465
c25fec6f
RM
14662015-04-24 Roland McGrath <roland@hack.frob.com>
1467
1468 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
1469 * sysdeps/arm/configure: Regenerated.
1470
42261ad7
FW
14712015-04-24 Florian Weimer <fweimer@redhat.com>
1472
1473 [BZ #17715]
1474 * time/tzfile.c (__tzfile_read): Check for large values of
1475 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
1476 * time/tzset.c (__tzstring_len): New function, based on the old
1477 __tzstring function.
1478 (__tzstring): Call __tzstring_len.
1479 (parse_tzname): New helper function extracted from
1480 __tzset_parse_tz. Call __tzstring_len, without making a copy of
1481 the input string.
1482 (parse_offset): New helper function extracted from
1483 __tzset_parse_tz. Replace switch with fallthrough with
1484 initialization before sscanf.
1485 (parse_rule): Likewise.
1486 (__tzset_parse_tz): Rewrite using the new helper functions. Use
1487 new-style function definition.
1488 * timezone/Makefile (tests): Add tst-tzset.
1489 (tst-tzset.out): Dependencies on time zone files.
1490 (tst-tzset-ENV): Set TZDIR.
1491 (testdata/XT%): Copy crafted time zone files.
1492 * timezone/README: Mention crafted time zone files.
1493 * timezone/testdata/XT1, timezone/testdata/XT2,
1494 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
1495 files.
1496 * timezone/tst-tzset.c: New test.
1497
ed159672
FW
14982015-04-24 Florian Weimer <fweimer@redhat.com>
1499
1500 * Makeconfig (+gccwarn): Remove -Winline.
1501
8666ab5c
SL
15022015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1503
1504 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
1505
f7fba805
SL
15062015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1507
1508 * NEWS: Mention sysconf() cache information support for s390.
1509 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
1510
92f28979
WD
15112015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
1512
1513 * math/k_casinh.c (__kernel_casinh): Use __copysign.
1514 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
1515 (__nearbyint): Likewise.
1516 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
1517 (copysignl): Likewise.
1518
2959eda9
AS
15192015-04-21 Arjun Shankar <arjun.is@lostca.se>
1520
1521 [BZ #18287]
1522 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
1523 based on padding. (CVE-2015-1781)
1524
7bf8fb10
AZ
15252015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1526
1527 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
1528 libc-vdso.h.
1529 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
1530 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
1531 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1532 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1533 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1534 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
1535 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
1536 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1537 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1538 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
1539 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1540 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1541 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1542 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
1543 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1544 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
1545 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
1546 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
1547 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
1548 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
1549 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
1550 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
1551 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
1552
03c1e456
PE
15532015-04-19 Paul Eggert <eggert@cs.ucla.edu>
1554
1555 * stdlib/setenv.c (__add_to_environ):
1556 Dump core quickly if setenv (..., NULL, ...) is called.
1557 This time, do it the right way, and pacify GCC with a pragma.
1558
328c44c3
RM
15592015-04-17 Roland McGrath <roland@hack.frob.com>
1560
2bd2cad9
RM
1561 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
1562 IMAP->l_prev cannot be null, and #if out the code for the contrary
1563 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
1564 believe that NS (&_dl_ns[NSID]) could point outside the array.
1565
328c44c3
RM
1566 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
1567 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
1568 before using NSID as an index.
1569
aa4980fc
DM
15702015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
1571
1572 [BZ #17825]
1573 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
1574 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1575 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1576
d1e44df1
RM
15772015-04-17 Roland McGrath <roland@hack.frob.com>
1578
1579 Add preliminary port to Google Native Client on ARM.
1580 * abi-tags (.*-.*-nacl.*): New entry.
1581 * sysdeps/arm/nacl: New directory.
1582 * sysdeps/nacl: New directory.
1583
f7092599
DM
15842015-04-16 David S. Miller <davem@davemloft.net>
1585
1586 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
1587 lowlevellock-futex.h
1588
da6989f9
CM
15892015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
1590
1591 * sysdeps/tile/configure.ac: New file.
1592 * sysdeps/tile/configure: Regenerated.
1593
fb78612a
AZ
15942015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1595
1596 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
1597 conditionals for weak_alias and libc_hidden_weak.
1598 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
1599 libc_hidden_weak and weak_alias.
1600 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
1601 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
1602 and weak_alias for static one.
1603
a8b6a3a6
DM
16042015-04-15 David S. Miller <davem@davemloft.net>
1605
1606 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1607
920a0395
SL
16082015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1609
1610 [BZ #18206]
1611 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
1612 Use signed comparision instead of substraction to avoid
1613 overflow bug.
1614 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
1615 Take the sign of ret.
1616 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
1617 Do not expect precise return values. Only the sign matters.
1618 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
1619 * wcsmbs/test-wcsncmp.c: New File.
1620 * string/test-strncmp.c: Add wcsncmp support.
1621
de8aadd5
SL
16222015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1623
1624 [BZ #6792]
1625 * math/w_log1p.c: New file.
1626 * math/w_log1pf.c: Likewise.
1627 * math/w_log1pl.c: Likewise.
1628 * math/Makefile (libm-calls): Add w_log1p.
1629 * math/s_log1pl.c (log1pl): Remove weak_alias.
1630 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
1631 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
1632 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
1633 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
1634 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
1635 [NO_LONG_DOUBLE] (log1pl): Likewise.
1636 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
1637 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
1638 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
1639 (log1p): Remove long_double_symbol.
1640 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
1641 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
1642 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
1643 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
1644 remove weak_alias for corresponding log1p function.
1645 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
1646 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
1647 * sysdeps/ia64/fpu/w_log1p.c: New file.
1648 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
1649 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
1650 * math/libm-test.inc (log1p_test_data): Add errno expectations.
1651
5556d30c
JM
16522015-04-10 Joseph Myers <joseph@codesourcery.com>
1653
1654 [BZ #18247]
1655 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
1656 decimal exponent by 1.
1657 * stdlib/tst-strtod-round-data: Add more tests.
1658 * stdlib/tst-strtod-round.c (tests): Regenerated.
1659
b3c66c53
JM
16602015-04-09 Joseph Myers <joseph@codesourcery.com>
1661
1662 * math/auto-libm-test-in: Add more tests of clog and clog10.
1663 * math/auto-libm-test-out: Regenerated.
1664 * sysdeps/i386/fpu/libm-test-ulps: Update.
1665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1666
b0b88abc
RM
16672015-04-09 Roland McGrath <roland@hack.frob.com>
1668
8a257e2c
RM
1669 * Makeconfig (module-cppflags): Exclude all .v.i files.
1670 (skip-module-cppflags): Variable removed.
1671
05439291
RM
1672 * configure.ac (libc_config_ok): Initialize before reading
1673 preconfigure scripts, not after.
1674 * configure: Regenerated.
1675
b0b88abc
RM
1676 * test-skeleton.c (TIMEOUT): Move #define to top level.
1677 (main): Grok environment variable TEST_DIRECT. If set, print
1678 test expectation details into that file and then behave as if
1679 given --direct.
1680
2902af16
FW
16812015-04-09 Florian Weimer <fweimer@redhat.com>
1682
1683 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
1684 warning on 32-bit.
1685
23ebf743
DM
16862015-04-08 David S. Miller <davem@davemloft.net>
1687
1688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1689
024bcc51
JM
16902015-04-08 Joseph Myers <joseph@codesourcery.com>
1691
787d22bc
JM
1692 * math/auto-libm-test-in: Add more tests of atanh.
1693 * math/auto-libm-test-out: Regenerated.
1694 * sysdeps/i386/fpu/libm-test-ulps: Update.
1695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1696
024bcc51
JM
1697 * math/auto-libm-test-in: Add more tests of atan.
1698 * math/auto-libm-test-out: Regenerated.
1699 * sysdeps/i386/fpu/libm-test-ulps: Update.
1700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1701
7b8399f4
FW
17022015-04-08 Florian Weimer <fweimer@redhat.com>
1703
1704 * elf/pldd.c (main): Rewrite to use struct
1705 scratch_buffer instead of extend_alloca.
1706 * elf/pldd-xx.c (find_maps): Likewise.
866ba63b
FW
1707 * grp/initgroups.c: Include <scratch_buffer.h> instead of
1708 <alloca.h>.
1709 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
1710 scratch_buffer instead of extend_alloca.
1711 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
1712 grp/compat-initgroups.c.
794a74af
FW
1713 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
1714 Rewrite to use struct scratch_buffer instead of extend_alloca.
c6ee40da 1715 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
561052ad 1716 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7b8399f4 1717
ae63c7eb
JM
17182015-04-08 Joseph Myers <joseph@codesourcery.com>
1719
da0cf658
JM
1720 * math/auto-libm-test-in: Add more tests of cbrt.
1721 * math/auto-libm-test-out: Regenerated.
1722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1723
80352c01
JM
1724 * math/auto-libm-test-in: Add more tests of cabs.
1725 * math/auto-libm-test-out: Regenerated.
1726 * sysdeps/i386/fpu/libm-test-ulps: Update.
1727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1728
8431838d
JM
1729 [BZ #18210]
1730 [BZ #18211]
1731 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
1732 (__ieee754_atan2): Set FE_TONEAREST mode for internal
1733 computations.
1734 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
1735 clog10.
1736 * math/auto-libm-test-out: Regenerated.
1737 * sysdeps/i386/fpu/libm-test-ulps: Update.
1738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1739
ae63c7eb
JM
1740 [BZ #18197]
1741 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
1742 (atan): Set FE_TONEAREST mode for internal computations.
1743 * math/auto-libm-test-in: Add more tests of atan.
1744 * math/auto-libm-test-out: Regenerated.
1745
d5856d06
JC
17462015-04-07 James Cowgill <james410@cowgill.org.uk>
1747
1748 [BZ #17930]
1749 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
1750
72301304
FW
17512015-04-07 Florian Weimer <fweimer@redhat.com>
1752
1753 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
1754
cfcfd461
FW
17552015-04-07 Florian Weimer <fweimer@redhat.com>
1756
1757 * include/scratch_buffer.h: New file.
1758 * malloc/scratch_buffer_grow.c: Likewise.
1759 * malloc/scratch_buffer_grow_preserve.c: Likewise.
1760 * malloc/scratch_buffer_set_array_size.c: Likewise.
1761 * malloc/tst-scratch_buffer.c: Likewise.
1762 * malloc/Makefile (routines): Add scratch_buffer_grow.
1763 (tests): Add test case.
1764 * malloc/Versions (GLIBC_PRIVATE): Export
1765 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
1766 __libc_scratch_buffer_set_array_size.
1767
cc47c824
RH
17682015-04-06 Richard Henderson <rth@redhat.com>
1769
1770 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 1771 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 1772
9e8c0381
RH
1773 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
1774 unsigned int before printing.
1775
9781a370
OB
17762015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1777
1778 [BZ #17596]
1779 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
1780 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1781
37d60d97
FW
17822015-04-02 Florian Weimer <fweimer@redhat.com>
1783
1784 * include/libc-internal.h (libc_max_align_t): Define.
1785
b763f6ae
AS
17862015-04-02 Andreas Schwab <schwab@suse.de>
1787
1788 [BZ #16850]
1789 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
1790
c26efef9
MG
17912015-04-02 Mel Gorman <mgorman@suse.de>
1792
1793 [BZ #17195]
1794 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
1795 as well as the main arena.
1796
a3d9ab50
L
17972015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1798
1799 [BZ #18185]
1800 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
1801 sharing L2 cache to 2 for Silvermont/Knights Landing.
1802
83569fb8
L
18032015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1804
1805 [BZ #17711]
1806 * config.make.in (have-protected-data): New.
1807 * configure.ac: Check linker support for protected data symbol.
1808 * configure: Regenerated.
1809 * elf/Makefile (modules-names): Add tst-protected1moda and
1810 tst-protected1modb if $(have-protected-data) is yes.
1811 (tests): Add tst-protected1a and tst-protected1b if
1812 $(have-protected-data) is yes.
1813 ($(objpfx)tst-protected1a): New.
1814 ($(objpfx)tst-protected1b): Likewise.
1815 (tst-protected1modb.so-no-z-defs): Likewise.
1816 * elf/tst-protected1a.c: New file.
1817 * elf/tst-protected1b.c: Likewise.
1818 * elf/tst-protected1mod.h: Likewise.
1819 * elf/tst-protected1moda.c: Likewise.
1820 * elf/tst-protected1modb.c: Likewise.
1821
62da1e3b
L
18222015-03-31 H.J. Lu <hongjiu.lu@intel.com>
1823
1824 [BZ #17711]
1825 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
1826 indicates it is called from do_lookup_x on relocation against
1827 protected data, skip the data definion in the executable from
1828 copy reloc.
1829 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
1830 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
1831 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
1832 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
1833 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
1834 otherwise to 0.
1835 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1836 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
1837 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
1838 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1839 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
1840 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
1841
675ddb71
MG
18422015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
1843
1844 * sysdeps/nptl/pthread.h: Remove duplicate definition of
1845 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
1846
4d611e12
MG
18472015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
1848
1849 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
1850 THREAD_SETMEM_NC.
1851 * sysdeps/x86_64/nptl/tls.h: Ditto.
1852
7285eb53
RM
18532015-03-27 Roland McGrath <roland@hack.frob.com>
1854
1855 * dlfcn/tststatic.c (main): Converted to ...
1856 (do_test): ... this.
1857 (TEST_FUNCTION): New macro.
1858 Include test-skeleton.c.
1859
19a6a3ac
AM
18602015-03-26 Alan Modra <amodra@gmail.com>
1861
1862 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
1863 Don't segfault if ifunc resolver returns a NULL. Do set plt to
1864 zero for undefined weak.
1865 (elf_machine_plt_conflict): Similarly.
1866
a9fe4c5a
JM
18672015-03-25 Joseph Myers <joseph@codesourcery.com>
1868
efd5b641
JM
1869 * math/auto-libm-test-in: Add more tests of acosh, asinh and
1870 atanh.
1871 * math/auto-libm-test-out: Regenerated.
1872 * sysdeps/i386/fpu/libm-test-ulps: Update.
1873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1874
e9b10151
JM
1875 * math/auto-libm-test-in: Add another test of asin.
1876 * math/auto-libm-test-out: Regenerated.
1877 * sysdeps/i386/fpu/libm-test-ulps: Update.
1878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1879
9fa55373
JM
1880 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
1881 Remove macro.
1882 (LLL_EBX_REG): Likewise.
1883 (LLL_ENTER_KERNEL): Likewise.
1884
38755f14
JM
1885 * math/auto-libm-test-in: Add more tests of asin.
1886 * math/auto-libm-test-out: Regenerated.
1887 * sysdeps/i386/fpu/libm-test-ulps: Update.
1888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1889
a9fe4c5a
JM
1890 [BZ #18138]
1891 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
1892 libc_do_syscall_args): New structure.
1893 (INTERNAL_SYSCALL_MAIN_0): New macro.
1894 (INTERNAL_SYSCALL_MAIN_1): Likewise.
1895 (INTERNAL_SYSCALL_MAIN_2): Likewise.
1896 (INTERNAL_SYSCALL_MAIN_3): Likewise.
1897 (INTERNAL_SYSCALL_MAIN_4): Likewise.
1898 (INTERNAL_SYSCALL_MAIN_5): Likewise.
1899 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
1900 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
1901 Replace conditional definitions by conditional definitions of ....
1902 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
1903 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
1904 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
1905 (libpthread-sysdep_routines): Add libc-do-syscall.
1906 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
1907 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
1908 to __NR_futex not 240.
1909
afcd9480
AM
19102015-03-25 Alan Modra <amodra@gmail.com>
1911
1912 * NEWS: Advertise TLS optimization.
1913 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
1914 (DT_PPC_NUM): Increment.
1915 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
1916 (CHECK_STATIC_TLS): Use here.
1917 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
1918 TLS descriptors.
1919 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1920 * sysdeps/powerpc/dl-tls.c: New file.
1921 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
1922 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
1923 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
1924 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
1926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
1927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
1928
da9f3334
AM
19292015-03-25 Alan Modra <amodra@gmail.com>
1930
1931 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
1932 for overlapping .opd entries" to "support...".
1933 * sysdeps/powerpc/powerpc64/configure: Regenerate
1934
bc899ea0
JM
19352015-03-25 Joseph Myers <joseph@codesourcery.com>
1936
8d643971
JM
1937 * math/auto-libm-test-in: Add more tests of acos.
1938 * math/auto-libm-test-out: Regenerated.
1939 * sysdeps/i386/fpu/libm-test-ulps: Update.
1940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1941
bc899ea0
JM
1942 * math/auto-libm-test-in: Add more tests of expm1.
1943 * math/auto-libm-test-out: Regenerated.
1944 * sysdeps/i386/fpu/libm-test-ulps: Update.
1945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1946
7c84a504
JM
19472015-03-24 Joseph Myers <joseph@codesourcery.com>
1948
239ed6f3
JM
1949 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1950 * math/auto-libm-test-out: Regenerated.
1951 * sysdeps/i386/fpu/libm-test-ulps: Update.
1952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1953
a737e826
JM
1954 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1956
7c84a504
JM
1957 * math/auto-libm-test-in: Add more tests of log2.
1958 * math/auto-libm-test-out: Regenerated.
1959 * sysdeps/i386/fpu/libm-test-ulps: Update.
1960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1961
7e9c7b9b
RM
19622015-03-23 Roland McGrath <roland@hack.frob.com>
1963
1964 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
1965 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
1966 _IO_IS_APPENDING bit in READ_WRITE instead.
1967
98734cc5
FW
19682015-03-23 Florian Weimer <fweimer@redhat.com>
1969
1970 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1971 (__determine_cpumask_size): Replace extend_alloca with a
1972 variable-length array. Do not treat res == 0 as an error.
1973
2b028564
FW
19742015-03-23 Florian Weimer <fweimer@redhat.com>
1975
1976 [BZ #18100]
1977 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
1978 and integer overflow.
1979 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
1980 (main): Add integer overflow tests.
1981 * manual/pattern.texi (Calling Wordexp): Document additional use
1982 for WRDE_SYNTAX.
1983
59261ad3
AM
19842015-03-23 Alan Modra <amodra@gmail.com>
1985
1986 * config.h.in: Remove HAVE_ASM_PPC_REL16.
1987 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
1988 and false branch of conditional.
1989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1990 Likewise.
1991
d583531a
ST
19922015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
1993
1994 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
1995 libc-modules.h
868df0f9
ST
1996 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
1997 unused declaration of _hurd_intr_rpc_msg_in_trap.
1998 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
1999 defined instead of whether it is non-zero.
2000 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2001 input constraint instead of both input and output constraint. Use ecx
2002 clobber instead of %ecx.
2003 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2004 mutex_unlock): Use a statement expression instead of an expression list.
2005 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2006 type to vm_size_t instead of vm_address_t.
2007 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2008 defined instead of whether it is non-zero.
2009 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2010 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2011 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2012 comparisons with mapaddr.
2013 * nscd/nscd-client.h: Include <time.h>.
2014 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2015 9th parameter to __vm_region instead of int.
661a7dba 2016 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
2017 * scripts/check-local-headers.sh (exclude): Add device/,
2018 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2019 cthreads.h.
d583531a 2020
298e5d56
RM
20212015-03-19 Roland McGrath <roland@hack.frob.com>
2022
2023 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2024 to account for alignment padding.
2025 * sysdeps/arm/memmove.S: Likewise.
2026
becb26b8
CM
20272015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
2028
2029 * sysdeps/unix/sysv/linux/generic/README: New file.
2030
c2f5813a
JM
20312015-03-18 Joseph Myers <joseph@codesourcery.com>
2032
2033 [BZ #18138]
2034 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
2035 (futex_abstimed_wait)
2036 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
2037 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
2038 of lll_futex_timed_wait.
2039
ed6b0fe7
BH
20402015-03-18 Brad Hubbard <bhubbard@redhat.com>
2041
2042 [BZ #17542]
2043 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
2044
f8aeae34
AO
20452015-03-17 Alexandre Oliva <aoliva@redhat.com>
2046
2047 [BZ #17090]
2048 [BZ #17620]
2049 [BZ #17621]
2050 [BZ #17628]
2051 * NEWS: Update.
2052 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
2053 entries with Static TLS too. Skip entries past the end of the
2054 allocated DTV, from Alan Modra.
2055 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
2056 Static TLS DTV entry set up from...
2057 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
2058 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
2059 * nptl/allocatestack.c (init_one_static_tls): ... and here...
2060 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
2061 for Static TLS.
2062 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
2063 that the slot we find is associated with the given map before
2064 using its generation count.
2065 * nptl_db/db_info.c: Include ldsodefs.h.
2066 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
2067 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
2068 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
2069 (link_map::l_tls_offset): New struct field.
2070 (dtv_t::counter): Likewise.
2071 (rtld_global): New struct.
2072 (_rtld_global): New rtld variable.
2073 (dl_tls_dtv_slotinfo_list): New rtld global field.
2074 (dtv_slotinfo_list): New struct.
2075 (dtv_slotinfo): Likewise.
2076 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
2077 (td_lookup): Rename to...
2078 (td_mod_lookup): ... this. Use new mod parameter instead of
2079 LIBPTHREAD_SO.
2080 * nptl_db/td_thr_tlsbase.c: Include link.h.
2081 (dtv_slotinfo_list, dtv_slotinfo): New functions.
2082 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
2083 addresses even if the DTV is out of date or missing them.
2084 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
2085 index zero-length arrays.
2086 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
2087 (td_lookup): Make it a macro implemented in terms of...
2088 (td_mod_lookup): ... this declaration.
2089 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
2090 (DB_MAIN_VARIABLE): Likewise.
2091
b97eb2bd
L
20922015-03-16 H.J. Lu <hongjiu.lu@intel.com>
2093
2094 [BZ #18134]
2095 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2096
cb219290
PE
20972015-03-15 Paul Eggert <eggert@cs.ucla.edu>
2098
2099 * stdlib/setenv.c (__add_to_environ): Revert previous change.
2100
a3905fd9
AS
21012015-03-14 Andreas Schwab <schwab@linux-m68k.org>
2102
2103 [BZ #18128]
2104 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
2105 (atomic_add, atomic_increment_and_test)
2106 (atomic_decrement_and_test): Fix 64-bit arithmetic.
2107
2ecccaed
PE
21082015-03-13 Paul Eggert <eggert@cs.ucla.edu>
2109
2110 * stdlib/setenv.c (__add_to_environ):
2111 Dump core quickly if setenv (..., NULL, ...) is called.
2112
cdaf79d0
RM
21132015-03-13 Roland McGrath <roland@hack.frob.com>
2114
2115 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
2116 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
2117 all the necessary asm magic in one place.
2118 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
2119 using those.
2120
cf9313e7
CD
21212015-03-13 Carlos O'Donell <carlos@redhat.com>
2122
2123 [BZ #14906]
2124 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
2125 traced file mtime. Use consistent log message.
2126 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
2127 (register_traced_file): Call install_watches. Always set mtime.
2128 (invalidate_cache): Iterate over all trace files. Call install_watches.
2129 (inotify_check_files): Don't inline. Handle watching parent
2130 directories and configuration file movement in and out.
2131 (handle_inotify_events): New function.
2132 (main_loop_poll): Call handle_inotify_events.
2133 (main_loop_epoll): Likewise.
2134 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2135 (struct traced_file): Use array of inotify fds. Add parent directory,
2136 and basename.
2137 (struct database_dyn): Remove unused file_mtime.
2138 (init_traced_file): New inline function.
2139 (define_traced_file): New macro.
2140 * nss/nss_db/db-init.c: Use define_traced_file.
2141 (_nss_db_init): Use init_traced_file.
2142 * nss/nss_files/files-init.c: Use define_traced_file.
2143 (_nss_files_init): Use init_traced_file.
2144
7d67a196
JM
21452015-03-12 Joseph Myers <joseph@codesourcery.com>
2146
2147 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
2148 [_LIBC]: Do not include <stdlib.h>.
2149 [!_LIBC] (abort): Remove declaration.
2150 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
2151 _FP_STATIC_ASSERT instead of conditionally calling abort.
2152 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
2153 (_FP_EXTEND_CNAN): Likewise.
2154 (FP_TRUNC): Likewise.
2155 (__FP_CLZ): Likewise.
2156 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
2157
af85ebcd
YS
21582015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
2159
2160 * manual/string.texi (XPG basename): Fix prototype.
2161
2e807f29
SL
21622015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2163
2164 [BZ #18080]
2165 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
2166 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2167 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
2168 (__setcontext): Likewise.
2169 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
2170 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2171 Call rt_sigprocmask syscall one time to set new signal mask
2172 and retrieve the current signal mask instead of two calls.
2173 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
2174 (__swapcontext): Likewise.
2175 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
2176 * stdlib/tst-setcontext2.c: New file.
2177
1b2bebe6
SL
21782015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2179
2180 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2181
6a1cf708
AJ
21822015-03-11 Aurelien Jarno <aurelien@aurel32.net>
2183
2184 [BZ #18093]
2185 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2186 the wrong size.
2187
a2d4cf72
PP
21882015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2189
2190 [BZ #18043]
2191 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2192
5ca10a0c
AZ
21932015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2194
2195 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2196 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2197 Remove define.
2198 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2199 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2200 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2201 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2202 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2203 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2204 define.
2205 * nptl_db/td_symbol_list.c (td_lookup): Remove
2206 HAVE_ASM_GLOBAL_DOT_NAME code.
2207 * sysdeps/powerpc/powerpc64/configure.ac: Remove
2208 HAVE_ASM_GLOBAL_DOT_NAME check.
2209 * sysdeps/powerpc/powerpc64/configure: Regenerate.
2210 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2211 (DOT_LABEL): Remove define.
2212 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2213 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2214 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2215 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2216 (__TLS_GET_ADDR): Likewise.
2217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2218 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2219
e4363cfb
CD
22202015-03-11 Carlos O'Donell <carlos@redhat.com>
2221
2222 [BZ #18111]
2223 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2224 (_FPU_SETCW): Initialize cw from fpsr before storing.
2225 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2226 (fesetexceptflag): Rewrite using fpu_control.h.
2227 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2228
fae1aa8d
JDA
22292015-03-11 John David Anglin <danglin@gcc.gnu.org>
2230
2231 [BZ #18110]
2232 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2233 asms.
2234 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2235
068a6274
JM
22362015-03-11 Joseph Myers <joseph@codesourcery.com>
2237
2238 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2239 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2240 abort.
2241 (_FP_FMA): Likewise.
2242 (_FP_DIV): Likewise.
2243
d3821ab0
RM
22442015-03-10 Roland McGrath <roland@hack.frob.com>
2245
44a6213c
RM
2246 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2247 with 0 in that case.
2248 * Makefile (summarize-tests): New canned sequence, factored out of
2249 commands for targets tests and xtests. Display summary lines that
2250 don't start with PASS: or XFAIL: rather than ones that do start with
2251 ERROR: or FAIL:. Make the commands fail if any summary lines fail
2252 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2253 do start with ERROR: or FAIL:.
2254 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2255 (except for [$(build-shared) = yes]).
2256 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2257 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2258 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2259 * nptl/Makefile: Revert 2015-03-04 changes.
2260 [$(CXX) empty] (tests-unsupported): New variable.
2261 * debug/Makefile: Likewise.
2262
d3821ab0
RM
2263 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2264 gnulib file. Replace __attribute with __attribute__ throughout.
2265
85ca85ae
CD
22662015-03-10 Carlos O'Donell <carlos@redhat.com>
2267
2268 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2269
6411f81d
JM
22702015-03-10 Joseph Myers <joseph@codesourcery.com>
2271
2272 [BZ #18104]
2273 * math/auto-libm-test-in: Add another test of pow.
2274 * math/auto-libm-test-out: Regenerated.
2275
d421868b
AZ
22762015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2277
2278 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2279 $(config-cflags-nofma).
2280
a2f8be9c
JM
22812015-03-10 Joseph Myers <joseph@codesourcery.com>
2282
2283 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2284 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2285 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2286 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2287 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2288 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2289 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2290 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2291 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2292 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2293 Add comment on closing #endif.
2294
01d032e0
PP
22952015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2296
2297 * posix/wordexp.c (CHAR_IN_SET): New macro.
2298 (parse_param): Use it.
2299
d439bc56
AZ
23002015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2301
2302 * sysdeps/powerpc/fpu/libm-test-ulps: update.
2303
5f85a4bf
PP
23042015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2305
2306 [BZ #18043]
2307 * posix/wordexp.c (parse_param): Fix buffer overflow.
2308 * posix/wordexp-test.c (test_case): Add test case.
2309
f8ba70e9
PP
23102015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2311
2312 [BZ #18042]
2313 * posix/wordexp.c (parse_backtick): Fix off-by-one.
2314 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2315
36103ba2
PP
23162015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2317
2318 [BZ #18043]
2319 * posix/wordexp-test.c (test_case): Add test for BZ #18043
2320 (do_bz18043): Delete.
2321 (at_page_end): New.
2322 (testit): Refactor to have words at the edge of unreadable page.
2323
18d26750
PP
23242015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2325
2326 [BZ #16734]
2327 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2328 Cleanup read-only streams as well.
2329 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2330
9f95dc5d
ST
23312015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2332
2333 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2334 <bits/libc-lockP.h>
2335
b838844b
JM
23362015-03-07 Joseph Myers <joseph@codesourcery.com>
2337
2338 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
2339 on [__KERNEL__].
2340 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2341 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2342 * soft-fp/op-common.h (_FP_DECL): Likewise.
2343
e0ed2fb4
L
23442015-03-06 H.J. Lu <hongjiu.lu@intel.com>
2345
2346 * elf/ifuncdep2.c (global): Replace
2347 __attribute__((visibility("protected"))) with
2348 asm (".protected global").
2349 * elf/ifuncmod1.c (global): Likewise.
2350 * elf/ifuncmod5.c (global): Likewise.
2351
fa9dda64
JM
23522015-03-06 Joseph Myers <joseph@codesourcery.com>
2353
2354 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2355 <asm/sfp-machine.h> instead of <sfp-machine.h>.
2356
4acc27ed
RM
23572015-03-06 Roland McGrath <roland@hack.frob.com>
2358
2359 * manual/install.texi (Configuring and compiling):
2360 Document test-wrapper-env-only.
2361 * INSTALL: Regenerated.
2362
895c30cb
PP
23632015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2364
2365 [BZ #18043]
2366 * posix/wordexp.c (parse_param): Fix buffer overflow.
2367 * posix/wordexp-test.c (do_bz18043): Add test case.
2368
5df56c7e
VB
23692015-03-06 Vincent Bernat <vincent@bernat.im>
2370
2371 * time/tst-strptime2.c (do_test): Ensure failing tests are
2372 reported correctly.
2373 * time/tst-strptime3.c (do_test): Likewise.
2374
1cdf2ea1
ST
23752015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
2376
2377 Fix aio_error thread-safety.
1cdf2ea1
ST
2378 * sysdeps/pthread/aio_error.c: New file
2379 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2380 synchronization.
2381
d176a41a
FW
23822015-03-06 Florian Weimer <fweimer@redhat.com>
2383
2384 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2385 (group_number, vfprintf): Use it.
1597b744
FW
2386 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2387 (JUMP, REF): Use it.
2388 (WORK_BUFFER_SIZE): New enum constant.
2389 (process_arg, vfprintf): Use it.
d176a41a 2390
7e7af349
RJ
23912015-03-06 Rical Jasan <ricaljasan@pacific.net>
2392
2393 * manual/errno.texi (Error Messages): Complete example function
2394 by adding missing #define.
2395 (program_invocation_name): Add statement indicating GNU
2396 extension and reference which header file declares the variable.
2397 (program_invocation_short_name): Likewise.
2398
4ca8ddfb
MF
23992015-03-06 Mike Frysinger <vapier@gentoo.org>
2400
2401 * manual/errno.texi (Error Messages): Delete strerror ISO C89
2402 compatibility note.
2403
9162c01d
RM
24042015-03-05 Roland McGrath <roland@hack.frob.com>
2405
2406 * Makeconfig (test-wrapper-env-only): New variable.
2407 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2408 then use that with $(test-wrapper-env-only) rather than using
2409 $(test-wrapper-env) $(run-program-env) $($*-ENV).
2410
209826bc
L
24112015-03-05 H.J. Lu <hongjiu.lu@intel.com>
2412
2413 [BZ #18082]
2414 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2415 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2416 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2417 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2418 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2419 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2420 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2421 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2422 Likewise.
2423 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2424 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2425 Likewise.
2426 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2427 Likewise.
2428 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2429 Likewise.
2430 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2431 Likewise.
2432 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
2433 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
2434 Likewise.
2435 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
2436 Likewise.
2437 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
2438 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
2439
2cfe32bc
RM
24402015-03-04 Roland McGrath <roland@hack.frob.com>
2441
8bff5aab
RM
2442 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
2443 (ETH_ALEN): New macro.
2444 (struct ether_addr): Use it for length of ether_addr_octet.
2445
2752f338
RM
2446 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
2447 (setdb): Don't call __nss_configure_lookup for "rpc".
2448 (do_test): Don't call test_rpc.
2449 (output_rpcent, test_rpc): Functions moved ...
2450 * sunrpc/test-rpcent.c: ... to this new file.
2451 * sunrpc/Makefile (tests): Add it.
2452
2cfe32bc
RM
2453 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
2454 __xpg_sigpause.
2455 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
2456 * nptl/tst-signal6.c: Likewise.
2457 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
2458 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
2459
e4693aa7
RM
2460 * configure.ac (libc_cv_cxx_link_ok): New check.
2461 Reset CXX to empty if it fails to link.
2462 * configure: Regenerated.
2463 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
2464 bug-atexit3-lib only if $(CXX) is nonempty.
2465 * nptl/Makefile (tests): Likewise for tst-cancel24.
2466 (tests, tests-static): Likewise for tst-cancel24-static.
2467 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
2468 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
2469 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
2470 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 2471
8e2e833a
AS
24722015-03-04 Andreas Schwab <schwab@suse.de>
2473
2474 [BZ #17631]
2475 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
2476 for non-GCC compilers.
2477 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2478 Likewise.
2479
85b29045
AZ
24802015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2481
2482 [BZ #17776]
2483 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
2484 integer before bitwise and assembly operations.
2485 (feclearexcept): Likewise.
2486 * math/test-fenvinline.c: New file.
2487 * math/Makefile: Add test-fenvinline test.
2488
a0af371c
AM
24892015-03-03 Alan Modra <amodra@gmail.com>
2490
2491 [BZ #16512]
2492 * scripts/localplt.awk: Strip off symbol version.
2493 * NEWS: Mention bug fix.
2494
47465629
RM
24952015-03-02 Roland McGrath <roland@hack.frob.com>
2496
2497 * sysdeps/pthread/timer_routines.c
2498 (timer_free_list, thread_free_list, thread_active_list): Make static.
2499
6d08b022
JM
25002015-03-02 Joseph Myers <joseph@codesourcery.com>
2501
2502 [BZ #17779]
2503 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2504 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2505 Undefine.
2506 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2507 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2508 Likewise.
2509 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2510 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2511 Likewise.
2512
c2c6d39f
PP
25132015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2514
2515 [BZ #18036]
2516 * posix/fnmatch_loop.c (END): Detect invalid pattern.
2517 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
2518
e8b6be00
AS
25192015-03-02 Andreas Schwab <schwab@suse.de>
2520
2521 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
2522 variable name.
2523
1a2d98af
FW
25242015-03-02 Florian Weimer <fweimer@redhat.com>
2525
2526 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
2527 Return error status.
2528
e7f07af5
AO
25292015-02-27 Alexandre Oliva <aoliva@redhat.com>
2530
2531 [BZ #15969]
2532 * locale/findlocale.c (_nl_find_locale): Introduce const
2533 version of loc_name and drop unsafe type casts.
2534
c7b19ca9
RM
25352015-02-27 Roland McGrath <roland@hack.frob.com>
2536
2537 * dlfcn/tststatic2.c (main): Converted to ...
2538 (do_test): ... this.
2539 (TEST_FUNCTION): New macro.
2540 Include test-skeleton.c.
2541
ef4ad06f
L
25422015-02-27 H.J. Lu <hongjiu.lu@intel.com>
2543
2544 [BZ #17711]
2545 * elf/Makefile (tests): Add vismain only if PIE is enabled.
2546 (tests-pie): Add vismain.
2547 (CFLAGS-vismain.c): New.
2548 * elf/vismain.c: Add comments for PIE requirement.
2549
2ca725c5
JM
25502015-02-27 Joseph Myers <joseph@codesourcery.com>
2551
2552 [BZ #18046]
2553 [BZ #18047]
2554 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
2555 0x1p-56L as threshold for just returning the argument.
2556 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
2557 0x1p-32L as threshold for just returning the argument.
2558 * math/auto-libm-test-in: Add more tests of atanh.
2559 * math/auto-libm-test-out: Regenerated.
2560 * sysdeps/i386/fpu/libm-test-ulps: Update.
2561 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
2562
af96be34
WD
25632015-02-27 Wilco Dijkstra wdijkstr@arm.com
2564
2565 * string/bcopy.c (bcopy): Call memmove for performance.
2566
ddcf6798
WD
25672015-02-27 Wilco Dijkstra wdijkstr@arm.com
2568
2569 * string/bzero.c (__bzero): Call memset for performance.
2570
49f476f4
JDA
25712015-02-27 John David Anglin <dave.anglin@bell.net>
2572
b42e14ff 2573 [BZ #18068]
49f476f4
JDA
2574 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
2575 to 00100000.
2576
f8ab5d38
JM
25772015-02-27 Joseph Myers <joseph@codesourcery.com>
2578
2579 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
2580
380bd0fd
JM
25812015-02-26 Joseph Myers <joseph@codesourcery.com>
2582
31331a07
JM
2583 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
2584 (__kernel_standard): Use CSTR macro when setting exc.name.
2585 * sysdeps/ieee754/Makefile [$(subdir) = math]
2586 (CFLAGS-k_standard.c): Remove variable.
2587
09220e66
JM
2588 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
2589 setting p and q from "else if" to "else".
2590 (qzero): Likewise.
2591 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
2592 (qone): Likewise.
2593 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
2594 (qzerof): Likewise.
2595 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
2596 (qonef): Likewise.
2597 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
2598 (qzero): Likewise.
2599 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
2600 (qone): Likewise.
2601
1d9ab20c
JM
2602 [BZ #18038]
2603 [BZ #18039]
2604 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
2605 return pi/2 for arguments below 0x1p-113L.
2606 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
2607 return pi/2 for arguments below 0x1p-106L.
2608 * math/auto-libm-test-in: Add more tests of acos.
2609 * math/auto-libm-test-out: Regenerated.
2610
ec0ce0d3
JM
2611 [BZ #16351]
2612 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
2613 (MO): New macro.
2614 (__ieee754_asin): Force underflow exception for results with small
2615 absolute value.
2616 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
2617 (MO): New macro.
2618 (__ieee754_asinf): Force underflow exception for results with
2619 small absolute value.
2620 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
2621 (__ieee754_asin): Force underflow exception for results with small
2622 absolute value.
2623 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
2624 (__ieee754_asinf): Force underflow exception for results with
2625 small absolute value.
2626 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
2627 (__ieee754_asinl): Force underflow exception for results with
2628 small absolute value.
2629 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
2630 (__ieee754_asinl): Force underflow exception for results with
2631 small absolute value.
2632 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
2633 (__ieee754_asinl): Force underflow exception for results with
2634 small absolute value.
2635 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2636 Include <math.h>.
2637 * math/auto-libm-test-in: Do not mark underflow exceptions as
2638 possibly missing for bug 16351.
2639 * math/auto-libm-test-out: Regenerated.
2640
380bd0fd
JM
2641 [BZ #18030]
2642 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
2643 of power of 2 down when low part has opposite sign.
2644 * math/libm-test.inc (logb_test_data): Add more tests.
2645
4a28f4d5
AS
26462015-02-26 Andreas Schwab <schwab@suse.de>
2647
2648 [BZ #18032]
2649 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
2650 over collating symbol inside a bracket expression. Minor cleanup.
2651 * posix/tst-fnmatch3.c (do_test): Add test case.
2652
524ae9ea
JM
26532015-02-26 Joseph Myers <joseph@codesourcery.com>
2654
2655 [BZ #18029]
2656 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
2657 Adjust exponent of power of 2 down when low part has opposite
2658 sign.
2659 * math/libm-test.inc (ilogb_test_data): Add more tests.
2660
23d43090
AO
26612015-02-26 Alexandre Oliva <aoliva@redhat.com>
2662
2663 [BZ #15969]
2664 * locale/findlocale.c (_nl_find_locale): Fix constness error in
2665 the previous change.
0d822a01
AO
2666
2667 [BZ #15969]
2668 * locale/findlocale.c (_nl_find_locale): Retry archive search
2669 after alias expansion.
2670
d19df6ac
RM
26712015-02-25 Roland McGrath <roland@hack.frob.com>
2672
ca681b7b
RM
2673 * iconv/tst-iconv3.c (main): Converted to ...
2674 (do_test): ... this.
2675 (TEST_FUNCTION): New macro.
2676 Include test-skeleton.c.
2677
fd1f2f1c
RM
2678 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
2679 (convert): Make function static.
2680 (test_unalign): Likewise. Add const to argument pointee types.
2681 (main): Replace with static function do_test.
2682 Print "Succeeded." only if RET is zero.
2683 (TEST_FUNCTION): New macro.
2684 Include test-skeleton.c.
2685
d19df6ac
RM
2686 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
2687 returns a null pointer.
2688
115e0de7
AZ
26892015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2690
2691 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
2692 to __memcpy_ppc only for static builds.
2693
137cef7d
JM
26942015-02-25 Joseph Myers <joseph@codesourcery.com>
2695
2696 [BZ #18020]
2697 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
2698 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
2699 * math/auto-libm-test-in: Add more tests of asinh.
2700 * math/auto-libm-test-out: Regenerated.
2701 * sysdeps/i386/fpu/libm-test-ulps: Update.
2702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2703
cb43bb0d
CW
27042015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
2705
2706 [BZ #15850]
2707 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
2708 and ip6_mtuinfo definitions here.
2709 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
2710 in this define too. Update comment.
2711
9be1052b
BS
27122015-02-24 Benno Schulenberg <bensberg@justemail.net>
2713
2714 * elf/sprof.c (load_shobj): Tweak error message to match others.
2715
6807b1db
KE
27162015-02-24 Kevin Easton <kevin@guarana.org>
2717
2718 [BZ #16145] (partial fix)
2719 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
2720 to reduce lock contention.
2721
b433df00
ML
27222015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
2723
2724 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
2725 (struct timex): Update time comment.
2726 (ADJ_SETOFFSET): Define.
2727
440169d6
JM
27282015-02-24 Joseph Myers <joseph@codesourcery.com>
2729
2730 [BZ #18019]
2731 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2732 2**56 not 2**28 as threshold for log (2x) formula.
2733 * math/auto-libm-test-in: Add more tests of acosh.
2734 * math/auto-libm-test-out: Regenerated.
2735 * sysdeps/i386/fpu/libm-test-ulps: Update.
2736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2737
ba7d2c54
MF
27382015-02-24 Mike Frysinger <vapier@gentoo.org>
2739
2740 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
2741 parenthesis around the buf assignment.
2742 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
2743
9438b237
JM
27442015-02-24 Joseph Myers <joseph@codesourcery.com>
2745
2746 [BZ #16783]
2747 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
2748 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
2749 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
2750 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2751 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2752 * math/libm-test.inc (scalb_test_data): Add more tests.
2753
6909d276
PP
27542015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2755
2756 [BZ #17916]
2757 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
2758 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
2759
65f6f938
ER
27602015-02-24 Eric Rannaud <e@nanocritical.com>
2761
2762 [BZ #17523]
2763 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
2764 * io/bits/fcntl2.h (open): Use it.
2765 (openat): Likewise.
2766 * io/open.c (__libc_open): Likewise.
2767 * io/open64.c (__libc_open64): Likewise.
2768 * io/open64_2.c (__open64_2): Likewise.
2769 * io/open_2.c (__open_2): Likewise.
2770 * io/openat.c (__openat): Likewise.
2771 * io/openat64.c (__openat64): Likewise.
2772 * io/openat64_2.c (__openat64_2): Likewise.
2773 * io/openat_2.c (__openat_2): Likewise.
2774 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
2775 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2776 * sysdeps/posix/open64.c (__libc_open64): Likewise.
2777 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2778 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2779 (__open_nocancel): Likewise.
2780 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2781 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2782 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
2783
3e3002ff
SP
27842015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2785
2786 [BZ #14841]
2787 * resolv/gethnamaddr.c (getanswer): Skip logging if
2788 RES_USE_DNSSEC is set.
2789 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2790
9813dd58
MF
27912015-02-24 Mike Frysinger <vapier@gentoo.org>
2792
2793 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
2794
7b1ec6a0
AO
27952015-02-23 Alexandre Oliva <aoliva@redhat.com>
2796
2797 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2798 201304L, for Unicode 7.
2799
d49499c1
L
28002015-02-23 H.J. Lu <hongjiu.lu@intel.com>
2801
2802 [BZ #17836]
2803 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
2804 shared library. Add gmon-start.os otherwise.
2805 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
2806 $(objpfx)gmon-start.os if builing shared library.
2807 ($(objpfx)g$(static-start-installed-name)): Likewise.
2808
51225803
AS
28092015-02-23 Andreas Schwab <schwab@suse.de>
2810
2811 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
2812
bdf1ff05
PP
28132015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2814
2815 [BZ #17269]
2816 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
2817 (enlarge_userbuf): Likewise.
2818
95296112
CLT
28192015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
2820
2821 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
2822 * math/atest-exp.c (TIMEOUT): Adjust to 200.
2823 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
2824 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
2825
e4a399dc
JM
28262015-02-20 Joseph Myers <joseph@codesourcery.com>
2827
2828 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
2829 expression inside statement expression.
2830
7133957f
SL
28312015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2832
2833 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
2834 <sysdeps/nptl/lowlevellock.h> and remove macros and
2835 functions that are now defined there.
2836 (SYS_futex): Remove.
2837 (lll_compare_and_swap): Remove.
2838 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
2839
40176158
JM
28402015-02-19 Joseph Myers <joseph@codesourcery.com>
2841
2842 [BZ #17999]
2843 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
2844 instead of scandirat.
2845 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
2846 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
2847 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
2848 __scandirat.
2849 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
2850 (__scandirat): Declare. Use libc_hidden_proto.
2851 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
2852 Remove variable.
2853 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2854
4629c866
JM
28552015-02-18 Joseph Myers <joseph@codesourcery.com>
2856
2857 [BZ #15319]
2858 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
2859 (MO): New macro.
2860 (__ieee754_atan2): For results with small absolute value, force
2861 underflow exception and remove excess range and precision from
2862 return value.
2863 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
2864 (MO): New macro.
2865 (__ieee754_atan2f): For results with small absolute value, force
2866 underflow exception and remove excess range and precision from
2867 return value.
2868 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
2869 (MO): New macro.
2870 (__atan): For results with small absolute value, force underflow
2871 exception and remove excess range and precision from return value.
2872 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
2873 (MO): New macro.
2874 (__atanf): For results with small absolute value, force underflow
2875 exception and remove excess range and precision from return value.
2876 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
2877 <math.h>.
2878 (__ieee754_atan2): Force underflow exception for results with
2879 small absolute value.
2880 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
2881 <math_private.h>.
2882 (atan): Force underflow exception for results with small absolute
2883 value.
2884 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
2885 (__atanf): Force underflow exception for results with small
2886 absolute value.
2887 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
2888 <math.h>.
2889 (__atanl): Force underflow exception for results with small
2890 absolute value.
2891 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
2892 (__atanl): Force underflow exception for results with small
2893 absolute value.
2894 * sysdeps/x86/fpu/bits/mathinline.h
2895 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
2896 (__ieee754_atan2): Only define inline for long double.
2897 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2898 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
2899 * math/auto-libm-test-in: Do not mark underflow exceptions as
2900 possibly missing for bug 15319. Add more tests of atan2.
2901 * math/auto-libm-test-out: Regenerated.
2902 * math/libm-test.inc (casin_test_data): Do not mark underflow
2903 exceptions as possibly missing for bug 15319.
2904 (casinh_test_data): Likewise.
2905 * sysdeps/i386/fpu/libm-test-ulps: Update.
2906
9ee16d8b
SE
29072015-02-18 Steve Ellcey <sellcey@imgtec.com>
2908
2909 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
2910 * sysdeps/mips/bits/endian.h: Fix comments.
2911
4ffb1771
JM
29122015-02-18 Joseph Myers <joseph@codesourcery.com>
2913
2914 [BZ #17996]
2915 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
2916 (hdestroy_r): Likewise.
2917 (hsearch_r): Likewise.
2918 (__hcreate_r): Declare and use libc_hidden_proto.
2919 (__hdestroy_r): Likewise.
2920 (__hsearch_r): Likewise.
2921 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
2922 (hcreate): Call __hcreate_r instead of hcreate_r.
2923 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
2924 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
2925 as weak alias of __hcreate_r.
2926 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
2927 __hdestroy_r.
2928 (hsearch_r): Rename to __hsearch_r and define as weak alias of
2929 __hsearch_r.
2930 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
2931 Remove variable.
2932 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2933 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2934 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2935 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2936
94c5a52a
SP
29372015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2938
2939 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
2940 arena_lock into a single arena_get.
2941
8a35c3fe
CD
29422015-02-17 Carlos O'Donell <carlos@redhat.com>
2943
2944 * dl-reloc.c: Inlucde libc-internal.h.
2945 (_dl_try_allocate_static_tls): Call ALIGN_UP.
2946 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
2947 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
2948 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
2949 (grow_heap): Likewise.
2950 * malloc/malloc.c: Include libc-internal.h.
2951 (do_check_malloc): Call powerof2.
2952 (sysmalloc): Use pagesize. Call ALIGN_UP.
2953 (systrim): Use pagesize.
2954 (mremap_chunk): Use pagesize. Call ALIGN_UP.
2955 (__libc_valloc): Use pagesize.
2956 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
2957
1a2325c0
JM
29582015-02-17 Joseph Myers <joseph@codesourcery.com>
2959
2960 [BZ #17991]
2961 * include/sys/resource.h (__getrlimit64): Declare. Use
2962 libc_hidden_proto.
2963 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
2964 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
2965 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
2966 getrlimit64.
2967 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
2968 __getrlimit64.
2969 [!getrlimit64] (getrlimit64): Define as weak alias of
2970 __getrlimit64. Use libc_hidden_weak.
2971 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
2972 using __getrlimit64 not __new_getrlimit64.
2973 (__GI_getrlimit64): Likewise.
2974 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
2975 Likewise.
2976 (__GI_getrlimit64): Likewise.
2977 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
2978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
2979 (getrlimit): Add __getrlimit64 alias.
2980 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
2981 Likewise.
2982 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
2983 Remove variable.
2984 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2985 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2986
8ae4bb5a
PP
29872015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
2988
2989 * libio/fileops.c: Add missing sys/mman.h
2990 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
2991
18a218b7
JM
29922015-02-17 Joseph Myers <joseph@codesourcery.com>
2993
2994 * manual/math.texi (Errors in Math Functions): Clarify goals
2995 regarding inexact and underflow exceptions.
2996
e72ad0ef
SE
29972015-02-17 Steve Ellcey <sellcey@imgtec.com>
2998
2999 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3000 * sysdeps/mips/memset.S: Ditto.
3001
2caa4099
SE
30022015-02-17 Steve Ellcey <sellcey@imgtec.com>
3003
3004 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3005
f20bfc9b
SL
30062015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3007
3008 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3009 (__v1longjmp): Remove versioned symbol.
3010 (__v1siglongjmp): Remove alias and versioned symbol.
3011 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3012 (__v2siglongjmp): Likewise.
3013
71c06b69
TR
30142015-02-16 Torvald Riegel <triegel@redhat.com>
3015
3016 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3017
a9a05adb
MF
30182015-02-16 Mike Frysinger <vapier@gentoo.org>
3019
3020 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3021
ce8fc784
JM
30222015-02-16 Joseph Myers <joseph@codesourcery.com>
3023
3024 [BZ #17987]
3025 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3026 zero result does not depend on the sign resulting from
3027 subtraction.
3028 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3029 Likewise.
3030 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3031 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3032 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3033 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3034 * math/libm-test.inc (remquo_test_data): Add more tests.
3035
0d7036bd
PE
30362015-02-16 Paul Eggert <eggert@cs.ucla.edu>
3037
3038 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
3039 Problem reported by J William Piggott.
3040
86c56b16
JM
30412015-02-16 Joseph Myers <joseph@codesourcery.com>
3042
a820f9b3
JM
3043 [BZ #17978]
3044 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
3045 products 4 * y and 2 * y where those would overflow.
3046 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3047 Likewise.
3048 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3049 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3050 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3051 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3052 * math/libm-test.inc (remquo_test_data): Add more tests.
3053
be802953
JM
3054 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
3055
e5e72fe9
JM
3056 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
3057 [defined _COMPILING_NEWLIB].
3058 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
3059 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
3060
86c56b16
JM
3061 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
3062 [!defined __mips_isa_rev || __mips_isa_rev < 6].
3063
35264d14
TR
30642015-02-16 Torvald Riegel <triegel@redhat.com>
3065
3066 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
3067 acquired.
3068
6f49e32a
MF
30692015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
3070
3071 [BZ #17792]
3072 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
3073 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
3074 HOST_STACK_END_ADDR): Likewise.
3075
e525154e
SE
30762015-02-13 Steve Ellcey <sellcey@imgtec.com>
3077
3078 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
3079 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
3080 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
3081
4ab770b7
RM
30822015-02-13 Roland McGrath <roland@hack.frob.com>
3083
3084 * sysdeps/generic/c++-types.data: New file.
3085 * sysdeps/generic/ld.abilist: New file.
3086 * sysdeps/generic/libBrokenLocale.abilist: New file.
3087 * sysdeps/generic/libanl.abilist: New file.
3088 * sysdeps/generic/libc.abilist: New file.
3089 * sysdeps/generic/libcrypt.abilist: New file.
3090 * sysdeps/generic/libdl.abilist: New file.
3091 * sysdeps/generic/libm.abilist: New file.
3092 * sysdeps/generic/libpthread.abilist: New file.
3093 * sysdeps/generic/libresolv.abilist: New file.
3094 * sysdeps/generic/librt.abilist: New file.
3095
d9afe48d
JM
30962015-02-13 Joseph Myers <joseph@codesourcery.com>
3097
3098 [BZ #17569]
3099 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3100 Compute absolute value of x as modified by fmod, not original
3101 value of x.
3102 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
3103 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
3104 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
3105 RUN_TEST_ffI_f1_mod8.
3106 (remquo_test_data): Add more tests.
3107
3846188b
RM
31082015-02-13 Roland McGrath <roland@hack.frob.com>
3109
3110 * sysdeps/init_array/pt-crti.S: New file.
3111
95c26233
JM
31122015-02-13 Joseph Myers <joseph@codesourcery.com>
3113
3114 [BZ #17967]
3115 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
3116 __builtin_fmaf instead of relying on contraction of a * b + c.
3117
3f293d61
WP
31182015-02-12 J William Piggott <elseifthen@gmx.com>
3119
3120 [BZ #17969]
3121 * manual/time.texi: correct the zoneinfo path in the TZ Variable
3122 node.
3123
e8bd5286
JM
31242015-02-12 Joseph Myers <joseph@codesourcery.com>
3125
3126 [BZ #17964]
3127 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
3128 __builtin_fma instead of relying on contraction of a * b + c.
3129
04f5a636
RM
31302015-02-12 Roland McGrath <roland@hack.frob.com>
3131
96a15749
RM
3132 * Makeconfig (ASFLAGS): Add -Werror=undef.
3133 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3134 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3135 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
3136
04f5a636
RM
3137 * Makeconfig (after-link): New variable.
3138 (+link-pie, +link-pie-tests): Use it.
3139 (+link-static, +link-static-tests): Likewise.
3140 (+link, +link-tests): Likewise.
3141 * Makerules (build-module, build-module-asneeded): Likewise.
3142 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
3143 Likewise.
3144 * elf/Makefile ($(objpfx)ld.so): Likewise.
3145
87a629c5
RS
31462015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3147
3148 [BZ #17965]
3149 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
3150 both struct timeval and struct timespec.
3151
03d95bd4
JM
31522015-02-12 Joseph Myers <joseph@codesourcery.com>
3153
3154 [BZ #16560]
3155 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3156 and redefine.
3157 (__ieee754_exp2l): Do not multiply small fractional parts by
3158 M_LN2l.
3159 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
3160 small argument.
3161 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3162 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3163 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
3164 * math/auto-libm-test-in: Add more tests of exp2.
3165 * math/auto-libm-test-out: Regenerated.
3166
98408b95
RS
31672015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3168
3169 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
3170 unaligned path.
3171
6f741503
AZ
31722015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3173
3174 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
3175 little endian.
3176
2868e070
AS
31772015-02-12 Andreas Schwab <schwab@suse.de>
3178
3179 [BZ #15790]
3180 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3181 Filter out elision flags from value returned in kind.
3182 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
3183 * nptl/tst-pthread-mutexattr.c: New file.
3184
ebf27d12
ST
31852015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
3186
3187 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3188 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3189 into gnu-gnu, and update comment to refer to abi-tags.
3190
d435569c
JM
31912015-02-11 Joseph Myers <joseph@codesourcery.com>
3192
3193 [BZ #15467]
3194 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3195 (__sincos): Set errno to EDOM for infinite argument.
3196 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3197 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3198 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3199 (__sincosl): Set errno to EDOM for infinite argument.
3200 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3201 (__sincosl): Set errno to EDOM for infinite argument.
3202 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3203 (__sincosl): Set errno to EDOM for infinite argument.
3204 * math/libm-test.inc (sincos_test_data): Test errno setting.
3205
d35273f2
LH
32062015-02-11 Leonhard Holz <leonhard.holz@web.de>
3207
3208 * string/strxfrm_l.c: Remove #define STRCMP.
3209 * string/strcoll_l.c: Remove #define STRLEN.
3210 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3211 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3212
306bc0d1
JM
32132015-02-10 Joseph Myers <joseph@codesourcery.com>
3214
3215 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3216 * sysdeps/mips/mips32/sfp-machine.h: ... here.
3217 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3218 * sysdeps/mips/mips64/Makefile: ... here.
3219 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3220 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3221 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3222 * sysdeps/mips/mips64/sfp-machine.h: ... here.
3223 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3224 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3225 * sysdeps/mips/mips64/n64/Implies: Likewise.
3226
92b67e8d
RM
32272015-02-10 Roland McGrath <roland@hack.frob.com>
3228
3229 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3230 <sys/time.h>, <string.h>, and <errno.h>.
3231 (dest_offset, dest_address, value, zero): Remove unused variables.
3232 (ldouble): Remove typedef.
3233 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3234 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
3235 1). Fix code style.
3236 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3237 (check): Function removed.
3238 (CHECK): New macro.
3239 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
3240 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3241 Don't call set_sigaction_FP and remove_sigaction_FP here.
3242 (ldouble_test): Just use 'long double' as macro argument, no need for
3243 the 'ldouble' typedef.
3244 (do_test): Set up SIGFPE handler at start, using plain signal rather
3245 than sigaction. Fix code style.
3246
132a1328
EF
32472015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
3248
3249 [BZ #17949]
3250 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3251 jump label.
3252
3001e54c
AZ
32532015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3254
bc0cdc49
AZ
3255 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3256 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3257
83658961
AZ
3258 * sysdeps/powerpc/configure.ac: Remove file.
3259 * sysdeps/powerpc/configure: Likewise.
3260
10169938
AZ
3261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3262 [sysdep_routines]: Remove wordcopy-power6 object.
3263 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3264 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3265 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3266 (__memmove_ppc32): Likewise.
3267 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3268 file.
3269 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3270 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3271 Remove preprocessor.
3272
8548a53d
AZ
3273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3274 [sysdep_routines]: Remove wide chars objects.
3275 [wcsmbs]: New rule for wide char objects.
3276
b2692114
AZ
3277 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3278 Remove wordcopy-power6 obejct.
3279 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3280 Use local call for wordcopy and memcpy symbols.
3281 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3282 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3283 implementation for loader.
3284 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3285
18e270aa
AZ
3286 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3287 Remove wordcopy-power7 object.
3288 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3289 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3290 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3291 (_wordcopy_fwd_dest_aligned): Likewise.
3292 (_wordcopy_bwd_aligned): Likewise.
3293 (_wordcopy_bwd_dest_aligned): Likewise.
3294
6f0993a6
AZ
3295 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3296 Rewrite to call __memmove_ppc instead of include default
3297 implementation.
3298
3001e54c
AZ
3299 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3300 Remove wide chars objects.
3301 [wcsmbs]: New rule for wide char objects.
3302
59b61c82
AS
33032015-02-09 Andreas Schwab <schwab@suse.de>
3304
3305 [BZ #17912]
3306 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3307 in terms of __O_DIRECTORY.
3308
ebd7aede
ST
33092015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3310
3311 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
3312 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3313 call PTR_MANGLE.
3314 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3315 PTR_DEMANGLE.
ebd7aede 3316
3999d26e
PE
33172015-02-07 Paul Eggert <eggert@cs.ucla.edu>
3318
3319 Add ersatz _Static_assert on older C hosts
3320 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3321 pre-C11 C platform that is not known to support _Static_assert.
3322
e9a5bc1c
ST
33232015-02-07 Richard Braun <rbraun@sceen.net>
3324
3325 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3326 sigstate.
e86c5b64 3327 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 3328
e2049d17
ST
33292015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3330
3331 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3332 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
3333 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3334 instead of int.
3335 * misc/fchflags.c (fchflags): Likewise.
3336 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3337 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3338 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3339 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3340 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3341 Declare macros.
3342 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
3343 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3344 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
3345 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3346 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3347 45.
a9a002fb
ST
3348 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3349 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
3350 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3351 MACH_RCV_TIMED_OUT.
f96ec27a
ST
3352 * hurd/hurd/signal.h (_hurd_self_sigstate,
3353 _hurd_critical_section_lock, _hurd_critical_section_unlock):
3354 Explicit casts from void *.
4fc81a77 3355 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 3356 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 3357
f05826f0
ST
3358 [BZ #4719]
3359 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3360 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3361 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3362 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3363 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3364 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3365
a5eb23de
ST
3366 [BZ #17944]
3367 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3368 duplicates ADDR->sun_path with sockaddr LEN limitation.
3369 * sysdeps/mach/hurd/connect.c: Include <string.h>
3370 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3371 * sysdeps/mach/hurd/sendmsg.c: Likewise.
3372 * sysdeps/mach/hurd/sendto.c: Likewise.
3373 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3374 implementing it by hand.
3375
ac9e0e5e
RM
33762015-02-06 Roland McGrath <roland@hack.frob.com>
3377
f8d1bb4c
RM
3378 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3379 Use sfi_breg on ldr.
3380 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3381 Likewise.
3382
022f4812
RM
3383 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3384 it's defined.
3385 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3386 Test SIGSETXID only if it's defined.
3387
1ac074e6
RM
3388 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3389
f50ad78b
RM
3390 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3391 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
3392
9e7265f4
RM
3393 * nptl/tst-align2.c: Moved ...
3394 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3395 * nptl/Makefile (tests): Remove tst-align2.
3396 * sysdeps/unix/sysv/linux/Makefile
3397 [$(subdir) = nptl] (tests): Add tst-align-clone.
3398 * nptl/tst-getpid1.c: Moved ...
3399 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3400 * nptl/tst-getpid2.c: Moved ...
3401 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3402 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3403 * sysdeps/unix/sysv/linux/Makefile
3404 [$(subdir) = nptl] (tests): ... here.
3405 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3406 * sysdeps/unix/sysv/linux/Makefile
3407 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3408
62ad2abc
RM
3409 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3410 Drop trailing \n from perror argument. Use return rather than exit.
3411
cfa69b0b
RM
3412 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3413 on [SA_SIGINFO].
3414 * nptl/tst-cancel21.c (do_test): Likewise.
3415 * debug/tst-backtrace6.c: Include <signal.h> first thing.
3416 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3417 [!SA_SIGINFO]: Make it a stub test.
3418
82727806
RM
3419 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3420 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3421
da3a1594
RM
3422 * posix/tst-getlogin.c: Move to ...
3423 * login/tst-getlogin.c: ... here.
3424 * posix/Makefile (tests): Move tst-getlogin to ...
3425 * login/Makefile (tests): ... here.
3426
b65c0ff9
RM
3427 * libio/tst-atime.c (do_test): Move local variables SV and E
3428 inside [ST_NOATIME] conditional.
3429
56606ab3
RM
3430 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3431
ebf7d6ee
RM
3432 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
3433
ca0e0675
RM
3434 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
3435 (wait_code): New function replaces macro.
3436 Call nanosleep rather than syscall.
3437
8c28bbc6
RM
3438 * nptl/pt-system.c: Rewritten. Put everything under
3439 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3440 Use IFUNC to redirect when possible.
3441
ec2a88b3
RM
3442 * nptl/pt-longjmp.c: Rewritten. Put everything under
3443 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3444 Use IFUNC to redirect when possible.
3445
beff1d13
RM
3446 * nptl/pt-fork.c: Rewritten. Put everything under
3447 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3448 Use IFUNC to redirect when possible.
3449 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
3450
ea02c6b8
RM
3451 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
3452 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
3453 unconditionally nowadays. This included the only reference to
3454 __vdso_clock_gettime that appears outside libc proper.
3455 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
3456 Remove version set (containing only __vdso_clock_gettime).
3457 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3458 Add attribute_hidden.
3459 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3460 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
3461 libc_hidden_data_def.
3462 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3463 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3464
a1309c2b
RM
3465 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
3466 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
3467 setrpcent, and getrpcport to ...
3468 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
3469 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
3470 getrpcbynumber_r, and getrpcent_r to ...
3471 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
3472 * inet/getrpcbyname.c: Moved ...
3473 * sunrpc/getrpcbyname.c: ... here.
3474 * inet/getrpcbyname_r.c: Moved ...
3475 * sunrpc/getrpcbyname_r.c: ... here.
3476 * inet/getrpcbynumber.c: Moved ...
3477 * sunrpc/getrpcbynumber.c: ... here.
3478 * inet/getrpcbynumber_r.c: Moved ...
3479 * sunrpc/getrpcbynumber_r.c: ... here.
3480 * inet/getrpcent.c: Moved ...
3481 * sunrpc/getrpcent.c: ... here.
3482 * inet/getrpcent_r.c: Moved ...
3483 * sunrpc/getrpcent_r.c: ... here.
3484 * inet/Makefile (routines): Move those to ...
3485 * sunrpc/Makefile (routines): ... here.
3486 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
3487 the $(subdirs) list.
3488 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
3489 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
3490 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
3491 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
3492
ac9e0e5e
RM
3493 * elf/Makefile (routines): Include $(all-dl-routines), not just
3494 $(dl-routines).
3495 (rtld-routines): Likewise. Use = rather than :=.
3496 * sysdeps/aarch64/Makefile [$(subdir) = elf]
3497 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
3498 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
3499 * sysdeps/arm/Makefile: Likewise.
3500 * sysdeps/i386/Makefile: Likewise.
3501 * sysdeps/x86_64/Makefile: Likewise.
3502 * sysdeps/hppa/Makefile [$(subdir) = elf]
3503 (sysdep_routines, sysdep-rtld-routines): Don't add
3504 $(sysdep-dl-routines) to these.
3505 * sysdeps/ia64/Makefile: Likewise.
3506 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
3507 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
3508 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
3509 Don't add dl-static to these; sysdep-dl-routines alone is enough.
3510 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3511 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
3512 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
3513 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
3514 * sysdeps/powerpc/Makefile [$(subdir) = elf]
3515 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
3516 these; sysdep-dl-routines alone is enough.
3517
639e42eb
JM
35182015-02-06 Joseph Myers <joseph@codesourcery.com>
3519
1c7a4a51
JM
3520 [BZ #17932]
3521 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
3522 where multiplication results in zero and third argument is finite
3523 and nonzero.
3524 * math/auto-libm-test-in: Add more tests of fma.
3525 * math/auto-libm-test-out: Regenerated.
3526
61f006c1
JM
3527 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
3528 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
3529 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
3530 (_FP_CMP_EQ): Likewise.
3531 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
3532
639e42eb
JM
3533 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
3534 extra argument CHECK_NAN. Redefine as wrapper around
3535 _FP_EXTEND_CNAN.
3536
3c0c543b
CD
35372015-02-06 Carlos O'Donell <carlos@systemhalted.org>
3538
4e42b5b8
CD
3539 * version.h (RELEASE): Set to "stable".
3540 (VERSION): Set to "2.21"
3541 * include/features.h (__GLIBC_MINOR__): Set to 21.
3542
3c0c543b
CD
3543 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
3544
5bd80bfe 35452015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 3546 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
3547
3548 [BZ #16618]
3549 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
3550 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
3551 size in bytes. Store needed elements in wpmax. Use needed size
3552 in bytes for extend_alloca.
3553
3f823f48
CD
35542015-02-05 Carlos O'Donell <carlos@systemhalted.org>
3555
04cb913d
CD
3556 * manual/install.texi: Latest tested versions are GCC 4.9.2,
3557 binutls 2.25, and texinfo 5.2.
3558 * INSTALL: Regenerate.
3559 * sysdeps/nios2/configure: Regenerate.
3560 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
3561 * manual/contrib.texi: Update.
3562 * po/be.po: Update.
3563 * po/bg.po: Update.
3564 * po/ca.po: Update.
3565 * po/cs.po: Update.
3566 * po/da.po: Update.
3567 * po/de.po: Update.
3568 * po/el.po: Update.
3569 * po/eo.po: Update.
3570 * po/es.po: Update.
3571 * po/fi.po: Update.
3572 * po/fr.po: Update.
3573 * po/gl.po: Update.
3574 * po/hr.po: Update.
3575 * po/hu.po: Update.
3576 * po/ia.po: Update.
3577 * po/id.po: Update.
3578 * po/it.po: Update.
3579 * po/ja.po: Update.
3580 * po/ko.po: Update.
3581 * po/lt.po: Update.
3582 * po/nb.po: Update.
3583 * po/nl.po: Update.
3584 * po/pl.po: Update.
3585 * po/pt_BR.po: Update.
3586 * po/ru.po: Update.
3587 * po/rw.po: Update.
3588 * po/sk.po: Update.
3589 * po/sl.po: Update.
3590 * po/sv.po: Update.
3591 * po/tr.po: Update.
3592 * po/uk.po: Update.
3593 * po/vi.po: Update.
3594 * po/zh_CN.po: Update.
3595 * po/zh_TW.po: Update.
3596
3f823f48
CD
3597 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
3598 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
3599 * sysdeps/hppa/dl-irel.h: Remove #warning.
3600 * sysdeps/hppa/entry.h: Provide prototype for
3601 __canonicalize_funcptr_for_compare and cast argument.
3602 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
3603 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
3604 * sysdeps/hppa/sotruss-lib.c: New file.
3605 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
3606 (atomic_compare_and_exchange_val_acq): Use __typeof__.
3607 (atomic_compare_and_exchange_bool_acq): Likewise.
3608 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
3609 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
3610
3611 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
3612 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
3613 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
3614
34c56048
CLT
36152015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
3616
3617 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
3618 called function in non-PIC case.
3619
d4abeca5
DM
36202015-01-31 David S. Miller <davem@davemloft.net>
3621
edac0a60
DM
3622 * sysdeps/sparc/sparc32/bits/atomic.h
3623 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
3624 unlock not after it.
3625 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
3626 volatile register usage warnings from the compiler.
3627
d4abeca5
DM
3628 * sysdeps/sparc/nptl/sem_init.c: Delete.
3629 * sysdeps/sparc/nptl/sem_post.c: Delete.
3630 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
3631 * sysdeps/sparc/nptl/sem_wait.c: Delete.
3632 * sysdeps/sparc/sparc32/sem_init.c: New file.
3633 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
3634 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
3635 padding explicitly initialized.
3636 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
3637 padding for in-semaphore spinlock.
3638 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
3639 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
3640 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
3641 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
3642 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
3643 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
3644 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
3645 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
3646 version.
3647 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
3648 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
3649
5f3d0b78
L
36502015-01-30 H.J. Lu <hongjiu.lu@intel.com>
3651
3652 [BZ #17801]
3653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3654 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
3655 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
3656 New.
3657 (index_AVX_Fast_Unaligned_Load): Likewise.
3658 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
3659 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
3660 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
3661 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
3662 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
3663 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
3664 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
3665 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
3666 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
3667
b658fdd8
AS
36682015-01-29 Andreas Schwab <schwab@suse.de>
3669
3670 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
3671
3cb26316
SP
36722015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3673
3674 [BZ #17892]
3675 * nscd/nscd_stat.c (send_stats): Initialize DATA.
3676
527de9e4
MS
36772015-01-28 Martin Sebor <msebor@redhat.com>
3678
3679 * math/README.libm-test: Clarify. Add "How to read the test output."
3680
06991eb8
CM
36812015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
3682
3683 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
3684 Define to 0.
3685
df341342
JM
36862015-01-28 Joseph Myers <joseph@codesourcery.com>
3687
3688 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
3689 (__HAVE_64B_ATOMICS): Define to 0.
3690
08cee2a4
AZ
36912015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3692
d4d0ecb2
AZ
3693 [BZ #17885]
3694 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
3695 value to set as new flag.
3696
08cee2a4
AZ
3697 [BZ #16576]
3698 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
3699 and use _ARCH_PPCSQ instead.
3700 (__ieee754_sqrt): Likewise.
3701 (__ieee754_sqrtf): Likewise.
3702 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
3703 _ARCH_PPCSQ is defined.
3704 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
3705 fsqrt instruction.
3706 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
3707 _ARCH_PPCSQ is defined.
3708 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
3709 fsqrts instruction.
3710 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
3711
5fe8e359
AK
37122015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3713
3714 * iconv/loop.c: Suppress array out of bound warning caused by GCC
3715 bug (GCC BZ #64739).
3716
24bb7432
AS
37172015-01-25 Andreas Schwab <schwab@linux-m68k.org>
3718
fa20da31
AS
3719 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
3720 Mark _retval as used.
3721 (lll_futex_wake_unlock): Likewise.
3722 (lll_futex_timed_wait_requeue_pi): Likewise.
3723
45819cbc
AS
3724 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3725 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
3726 register variables.
3727
403cc231
AS
3728 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
3729 libm_hidden_def.
3730
24bb7432
AS
3731 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
3732 (__bswap_64): Mark as __always_inline.
3733
9317ea65
B
37342015-01-25 Bram <bug_rh@spam.wizbit.be>
3735
3736 [BZ #15378]
3737 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
3738 when none of the search directories exist.
3739
0e87343e
AZ
37402015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3741
bea58013
AZ
3742 [BZ #17869]
3743 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
3744 power8 in .machine directive.
3745
0e87343e
AZ
3746 [BZ #17868]
3747 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
3748 set dependency from opd value.
3749
ede0236c
L
37502015-01-23 H.J. Lu <hongjiu.lu@intel.com>
3751
3752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
3753 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
3754 architecture.
ede0236c 3755
22971c35
L
37562015-01-23 H.J. Lu <hongjiu.lu@intel.com>
3757
3758 [BZ #17870]
3759 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
3760 with uint64_t.
3761 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
3762 (uint64_t) 1.
e0da28a1 3763 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
3764 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
3765 Replace 1UL with (uint64_t) 1.
3766 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
3767 int with uint64_t.
3768
da5bf245
RM
37692015-01-23 Roland McGrath <roland@hack.frob.com>
3770
2ec2d703
RM
3771 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
3772 (if_freenameindex): Likewise.
3773
da5bf245
RM
3774 * resource/getrlimit64.c: Add missing libc_hidden_def.
3775
d7423856
JM
37762015-01-22 Joseph Myers <joseph@codesourcery.com>
3777
3778 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
3779 __label__.
3780 (_FP_FMA): Likewise.
3781 (_FP_TO_INT_ROUND): Likewise.
3782 (_FP_FROM_INT): Likewise.
3783
6b2ba95b
AZ
37842015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3785
3786 [BZ #16418]
3787 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3788 Make code racy and cancel safe.
3789
ccdb048d
CD
37902015-01-21 Carlos O'Donell <carlos@redhat.com>
3791
191220b3
CD
3792 * sysdeps/arm/unwind-resume.h: Fix copyright year.
3793 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
3794 attribution.
3795
0897c551
CD
3796 * pwd/tst-getpw.c: Rewrite.
3797
ccdb048d
CD
3798 [BZ #17702]
3799 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
3800 (modules-names): Add moddummy1 and moddummy2.
3801 ($(objpfx)tst-rec-dlopen): Define.
3802 * dlfcn/moddummy1.c: New file.
3803 * dlfcn/moddummy2.c: New file.
3804 * dlfcn/tst-rec-dlopen.c: New file.
3805 * elf/dl-cache.c (_dl_load_cache_lookup):
3806 Return char*. Copy result with alloca/strcpy/strdup.
3807 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
3808 returns char*. Free cached. If not saving realname
3809 free cached.
3810 * elf/dl-open.c (dl_open_worker): Do not assert that
3811 _r_debug->r_state is RT_CONSISTENT.
3812 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
3813 returns char*.
3814
042e1521
CD
38152015-01-21 Torvald Riegel <triegel@redhat.com>
3816 Carlos O'Donell <carlos@redhat.com>
3817
3818 [BZ #12674]
3819 * nptl/sem_waitcommon.c: New file.
3820 * nptl/sem_wait.c: Include sem_waitcommon.c.
3821 (__sem_wait_cleanup, do_futex_wait): Remove.
3822 (__new_sem_wait): Adapt.
3823 (__new_sem_trywait): New function.
3824 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
3825 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
3826 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
3827 (sem_timedwait): Adapt.
3828 * nptl/sem_post.c (__new_sem_post): Adapt.
3829 (futex_wake): New function.
3830 (__old_sem_post): Add release MO fence.
3831 * nptl/sem_open.c (sem_open): Adapt.
3832 * nptl/sem_init.c (__new_sem_init): Adapt.
3833 (futex_private_if_supported): New function.
3834 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
3835 (__old_sem_getvalue): Add using previous code.
3836 * sysdeps/nptl/internaltypes.h: Adapt.
3837 * nptl/tst-sem13.c (do_test): Adapt.
3838 * nptl/tst-sem11.c (main): Adapt.
3839 * nptl/sem_trywait.c: Remove.
3840 * nptl/DESIGN-sem.txt: Remove.
3841 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
3842 (gen-as-const-headers): Remove structsem.sym.
3843 * nptl/structsem.sym: Remove.
3844 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
3845 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
3846 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
3847 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
3848 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
3849 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
3850 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
3851 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
3852 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
3853 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
3854 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
3855 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
3856 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
3857 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
3858 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
3859 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
3860 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
3861 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
3862 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
3863 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
3864 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
3865 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
3866
fe0e85af
CD
38672015-01-20 Carlos O'Donell <carlos@redhat.com>
3868
a8db092e
CD
3869 * INSTALL: Regenerated.
3870
fe0e85af
CD
3871 * po/libc.pot: Regenerated.
3872
522e6ee3
CLT
38732015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
3874 Sandra Loosemore <sandra@codesourcery.com>
3875 Andrew Jenner <andrew@codesourcery.com>
3876 Joseph Myers <joseph@codesourcery.com>
3877 Nathan Sidwell <nathan@codesourcery.com>
3878
3879 * NEWS: Mention new Nios II port.
3880 * sysdeps/nios2/Implies: New file.
3881 * sysdeps/nios2/Makefile: New file.
3882 * sysdeps/nios2/Subdirs: New file.
3883 * sysdeps/nios2/Versions: New file.
3884 * sysdeps/nios2/__longjmp.S: New file.
3885 * sysdeps/nios2/abort-instr.h: New file.
3886 * sysdeps/nios2/backtrace.c: New file.
3887 * sysdeps/nios2/bits/endian.h: New file.
3888 * sysdeps/nios2/bits/fenv.h: New file.
3889 * sysdeps/nios2/bits/link.h: New file.
3890 * sysdeps/nios2/bits/setjmp.h: New file.
3891 * sysdeps/nios2/bsd-_setjmp.S: New file.
3892 * sysdeps/nios2/bsd-setjmp.S: New file.
3893 * sysdeps/nios2/configure: New generated file.
3894 * sysdeps/nios2/configure.ac: New file.
3895 * sysdeps/nios2/crti.S: New file.
3896 * sysdeps/nios2/crtn.S: New file.
3897 * sysdeps/nios2/dl-init.c: New file.
3898 * sysdeps/nios2/dl-machine.h: New file.
3899 * sysdeps/nios2/dl-sysdep.h: New file.
3900 * sysdeps/nios2/dl-tls.h: New file.
3901 * sysdeps/nios2/dl-trampoline.S: New file.
3902 * sysdeps/nios2/gccframe.h: New file.
3903 * sysdeps/nios2/gmp-mparam.h: New file.
3904 * sysdeps/nios2/jmpbuf-offsets.h: New file.
3905 * sysdeps/nios2/jmpbuf-unwind.h: New file.
3906 * sysdeps/nios2/ldsodefs.h: New file.
3907 * sysdeps/nios2/libc-tls.c: New file.
3908 * sysdeps/nios2/libm-test-ulps: New file.
3909 * sysdeps/nios2/machine-gmon.h: New file.
3910 * sysdeps/nios2/math-tests.h: New file.
3911 * sysdeps/nios2/math_private.h: New file.
3912 * sysdeps/nios2/memusage.h: New file.
3913 * sysdeps/nios2/nptl/Makefile: New file.
3914 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
3915 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
3916 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
3917 * sysdeps/nios2/nptl/pthreaddef.h: New file.
3918 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
3919 * sysdeps/nios2/nptl/tls.h: New file.
3920 * sysdeps/nios2/preconfigure: New file.
3921 * sysdeps/nios2/s_fma.c: New file.
3922 * sysdeps/nios2/s_fmaf.c: New file.
3923 * sysdeps/nios2/setjmp.S: New file.
3924 * sysdeps/nios2/sfp-machine.h: New file.
3925 * sysdeps/nios2/sotruss-lib.c: New file.
3926 * sysdeps/nios2/stackguard-macros.h: New file.
3927 * sysdeps/nios2/stackinfo.h: New file.
3928 * sysdeps/nios2/start.S: New file.
3929 * sysdeps/nios2/sysdep.h: New file.
3930 * sysdeps/nios2/tls-macros.h: New file.
3931 * sysdeps/nios2/tst-audit.h: New file.
3932 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
3933 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
3934 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
3935 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
3936 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
3937 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
3938 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
3939 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
3940 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
3941 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
3942 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
3943 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
3944 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
3945 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
3946 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
3947 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
3948 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
3949 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
3950 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
3951 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
3952 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
3953 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
3954 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
3955 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
3956 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
3957 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
3958 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
3959 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
3960 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
3961 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
3962 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
3963 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
3964 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
3965 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
3966 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
3967 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
3968 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
3969 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
3970 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
3971 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
3972 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
3973 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
3974 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
3975 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
3976
026eb207
SL
39772015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3978
3979 [BZ #17844]
3980 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
3981 (getutent): Use weak_alias in non SHARED case
3982 and default_symbol_version in SHARED case.
3983 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
3984 (getutent_r, pututline): Likewise.
3985 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
3986 (getutid): Likewise.
3987 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
3988 (getutid_r): Likewise.
3989 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
3990 (getutline): Likewise.
3991 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
3992 (getutline_r): Likewise.
3993 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
3994 (updwtmp): Likewise.
3995
1d532483
SL
39962015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3997
3998 [BZ #17848]
3999 * sysdeps/s390/s390-32/memcmp.S
4000 (memcmp_g5): Rename to __memcmp_g5.
4001 * sysdeps/s390/s390-32/memcpy.S
4002 (memcpy_g5): Rename to __memcpy_g5.
4003 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4004 (memcpy_mvcle) Rename to __memcpy_mvcle.
4005 * sysdeps/s390/s390-32/memset.S
4006 (memset_g5): Rename to __memset_g5.
4007 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4008 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4009 and use prefixed functions.
4010 * sysdeps/s390/s390-32/multiarch/memcmp.S
4011 (memcmp_z196): Rename to __memcmp_z196.
4012 (memcmp_z10): Rename to __memcmp_z10.
4013 (memcmp): Set alias to __memcmp_g5.
4014 (bcmp): Set alias to __memcmp_g5.
4015 * sysdeps/s390/s390-32/multiarch/memcpy.S
4016 (memcpy_z196): Rename to __memcpy_z196.
4017 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4018 (memcpy_z10): Rename to __memcpy_z10.
4019 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4020 (memcpy): Set alias to __memcpy_g5.
4021 * sysdeps/s390/s390-32/multiarch/memset.S
4022 (memset_z196): Rename to __memset_z196.
4023 Jump to __memset_mvcle instead of memset_mvcle.
4024 (memset_z10): Rename to __memset_z10.
4025 Jump to __memset_mvcle instead of memset_mvcle.
4026 (memset_mvcle) Rename to __memset_mvcle.
4027 (memset): Set alias to __memset_g5.
4028 * sysdeps/s390/s390-64/memcmp.S
4029 (memcmp_z900): Rename to __memcmp_z900.
4030 * sysdeps/s390/s390-64/memcpy.S
4031 (memcpy_z900): Rename to __memcpy_z900.
4032 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4033 (memcpy_mvcle) Rename to __memcpy_mvcle.
4034 * sysdeps/s390/s390-64/memset.S
4035 (memset_z900): Rename to __memset_z900.
4036 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
4037 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4038 and use prefixed functions.
4039 * sysdeps/s390/s390-64/multiarch/memcmp.S
4040 (memcmp_z196): Rename to __memcmp_z196.
4041 (memcmp_z10): Rename to __memcmp_z10.
4042 (memcmp): Set alias to __memcmp_z900.
4043 (bcmp): Set alias to __memcmp_z900.
4044 * sysdeps/s390/s390-64/multiarch/memcpy.S
4045 (memcpy_z196): Rename to __memcpy_z196.
4046 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4047 (memcpy_z10): Rename to __memcpy_z10.
4048 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4049 (memcpy): Set alias to __memcpy_z900.
4050 * sysdeps/s390/s390-64/multiarch/memset.S
4051 (memset_z196): Rename to __memset_z196.
4052 Jump to __memset_mvcle instead of memset_mvcle.
4053 (memset_z10): Rename to __memset_z10.
4054 Jump to __memset_mvcle instead of memset_mvcle.
4055 (memset_mvcle) Rename to __memset_mvcle.
4056 (memset): Set alias to __memset_z900.
4057
53fbd169
JM
40582015-01-14 Joseph Myers <joseph@codesourcery.com>
4059
4060 [BZ #17748]
4061 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
4062 __fesetenv instead of fesetenv.
4063
d639a363
SP
40642015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4065
4066 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4067 macro.
4068
d3b00f46
AZ
40692015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4070
ce6615c9
AZ
4071 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
4072 regression on LE.
4073
d3b00f46
AZ
4074 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
4075 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
4076 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4077 strncmp-power8 object.
4078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4079 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
4080 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
4081 * NEWS: Update.
4082
72607db0
RS
40832015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4084 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4085
4086 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
4087 trailing byte check.
4088
54dc5461
DM
40892015-01-13 David S. Miller <davem@davemloft.net>
4090
4091 * include/signal.h (__sigreturn): Guard with __USE_MISC.
4092
1c6e6f23
RM
40932015-01-13 Roland McGrath <roland@hack.frob.com>
4094
4095 * login/logout.c (logout): Use memset rather than bzero.
4096 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
4097 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
4098 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
4099 (_gethtbyaddr): Likewise.
4100 * locale/programs/simple-hash.c (bcopy): Macro removed.
4101
96d6fd6c
AZ
41022015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4103
8bedcb5f
AZ
4104 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4105 Add strcmp-power8 object.
4106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4107 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
4108 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
4109 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
4110 __strcmp_power8 implementation.
4111 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
4112 * NEWS: Update.
4113
f06a4faf
AZ
4114 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4115 Add strncpy-power8 and stpncpy-power8 objects.
4116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4117 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
4118 implementations.
4119 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
4120 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
4121 __stpncpy_power8 implementation.
4122 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
4123 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
4124 __strncpy_power8 implementation.
4125 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
4126 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
4127 * NEWS: Update.
4128
9f2f36e5
AZ
4129 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4130 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4131 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4132
96d6fd6c 4133 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
4134 strncat-power8 object.
4135 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4136 __strcat_power8 implementation.
4137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4138 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
4139 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
4140 optimized strcat for power8.
4141
4142 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
4143 strcpy-power8 and stpcpy-power8 objects.
4144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4145 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
4146 implementations.
4147 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
4148 multiarch stpcpy implementation for POWER8.
4149 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
4150 multiarch strcpy implementation for POWER8.
4151 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
4152 __strcpy_power8 function.
4153 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
4154 stpcpy for POWER8.
4155 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
4156 strcpy for POWER8.
4157 * NEWS: Update.
4158
0f9e5854
LH
41592015-01-13 Leonhard Holz <leonhard.holz@web.de>
4160
4161 [BZ #16009]
4162 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
4163 weights and rules. Use do_xfrm_cached if data fits in cache,
4164 do_xfrm otherwise. Moved former main loop to...
4165 * (do_xfrm_cached): New function.
4166 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
4167 find_idx, find_position and stack_push.
4168 * (find_idx): New function.
4169 * (find_position): Likewise.
4170 * localedata/sort-test.sh: Added test run for do_xfrm.
4171 * localedata/xfrm-test.c (main): Added command line option
4172 -nocache to run the test with strings that are too large for
4173 the STRXFRM cache.
4174
c60ec0e0
TR
41752015-01-13 Torvald Riegel <triegel@redhat.com>
4176
4177 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
4178 variable to lll_futex_wake call, not the value itself.
4179
34e93d6c
JM
41802015-01-12 Joseph Myers <joseph@codesourcery.com>
4181
5a9e4c09
JM
4182 [BZ #17803]
4183 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
4184 twom64. Adjust value to 0x1p-64L.
4185 (__scalblnl): Only return standard underflowing result for K <=
4186 -64 not K <= -63; adjust exponent for underflowing result by 64
4187 not 63.
4188 * math/libm-test.inc (scalbn_test_data): Add more tests.
4189 (scalbln_test_data): Likewise.
4190
34e93d6c
JM
4191 [BZ #17834]
4192 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4193 0x1p63L.
4194 (__scalblnl): Get new exponent of adjusted subnormal value from ES
4195 not HX.
4196 * math/libm-test.inc (scalbn_test_data): Add more tests.
4197 (scalbln_test_data): Likewise.
4198
ca677d3c
AZ
41992015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4200 Stefani Seibold <stefani@seibold.net>
4201
4202 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4203 (sysdep_routines): Add dl-vdso here, ...
4204 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4205 (sysdep_routines): ... not here.
4206 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4207 fallback when vDSO is not presented.
4208 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4209 Define with libc_hidden_proto/libc_hidden_data_def definitions.
4210 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4211 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4212 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4213 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4214 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4215 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4216 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4217 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4218 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
4219 fallback configurable symbol when vDSO is not available.
4220 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4221 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
4222 be able to redefine fallback symbol when vDSO is not available.
4223 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4224 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4225
49a9f6ab 42262015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 4227
56cf2763
AZ
4228 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4229 (TLS_INIT_TP): Add tm_capable initialization.
4230 (TLS_DEFINE_INIT_TP): Likewise.
4231 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4232 TCB.
4233 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4234 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4235 calculation.
4236 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4237 transactoion is lock elision is built and TCB tm_capable is set.
4238 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4240 (INTERNAL_SYSCALL_NCS): Likewise.
4241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4242 (INTERNAL_SYSCALL_NCS): Likewise.
4243 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4244
4b45943a
AZ
4245 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4246 for powerpc.
4247 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4248 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4249 and remove it for 32 bits case.
4250 [pthread_rwlock_t] (__rwelision): New field for lock elision.
4251 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4252 initialization.
4253 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4254 Disable lock elision with rdlocks if elision is not available.
4255
8d2c0a59
AZ
4256 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4257 (sysdep_routines): Add lock elision objects.
4258 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4259 [pthread_mutex_t] (__spins): Rework to add lock elision field.
4260 [pthread_mutex_t] (__elision): Add field.
4261 [__PTHREAD_SPINS]: Adjust to init lock elision field.
4262 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4263 elision definitions for powerpc.
4264 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4265 implementation of lock elision for powerpc.
4266 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4267 implementation of timed lock elision for powerpc.
4268 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4269 implementation of trylock with lock elision for powerpc.
4270 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4271 implementaion of unlock for lock elision for powerpc.
4272 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4273 automatic enable lock elision for mutexes.
4274 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4275 transaction execution definitions for powerpc.
4276 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4277 definitions.
4278 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4279 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4280 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4281 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4282 * NEWS: Update.
4283
bc0ed9f7
RM
42842015-01-09 Roland McGrath <roland@hack.frob.com>
4285
4286 * sysdeps/posix/shm-directory.c: Use <> rather than ""
4287 for #include of <shm-directory.h>.
4288
585d9c18
CLT
42892015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
4290
4291 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4292 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4293
aee6626c
MF
42942015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
4295
4296 [BZ #17791]
4297 * NEWS: Mention bug fix.
4298 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4299 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4300 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4301
9e560f48
TR
43022015-01-09 Torvald Riegel <triegel@redhat.com>
4303
4304 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4305
e1cfbd0c
TR
43062015-01-09 Torvald Riegel <triegel@redhat.com>
4307
4308 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4309
cf71e44f
DH
43102015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4311
4312 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4313 pointer and cast to uintptr_t.
4314
b360ee62
DH
43152015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4316
4317 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4318 removed.
4319 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4320
caff764e
DH
43212015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4322
4323 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4324 of 0.
4325
59ff172f
RM
43262015-01-08 Roland McGrath <roland@hack.frob.com>
4327
c97d27f1
RM
4328 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4329 <nptl/pthreadP.h> instead.
4330 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4331
08734ccd
RM
4332 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4333 already defined.
4334 [__SIGRTMIN] (init): Function removed.
4335 [__SIGRTMIN] (initialized): Variable removed.
4336 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4337 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4338 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4339 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4340 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4341 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4342 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4343 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4344 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4345 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4346 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4347 * sysdeps/nptl/allocrtsig.c: New file.
4348 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4349 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4350 * sysdeps/generic/testrtsig.h: File removed.
4351
7b052e33
RM
4352 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4353 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4354
cc40d25e
RM
4355 * nptl/nptl-init.c (pthread_functions): Conditionalize
4356 .ptr__nptl_setxid initialization on [SIGSETXID].
4357
9287adf0
RM
4358 * sysdeps/nptl/sys/procfs.h: New file.
4359 * nptl_db/Makefile (headers): Add it.
4360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4361
59ff172f
RM
4362 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4363 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4364 * nptl/pthread_attr_setaffinity.c: Include it.
4365 * nptl/pthread_setattr_default_np.c: Likewise.
4366 * nptl/check-cpuset.h: New file.
4367
b9205857
RH
43682015-01-08 Richard Henderson <rth@redhat.com>
4369
4370 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4371 (CFLAGS-tst-execstack-prog.c): Likewise.
4372 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4373
1a0a8d15
CLT
43742015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
4375 Sandra Loosemore <sandra@codesourcery.com>
4376 Andrew Jenner <andrew@codesourcery.com>
4377 Joseph Myers <joseph@codesourcery.com>
4378 Nathan Sidwell <nathan@codesourcery.com>
4379
4380 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4381 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4382 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4383 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4384 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4385 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4386 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
4387 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4388 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4389 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4390 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4391 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4392 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
4393 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4394 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4395 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4396 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4397
dd6e8af6
AZ
43982015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4399
4400 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4401 timespec struct member in syscall macro.
4402 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4403 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4404 first timeval struct member in syscall macro.
4405 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4406
8116321f
JM
44072015-01-07 Joseph Myers <joseph@codesourcery.com>
4408
4409 [BZ #17748]
4410 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4411 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4412 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4413 __feupdateenv and define as weak alias of __feupdateenv. Use
4414 libm_hidden_weak.
4415 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4416 libm_hidden_def.
4417 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4418 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
4419 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4420 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4421 libm_hidden_def.
4422 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4423 __feupdateenv and define as weak alias of __feupdateenv. Use
4424 libm_hidden_weak.
4425 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4426 libm_hidden_def.
4427 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4428 __feupdateenv and define as weak alias of __feupdateenv. Use
4429 libm_hidden_weak.
4430 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4431 libm_hidden_def.
4432 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4433 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4434 (__feupdateenv): Likewise.
4435 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
4436 __feupdateenv and define as weak alias of __feupdateenv. Use
4437 libm_hidden_weak.
4438 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4439 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
4440 libm_hidden_def.
4441 * sysdeps/tile/math_private.h (__feupdateenv): New inline
4442 function.
4443 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
4444 libm_hidden_def.
4445 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
4446 __feupdateenv instead of feupdateenv.
4447 (default_libc_feupdateenv_test): Likewise.
4448 (libc_feresetround_ctx): Likewise.
4449
882dfe18
AZ
44502015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4451
4452 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
4453 prototype.
4454
39a12f8d
CM
44552015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
4456
4457 * posix/regcomp.c (parse_bracket_exp): Initialize type to
4458 COLL_SYM in a couple of places to avoid uninitialized variable
4459 wanings on tilegx gcc 4.8.2.
4460
dc400d7b
RE
44612015-01-07 Richard Earnshaw <rearnsha@arm.com>
4462
4463 * sysdeps/aarch64/strcpy.S: New file.
4464 * sysdeps/aarch64/stpcpy.S: New file.
4465 * NEWS: Updated.
4466
ec582ca0
RE
44672015-01-07 Richard Earnshaw <rearnsha@arm.com>
4468
4469 * sysdeps/aarch64/strrchr.S: New file.
4470 * NEWS: Updated.
4471
d5b1c5ed
EB
44722015-01-07 Eric Biggers <ebiggers3@gmail.com>
4473
4474 [BZ #17658]
4475 * stdlib/setenv.c: Fix memory leak when setting large,
4476 duplicate string.
4477
fb87ee96
VN
44782015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
4479
60f046a8 4480 [BZ #17273]
fb87ee96
VN
4481 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
4482 and tabs from buffer before parsing fstab entry.
4483 * misc/tst-mntent.c (main): Add test for mount entry with
4484 trailing spaces and tabs.
4485
cd42798a
JM
44862015-01-06 Joseph Myers <joseph@codesourcery.com>
4487
01238691
JM
4488 [BZ #17748]
4489 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
4490 * math/fesetround.c (fesetround): Rename to __fesetround and
4491 define as weak alias of __fesetround. Use libm_hidden_weak.
4492 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
4493 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
4494 * sysdeps/arm/fesetround.c (fesetround): Likewise.
4495 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
4496 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
4497 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
4498 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
4499 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
4500 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
4501 __fesetround_inline.
4502 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
4503 __fesetround_inline instead of __fesetround.
4504 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
4505 __fesetround and define as weak alias of __fesetround. Use
4506 libm_hidden_weak. Call __fesetround_inline instead of
4507 __fesetround.
4508 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
4509 __fesetround and define as weak alias of __fesetround. Use
4510 libm_hidden_weak.
4511 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
4512 Likewise.
4513 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
4514 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4515 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
4516 * sysdeps/tile/math_private.h (__fesetround): New inline function.
4517 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
4518 __fesetround and define as weak alias of __fesetround. Use
4519 libm_hidden_weak.
4520 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
4521 __fesetround instead of fesetround.
4522 (default_libc_feholdexcept_setround): Likewise.
4523 (libc_feholdsetround_ctx): Likewise.
4524 (libc_feholdsetround_noex_ctx): Likewise.
4525
cd42798a
JM
4526 [BZ #17748]
4527 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
4528 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
4529 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4530 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4531 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4532 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
4533 define as weak alias of __fesetenv. Use libm_hidden_weak.
4534 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4535 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4536 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4537 define as weak alias of __fesetenv. Use libm_hidden_weak.
4538 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4539 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4540 define as weak alias of __fesetenv. Use libm_hidden_weak.
4541 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
4542 libm_hidden_def.
4543 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
4544 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
4545 Likewise.
4546 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4547 define as weak alias of __fesetenv. Use libm_hidden_weak.
4548 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4549 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4550 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
4551 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4552 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4553 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
4554 __fesetenv instead of fesetenv.
4555 (libc_feresetround_noex_ctx): Likewise.
4556 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4557 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4558 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4559 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4560 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4561 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4562 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4563 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4564 (__feupdateenv): Likewise.
4565 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4566 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4567 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4568 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
4569
38949026
AJ
45702015-01-06 Aurelien Jarno <aurelien@aurel32.net>
4571
1cf98e27 4572 [BZ #17806]
38949026
AJ
4573 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
4574 addresses have been freed.
4575
5fe55e9c
AJ
45762015-01-06 Aurelien Jarno <aurelien@aurel32.net>
4577
4578 * resolv/res_init.c (__res_vinit): Improve comments about nserv
4579 and nservall.
4580
dc8ab018
OB
45812015-01-06 Ondřej Bílka <neleai@seznam.cz>
4582
4583 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
4584 Clean up check_pf allocation pattern. addresses
4585
14bb4e57
AZ
45862015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4587
4588 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
4589 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
4590 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4591 * nptl/pthread_exit.c (__pthread_exit): Likewise.
4592 * nptl/pthread_join.c (pthread_join): Likewise.
4593 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
4594 * sysdeps/posix/waitid.c (__waitid): Likewise.
4595 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4596 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4597 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4598 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4599 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4600 Likewise.
4601 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4602 (__libc_pread64): Likewise.
4603 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4604 (__libc_pwrite): Likewise.
4605 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4606 (__libc_pwrite64): Likewsie.
4607 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4608 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4609 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4610 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4611 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4612 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4613 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4615 Likewise.
4616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4617 (__libc_pread64): Likewise.
4618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
4619 Likewise.
4620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4621 (__libc_pwrite64): Likewise.
4622 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4623 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4624 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
4625 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
4626 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4627 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4628 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
4629 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4630 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4631 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4632 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
4633 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4634 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4635 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
4636 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4637 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4638 Likewise.
4639
10a5e112
AS
46402015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4641
4642 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
4643 (CFLAGS-test-double.c): Likewise.
4644 (CFLAGS-test-ldouble.c): Likewise.
4645 (CPPFLAGS-test-ifloat.c): Likewise.
4646 (CPPFLAGS-test-idouble.c): Likewise.
4647 (CPPFLAGS-test-ildoubl.c): Likewise.
4648 (CFLAGS-test-test-fenv.c): Remove variable.
4649 (CFLAGS-test-misc.c): Likewise.
4650
57ada0e7
L
46512015-01-06 H.J. Lu <hongjiu.lu@intel.com>
4652
4653 [BZ #17797]
4654 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
4655 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
4656 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
4657 CLOCKS_PER_SEC == 1000000.
4658 * time/clocktest.c (main): Replace %ld with %jd and cast to
4659 intmax_t.
4660
46abb64d
RM
46612015-01-05 Roland McGrath <roland@hack.frob.com>
4662
4663 * sysdeps/generic/unwind-resume.h: New file.
4664 * sysdeps/gnu/unwind-resume.c: Include it.
4665 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
4666 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
4667 argument list.
4668 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
4669 global rather than static.
4670 (_Unwind_Resume): Update user.
4671 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
4672 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
4673 rather than static. Add __attribute__ ((cold)).
4674 (_Unwind_Resume, __gcc_personality_v0): Update callers.
4675 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
4676 * sysdeps/arm/arm-unwind-resume.S: New file.
4677 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
4678 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
4679 * sysdeps/arm/Makefile [$(subdir) = csu]
4680 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
4681 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4682 Add rt-arm-unwind-resume.
4683 [$(subdir) = nptl]
4684 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4685 Add pt-arm-unwind-resume.
4686 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
4687 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
4688
ef9faf13
JM
46892015-01-05 Joseph Myers <joseph@codesourcery.com>
4690
4691 [BZ #17748]
4692 * include/fenv.h (__feholdexcept): Declare. Use
4693 libm_hidden_proto.
4694 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
4695 define as weak alias of __feholdexcept. Use libm_hidden_weak.
4696 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4697 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
4698 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
4699 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
4700 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
4701 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4702 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
4703 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
4704 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4705 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
4706 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
4707 (feholdexcept): Likewise.
4708 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4709 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4710 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4711 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4712 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
4713 __feholdexcept instead of feholdexcept.
4714 (default_libc_feholdexcept_setround): Likewise.
4715
295a453e
SE
47162015-01-05 Steve Ellcey <sellcey@imgtec.com>
4717
4718 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
4719 to avoid using stl/str to align destination.
4720
882c4b9f
SE
47212015-01-05 Steve Ellcey <sellcey@imgtec.com>
4722
4723 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
4724
ac4c11f5
JM
47252015-01-05 Joseph Myers <joseph@codesourcery.com>
4726
4727 [BZ #17796]
4728 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
4729 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
4730 Define as weak alias not strong alias.
4731
03403e30
SE
47322015-01-05 Steve Ellcey <sellcey@imgtec.com>
4733
4734 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
4735 bltzal with addiupc.
4736 (RTLD_START): Ditto.
4737
1dca195e
CM
47382015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
4739
00b8b9ba
SP
4740 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
4741 for __vdso_* functions in declarations.
4742 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
4743 definitions.
4744 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
4745 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 4746
1dca195e
CM
4747 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
4748 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
4749 function with cast from llround().
4750 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
4751 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4752 Define.
4753
a287953a
JM
47542015-01-05 Joseph Myers <joseph@codesourcery.com>
4755
ab70da77
JM
4756 [BZ #17793]
4757 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
4758 Define as weak alias not strong alias.
4759
b8986484
JM
4760 [BZ #17635]
4761 * ctype/ctype-c99.c: New file. isblank implementation moved from
4762 ...
4763 * ctype/ctype-extn.c: ... here.
4764 (__isblank_l): Move to ...
4765 * ctype/ctype-c99_l.c: ... here. New file.
4766 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
4767 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
4768 Remove variable.
4769 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4770 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4771 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4772 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4773 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4774
a287953a
JM
4775 [BZ #17777]
4776 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
4777 (posix_fadvise64): Define as weak alias not strong alias.
4778 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4779 (posix_fallocate64): Likewise.
4780 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
4781 Remove variable.
4782 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4783 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4784 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4785 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4786 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4787
b1efe3bb
MF
47882015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
4789
4790 [BZ #16191]
4791 * NEWS: Mention bug fix.
4792 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
4793 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
4794 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
4795 (HOST_STACK_END_ADDR): Likewise.
4796
9706dc5f
JM
47972015-01-02 Joseph Myers <joseph@codesourcery.com>
4798
b93c2205
JM
4799 [BZ #17748]
4800 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
4801 * math/fegetround.c (fegetround): Rename to __fegetround and
4802 define as weak alias of __fegetround. Use libm_hidden_weak.
4803 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
4804 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
4805 * sysdeps/arm/fegetround.c (fegetround): Likewise.
4806 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
4807 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4808 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
4809 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
4810 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
4811 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4812 Undefine after rather than before function definition; use
4813 parentheses around function name in definition.
4814 (__fegetround): Also undefine macro after function definition.
4815 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
4816 __fegetround and define as weak alias of __fegetround. Use
4817 libm_hidden_weak. Do not undefine as macro.
4818 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4819 Likewise.
4820 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
4821 __fegetround and define as weak alias of __fegetround. Use
4822 libm_hidden_weak.
4823 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4824 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4825 * sysdeps/tile/math_private.h (__fegetround): New inline function.
4826 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
4827 __fegetround and define as weak alias of __fegetround. Use
4828 libm_hidden_weak.
4829 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
4830 __fegetround instead of fegetround.
4831
253a59cc
JM
4832 [BZ #17782]
4833 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
4834 Condition macro definition on [__USE_MISC].
4835
27dae011
JM
4836 [BZ #17781]
4837 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4838 (struct sigaction): Change type of sa_flags field to int.
4839
172019c0
JM
4840 [BZ #17780]
4841 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
4842 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
4843 __glibc_reserved0.
4844
522ad1d6
JM
4845 * nptl/version.c (banner): Use single year in copyright notice.
4846
9706dc5f
JM
4847 * NEWS: Update copyright dates.
4848 * catgets/gencat.c (print_version): Likewise.
4849 * csu/version.c (banner): Likewise.
4850 * debug/catchsegv.sh: Likewise.
4851 * debug/pcprofiledump.c (print_version): Likewise.
4852 * debug/xtrace.sh (do_version): Likewise.
4853 * elf/ldconfig.c (print_version): Likewise.
4854 * elf/ldd.bash.in: Likewise.
4855 * elf/pldd.c (print_version): Likewise.
4856 * elf/sotruss.sh: Likewise.
4857 * elf/sprof.c (print_version): Likewise.
4858 * iconv/iconv_prog.c (print_version): Likewise.
4859 * iconv/iconvconfig.c (print_version): Likewise.
4860 * locale/programs/locale.c (print_version): Likewise.
4861 * locale/programs/localedef.c (print_version): Likewise.
4862 * login/programs/pt_chown.c (print_version): Likewise.
4863 * malloc/memusage.sh (do_version): Likewise.
4864 * malloc/memusagestat.c (print_version): Likewise.
4865 * malloc/mtrace.pl: Likewise.
4866 * manual/libc.texinfo: Likewise.
4867 * nptl/version.c (banner): Likewise.
4868 * nscd/nscd.c (print_version): Likewise.
4869 * nss/getent.c (print_version): Likewise.
4870 * nss/makedb.c (print_version): Likewise.
4871 * posix/getconf.c (main): Likewise.
4872 * scripts/test-installation.pl: Likewise.
4873 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4874
b8607aac
WN
48752015-01-02 Will Newton <will.newton@linaro.org>
4876
4877 * sysdeps/arm/armv7/configure: Removed.
4878 * sysdeps/arm/armv7/configure.ac: Likewise.
4879
b168057a
JM
48802015-01-02 Joseph Myers <joseph@codesourcery.com>
4881
4882 * All files with FSF copyright notices: Update copyright dates
4883 using scripts/update-copyrights.
4884 * intl/plural.c: Regenerated.
4885 * locale/programs/charmap-kw.h: Likewise.
4886 * locale/programs/locfile-kw.h: Likewise.
4887
b217c15f
SP
48882015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4889
4890 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
4891
73a268c7
JM
48922014-12-31 Joseph Myers <joseph@codesourcery.com>
4893
4894 [BZ #17748]
4895 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
4896 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
4897 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4898 and define as weak alias of __fegetenv. Use libm_hidden_weak.
4899 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4900 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
4901 define as weak alias of __fegetenv. Use libm_hidden_weak.
4902 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
4903 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4904 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4905 define as weak alias of __fegetenv. Use libm_hidden_weak.
4906 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4907 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4908 define as weak alias of __fegetenv. Use libm_hidden_weak.
4909 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
4910 libm_hidden_def.
4911 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
4912 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
4913 Likewise.
4914 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4915 define as weak alias of __fegetenv. Use libm_hidden_weak.
4916 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4917 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4918 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
4919 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4920 and define as weak alias of __fegetenv. Use libm_hidden_weak.
4921 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
4922 __fegetenv instead of fegetenv.
4923 (libc_feholdsetround_noex_ctx): Likewise.
4924
0bd95672
MF
49252014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
4926
4927 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
4928 (Elf_MIPS_ABIFlags_v0): New structure.
4929 (EF_MIPS_FP64): Define.
4930 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
4931 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
4932 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
4933 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
4934 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
4935 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
4936 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
4937 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
4938 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
4939 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
4940 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
4941 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
4942 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
4943 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
4944 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
4945 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
4946 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
4947 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
4948 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
4949 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
4950 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
4951 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
4952 field.
4953 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
4954 EF_MIPS_FP64.
4955 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
4956 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
4957 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
4958 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
4959 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
4960 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
4961 * sysdeps/mips/tst-abi-interlink.c: Likewise.
4962 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
4963 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
4964 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
4965 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
4966 record the current FP ABI extension.
4967 (mips-mode-switch): Define to show if kernel headers support mode
4968 switching.
4969 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4970 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
4971 supported SYSV ABI version to 3.
4972 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
4973 feature.
4974
f59ad976
RS
49752014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4976 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4977
4978 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
4979 path.
4980 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
4981
4a3d3999
JM
49822014-12-31 Joseph Myers <joseph@codesourcery.com>
4983
4984 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
4985 __fegetround and redefine to call __fegetround. Remove condition
4986 on [!__NO_MATH_INLINES].
4987 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
4988 function.
4989 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
4990 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4991 Remove macro.
4992 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
4993 instead of <fenv_libc.h>.
4994 (__llrintl): Call fegetround instead of __fegetround.
4995 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
4996 instead of <fenv_libc.h>.
4997 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4998 (__lrintl): Call fegetround instead of __fegetround.
4999 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5000 instead of <fenv_libc.h>.
5001 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5002 (__rintl): Call fegetround instead of __fegetround.
5003
195f3afc
SP
50042014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5005
5006 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5007 arrays.
5008
7062bd42
L
50092014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5010
5011 [BZ #17775]
5012 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5013 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5014 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5015
07256e18
AS
50162014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5017
5018 * sysdeps/i386/tls-macros.h: Include <features.h>.
5019 (TLS_LE): Use non-PIC version for GCC >= 5.0.
5020 (TLS_IE): Likewise.
5021 (TLS_LD): Likewise.
5022 (TLS_GD): Likewise.
5023 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5024 define for GCC >= 5.0.
5025
1ff950ad
CM
50262014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
5027
5028 * math/test-fenv.c (test_single_exception, set_single_exc,
5029 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5030 feexcp_mask_test, feenable_test, fe_single_test): Add
5031 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
5032 case where they are not used.
5033 * math/libm-test.inc: Likewise.
5034 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
5035 unused in the absence of FP rounding/exception support.
5036 * stdio-common/tst-printf-round.c: Likewise.
5037 * stdlib/tst-strtod-round.c: Likewise.
5038 * stdlib/tst-strtod-underflow.c: Likewise.
5039
0747f818
JM
50402014-12-30 Joseph Myers <joseph@codesourcery.com>
5041
5042 [BZ #17723]
5043 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5044 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
5045 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5046 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5047 libm_hidden_weak.
5048 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
5049 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5050 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
5051 libm_hidden_def.
5052 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5053 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5054 libm_hidden_weak.
5055 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
5056 Likewise.
5057 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
5058 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5059 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5060 libm_hidden_weak.
5061 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5062 libm_hidden_def.
5063 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5064 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
5065 (__feraiseexcept): Likewise.
5066 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5067 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5068 libm_hidden_weak.
5069 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5070 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5071 libm_hidden_def.
5072 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
5073 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
5074 Use libm_hidden_def.
5075 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
5076 libm_hidden_def.
5077 (feraiseexcept): Define as weak not strong alias. Use
5078 libm_hidden_weak.
5079 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
5080 New inline function. Factored out of ...
5081 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
5082 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
5083 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
5084 feraiseexcept.
5085 * math/w_acos.c (__acos): Likewise.
5086 * math/w_asin.c (__asin): Likewise.
5087 * math/w_ilogb.c (__ilogb): Likewise.
5088 * math/w_j0.c (y0): Likewise.
5089 * math/w_j1.c (y1): Likewise.
5090 * math/w_jn.c (yn): Likewise.
5091 * math/w_log.c (__log): Likewise.
5092 * math/w_log10.c (__log10): Likewise.
5093 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
5094 * sysdeps/aarch64/fpu/math_private.h
5095 (libc_feupdateenv_test_aarch64): Likewise.
5096 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5097 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
5098 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
5099 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5100 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5101 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5102 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
5103 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5104 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5105 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5106
8d2b2763
L
51072014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5108
5109 [BZ #17732]
5110 * io/test-utime.c (main): Replace %ld with %jd and cast to
5111 intmax_t.
41fad830 5112 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
5113 * nptl/tst-mutex5.c: Include <stdint.h>.
5114 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
5115 * posix/tst-regex.c (run_test): Likewise.
5116 (run_test_backwards): Likewise.
5d619de4
L
5117 * rt/tst-clock.c: Include <stdint.h>.
5118 (clock_test): Replace %ld with %jd and cast to intmax_t.
5119 * rt/tst-cpuclock1.c: Include <stdint.h>.
5120 (do_test): Replace %lu with %ju and cast to uintmax_t.
5121 * rt/tst-cpuclock2.c: Include <stdint.h>.
5122 (do_test): Replace %lu with %ju and cast to uintmax_t.
5123 * rt/tst-mqueue1.c: Include <stdint.h>.
5124 (check_attrs): Replace %ld with %jd and cast to intmax_t.
5125 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
5126 intmax_t.
5127 * rt/tst-mqueue4.c (do_test): Likewise.
5128 * rt/tst-timer4.c: Include <stdint.h>.
5129 (check_ts): Replace %ld with %jd and cast to intmax_t.
5130 (do_test): Likewise.
ad86fbc3
L
5131 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5132 and cast to intmax_t.
37f46900 5133 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
5134 * time/clocktest.c (main): Likewise.
5135 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 5136 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 5137
8b4416d8
AS
51382014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5139 H.J. Lu <hongjiu.lu@intel.com>
5140
5141 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
5142 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5143 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
5144 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
5145 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
5146 version if bit_Fast_Unaligned_Load is set.
5147 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5148 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5149 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5150 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5151 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5152 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5154 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
5155 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
5156 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
5157 to 4.
5158 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
5159 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
5160 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
5161 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
5162
e47b8d3b
CM
51632014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
5164
6d6d7fde
CM
5165 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
5166 instead of #if to avoid a Wundef warning.
5167 * stdlib/tst-limits.c (do_test): Likewise.
5168
cd2c37c9
CM
5169 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
5170 parallel other exception macros.
5171 (fegetenv): Convert from macro to extern inline so that it applies
5172 retroactively to inline functions already seen by the compiler.
5173 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
5174
e47b8d3b
CM
5175 * posix/Makefile (before-compile): Use $(objpfx) for
5176 posix-conf-vars-def.h.
5177
4a6aca7b
SP
51782014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5179
7910c2ae
SP
5180 * posix/getconf.c (main): Use size_t for type of I.
5181 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5182 NSPEC.
5183
50cbbaa9
SP
5184 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
5185 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5186 * posix/posix-envs.def: Likewise.
5187 * sysdeps/posix/sysconf.c: Likewise.
5188 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5189 (specs): Remove array.
5190 * scripts/gen-posix-conf-vars.awk: Support generation of specs
5191 array.
5192
3b566046
SP
5193 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5194 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5195 (__sysconf): Use CONF_IS_* macros.
5196
4a6aca7b
SP
5197 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5198 ($(objpfx)posix-conf-vars-def.h): New target.
5199 * posix/posix-conf-vars.list: New file.
5200 * posix/posix-conf-vars.h: New file.
5201 * posix/confstr.c: Include posix-conf-vars.h.
5202 (confstr): Use CONF_IS_* macros.
5203 * posix/posix-envs.def: Include posix-conf-vars.h. Use
5204 CONF_IS_* macros.
5205 * scripts/gen-posix-conf-vars.awk: New file.
5206
7c1395a7
CM
52072014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
5208
0025b4cc
CM
5209 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5210 fegetround): Add no-op macros to avoid linknamespace issues.
5211
d8aaf74b
CM
5212 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5213 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5214
5d24aa60
CM
5215 * sysdeps/unix/sysv/linux/tile/sysdep.h
5216 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5217 assembly-specific section to avoid a redefinition warning.
5218
7c1395a7
CM
5219 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5220 long before casting to pointer to avoid a cast warning.
5221
3c87c616
CM
52222014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
5223
5224 * sysdeps/tile/tilegx/Implies: New file.
5225
f559d8cf
RE
52262014-12-23 Richard Earnshaw <rearnsha@arm.com>
5227
5228 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5229
7d81e8d6
FW
52302014-12-23 Florian Weimer <fweimer@redhat.com>
5231
5232 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5233
90aa3d09
JM
52342014-12-22 Joseph Myers <joseph@codesourcery.com>
5235
5236 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5237 not define.
5238 * sysdeps/unix/sysv/linux/utimes.c: Do not include
5239 <kernel-features.h>.
5240 (__utimes) [__NR_utimes]: Make code unconditional.
5241 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5242 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5243 (__ASSUME_UTIMES): Do not undefine.
5244 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5245 (__ASSUME_UTIMES): Likewise.
5246 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5247 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5248 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5249 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5250
4c0c0e2a
SE
52512014-12-22 Steve Ellcey <sellcey@imgtec.com>
5252
5253 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5254
0dacd7a3
CM
52552014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
5256
b638f96a
CM
5257 [BZ #17747]
5258 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5259 alias to weak alias for j0l, y0l.
5260 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5261 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5262
0dacd7a3
CM
5263 [BZ #17746]
5264 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5265 conversion.
5266
528479c4
SE
52672014-12-22 Steve Ellcey <sellcey@imgtec.com>
5268
5269 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5270 to zero if not already defined.
5271
f56f9124
JM
52722014-12-22 Joseph Myers <joseph@codesourcery.com>
5273
5274 [BZ #17724]
5275 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5276 (__kernel_standard_f): Remove. Moved to k_standardf.c.
5277 (__kernel_standard_l): Remove. Moved to k_standardl.c with
5278 (char *) casts added.
5279 * sysdeps/ieee754/k_standardf.c: New file.
5280 * sysdeps/ieee754/k_standardl.c: Likewise.
5281 * math/Makefile (libm-support): Remove k_standard.
5282 (libm-calls): Add k_standard.
5283
8622d556
WD
52842014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5285
5286 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5287 Optimize to avoid an unnecessary FPCR read.
5288
f3806bdb
WD
52892014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5290
5291 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5292 Optimize to reduce FPCR/FPSR accesses.
5293
9b47df58
WD
52942014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5295
5296 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5297 Call libc_fetestexcept_aarch64.
5298
97be3cac
WD
52992014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5300
5301 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5302 Call libc_fesetround_aarch64.
5303
935ab817
JM
53042014-12-22 Joseph Myers <joseph@codesourcery.com>
5305
5306 [BZ #17733]
5307 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5308 (__bind): Do not define as weak alias.
5309 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5310 define.
5311 (__getsockname): Do not define as weak alias.
5312
cc8623f1
WN
53132014-12-22 Will Newton <will.newton@linaro.org>
5314
5315 * manual/install.texi: Document that we require bison 2.7
5316 or above.
5317 * INSTALL: Regenerate.
5318 * configure.ac: Use AC_CHECK_PROG_VER instead of
5319 AC_PATH_PROG when checking for bison and check for
5320 version 2.7 or above.
5321 * configure: Regenerate.
5322
a19ca65a
CM
53232014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
5324
92901170 5325 [BZ #17745]
e969965a
CM
5326 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5327 * sysdeps/tile/ffsll.c (ffsll): To here.
5328
a19ca65a
CM
5329 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5330
050f7298
L
53312014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5332
5333 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5334 if not defined.
5335 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5336 definition.
5337 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5338 hidden ___tls_get_addr.
5339 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5340 hidden __tls_get_addr.
5341 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5342 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5343 Likewise.
5344
6df5547e
AS
53452014-12-21 Andreas Schwab <schwab@linux-m68k.org>
5346
5347 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5348 _dl_init call.
5349
7432d613
L
53502014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5351
5352 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5353 from "call _dl_init@PLT".
5354 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 5355
98fe149e
AK
53562014-12-21 Anders Kaseorg <andersk@mit.edu>
5357
5358 * manual/search.texi: (Array Sort Function): Clarify stable sorting
5359 guarantees.
5360
d12455f5
CM
53612014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
5362
5363 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5364
95dee05f
CM
53652014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5366
92901170 5367 [BZ #17744]
95dee05f
CM
5368 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5369 strnlen.
5370
2ef4b74a
SE
53712014-12-19 Steve Ellcey <sellcey@imgtec.com>
5372
5373 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5374 of multu on MIPSr6.
5375 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5376 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5377 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5378 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5379 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5380
53812014-12-19 Steve Ellcey <sellcey@imgtec.com>
5382
5383 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5384 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5385 (PTR_SUBU): Use subu for mips32r6/mips64r6.
5386 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 5387 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
5388 mips32r6/mips64r6.
5389 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5390
3eb38795
OB
53912014-12-19 Ondřej Bílka <neleai@seznam.cz>
5392
5393 * string/strncat.c (STRNCAT): Simplify implementation.
5394
6d4188dd
DM
53952014-12-19 David S. Miller <davem@davemloft.net>
5396
0d4ba8be
DM
5397 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5398 access the quad as both a long double and as a series of 4 words.
5399
6d4188dd
DM
5400 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5401 link_map->l_info array access.
5402
4ef91cdc
CM
54032014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5404
804c54f7
CM
5405 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5406
4ef91cdc
CM
5407 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5408 * math/atest-exp2.c (TIMEOUT): Likewise.
5409 * math/atest-sincos.c (TIMEOUT): Likewise.
5410
afd176d6
L
54112014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5412
5413 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5414 -Wno-error with -fno-builtin-lround.
5415
a4a43a90
TR
54162014-12-19 Torvald Riegel <triegel@redhat.com>
5417
5418 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5419 Contains futex constants and functions moved over from ...
5420 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
5421 <lowlevellock-futex.h>.
5422 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5423 (lll_timedwait_tid): Add comments and parentheses around macro
5424 arguments.
5425
76f71081
TR
54262014-12-19 Torvald Riegel <triegel@redhat.com>
5427
5428 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5429 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
5430 (__lll_private_flag): Remove.
5431 (lll_futex_wait): Likewise.
5432 (lll_futex_timed_wait): Likewise.
5433 (lll_futex_wake): Likewise.
5434 (lll_futex_requeue): Likewise.
5435 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5436 (__lll_timedwait_tid): Spell out argument names.
5437 (lll_timedwait_tid): Add comments and parentheses around macro
5438 arguments.
5439 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
5440 LLL_SHARED and LLL_PRIVATE usable from assembly code.
5441
6b814909
TR
54422014-12-19 Torvald Riegel <triegel@redhat.com>
5443
5444 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
5445 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5446 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5447 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
5448 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
5449 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
5450 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
5451 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
5452 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
5453 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
5454 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
5455 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
5456 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
5457 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
5458 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
5459 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
5460 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
5461 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
5462 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
5463
9cd4d4ab
L
54642014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5465
5466 * sysdeps/x86_64/x32/Makefile: New file.
5467
c9c1a2d0
L
54682014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5469
5470 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
5471 1L with (mp_limb_t) 1.
5472
af102d95
RM
54732014-12-17 Roland McGrath <roland@hack.frob.com>
5474
dd690454
RM
5475 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
5476 * nptl/libc_pthread_init.c: ... here.
5477 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
5478 * nptl/register-atfork.c: ... here.
5479
74eb826c
RM
5480 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
5481 Use pthread_sigmask rather than INTERNAL_SYSCALL.
5482 Use assert_perror to check its return value.
5483 (__gai_create_helper_thread): Likewise.
5484
c9ce306b
RM
5485 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
5486
af102d95
RM
5487 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
5488
8ac5a76a
JM
54892014-12-17 Joseph Myers <joseph@codesourcery.com>
5490
ea41469b
JM
5491 [BZ #17725]
5492 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
5493 __profil_counter.
5494 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
5495 Likewise.
5496 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
5497 Likewise.
5498 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
5499 Likewise.
5500 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
5501 (profil_counter): Likewise.
5502 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
5503 (profil_counter): Likewise.
5504 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
5505 Likewise.
5506 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
5507 Likewise.
5508 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
5509 (profil_counter): Likewise.
5510 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
5511 Likewise.
5512 [!__profil_counter] (profil_counter): Define as weak alias of
5513 __profil_counter.
5514 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
5515 (profil_counter): Rename to __profil_counter.
5516 [!__profil_counter] (profil_counter): Define as weak alias of
5517 __profil_counter.
5518 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
5519 (profil_counter): Rename to __profil_counter.
5520 [!__profil_counter] (profil_counter): Define as weak alias of
5521 __profil_counter.
5522 * sysdeps/posix/profil.c: Update comment referring to
5523 profil_counter.
5524 (__profil): Use __profil_counter instead of profil_counter.
5525 * sysdeps/posix/sprofil.c (profil_counter): Rename to
5526 __profil_counter. Use __profil_counter_ushort and
5527 __profil_counter_uint in definitions.
5528 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
5529 instead of profil_counter_uint and profil_counter_ushort.
5530
8ac5a76a
JM
5531 [BZ #17722]
5532 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
5533 define as weak alias of __inet_makeaddr.
5534 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
5535 as weak alias of __inet_addr.
5536 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
5537 as weak alias of __inet_pton. Use libc_hidden_weak.
5538 * include/arpa/inet.h (__inet_pton): Declare. Use
5539 libc_hidden_proto.
5540 (inet_makeaddr): Don't use libc_hidden_proto.
5541 (__inet_makeaddr): Declare. Use libc_hidden_proto.
5542 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
5543 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
5544 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
5545 Remove variable.
5546 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5547 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5548
66ce3cb1
SE
55492014-12-17 Steve Ellcey <sellcey@imgtec.com>
5550
5551 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
5552
d22ce01b
SL
55532014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5554
5555 * stdio-common/bug-vfprintf-nargs.c (do_test):
5556 Cast value to intptr_t to avoid format warning
5557 for usage with PRIdPTR printing macro.
5558
eca2772b
SL
55592014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5560
5561 * libio/tst-widetext.c (do_test):
5562 Use format type %td instead of %Zd for ptrdiff_t
5563 in order to avoid format warning.
5564
bdf079da
AS
55652014-12-17 Andreas Schwab <schwab@suse.de>
5566
5567 * nscd/mem.c (gc): Add size_t cast to match printf format.
5568
3eb5d2fc
RM
55692014-12-16 Roland McGrath <roland@hack.frob.com>
5570
5571 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
5572 (init): Apply PTR_MANGLE to pointers before storing them.
5573 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
5574 before using them.
5575
d003ada2
JM
55762014-12-16 Joseph Myers <joseph@codesourcery.com>
5577
380292ba
JM
5578 [BZ #17719]
5579 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
5580 define as weak alias of __memrchr.
5581 (__memrchr): Do not define as strong alias of memrchr.
5582 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
5583 Remove variable.
5584 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5585 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5586 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5587
9a44d530
JM
5588 [BZ #17717]
5589 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
5590 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
5591 (if_indextoname): Rename to __if_indextoname and define as weak
5592 alias of __if_indextoname. Use libc_hidden_weak.
5593 (if_freenameindex): Rename to __if_freenameindex and define as
5594 weak alias of __if_freenameindex.
5595 (if_nameindex): Rename to __if_nameindex and define as weak alias
5596 of __if_nameindex.
5597 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
5598 __if_nametoindex and define as weak alias of __if_nametoindex.
5599 Use libc_hidden_weak.
5600 (if_freenameindex): Rename to __if_freenameindex and define as
5601 weak alias of __if_freenameindex.
5602 (if_nameindex): Rename to __if_nameindex and define as weak alias
5603 of __if_nameindex.
5604 (if_indextoname): Rename to __if_indextoname and define as weak
5605 alias of __if_indextoname. Use libc_hidden_weak.
5606 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
5607 __if_nametoindex and define as weak alias of __if_nametoindex.
5608 Use libc_hidden_weak.
5609 (if_freenameindex): Rename to __if_freenameindex and define as
5610 weak alias of __if_freenameindex. Use libc_hidden_weak.
5611 (if_nameindex_netlink): Use __if_freenameindex instead of
5612 if_freenameindex.
5613 (if_nameindex): Rename to __if_nameindex and define as weak alias
5614 of __if_nameindex. Use libc_hidden_weak.
5615 (if_indextoname): Rename to __if_indextoname and define as weak
5616 alias of __if_indextoname. Use libc_hidden_weak.
5617 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
5618 libc_hidden_proto.
5619 [!_ISOMAC] (__if_freenameindex): Likewise.
5620 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
5621 if_nametoindex.
5622 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
5623 variable.
5624 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5625 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5626 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5627 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5628 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5629 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5630 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5631
d003ada2
JM
5632 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
5633 Remove variable.
5634 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5635 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5636
a0d424ef
SP
56372014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5638
0cd85520
SP
5639 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
5640 subscript above bounds'
5641
a0d424ef
SP
5642 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
5643 bounds.
5644
0e426475
AS
56452014-12-16 Arjun Shankar <arjun.is@lostca.se>
5646
8b460906
AS
5647 * libio/tst-fopenloc.c: Use test-skeleton.c.
5648
fa13e15b
AS
5649 * stdlib/tst-bsearch.c: Use test-skeleton.c.
5650 (entry): Rename to ITEM.
5651 (do_test, comp): Adjust.
5652
0e426475
AS
5653 * stdio-common/tst-fseek.c: Use test-skeleton.c.
5654
4f646bce
TR
56552014-12-16 Torvald Riegel <triegel@redhat.com>
5656
5657 * string/tester.c: Include <libc-internal.h>.
5658 (test_memset): Ignore -Wmemset-transposed-args.
5659
a07c4427
TR
56602014-12-16 Torvald Riegel <triegel@redhat.com>
5661
5662 * misc/tst-mntent2.c (do_test): Fix warning.
5663
1469f466
TR
56642014-12-16 Torvald Riegel <triegel@redhat.com>
5665
5666 * elf/tst-unique4lib.cc(a): Mark as used.
5667
11e3417a
FW
56682014-12-16 Florian Weimer <fweimer@redhat.com>
5669
5670 [BZ #17630]
5671 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
5672 names.
5673
ae61fc7b
AM
56742014-12-16 Allan McRae <allan@archlinux.org>
5675
5676 * stdio-common/Makefile (tests): Re-add bug26.
5677
363a9899
OB
56782014-12-15 Ondřej Bílka <neleai@seznam.cz>
5679
5680 [BZ #17657]
5681 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
5682 static array.
5683
d52c62df
TR
56842014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
5685
5686 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
5687 (__lll_lock_wait): Likewise.
5688 (__lll_timedlock_wait): Likewise.
5689 (__lll_timedwait_tid): Likewise.
5690 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
5691 (__lll_robust_timedlock_wait): Likewise.
5692 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
5693 (lll_cond_trylock): Likewise.
5694 (__lll_lock): Likewise.
5695 (__lll_robust_lock): Likewise.
5696 (__lll_cond_lock): Likewise.
5697 (lll_robust_cond_lock): Likewise.
5698 (__lll_timedlock): Likewise.
5699 (__lll_robust_timedlock): Likewise.
5700 (__lll_unlock): Likewise.
5701 (__lll_robust_unlock): Likewise.
5702 (lll_wait_tid): Likewise.
5703 (lll_timedwait_tid): Likewise.
5704
045a6bcd
TR
57052014-12-15 Torvald Riegel <triegel@redhat.com>
5706
5707 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
5708
7f786dc1
TR
57092014-12-15 Torvald Riegel <triegel@redhat.com>
5710
5711 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
5712
e7e21cba
AZ
57132014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
5714
5715 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
5716 * stdio-common/tst-sprintf.c: Likewise.
5717
bc89c0fc
TR
57182014-12-15 Torvald Riegel <triegel@redhat.com>
5719
5720 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
5721
a5357b7c
JL
57222014-12-15 Jeff Law <law@redhat.com>
5723
5724 [BZ #16617]
5725 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
5726 on the heap. (CVE-2012-3406)
5727 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
5728 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
5729 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
5730
3a12c70f
WN
57312014-12-15 Will Newton <will.newton@linaro.org>
5732
5733 * manual/install.texi: Bump required version of texinfo
5734 to 4.7 from 4.5.
5735 * INSTALL: Regenerated.
5736 * configure.ac: Check for makeinfo version 4.7 and above.
5737 * configure: Regenerated.
5738
e4f639e4
RM
57392014-12-12 Roland McGrath <roland@hack.frob.com>
5740
5741 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
5742 PREFIX, string constant to insert between directory and name.
5743 * sysdeps/posix/shm_open.c: Update caller.
5744 * sysdeps/posix/shm_unlink.c: Likewise.
5745 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
5746 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
5747 (SEM_SHM_PREFIX): New macro.
5748 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
5749 [$(have-thread-library) = no].
5750 * nptl/Makefile (libpthread-routines): Add shm-directory.
5751 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
5752 * sysdeps/nptl/shm-directory.h: New file.
5753 * sysdeps/posix/shm-directory.c
5754 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
5755 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5756 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
5757 INTERNAL_SYSCALL.
5758 (__where_is_shmfs): Function removed.
5759 (mountpoint, defaultmount, defaultdir, __namedsem_once):
5760 Variables removed.
5761 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
5762 Use SHM_GET_NAME.
5763 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
5764
5765 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
5766 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
5767 unconditional for use inside libpthread.
5768 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
5769
439c43f6
RM
57702014-12-12 Roland McGrath <roland@hack.frob.com>
5771
c76d1ff5
RM
5772 * nptl/pthread_getaffinity.c: New file.
5773 * nptl/pthread_setaffinity.c: New file.
5774 * nptl/pthread_getname.c: New file.
5775 * nptl/pthread_setname.c: New file.
5776
439c43f6
RM
5777 * nptl/pthread_create.c (START_THREAD_DEFN)
5778 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
5779
48e435cd
SL
57802014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5781 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5782
5783 * resolv/res_send.c (send_vc): Disable warning resplen may
5784 be used uninitialized.
5785
9d9c0019
SL
57862014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5787
5788 * nptl/tst-mutex6.c
5789 (ATTR_NULL): New define checks ATTR against NULL.
5790 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
5791 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
5792
9173840b
JL
57932014-12-11 James Lemke <jwlemke@codesourcery.com>
5794
5795 [BZ #17581]
5796 * malloc/hooks.c
5797 (mem2mem_check): Revert my previous change.
5798 (malloc_check_get_size): Revert my previous change.
5799 (mem2chunk_check): Revert my previous change.
5800
78e21c5d
RM
58012014-12-11 Roland McGrath <roland@hack.frob.com>
5802
5803 * sysdeps/posix/shm-directory.c: New file.
5804 * sysdeps/posix/shm-directory.h: New file.
5805 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
5806 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
5807 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
5808 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
5809 Transmute EPERM to EACCES.
5810 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
5811 from ...
5812 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
5813 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
5814
f82c43af
KK
58152014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5816
5817 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
5818 pointer and cast to uintptr_t.
5819 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
5820 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
5821 Add cast to avoid warning.
5822 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
5823
fc00cf7b
JM
58242014-12-11 Joseph Myers <joseph@codesourcery.com>
5825
5826 * nptl/semaphore.h: Move to ...
5827 * sysdeps/pthread/semaphore.h: ... here.
5828 * Makefile (installed-headers): Change nptl/semaphore.h to
5829 sysdeps/pthread/semaphore.h.
5830
1c4053db
RM
58312014-12-11 Roland McGrath <roland@hack.frob.com>
5832
73b0c1a1
RM
5833 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
5834 generated error format strings.
5835
1c4053db
RM
5836 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
5837 -Wformat-extra-args warnings for scanf formats.
5838 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
5839 test of zero-length format (duh).
5840 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
5841 corner-case scanf format test.
5842 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
5843 generated fprintf format string.
5844 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
5845 corner-case sprintf format tests.
5846 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
5847 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
5848 -Wformat-extra-args warnings throughout.
5849 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
5850 (CFLAGS-scanf4.c): Likewise.
5851 (CFLAGS-scanf7.c): Likewise.
5852 (CFLAGS-tst-sprintf.c): Likewise.
5853 (CFLAGS-tst-printf.c): Likewise.
5854 (CFLAGS-tst-printfsz.c): Likewise.
5855
47d51f4f
JM
58562014-12-11 Joseph Myers <joseph@codesourcery.com>
5857
a1edbf3c
JM
5858 * include/cpio.h: New file.
5859 * include/fmtmsg.h: Likewise.
5860
47d51f4f
JM
5861 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
5862 corresponding format argument to size_t.
5863 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
5864 arguments.
5865 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
5866 corresponding format argument to size_t.
5867 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
5868 arguments.
5869 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
5870 corresponding format argument to size_t.
5871 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
5872 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
5873 (CFLAGS-tst-mbswcs2.c): Likewise.
5874 (CFLAGS-tst-mbswcs3.c): Likewise.
5875 (CFLAGS-tst-mbswcs4.c): Likewise.
5876 (CFLAGS-tst-mbswcs5.c): Likewise.
5877 (CFLAGS-tst-trans.c): Likewise
5878
e9813cfb
RM
58792014-12-11 Roland McGrath <roland@hack.frob.com>
5880
5881 * posix/regexbug1.c (main): Use "%s" format with regerror results,
5882 rather than assuming they won't contain any '%'s.
5883
f627ca82
CM
58842014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
5885
5886 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
5887 inhibit_loop_to_libcall to avoid recursive calls.
5888 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
5889 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
5890
7f296942
AZ
58912014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
5892
5893 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
5894 prototype.
5895
d0276e18
SE
58962014-12-11 Steve Ellcey <sellcey@imgtec.com>
5897
5898 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
5899 integer value instead of boolean.
5900
fc56e970
SE
59012014-12-11 Steve Ellcey <sellcey@imgtec.com>
5902
5903 * malloc/malloc.c: Fix powerof2 check.
5904
40e53917
SL
59052014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5906
5907 * locale/programs/locfile.h (maybe_swap_uint32):
5908 Remove inline and add unused attribute.
5909
1ea166df
SL
59102014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5911
9d9c0019 5912 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
5913 Truncating assembler expression to a .long expression.
5914
acf869f4
AS
59152014-12-11 Andreas Schwab <schwab@suse.de>
5916
5917 * elf/rtld.c (struct map_args): Constify str member.
5918 (do_preload): Constify fname argument.
5919
9d969099
AZ
59202014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5921
5922 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
5923 constants definition.
5924
da5bcaa4
AS
59252014-12-11 Andreas Schwab <schwab@suse.de>
5926
b0a3c164
AS
5927 [BZ #16657]
5928 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
5929 FORCE_ELISION instead of DO_ELISION.
5930 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
5931 Remove.
5932 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
5933 Likewise.
5934
da5bcaa4
AS
5935 * iconvdata/gconv-modules: Remove duplicate entry.
5936
6d248857
WN
59372014-12-11 Will Newton <will.newton@linaro.org>
5938
5939 Merge gettext 0.19.3 into intl/.
5940
5941 This involves a number of cosmetic changes to comments
5942 and ANSI function definitions and prototypes throughout
5943 all the files. The gettext copyright header is used but
5944 with the date ranges taken from the glibc copy.
5945
5946 * NEWS: Add gettext merge to 2.21.
5947 * intl/bindtextdom.c: Switch to gettext copyright.
5948 Use ANSI definitions and prototypes.
5949 Use gl_* locking primitives rather than __libc_* ones.
5950 Use __builtin_expect rather than __glibc_likely/unlikely.
5951 * intl/dcgettext.c: Switch to gettext copyright.
5952 Use ANSI definitions and prototypes.
5953 * intl/dcigettext.c: Switch to gettext copyright.
5954 Use ANSI definitions and prototypes.
5955 (INTDIV0_RAISES_SIGFPE): New define.
5956 Use gl_* locking primitives rather than __libc_* ones.
5957 Include eval-plural.h instead of plural-eval.c.
5958 Use __builtin_expect rather than __glibc_likely/unlikely.
5959 * intl/dcngettext.c: Switch to gettext copyright.
5960 Use ANSI definitions and prototypes.
5961 * intl/dgettext.c: Likewise.
5962 * intl/dngettext.c: Likewise.
5963 * intl/plural-eval.c: Renamed to...
5964 * intl/eval-plural.h: ...this.
5965 * intl/explodename.c: Switch to gettext copyright.
5966 Use ANSI definitions and prototypes.
5967 (_nl_explode_name): Use strchr instead of __rawmemchr.
5968 * intl/finddomain.c: Switch to gettext copyright.
5969 Use ANSI definitions and prototypes.
5970 Use gl_* locking primitives rather than __libc_* ones.
5971 (_nl_find_domain): Use malloc rather than alloca for
5972 allocation of temporary locale name.
5973 * intl/gettext.c: Switch to gettext copyright.
5974 Use ANSI definitions and prototypes.
5975 * intl/gettextP.h: Switch to gettext copyright.
5976 Use ANSI definitions and prototypes.
5977 Use gl_* locking primitives rather than __libc_* ones.
5978 * intl/gmo.h: Switch to gettext copyright.
5979 (struct sysdep_string): Move struct segment_pair outside of
5980 struct definition.
5981 * intl/hash-string.c: Use ANSI definitions and prototypes.
5982 * intl/hash-string.h: Switch to gettext copyright.
5983 Use ANSI definitions and prototypes.
5984 * intl/l10nflist.c: Switch to gettext copyright.
5985 Use ANSI definitions and prototypes.
5986 (_nl_normalize_codeset): Avoid integer overflow.
5987 * intl/loadinfo.h: Switch to gettext copyright.
5988 Use ANSI definitions and prototypes.
5989 (LIBINTL_DLL_EXPORTED): New define.
5990 (PATH_SEPARATOR): New define.
5991 * intl/loadmsgcat.c: Switch to gettext copyright.
5992 * intl/localealias.c: Switch to gettext copyright.
5993 Use ANSI definitions and prototypes.
5994 (_nl_expand_alias): Use PATH_SEPARATOR.
5995 * intl/ngettext.c: Switch to gettext copyright.
5996 Use ANSI definitions and prototypes.
5997 * intl/plural-exp.c: Likewise.
5998 * intl/plural-exp.h: Switch to gettext copyright.
5999 Use ANSI definitions and prototypes.
6000 (struct expression): Move definition of enum operator outside
6001 of struct definition.
6002 * intl/plural.c: Regenerate.
6003 * intl/plural.y: Switch to gettext copyright.
6004 Use ANSI definitions and prototypes.
6005 Port to bison 3.0.
6006 * intl/textdomain.c: Switch to gettext copyright.
6007 Use ANSI definitions and prototypes.
6008 Use gl_* locking primitives rather than __libc_* ones.
6009
48c43298
SE
60102014-12-10 Steve Ellcey <sellcey@imgtec.com>
6011
6012 * debug/warning-nop.c: Add used atrribute.
6013
2b89bce9
JM
60142014-12-10 Joseph Myers <joseph@codesourcery.com>
6015
c153ac9f
JM
6016 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6017
2b89bce9
JM
6018 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6019 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6020 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6021
2cfbdb9a
JM
60222014-12-10 Joseph Myers <joseph@codesourcery.com>
6023 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6024
6025 [BZ #17634]
6026 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6027 Undefine after defining function. Define as weak alias of
6028 __wcschr. Use libc_hidden_weak.
6029 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
6030 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
6031 (libc_hidden_def): Also define __GI___wcschr alias.
6032 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
6033 __wcschr and define as weak alias of __wcschr.
6034 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
6035 __wcschr.
6036 [!WCSCHR] (DEFAULT_WCSCHR): Define.
6037 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
6038 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
6039 libc_hidden_weak. Do not use libc_hidden_def.
6040 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
6041 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
6042 __GI___wcschr alias.
6043 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
6044 [IS_IN (libc)] (wcschr): Define as macro expanding to
6045 __redirect_wcschr.
6046 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
6047 [IS_IN (libc)] (__wcschr_power6): Likewise.
6048 [IS_IN (libc)] (__wcschr_power7): Likewise.
6049 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
6050 instead of wcschr.
6051 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
6052 __libc_wcschr.
6053 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
6054 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
6055 __wcschr and define as weak alias of __wcschr. Use
6056 libc_hidden_builtin_def.
6057 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
6058 as weak alias of __wcschr. Use libc_hidden_weak.
6059 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
6060 wcschr.
6061 * time/era.c (_nl_init_era_entries): Likewise.
6062 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
6063 variable.
6064 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6065 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6066
1b8bf351
JM
60672014-12-10 Joseph Myers <joseph@codesourcery.com>
6068
6069 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
6070 format for long int variable.
6071
f5f46d51
AK
60722014-12-10 Anders Kaseorg <andersk@MIT.EDU>
6073
6074 [BZ #10672]
07008f7d 6075 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
6076 qsort stable.
6077
217a74a8
AS
60782014-12-10 Andreas Schwab <schwab@suse.de>
6079
6080 [BZ #12847]
6081 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
6082 user-controlled locks.
6083
aa76a5c7
RE
60842014-12-10 Richard Earnshaw <rearnsha@arm.com>
6085
6086 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
6087 register.
6088
2084e7ca
JM
60892014-12-10 Joseph Myers <joseph@codesourcery.com>
6090
a4ecc9eb
JM
6091 * configure.ac (--disable-werror): New configure option.
6092 (enable_werror): New AC_SUBST.
6093 * configure: Regenerated.
6094 * config.make.in (enable-werror): New variable.
6095 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
6096 -Wno-error=undef.
6097 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
6098 * manual/install.texi (Configuring and compiling): Document
6099 --disable-werror.
6100 * INSTALL: Regenerated.
6101 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
6102 (CFLAGS-tst-chk2.c): Likewise.
6103 (CFLAGS-tst-chk3.c): Likewise.
6104 (CFLAGS-tst-chk4.cc): Likewise.
6105 (CFLAGS-tst-chk5.cc): Likewise.
6106 (CFLAGS-tst-chk6.cc): Likewise.
6107 (CFLAGS-tst-lfschk1.c): Likewise.
6108 (CFLAGS-tst-lfschk2.c): Likewise.
6109 (CFLAGS-tst-lfschk3.c): Likewise.
6110 (CFLAGS-tst-lfschk4.cc): Likewise.
6111 (CFLAGS-tst-lfschk5.cc): Likewise.
6112 (CFLAGS-tst-lfschk6.cc): Likewise.
6113
0f88636c
JM
6114 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
6115 (main): Disable -Wdeprecated-declarations around calls to
6116 register_printf_function.
6117
c81e9deb
JM
6118 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
6119 (do_test): Disable -Wdiv-by-zero around some calls to
6120 fwrite_unlocked and fread_unlocked.
6121
2084e7ca
JM
6122 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
6123 (DIAG_POP_NEEDS_COMMENT): Likewise.
6124 (_DIAG_STR1): Likewise.
6125 (_DIAG_STR): Likewise.
6126 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
6127 * stdio-common/bug21.c: Include <libc-internal.h>.
6128 (do_test): Disable -Wformat around call to sscanf.
6129 * stdio-common/scanf14.c: Include <libc-internal.h>.
6130 (main): Disable -Wformat around some calls to scanf functions.
6131
df7ecc6b
TR
61322014-12-09 Torvald Riegel <triegel@redhat.com>
6133
6134 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6135
2aa3862e
AZ
61362014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6137
6138 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
6139 stack variable alignment.
6140
c5c2b7c3
JM
61412014-12-06 Joseph Myers <joseph@codesourcery.com>
6142
6143 [BZ #17682]
6144 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
6145 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
6146 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6147 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
6148 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
6149 __getrlimit instead of getrlimit.
6150 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
6151 __gettimeofday instead of gettimeofday.
6152 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6153 Likewise.
6154 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6155 Likewise.
6156 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6157 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
6158 Remove variable.
6159 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6160 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6161
9752c3cd
AZ
61622014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6163
6164 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
6165 for wide-character tests.
6166
4bee4cd9
RM
61672014-12-04 Roland McGrath <roland@hack.frob.com>
6168
6169 * io/openat64.c: #include <libc-internal.h>
6170 (__openat64): Prototypify. Use ignore_value on MODE.
6171 * io/openat.c: Likewise.
6172 * misc/reboot.c: #include <libc-internal.h>
6173 (reboot): Prototypify. Use ignore_value on HOWTO.
6174 * misc/ptrace.c: #include <libc-internal.h>
6175 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
6176
84dbedb6
JM
61772014-12-04 Joseph Myers <joseph@codesourcery.com>
6178
6179 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
6180 XPG4, UNIX98 and XOPEN2K.
6181 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
6182 Remove variable.
6183 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6184
b7a3e1c4 61852014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 6186
af50dfc1 6187 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
6188 * libio/iofopen.c: Likewise.
6189 * libio/wfileops.c: Likewise.
6190
fe8b4d98
SP
6191 [BZ #17653]
6192 * libio/fileops.c (_IO_new_file_underflow): Unset cached
6193 offset on EOF.
6194 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6195 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6196 (fgets_func): Function pointer to fgets and fgetws.
6197 (do_ftell_test): Add test to verify ftell value after read
6198 EOF.
6199 (do_test): Set fgets_func.
6200
61b4f792
SP
6201 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6202 O_TRUNC flag for w and w+ modes.
6203 (do_rewind_test): Likewise.
6204 (do_ftell_test): Likewise.
6205 (do_write_test): Likewise.
6206
be349d70
SP
6207 [BZ #17647]
6208 * libio/fileops.c (do_ftell): Seek only when there are
6209 unflushed writes.
6210 * libio/wfileops.c (do_ftell_wide): Likewise.
6211 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6212 test case.
6213 (do_one_test): Call it.
6214
e3d6dba5
JM
62152014-12-03 Joseph Myers <joseph@codesourcery.com>
6216
6217 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6218 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6219 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6220 Remove variable.
6221 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6222 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6223 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6224
7f994279
JM
62252014-12-02 Joseph Myers <joseph@codesourcery.com>
6226
28a91e8f
JM
6227 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6228 Remove variable.
6229 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6230
7f994279
JM
6231 [BZ #17668]
6232 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6233 as weak alias of __getifaddrs. Use libc_hidden_weak.
6234 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6235 __freeifaddrs. Use libc_hidden_weak.
6236 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6237 define as weak alias of __getifaddrs. Use libc_hidden_weak.
6238 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6239 __freeifaddrs. Use libc_hidden_weak.
6240 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6241 __getifaddrs and define as weak alias of __getifaddrs. Use
6242 libc_hidden_weak.
6243 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6244 __freeifaddrs. Use libc_hidden_weak.
6245 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6246 Remove variable.
6247 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6248 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6249
bbe4c142
PJ
62502014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
6251
6252 [BZ #17601]
6253 * sysdeps/mips/start.S (__start): Use indirect jump to call
6254 __libc_start_main.
6255
66cadc05
JM
62562014-12-02 Joseph Myers <joseph@codesourcery.com>
6257
909e16d9
JM
6258 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6259
4e0b9016
JM
6260 * nptl/tst-mutex1.c: Include <stdbool.h>.
6261 [!ATTR] (ATTR_NULL): New macro.
6262 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6263 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6264 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6265
b1aff6a4
JM
6266 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6267 to char *.
6268
266865c0
JM
6269 [BZ #17665]
6270 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6271 Change conditional to [__USE_MISC].
6272
84e5e756
JM
6273 [BZ #17664]
6274 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6275 fgets_unlocked.
6276 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6277 __fgets_unlocked.
6278 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6279 fgets_unlocked.
6280 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6281 Remove variable.
6282 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6283 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6284 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6285 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6286 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6287 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6288 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6289 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6290 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6291
66cadc05
JM
6292 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6293
2e8a2de2 62942014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
6295
6296 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6297 Remove strpbrk objects.
6298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6299 (__libc_ifunc_impl_list): Remove strpbrk implementation.
6300 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6301 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6302 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6303 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6304
bb2542e0
AZ
6305 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6306 Remove strcspn objects.
6307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6308 (__libc_ifunc_impl_list): Remove strcspn implementation.
6309 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6310 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6311 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6312 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
6313
6314 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6315 Remove strspn objetcs.
6316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6317 (__libc_ifunc_impl_list): Remove strspn implementation.
6318 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6319 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6320 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6321 * sysdeps/powerpc/powerpc64/strspn.S: New file.
6322
08f1e1d2
JL
63232014-12-01 James Lemke <jwlemke@codesourcery.com>
6324
6325 [BZ #17581]
6326 * malloc/hooks.c
6327 (mem2mem_check): Add a terminator to the chain of checking blocks.
6328 (malloc_check_get_size): Use it here.
6329 (mem2chunk_check): Ditto.
6330
a8a7d7d2
RS
63312014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6332
6333 * sysdeps/powerpc/powerpc64/strtok.S: New file.
6334 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6335
97114a38
CD
63362014-11-29 Carlos O'Donell <carlos@redhat.com>
6337
c8dc1727
CD
6338 * bits/ioctl-types.h: Indent preprocessor directives correctly.
6339
6d03458e
CD
6340 * nptl/nptl-init.c: Include libc-internal.h.
6341 (__pthread_initialize_minimal_internal): Use ROUND_UP.
6342
97114a38
CD
6343 * elf/ldconfig.c (search_dir): Expand comment.
6344
0e7e69ba
JM
63452014-11-29 Joseph Myers <joseph@codesourcery.com>
6346
6347 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6348 variable.
6349 (linknamespace-symlist-stdlibs-tests): Likewise.
6350 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6351 instead of $(objpfx)symlist-stdlibs.
6352 (linknamespace-libs-isoc): New variable.
6353 (linknamespace-libs): Use $(linknamespace-libs-isoc).
6354 (linknamespace-libs-ISO): New variable.
6355 (linknamespace-libs-ISO99): Likewise.
6356 (linknamespace-libs-ISO11): Likewise.
6357 (linknamespace-libs-XPG3): Likewise.
6358 (linknamespace-libs-XPG4): Likewise.
6359 (linknamespace-libs-POSIX): Likewise.
6360 (linknamespace-libs-UNIX98): Likewise.
6361 (linknamespace-libs-XOPEN2K): Likewise.
6362 (linknamespace-libs-POSIX2008): Likewise.
6363 (linknamespace-libs-XOPEN2K8): Likewise.
6364 ($(objpfx)symlist-stdlibs): Replace by
6365 $(linknamespace-symlist-stdlibs-tests). Use
6366 $(linknamespace-libs-$*) as set of libraries.
6367 ($(linknamespace-header-tests)): Update dependencies. Use
6368 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6369 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6370 * conform/linknamespace.pl: Remove comment about considering
6371 definitions of symbols from irrelevant libraries.
6372
d8dd0080
L
63732014-11-28 H.J. Lu <hongjiu.lu@intel.com>
6374
6375 [BZ #13862]
6376 * elf/dl-tls.c: Include <atomic.h>.
6377 (oom): Remove #ifdef SHARED/#endif.
6378 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6379 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
6380 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6381 big enough.
6382 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6383 * nptl/Makefile (tests): Add tst-stack4.
6384 (modules-names): Add tst-stack4mod.
6385 ($(objpfx)tst-stack4): New.
6386 (tst-stack4mod.sos): Likewise.
6387 ($(objpfx)tst-stack4.out): Likewise.
6388 ($(tst-stack4mod.sos)): Likewise.
6389 (clean): Likewise.
6390 * nptl/tst-stack4.c: New file.
6391 * nptl/tst-stack4mod.c: Likewise.
6392
167da422
B
63932014-11-27 J. Brown <jb999@gmx.de>
6394
6395 * sysdeps/x86/bits/string.h: Add recent CPUs.
6396
9114625b
JM
63972014-11-27 Joseph Myers <joseph@codesourcery.com>
6398
6b5189eb
JM
6399 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6400 sigblock.
6401
49051f8e
JM
6402 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6403 feof.
6404
9114625b
JM
6405 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6406 variable.
6407
e7300fef
SL
64082014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
6409
6410 * nscd/connections.c: Include libc-internal.h because of macro
6411 usage ignore_value.
6412
1721f0a4
SP
64132014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6414
6415 * string/bits/string3.h (__warn_memset_zero_len): Don't
6416 declare for gcc newer than 5.0.
6417 (memset): Don't test for zero-length __LEN for gcc newer than
6418 5.0.
6419
be970916
JM
64202014-11-27 Joseph Myers <joseph@codesourcery.com>
6421
d88548f4
JM
6422 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6423 size_t for %zu format.
6424
be970916
JM
6425 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6426 difference, not %ju.
6427
3b20fd5c
JM
64282014-11-26 Joseph Myers <joseph@codesourcery.com>
6429
8915eace
JM
6430 * include/libc-internal.h (ignore_value): New macro.
6431 * nscd/connections.c (restart): Wrap calls to setuid and setgid
6432 with ignore_value.
6433
f1a5a0e3
JM
6434 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
6435 definition.
6436
59ef1715
JM
6437 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
6438 pthread_cleanup_push to void *.
6439
a6f3079b
JM
6440 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
6441 Undefine.
6442
706688aa
JM
6443 [BZ #16619]
6444 [BZ #16740]
6445 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
6446 instead of 1L << 52.
6447
12da14a5
JM
6448 * libio/bug-rewind.c (do_test): Check fwscanf return values.
6449 * libio/bug-rewind2.c (do_test): Likewise.
6450
bd5dadac
JM
6451 * debug/test-stpcpy_chk-ifunc.c: Remove file.
6452 * debug/test-strcpy_chk-ifunc.c: Likewise.
6453 * wcsmbs/test-wcschr-ifunc.c: Likewise.
6454 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6455 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6456 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6457 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6458 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6459 * Rules [$(multi-arch) = no] (tests): Do not filter out
6460 $(tests-ifunc).
6461 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
6462 * debug/Makefile (tests-ifunc): Remove variable.
6463 (tests): Do not add $(tests-ifunc).
6464 * wcsmbs/Makefile (tests-ifunc): Remove variable.
6465 (tests): Do not add $(tests-ifunc).
6466 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
6467 [TEST_IFUNC]: Remove conditionals.
6468 * string/test-string.h (TEST_IFUNC): Remove macro.
6469 [TEST_IFUNC]: Remove conditionals.
6470
3b20fd5c
JM
6471 * string/test-strchr.c [!WIDE] (L): New macro.
6472 [WIDE] (L): Likewise.
6473 (check1): Use CHAR instead of char. Use L on string and character
6474 constants.
6475
704f7947
AZ
64762014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
6477
6478 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
6479 tests.
6480 * sysdeps/powerpc/bits/atomic.h
6481 (__arch_atomic_exchange_and_add_32_acq): Add definition.
6482 (__arch_atomic_exchange_and_add_32_rel): Likewise.
6483 (atomic_exchange_and_add_acq): Likewise.
6484 (atomic_exchange_and_add_rel): Likewise.
6485 * sysdeps/powerpc/powerpc32/bits/atomic.h
6486 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6487 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6488 * sysdeps/powerpc/powerpc64/bits/atomic.h
6489 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6490 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6491
cdcb42d7
TR
64922014-11-26 Torvald Riegel <triegel@redhat.com>
6493
6494 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
6495 Change synchronization of __sched_fifo_min_prio and
6496 __sched_fifo_max_prio.
6497 * nptl/pthread_mutexattr_getprioceiling.c
6498 (pthread_mutexattr_getprioceiling): Likewise.
6499 * nptl/pthread_mutexattr_setprioceiling.c
6500 (pthread_mutexattr_setprioceiling): Likewise.
6501 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6502 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6503 Likewise.
6504
c82f5c0c
JM
65052014-11-26 Joseph Myers <joseph@codesourcery.com>
6506
6507 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
6508 void.
6509
439e1ad6
JM
65102014-11-25 Joseph Myers <joseph@codesourcery.com>
6511
6512 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
6513 third argument const.
6514
b1eda10e
PE
65152014-11-25 Paul Eggert <eggert@cs.ucla.edu>
6516
6517 fnmatch: work around GCC compiler warning bug with uninit var
6518 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
6519 This works around a bug with x86-64 GCC 4.9.2 and earlier
6520 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
6521 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
6522 used uninitialized in this function [-Wmaybe-uninitialized]".
6523
bde2667a
JM
65242014-11-25 Joseph Myers <joseph@codesourcery.com>
6525
6526 * posix/bug-regex31.c (main): Return RES not 0.
6527
5fbb5691
AB
65282014-11-25 Anton Blanchard <anton@samba.org>
6529
6530 * sysdeps/powerpc/bits/atomic.h
6531 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
6532
467fec0b
BM
65332014-11-24 Sterling Augustine <saugustine@google.com>
6534
6535 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
6536
e9ff8efb
RC
65372014-11-24 Ryan Cumming <etaoins@gmail.com>
6538
6539 [BZ #17608]
6540 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
6541
9744496f
JM
65422014-11-24 Joseph Myers <joseph@codesourcery.com>
6543
6544 [BZ #17633]
6545 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
6546 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
6547 variable.
6548 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6549 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6550
6423d475
WD
65512014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
6552
6553 * string/strncpy.c (strncpy): Improve performance by using memset.
6554
65552014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
6556
6557 * string/strcpy.c (strcpy):
6558 Improve performance by using strlen and memcpy.
6559
5d178c37
LH
65602014-11-24 Leonhard Holz <leonhard.holz@web.de>
6561
6562 * string/strcoll_l.c (get_next_seq): __always_inline.
6563 * string/strcoll_l.c (do_compare): __always_inline.
6564
279bc5b3
SP
65652014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6566
7a9ebfa1
SP
6567 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
6568 defined.
6569 * include/mqueue.h: Likewise.
6570 * include/stdlib.h: Likewise.
6571
4f41c682
SP
6572 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
6573 (get_null_defines): Adjust.
6574 * sunrpc/Makefile: Adjust comment.
6575 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
6576 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
6577 (CFLAGS-interp.c): Likewise.
6578 (CFLAGS-ldconfig.c): Likewise.
6579 (CPPFLAGS-.os): Likewise.
6580 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6581 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6582 * extra-modules.mk (extra-modules.mk): Likewise.
6583 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
6584 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
6585 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
6586 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
6587 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
6588 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
6589 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
6590 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
6591 * iconvdata/Makefile (CPPFLAGS): Likewise.
6592 (cpp-srcs-left): Add libof for all iconvdata routines.
6593 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
6594 * include/assert.h: Likewise.
6595 * include/ctype.h: Likewise.
6596 * include/errno.h: Likewise.
6597 * include/libc-symbols.h: Likewise.
6598 * include/math.h: Likewise.
6599 * include/netdb.h: Likewise.
6600 * include/resolv.h: Likewise.
6601 * include/stdio.h: Likewise.
6602 * include/stdlib.h: Likewise.
6603 * include/string.h: Likewise.
6604 * include/sys/stat.h: Likewise.
6605 * include/wctype.h: Likewise.
6606 * intl/l10nflist.c: Likewise.
6607 * libidn/idn-stub.c: Likewise.
6608 * libio/libioP.h: Likewise.
6609 * nptl/libc_multiple_threads.c: Likewise.
6610 * nptl/pthreadP.h: Likewise.
6611 * posix/regex_internal.h: Likewise.
6612 * resolv/res_hconf.c: Likewise.
6613 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
6614 * sysdeps/arm/memmove.S: Likewise.
6615 * sysdeps/arm/sysdep.h: Likewise.
6616 * sysdeps/generic/_itoa.h: Likewise.
6617 * sysdeps/generic/symbol-hacks.h: Likewise.
6618 * sysdeps/gnu/errlist.awk: Likewise.
6619 * sysdeps/gnu/errlist.c: Likewise.
6620 * sysdeps/i386/i586/memcpy.S: Likewise.
6621 * sysdeps/i386/i586/memset.S: Likewise.
6622 * sysdeps/i386/i686/memcpy.S: Likewise.
6623 * sysdeps/i386/i686/memmove.S: Likewise.
6624 * sysdeps/i386/i686/mempcpy.S: Likewise.
6625 * sysdeps/i386/i686/memset.S: Likewise.
6626 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6627 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6628 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
6629 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
6630 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6631 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6632 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
6633 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6634 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6635 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6636 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6637 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6638 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6639 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6640 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6641 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6642 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
6643 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
6644 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
6645 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6646 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6647 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6648 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6649 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6650 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6651 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6652 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
6653 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6654 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
6655 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6656 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6657 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6658 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6659 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6660 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6661 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6662 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6663 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6664 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6665 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6666 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6667 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6668 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6669 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6670 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6671 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6672 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
6673 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
6674 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6675 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6676 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6677 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
6678 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
6679 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6680 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6681 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
6682 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6683 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
6684 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
6685 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6686 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6687 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6688 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
6689 * sysdeps/nptl/bits/libc-lock.h: Likewise.
6690 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6691 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
6692 * sysdeps/posix/closedir.c: Likewise.
6693 * sysdeps/posix/opendir.c: Likewise.
6694 * sysdeps/posix/readdir.c: Likewise.
6695 * sysdeps/posix/rewinddir.c: Likewise.
6696 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
6697 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
6698 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6699 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6700 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6701 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
6702 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
6703 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
6704 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
6705 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
6706 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
6707 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
6708 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
6709 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
6710 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
6711 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
6712 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
6713 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
6714 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
6715 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
6716 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
6717 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
6718 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
6719 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
6720 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
6721 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
6722 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
6723 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
6724 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
6725 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
6726 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
6727 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
6728 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
6729 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
6730 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
6731 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
6732 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6733 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6734 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
6735 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
6736 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
6737 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
6738 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
6739 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6740 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
6741 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
6742 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
6743 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
6744 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
6745 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6746 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
6747 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
6748 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
6749 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
6750 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
6751 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
6752 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
6753 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
6754 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
6755 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
6756 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6757 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
6758 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
6759 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
6760 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
6761 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6762 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
6763 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
6764 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
6765 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
6766 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6767 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
6768 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
6769 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
6770 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
6771 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
6772 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
6773 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
6774 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6775 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
6776 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
6777 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6778 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
6779 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
6780 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6781 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
6782 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
6783 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6784 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6785 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6786 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
6787 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
6788 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
6789 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6790 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6791 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
6792 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6793 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6794 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
6795 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
6796 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6797 * sysdeps/unix/alpha/sysdep.S: Likewise.
6798 * sysdeps/unix/alpha/sysdep.h: Likewise.
6799 * sysdeps/unix/make-syscalls.sh: Likewise.
6800 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6801 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6802 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6803 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6804 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6805 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6806 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
6807 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6808 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6809 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
6810 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6811 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6812 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6813 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6814 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6815 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6816 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6817 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6818 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6819 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6820 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6821 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6822 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6823 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6824 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6825 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6826 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6829 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
6830 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6831 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6832 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6833 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6834 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6835 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6836 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6837 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6838 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6839 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6840 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6841 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6842 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6843 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6844 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6845 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6846 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6847 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6848 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6849 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6850 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6851 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6852 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6853 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6854 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6855 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6856 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6857 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6858 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
6859 * sysdeps/x86_64/memcpy.S: Likewise.
6860 * sysdeps/x86_64/memmove.c: Likewise.
6861 * sysdeps/x86_64/memset.S: Likewise.
6862 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
6863 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6864 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6865 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
6866 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6867 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6868 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6869 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6870 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6871 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6872 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6873 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6874 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
6875 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6876 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6877 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
6878 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6879 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6880 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6881 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6882 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
6883 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6884 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6885 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6886 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6887 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6888 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6889 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
6890 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6891 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6892 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
6893 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6894 * sysdeps/x86_64/strcmp.S: Likewise.
6895
76ca86a5
SP
6896 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
6897
a3848485
SP
6898 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
6899 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
6900 * elf/rtld-Rules: Likewise.
6901 * elf/setup-vdso.h: Likewise.
6902 * include/assert.h: Likewise.
6903 * include/bits/stdlib-float.h: Likewise.
6904 * include/errno.h: Likewise.
6905 * include/sys/stat.h: Likewise.
6906 * include/unistd.h: Likewise.
6907 * sysdeps/aarch64/setjmp.S: Likewise.
6908 * sysdeps/alpha/setjmp.S: Likewise.
6909 * sysdeps/arm/__longjmp.S: Likewise.
6910 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
6911 * sysdeps/arm/setjmp.S: Likewise.
6912 * sysdeps/arm/sysdep.h: Likewise.
6913 * sysdeps/generic/_itoa.h: Likewise.
6914 * sysdeps/generic/dl-sysdep.h: Likewise.
6915 * sysdeps/generic/ldsodefs.h: Likewise.
6916 * sysdeps/i386/dl-tls.h: Likewise.
6917 * sysdeps/i386/setjmp.S: Likewise.
6918 * sysdeps/m68k/setjmp.c: Likewise.
6919 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
6920 * sysdeps/mach/hurd/opendir.c: Likewise.
6921 * sysdeps/posix/getcwd.c: Likewise.
6922 * sysdeps/posix/opendir.c: Likewise.
6923 * sysdeps/posix/profil.c: Likewise.
6924 * sysdeps/powerpc/dl-procinfo.h: Likewise.
6925 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6926 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6927 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6928 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6929 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
6930 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6931 * sysdeps/s390/dl-tls.h: Likewise.
6932 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6933 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6934 * sysdeps/sh/sh3/setjmp.S: Likewise.
6935 * sysdeps/sh/sh4/setjmp.S: Likewise.
6936 * sysdeps/unix/alpha/sysdep.h: Likewise.
6937 * sysdeps/unix/arm/sysdep.S: Likewise.
6938 * sysdeps/unix/i386/sysdep.S: Likewise.
6939 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6940 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6941 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6942 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6943 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6944 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6945 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6946 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6947 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6948 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6949 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6950 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6951 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6954 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6955 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6956 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6957 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6958 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6959 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6960 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6961 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6962 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6963 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6964 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6965 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6966 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6967 * sysdeps/x86_64/setjmp.S: Likewise.
6968
a109996e
SP
6969 * include/math.h: Use IS_IN instead of IS_IN_libm.
6970 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
6971 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6972 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6973 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6974 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6975 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6976 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6977 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6978 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6979 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6980 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
6981 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6982 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
6983 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6984 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6985 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
6986 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
6987 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6988 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
6989 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
6990 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
6991 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
6992 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
6993 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
6994 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
6995 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6996 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
6997 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
6998 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
6999 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7000 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7001 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7002 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7004 Likewise.
7005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7006 Likewise.
7007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7008 Likewise.
7009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7010 Likewise.
7011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7012 Likewise.
7013 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7014 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7015 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7016 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7017 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7018 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7024 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7025 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7026 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7027 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7028 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7029 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7030 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7031 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7032 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7033 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
7034 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
7035 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
7036 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
7037 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
7038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7039 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
7040
ce9f10f7
SP
7041 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
7042 * nptl/pthreadP.h: Likewise.
7043 * nptl_db/structs.def: Likewise.
7044 * sysdeps/arm/sysdep.h: Likewise.
7045 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7046 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7047 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
7048 * sysdeps/unix/alpha/sysdep.h: Likewise.
7049 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7050 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7051 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7052 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7053 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7054 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7055 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7056 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7057 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7058 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7059 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7060 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7061 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7062 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7065 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7066 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7067 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7068 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7069 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7070 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7071 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7072 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7073 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7074 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7075
016afc75
SP
7076 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
7077 * nptl/pthreadP.h: Likewise.
7078 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7079 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7080 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7081 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7082 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7083 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7084 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7085 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7086 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7087 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7088 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7089 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7091 Likewise.
7092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7093 Likewise.
7094 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7095 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7096 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7097 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7098 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7099 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7100 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7101 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7102
9b42a0b3
SP
7103 * dlfcn/dladdr.c: Use IS_IN.
7104 * dlfcn/dladdr1.c: Likewise.
7105 * dlfcn/dlclose.c: Likewise.
7106 * dlfcn/dlerror.c: Likewise.
7107 * dlfcn/dlinfo.c: Likewise.
7108 * dlfcn/dlmopen.c: Likewise.
7109 * dlfcn/dlopen.c: Likewise.
7110 * dlfcn/dlsym.c: Likewise.
7111 * dlfcn/dlvsym.c: Likewise.
7112
85f36372
SP
7113 * include/ifaddrs.h: Use IS_IN.
7114 * inet/check_pf.c: Likewise.
7115 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7116 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7117
fb6784e3
SP
7118 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
7119 IS_IN_ldconfig.
7120 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
7121 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
7122
2886d2d1
SP
7123 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
7124 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
7125 IS_IN (libc).
7126
9a484857
SP
7127 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
7128
a10178bd
SP
7129 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7130 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7131 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7132 * include/libc-symbols.h (IS_IN_LIB): New macro.
7133 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7134 * include/netdb.h: Likewise.
7135 * include/stap-probe.h: Remove all uses of IN_LIB.
7136
279bc5b3
SP
7137 * Makeconfig (module-cppflags-real): Define MODULE_NAME
7138 instead of IN_MODULE.
7139 * include/libc-symbols.h (IN_MODULE): Define using
7140 MODULE_NAME.
7141 (PASTE_NAME, PASTE_NAME1): New macros.
7142 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
7143 of IN_LIB.
7144 (STAP_PROBE_ASM): Likewise.
7145
e0cfa510
ST
71462014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
7147
7148 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
7149 __mach_init in dlopened libc.
7150
34d97d87
MF
71512014-11-22 Mike Frysinger <vapier@gentoo.org>
7152
7153 * sysdeps/arm/preconfigure.ac: Delete EABI check.
7154 * sysdeps/arm/preconfigure: Regenerate.
7155
33cd1f74
RM
71562014-11-21 Roland McGrath <roland@hack.frob.com>
7157
7158 * nptl/pthread_create.c (__pthread_create_2_1): Set
7159 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
7160 when copying values from IATTR into PD.
7161
8c230039
WN
71622014-11-21 Will Newton <will.newton@linaro.org>
7163 Andrew Pinski <andrew.pinski@caviumnetworks.com>
7164
6d3db89b
AP
7165 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
7166 Refactor inline-asm. Also add comment.
7167
01194ba1
WN
7168 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
7169 ElfW macro instead of hardcoded Elf64 types.
7170 (la_aarch64_gnu_pltenter): Likewise.
7171 * sysdeps/aarch64/dl-machine.h
7172 (elf_machine_runtime_setup): Use ElfW(Addr).
7173
8c230039
WN
7174 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
7175 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
7176 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
7177 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
7178 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
7179 (R_AARCH64_TLS_DTPMOD64): Rename to ..
7180 (R_AARCH64_TLS_DTPMOD): This.
7181 (R_AARCH64_TLS_DTPREL64): Rename to ...
7182 (R_AARCH64_TLS_DTPREL): This.
7183 (R_AARCH64_TLS_TPREL64): Rename to ...
7184 (R_AARCH64_TLS_TPREL): This.
7185 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7186 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7187 R_AARCH64_TLS_TPREL64.
7188 (elf_machine_rela): Likewise.
7189
0d79fa53
TR
71902014-11-21 Torvald Riegel <triegel@redhat.com>
7191
7192 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7193 by setting it to 0. 64b atomics are not supported currently.
7194
b59d114b
AO
71952014-11-21 Alexandre Oliva <aoliva@redhat.com>
7196
7197 [BZ #16469]
7198 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7199 search domain names.
7200
f3d945d5
AO
72012014-11-21 Alexandre Oliva <aoliva@redhat.com>
7202
7203 [BZ #16469]
7204 * NEWS: Update.
7205 * resolv/res_query.c (__libc_res_nquerydomain): Retain
7206 trailing dot.
7207 * posix/tst-getaddrinfo5.c: New.
7208 * posix/Makefile (tests): Add it.
7209
49698902
AO
72102014-11-21 Alexandre Oliva <aoliva@redhat.com>
7211
7212 [BZ #14498]
7213 * NEWS: Fixed.
7214 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7215 after parsing line but before break_if_match.
7216 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7217 if there is a protocol mismatch.
7218
81959214
MS
72192014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7220
7221 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7222 because the potential race is on the user-supplied stream.
7223
7729e0e9
AO
72242014-11-21 Alexandre Oliva <aoliva@redhat.com>
7225
7226 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7227 string literal if not passed a buffer.
7228 * manual/job.texi (ctermid): Update reasoning, note deviation
7229 from posix, suggest mtasurace when not passed a buffer, for
7230 future non-preliminary safety notes.
7231
a4ea5e28
AO
72322014-11-21 Alexandre Oliva <aoliva@redhat.com>
7233
7234 * manual/users.texi (cuserid): Fix MT-Safety note for the case
7235 of not passing it a buffer.
7236 Reported by Peng Haitao.
7237
a2b581cb
AO
72382014-11-21 Alexandre Oliva <aoliva@redhat.com>
7239
7240 * manual/Makefile ($(objpfx)stamp-summary): Require
7241 check-safety.sh to pass.
7242 * manual/check-safety.sh: Wish for verification that every
7243 @deftypefn and @deftypefun is followed by a @safety remark.
7244
f214ff74
RM
72452014-11-20 Roland McGrath <roland@hack.frob.com>
7246
7f0dfae0
RM
7247 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7248
2f531bbb
RM
7249 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7250 PTHREAD_CANCEL_ASYNCHRONOUS.
7251 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7252 send SIGCANCEL.
7253
f214ff74
RM
7254 * nptl/default-sched.h: New file.
7255 * sysdeps/unix/sysv/linux/default-sched.h: New file.
7256 * nptl/pthread_create.c: Include it.
7257 (__pthread_create_2_1): Use collect_default_sched instead of making
7258 Linux syscalls here directly.
7259
e37c91d4
TR
72602014-11-20 Torvald Riegel <triegel@redhat.com>
7261
7262 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7263 __pthread_once): Use C11 atomics.
7264
1eccfecd
TR
72652014-11-20 Torvald Riegel <triegel@redhat.com>
7266
7267 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7268
ff871426
TR
72692014-11-20 Torvald Riegel <triegel@redhat.com>
7270
7271 * include/atomic.h (__atomic_link_error, __atomic_check_size,
7272 atomic_thread_fence_acquire, atomic_thread_fence_release,
7273 atomic_thread_fence_seq_cst, atomic_load_relaxed,
7274 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7275 atomic_compare_exchange_weak_relaxed,
7276 atomic_compare_exchange_weak_acquire,
7277 atomic_compare_exchange_weak_release,
7278 atomic_exchange_acquire, atomic_exchange_release,
7279 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7280 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7281 atomic_fetch_and_acquire,
7282 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7283
1ea339b6
TR
72842014-11-20 Torvald Riegel <triegel@redhat.com>
7285
7286 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7287 USE_ATOMIC_COMPILER_BUILTINS): Define.
7288 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7289 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7290 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7291 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7292 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7293 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7294 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7295 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7296 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7297 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7298 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7299 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7300 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7301 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7302 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7303 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7304 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7305 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7306 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7307 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7308 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7309 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7310 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7311 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7312 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7313 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7314 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7315 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7316 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7317 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7318 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7319 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7320 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7321 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7322 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7323 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7324 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7325 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7326 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7327 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7328
cbd463e2
RM
73292014-11-19 Roland McGrath <roland@hack.frob.com>
7330
d960211f
RM
7331 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7332 the sched_priority value here. It was already checked when the user
7333 called pthread_attr_setschedparam.
7334
cbd463e2
RM
7335 * nptl/tst-bad-schedattr.c: New file.
7336 * nptl/Makefile (tests): Add it.
7337
a39208bd
CD
73382014-11-19 Carlos O'Donell <carlos@redhat.com>
7339 Florian Weimer <fweimer@redhat.com>
7340 Joseph Myers <joseph@codesourcery.com>
7341 Adam Conrad <adconrad@0c3.net>
7342 Andreas Schwab <schwab@suse.de>
7343 Brooks <bmoses@google.com>
7344
7345 [BZ #17625]
7346 * wordexp-test.c (__dso_handle): Add prototype.
7347 (__register_atfork): Likewise.
7348 (__app_register_atfork): New function.
7349 (registered_forks): New global.
7350 (register_fork): New function.
7351 (test_case): Add 3 new tests for WRDE_CMDSUB.
7352 (main): Call __app_register_atfork.
7353 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7354 fork count is non-zero fail the test.
7355 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7356 is set.
7357 (parse_dollars): Remove check for WRDE_NOCMD.
7358 (parse_dquote): Likewise.
7359
9cd47470
SP
73602014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7361
130ac68c
SP
7362 * Makeconfig (built-modules): List non-library modules to be
7363 built.
7364 (module-cppflags): Include libc-modules.h for
7365 everything except shlib-versions.v.i.
7366 (CPPFLAGS): Use it.
7367 (before-compile): Add libc-modules.h.
7368 ($(common-objpfx)libc-modules.h,
7369 $(common-objpfx)libc-modules.stmp): New targets.
7370 (common-generated): Add libc-modules.h and libc-modules.stmp.
7371 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7372 * include/libc-symbols.h: Don't include libc-modules.h.
7373 * include/libc-modules.h: Remove file.
7374 * scripts/gen-libc-modules.awk: New script to generate
7375 libc-modules.h.
7376 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7377 Depend on libc-modules.stmp.
7378
286663c3
SP
7379 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7380
9cd47470
SP
7381 * Makeconfig (in-module): Get value of libof set for the
7382 translation unit.
7383 (CPPFLAGS): Use $(in-module).
7384 * Makerules: Don't suffix routine names for nonlib.
7385 * include/libc-modules.h: New file.
7386 * include/libc-symbols.h: Include libc-modules.h
7387 (IS_IN): New macro to replace IS_IN_* macros.
7388 * elf/Makefile: Set libof-* for each routine.
7389 * elf/rtld-Rules: Likewise.
7390 * extra-modules.mk: Likewise.
7391 * iconv/Makefile: Likewise.
7392 * iconvdata/Makefile: Likewise.
7393 * locale/Makefile: Likewise.
7394 * malloc/Makefile: Likewise.
7395 * nss/Makefile: Likewise.
7396 * sysdeps/gnu/Makefile: Likewise.
7397 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7398 * sysdeps/unix/sysv/linux/Makefile: Likewise.
7399 * sysdeps/s390/s390-64/Makefile: Likewise.
7400 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
7401 CPPFLAGS for nscd instead of nonlib.
7402
32fed10f
RM
74032014-11-18 Roland McGrath <roland@hack.frob.com>
7404
d71035bd
RM
7405 * nptl/createthread.c: New file.
7406
6540b991
RM
7407 * nptl/createthread.c: Moved ...
7408 * sysdeps/unix/sysv/linux/createthread.c: ... here.
7409
32fed10f
RM
7410 * nptl/createthread.c: Add proper top-line comment.
7411 (do_clone): Folded into ...
7412 (create_thread): ... here. Take new arguments STOPPED_START and
7413 THREAD_RAN. Always set PD->stopped_start to something here. Don't
7414 increment __nptl_threads, do event-reporting logic, do
7415 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7416 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
7417 resource cleanup if sched_setaffinity or sched_setscheduler fails,
7418 just send SIGCANCEL.
7419 * nptl/pthread_create.c: Forward-declare create_thread before
7420 including createthread.c.
7421 (start_thread): Use new macro START_THREAD_DEFN to replace defining
7422 declaration, and new macro START_THREAD_SELF to replace argument.
7423 Remove return statement.
7424 (report_thread_creation): New function.
7425 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
7426 synchronization logic, and __nptl_nthreads increment here, around
7427 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
7428 PD->parent_cancelhandling here, before create_thread. When
7429 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7430 __deallocate_stack, and ENOMEM translation here.
7431
107a5bf0
JM
74322014-11-18 Joseph Myers <joseph@codesourcery.com>
7433
7434 [BZ #17616]
7435 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
7436 (mptwo): Rename to __mptwo.
7437 (__inv): Use __mptwo instead of mptwo.
7438 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
7439 (mptwo): Rename to __mptwo.
7440 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
7441 of mpone and __mptwo instead of mptwo.
7442 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
7443 instead of mpone.
7444 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7445 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
7446 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
7447 of mpone and __mptwo instead of mptwo.
7448 (__mpranred): Use __mpone instead of mpone.
7449 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
7450 variable.
7451 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7452 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7453 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7454 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7455 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7456 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7457 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7458 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7459 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7460 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7461 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7462 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7463 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7464 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7465 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7466 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7467 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7468 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7469 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7470
3b679ab3
TV
74712014-11-18 Tom de Vries <tom@codesoucery.com>
7472
7473 * manual/signal.texi (Primitives Interrupted by Signals): In section,
7474 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
7475
74762014-11-17 Richard Henderson <rth@redhat.com>
7477
7478 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
7479 (_FP_PACK_RAW_2): Remove.
7480 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
7481 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
7482 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
7483 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
7484 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
7485 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
7486 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
7487 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
7488 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
7489 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
7490 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
7491 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
7492 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
7493 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
7494 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
7495 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
7496
0781a777
RM
74972014-11-14 Roland McGrath <roland@hack.frob.com>
7498
7499 * signal/signal.h [__USE_MISC]
7500 (struct sigvec): Remove type.
7501 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
7502 (sigvec): Remove declaration.
7503 * sysdeps/posix/sigvec.c: Moved ...
7504 * signal/sigvec.c: ... here, replacing old file.
7505 (struct sigvec): New type, copied from old signal.h definition.
7506 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
7507 (__sigvec): Convert definition to prototype.
7508 (sigvec): Replace weak_alias with compat_symbol.
7509 * signal/Versions (libc: GLIBC_2.21): New version set.
7510 * include/signal.h: Remove __sigvec declaration.
7511 * sysdeps/unix/bsd/sigvec.c: Remove file.
7512 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
7513 * manual/signal.texi (BSD Handler): Remove subsection.
7514 Move siginterrupt up to ...
7515 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
7516 (Blocking in BSD): Fold subsection into its parent.
7517 * NEWS: Mention sigvec removal.
7518
a4733812
JM
75192014-11-14 Joseph Myers <joseph@codesourcery.com>
7520
5ae4fe60
JM
7521 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
7522 (DLA_FMS): Make definition conditional only on [__FMA4__].
7523 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
7524 definition.
7525
6a0dd472
JM
7526 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
7527 Make definition conditional only on [PROF].
7528 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
7529 definition.
7530 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
7531 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
7532
a4733812
JM
7533 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
7534 !__GNUC__].
7535 * include/signal.h (__sigpause): Move declaration above call to
7536 libc_hidden_proto.
7537 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
7538 variable.
7539 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7540 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7541
cf7246dd
DM
75422014-11-14 David S. Miller <davem@davemloft.net>
7543
7544 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
7545 Define before including <string/memcpy.c> and <string/mempcpy.c>.
7546
c1b0aadc
JM
75472014-11-14 Joseph Myers <joseph@codesourcery.com>
7548
4863355a
JM
7549 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
7550 * configure: Regenerated.
7551 * manual/install.texi (Tools for Compilation): Document a
7552 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
7553 compiler verified to work.
7554 * INSTALL: Regenerated.
7555
c1b0aadc
JM
7556 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
7557 redeclare with asm name.
7558 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
7559 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
7560 including <string.h>.
7561 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7562 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
7563 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7564 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
7565 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7566 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7567 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7568
2a1cfd94
JM
75692014-11-13 Joseph Myers <joseph@codesourcery.com>
7570
bf438382
JM
7571 * stdlib/strtol.c (__strtol): Use prototype definition.
7572
2a1cfd94
JM
7573 [BZ #17594]
7574 * stdlib/strtol.c (SYM__): New macro.
7575 (SYM__1): Likewise.
7576 (__strtol): Likewise.
7577 (strtol): Rename to __strtol and define as weak alias of
7578 __strtol. Use libc_hidden_weak.
7579
20ed0d26
SL
75802014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7581
7582 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
7583 Use numbered labels in inline assembly.
7584
53244a4e
SL
75852014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7586
7587 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
7588 Add setjmp LIBC_PROBE.
7589 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
7590 Likewise.
7591 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
7592 Add longjmp, longjmp_target LIBC_PROBE.
7593 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
7594 Likewise.
7595
47df8251
SL
75962014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7597
7598 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7599 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
7600 to get rid of unused variable warning.
7601
618cebef
SL
76022014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7603
7604 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
7605 Check for unwind_backtrace == NULL only in SHARED case.
7606 (__backchain_backtrace): Compile only in SHARED case.
7607 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
7608 Likewise.
7609 (__backchain_backtrace): Declare as static.
7610
c6aab2cb
RM
76112014-11-12 Roland McGrath <roland@hack.frob.com>
7612
7613 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
7614 (__libc_multiple_threads_ptr): Variable moved ...
7615 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
7616
5a6fa4d7
JM
76172014-11-12 Joseph Myers <joseph@codesourcery.com>
7618
24f4f825
JM
7619 * conform/GlibcConform.pm: New file.
7620 * conform/conformtest.pl: Use GlibcConform module.
7621 * conform/linknamespace.pl: New file.
7622 * conform/list-header-symbols.pl: Likewise.
7623 * conform/Makefile (linknamespace-symlists-base): New variable.
7624 (linknamespace-symlists-tests): Likewise.
7625 (linknamespace-header-base): Likewise.
7626 (linknamespace-header-tests): Likewise.
7627 (tests-special): Add new tests.
7628 ($(linknamespace-symlists-tests)): New rule.
7629 (linknamespace-libs): New variable.
7630 ($(objpfx)symlist-stdlibs): New rule.
7631 ($(linknamespace-header-tests)): Likewise.
7632 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
7633 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
7634 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
7635 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
7636 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
7637 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
7638 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
7639 (test-xfail-ISO/math.h/linknamespace): Likewise.
7640 (test-xfail-ISO/signal.h/linknamespace): Likewise.
7641 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
7642 (test-xfail-ISO/time.h/linknamespace): Likewise.
7643 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7644 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
7645 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7646 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7647 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7648 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7649 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7650 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7651 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7652 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7653 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7654 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7655 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7656 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
7657 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
7658 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7659 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
7660 (test-xfail-XPG3/search.h/linknamespace): Likewise.
7661 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
7662 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7663 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
7664 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
7665 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7666 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
7667 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
7668 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
7669 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
7670 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
7671 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7672 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
7673 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7674 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
7675 (test-xfail-XPG4/search.h/linknamespace): Likewise.
7676 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
7677 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
7678 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
7679 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
7680 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
7681 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7682 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
7683 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
7684 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
7685 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7686 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7687 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7688 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
7689 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
7690 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
7691 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7692 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
7693 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7694 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7695 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
7696 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7697 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7698 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7699 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7700 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7701 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7702 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7703 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7704 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7705 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
7706 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
7707 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7708 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7709 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
7710 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7711 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7712 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
7713 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
7714 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
7715 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7716 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7717 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
7718 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7719 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
7720 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
7721 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7722 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
7723 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7724 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
7725 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7726 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7727 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7728 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
7729 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7730 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7731 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7732 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
7733 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
7734 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
7735 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7736 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7737 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7738 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7739 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
7740 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
7741 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
7742 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7743 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7744 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
7745 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
7746 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7747 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7748 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
7749 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
7750 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
7751 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
7752 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7753 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7754 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
7755 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7756 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
7757 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7758 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7759 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7760 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
7761 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7762 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7763 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
7764 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7765 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7766 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7767 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7768 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7769 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
7770 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7771 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7772 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7773 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7774 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
7775 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
7776 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7777 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7778 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7779 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7780 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
7781 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7782 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
7783 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7784 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7785 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7786 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7787 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7788 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7789 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
7790 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7791 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7792 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7793
cc67478e
JM
7794 [BZ #17589]
7795 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
7796 of fgets_unlocked.
7797
9975e3d3
JM
7798 [BZ #17585]
7799 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
7800 (memmem): Rename to __memmem and define as weak alias of
7801 __memmem. Use libc_hidden_weak.
7802 (__memmem): Use libc_hidden_def.
7803 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
7804 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
7805 memmem.
7806
c4eae752
JM
7807 [BZ #17582]
7808 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
7809 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
7810 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
7811 and define as weak alias of __fgets_unlocked. Use
7812 libc_hidden_weak.
7813 (__fgets_unlocked): Use libc_hidden_def.
7814 * include/stdio.h (__fgets_unlocked): Declare. Use
7815 libc_hidden_proto.
7816 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
7817 __fgets_unlocked instead of fgets_unlocked.
7818 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
7819 (GET_NPROCS_CONF_PARSER): Likewise.
7820 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
7821 (GET_NPROCS_CONF_PARSER): Likewise.
7822
01cad84e
JM
7823 [BZ #17574]
7824 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
7825 weak alias of __wmemset. Use libc_hidden_weak.
7826 (__wmemset): Use libc_hidden_def.
7827 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
7828 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
7829 of wmemset.
7830
939da411
JM
7831 [BZ #17573]
7832 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
7833 with asm name __mempcpy.
7834 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
7835
293d9a41
JM
7836 [BZ #17572]
7837 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
7838 and define as weak alias of __rawmemchr.
7839 (__rawmemchr): Do not define as strong alias of rawmemchr.
7840
bef8fd60
JM
7841 [BZ #17571]
7842 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
7843 alias of __qsort_r.
7844 (qsort): Call __qsort_r instead of qsort_r.
7845 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
7846 (__qsort_r): Declare. Call libc_hidden_proto.
7847 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
7848 instead of qsort_r.
7849 * nscd/gai.c (__qsort_r): Define to qsort_r.
7850 * posix/tst-rfc3484.c (__qsort_r): Likewise.
7851 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
7852 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
7853
c52ff39e
JM
7854 [BZ #17570]
7855 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
7856 define as weak alias of __malloc_info.
7857
2f5c1b00
JM
7858 [BZ #17584]
7859 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
7860 as weak alias of __rewinddir. Don't use libc_hidden_def.
7861 (__rewinddir): Use libc_hidden_def.
7862 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
7863 as weak alias of __rewinddir. Don't use libc_hidden_def.
7864 (__rewinddir): Use libc_hidden_def.
7865 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
7866 weak alias of __rewinddir. Don't use libc_hidden_def.
7867 (__rewinddir): Use libc_hidden_def.
7868 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
7869 (__rewinddir): Use libc_hidden_proto.
7870 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
7871 rewinddir.
7872 (__getcwd): Use __rewinddir instead of rewinddir.
7873
5a6fa4d7
JM
7874 [BZ #17583]
7875 * libio/fileno.c (fileno): Rename to __fileno and define as weak
7876 alias of __fileno. Use libc_hidden_weak.
7877 (__fileno): Use libc_hidden_def.
7878 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
7879 * libio/ftello.c (ftello): Rename to __ftello and define as weak
7880 alias of __ftello.
7881 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
7882 __ftello.
7883 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
7884 (__fread_unlocked): Define as strong alias of _IO_fread. Use
7885 libc_hidden_def.
7886 (fread_unlocked): Don't use libc_hidden_ver.
7887 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
7888 and define as weak alias of __fread_unlocked. Don't use
7889 libc_hidden_def.
7890 (__fread_unlocked): Use libc_hidden_def.
7891 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
7892 (ftello): Don't use libc_hidden_proto.
7893 (__ftello): Declare. Use libc_hidden_proto.
7894 (fread_unlocked): Don't use libc_hidden_proto.
7895 (__fread_unlocked): Declare. Use libc_hidden_proto.
7896 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
7897 and __ftello instead of fileno, fread_unlocked and ftello.
7898
2581b98e
SP
78992012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7900
7901 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
7902 GOT12.
7903 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7904 Likewise.
7905 (_dl_start_user): Likewise.
7906 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
7907
533bb7c2
SP
79082014-11-12 Carlos O'Donell <carlos@redhat.com>
7909 Siddhesh Poyarekar <siddhesh@redhat.com>
7910
7911 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
7912 Move argv and envp down instead of moving argc up.
7913 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
7914
fffa1cf8
LH
79152014-11-12 Leonhard Holz <leonhard.holz@web.de>
7916
7917 [BZ #17506]
7918 * test-skeleton.c (main): Return successful if one of
7919 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
7920 * string/tst-strcoll-overflow.c: Define expected status.
7921
fb89b46d
TU
79222014-11-12 Tatiana Udalova <t.udalova@samsung.com>
7923
7924 [BZ #17475]
7925 * locale/iso-639.def: Define Bhili and Tulu language codes.
7926
5c40c3ba
AH
79272014-11-11 Alan Hayward <alan.hayward@arm.com>
7928
7929 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
7930
b17fe01b 79312014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
7932
7933 [BZ #17555]
7934 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
7935
bd805071
AS
79362014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
7937
7938 * configure.ac: Updated check of minimal required version to
7939 2.22.
7940 * manual/install.texi (Tools for Compilation): Updated version
7941 number.
7942 * configure: Regenerated.
7943 * INSTALL: Likewise.
7944
1400983e
AS
79452014-11-07 Andreas Schwab <schwab@linux-m68k.org>
7946
7947 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
7948 __tls_get_addr.
7949
2c46a66a
JM
79502014-11-07 Joseph Myers <joseph@codesourcery.com>
7951
7952 * include/sys/wait.h (__libc_waitpid): Remove declaration.
7953 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
7954 (__waitpid): Don't define as alias. Use libc_hidden_def not
7955 libc_hidden_weak.
7956 (waitpid): Define as alias of __waitpid.
7957 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
7958 __waitpid.
7959 (__waitpid): Don't define as alias. Use libc_hidden_def not
7960 libc_hidden_weak.
7961 (waitpid): Define as alias of __waitpid.
7962 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
7963 __libc_waitpid alias.
7964 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
7965 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
7966 Likewise.
7967 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
7968 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
7969 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
7970 alias.
7971 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
7972 __waitpid.
7973 (__waitpid): Don't define as alias. Use libc_hidden_def not
7974 libc_hidden_weak.
7975 (waitpid): Define as alias of __waitpid.
7976
da53d6db
CD
79772014-11-06 Carlos O'Donell <carlos@redhat.com>
7978
a2887bdb
CD
7979 * manual/llio.texi: Add comment that write safety has been
7980 fixed in Linux.
7981
da53d6db
CD
7982 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
7983 (localplt-build-dso): Add elf/ld.so.
7984 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
7985 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
7986 and free for ld.so.
7987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
7988 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
7989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
7990 Likewise.
7991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7992 Likewise.
7993 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
7994 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
7995 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
7996 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
7997 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7998 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
7999 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8000 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8001 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8002 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8003 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8004
9cf27b8d
JM
80052014-11-05 Joseph Myers <joseph@codesourcery.com>
8006
8007 [BZ #14132]
8008 * include/libc-symbols.h (INTUSE): Remove macro.
8009 (INTDEF): Likewise.
8010 (INTVARDEF): Likewise.
8011 (_INTVARDEF): Likewise.
8012 (INTDEF2): Likewise.
8013 (INTVARDEF2): Likewise.
8014 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8015 rtld_hidden_def instead of INTVARDEF.
8016 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8017 (_dl_starting_up_internal): Remove declaration.
8018 (_dl_starting_up): Use rtld_hidden_proto.
8019 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8020 declaration.
8021 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8022 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8023 _dl_starting_up.
8024 * elf/dl-writev.h (_dl_writev): Likewise.
8025 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8026 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8027 _dl_starting_up_internal.
8028
af83568d
AZ
80292014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8030
8031 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8032 test-skeleton.c.
8033
b01ee67c
WN
80342014-11-05 Will Newton <will.newton@linaro.org>
8035
8036 * benchtests/Makefile: (bench-malloc): Add malloc thread
8037 scalability benchmark.
8038 * benchtests/bench-malloc-threads.c: New file.
8039
be9d4ccc
RE
80402014-11-05 Richard Earnshaw <rearnsha@arm.com>
8041
8042 * sysdeps/aarch64/strchrnul.S: New file.
8043
7110166d
AZ
80442014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8045
8046 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
8047 definition.
8048 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8049 Likwise.
8050 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8051 Likewise.
8052 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8053 Likewise.
8054 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8055 Likewise.
8056 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8057 Likewise.
8058
80592014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
8060
8061 * catgets/test-gencat.c: Use test-skeleton.c.
8062 * catgets/tst-catgets.c: Likewise.
8063 * csu/tst-empty.c: Likewise.
8064 * elf/tst-audit2.c: Likewise.
8065 * elf/tst-global1.c: Likewise.
8066 * elf/tst-pathopt.c: Likewise.
8067 * elf/tst-piemod1.c: Likewise.
8068 * elf/tst-tls10.c: Likewise.
8069 * elf/tst-tls11.c: Likewise.
8070 * elf/tst-tls12.c: Likewise.
8071 * gnulib/tst-gcc.c: Likewise.
8072 * iconvdata/tst-e2big.c: Likewise.
8073 * iconvdata/tst-loading.c: Likewise.
8074 * iconv/tst-iconv1.c: Likewise.
8075 * iconv/tst-iconv2.c: Likewise.
8076 * inet/test-inet6_opt.c: Likewise.
8077 * inet/tst-gethnm.c: Likewise.
8078 * inet/tst-network.c: Likewise.
8079 * inet/tst-ntoa.c: Likewise.
8080 * intl/tst-codeset.c: Likewise.
8081 * intl/tst-gettext2.c: Likewise.
8082 * intl/tst-gettext3.c: Likewise.
8083 * intl/tst-ngettext.c: Likewise.
8084 * intl/tst-translit.c: Likewise.
8085 * io/test-stat.c: Likewise.
8086 * libio/test-fmemopen.c: Likewise.
8087 * libio/tst-freopen.c: Likewise.
8088 * libio/tst-sscanf.c: Likewise.
8089 * libio/tst-ungetwc1.c: Likewise.
8090 * libio/tst-ungetwc2.c: Likewise.
8091 * libio/tst-widetext.c: Likewise.
8092 * localedata/tst-ctype.c: Likewise.
8093 * localedata/tst-digits.c: Likewise.
8094 * localedata/tst-leaks.c: Likewise.
8095 * localedata/tst-mbswcs1.c: Likewise.
8096 * localedata/tst-mbswcs2.c: Likewise.
8097 * localedata/tst-mbswcs3.c: Likewise.
8098 * localedata/tst-mbswcs4.c: Likewise.
8099 * localedata/tst-mbswcs5.c: Likewise.
8100 * localedata/tst-setlocale.c: Likewise.
8101 * localedata/tst-trans.c: Likewise.
8102 * localedata/tst-wctype.c: Likewise.
8103 * localedata/tst-xlocale1.c: Likewise.
8104 * login/tst-grantpt.c: Likewise.
8105 * malloc/tst-calloc.c: Likewise.
8106 * malloc/tst-malloc.c: Likewise.
8107 * malloc/tst-mallocstate.c: Likewise.
8108 * malloc/tst-mcheck.c: Likewise.
8109 * malloc/tst-mtrace.c: Likewise.
8110 * malloc/tst-obstack.c: Likewise.
8111 * math/atest-exp2.c: Likewise.
8112 * math/atest-exp.c: Likewise.
8113 * math/atest-sincos.c: Likewise.
8114 * math/test-matherr.c: Likewise.
8115 * math/test-misc.c: Likewise.
8116 * math/test-powl.c: Likewise.
8117 * math/tst-definitions.c: Likewise.
8118 * misc/tst-dirname.c: Likewise.
8119 * misc/tst-efgcvt.c: Likewise.
8120 * misc/tst-fdset.c: Likewise.
8121 * misc/tst-hsearch.c: Likewise.
8122 * misc/tst-mntent2.c: Likewise.
8123 * nptl/tst-sem7.c: Likewise.
8124 * nptl/tst-sem8.c: Likewise.
8125 * nptl/tst-sem9.c: Likewise.
8126 * nss/test-netdb.c: Likewise.
8127 * posix/tst-fnmatch.c: Likewise.
8128 * posix/tst-getlogin.c: Likewise.
8129 * posix/tst-gnuglob.c: Likewise.
8130 * posix/tst-mmap.c: Likewise.
8131 * pwd/tst-getpw.c: Likewise.
8132 * resolv/tst-inet_ntop.c: Likewise.
8133 * rt/tst-timer.c: Likewise.
8134 * stdio-common/test-fseek.c: Likewise.
8135 * stdio-common/test-popen.c: Likewise.
8136 * stdio-common/test-vfprintf.c: Likewise.
8137 * stdio-common/tst-cookie.c: Likewise.
8138 * stdio-common/tst-fileno.c: Likewise.
8139 * stdio-common/tst-gets.c: Likewise.
8140 * stdio-common/tst-obprintf.c: Likewise.
8141 * stdio-common/tst-perror.c: Likewise.
8142 * stdio-common/tst-sprintf2.c: Likewise.
8143 * stdio-common/tst-sprintf3.c: Likewise.
8144 * stdio-common/tst-sprintf.c: Likewise.
8145 * stdio-common/tst-swprintf.c: Likewise.
8146 * stdio-common/tst-tmpnam.c: Likewise.
8147 * stdio-common/tst-unbputc.c: Likewise.
8148 * stdio-common/tst-wc-printf.c: Likewise.
8149 * stdlib/tst-environ.c: Likewise.
8150 * stdlib/tst-fmtmsg.c: Likewise.
8151 * stdlib/tst-limits.c: Likewise.
8152 * stdlib/tst-rand48-2.c: Likewise.
8153 * stdlib/tst-rand48.c: Likewise.
8154 * stdlib/tst-random2.c: Likewise.
8155 * stdlib/tst-random.c: Likewise.
8156 * stdlib/tst-strtol.c: Likewise.
8157 * stdlib/tst-strtoll.c: Likewise.
8158 * stdlib/tst-tls-atexit.c: Likewise.
8159 * stdlib/tst-xpg-basename.c: Likewise.
8160 * string/test-ffs.c: Likewise.
8161 * string/tst-bswap.c: Likewise.
8162 * string/tst-inlcall.c: Likewise.
8163 * string/tst-strtok.c: Likewise.
8164 * string/tst-strxfrm.c: Likewise.
8165 * sysdeps/x86_64/tst-audit10.c: Likewise.
8166 * sysdeps/x86_64/tst-audit3.c: Likewise.
8167 * sysdeps/x86_64/tst-audit4.c: Likewise.
8168 * sysdeps/x86_64/tst-audit5.c: Likewise.
8169 * time/tst-ftime_l.c: Likewise.
8170 * time/tst-getdate.c: Likewise.
8171 * time/tst-mktime3.c: Likewise.
8172 * time/tst-mktime.c: Likewise.
8173 * time/tst-posixtz.c: Likewise.
8174 * time/tst-strptime2.c: Likewise.
8175 * time/tst-strptime3.c: Likewise.
8176 * wcsmbs/tst-btowc.c: Likewise.
8177 * wcsmbs/tst-mbrtowc.c: Likewise.
8178 * wcsmbs/tst-mbsrtowcs.c: Likewise.
8179 * wcsmbs/tst-wchar-h.c: Likewise.
8180 * wcsmbs/tst-wcpncpy.c: Likewise.
8181 * wcsmbs/tst-wcrtomb.c: Likewise.
8182 * wcsmbs/tst-wcsnlen.c: Likewise.
8183 * wcsmbs/tst-wcstof.c: Likewise.
8184
2004e7fb
JM
81852014-11-04 Joseph Myers <joseph@codesourcery.com>
8186
ab97ee8f
JM
8187 [BZ #14132]
8188 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8189 INTDEF.
8190 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8191 declaration.
8192 (_dl_mcount): Use rtld_hidden_proto.
8193 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8194 _dl_mcount.
8195 * elf/rtld.c (_rtld_global_ro): Likewise.
8196
c5684fdb
JM
8197 [BZ #14132]
8198 * elf/dl-init.c (_dl_init): Don't use INTDEF.
8199 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8200 of _dl_init_internal.
8201 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8202 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8203 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8204 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8205 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8206 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8207 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8208 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8209 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8210 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8211 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8212 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8213 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8214 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8215 * sysdeps/tile/dl-start.S (_start): Likewise.
8216 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8217 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8218
4243cbea
JM
8219 [BZ #14132]
8220 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8221 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8222 (rtld_progname): Make macro definition unconditional.
8223 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8224 INTDEF.
8225 (dlmopen_doit): Do not use INTUSE with _dl_argv.
8226 (dl_main): Likewise.
8227 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8228 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8229 instead of _dl_argv_internal.
8230 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8231 __GI__dl_argv instead of INTUSE(_dl_argv).
8232 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8233 __GI__dl_argv instead of _dl_argv_internal.
8234
2004e7fb
JM
8235 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8236 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8237 macro.
8238 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8239 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8240 New macro.
8241 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8242 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8243 macro.
8244 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8245 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8246
97827bfc
AS
82472014-11-04 Andreas Schwab <schwab@suse.de>
8248
8249 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8250
5e4df284
AZ
82512014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8252
8253 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8254 mtvsrd instruction in binary form.
8255
04b76b5a
AS
82562014-11-03 Andreas Schwab <schwab@suse.de>
8257
8258 [BZ #17522]
8259 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8260 for less than MB_LEN_MAX use a local buffer of that size.
8261 * libio/tst-fputws.c: New file.
8262 * libio/Makefile (tests): Add tst-fputws.
8263
4c6da7da
JM
82642014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
8265
8266 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8267 the size of the fpu_fr.fpu_dregs[] array.
8268
1679ba8e
JM
82692014-11-01 Joseph Myers <joseph@codesourcery.com>
8270
8271 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8272 (__nanosleep): Do not define as alias.
8273 (nanosleep): Define as alias of __nanosleep.
8274 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8275 __libc_nanosleep name.
8276
2626c183
JM
82772014-10-31 Joseph Myers <joseph@codesourcery.com>
8278
8279 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8280 install.texi in comment.
8281
7f981fc2
TR
82822014-10-31 Torvald Riegel <triegel@redhat.com>
8283
8284 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8285 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8286 ... add here and use lwsync or sync ...
8287 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8288 ... and add here using lwsync.
8289
d6f373d2
MF
82902014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
8291
8292 * elf/dl-machine-reject-phdr.h: New file.
8293 * elf/dl-load.c: #include that.
8294 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8295 if that returned true.
8296
67c37987
RM
82972014-10-31 Roland McGrath <roland@hack.frob.com>
8298
8299 [BZ #17496]
8300 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8301 gen-as-const-headers chunk. Add a big scare comment after the last
8302 safe place to touch before-compile.
8303
94a42455 83042014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 8305
f3f5d895
JM
8306 * manual/install.texi (Tools for Compilation): Update autoconf
8307 version requirements.
8308 * INSTALL: Regenerated.
8309
f62ff286
JM
8310 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8311 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8312 (__libc_pselect): Likewise.
94a42455
JM
8313
8314 [BZ #14138]
8315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8319
ff9dbdc0
TR
83202014-10-31 Torvald Riegel <triegel@redhat.com>
8321
8322 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8323 correct barrier instruction.
8324 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8325 Likewise.
8326 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8327 Likewise.
8328
b4f66884
RM
83292014-10-30 Roland McGrath <roland@hack.frob.com>
8330
8331 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8332 after defining inlines. Instead, just use parens to defeat macro
8333 expansion of __isctype in its declaration.
8334
e19c95fd
JM
83352014-10-30 Joseph Myers <joseph@codesourcery.com>
8336
8337 * include/sys/uio.h (__libc_readv): Remove declaration.
8338 (__libc_writev): Likewise.
8339 * misc/readv.c (__libc_readv): Rename to __readv.
8340 (__readv): Do not define as alias.
8341 (readv): Define as alias of __readv.
8342 * misc/writev.c (__libc_writev): Rename to __writev.
8343 (__writev): Do not define as alias.
8344 (writev): Define as alias of __writev.
8345 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8346 (__readv): Do not define as alias.
8347 (readv): Define unconditionally as alias of __readv.
8348 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8349 (__writev): Do not define as alias.
8350 (writev): Define unconditionally as alias of __writev.
8351 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8352 name.
8353 (writev): Do not define __libc_writev name.
8354
65b00b6c
RM
83552014-10-30 Roland McGrath <roland@hack.frob.com>
8356
8357 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8358 (convert_charseq): New function, broken out of ...
8359 (use_from_charmap): ... here. Call it.
8360 (use_to_charmap): Use convert_charseq and free instead of duplicating
8361 its code with a variable-length stack struct.
8362
d4e157aa
JM
83632014-10-30 Joseph Myers <joseph@codesourcery.com>
8364
8365 * include/fcntl.h (__libc_creat): Remove declaration.
8366 * io/creat.c (__libc_creat): Rename to creat.
8367 (creat): Do not define as alias.
8368 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8369 of creat instead of __libc_creat.
8370 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8371 to creat.
8372 (creat): Do not define as alias.
8373 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8374 __libc_creat.
8375 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8376 __libc_creat name.
8377 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8378 Likewise.
8379
0c6891a0
CD
83802014-10-29 Carlos O'Donell <carlos@redhat.com>
8381
8382 * manual/llio.texi: Add comments discussing why write() may be
8383 considered MT-unsafe on Linux.
8384
cc00cece
CD
83852014-10-28 Carlos O'Donell <carlos@redhat.com>
8386
8387 * dl-load.c (local_strdup): Remove.
8388 (expand_dynamic_string_token): Use __strdup.
8389 (decompose_rpath): Likewise.
8390 (_dl_map_object): Likewise.
8391
51e623f2
JM
83922014-10-28 Joseph Myers <joseph@codesourcery.com>
8393
8394 [BZ #14132]
8395 * sysdeps/generic/unwind-dw2-fde.c
8396 (__register_frame_info_bases_internal): Do not declare.
8397 (__register_frame_info_table_bases_internal): Likewise.
8398 (__deregister_frame_info_bases_internal): Likewise.
8399 (__register_frame_info_bases): Declare and use hidden_proto before
8400 definition. Use hidden_def instead of INTDEF.
8401 (__register_frame_info_table_bases): Likewise.
8402 (__deregister_frame_info_bases): Likewise.
8403 (__register_frame_info): Do not use INTUSE.
8404 (__register_frame): Likewise.
8405 (__register_frame_info_table): Likewise.
8406 (__register_frame_table): Likewise.
8407 (__deregister_frame_info): Likewise.
8408 (__deregister_frame): Likewise.
8409
03d41216
GC
84102014-10-27 Gratian Crisan <gratian.crisan@ni.com>
8411
8412 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8413 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8414 not undefine.
8415 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8416 Likewise.
8417 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8418 Likewise.
8419
a4b3624d
JM
84202014-10-27 Joseph Myers <joseph@codesourcery.com>
8421
8422 [BZ #14138]
8423 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8424 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8425 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8426 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8427 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8428 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8429 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8430 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8431 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8432 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
8433 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
8434 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
8435 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
8436 syscall.
8437 (setfsuid): Likewise.
8438 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
8439 (setfsuid): Likewise.
8440 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
8441 (setfsuid): Likewise.
8442 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
8443 Likewise.
8444 (setfsuid): Likewise.
8445 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
8446 (setfsuid): Likewise.
8447 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
8448 Likewise.
8449 (setfsuid): Likewise.
8450
3574f2fd
AS
84512014-10-27 Andreas Schwab <schwab@suse.de>
8452
8453 [BZ #17501]
8454 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
8455 check for Slow_SSE4_2 feature bit.
8456 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
8457 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8458 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
8459 Likewise. Fix check for Fast_Unaligned_Load feature bit.
8460
70996a37
RM
84612014-10-24 Roland McGrath <roland@hack.frob.com>
8462
461a7b1e
RM
8463 * configure.ac: Validate compiler version with a empirical test of
8464 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
8465 $CC -v output.
8466 * configure: Regenerated.
8467
70996a37
RM
8468 * inet/htons.c (htons): Prototypify.
8469 * inet/htonl.c (htonl): Likewise.
8470
e80514b5
WD
84712014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8472
8473 * string/strncat.c (strncat): Improve performance by using strlen.
8474
6e46de42
WD
84752014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8476
8477 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
8478
6a9ad2fa
WD
84792014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8480
8481 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
8482 Call libc_fetestexcept_aarch64.
8483
1c8810ed
WD
84842014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8485
8486 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
8487 Call libc_feholdexcept_aarch64.
8488
8b1af712
WD
84892014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8490
8491 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
8492 Call get_rounding_mode.
8493
a7b00c11
WD
84942014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8495
8496 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8497 Simplify logic.
8498
3a84f1a6
WD
84992014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8500
8501 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
8502 Simplify logic.
8503
48eb7a94
JM
85042014-10-24 Joseph Myers <joseph@codesourcery.com>
8505
c8bc4038
JM
8506 [BZ #14138]
8507 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
8508 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
8509 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
8510 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
8511 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
8512 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
8513 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
8514 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
8515 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
8516 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
8517 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8518 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
8519 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
8520 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
8521 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
8522 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
8523 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
8524 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
8525 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
8526 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
8527 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
8528 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
8529 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
8530 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
8531 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
8532 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
8533 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
8534 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
8535 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
8536 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
8537 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
8538 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
8539 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
8540 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
8541 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
8542 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
8543 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
8544 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
8545 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
8546 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
8547 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
8548 syscall.
8549 (geteuid): Likewise.
8550 (getgid): Likewise.
8551 (getuid): Likewise.
8552 (getresgid): Likewise.
8553 (getresuid): Likewise.
8554 (getgroups): Likewise.
8555 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
8556 (geteuid): Likewise.
8557 (getgid): Likewise.
8558 (getuid): Likewise.
8559 (getresgid): Likewise.
8560 (getresuid): Likewise.
8561 (getgroups): Likewise.
8562 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
8563 (geteuid): Likewise.
8564 (getgid): Likewise.
8565 (getuid): Likewise.
8566 (getresgid): Likewise.
8567 (getresuid): Likewise.
8568 (getgroups): Likewise.
8569 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
8570 Likewise.
8571 (geteuid): Likewise.
8572 (getgid): Likewise.
8573 (getuid): Likewise.
8574 (getresgid): Likewise.
8575 (getresuid): Likewise.
8576 (getgroups): Likewise.
8577 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
8578 (geteuid): Likewise.
8579 (getgid): Likewise.
8580 (getuid): Likewise.
8581 (getresgid): Likewise.
8582 (getresuid): Likewise.
8583 (getgroups): Likewise.
8584 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
8585 Likewise.
8586 (geteuid): Likewise.
8587 (getgid): Likewise.
8588 (getuid): Likewise.
8589 (getgroups): Likewise.
8590
48eb7a94
JM
8591 [BZ #14138]
8592 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
8593 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
8594 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
8595 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8596 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
8597 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
8598 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
8599 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
8600 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
8601 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
8602 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
8603 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
8604 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
8605 __chown.
8606 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
8607 (lchown): Likewise.
8608 (fchown): Likewise.
8609 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
8610 Likewise.
8611 (lchown): Likewise.
8612 (fchown): Likewise.
8613 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
8614 (lchown): Likewise.
8615 (fchown): Likewise.
8616 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
8617 Likewise.
8618 (lchown): Likewise.
8619 (fchown): Likewise.
8620
ea9a7c8b
WD
86212014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8622
8623 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
8624 Simplify logic.
8625
e226de33
WD
86262014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8627
8628 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8629 Cleanup logic.
8630
6e3d8ed3
WD
86312014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8632
8633 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8634 Remove unused include.
8635
eb04247d
WD
86362014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8637
8638 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
8639 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
8640 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
8641 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
8642
13d84554
CD
86432014-10-23 Carlos O'Donell <carlos@systemhalted.org>
8644 Helge Deller <deller@gmx.de>
8645
8646 [BZ #17508]
8647 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
8648 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
8649 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
8650
15f9c5df
JM
86512014-10-23 Joseph Myers <joseph@codesourcery.com>
8652
8653 [BZ #14132]
8654 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
8655 Remove macro definition.
8656 (__ashrdi3_v_glibc20): Likewise.
8657 (__lshrdi3_v_glibc20): Likewise.
8658 (__cmpdi2_v_glibc20): Likewise.
8659 (__ucmpdi2_v_glibc20): Likewise.
8660 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
8661 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8662 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8663 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8664 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8665 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
8666
c6dfed24
RM
86672014-10-22 Roland McGrath <roland@hack.frob.com>
8668
8669 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
8670 old GNU extension [0] syntax.
8671 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
8672 alloca rather than an array member with variable length.
8673 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
8674 * nscd/nscd.c (invalidate_db): New function, broken out of ...
8675 (parse_opt): ... here. Likewise use alloca there.
8676 Validate the -i argument before checking for rootness.
8677 (send_shutdown): New function, broken out of ...
8678 (parse_opt): ... here.
8679
8c2b1ed8
RM
86802014-10-22 Roland McGrath <roland@hack.frob.com>
8681
8682 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
8683 macro to get at the _rt_local_ro field.
8684 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
8685 ([PIC] case) or _dl_hwcap ([!PIC] case).
8686 * sysdeps/arm/setjmp.S: Likewise.
8687
8688 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
8689 * sysdeps/arm/configure.ac: New check to define it.
8690 * sysdeps/arm/configure: Regenerated.
8691 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
8692 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
8693 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
8694 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
8695 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
8696 Use move/movt pair instead of a load.
8697 (LDST_GLOBAL): Macro removed.
8698 (LDR_GLOBAL): New macro replaces it.
8699 (LDR_HIDDEN): New macro.
8700 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
8701 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
8702
8703 * setjmp/tst-setjmp-static.c: New file.
8704 * setjmp/Makefile (tests): Add it.
8705 (tests-static): New variable.
8706
b5af9297
MR
87072014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
8708
8709 [BZ #17485]
8710 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
8711
a13d0d74
JM
87122014-10-21 Joseph Myers <joseph@codesourcery.com>
8713
8714 [BZ #14132]
8715 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
8716
f05e73f6
RM
87172014-10-21 Roland McGrath <roland@hack.frob.com>
8718
8719 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
8720
6ab1d1ea
RM
87212014-10-20 Roland McGrath <roland@hack.frob.com>
8722
8723 * io/fts.c (dirent_not_directory): New function.
8724 (fts_build): Call it.
8725
ab49e763
RM
87262014-10-20 Roland McGrath <roland@hack.frob.com>
8727
e436eb79
RM
8728 * nptl/version.c (__nptl_main): Use normal __write rather than
8729 INTERNAL_SYSCALL.
8730 (banner): Update copyright years.
8731
6af246cf
RM
8732 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
8733 gettimeofday.
8734 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8735 * nptl/pthread_cond_timedwait.c: Likewise.
8736 * nptl/pthread_mutex_timedlock.c: Likewise.
8737 * nptl/sem_timedwait.c: Likewise.
8738
ab49e763
RM
8739 * sysdeps/nptl/bits/libc-lock.h
8740 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8741 (__libc_lock_init_recursive): Return void, not 0.
8742 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
8743 (__libc_rwlock_init): Likewise.
8744 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
8745
f50277c1
TR
87462014-10-20 Torvald Riegel <triegel@redhat.com>
8747
8748 [BZ #15215]
8749 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
8750 (__pthread_once_slow): ... here.
8751 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
8752 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
8753
63668b70
TR
87542014-10-20 Torvald Riegel <triegel@redhat.com>
8755
8756 [BZ #15215]
8757 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
8758 __PTHREAD_ONCE_FORK_GEN_INCR): New.
8759 * sysdeps/nptl/fork.c (__libc_fork): Use them.
8760 * nptl/pthread_once.c (__pthread_once): Likewise.
8761 Update comments.
8762
42b7f5d4
JM
87632014-10-20 Joseph Myers <joseph@codesourcery.com>
8764
8765 [BZ #14138]
8766 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
8767 name.
8768 (writev): Use __libc_writev as strong name.
8769 * sysdeps/unix/sysv/linux/readv.c: Remove file.
8770 * sysdeps/unix/sysv/linux/writev.c: Likewise.
8771
b0643088
RM
87722014-10-17 Roland McGrath <roland@hack.frob.com>
8773
114c4e09
RM
8774 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
8775
674b8978
RM
8776 * sysdeps/i386/nptl/tls.h
8777 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
8778 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
8779 New macros.
8780 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
8781 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
8782 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
8783 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
8784 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
8785 Call CHECK_THREAD_SYSINFO instead of doing an assert.
8786
184ee940
RM
8787 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8788 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
8789 on [__NR_futex].
8790 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
8791 broken out of ...
8792 (__pthread_mutex_init): ... here. Call it.
8793 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
8794 Conditionalize PI cases on [__NR_futex].
8795 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8796 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8797 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8798
327ae257
RM
8799 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
8800 conditional on [SIGSETXID].
8801 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
8802 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
8803 is defined. Likewise for SIGSETXID.
8804 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
8805 Conditionalize definitions on [SIGSETXID].
8806 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
8807 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
8808 unblocking on [SIGCANCEL].
8809
b0643088
RM
8810 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
8811 [__NR_set_robust_list].
8812
33cc770b
SP
88132014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8814
8815 * string/strcoll_l.c (get_next_seq): Fix up formatting.
8816 (do_compare): Likewise.
8817
0742aef6
LH
88182014-10-17 Leonhard Holz <leonhard.holz@web.de>
8819
8820 [BZ #15884]
8821 * string/strcoll_l.c: Don't include stdio.h.
8822 (coll_seq): Remove members idxarr and rulearr.
8823 (get_next_seq_cached): Remove function.
8824 (get_next_seq): Likewise.
8825 (get_next_seq_nocache): Rename to get_next_seq.
8826 (do_compare): Remove function.
8827 (do_compare_nocache): Rename to do_compare.
8828 (STRCOLL): Remove weight and rules cache.
8829
ee54ce44
RM
88302014-10-16 Roland McGrath <roland@hack.frob.com>
8831
8832 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
8833 * sysdeps/arm/sfp-machine.h: ... to here.
8834 * sysdeps/arm/Implies: Remove arm/soft-fp.
8835
a75d3b02
JM
88362014-10-14 Joseph Myers <joseph@codesourcery.com>
8837
8838 * conform/data/sys/utsname.h-data (*_t): Allow.
8839 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
8840 [POSIX] (WEXITED): Do not expect constant.
8841 [POSIX] (WSTOPPED): Likewise.
8842 [POSIX] (WNOHANG): Likewise.
8843 [POSIX] (WNOWAIT): Likewise.
8844 [POSIX] (siginfo_t): Do not expect type or elements.
8845 [POSIX] (pid_t): Do not expect type.
8846 [POSIX] (signal.h): Do not allow header.
8847 [POSIX] (sys/resource.h): Likewise.
8848 [POSIX] (si_*): Do not allow pattern.
8849 [POSIX] (W*): Likewise.
8850 [POSIX] (P_*): Likewise.
8851 [POSIX] (BUS_*): Likewise.
8852 [POSIX] (CLD_*): Likewise.
8853 [POSIX] (FPE_*): Likewise.
8854 [POSIX] (ILL_*): Likewise.
8855 [POSIX] (POLL_*): Likewise.
8856 [POSIX] (SEGV_*): Likewise.
8857 [POSIX] (SI_*): Likewise.
8858 [POSIX] (TRAP_*): Likewise.
8859 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
8860 variable.
8861
fda389c8
SP
88622014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8863
8864 [BZ #12926]
8865 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
8866 infinite loop when __recvmsg returns 0.
8867
6bc6bd3b
JM
88682014-10-10 Joseph Myers <joseph@codesourcery.com>
8869
fcb32af1
JM
8870 * CANCEL-FCT-WAIVE: Remove file.
8871 * CANCEL-FILE-WAIVE: Likewise.
8872
6bc6bd3b
JM
8873 [BZ #14132]
8874 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
8875 instead of INTVARDEF.
8876 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8877 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
8878 rtld_hidden_data_def instead of INTVARDEF.
8879 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8880 * elf/dl-deps.c (expand_dst): Likewise.
8881 * elf/dl-load.c (_dl_dst_count): Likewise.
8882 (_dl_dst_substitute): Likewise.
8883 (decompose_rpath): Likewise.
8884 (_dl_init_paths): Likewise.
8885 (open_path): Likewise.
8886 (_dl_map_object): Likewise.
8887 * elf/rtld.c (dl_main): Likewise.
8888 (process_dl_audit): Likewise.
8889 (process_envvars): Likewise.
8890 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
8891 Remove declaration.
8892 (__libc_enable_secure): Use rtld_hidden_proto.
8893
b8c80a7e
KS
88942014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8895
8896 * elf/dl-load.c
8897 (add_path): New function broken out of _dl_rtld_di_serinfo.
8898 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
8899
ff12c11f
JM
89002014-10-09 Joseph Myers <joseph@codesourcery.com>
8901
5c0508a3
JM
8902 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
8903 parentheses around macro arguments.
8904 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
8905 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
8906 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
8907 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
8908 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
8909 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8910 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8911 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
8912 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
8913 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
8914 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
8915 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
8916 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
8917 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
8918 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
8919 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
8920 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
8921 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
8922 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
8923 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
8924 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
8925 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
8926 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
8927 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8928 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8929 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
8930 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
8931 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
8932 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
8933 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
8934 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
8935 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
8936 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
8937 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
8938 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
8939 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
8940 Likewise.
8941 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
8942 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8943 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8944 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
8945 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
8946 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
8947 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
8948 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
8949 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
8950 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
8951 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
8952 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
8953 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
8954 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
8955 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
8956 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8957 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8958 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
8959 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
8960 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
8961 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
8962 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
8963 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
8964 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
8965 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
8966 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
8967 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
8968 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
8969 (_FP_FRAC_SRS_1): Likewise.
8970 (_FP_FRAC_CLZ_1): Likewise.
8971 (_FP_MUL_MEAT_1_imm): Likewise.
8972 (_FP_MUL_MEAT_1_wide): Likewise.
8973 (_FP_MUL_MEAT_1_hard): Likewise.
8974 (_FP_SQRT_MEAT_1): Likewise.
8975 (_FP_FRAC_ASSEMBLE_1): Likewise.
8976 (_FP_FRAC_DISASSEMBLE_1): Likewise.
8977 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
8978 (__FP_CLZ_2): Likewise.
8979 (_FP_MUL_MEAT_2_wide): Likewise.
8980 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8981 (_FP_MUL_MEAT_2_gmp): Likewise.
8982 (_FP_MUL_MEAT_2_120_240_double): Likewise.
8983 (_FP_SQRT_MEAT_2): Likewise.
8984 (_FP_FRAC_ASSEMBLE_2): Likewise.
8985 (_FP_FRAC_DISASSEMBLE_2): Likewise.
8986 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
8987 (_FP_FRAC_CLZ_4): Likewise.
8988 (_FP_MUL_MEAT_4_wide): Likewise.
8989 (_FP_MUL_MEAT_4_gmp): Likewise.
8990 (_FP_SQRT_MEAT_4): Likewise.
8991 (_FP_FRAC_ASSEMBLE_4): Likewise.
8992 (_FP_FRAC_DISASSEMBLE_4): Likewise.
8993 * soft-fp/op-common.h (_FP_CMP): Likewise.
8994 (_FP_CMP_EQ): Likewise.
8995 (_FP_CMP_UNORD): Likewise.
8996 (_FP_TO_INT): Likewise.
8997 (_FP_FROM_INT): Likewise.
8998 [!__FP_CLZ] (__FP_CLZ): Likewise.
8999 (_FP_DIV_HELP_imm): Likewise.
9000 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9001 Likewise.
9002 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9003 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9004 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9005 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9006 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9007 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9008 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9009 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9010 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9011 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9012 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9013 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9014 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9015 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9016 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9017 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9018 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9019 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
9020 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
9021 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
9022 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
9023 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
9024 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
9025 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9026 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9027 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
9028 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
9029 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
9030 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
9031 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
9032 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
9033 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
9034 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
9035 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
9036 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
9037 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
9038 (FP_UNPACK_RAW_SP): Likewise.
9039 (FP_PACK_RAW_S): Likewise.
9040 (FP_PACK_RAW_SP): Likewise.
9041 (FP_UNPACK_S): Likewise.
9042 (FP_UNPACK_SP): Likewise.
9043 (FP_UNPACK_SEMIRAW_S): Likewise.
9044 (FP_UNPACK_SEMIRAW_SP): Likewise.
9045 (FP_PACK_S): Likewise.
9046 (FP_PACK_SP): Likewise.
9047 (FP_PACK_SEMIRAW_S): Likewise.
9048 (FP_PACK_SEMIRAW_SP): Likewise.
9049 (_FP_SQRT_MEAT_S): Likewise.
9050 (FP_CMP_S): Likewise.
9051 (FP_CMP_EQ_S): Likewise.
9052 (FP_CMP_UNORD_S): Likewise.
9053 (FP_TO_INT_S): Likewise.
9054 (FP_FROM_INT_S): Likewise.
9055
a736ec37
JM
9056 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
9057
ff12c11f
JM
9058 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
9059 (FP_EX_INVALID_IMZ): Likewise.
9060 (FP_EX_INVALID_IMZ_FMA): Likewise.
9061 (FP_EX_INVALID_ISI): Likewise.
9062 (FP_EX_INVALID_ZDZ): Likewise.
9063 (FP_EX_INVALID_IDI): Likewise.
9064 (FP_EX_INVALID_SQRT): Likewise.
9065 (FP_EX_INVALID_CVI): Likewise.
9066 (FP_EX_INVALID_VC): Likewise.
9067 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
9068 "invalid" exceptions.
9069 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
9070 (_FP_ADD_INTERNAL): Likewise.
9071 (_FP_MUL): Likewise.
9072 (_FP_FMA): Likewise.
9073 (_FP_DIV): Likewise.
9074 (_FP_CMP_CHECK_NAN): Likewise.
9075 (_FP_SQRT): Likewise.
9076 (_FP_TO_INT): Likewise.
9077 (FP_EXTEND): Likewise.
9078
b6dcfe8c
AM
90792014-10-09 Allan McRae <allan@archlinux.org>
9080
9081 * po/fr.po: Update French translation from translation project.
9082
2d6a47ba
JM
90832014-10-09 Joseph Myers <joseph@codesourcery.com>
9084
cb831245
JM
9085 [BZ #14132]
9086 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9087 of INTDEF.
9088 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
9089 (__cxa_atexit): Use libc_hidden_proto.
9090 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9091
5deeb190
JM
9092 [BZ #14132]
9093 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
9094 declaration.
9095 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
9096 [!_ISOMAC] (__iswspace_l_internal): Likewise.
9097 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
9098 [!_ISOMAC] (__iswctype_internal): Likewise.
9099 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
9100 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
9101 alias.
9102 (fcntl): Remove __fcntl_internal alias.
9103 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
9104 __connect_internal alias.
9105 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
9106 Likewise.
9107
454ac701
JM
9108 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
9109 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
9110 FP_DENORM_ZERO.
9111 (_FP_CHECK_FLUSH_ZERO): New macro.
9112 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9113 (_FP_CMP): Likewise.
9114 (_FP_CMP_EQ): Likewise.
9115 (_FP_TO_INT): Do not set inexact for subnormal arguments if
9116 FP_DENORM_ZERO.
9117 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
9118 (FP_TRUNC): Likewise.
9119
0022e688
JM
9120 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
9121 treated as invalid conversion, not as normal exponent.
9122
73e28d9c
JM
9123 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
9124 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
9125 (_FP_CMP_EQ): Likewise.
9126 (_FP_CMP_UNORD): Likewise.
9127 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
9128 (FP_CMP_EQ_D): Likewise.
9129 (FP_CMP_UNORD_D): Likewise.
9130 * soft-fp/extended.h (FP_CMP_E): Likewise.
9131 (FP_CMP_EQ_E): Likewise.
9132 (FP_CMP_UNORD_E): Likewise.
9133 * soft-fp/quad.h (FP_CMP_Q): Likewise.
9134 (FP_CMP_EQ_Q): Likewise.
9135 (FP_CMP_UNORD_Q): Likewise.
9136 * soft-fp/single.h (FP_CMP_S): Likewise.
9137 (FP_CMP_EQ_S): Likewise.
9138 (FP_CMP_UNORD_S): Likewise.
9139 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
9140 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
9141 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
9142 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
9143 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
9144 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
9145 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
9146 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
9147 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
9148 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
9149 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
9150 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
9151 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
9152 to FP_CMP_Q.
9153 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
9154 FP_CMP_Q.
9155 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
9156 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
9157 FP_CMP_EQ_Q.
9158 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
9159 FP_CMP_Q.
9160 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
9161 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
9162 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
9163 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
9164 FP_CMP_EQ_Q.
9165 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
9166 FP_CMP_Q.
9167 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
9168 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
9169 FP_CMP_EQ_Q.
9170 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
9171 FP_CMP_Q.
9172 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
9173 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
9174 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
9175 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
9176 FP_CMP_EQ_Q.
9177
43059f42
JM
9178 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
9179 a subnormal result, set the underflow exception if trapping on
9180 underflow is enabled.
9181 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
9182 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
9183 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9184 redefine to 0.
9185 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9186 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9187 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9188 * soft-fp/extendxftf2.c (__extendxftf2): Use
9189 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9190
2d6a47ba
JM
9191 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9192 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9193 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9194 FP_HANDLE_EXCEPTIONS.
9195 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9196 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9197 FP_HANDLE_EXCEPTIONS.
9198 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9199 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9200 FP_HANDLE_EXCEPTIONS.
9201 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9202 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9203 FP_HANDLE_EXCEPTIONS.
9204
620f462e
JM
92052014-10-08 Joseph Myers <joseph@codesourcery.com>
9206
9207 [BZ #14132]
9208 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9209 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9210 use INTUSE.
9211 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9212 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9213 Remove alias.
9214 (__adjtimex): Define using libc_hidden_ver.
9215 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9216 Remove declaration.
9217 (ntp_gettime): Call __adjtimex directly.
9218 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9219 Remove declaration.
9220 (ntp_gettimex): Call __adjtimex directly.
9221 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9222 __adjtimex_internal alias.
9223
c763c5d2
RM
92242014-10-08 Roland McGrath <roland@hack.frob.com>
9225
9226 [BZ #17460]
9227 * nscd/nscd.c (more_help): Rewrite list of tables collection
9228 using xstrdup and asprintf.
9229
9230 * nscd/nscd_conf.c: Remove local xstrdup declaration.
9231
7b8fb2b8
RM
92322014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9233 Roland McGrath <roland@hack.frob.com>
9234
9235 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9236 (do_lookup_unique): ... local function 'enter' here; update callers.
9237
abb280f7
JM
92382014-10-06 Joseph Myers <joseph@codesourcery.com>
9239
f7b42517
JM
9240 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9241 compat_symbol calls on [SHARED].
9242 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9243 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9244 Remove.
9245 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9246 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9247 (oldsetrlimit): Remove.
9248 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9250 (lchown): New syscall entry.
9251 (oldsetrlimit): Remove.
9252 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9253 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9254 (oldsetrlimit): Remove.
9255 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9256
abb280f7
JM
9257 [BZ #14138]
9258 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9259 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9260 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9261 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9262 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9263 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9264 (fchown): Likewise.
9265 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9266 (fchown): Likewise.
9267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9268 Likewise.
9269
47d46237
AZ
92702014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9271
9272 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9273 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9274 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9275 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9276 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9277 Likewise.
9278 (__old_sem_post): Likewise.
9279
92802014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 9281
845a7343
CM
9282 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9283 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9284 HAVE_CLOCK_GETTIME_VSYSCALL macros.
9285 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9286 Use INLINE_VSYSCALL macro.
9287 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9288 __vdso_clock_gettime.
9289 * sysdeps/unix/sysv/linux/tile/init-first.c
9290 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9291 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9292 __vdso_clock_gettime.
9293
83d641ef
CM
9294 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9295 to set up frame more cleanly.
9296
d9cd52e6
CM
9297 * sysdeps/tile/memcmp.c: New file.
9298
4b68ea11
CM
9299 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9300
c86f7b80
CM
9301 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9302 * sysdeps/tile/tilegx/strcasestr.c: New file.
9303 * sysdeps/tile/tilegx/strnlen.c: New file.
9304 * sysdeps/tile/tilegx/strstr.c: New file.
9305
1c4c1a6f
CM
9306 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9307
99d86ea3
AS
93082014-10-06 Arjun Shankar <arjun.is@lostca.se>
9309
9310 * nptl/tst-setuid3.c: Write errors to stdout.
9311
06210a44
KS
93122014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9313
9314 * elf/dl-deps.c
9315 (preload): New functions broken out of _dl_map_object_deps.
9316 (_dl_map_object_deps): Remove a nested function. Update call sites.
9317
6268f532
JM
93182014-10-01 Joseph Myers <joseph@codesourcery.com>
9319
9320 [BZ #14138]
9321 * sysdeps/unix/sysv/linux/execve.c: Remove file.
9322 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9323
b925285f
SE
93242014-10-01 Steve Ellcey <sellcey@mips.com>
9325
9326 * sysdeps/mips/strcmp.S: New.
9327
754a15c6
JM
93282014-09-30 Joseph Myers <joseph@codesourcery.com>
9329
9330 [BZ #14138]
9331 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9332 (linkat): Likewise.
9333 (mkdirat): Likewise.
9334 (readlinkat): Likewise.
9335 (renameat): Likewise.
9336 (symlinkat): Likewise.
9337 (unlinkat): Likewise.
9338 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9339 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9340 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9341 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9342 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9343 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9344 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9345
85bb81c9
WN
93462014-09-30 Will Newton <will.newton@linaro.org>
9347
dc6fe23b
WN
9348 * math/math.h: Define long double math functions if
9349 _LIBC_TEST is defined.
9350 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9351
85bb81c9
WN
9352 * localedata/Makefile: Move assignment to tests-special
9353 into an ifdef testing run-built-tests.
9354 * timezone/Makefile: Likewise.
9355
b7e02da4
JM
93562014-09-29 Joseph Myers <joseph@codesourcery.com>
9357
9358 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9359 with $(BASH) not $(SHELL).
9360
62058ce6
CD
93612014-09-29 Carlos O'Donell <carlos@redhat.com>
9362 Matthew LeGendre <legendre1@llnl.gov>
9363
9364 [BZ #17411]
9365 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9366 l_reloc_result.
9367
8e257a29
KS
93682014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9369
9370 * stdio-common/printf_fp.c
9371 (hack_digit): New function, broken out of ...
9372 (__printf_fp): ... local function here. Update call sites.
9373 hack_digit now takes an additional parameter that is a pointer
9374 to a struct of the referenced locals. Those locals moved inside
9375 the struct and references updated.
9376
f4a58f0d
L
93772014-09-29 H.J. Lu <hongjiu.lu@intel.com>
9378
9379 * aclocal.m4: Require autoconf 2.69.
9380 * configure: Regenerated.
9381 * sysdeps/aarch64/configure: Likewise.
9382 * sysdeps/alpha/configure: Likewise.
9383 * sysdeps/arm/armv7/configure: Likewise.
9384 * sysdeps/arm/configure: Likewise.
9385 * sysdeps/ia64/configure: Likewise.
9386 * sysdeps/mach/configure: Likewise.
9387 * sysdeps/mips/configure: Likewise.
9388 * sysdeps/s390/configure: Likewise.
9389 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9391
9392 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9393 file.
9394 * sysdeps/ia64/configure.ac: Likewise.
9395
93ae1eba
JM
93962014-09-26 Joseph Myers <joseph@codesourcery.com>
9397
1810d3ab
JM
9398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9399 specify symbol version for ld.so. Do not include entry for
9400 libpthread.
9401 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9402 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9403 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9404
93ae1eba
JM
9405 [BZ #14171]
9406 * Makeconfig [$(build-shared) = yes]
9407 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9408 makefiles.
9409 [$(build-shared) = yes && $(soversions.mk-done) = t]
9410 ($(common-objpfx)gnu/lib-names.h): Remove rule.
9411 [$(build-shared) = yes && $(soversions.mk-done) = t]
9412 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
9413 to Makerules.
9414 [$(build-shared) = yes && $(soversions.mk-done) = t]
9415 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9416 here.
9417 [$(build-shared) = yes && $(soversions.mk-done) = t]
9418 (common-generated): Don't append gnu/lib-names.h and
9419 gnu/lib-names.stmp here.
9420 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9421 (lib-names-h-abi): New variable.
9422 [$(build-shared) = yes && $(soversions.mk-done) = t]
9423 (lib-names-stmp-abi): Likewise.
9424 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9425 abi-variants] (before-compile): Append
9426 $(common-objpfx)$(lib-names-h-abi).
9427 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9428 abi-variants] (common-generated): Append gnu/lib-names.h.
9429 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9430 abi-variants] (install-others-nosubdir): Depend on
9431 $(inst_includedir)/$(lib-names-h-abi).
9432 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9433 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
9434 [$(build-shared) = yes && $(soversions.mk-done) = t]
9435 ($(common-objpfx)$(lib-names-h-abi)): New rule.
9436 [$(build-shared) = yes && $(soversions.mk-done) = t]
9437 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
9438 [$(build-shared) = yes && $(soversions.mk-done) = t]
9439 (common-generated): Append $(lib-names-h-abi) and
9440 $(lib-names-stmp-abi).
9441 * scripts/lib-names.awk: Do not handle multi being set.
9442 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
9443 Remove variable.
9444 (abi-lp64_be-ld-soname): Likewise.
9445 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
9446 Likewise.
9447 (abi-hard-ld-soname): Likewise.
9448 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
9449 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
9450 Remove variable.
9451 (abi-o32_hard-ld-soname): Likewise.
9452 (abi-o32_soft_2008-ld-soname): Likewise.
9453 (abi-o32_hard_2008-ld-soname): Likewise.
9454 (abi-n32_soft-ld-soname): Likewise.
9455 (abi-n32_hard-ld-soname): Likewise.
9456 (abi-n32_soft_2008-ld-soname): Likewise.
9457 (abi-n32_hard_2008-ld-soname): Likewise.
9458 (abi-n64_soft-ld-soname): Likewise.
9459 (abi-n64_hard-ld-soname): Likewise.
9460 (abi-n64_soft_2008-ld-soname): Likewise.
9461 (abi-n64_hard_2008-ld-soname): Likewise.
9462 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
9463 Likewise.
9464 (abi-64-v2-ld-soname): Likewise.
9465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
9466 ld.so entries.
9467 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
9468 variable.
9469 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
9470 entry.
9471 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
9472 variable.
9473 (abi-64-ld-soname): Likewise.
9474 (abi-x32-ld-soname): Likewise.
9475 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
9476 entry.
9477 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9478
68870f12
JM
94792014-09-23 Joseph Myers <joseph@codesourcery.com>
9480
9481 [BZ #14138]
9482 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
9483 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9484 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
9485 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
9486 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
9487 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
9488 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
9489 syscall entry for GLIBC_2.2 symbol version.
9490 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
9491 Likewise.
9492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9493 (setrlimit): Likewise.
9494 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
9495 Likewise.
9496
ea58f202
WN
94972014-09-23 Will Newton <will.newton@linaro.org>
9498
9499 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
9500 _LINUX_ARM_SYSDEP_H include guard too.
9501 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
9502 define.
9503
69eb9a18
RV
95042014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9505
9506 * sysdeps/unix/sysv/linux/eventfd.c:
9507 Make first argument unsigned.
9508 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
9509 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
9510
20e5a5f7
OB
95112014-09-20 Ondřej Bílka <neleai@seznam.cz>
9512
9513 * socket/recvmmsg.c (recvmmsg): Drop const argument.
9514 * socket/sys/socket.h: Likewise
9515 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
9516
d3c827e7
AK
95172014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9518
9519 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
9520
fe1cc35a
AS
95212014-09-17 Arjun Shankar <arjun.is@lostca.se>
9522
9523 * time/tst-ftime.c: New test.
9524 * time/Makefile (tests): Add tst-ftime.
9525
4e8afe69
JM
95262014-09-17 Joseph Myers <joseph@codesourcery.com>
9527
c4fe3ea7
JM
9528 * soft-fp/extended.h: Fix comment formatting.
9529 * soft-fp/op-1.h: Likewise.
9530 * soft-fp/op-2.h: Likewise.
9531 * soft-fp/op-4.h: Likewise.
9532 * soft-fp/op-8.h: Likewise.
9533 * soft-fp/op-common.h: Likewise.
9534 * soft-fp/soft-fp.h: Likewise.
9535
4e8afe69
JM
9536 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
9537
af296fcd
JM
95382014-09-16 Joseph Myers <joseph@codesourcery.com>
9539
9540 [BZ #6652]
9541 * Makeconfig (soversions-default-setname): Remove variable.
9542 ($(common-objpfx)soversions.i): Don't pass default_setname to
9543 soversions.awk.
9544 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
9545 oldest_abi to abi-versions.awk.
9546 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
9547 * config.make.in (oldest-abi): Remove variable.
9548 * configure.ac (--enable-oldest-abi): Remove configure option.
9549 * configure: Regenerated.
9550 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
9551 text.
9552 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
9553 * scripts/soversions.awk: Do not handle default_setname variable.
9554 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
9555 variable.
9556 * sysdeps/mach/hurd/configure: Regenerated.
9557 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
9558 variable.
9559 * sysdeps/unix/sysv/linux/configure: Regenerated.
9560
545583d6
SP
95612014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9562
d330b980
SP
9563 * elf/Makefile (CFLAGS-interp.c): Remove.
9564 ($(elf-objpfx)runtime-linker.h): Generate header with linker
9565 path string.
9566 * elf/interp.c: Include generated runtime-linker.h
9567
02657da2
SP
9568 * Makerules (lib%.so): Don't include $(+interp) in
9569 prerequisites.
9570 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
9571 * dlfcn/eval.c: Remove file.
9572
653b1080
SP
9573 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
9574 macros.
9575
602f80ec
SP
9576 [BZ #17266]
9577 * misc/sys/cdefs.h: Define __extern_always_inline for clang
9578 4.2 and newer.
9579
545583d6
SP
9580 [BZ #17370]
9581 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
9582
884ddc50
SP
95832014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9584 Jakub Jelinek <jakub@redhat.com>
9585
9586 [BZ #17266]
9587 * libio/stdio.h: Check definition of __fortify_function
9588 instead of __extern_always_inline to include bits/stdio2.h.
9589 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
9590 check if __extern_always_inline is defined.
9591 [__USE_MISC || __USE_XOPEN]: Likewise.
9592 [__USE_ISOC99] Likewise.
9593 * misc/sys/cdefs.h (__fortify_function): Define only if
9594 __extern_always_inline is defined.
9595 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
9596 __extern_always_inline and __extern_inline only for g++-4.3
9597 and newer or a compatible gcc.
9598
a7b87268
AS
95992014-09-15 Andreas Schwab <schwab@linux-m68k.org>
9600
9601 [BZ #17371]
9602 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9603 last change to handle zero prefix length.
9604
3f41521d
SP
96052014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9606
61fe374a
SP
9607 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
9608 _SC_REGEX_VERSION.
9609
3f41521d
SP
9610 * posix/getconf.c (vars): Add _POSIX_IPV6 and
9611 _POSIX_RAW_SOCKETS.
9612
d8f879ee
AM
96132014-09-13 Allan McRae <allan@archlinux.org>
9614
9615 * po/ru.po: Update Russian translation from translation project.
9616
c079afb7
RM
96172014-09-12 Roland McGrath <roland@hack.frob.com>
9618
a62b3c15
RM
9619 * locale/programs/locale.c (show_locale_vars): Inline local function
9620 into its sole call site. Clean up some style nits.
9621 (print_item): New function, broken out of ...
9622 (show_info): ... local function here. Clean up style nits.
9623
d7e49b19
RM
9624 * locale/programs/ld-ctype.c (set_one_default): New function, broken
9625 out of ...
9626 (set_class_defaults): ... local function set_default here.
9627 Define set_default as a macro locally to pass constant parameters.
9628 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
9629 rather than a shared local.
9630
c079afb7
RM
9631 * stdlib/rpmatch.c (try): New function, broken out of ...
9632 (rpmatch): ... local function here. Also, prototypify definition.
9633
0bd72468
JM
96342014-09-12 Joseph Myers <joseph@codesourcery.com>
9635
ba90e050
JM
9636 * scripts/soversions.awk: Do not handle configuration names.
9637 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
9638 vendor and os variables to soversions.awk.
9639 * configure.ac: Do not modify gnu-* host_os.
9640 * configure: Regenerated
9641 * shlib-versions: Remove first column with configuration names.
9642 * nptl/shlib-versions: Likewise.
9643 * nptl_db/shlib-versions: Likewise.
9644 * sysdeps/hppa/shlib-versions: Likewise.
9645 * sysdeps/m68k/shlib-versions: Likewise.
9646 * sysdeps/mach/hurd/shlib-versions: Likewise.
9647 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
9648 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
9649 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
9650 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
9651 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
9652 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
9653 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
9654 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
9655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9656 Likewise.
9657 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9658 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9659 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9660 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9661 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9662 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
9663 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9664 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9665
73a39112
JM
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9667 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
9668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9669 Regenerated.
9670 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9672 Condition symbol version definitions on [HAVE_ELFV2_ABI].
9673
c729e7c1
JM
9674 * shlib-versions: Remove OS-specific entries. Moved to files in
9675 sysdeps.
9676 * sysdeps/mach/hurd/shlib-versions: New file.
9677 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9678
dc932a24
JM
9679 * nptl/shlib-versions: Remove architecture-specific entries.
9680 Moved to files in sysdeps.
9681 * shlib-versions: Likewise.
9682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
9683 file.
9684 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9685 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9686 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9687 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9688
0bd72468
JM
9689 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
9690 (UDP_NO_CHECK6_RX): Likewise.
9691
920238e0
SP
96922014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9693
9694 * sysdeps/posix/sysconf.c (__sysconf): Spell
9695 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
9696
ba7b4d29
FW
96972014-08-12 Florian Weimer <fweimer@redhat.com>
9698
9699 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
9700 loading.
9701 * iconv/Versions (__gconv_transliterate): Export for use from
9702 gconv modules.
9703 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
9704 (struct __gconv_trans_data, __gconv_trans_fct,
9705 __gconv_trans_context_fct, __gconv_trans_query_fct,
9706 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
9707 definitions.
9708 (struct __gconv_step_data): Remove __trans member.
9709 (__gconv_transliterate): Declaration moved from gconv_int.h. No
9710 longer hidden. Remove unused trans_data argument.
9711 * iconv/gconv_int.h (struct trans_struct): Remove definition.
9712 (__gconv_translit_find): Remove declaration.
9713 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
9714 prototype.
9715 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
9716 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
9717 trans_data argument. Add hidden definition.
9718 (__gconv_translit_find): Remove.
9719 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
9720 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
9721 * iconv/skeleton.c: Remove transliteration initialization.
9722 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
9723 __gconv_step_data initialization.
9724 * libio/iofwide.c (__libio_translit_): Remove.
9725 (_IO_fwide): Adjust struct __gconv_step_data initialization.
9726 * wcsmbs/btowc.c (__btowc): Likewise.
9727 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9728 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9729 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9730 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9731 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
9732 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9733 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9734 * wcsmbs/wctob.c (wctob): Likewise.
9735
5379aebd
SP
97362014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9737
9738 [BZ #16194]
9739 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
9740 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
9741 register usage.
9742 * sysdeps/x86/Makefile: Adjust.
9743
8c0ab919
RM
97442014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9745 Roland McGrath <roland@hack.frob.com>
9746
9747 * locale/weight.h: Add include guard.
9748 (findidx): Make static rather than auto; take new parameters
9749 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
9750 * locale/weightwc.h: Likewise.
9751 * posix/fnmatch_loop.c
9752 (FCT): Change type of EXTRA from int32_t to wint_t.
9753 Don't include either header inside the function.
9754 Call FINDIDX rather than findidx, and pass new arguments.
9755 #undef FINDIDX at the end of the file.
9756 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
9757 FINDIDX before including fnmatch_loop.c for the non-wide version.
9758 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
9759 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
9760 for the wide version.
9761 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
9762 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
9763 Pass new arguments to findidx.
9764 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
9765 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
9766 Don't #include it inside the function. Pass new arguments to findidx.
9767 * posix/regex_internal.h
9768 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
9769 (re_string_elem_size_at): Don't #include it inside the function.
9770 Pass new arguments to findidx.
9771 * string/strcoll_l.c: #include WEIGHT_H at top level.
9772 (get_next_seq): Don't #include it inside the function.
9773 Pass new arguments to findidx.
9774 (get_next_seq_nocache): Likewise.
9775 * string/strxfrm_l.c: #include WEIGHT_H at top level.
9776 (STRXFRM): Don't #include it inside the function.
9777 Pass new arguments to findidx.
9778
52ffbdf2
FW
97792014-09-11 Florian Weimer <fweimer@redhat.com>
9780
9781 [BZ #17344]
9782 * malloc/malloc.c (unlink): Turn asserts into a call to
9783 malloc_printerr.
9784
984c0ea9
TL
97852014-09-11 Tim Lammens <tim.lammens@gmail.com>
9786
9787 [BZ #17370]
9788 * libio/wfileops (do_ftell_wide): Free OUT.
9789
3daee107
CM
97902014-09-10 Chris Metcalf <cmetcalf@tilera.com>
9791
9792 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
9793
58b930ae
SP
97942014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9795
9796 [BZ #17363]
9797 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
9798 group if the current group is empty.
9799
3b473fec
AZ
98002014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9801
71ae8647
AZ
9802 * benchtests/bench-memset.c (test_main): Add more test from size
9803 from 32 to 512 bytes.
9804 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9805 Add POWER8 memset object.
9806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9807 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
9808 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
9809 implementation.
9810 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
9811 Likewise.
9812 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
9813 multiarch POWER8 memset optimization.
9814 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
9815 POWER8 memset optimization.
9816
3b473fec
AZ
9817 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9818 Remove bzero multiarch objects.
9819 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
9820 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
9821 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
9822 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
9823 Remove define.
9824 [__bzero]: Redefine to specific name.
9825 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
9826 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
9827 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
9828 define.
9829 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9830 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9831
e6fb9587
FW
98322014-09-10 Florian Weimer <fweimer@redhat.com>
9833
9834 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
9835 warnings into errors.
9836
9837 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
9838 __cxa_thread_atexit_impl prototype.
9839
9d3a350b
SE
98402014-09-09 Steve Ellcey <sellcey@mips.com>
9841
9842 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
9843 Fix capitalization of error message.
9844
0febba23
SE
98452014-09-09 Steve Ellcey <sellcey@mips.com>
9846
9847 * sysdeps/mips/preconfigure: Modify ABI tests.
9848
645a0e9c
CD
98492014-09-07 Carlos O'Donell <carlos@systemhalted.org>
9850
9851 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
9852
d83f0734
CD
98532014-09-07 Roland McGrath <roland@hack.frob.com>
9854 Carlos O'Donell <carlos@systemhalted.org>
9855
9856 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
9857 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
9858 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
9859 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
9860 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
9861 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
9862 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
9863 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
9864 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
9865 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
9866 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
9867 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
9868 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
9869 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
9870 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
9871 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
9872 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
9873 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
9874 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
9875 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
9876 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
9877 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
9878 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
9879 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
9880 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
9881 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
9882 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
9883 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
9884 Deconditionalize the code that was previously under [RESET_PID].
9885 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
9886 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
9887 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
9888 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
9889 include sysdep.h.
9890
21c83793
AM
98912014-09-08 Allan McRae <allan@archlinux.org>
9892
9893 * version.h (RELEASE): Set to "development".
9894 (VERSION): Set to "2.20.90"
9895
1cd9b65c
AM
98962014-09-07 Allan McRae <allan@archlinux.org
9897
b8079dd0
AM
9898 * version.h (RELEASE): Set to "stable".
9899 (VERSION): Set to "2.20"
9900 * include/features.h (__GLIBC_MINOR__): Set to 20.
9901
c46303ef
AM
9902 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
9903 Liebler.
9904
1cd9b65c
AM
9905 * po/ko.po: Update Korean translation from translation project.
9906
8622092d
CM
99072014-09-06 Chris Metcalf <cmetcalf@tilera.com>
9908
9909 [BZ #17354]
9910 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
9911 macro for handling signed relocations.
9912
41488498
FW
99132014-09-03 Florian Weimer <fweimer@redhat.com>
9914
9915 [BZ #17325]
9916 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
9917 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
9918 assert.
9919 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
9920 * iconvdata/ibm935.c (BODY): Likewise.
9921 * iconvdata/ibm937.c (BODY): Likewise.
9922 * iconvdata/ibm939.c (BODY): Likewise.
9923 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
9924 assert.
9925 * iconvdata/Makefile (iconv-test.out): Pass module list to test
9926 script.
9927 * iconvdata/run-iconv-test.sh: New test loop for checking for
9928 decoder crashers.
9929
a78b712d
KR
99302014-09-02 Khem Raj <raj.khem@gmail.com>
9931
9932 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
9933 libm_hidden_ver.
9934
cb08abc6
AM
99352014-09-01 Allan McRae <allan@archlinux.org>
9936
2c31e102
AM
9937 * po/eo.po: Update Esperanto translation from translation project.
9938
cb08abc6
AM
9939 * po/ca.po: Update Catalan translation from translation project.
9940
17a62de1
ST
99412014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
9942
9943 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
9944 __proc_dostop call.
9945
9570bc53
MW
99462014-08-27 Mark Wielaard <mjw@redhat.com>
9947
9948 [BZ #17319]
9949 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
9950 to call set_thread_area instead of hand written asm.
9951 (__NR_set_thread_area): Removed define.
9952 (TLS_FLAG_WRITABLE): Likewise.
9953 (__ASSUME_SET_THREAD_AREA): Remove check.
9954 (TLS_EBX_ARG): Remove define.
9955 (TLS_LOAD_EBX): Likewise.
9956
b0f955c9
ST
99572014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9958
9959 Simplify atomicity of socket creation in bind.
9960
9961 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
9962 looking up the name after linking the file.
9963
529bf515
AM
99642014-08-27 Allan McRae <allan@archlinux.org>
9965
9966 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9967
a1a6a401
FW
99682014-08-26 Florian Weimer <fweimer@redhat.com>
9969
9970 [BZ #17187]
9971 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
9972 trans_compare, open_translit, __gconv_translit_find):
9973 Remove module loading code.
9974
686ab290
AM
99752014-08-26 Allan McRae <allan@archlinux.org>
9976
e4e7cfd2
AM
9977 * po/vi.po: Update Vietnamese translation from translation project.
9978
6aa09f71
AM
9979 * po/uk.po: Update Ukrainian translation from translation project.
9980
edc0660e
AM
9981 * po/fr.po: Update French translation from translation project.
9982
7eea72ac
AM
9983 * po/ru.po: Update Russian translation from translation project.
9984
93c49eff
AM
9985 * po/pl.po: Update Polish translation from translation project.
9986
46acaf63
AM
9987 * po/cs.po: Update Czech translation from translation project.
9988
a9f5ce98
AM
9989 * po/de.po: Update German translation from translation project.
9990
373f2b78
AM
9991 * po/bg.po: Update Bulgarian translation from translation project.
9992
e7548bd8
AM
9993 * po/sv.po: Update Sweedish translation from translation project.
9994
c526bf4d
AM
9995 * po/nl.po: Update Dutch translation from translation project.
9996
686ab290
AM
9997 * po/es.po: Update Spanish translation from translation project.
9998
eb72478a
SP
99992014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10000
dd763fdb
SP
10001 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10002
318c7a58
SP
10003 * catgets/Makefile (CPPFLAGS-gencat): Remove.
10004 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10005 (CPPFLAGS-iconvconfig): Likewise.
10006 * timezone/Makefile (CPPFLAGS-zic): Likewise.
10007
eb72478a
SP
10008 * include/libc-symbols.h: Remove unnecessary check for
10009 NOT_IN_libc.
10010 * nptl/pthreadP.h: Likewise.
10011 * sysdeps/aarch64/setjmp.S: Likewise.
10012 * sysdeps/alpha/setjmp.S: Likewise.
10013 * sysdeps/arm/sysdep.h: Likewise.
10014 * sysdeps/i386/setjmp.S: Likewise.
10015 * sysdeps/m68k/setjmp.c: Likewise.
10016 * sysdeps/posix/getcwd.c: Likewise.
10017 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10018 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10019 * sysdeps/s390/s390-32/setjmp.S: Likewise.
10020 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10021 * sysdeps/sh/sh3/setjmp.S: Likewise.
10022 * sysdeps/sh/sh4/setjmp.S: Likewise.
10023 * sysdeps/unix/alpha/sysdep.h: Likewise.
10024 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10025 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10026 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10027 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10030 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10031 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10032 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10033 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10034 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10035 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10036 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10037 * sysdeps/x86_64/setjmp.S: Likewise.
10038
d44a052c
JM
100392014-08-13 Joseph Myers <joseph@codesourcery.com>
10040
10041 [BZ #17263]
10042 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
10043 <stdint.h>.
10044 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
10045 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
10046
508ce3ac
SP
100472014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10048
e44c8b0e
SP
10049 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
10050
508ce3ac
SP
10051 [BZ #17262]
10052 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
10053 and __x86_64__ when disabling x87 inline functions.
10054
b4acef1f
L
100552014-08-12 H.J. Lu <hongjiu.lu@intel.com>
10056
10057 [BZ #17259]
10058 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
10059 asm statement with __cpuid_count.
10060
61b1ef6e
MF
100612014-08-12 Mike Frysinger <vapier@gentoo.org>
10062
10063 * configure.ac: Change __ehdr_start code to dereference the struct.
10064 Run readelf on the output to look for relocations.
10065 * configure: Regenerated.
10066
898c62f4
JM
100672014-08-12 Joseph Myers <joseph@codesourcery.com>
10068
10069 [BZ #17261]
10070 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
10071 value to 0.
10072 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
10073
9a8a5720
RM
100742014-08-12 Roland McGrath <roland@hack.frob.com>
10075
10076 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
10077
4e75751c
BO
100782014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
10079
10080 [BZ #16892]
10081 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
10082 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10083
bb2ce416
SA
100842014-08-12 Sean Anderson <seanga2@gmail.com>
10085
10086 * malloc/malloc.c: Fix typo in comment.
10087
7950a4ee
AM
100882014-08-09 Allan McRae <allan@archlinux.org>
10089
10090 * Regenerate libc.po.
10091
f469c49f
MF
100922014-08-08 Mike Frysinger <vapier@gentoo.org>
10093
10094 * intl/tst-gettext2.sh: Check every lang file for creation.
10095
656b84c2
WD
100962014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10097
10098 * sysdeps/aarch64/fpu/math_private.h
10099 (libc_feholdsetround_noex_aarch64_ctx): New function.
10100
538e9e45
W
101012014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10102
10103 * sysdeps/arm/armv6/strcpy.S (strcpy):
10104 Fix performance issue in misaligned cases.
10105
d4795e4a
AZ
101062014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10107
10108 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
10109 Move definition from termios.h.
10110 (struct termio): Likewise.
10111 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10112 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10113 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10114 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10115 Likewise.
10116 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
10117 Move definition to ioctl-types.h
10118 (struct termio): Likewise.
10119 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10120 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10121 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10122 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10123 Likewise.
10124
64accb62
RH
101252014-08-05 Richard Henderson <rth@redhat.com>
10126
27bb6dc0
RH
10127 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
10128 exceptions.
10129 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10130 Add fraiseexcpt.
10131 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10132 Use __feraiseexcept.
10133 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10134 Protect libm symbols with IS_IN_libm.
10135
64accb62
RH
10136 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
10137
e5292691
BO
101382014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
10139
10140 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
10141
5b4bd2d4
WN
101422014-08-04 Will Newton <will.newton@linaro.org>
10143
10144 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
10145 file.
10146
fcadaeef
MF
101472014-08-04 Mike Frysinger <vapier@gentoo.org>
10148
10149 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
10150 variants for each function.
10151
43a94c64
RM
101522014-08-04 Roland McGrath <roland@hack.frob.com>
10153
10154 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
10155 appended ...
10156 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
10157 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
10158 appended ...
10159 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
10160 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
10161 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
10162 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
10163 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
10164 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
10165 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
10166 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
10167 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
10168 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
10169 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
10170 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
10171 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
10172 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
10173 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
10174 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
10175 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
10176 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
10177 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
10178 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
10179 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
10180 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
10181 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
10182 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
10183 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
10184 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
10185 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10186 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10187 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10188 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10189 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10190 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10191 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10192 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10193 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10194 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10195 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10196 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10197 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10198 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10199 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10200 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10201 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10202 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10203 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10204 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10205 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10206 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10207 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10208 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10209 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10210 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10211 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10212 Update #include.
10213 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10214 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10215
8f3c1fa4
RM
102162014-08-04 Roland McGrath <roland@hack.frob.com>
10217
10218 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10219 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10220 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10221 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10222 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10223 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10224
ca08746f
RM
102252014-08-04 Roland McGrath <roland@hack.frob.com>
10226
10227 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10228 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10229 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10230 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10231
9c925ff9
RM
102322014-08-04 Roland McGrath <roland@hack.frob.com>
10233
10234 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10235 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10236 (__libc_vfork): Define function under this name.
10237 (__vfork): Define as an alias.
10238 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10239 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10240
e641054c
RM
102412014-08-04 Roland McGrath <roland@hack.frob.com>
10242
10243 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10244 that was previously under [RESET_PID].
10245 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10246
dacdc867
AS
102472014-08-04 Andreas Schwab <schwab@suse.de>
10248
10249 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10250
41f725ff
MF
102512014-08-03 Mike Frysinger <vapier@gentoo.org>
10252
10253 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10254 (main): Likewise.
10255
277cfb31
RM
102562014-08-01 Roland McGrath <roland@hack.frob.com>
10257
10258 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10259
4896f049
RH
102602014-08-01 Richard Henderon <rth@redhat.com>
10261
10262 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10263 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10264 typo in exact zero test.
10265 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10266 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10267 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10268
6f64e7d7
RM
102692014-08-01 Roland McGrath <roland@hack.frob.com>
10270
10271 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10272 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10273 * sysdeps/arm/sysdep.h: ... here.
10274 [!__ASSEMBLER__]: Include <stdint.h>.
10275
3f3dd810
SP
102762014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10277
a476ac4b
SP
10278 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10279 (HAVE_WCTYPE_H): Likewise.
10280 (HAVE_ISWCTYPE): Likewise.
10281 (ENABLE_NLS): Likewise.
10282 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10283 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10284
78dd658a
SP
10285 * posix/regex_internal.c: Check if DEBUG is defined and is
10286 set.
10287
3f3dd810
SP
10288 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10289 (HAVE_MBSRTOWCS): Likewise.
10290 * posix/fnmatch.c: Include string.h unconditionally.
10291
95ee7fb1
SL
102922014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10293
10294 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10295 reversal.
10296
23fe486b
RM
102972014-07-31 Roland McGrath <roland@hack.frob.com>
10298
f61a113f
RM
10299 * sysdeps/generic/safe-fatal.h: New file.
10300 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10301 * nptl/forward.c: Include it.
10302 (__pthread_unwind): Use __safe_fatal as default action, rather
10303 than a bogus use of INTERNAL_SYSCALL that could never work.
10304
9fe7e787
RM
10305 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10306 * configure.ac (libc_cv_builtin_trap): New test.
10307 * configure: Regenerated.
10308 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10309 (ABORT_INSTRUCTION): Define using __builtin_trap.
10310
23fe486b
RM
10311 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10312 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10313 * sysdeps/nptl/nptl-signals.h: New file.
10314 * nptl/pthreadP.h: Include <nptl-signals.h>.
10315
f349489e
SL
103162014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10317
10318 * sysdeps/s390/s390-64/utf16-utf32-z9.c
10319 (ONE_DIRECTION): Define.
10320 * sysdeps/s390/s390-64/utf8-utf16-z9.c
10321 (ONE_DIRECTION): Define.
10322 * sysdeps/s390/s390-64/utf8-utf32-z9.c
10323 (ONE_DIRECTION): Define.
10324
2f438e20
SL
103252014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10326
10327 * sysdeps/s390/Makefile: Delete file.
10328 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10329 * sysdeps/s390/__longjmp.c: Delete file.
10330 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10331 Remove fields __flags and __reserved.
10332 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10333 and add versioning.
10334 * sysdeps/s390/rtld-__longjmp.c: Delete file.
10335 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10336 * sysdeps/s390/rtld-setjmp.S: Likewise.
10337 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10338 * sysdeps/s390/s390-32/__longjmp.c: ... here.
10339 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10340 * sysdeps/s390/s390-32/setjmp.S: ... here.
10341 Add versioning.
10342 (__sigsetjmp): Remove setting __flags field.
10343 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10344 * sysdeps/s390/s390-64/__longjmp.c: ... here.
10345 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10346 * sysdeps/s390/s390-64/setjmp.S: ... here.
10347 Add versioning.
10348 (__sigsetjmp): Remove setting __flags field.
10349 * sysdeps/s390/setjmp.S: Delete file.
10350 * sysdeps/s390/sigjmp.c: Likewise.
10351 * sysdeps/s390/v1-longjmp.c: Likewise.
10352 * sysdeps/s390/v1-setjmp.h: Likewise.
10353 * sysdeps/s390/v1-sigjmp.c: Likewise.
10354 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10355 Remove v1-longjmp_chk.
10356 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10357 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10358 Include debug/longjmp_chk.c and add versioning.
10359 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10360 Include nptl/pt-longjmp.c and add versioning.
10361 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10362 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10363 Include __longjmp.c.
10364 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10365 Move to ...
10366 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10367 (__getcontext): Remove setting __flags field.
10368 Add versioning.
10369 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10370 Don't restore upper high grps.
10371 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10372 Likewise.
10373 (__swapcontext): Remove setting uc_flags field.
10374 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10375 Delete file.
10376 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10377 Include __longjmp.c.
10378 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10379 Move to ...
10380 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10381 (__getcontext): Remove setting __flags field.
10382 Add versioning.
10383 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10384 (__swapcontext): Remove setting uc_flags field.
10385 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10386 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10387 Remove fields uc_high_gprs and __reserved.
10388 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10389 New file with reverted content.
10390 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10391 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10392 Regenerated.
10393 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10394 Regenerated.
10395
6c9578a2
AS
103962014-07-31 Andreas Schwab <schwab@suse.de>
10397
10398 * config.h.in (HAVE_IFUNC): Define to 0.
10399 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10400 definedness.
10401
05f3633d
LM
104022014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
10403
10404 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10405 memmove-avx-unaligned, memcpy-avx-unaligned and
10406 mempcpy-avx-unaligned.
10407 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10408 Add tests for AVX memcpy functions.
10409 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10410 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10411 memcpy_chk.
10412 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10413 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10414 memmove_chk.
10415 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10416 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10417 mempcpy_chk.
10418 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10419 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10420 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10421
a53fbd8e
AZ
104222013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10423
10424 [BZ #17213]
10425 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10426 powerpc64le.
10427
0961f7e1
JL
104282014-07-29 Jeff Layton <jlayton@poochiereds.net>
10429
10430 [BZ #16839]
10431 * manual/llio.texi: Add section about open file description locks.
10432 * manual/examples/ofdlocks.c: Example of open file description
10433 lock usage.
10434 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
10435 F_OFD_SETLK, and F_OFD_SETLKW.
10436
cc5fb300
AM
104372014-07-23 Allan McRae <allan@archlinux.org>
10438
10439 * po/es.po: Update Spanish translation from translation project.
10440
23329dca
AS
104412014-07-18 Andreas Schwab <schwab@linux-m68k.org>
10442
10443 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
10444
9c82da17
MR
104452014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
10446
10447 [BZ #17078]
10448 * sysdeps/arm/dl-machine.h (elf_machine_rela)
10449 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10450 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
10451
29c4f53e
JM
104522014-07-17 Joseph Myers <joseph@codesourcery.com>
10453
831b9896
JM
10454 [BZ #17088]
10455 * math/fesetenv.c (__fesetenv)
10456 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
10457 * math/feupdateenv.c (__feupdateenv)
10458 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
10459
b21c2d50
JM
10460 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
10461 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10462 (__ASSUME_SOCKETCALL): Do not define.
10463
067764ef
JM
10464 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
10465 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
10466 (__ASSUME_SOCKETCALL): Do not define.
10467 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
10468 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10469 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10470 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10471 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10472 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
10473 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10474 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10475
642530c1
JM
10476 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
10477 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
10478 (__ASSUME_SOCKETCALL): Do not define.
10479 (__ASSUME_IPC64): Define unconditionally.
10480 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10481 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10482 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10483 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10484 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
10485 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10486 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
10487 Likewise.
10488
03f77315
JM
10489 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
10490 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
10491 (__ASSUME_SOCKETCALL): Do not define.
10492 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
10493 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10494 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10495 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10496 (__ASSUME_REQUEUE_PI): Define unconditionally.
10497 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
10498 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10499 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10500 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
10501 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10502 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10503
083b1f7c
JM
10504 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
10505 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
10506 (__ASSUME_SOCKETCALL): Do not define.
10507 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
10508 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10509 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10510 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
10511 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10512 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10513
5be44ea6
JM
10514 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
10515 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
10516 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10517 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
10518 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10519 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
10520 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10521 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
10522 (__ASSUME_GETCPU_SYSCALL): Likewise.
10523
d95ffd4c
JM
10524 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
10525 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
10526 cases for individual architectures.
10527 * sysdeps/gnu/configure: Regenerated.
10528 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
10529 LIBC_SLIBDIR_RTLDDIR.
10530 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
10531 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
10532 LIBC_SLIBDIR_RTLDDIR.
10533 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
10534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
10535 LIBC_SLIBDIR_RTLDDIR.
10536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10537 Regenerated.
10538 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
10539 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
10540 file.
10541 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
10542 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
10543 file.
10544 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
10545 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
10546 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
10547 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
10548
29c4f53e
JM
10549 * sysdeps/aarch64/shlib-versions: Move to ...
10550 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
10551 * sysdeps/alpha/shlib-versions: Move to ...
10552 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
10553 * sysdeps/arm/shlib-versions: Move to ...
10554 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
10555 * sysdeps/hppa/shlib-versions: Move all contents except for
10556 libgcc_s entry to ...
10557 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
10558 entry from ...
10559 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
10560 * sysdeps/ia64/shlib-versions: Move to ...
10561 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
10562 entry from ...
10563 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
10564 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
10565 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
10566 * sysdeps/microblaze/shlib-versions: Move to ...
10567 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
10568 * sysdeps/mips/shlib-versions: Move to ...
10569 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
10570 entry from ...
10571 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
10572 * sysdeps/tile/shlib-versions: Move to ...
10573 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
10574 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
10575 from ...
10576 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
10577 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
10578 entry from ...
10579 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
10580
32bead5b
WN
105812014-07-17 Will Newton <will.newton@linaro.org>
10582
57977c4b
WN
10583 * sysdeps/arm/bits/atomic.h
10584 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
10585 (__arch_compare_and_exchange_bool_16_int): Likewise.
10586 (__arch_compare_and_exchange_bool_64_int): Likewise.
10587
32bead5b
WN
10588 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
10589 into an #else block.
10590
37fccd41
RM
105912014-07-16 Roland McGrath <roland@hack.frob.com>
10592
10593 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
10594 just Linux configurations. Test empirically that the compiler sets
10595 __ARM_EABI__, rather than using the tuple to decide.
10596 * sysdeps/arm/preconfigure: Regenerated.
10597 * sysdeps/unix/sysv/linux/arm/configure: File removed.
10598 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
10599 contents appended ...
10600 * sysdeps/arm/configure.ac: ... here.
10601 * sysdeps/arm/configure: Regenerated.
10602
b365f3ec
RM
106032014-07-15 Roland McGrath <roland@hack.frob.com>
10604
8badf496
RM
10605 * nptl/pthread_kill.c: New file.
10606 * nptl/pthread_sigmask.c: New file.
10607 * nptl/pthread_sigqueue.c: New file.
10608
3df6f22e
RM
10609 * sysdeps/nptl/lowlevellock.h: New file.
10610 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
10611 * sysdeps/nptl/lowlevellock-futex.h: New file.
10612
b365f3ec
RM
10613 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
10614 Remove dead declarations.
10615
f2fef657
L
106162014-07-14 H.J. Lu <hongjiu.lu@intel.com>
10617
10618 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
10619 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
10620 config-cflags-avx2.
10621 * sysdeps/x86_64/configure.ac: Likewise.
10622 * sysdeps/i386/configure: Regenerated.
10623 * sysdeps/x86_64/configure: Likewise.
10624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10625 memset-avx2 only if config-cflags-avx2 is yes.
10626 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10627 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
10628 defined.
10629 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
10630 only if HAVE_AVX2_SUPPORT is defined.
10631 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10632
f6c44d47
AM
106332014-07-14 Alan Modra <amodra@gmail.com>
10634
10635 [BZ #17153]
10636 * elf/elf.h (DT_PPC64_NUM): Correct value.
10637 * NEWS: Add to fixed bug list.
10638
7ee03f00
JM
106392014-07-13 Jim Meyering <meyering@fb.com>
10640
10641 [BZ 17150]
10642 regex: don't deref NULL upon heap allocation failure
10643 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
10644 failure in one more place.
10645 To trigger the segfault, configure grep -with-included-regex,
10646 build it, and run these commands:
10647 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
10648
9d39d517
AS
106492014-07-13 Andreas Schwab <schwab@linux-m68k.org>
10650
10651 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10652
a75b89b7
RH
106532014-07-11 Richard Henderson <rth@redhat.com>
10654
10655 * sysdeps/aarch64/libm-test-ulps: Update.
10656
771eb141
FW
106572014-07-10 Florian Weimer <fweimer@redhat.com>
10658
10659 [BZ #17135]
10660 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
10661 * nptl/allocatestack.c (__nptl_setxid_error): New function.
10662 (__nptl_setxid): Initialize error member. Call
10663 __nptl_setxid_error.
10664 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
10665 * nptl/descr.h (struct xid_command): Add error member.
10666 * nptl/tst-setuid3.c: New file.
10667 * nptl/Makefile (tests): Add it.
10668
bc1da176
AZ
106692014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10670
10671 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
10672 New define.
10673 (__lll_trylock): Use __lll_base_trylock.
10674 (__lll_cond_trylock): Likewise.
10675
887865fc
RM
106762014-07-10 Roland McGrath <roland@hack.frob.com>
10677
c0c6bac9
RM
10678 * nptl/pthread_create.c (start_thread): Use atomic_or and
10679 lll_futex_wake directly rather than lll_robust_dead.
10680 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10681 (lll_robust_dead): Macro removed.
6a42be57 10682 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
10683 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10684 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10685 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10686 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10687 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10688 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10689 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10690 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10691 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10692 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10693 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10694 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10695 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10696 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10697
887865fc
RM
10698 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10699 Use atomic_compare_and_exchange_val_acq directly rather than
10700 lll_robust_trylock.
10701 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10702 (__lll_robust_trylock, lll_robust_trylock): Removed.
10703 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10704 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10705 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10706 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10707 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10708 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10709 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10710 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10711 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10712 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10713 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10714 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10715 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10716 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10717
58536726
FW
107182014-07-02 Florian Weimer <fweimer@redhat.com>
10719
10720 * manual/locale.texi (Locale Names): New section documenting
10721 locale name syntax. Adjust menu and node chaining accordingly.
10722 (Choosing Locale): Reference Locale Names, Locale Categories.
10723 Mention setting LC_ALL=C. Reflect that name syntax is now
10724 documented.
10725 (Locale Categories): New section title. Reference Locale Names.
10726 LC_ALL is an environment variable, but not a category.
10727 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
10728 description, now in Locale Name. Reference that section. Locale
10729 name syntax is now documented.
10730
4e8f95a0
FW
107312014-07-02 Florian Weimer <fweimer@redhat.com>
10732
10733 [BZ #17137]
10734 * locale/findlocale.c (name_present, valid_locale_name): New
10735 functions.
10736 (_nl_find_locale): Use the loc_name variable to store name
10737 candidates. Call name_present and valid_locale_name to check and
10738 validate locale names. Return an error if the locale is invalid.
10739
d1836456
FW
107402014-07-02 Florian Weimer <fweimer@redhat.com>
10741
10742 * locale/setlocale.c (setlocale): Use strdup for allocating
10743 composite name copy.
10744
d69b7f5a
SP
107452014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10746
888c679b
SP
10747 Sync up with gnulib.
10748 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
10749 [!_LIBC && ENABLE_NLS]: Include gettext.h.
10750 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
10751 and _GL_ARG_NONNULL.
10752 [USE_UNLOCKED_IO]: Include unlocked-io.h.
10753 [!_LIBC]: Include code for Windows and Cygwin.
10754 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
10755 Include prototype for int strerror_r.
10756 [!_LIBC] (is_open): New function.
10757 (flush_stdout): New function.
10758 (print_errno_message): Use it.
10759 (error): Likewise.
10760 (error_at_line): Likewise.
10761 (error_tail) Add function attribute macros. Use
10762 __builtin_expect.
10763
180e0e4b
SP
10764 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
10765
d22f1fe2
SP
10766 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
10767
12f2254b
SP
10768 * io/ftw.c: Include sys/param.h unconditionally.
10769
c3c7c360
SP
10770 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
10771
d62aa75a
SP
10772 [BZ #17125]
10773 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
10774 libc_freeres_ptr.
10775 (freecache): New function to free CACHE on exit.
10776
d69b7f5a
SP
10777 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
10778 initialization.
10779
5efe06a1
DM
107802014-07-09 David S. Miller <davem@davemloft.net>
10781
10782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10783
7000d82e
DM
10784 * sysdeps/sparc/nptl/internaltypes.h: Delete.
10785 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
10786 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
10787 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
10788 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
10789 * sysdeps/sparc/nptl/sem_init.c: Likewise.
10790 * sysdeps/sparc/nptl/sem_post.c: Likewise.
10791 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
10792 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
10793 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
10794 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
10795 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
10796 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
10797
c213442d
AS
107982014-07-09 Andreas Schwab <schwab@suse.de>
10799
4a2552c3
AS
10800 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
10801 output.
10802 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
10803 (do_test): Likewise.
10804
c213442d
AS
10805 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10806
82374e65
WN
108072014-07-09 Will Newton <will.newton@linaro.org>
10808
10809 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
10810 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
10811 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
10812 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
10813 * sysdeps/hppa/start.S (_start): Likewise.
10814
6680738a
SP
108152014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10816
6ee3eab4
SP
10817 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
10818
6680738a
SP
10819 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
10820 defined.
10821
80b5c505
SP
108222014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10823
e35c53e3
SP
10824 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
10825 after checking that it is non-NULL.
10826
80b5c505
SP
10827 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
10828
91f4b564
AZ
108292014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10830
27b75f56
AZ
10831 * sysdeps/powerpc/memmove.c: Remove file.
10832 * sysdeps/powerpc/powerpc32/power4/memcopy.h
10833 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
10834 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10835 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
10836 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
10837 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
10838 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
10839 string memmove instead of removed powerpc one.
10840
e7f95bb5
AZ
10841 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10842 [weak_alias]: Fix compiler warning due trailing data.
10843 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
10844 [weak_alias]: Likewise.
10845 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
10846 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
10847
91f4b564
AZ
10848 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10849 (__libc_ifunc_impl_list): Add memmove functions.
10850
7c33f1e5
SP
108512014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10852
10853 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
10854 Remove code.
10855 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
10856 Likewise
10857 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
10858 Likewise
10859 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
10860 Likewise
10861 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
10862 Likewise
10863 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
10864 Likewise
10865 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
10866 Likewise
10867 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
10868 Likewise
10869 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
10870 Likewise
10871 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
10872 Likewise
10873 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
10874 Likewise
10875 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
10876 Likewise
10877 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
10878 Likewise
10879 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
10880 Likewise
10881 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
10882 Likewise
10883 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
10884 Likewise
10885 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
10886 Likewise
10887
3f17b03b
AZ
108882014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10889
87868c24
AZ
10890 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
10891 to avoid alignment traps in non-cacheable memory.
10892 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10893
07aedd78
AZ
10894 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
10895 multiarch objects.
10896 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
10897 file: multiarch power7 memmove.
10898 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
10899 multiarch default memmove.
10900 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
10901 multiarch memove for powerpc32/power4.
10902
17762f66
AZ
10903 * string/bcopy.c: Use full path to include memmove.c.
10904 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
10905 multiarch objects.
10906 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
10907 bcopy for powerpc64.
10908 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
10909 bcopy for powerpc64.
10910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
10911 and memmove implementations.
10912 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
10913 optimized multiarch memmove for POWER7/powerpc64.
10914 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
10915 default multiarch memmove for powerpc64.
10916 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
10917 multiarch for powerpc64.
10918 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
10919 for POWER7/powerpc64.
10920 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
10921 memmove for POWER7/powerpc64.
10922
d6f68bbe
AZ
10923 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
10924 glibc default one.
10925
3f17b03b
AZ
10926 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
10927 __ELF_NATIVE_CLASS equal to 64.
10928
08192659
RM
109292014-07-07 Roland McGrath <roland@hack.frob.com>
10930
f4c4021b
RM
10931 * sysdeps/nptl/lowlevellock.h: File removed.
10932
f083450f
RM
10933 * NEWS: NPTL is no longer an add-on!
10934 * nptl/internaltypes.h: Moved ...
10935 * sysdeps/nptl/internaltypes.h: ... here.
10936 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
10937 * sysdeps/nptl/fork.c: Likewise.
10938 * sysdeps/nptl/gai_misc.h: Likewise.
10939 * sysdeps/nptl/librt-cancellation.c: Likewise.
10940 * sysdeps/nptl/jmp-unwind.c: Likewise.
10941 * sysdeps/nptl/setxid.h: Likewise.
10942 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
10943 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
10944 * sysdeps/unix/sysv/linux/arm/Implies: New file.
10945 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
10946 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
10947 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
10948 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
10949 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
10950 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
10951 * sysdeps/unix/sysv/linux/mips/Implies: New file.
10952 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
10953 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
10954 * sysdeps/unix/sysv/linux/sh/Implies: New file.
10955 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
10956 * sysdeps/unix/sysv/linux/tile/Implies: New file.
10957 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
10958 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
10959 * nptl/Makeconfig: Moved ...
10960 * sysdeps/nptl/Makeconfig: ... here.
10961 * nptl/configure: File removed.
10962 * nptl/ANNOUNCE: File removed.
10963 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
10964 * sysdeps/unix/sysv/linux/configure: Regenerated.
10965
08192659
RM
10966 * nptl/Makefile (routines): Add libc_pthread_init,
10967 libc_multiple_threads, register-atfork and unregister-atfork.
10968 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
10969 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
10970 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
10971 pthread-pi-defines.sym, structsem.sym.
10972 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
10973 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
10974 [$(subdir) = nptl] (tests): Add tst-setgetname.
10975 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
10976 * sysdeps/unix/sysv/linux/sigaction.c: Just include
10977 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
10978 [!LIBC_SIGACTION]: Remove aliases.
10979 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10980 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10981 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10982 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
10983 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10984 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
10985 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10986 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10987 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10988 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
10989 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
10990 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
10991 __libc_allocate_rtsig_private.
10992 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
10993 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
10994 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
10995 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10996 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
10997 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
10998 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
10999 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11000 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11001 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11002 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11003 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11004 * nptl/internaltypes.h: ... here.
11005 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11006 * sysdeps/nptl/jmp-unwind.c: ... here.
11007 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11008 * nptl/libc-lowlevellock.c: ... here.
11009 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11010 * nptl/libc_multiple_threads.c: ... here.
11011 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11012 * nptl/libc_pthread_init.c: ... here.
11013 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11014 * nptl/lowlevelbarrier.sym: ... here.
11015 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11016 * nptl/lowlevelcond.sym: ... here.
11017 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11018 * nptl/lowlevellock.c: ... here.
11019 * nptl/lowlevellock.h: Moved ...
11020 * sysdeps/nptl/lowlevellock.h: ... here.
11021 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11022 * nptl/lowlevelrobustlock.c: ... here.
11023 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11024 * nptl/lowlevelrobustlock.sym: ... here.
11025 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11026 * nptl/lowlevelrwlock.sym: ... here.
11027 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11028 * nptl/pt-fork.c: ... here.
11029 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
11030 * nptl/pthread-pi-defines.sym: ... here.
11031 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
11032 * nptl/pthread_attr_getaffinity.c: ... here.
11033 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
11034 * nptl/pthread_attr_setaffinity.c: ... here.
11035 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
11036 * nptl/pthread_mutex_cond_lock.c: ... here.
11037 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11038 Update #include.
11039 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
11040 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
11041 * nptl/pthread_once.c: ... here, replacing old file.
11042 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
11043 * nptl/pthread_yield.c: ... here.
11044 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
11045 * nptl/register-atfork.c: ... here.
11046 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
11047 * nptl/sem_post.c: ... here.
11048 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
11049 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
11050 * nptl/sem_timedwait.c: ... here.
11051 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
11052 * nptl/sem_trywait.c: ... here.
11053 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
11054 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
11055 * nptl/sem_wait.c: ... here.
11056 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
11057 * nptl/structsem.sym: ... here.
11058 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
11059 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
11060 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
11061 * nptl/unregister-atfork.c: ... here.
11062 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
11063 * nptl/unwindbuf.sym: ... here.
11064 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
11065 * sysdeps/nptl/fork.c: ... here.
11066 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
11067 * sysdeps/nptl/fork.h: ... here.
11068 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
11069 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
11070 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
11071 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
11072 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
11073 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
11074 * sysdeps/unix/sysv/linux/getpid.c: ... here.
11075 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
11076 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
11077 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
11078 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
11079 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
11080 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
11081 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
11082 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
11083 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
11084 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
11085 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
11086 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
11087 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
11088 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
11089 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
11090 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
11091 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
11092 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
11093 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
11094 * sysdeps/unix/sysv/linux/raise.c: ... here.
11095 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
11096 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
11097 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
11098 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
11099 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
11100 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
11101 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
11102 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
11103 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
11104 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
11105 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
11106 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
11107 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
11108 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
11109 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
11110
96baf6ff
SP
111112014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11112
11113 * sysdeps/generic/memcopy.h: Add comment for
11114 MEMCPY_OK_FOR_FWD_MEMMOVE.
11115
6b7b14b2
WN
111162014-07-04 Will Newton <will.newton@linaro.org>
11117
1570a72b
WN
11118 * string/memchr.c: Merge from gnulib.
11119 [_LIBC]: Remove conditionals.
11120 (__ptr_t): Remove define.
11121 (LONG_MAX_32_BITS): Likewise.
11122 (LONG_MAX): Likewise.
11123 (MEMCHR): Use ANSI prototype and optimize algorithm.
11124
6b7b14b2
WN
11125 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
11126
38851324
SP
111272014-07-03 Roland McGrath <roland@hack.frob.com>
11128
3d9eb57c
RM
11129 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11130 (lll_futex_timed_wait_bitset): Fix syscall argument count.
11131
78b984ae
RM
11132 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11133 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11134 in a bare environment with no <stdlib.h> installed.
11135 * sysdeps/nptl/configure: Regenerated.
11136
2d5976a5
RM
11137 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
11138
c1f5acd4
RM
11139 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
11140 AC_EGREP_CPP for kernel header checks, so they only succeed if
11141 including <linux/version.h> actually works right.
11142 * sysdeps/unix/sysv/linux/configure: Regenerated.
11143
4d614fe5
RM
11144 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11145 value so it's not diagnosed as unused.
11146
38851324
SP
11147 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
11148 thing) with "ifeq ($(subdir),rt)".
11149
b3ec00e5
RH
111502014-07-03 Richard Henderson <rth@redhat.com>
11151
69862e25
RH
11152 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
11153 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
11154 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
11155
d5e16ade
RH
11156 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
11157 (math_force_eval): New.
11158
ca7b945c
RH
11159 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
11160 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
11161
cd1175a3
RH
11162 * sysdeps/alpha/fpu/s_round.c: Remove file.
11163 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11164
b3ec00e5
RH
11165 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
11166 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
11167 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
11168 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
11169 (_dl_start, print_statistics): Likewise.
11170 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
11171 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
11172
11173 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11174 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11175 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11176 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11177 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11178 (HP_SMALL_TIMING_AVAIL): Define.
11179 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11180 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11181 (HP_SMALL_TIMING_AVAIL): Define.
11182 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11183 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11184
11185 * sysdeps/aarch64/hp-timing.h: New file.
11186
11187 * sysdeps/generic/hp-timing.h: Remove dead comment.
11188 * sysdeps/generic/hp-timing-common.h: New file.
11189 * sysdeps/alpha/hp-timing.h: Include it.
11190 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11191 * sysdeps/i386/i686/hp-timing.h: Likewise.
11192 * sysdeps/ia64/hp-timing.h: Likewise.
11193 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11194 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11195 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11196 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11197 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11198 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11199 (hp_timing_t): New.
11200
11201 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11202 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11203 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11204 * elf/rtld.c (_dl_start_final): Likewise.
11205 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11206 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11207 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11208 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11209 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11210 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11211 (HP_TIMING_DIFF_INIT): Remove.
11212 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11213 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11214 (HP_TIMING_DIFF_INIT): Remove.
11215 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11216 * sysdeps/i386/i686/hp-timing.c: Remove file.
11217 * sysdeps/x86_64/hp-timing.c: Remove file.
11218 * sysdeps/ia64/hp-timing.c: Remove file.
11219 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11220 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11221 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11222 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11223
11224 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11225 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11226 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11227 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11228 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11229 (HP_TIMING_ACCUM): Remove.
11230 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11231 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11232 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11233
11234 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11235 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11236 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11237 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11238 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11239 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11240 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11241 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11242
11243 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11244
225f410f
MR
112452014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
11246
11247 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11248
3247f285
SP
112492014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11250
11251 Sync up with gettext.
11252 * intl/loadmsgcat.c: Define O_BINARY if not defined.
11253 [_MSC_VER]: Include malloc.h
11254 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11255 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11256 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
11257 TEMP_FAILURE_RETRY. Cast return of alloca.
11258 [!_LIBC] Call gl_rwlock_init.
11259 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11260
d12704c7
SP
112612014-07-02 Roland McGrath <roland@hack.frob.com>
11262
11263 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11264 before checking its value.
11265
99f8dc92
SP
112662014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11267
05fdac77
SP
11268 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11269
99f8dc92
SP
11270 * debug/memcpy_chk.c: Don't include pagecopy.h.
11271 * debug/mempcpy_chk.c: Likewise.
11272 * string/memcpy.c: Likewise.
11273 * string/memmove.c: Likewise.
11274 * sysdeps/powerpc/memmove.c: Likewise.
11275 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
11276 definition of PAGE_COPY_FWD_MAYBE here...
11277 * sysdeps/generic/pagecopy.h: ... from here.
11278 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11279
bc8ea385
VR
112802014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11281 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11282
11283 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11285 optimizations.
11286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11287 (__libc_ifunc_impl_list): Likewise.
11288 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11289 multiarch strcat for PPC64.
11290 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11291 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11292
fe5f34e4
RM
112932014-07-02 Roland McGrath <roland@hack.frob.com>
11294
11295 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11296
256aa665
SP
112972014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11298
d4eb8195
SP
11299 * intl/loadmsgcat.c: Remove declaration of
11300 get_sysdep_segment_value.
11301 (get_sysdep_segment_value): Use ISO C style.
11302 (_nl_load_domain): Use ISO C style. Get rid of redundant
11303 semicolon. Fix typo and formatting in comment.
11304 (_nl_unload_domain): Use ISO C style.
11305
256aa665
SP
11306 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11307
b100f9aa
WN
113082014-07-02 Will Newton <will.newton@linaro.org>
11309
11310 * malloc/obstack.c: Merge from gnulib master.
11311 [HAVE_CONFIG_H]: Remove conditional code.
11312 [!_LIBC]: Include config.h.
11313 [!ELIDE_CODE]: Don't include inttypes.h, include
11314 stdint.h unconditionally.
11315 (print_and_abort): Mark as _Noreturn.
11316 (_obstack_allocated_p): Mark as __attribute_pure__.
11317 (obstack_free): Rename to __obstack_free.
11318 [!__attribute__]: Remove conditional code.
11319 * malloc/obstack.h: Merge from gnulib master.
11320 [__cplusplus]: Move conditional down.
11321 [!__attribute_pure__]: Define __attribute_pure__ here
11322 if it is not already defined.
11323 (_obstack_memory_used): Mark as __attribute_pure__.
11324 [!__obstack_free]: Define as obstack_free.
11325 [__GNUC__]: Remove check for ancient NeXT gcc.
11326
c4c41244
PE
113272014-07-02 Will Newton <will.newton@linaro.org>
11328 Paul Eggert <eggert@cs.ucla.edu>
11329
11330 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11331
e1e041c4
SP
113322014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11333
11334 * resolv/gethnamaddr.c: Add comment warning that the file is
11335 not maintained.
11336
ccf431ff
CD
113372014-07-01 Carlos O'Donell <carlos@redhat.com>
11338
d34570a6
CD
11339 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11340 entries.
11341
ccf431ff
CD
11342 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11343 entry for aio_cancel and aio_cancel64.
11344 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11345 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11346 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11347 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11348 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11349 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11350 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11351 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11352 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11353 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11354 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11355 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11356 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11357
ca06321d
RM
113582014-07-01 Roland McGrath <roland@hack.frob.com>
11359
11360 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11361 * nptl/pthread_mutex_lock.c: Likewise.
11362 * nptl/pthread_mutex_timedlock.c: Likewise.
11363 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11364
a1ac3184
RH
113652014-07-01 Richard henderson <rth@redhat.com>
11366
631021e0
RH
11367 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11368 (__isnan, __isnanl): Remove.
11369 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11370
a1ac3184
RH
11371 * sysdeps/alpha/fpu/libm-test-ulps: Update.
11372
0c1d731f
SL
113732014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11374
11375 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11376
76985d3e
SP
113772014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11378
11379 * resolv/nss_dns/dns-host.c (getanswer_r)
11380 [MULTI_PTRS_ARE_ALIASES]: Remove code.
11381
b0cb3096
JM
113822014-07-01 Joseph Myers <joseph@codesourcery.com>
11383
11384 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11385 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11386 undefine.
11387 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11388 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11389
4d76cb39
RM
113902014-07-01 Roland McGrath <roland@hack.frob.com>
11391
11392 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11393 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11394
11395 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11396 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11397
11398 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11399 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11400 ... here.
11401 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11402 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11403
11404 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11405 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11406 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11407 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11408
11409 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11410 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11411 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11412 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11413 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11414 Moved ...
11415 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11416 ... here.
11417 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11418 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11419 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11420 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11421 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11422 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11423 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11424 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11425 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11426 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11427 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11428 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11429 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11430 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11431 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11432 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
11433 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
11434 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
11435 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
11436 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
11437 ... here.
11438 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
11439 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
11440 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
11441 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
11442 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
11443 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
11444 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
11445 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
11446
0cdcad17
DH
114472014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
11448
11449 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
11450 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
11451 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
11452 Add sysdep.
11453
9b71d0e3
AZ
114542014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11455
11456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11457
665390c2
JM
114582014-06-30 Joseph Myers <joseph@codesourcery.com>
11459
ae05a9d7
JM
11460 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11461 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11462
a7672a2f
JM
11463 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11464
665390c2
JM
11465 * sysdeps/arm/libm-test-ulps: Regenerated.
11466
d7a05d07
MR
114672014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11468 Roland McGrath <roland@hack.frob.com>
11469
11470 * test-skeleton.c (signal_handler): Kill the whole process group
11471 before killing the child individually.
11472 (main): Report any failure on `setpgid'.
11473
46f1d8a6
RM
114742014-06-30 Roland McGrath <roland@hack.frob.com>
11475
11476 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
11477 from _TLS_H to _ARM_NPTL_TLS_H.
11478 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
11479 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
11480
9c37ec0b
JM
114812014-06-30 Joseph Myers <joseph@codesourcery.com>
11482
ce9c5b3e
JM
11483 [BZ #16539]
11484 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
11485 (__expm1l): Return argument unchanged when small but not
11486 subnormal.
11487
3a6e9887
JM
11488 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
11489 include macro name.
11490 (_FP_UNPACK_RAW_1_P): Likewise.
11491 (_FP_PACK_RAW_1): Likewise.
11492 (_FP_PACK_RAW_1_P): Likewise.
11493 (_FP_MUL_MEAT_1_wide): Likewise.
11494 (_FP_MUL_MEAT_DW_1_hard): Likewise.
11495 (_FP_MUL_MEAT_1_hard): Likewise.
11496 (_FP_DIV_MEAT_1_imm): Likewise.
11497 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
11498 (_FP_DIV_MEAT_1_udiv): Likewise.
11499 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
11500 (_FP_UNPACK_RAW_2): Likewise.
11501 (_FP_UNPACK_RAW_2_P): Likewise.
11502 (_FP_PACK_RAW_2): Likewise.
11503 (_FP_PACK_RAW_2_P): Likewise.
11504 (_FP_MUL_MEAT_DW_2_wide): Likewise.
11505 (_FP_MUL_MEAT_2_wide): Likewise.
11506 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
11507 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11508 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
11509 (_FP_MUL_MEAT_2_gmp): Likewise.
11510 (_FP_DIV_MEAT_2_udiv): Likewise.
11511 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
11512 (_FP_FRAC_SRL_4): Likewise.
11513 (_FP_FRAC_SRST_4): Likewise.
11514 (_FP_FRAC_SRS_4): Likewise.
11515 (_FP_UNPACK_RAW_4): Likewise.
11516 (_FP_UNPACK_RAW_4_P): Likewise.
11517 (_FP_PACK_RAW_4): Likewise.
11518 (_FP_PACK_RAW_4_P): Likewise.
11519 (_FP_MUL_MEAT_DW_4_wide): Likewise.
11520 (_FP_MUL_MEAT_4_wide): Likewise.
11521 (_FP_MUL_MEAT_4_gmp): Likewise.
11522 (umul_ppppmnnn): Likewise.
11523 (_FP_DIV_MEAT_4_udiv): Likewise.
11524 (__FP_FRAC_ADD_4): Likewise.
11525 (__FP_FRAC_SUB_3): Likewise.
11526 (__FP_FRAC_SUB_4): Likewise.
11527 (__FP_FRAC_DEC_3): Likewise.
11528 (__FP_FRAC_DEC_4): Likewise.
11529 (__FP_FRAC_ADDI_4): Likewise.
11530 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
11531 (_FP_FRAC_SRL_8): Likewise.
11532 (_FP_FRAC_SRS_8): Likewise.
11533
9c37ec0b
JM
11534 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
11535 include macro name.
11536 (FP_UNPACK_RAW_EP): Likewise.
11537 (FP_PACK_RAW_E): Likewise.
11538 (FP_PACK_RAW_EP): Likewise.
11539 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
11540 (_FP_ISSIGNAN): Likewise.
11541 (_FP_ADD_INTERNAL): Likewise.
11542 (_FP_FMA): Likewise.
11543 (_FP_CMP): Likewise.
11544 (_FP_SQRT): Likewise.
11545 (_FP_TO_INT): Likewise.
11546 (_FP_FROM_INT): Likewise.
11547 (FP_EXTEND): Likewise.
11548 (_FP_DIV_MEAT_N_loop): Likewise.
11549
2125f674
MR
115502014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11551
11552 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
11553 throughout.
11554
edea4028
JM
115552014-06-29 Joseph Myers <joseph@codesourcery.com>
11556
11557 [BZ #17097]
11558 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
11559 result with correct sign in case of exponents that produce
11560 overflow except for X very close to 1.
11561
dd0ba018
PE
115622014-06-28 Paul Eggert <eggert@cs.ucla.edu>
11563
11564 mktime: merge #if/#ifdef usage from glibc
11565 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
11566 as that works with both Glibc's and Gnulib's style.
11567 See thread starting at Siddhesh Poyarekar's bug report at:
11568 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
11569
64df73c2
SP
115702014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11571
11572 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
11573 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
11574 * sysdeps/tile/tilegx/memmove.c: Remove file.
11575
f1eafb41
JM
115762014-06-27 Joseph Myers <joseph@codesourcery.com>
11577
11578 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
11579 abi-name definition.
11580 * scripts/soversions.awk: Do not handle or generate ABI lines.
11581 * shlib-versions: Remove ABI entries.
11582 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
11583 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
11584
58eb0862
RM
115852014-06-27 Roland McGrath <roland@hack.frob.com>
11586
37caf178
RM
11587 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
11588 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
11589 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
11590 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
11591 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
11592 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
11593 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
11594 Moved ...
11595 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11596 ... here.
11597 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
11598 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
11599 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
11600 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
11601 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
11602 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
11603 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
11604 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
11605 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
11606 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
11607 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
11608 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
11609 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
11610 Moved ...
11611 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
11612 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
11613 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
11614 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
11615 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
11616 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
11617 Moved ...
11618 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
11619 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
11620 Moved ...
11621 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
11622 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
11623 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
11624 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
11625 Moved ...
11626 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
11627 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
11628 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
11629 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
11630 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
11631 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
11632 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
11633 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
11634 Moved ...
11635 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
11636 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
11637 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
11638 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
11639 Moved ...
11640 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
11641 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
11642 Moved ...
11643 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
11644 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
11645 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
11646 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
11647 Moved ...
11648 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11649 ... here.
11650 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
11651 Identical file removed.
11652 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
11653 Moved ...
11654 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
11655 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
11656 Identical file removed.
11657 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
11658 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
11659 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
11660 Moved ...
11661 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
11662 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
11663 Identical file removed.
11664 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
11665 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
11666 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
11667 Identical file removed.
11668 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
11669 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
11670 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
11671 Identical file removed.
11672 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
11673 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
11674 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
11675 Identical file removed.
11676 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
11677 Moved ...
11678 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
11679 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
11680 Identical file removed.
11681 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
11682 Moved ...
11683 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
11684 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
11685 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
11686 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
11687 Identical file removed.
11688 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
11689 Moved ...
11690 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
11691 ... here.
11692 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
11693 Identical file removed.
11694 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
11695 Moved ...
11696 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
11697 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
11698 Identical file removed.
11699 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
11700 Moved ...
11701 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
11702 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
11703 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
11704 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
11705 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
11706 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
11707 Moved ...
11708 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
11709 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
11710 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
11711
58eb0862
RM
11712 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
11713 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
11714 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
11715 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
11716 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
11717
6f12d062
AS
117182014-06-27 Arjun Shankar <arjun.is@lostca.se>
11719
11720 [BZ #17092]
11721 * nscd/nscd.c (monitor_child): Return exit status of child
11722 instead of return value from wait syscall.
11723
be254932
JM
117242014-06-27 Joseph Myers <joseph@codesourcery.com>
11725
cb403c34
JM
11726 * configure.ac (libc_commonpagesize): Remove variable.
11727 (libc_relro_required): Likewise.
11728 (libc_cv_z_relro): Remove configure test.
11729 * configure: Regenerated.
11730 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
11731 variable.
11732 (libc_relro_required): Likewise.
11733 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
11734 (libc_relro_required): Likewise.
11735 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
11736 (libc_relro_required): Likewise.
11737 * sysdeps/arm/preconfigure: Regenerated.
11738 * sysdeps/ia64/preconfigure: Remove file.
11739 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
11740 variable.
11741 (libc_relro_required): Likewise.
11742
be254932
JM
11743 [BZ #16561]
11744 [BZ #16562]
11745 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
11746 (__ieee754_yn): Set FE_TONEAREST mode internally and then
11747 recompute overflowing results in original rounding mode.
11748 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
11749 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
11750 recompute overflowing results in original rounding mode.
11751 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
11752 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11753 recompute overflowing results in original rounding mode.
11754 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
11755 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11756 recompute overflowing results in original rounding mode.
11757 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
11758 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11759 recompute overflowing results in original rounding mode.
11760 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
11761 (libc_feholdsetround_ctx): New macro.
11762 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
11763 * sysdeps/i386/fpu/libm-test-ulps: Update.
11764 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
11765
b351d85a
JM
117662014-06-26 Joseph Myers <joseph@codesourcery.com>
11767
11768 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
11769 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
11770 corresponding .cpsetup call.
11771
3cb4de47
RM
117722014-06-26 Roland McGrath <roland@hack.frob.com>
11773
11774 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
11775 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
11776 * sysdeps/arm/Makefile [$(subdir) = csu]
11777 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
11778 (static-only-routines): Add aeabi_read_tp here.
11779 (shared-only-routines): Add libc-aeabi_read_tp here.
11780 (CFLAGS-libc-start.c): Add -fexceptions here.
11781 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
11782 (sysdep_routines, static-only-routines, shared-only-routines):
11783 Don't add to these here.
11784 (CFLAGS-libc-start.c): Likewise.
11785
11786 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
11787 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11788 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
11789 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11790 * sysdeps/arm/Makefile [$(subdir) = rt]
11791 (librt-sysdep_routines, librt-shared-only-routines):
11792 Append rt-aeabi_unwind_cpp_pr1 here.
11793 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
11794 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
11795 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
11796 (libpthread-sysdep_routines, libpthread-shared-only-routines):
11797 Append nptl-aeabi_unwind_cpp_pr1 here.
11798 (tests): Filter out tst-cleanupx4 here.
11799 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
11800 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
11801 Don't do those here.
11802
354426bb
JM
118032014-06-26 Joseph Myers <joseph@codesourcery.com>
11804
11805 * scripts/list-sources.sh: Do not handle ports specially.
11806
28b0a8c9
RM
118072014-06-26 Roland McGrath <roland@hack.frob.com>
11808
a3dd035d
RM
11809 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
11810 * sysdeps/arm/feupdateenv.c: Likewise.
11811
28b0a8c9
RM
11812 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
11813
e66a8203
JM
118142014-06-26 Joseph Myers <joseph@codesourcery.com>
11815
11816 * manual/texinfo.tex: Update to version 2014-05-05.10 with
11817 trailing whitespace removed.
11818 * scripts/config.guess: Update to version 2014-03-23.
11819 * scripts/config.sub: Update to version 2014-05-01
11820 * scripts/install-sh: Update to version 2013-12-25.23.
11821 * scripts/move-if-change: Update from gnulib.
11822
74171115
SP
118232014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11824
b97c9ce5
SP
11825 * debug/memmove_chk.c: Remove pagecopy.h include.
11826
4000f892
SP
118272014-06-26 Paul Eggert <eggert@cs.ucla.edu>
11828
74171115
SP
11829 * time/mktime.c (leapyear): Remove inline keyword. The code is now
11830 identical to gnulib mktime.
11831
a8779c28
JM
118322014-06-26 Joseph Myers <joseph@codesourcery.com>
11833
e64708de
JM
11834 * configure.ac: Do not test for machine being rs6000. Do not test
11835 for powerpc*-*soft.
11836 * configure: Regenerated.
11837
6a9350c8 11838 [BZ #11505]
a8779c28
JM
11839 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
11840 test.
11841 * configure: Regenerated.
11842 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
11843 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
11844 Remove configure test.
11845 * sysdeps/arm/configure: Regenerated.
11846 * sysdeps/nptl/configure.ac: Do not check
11847 libc_cv_asm_cfi_directives.
11848 * sysdeps/nptl/configure: Regenerated.
11849 * sysdeps/x86_64/nptl/configure.ac: Remove file.
11850 * sysdeps/x86_64/nptl/configure: Remove generated file.
11851 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
11852 unconditional.
11853 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
11854
2aac0a86
SP
118552014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11856
059bf913
SP
11857 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
11858 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
11859 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
11860 it is defined.
11861
4cf5b6d0
SP
11862 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
11863 instead of whether it is defined.
11864 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
11865 * sysdeps/hppa/dl-machine.h: Likewise.
11866 * sysdeps/ia64/dl-machine.h: Likewise.
11867 * sysdeps/m68k/dl-machine.h: Likewise.
11868 * sysdeps/microblaze/dl-machine.h: Likewise.
11869 * sysdeps/mips/dl-machine.: Likewise.
11870 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11871 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11872 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11873 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11874 * sysdeps/sh/dl-machine.h: Likewise.
11875 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11876 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11877 * sysdeps/tile/dl-machine.h: Likewise.
11878 * sysdeps/x86_64/dl-machine.h: Likewise.
11879
2aac0a86
SP
11880 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
11881 code.
11882 (verify_persistent_db): Likewise.
11883
6ad2df0b
RM
118842014-06-26 Roland McGrath <roland@hack.frob.com>
11885
d8a483f3
RM
11886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
11887 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
11888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
11889 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
11890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11891 Moved ...
11892 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11893 ... here.
11894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
11895 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
11896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
11897 Identical file removed.
11898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
11899 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
11900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
11901 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
11902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
11903 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
11904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
11905 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
11906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
11907 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
11908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11909 Moved ...
11910 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
11911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
11912 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
11913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
11914 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
11915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11916 Moved ...
11917 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
11918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
11919 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
11920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
11921 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
11922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11923 Identical file removed.
11924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
11925 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
11926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
11927 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
11928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11929 Moved ...
11930 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11931 ... here.
11932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
11933 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
11934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
11935 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
11936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
11937 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
11938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
11939 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
11940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
11941 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
11942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11943 Moved ...
11944 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
11945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
11946 Moved ...
11947 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
11948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
11949 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
11950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11951 Moved ...
11952 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
11953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
11954 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
11955
52ae23b4
RM
11956 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
11957 folded into ...
11958 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
11959 * sysdeps/unix/sysv/linux/s390/Versions
11960 (libpthread: GLIBC_2.19): New version set.
11961 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
11962 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
11963 (librt: GLIBC_2.3.3): New version set.
11964 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
11965 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
11966 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
11967 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
11968 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
11969 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
11970 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
11971 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
11972 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
11973 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
11974 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
11975 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
11976 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
11977 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
11978 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
11979 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
11980 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
11981 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
11982 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
11983 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
11984 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
11985 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
11986 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
11987 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
11988 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
11989 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
11990 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
11991 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
11992 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
11993 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
11994 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
11995 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
11996 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
11997 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
11998 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
11999 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12000 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12001 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12002 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12003 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12004 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12005 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12006 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12007 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12008 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12009
39507e4a
RM
12010 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12011 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12012 (__libc_vfork): Define the function under this name.
12013 [!NOT_IN_libc] (__vfork): Make this an alias.
12014 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12015 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12016 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12017 (__libc_vfork): Define the function under this name.
12018 [!NOT_IN_libc] (__vfork): Make this an alias.
12019 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12020 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12021 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12022 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12023 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12024 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12025
e549ee56
RM
12026 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12027 code that was previously under [RESET_PID].
12028 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12029 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
12030 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
12031
6ad2df0b
RM
12032 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
12033 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
12034 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12035 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
12036 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
12037 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
12038 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
12039 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
12040 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
12041 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
12042 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
12043 Moved ...
12044 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
12045 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
12046 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
12047 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
12048 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
12049 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
12050 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
12051 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
12052 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
12053 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
12054 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
12055 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
12056 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
12057 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
12058 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
12059 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
12060 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
12061 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
12062 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
12063 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
12064 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
12065 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
12066 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
12067 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
12068 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
12069 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
12070 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
12071 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
12072 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
12073
7c1c1d8e
RM
120742014-06-25 Roland McGrath <roland@hack.frob.com>
12075
12076 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
12077 that was previously under [RESET_PID].
12078 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
12079
3e239be6
JM
120802014-06-25 Joseph Myers <joseph@codesourcery.com>
12081
74385da5
JM
12082 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
12083 not undefine and redefine.
12084 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12085 [O_CLOEXEC]: Make code unconditional.
12086 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
12087 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
12088 <kernel-features.h>.
12089 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
12090 conditional variable definition.
12091 (shm_open) [O_CLOEXEC]: Make code unconditional.
12092 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
12093 code.
12094
c2570a0b
JM
12095 * configure.ac (USE_REGPARMS): Don't define here.
12096 * configure: Regenerated.
12097 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
12098 * sysdeps/i386/configure: Regenerated.
12099
11b076bb
JM
12100 * nptl/createthread.c: Don't include kernel-features.h.
12101 * nptl/pthread_cancel.c: Likewise.
12102 * nptl/pthread_condattr_setclock.c: Likewise.
12103 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12104 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
12105 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
12106 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
12107 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
12108 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12109 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12110 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
12111 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12112 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
12113 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
12114 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
12115 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
12116 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
12117 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
12118 * nscd/gai.c: Likewise.
12119 * nss/nss_db/db-open.c: Likewise.
12120 * sysdeps/generic/ldsodefs.h: Likewise.
12121 * sysdeps/sh/nptl/tls.h: Likewise.
12122 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12123 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
12124 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
12125 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
12126 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
12127 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12128 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
12129 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12130 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12131 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12132 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12133 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12134 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12135 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12136 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
12137 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
12138 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12139 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
12140 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
12141 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
12142 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12143 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12144 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
12145 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12146 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12147 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12148 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
12149 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12150 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12151 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
12152 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
12153 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12154 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12155 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12156 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12157 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12158 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12159 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12160 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
12161 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12162 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12163 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
12164 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
12165 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12166 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12167 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
12168 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
12169 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
12170 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
12171 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12172 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12173 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12174 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12175 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12176 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
12177 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12178 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12179 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
12180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
12182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
12183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
12184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
12185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12202 * sysdeps/unix/sysv/linux/pread.c: Likewise.
12203 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12204 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12205 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12206 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12207 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12208 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12209 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12210 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12211 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12212 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12213 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12214 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12215 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12216 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12217 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12218 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12219 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12220 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12221 * sysdeps/unix/sysv/linux/system.c: Likewise.
12222 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12223 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12224 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12225 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12226 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12227 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12228 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12229
92072d57
JM
12230 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12231 * configure: Regenerated.
12232 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12233
3e239be6
JM
12234 * configure.ac (base_machine): Do not set specially for particular
12235 machines here.
12236 * configure: Regenerated.
12237 * sysdeps/powerpc/preconfigure: Move machine and base_machine
12238 settings from configure.ac.
12239 * sysdeps/i386/preconfigure: New file.
12240 * sysdeps/s390/preconfigure: Likewise.
12241 * sysdeps/sh/preconfigure: Likewise.
12242 * sysdeps/sparc/preconfigure: Likewise.
12243
06d50baa
RM
122442014-06-25 Roland McGrath <roland@hack.frob.com>
12245
74836003
RM
12246 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12247 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12248 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12249 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12250 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12251 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12252 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12253 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12254 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12255 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12256 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12257 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12258 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12259 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12260 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12261 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12262 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12263 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12264 * sysdeps/sparc/sparc64/Makefile: ... appended here.
12265
12266 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12267 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12268 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12269 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12270 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12271 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12272 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12273 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12274 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12275 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12276 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12277 * sysdeps/sparc/sparc32/sem_post.c: ... here.
12278 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12279 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12280 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12281 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12282 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12283 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12284 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12285 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12286 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12287 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12288 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12289 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12290 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12291 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12292 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12293 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12294 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12295 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12296 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12297 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12298 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12299 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12300 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12301 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12302 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12303 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12304
06d50baa
RM
12305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12306 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12308 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12310 Moved ...
12311 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12312 ... here.
12313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12314 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12316 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12318 Moved ...
12319 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12321 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12323 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12325 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12327 Moved ...
12328 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12330 Moved ...
12331 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12333 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12335 Moved ...
12336 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12338 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12340 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12342 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12344 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12346 Moved ...
12347 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12348 ... here.
12349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12350 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12352 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12354 Moved ...
12355 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12357 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12359 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12361 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12363 Moved ...
12364 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12366 Moved ...
12367 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12369 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12371 Moved ...
12372 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12374 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12376 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12377
a4ccbc9b
JM
123782014-06-25 Joseph Myers <joseph@codesourcery.com>
12379
0828edbf
JM
12380 * timezone/checktab.awk: Update from tzcode 2014e.
12381 * timezone/private.h: Likewise.
12382 * timezone/tzfile.h: Likewise.
12383 * timezone/zdump.c: Likewise.
12384 * timezone/zic.c: Likewise.
12385
a4ccbc9b
JM
12386 * sysdeps/unix/sysv/linux/kernel-features.h
12387 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12388 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12389 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12390 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12391 Remove conditional code.
12392
9aea0cb8
WN
123932014-06-25 Will Newton <will.newton@linaro.org>
12394
12395 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12396 (_dl_arm_cap_flags): Add HWCAP2 values.
12397 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12398 (_DL_HWCAP_COUNT): Increase to 37.
12399 (_DL_HWCAP_LAST): New define.
12400 (_DL_HWCAP2_LAST): New define.
12401 (_dl_procinfo): Add support for printing
12402 AT_HWCAP2 entries.
12403 (_dl_string_hwcap): Use _dl_hwcap_string.
12404
6eaa65ce
AZ
124052014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12406
12407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12408
0f5b7185
JM
124092014-06-25 Joseph Myers <joseph@codesourcery.com>
12410
cfd2ea50
JM
12411 * README: Do not mention ports directory.
12412
cecf2ed4
JM
12413 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12414 Remove macro.
12415 * sysdeps/unix/sysv/linux/futimes.c: Do not include
12416 <kernel-features.h>.
12417 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12418 conditional variable definition.
12419 (__futimes): Update comment.
12420 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12421 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12422
a638de82
JM
12423 [BZ #16560]
12424 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12425 arguments close to 0.
12426 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12427 Likewise.
12428 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12429 Likewise.
12430 * math/auto-libm-test-in: Add more tests of exp10.
12431 * math/auto-libm-test-out: Regenerated.
12432 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12433
0f5b7185
JM
12434 * sysdeps/unix/sysv/linux/kernel-features.h
12435 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
12436 * sysdeps/unix/sysv/linux/readv.c: Do not include
12437 <kernel-features.h>.
12438 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12439 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12440 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12441 unconditional.
12442 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12443 conditional code.
12444 * sysdeps/unix/sysv/linux/writev.c: Do not include
12445 <kernel-features.h>.
12446 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12447 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12448 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12449 unconditional.
12450 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12451 conditional code.
12452
c7aec4be
WN
124532014-06-25 Will Newton <will.newton@linaro.org>
12454
12455 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
12456 comment changes throughout the file. Remove checks
12457 for HAVE_*_H definitions that are not required.
12458 (__gen_tempname): Call abort if an unknown kind value is
12459 passed.
12460
c5241f95
AS
124612014-06-25 Andreas Schwab <schwab@suse.de>
12462
12463 [BZ #17086]
12464 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
12465 scalbln, scalblnf, scalblnl in libc.
12466
911422da
SP
124672014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12468
12469 [BZ #17086]
12470 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
12471 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12472 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12473
0d749bbe
RM
124742014-06-24 Roland McGrath <roland@hack.frob.com>
12475
12476 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
12477 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
12478 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
12479 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
12480 Update #include.
12481 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
12482 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
12483 Update #include.
12484 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
12485 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
12486 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
12487 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
12488 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
12489 * sysdeps/x86/bits/pthreadtypes.h: ... here.
12490 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
12491 * sysdeps/x86/bits/semaphore.h: ... here.
12492 * sysdeps/x86/nptl/elide.h: Moved ...
12493 * sysdeps/x86/elide.h: ... here.
12494 * sysdeps/x86_64/nptl/Implies: File removed.
12495 * sysdeps/i386/nptl/Implies: File removed.
12496
0ea5d373
JM
124972014-06-24 Joseph Myers <joseph@codesourcery.com>
12498
4060283d
JM
12499 [BZ #16539]
12500 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
12501 return the argument for normal arguments with exponent below -64.
12502 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12503 Likewise.
12504 * math/auto-libm-test-in: Add another test of expm1.
12505 * math/auto-libm-test-out: Regenerated.
12506
e7dd3c8c
JM
12507 [BZ #16287]
12508 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
12509 calling __erfcl for arguments at least 16.
12510 * math/auto-libm-test-in: Add more tests of erf.
12511 * math/auto-libm-test-out: Regenerated.
12512
0ea5d373
JM
12513 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
12514 individual architectures.
12515 * sysdeps/unix/sysv/linux/configure: Regenerated.
12516 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
12517 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
12518 * sysdeps/unix/sysv/linux/powerpc/configure.ac
12519 (ldd_rewrite_script): Define variable.
12520 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
12522 file.
12523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
12524 generated file.
12525 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
12526 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
12527 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
12528 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
12529 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
12530 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
12531 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
12532 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
12533
2307e126
SP
125342014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12535
12536 [BZ #17084]
12537 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
12538 Rename member __data.d to __data.__elision_data.
12539
c0a4ed77
W
125402014-06-24 Wilco <wdijkstr@arm.com>
12541
12542 * NEWS: Add 16918 to fixed bug list.
12543
b8c00573
W
125442014-06-24 Wilco <wdijkstr@arm.com>
12545
12546 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
12547
b5570d92
W
125482014-06-24 Wilco <wdijkstr@arm.com>
12549
12550 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
12551 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
12552 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
12553 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
12554 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
12555 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
12556 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
12557 Use _FPU_MASK_RM.
12558
947bdca2
W
125592014-06-24 Wilco <wdijkstr@arm.com>
12560
12561 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
12562
00f669ed
W
125632014-06-24 Wilco <wdijkstr@arm.com>
12564
12565 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
12566 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
12567 * sysdeps/arm/fesetround.c (fesetround): Remove space.
12568 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
12569
db59bad3
W
125702014-06-24 Wilco <wdijkstr@arm.com>
12571
12572 [BZ #16918]
12573 * sysdeps/arm/feupdateenv.c (feupdateenv):
12574 Rewrite to reduce FPSCR accesses and fix return value.
12575
001f7b77
W
125762014-06-24 Wilco <wdijkstr@arm.com>
12577
12578 * sysdeps/arm/fclrexcpt.c (feclearexcept):
12579 Optimize to avoid unnecessary FPSCR writes.
12580 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
12581 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
12582 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
12583 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
12584
4841e6a6
W
125852014-06-24 Wilco <wdijkstr@arm.com>
12586
12587 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
12588 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
12589 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
12590 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
12591 Call libc_fetestexcept_vfp.
12592 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
12593 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
12594 __SOFTFP__ ifdef so that they can be built for softfp.
12595
0813022c
SP
125962014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12597
08e5862f
SP
12598 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
12599 argument type signed char.
12600
0813022c
SP
12601 * Makerules (check-abi): Dump diff of symlist if the test
12602 fails.
12603
3fc7236a
RM
126042014-06-23 Roland McGrath <roland@hack.frob.com>
12605
aba8ef95
RM
12606 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
12607 using abort.
12608
3fc7236a
RM
12609 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12610 Remove unused variable ST.
12611
4da6db51
JM
126122014-06-23 Joseph Myers <joseph@codesourcery.com>
12613
4648909d
JM
12614 [BZ #16354]
12615 [BZ #17061]
12616 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
12617 small arguments before calling __expm1.
12618 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
12619 small arguments before calling __expm1f.
12620 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
12621 small arguments before calling __expm1l.
12622 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12623 Likewise.
12624 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
12625 * math/auto-libm-test-in: Add more cosh tests. Do not allow
12626 spurious underflow for some cosh tests.
12627 * math/auto-libm-test-out: Regenerated.
12628 * sysdeps/i386/fpu/libm-test-ulps: Update.
12629
46a3d3c7
JM
12630 [BZ #17050]
12631 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
12632 (__ieee754_y1): Set errno if return value overflows.
12633 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
12634 (__ieee754_y1f): Set errno if return value overflows.
12635 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
12636 (__ieee754_y1l): Set errno if return value overflows.
12637 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
12638 (__ieee754_y1l): Set errno if return value overflows.
12639 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
12640 * math/auto-libm-test-out: Regenerated.
12641
863893ec
JM
12642 * math/gen-auto-libm-tests.c: Document use of
12643 ignore-zero-inf-sign.
12644 (input_flag_type): Add value flag_ignore_zero_inf_sign.
12645 (input_flags): Add ignore-zero-inf-sign.
12646 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
12647 * math/gen-libm-test.pl (generate_testfile): Handle
12648 ignore-zero-inf-sign.
12649 * math/auto-libm-test-in: Mark some cpow tests with
12650 ignore-zero-inf-sign and some with xfail-rounding.
12651 * math/auto-libm-test-out: Regenerated.
12652 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
12653 * sysdeps/i386/fpu/libm-test-ulps: Update.
12654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12655
4da6db51
JM
12656 [BZ #16315]
12657 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
12658 overflowing or underflowing operations take place with sign of
12659 result.
12660 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12661 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12662 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
12663 (__ieee754_pow): Recompute overflowing and underflowing results in
12664 original rounding mode.
12665 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
12666 (__powl_helper): Allow negative argument X and scale negated value
12667 as needed. Avoid passing value outside [-1, 1] to f2xm1.
12668 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
12669 overflowing or underflowing operations take place with sign of
12670 result.
12671 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
12672 Include <math.h>.
12673 * math/auto-libm-test-in: Add more tests of pow.
12674 * math/auto-libm-test-out: Regenerated.
12675 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
12676 (pow_tonearest_test_data): Remove.
12677 (pow_test_tonearest): Likewise.
12678 (pow_towardzero_test_data): Likewise.
12679 (pow_test_towardzero): Likewise.
12680 (pow_downward_test_data): Likewise.
12681 (pow_test_downward): Likewise.
12682 (pow_upward_test_data): Likewise.
12683 (pow_test_upward): Likewise.
12684 (main): Don't call removed functions.
12685 * sysdeps/i386/fpu/libm-test-ulps: Update.
12686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12687
5686b236
RM
126882014-06-23 Roland McGrath <roland@hack.frob.com>
12689
12690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
12691 Moved ...
12692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
12693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12694 Moved ...
12695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
12696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12697 Moved ...
12698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
12699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12700 Moved ...
12701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
12702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12703 File removed.
12704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12705 File removed.
12706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
12707 File removed.
12708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
12709 File removed.
12710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
12711 File removed.
12712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
12713 File removed.
12714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
12715 File removed.
12716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12717 File removed.
12718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
12719 File removed.
12720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12721 File removed.
12722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
12723 File removed.
12724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
12725 File removed.
12726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
12727 Moved ...
12728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
12729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
12730 Moved ...
12731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12732 ... here.
12733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
12734 Moved ...
12735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
12736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
12737 Moved ...
12738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
12739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
12740 Moved ...
12741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
12742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
12743 Moved ...
12744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
12745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
12746 Moved ...
12747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
12748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
12749 Moved ...
12750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
12751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
12752 Moved ...
12753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
12754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
12755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12756 ... here.
12757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
12758 Moved ...
12759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
12760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12761 Moved ...
12762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12763 ... here.
12764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
12765 Moved ...
12766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12767 ... here.
12768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12769 Moved ...
12770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12771 ... here.
12772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12773 Moved ...
12774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
12775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12776 Moved ...
12777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
12778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
12779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
12780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12781 Moved ...
12782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12783 ... here.
12784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12785 Moved ...
12786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12787 ... here.
12788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12789 Moved ...
12790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
12791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12792 Moved ...
12793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
12794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12795 Moved ...
12796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
12797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12798 Moved ...
12799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
12800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12801 Moved ...
12802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12803 ... here.
12804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12805 Moved ...
12806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
12807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12808 Moved ...
12809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
12810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12811 Moved ...
12812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
12813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12814 Moved ...
12815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
12816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
12817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
12818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12819 Moved ...
12820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
12821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12822 Moved ...
12823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
12824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12825 Moved ...
12826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12827 ... here.
12828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12829 Moved ...
12830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12831 ... here.
12832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12833 Moved ...
12834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12835 ... here.
12836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12837 Moved ...
12838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
12839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12840 Moved ...
12841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
12842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12843 Moved ...
12844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
12845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12846 Moved ...
12847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12848 ... here.
12849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12850 Moved ...
12851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12852 ... here.
12853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12854 Moved ...
12855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12856 ... here.
12857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12858 Moved ...
12859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
12860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12861 Moved ...
12862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
12863
e6d90d67
WD
128642014-06-23 Will Newton <will.newton@linaro.org>
12865 Wilco <wdijkstr@arm.com>
12866
12867 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
12868 implementation. Include get-rounding-mode.h.
12869 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
12870 [!libc_feholdsetround_noex_ctx]: Define
12871 libc_feholdsetround_noex_ctx.
12872 [!libc_feholdsetround_noexf_ctx]: Define
12873 libc_feholdsetround_noexf_ctx.
12874 [!libc_feholdsetround_noexl_ctx]: Define
12875 libc_feholdsetround_noexl_ctx.
12876 (libc_feholdsetround_ctx): New function.
12877 (libc_feresetround_ctx): New function.
12878 (libc_feholdsetround_noex_ctx): New function.
12879 (libc_feresetround_noex_ctx): New function.
12880
d42df555
RM
128812014-06-23 Roland McGrath <roland@hack.frob.com>
12882
88a46474
RM
12883 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
12884 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
12885 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
12886 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
12887 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
12888 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
12889
15bed472
RM
12890 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
12891 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
12892 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
12893 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
12894 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
12895 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
12896 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
12897 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
12898 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
12899 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
12900 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
12901 Moved ...
12902 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12903 ... here.
12904 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
12905 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
12906 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
12907 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
12908 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
12909 Moved ...
12910 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
12911 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
12912 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
12913 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
12914 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
12915 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
12916 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
12917 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
12918 Moved ...
12919 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
12920 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
12921 Moved ...
12922 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
12923 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
12924 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
12925 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
12926 Moved ...
12927 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
12928 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
12929 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
12930 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
12931 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
12932 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
12933 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
12934 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
12935 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
12936 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
12937 Moved ...
12938 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12939 ... here.
12940 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
12941 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
12942 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
12943 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
12944 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
12945 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
12946 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
12947 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
12948 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
12949 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
12950 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
12951 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
12952 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
12953 Moved ...
12954 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
12955 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
12956 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
12957 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
12958 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
12959 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
12960 Moved ...
12961 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
12962 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
12963 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
12964 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
12965 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
12966
d42df555
RM
12967 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
12968 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
12969 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
12970 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
12971 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
12972 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
12973 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
12974 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
12975 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
12976 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
12977 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
12978 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
12979 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
12980 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
12981 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
12982 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
12983 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
12984 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
12985 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
12986 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
12987 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
12988 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
12989 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
12990 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
12991 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
12992 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
12993 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
12994 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
12995
76e5216e
JM
129962014-06-23 Joseph Myers <joseph@codesourcery.com>
12997
12998 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
12999 (FALLOC_FL_COLLAPSE_RANGE): New macro.
13000 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13001 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13002 (IPV6_PMTUDISC_INTERFACE): Likewise.
13003 (IPV6_PMTUDISC_OMIT): Likewise.
13004
7a81cbcc
AS
130052014-06-23 Andreas Schwab <schwab@suse.de>
13006
13007 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13008 Remove unused errout label.
13009
db224009
AZ
130102014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13011
13012 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13013 macro: hardware supports Vector Crypto instructions.
13014
f393b4aa
WN
130152014-06-23 Will Newton <will.newton@linaro.org>
13016
cc7d0447
WN
13017 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13018 rather than __builtin_expect.
13019
d6d06225
WN
13020 * elf/dl-lookup.c (undefined_msg): Remove variable.
13021 (_dl_lookup_symbol_x): Replace undefined_msg with string
13022 literal.
13023
f393b4aa
WN
13024 * elf/dl-lookup.c (do_lookup_unique): New function.
13025 (do_lookup_x): Move STB_GNU_UNIQUE handling code
13026 to a separate function.
13027
ac60763e
AS
130282014-06-23 Andreas Schwab <schwab@suse.de>
13029
13030 [BZ #17079]
13031 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
13032 before reading the next line.
13033
c5c13355
WN
130342014-06-23 Will Newton <will.newton@linaro.org>
13035
13036 * test-skeleton.c (signal_handler): Use printf and %m
13037 rather than perror. Use printf rather than fprintf to
13038 stderr. Use puts rather than fputs to stderr.
13039 (main): Likewise.
13040
bd3675f9
LC
130412014-06-22 Ludovic Courtès <ludo@gnu.org>
13042
13043 * nscd/nscd.c (thread_info_t): Remove typedef.
13044 (thread_info): Remove variable.
13045
d03efb2f
AM
130462014-06-21 Allan McRae <allan@archlinux.org>
13047
13048 * NEWS: Mention CVE-2014-4043.
13049
bc4a86fa
RM
130502014-06-20 Roland McGrath <roland@hack.frob.com>
13051
dc9a54f8
RM
13052 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13053 * nptl/smp.h: ... here.
13054
bd7022c4
RM
13055 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
13056
26ffd5e6
RM
13057 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
13058 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
13059 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
13060 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13061
93a6d082
RM
13062 * nptl/allocatestack.c: Include <stack-aliasing.h>.
13063 * nptl/stack-aliasing.h: New file.
13064 * sysdeps/i386/i686/stack-aliasing.h: New file.
13065 * sysdeps/i386/i686/nptl/Makefile: File removed.
13066 * sysdeps/x86_64/stack-aliasing.h: New file.
13067 * sysdeps/x86_64/nptl/Makefile
13068 (CFLAGS-pthread_create.c): Variable removed.
13069
bc4a86fa
RM
13070 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
13071 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13072 old file.
13073 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
13074 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
13075 old file.
13076
2272ffc1
JM
130772014-06-21 Joseph Myers <joseph@codesourcery.com>
13078
13079 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13080 (__ASSUME_SIGFRAME_V2): Remove macro.
13081 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
13082 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
13083 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
13084 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
13085 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
13086 Declare as function. Remove conditional macro definitions.
13087 (__default_rt_sa_restorer): Likewise.
13088 (__default_sa_restorer_v1): Remove declaration.
13089 (__default_sa_restorer_v2): Likewise.
13090 (__default_rt_sa_restorer_v1): Likewise.
13091 (__default_rt_sa_restorer_v2): Likewise.
13092 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
13093 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
13094 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
13095
4b88139b
RM
130962014-06-20 Roland McGrath <roland@hack.frob.com>
13097
13098 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
13099 (libpthread-routines): Add sysdep.
13100 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
13101 * sysdeps/unix/sysv/linux/sparc/Versions
13102 (libpthread: GLIBC_2.3.3): New version set.
13103 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
13104 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
13105 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
13106 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
13107 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
13108 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
13109 Moved ...
13110 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
13111 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
13112 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
13113 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
13114 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
13115 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
13116 * sysdeps/sparc/nptl/sem_init.c: ... here.
13117 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
13118 * sysdeps/sparc/nptl/sem_post.c: ... here.
13119 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
13120 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
13121 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
13122 * sysdeps/sparc/nptl/sem_wait.c: ... here.
13123 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
13124 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
13125 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
13126 (libpthread-routines): Add cpu_relax.
13127 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
13128 File removed.
13129 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13130 (librt: GLIBC_2.3.3): New version set.
13131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13132 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13133 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13134 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13135 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13136 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
13137 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
13138 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
13139 Moved ...
13140 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
13141 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
13142 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
13143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
13144 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
13145 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
13146 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
13147 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
13148 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
13149 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
13150 Moved ...
13151 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
13152 Update #include.
13153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
13154 Moved ...
13155 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
13156 Update #include.
13157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
13158 Moved ...
13159 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
13160 Update #include.
13161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
13162 Moved ...
13163 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
13164 Update #include.
13165 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
13166 Moved ...
13167 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
13168 Update #include.
13169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
13170 Moved ...
13171 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
13172 Update #include.
13173 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
13174 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
13175 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
13176 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
13177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
13178 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
13179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
13180 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
13181 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
13182 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
13183 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13184 Moved ...
13185 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13186 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13187 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13188 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13189 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13190
d7109027
JM
131912014-06-20 Joseph Myers <joseph@codesourcery.com>
13192
9bc6103d
JM
13193 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13194 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13195 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13196 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13197 * nscd/nscd.c: Likewise.
13198 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13199 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13200 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13201 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13202
d7109027
JM
13203 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13204 <kernel-features.h>.
13205 (init_mq_netlink): Remove conditional have_sock_cloexec
13206 definitions. Remove code conditional on have_sock_cloexec < 0.
13207 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13208 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13209 * sysdeps/unix/sysv/linux/opensock.c: Do not include
13210 <kernel-features.h>.
13211 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13212 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13213
d92d8f8a
L
132142014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13215
13216 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13217 Add tests for memset_chk and memset.
13218
13219 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13220 with AVX2_Usable.
13221
4e6d2347
MR
132222014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13223
257ce712
MR
13224 [BZ #16046]
13225 * elf/tst-dl-iter-static.c: New file.
13226 * elf/Makefile (tests-static): Add tst-dl-iter-static.
13227
4e6d2347
MR
13228 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13229 error.
13230
a2a76afe
JM
132312014-06-20 Joseph Myers <joseph@codesourcery.com>
13232
7fd00f99
JM
13233 * sysdeps/unix/sysv/linux/kernel-features.h
13234 (__ASSUME_F_GETOWN_EX): Remove macro.
13235 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13236 <kernel-features.h>.
13237 (miss_F_GETOWN_EX): Remove variable or macro.
13238 (do_fcntl): Do not check miss_F_GETOWN_EX.
13239 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13240
4a103975
JM
13241 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13242 Remove macro.
13243 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13244 [!__ASSUME_AT_RANDOM]: Remove conditional code.
13245 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13246
a2a76afe
JM
13247 * sysdeps/unix/sysv/linux/kernel-features.h
13248 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13249 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13250 [ADJ_OFFSET_SS_READ]: Make code unconditional.
13251 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13252
90e5dd48
MR
132532014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13254
13255 [BZ #17075]
13256 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13257 Fix calculation of the symbol's value.
13258 * sysdeps/arm/tst-armtlsdescloc.c: New file.
13259 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13260 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13261 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13262 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13263 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13264 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13265 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13266 (modules-names): Add `tst-armtlsdescmod',
13267 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13268 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13269 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13270 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13271 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13272 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13273 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13274 ($(objpfx)tst-armtlsdescloc): New dependency.
13275 ($(objpfx)tst-armtlsdescextnow): Likewise.
13276 ($(objpfx)tst-armtlsdescextlazy): Likewise.
13277 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13278 TLS scheme support.
13279 * sysdeps/arm/configure: Regenerate.
13280
809fdf0d
JM
132812014-06-20 Joseph Myers <joseph@codesourcery.com>
13282
13283 * include/fcntl.h (__atfct_seterrno): Remove prototype.
13284 (__atfct_seterrno_2): Likewise.
13285 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13286 <kernel-features.h>.
13287 (__ASSUME_ATFCTS): Do not undefine and redefine.
13288 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13289 (__have_atfcts): Remove conditional definition.
13290 (__fxstatat([__NR_fstatat64]: Make code unconditional.
13291 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13292 unreachable if [__ASSUME_ATFCTS].
13293 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13294 not undefine and redefine.
13295 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13296 <kernel-features.h>.
13297 (faccessat) [__NR_faccessat]: Make code unconditional.
13298 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13299 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13300 <kernel-features.h>.
13301 (fchmodat) [__NR_fchmodat]: Make code unconditional.
13302 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13303 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13304 <kernel-features.h>.
13305 (fchownat) [__NR_fchownat]: Make code unconditional.
13306 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13307 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13308 <kernel-features.h>.
13309 (futimesat) [__NR_futimesat]: Make code unconditional.
13310 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13311 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13312 <kernel-features.h>.
13313 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13314 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13315 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13316 <kernel-features.h>.
13317 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13318 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13319 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13320 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13321 <kernel-features.h>.
13322 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13323 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13324 * sysdeps/unix/sysv/linux/linkat.c: Do not include
13325 <kernel-features.h>.
13326 (linkat) [__NR_linkat]: Make code unconditional.
13327 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13328 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13329 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13330 <kernel-features.h>.
13331 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13332 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13333 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13334 <kernel-features.h>.
13335 (mkdirat) [__NR_mkdirat]: Make code unconditional.
13336 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13337 * sysdeps/unix/sysv/linux/openat.c: Do not include
13338 <kernel-features.h>.
13339 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13340 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13341 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13342 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13343 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13344 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13345 <kernel-features.h>.
13346 (readlinkat) [__NR_readlinkat]: Make code unconditional.
13347 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
13348 result of INLINE_SYSCALL directly, not via int variable.
13349 * sysdeps/unix/sysv/linux/renameat.c: Do not include
13350 <kernel-features.h>.
13351 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13352 (renameat) [__NR_renameat]: Make code unconditional.
13353 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13354 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13355 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13356 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13357 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13358 (__ASSUME_ATFCTS): Do not undefine and redefine.
13359 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13360 <kernel-features.h>.
13361 (symlinkat) [__NR_symlinkat]: Make code unconditional.
13362 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13363 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13364 <kernel-features.h>.
13365 (unlinkat) [__NR_unlinkat]: Make code unconditional.
13366 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13367 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13368 (__ASSUME_ATFCTS): Do not undefine and redefine.
13369 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13370 <kernel-features.h>.
13371 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13372 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13373 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13374 <kernel-features.h>.
13375 (__xmknodat) [__NR_mknodat]: Make code unconditional.
13376 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13377
224c6c51
L
133782014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13379
13380 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13381
aa6ec754
AS
133822014-06-20 Andreas Schwab <schwab@linux-m68k.org>
13383
13384 [BZ #17069]
13385 * posix/regcomp.c (parse_reg_exp): Deallocate partially
13386 constructed tree before returning error.
13387 * posix/bug-regexp36.c: Expand test case.
13388
d8c2869d
SL
133892014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
13390
3ef6b850
SL
13391 [BZ #6803]
13392 * math/libm-test.inc (scalbln_test_date):
13393 Add errno expectations.
13394 * math/w_scalblnf.c: New File.
13395 Add wrapper which checks for setting errno to ERANGE.
13396 Add weak_alias for corresponding scalbln function.
13397 * math/w_scalbln.c: Likewise.
13398 * math/w_scalblnl.c: Likewise.
13399 * math/Makefile (libm-calls): Add w_scalbln.
13400 * sysdeps/ieee754/flt-32/s_scalblnf.c:
13401 Remove weak_alias for corresponding scalbln function.
13402 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13403 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13404 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13405 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13406 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13407 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13408 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13409 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13410 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13411 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13412 Remove long_double_symbol for scalblnl function in libm, libc.
13413 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13414 Add wrapper which checks for setting errno to ERANGE.
13415 Add long_double_symbol for scalblnl function in libm, libc.
13416 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13417 Remove long_double_symbol for scalblnl in libm.
13418 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13419 Add wrapper which checks for setting errno to ERANGE.
13420 Add long_double_symbol for scalblnl function in libm.
13421 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13422 Do not use wrapper because of own implementation.
13423
c8daec5c
L
134242014-06-19 H.J. Lu <hongjiu.lu@intel.com>
13425
13426 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13427 3 bytes for __pad1 for x32.
13428 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13429
5c74e47c
LM
134302014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
13431 H.J. Lu <hongjiu.lu@intel.com>
13432
13433 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
13434 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
13435 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13436 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13437 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13438
4d43ef1e
AS
134392014-06-19 Andreas Schwab <schwab@linux-m68k.org>
13440
13441 [BZ #17069]
13442 * posix/regcomp.c (parse_expression): Deallocate partially
13443 constructed tree before returning error.
13444 * posix/Makefile.c (tests): Add bug-regex36.
13445 (generated): Add bug-regex36.mtrace.
13446 (tests-special): Add $(objpfx)bug-regex36-mem.out
13447 (bug-regex36-ENV): New variable.
13448 ($(objpfx)bug-regex36-mem.out): New rule.
13449 * posix/bug-regex36.c: New file.
13450
51a7380b
WN
134512014-06-19 Will Newton <will.newton@linaro.org>
13452
13453 * malloc/malloc.c (systrim): If extra is zero then return
13454 early.
13455
91b84fe5
SP
134562014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13457
13458 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
13459
f940b965
RE
134602014-06-19 Richard Earnshaw <rearnsha@arm.com>
13461
13462 * sysdeps/aarch64/strchr.S: New file.
13463
4ba7a00f
JM
134642014-06-18 Joseph Myers <joseph@codesourcery.com>
13465
13466 [BZ #17022]
13467 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
13468 from arguments -2 or below.
13469 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13470 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13471
b3a9f56b
AS
134722014-06-18 Andreas Schwab <schwab@suse.de>
13473
13474 [BZ #17062]
13475 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
13476 of a bracket expr not to run off the end of the string.
13477 * posix/Makefile (tests): Add tst-fnmatch3.
13478 * posix/tst-fnmatch3.c: New file.
13479
85d89278
JM
134802014-06-18 Joseph Myers <joseph@codesourcery.com>
13481
13482 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
13483 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13484 [$(cross-compiling) = no]: Likewise.
13485 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13486 [$(cross-compiling) = no]: Likewise.
13487
754c5a08
RS
134882014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13489
13490 [BZ #17031]
13491 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
13492 double, adjusted for any remainder from the high double.
13493 * math/libm-test.inc (nearbyint): Add tests.
13494 (rint): Likewise.
13495
556f529d
AZ
134962014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13497
13498 * nptl/sysdeps/powerpc/Makefile: Moved ...
13499 * sysdeps/powerpc/nptl/Makefile: ... here.
13500 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
13501 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
13502 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
13503 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
13504 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
13505 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
13506 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
13507 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
13508 * nptl/sysdeps/powerpc/tls.h: Moved ...
13509 * sysdeps/powerpc/nptl/tls.h: ... here.
13510
91c03c53
JM
135112014-06-16 Joseph Myers <joseph@codesourcery.com>
13512
13513 [BZ #16681]
13514 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
13515 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13516 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
13517 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
13518 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13519 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
13520 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
13521 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13522 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
13523
a76e63c5
AS
135242014-06-17 Andreas Schwab <schwab@linux-m68k.org>
13525
13526 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13527
f2f6d82f
AS
135282014-06-16 Andreas Schwab <schwab@linux-m68k.org>
13529
ea8a15f6
AS
13530 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
13531 defined operator.
13532
f2f6d82f
AS
13533 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
13534 $TIMEOUTFACTOR.
13535
a7291117
FW
135362014-06-16 Florian Weimer <fweimer@redhat.com>
13537
13538 [BZ #17058]
13539 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
13540 non-executed part of the test.
13541
3d7c00e3
AS
135422014-06-16 Andreas Schwab <schwab@suse.de>
13543
13544 * string/bits/string2.h (strdup, strndup): Update feature guard.
13545
6957fb31
DM
135462014-06-14 David S. Miller <davem@davemloft.net>
13547
13548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13549
11b9e55b
AS
135502014-06-14 Andreas Schwab <schwab@linux-m68k.org>
13551
1d2a0492
AS
13552 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
13553 that was previously under [RESET_PID].
13554 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
13555
11b9e55b
AS
13556 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
13557 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
13558 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
13559 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13560 (__libc_vfork): New strong alias.
13561 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
13562
0f6901d0
AK
135632014-06-14 Andi Kleen <ak@linux.intel.com>
13564
13565 * sysdeps/generic/elide.h: New file.
13566
38bbbb9f
SL
135672014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13568
13569 * Makefile (installed-headers): Adjust path of pthread.h header.
13570
45193bb8
RM
135712014-06-13 Roland McGrath <roland@hack.frob.com>
13572
9a25fd1e
RM
13573 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
13574 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
13575 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
13576 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
13577
4004f7e4
RM
13578 * nptl/sysdeps/s390/Makefile: Moved ...
13579 * sysdeps/s390/nptl/Makefile: ... here.
13580 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
13581 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
13582 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
13583 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
13584 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
13585 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
13586 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
13587 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
13588 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
13589 * sysdeps/s390/nptl/pthreaddef.h: ... here.
13590 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
13591 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
13592 * nptl/sysdeps/s390/tls.h: Moved ...
13593 * sysdeps/s390/nptl/tls.h: ... here.
13594
45193bb8
RM
13595 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
13596 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
13597
f6fdf533
DM
135982014-06-13 David S. Miller <davem@davemloft.net>
13599
13600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
13601 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
13602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
13603 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
13604 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
13605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
13606 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
13607 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
13608 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
13609 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
13610 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
13611 Remove RESET_PID cpp guards.
13612 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
13613 Remove RESET_PID cpp guards.
13614 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
13615
f5d71e14
AS
136162014-06-13 Andreas Schwab <schwab@linux-m68k.org>
13617
13618 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
13619 __sp to uintptr_t.
13620
b7aa8caa
AK
136212014-06-13 Andi Kleen <ak@linux.intel.com>
13622
4b266200
AZ
13623 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
13624 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
13625 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
13626 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
13627 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
13628 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
13629 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
13630 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
13631 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
13632 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
13633 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
13634 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
13635 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
13636 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
13637 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
13638 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
13639 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
13640 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
13641 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
13642 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
13643
13644 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
13645 (pthread_rwlock_rdlock): Add elision.
13646 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
13647 (pthread_rwlock_wrlock): Add elision.
13648 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
13649 (pthread_rwlock_trywrlock): Add elision.
13650 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
13651 (pthread_rwlock_tryrdlock): Add elision.
13652 * nptl/pthread_rwlock_unlock.c: Include elide.h.
13653 (pthread_rwlock_tryrdlock): Add elision unlock.
13654 * nptl/sysdeps/pthread/pthread.h:
13655 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
13656 (PTHREAD_RWLOCK_INITIALIZER,
13657 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
13658 Handle new elision field.
13659 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
13660 * sysdeps/arm/nptl/bits/pthreadtypes.h
13661 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13662 * sysdeps/sh/nptl/bits/pthreadtypes.h
13663 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13664 * sysdeps/tile/nptl/bits/pthreadtypes.h
13665 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13666 * sysdeps/a/nptl/bits/pthreadtypes.h
13667 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13668 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13669 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13670 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13671 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13672 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
13673 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13674 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13675 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13676 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13677 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13678 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13679 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13680 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13681 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13682 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
13683 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13684 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
13685 (elision_init): Set try_xbegin to zero when no RTM.
13686 * sysdeps/x86/nptl/bits/pthreadtypes.h
13687 (pthread_rwlock_t): Change __pad1 to __rwelision.
13688 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 13689
a832bdd3
AK
136902014-06-13 Andi Kleen <ak@linux.intel.com>
13691
13692 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
13693 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
13694 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
13695 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
13696
995a46bb
MI
136972014-06-13 Meador Inge <meadori@codesourcery.com>
13698
13699 [BZ #16996]
03ed7738 13700 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
13701 that the cached result has been set before returning it.
13702
45262aee
RM
137032014-06-12 Roland McGrath <roland@hack.frob.com>
13704
febf6cc5
RM
13705 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
13706 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
13707 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
13708 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
13709 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
13710 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
13711
e2682246
RM
13712 * nptl/sysdeps/sparc/Makefile: Moved ...
13713 * sysdeps/sparc/nptl/Makefile: ... here.
13714 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
13715 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
13716 * nptl/sysdeps/sparc/tls.h: Moved ...
13717 * sysdeps/sparc/nptl/tls.h: ... here.
13718 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
13719 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
13720 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
13721 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
13722 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
13723 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
13724 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
13725 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
13726 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
13727 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
13728 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
13729 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
13730 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
13731 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
13732 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
13733 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
13734 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
13735 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
13736 Update #include.
13737 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
13738 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
13739 Update #include.
13740 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
13741 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
13742 Update #include.
13743 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
13744 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
13745 Update #include.
13746
b0725f43
RM
13747 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13748
b14368b8
RM
13749 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
13750 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
13751
c5620eb3
RM
13752 * sysdeps/pthread/posix-timer.h: Include <list.h>.
13753 (struct list_links): Type removed.
13754 (struct thread_node, struct timer_node): Replace struct list_links
13755 with struct list_head.
13756 (list_unlink_ip): Likewise.
13757 * sysdeps/pthread/timer_routines.c
13758 (timer_free_list, thread_free_list, thread_active_list): Likewise.
13759 (list_append, list_insbefore): Likewise.
13760 (list_init): Function removed.
13761 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
13762 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
13763 * sysdeps/pthread/Makefile: ... here, new file.
13764
13765 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
13766 * sysdeps/nptl/Implies: ... here.
13767 * sysdeps/unix/sysv/linux/Implies: Add nptl.
13768 * nptl/sysdeps/pthread/list.h: Moved ...
13769 * include/list.h: ... here.
13770 * nptl/sysdeps/pthread/createthread.c: Moved ...
13771 * nptl/createthread.c: ... here.
13772 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
13773 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
13774 * nptl/pt-longjmp.c: ... here.
13775 * nptl/sysdeps/pthread/Makefile: Moved ...
13776 * sysdeps/nptl/Makefile: ... here.
13777 * nptl/sysdeps/pthread/Subdirs: Moved ...
13778 * sysdeps/nptl/Subdirs: ... here.
13779 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
13780 * sysdeps/nptl/aio_misc.h: ... here.
13781 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
13782 * sysdeps/nptl/bits/libc-lock.h: ... here.
13783 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
13784 * sysdeps/nptl/bits/libc-lockP.h: ... here.
13785 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
13786 * sysdeps/nptl/bits/stdio-lock.h: ... here.
13787 * nptl/sysdeps/pthread/configure: Moved ...
13788 * sysdeps/nptl/configure: ... here.
13789 * nptl/sysdeps/pthread/configure.ac: Moved ...
13790 * sysdeps/nptl/configure.ac: ... here.
13791 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
13792 * sysdeps/nptl/gai_misc.h: ... here.
13793 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
13794 * sysdeps/nptl/librt-cancellation.c: ... here.
13795 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
13796 * sysdeps/nptl/malloc-machine.h: ... here.
13797 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
13798 * sysdeps/nptl/pthread-functions.h: ... here.
13799 * nptl/sysdeps/pthread/pthread.h: Moved ...
13800 * sysdeps/nptl/pthread.h: ... here.
13801 * nptl/sysdeps/pthread/setxid.h: Moved ...
13802 * sysdeps/nptl/setxid.h: ... here.
13803 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
13804 * sysdeps/nptl/sigfillset.c: ... here.
13805 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
13806 * sysdeps/nptl/tcb-offsets.h: ... here.
13807 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
13808 * sysdeps/nptl/tst-mqueue8x.c: ... here.
13809 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
13810 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
13811 * nptl/sysdeps/pthread/allocalim.h: Moved ...
13812 * sysdeps/pthread/allocalim.h: ... here.
13813 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
13814 * sysdeps/pthread/bits/sigthread.h: ... here.
13815 * nptl/sysdeps/pthread/flockfile.c: Moved ...
13816 * sysdeps/pthread/flockfile.c: ... here.
13817 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
13818 * sysdeps/pthread/ftrylockfile.c: ... here.
13819 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
13820 * sysdeps/pthread/funlockfile.c: ... here.
13821 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
13822 * sysdeps/pthread/posix-timer.h: ... here.
13823 * nptl/sysdeps/pthread/timer_create.c: Moved ...
13824 * sysdeps/pthread/timer_create.c: ... here.
13825 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
13826 * sysdeps/pthread/timer_delete.c: ... here.
13827 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
13828 * sysdeps/pthread/timer_getoverr.c: ... here.
13829 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
13830 * sysdeps/pthread/timer_gettime.c: ... here.
13831 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
13832 * sysdeps/pthread/timer_routines.c: ... here.
13833 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
13834 * sysdeps/pthread/timer_settime.c: ... here.
13835 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
13836 * sysdeps/pthread/tst-timer.c: ... here.
13837 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
13838 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
13839
e876b090
RM
13840 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
13841 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
13842
f6b07b3d
RM
13843 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
13844 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
13845 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
13846 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
13847 Update #include target.
13848 * nptl/sysdeps/i386/i686/Makefile: Moved ...
13849 * sysdeps/i386/i686/nptl/Makefile: ... here.
13850 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
13851 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
13852 Update #include target.
13853 * nptl/sysdeps/i386/i686/tls.h: Moved ...
13854 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
13855 * nptl/sysdeps/i386/Makefile: Moved ...
13856 * sysdeps/i386/nptl/Makefile: ... here.
13857 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
13858 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
13859 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
13860 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
13861 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
13862 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
13863 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
13864 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
13865 * sysdeps/i386/nptl/pthreaddef.h: ... here.
13866 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
13867 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
13868 * nptl/sysdeps/i386/tls.h: Moved ...
13869 * sysdeps/i386/nptl/tls.h: ... here.
13870
45262aee
RM
13871 * sysdeps/sh/Makefile [$(subdir) = csu]
13872 (gen-as-const-headers): Add tcb-offsets.sym.
13873 * nptl/sysdeps/sh/Makefile: File removed.
13874 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
13875 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
13876 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
13877 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
13878 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
13879 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
13880 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
13881 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
13882 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
13883 * sysdeps/sh/nptl/pthreaddef.h: ... here.
13884 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
13885 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
13886 * nptl/sysdeps/sh/tls.h: Moved ...
13887 * sysdeps/sh/nptl/tls.h: ... here.
13888 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
13889 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
13890 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
13891 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
13892 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
13893 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
13894 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
13895 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
13896 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
13897 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
13898 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
13899 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
13900 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
13901 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
13902 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
13903 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
13904 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
13905 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
13906 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
13907 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
13908 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
13909 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
13910 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
13911 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
13912 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
13913 Moved ...
13914 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
13915 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
13916 Moved ...
13917 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
13918 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
13919 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
13920 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
13921 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
13922 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
13923 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
13924 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
13925 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
13926 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
13927 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
13928 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
13929 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
13930 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
13931 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
13932 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
13933 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
13934 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
13935 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
13936
35a5e3e3
SL
139372014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13938
13939 * posix/spawn_faction_addopen.c: Include string.h.
13940
14642b85
RM
139412014-06-11 Roland McGrath <roland@hack.frob.com>
13942
13943 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
13944 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
13945 * nptl/sysdeps/x86_64/Makefile: Moved ...
13946 * sysdeps/x86_64/nptl/Makefile: ... here.
13947 * nptl/sysdeps/x86_64/configure: Moved ...
13948 * sysdeps/x86_64/nptl/configure: ... here.
13949 * nptl/sysdeps/x86_64/configure.ac: Moved ...
13950 * sysdeps/x86_64/nptl/configure.ac: ... here.
13951 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
13952 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
13953 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
13954 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
13955 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
13956 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
13957 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
13958 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
13959 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
13960 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
13961 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
13962 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
13963 * nptl/sysdeps/x86_64/tls.h: Moved ...
13964 * sysdeps/x86_64/nptl/tls.h: ... here.
13965 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
13966 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
13967 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
13968 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
13969
13970 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
13971
31c44fea
AZ
139722014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13973
13974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13975
e81a4f9a
JM
139762014-06-11 Joseph Myers <joseph@codesourcery.com>
13977
13978 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
13979 type.
13980 [POSIX] (off_t): Likewise.
13981 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
13982 [POSIX] (S_ISBLK): Require macro.
13983 [POSIX] (S_ISCHR): Likewise.
13984 [POSIX] (S_ISDIR): Likewise.
13985 [POSIX] (S_ISFIFO): Likewise.
13986 [POSIX] (S_ISREG): Likewise.
13987 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
13988 optional-macro.
13989 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
13990 type.
13991 [POSIX] (time_t): Likewise.
13992 [POSIX] (timer_t): Likewise.
13993
89e435f3
FW
139942014-06-11 Florian Weimer <fweimer@redhat.com>
13995
13996 [BZ #17048]
13997 * posix/spawn_int.h (struct __spawn_action): Make the path string
13998 non-const to support deallocation.
13999 * posix/spawn_faction_addopen.c
14000 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14001 * posix/spawn_faction_destroy.c
14002 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
14003 path in all spawn_do_open actions.
14004 * posix/tst-spawn.c (do_test): Exercise the copy operation in
14005 posix_spawn_file_actions_addopen.
14006
c3a2ebe1
CM
140072014-06-11 Chris Metcalf <cmetcalf@tilera.com>
14008
14009 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14010 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14011 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14012 conditional code always true.
14013 (__libc_vfork): New alias.
14014
9503784a
RM
140152014-06-11 Roland McGrath <roland@hack.frob.com>
14016
c9cab3d2
RM
14017 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14018 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14019
d3996c79
RM
14020 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14021
ba5ec611
RM
14022 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14023 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14024
f12b4814
RM
14025 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14026 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14027
9503784a
RM
14028 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14029 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
14030
e23d3d26
VR
140312014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14032
14033 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
14034 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
14035 multiarch strcmp for PPC64.
14036 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
14037 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
14038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
14039 multiarch optimizations.
14040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14041 (__libc_ifunc_impl_list): Likewise.
14042
42b1161e
SP
140432014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14044
14045 * benchtests/scripts/validate_benchout.py: New script.
14046 * benchtests/Makefile (bench-func): Call it.
14047 * benchtests/scripts/benchout.schema.json: New file.
14048
2d0fc4dc
CM
140492014-06-10 Chris Metcalf <cmetcalf@tilera.com>
14050
4a594c34
AZ
14051 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
14052 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
14053 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
14054 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
14055 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14056 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14057 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
14058 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
14059 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
14060 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
14061 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
14062 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
14063 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
14064 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
14065 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
14066 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
14067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 14068 Moved ...
4a594c34 14069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 14070 ... here.
4a594c34 14071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 14072 Moved ...
4a594c34
AZ
14073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
14074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 14075 Moved ...
4a594c34 14076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 14077 ... here.
4a594c34 14078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 14079 Moved ...
4a594c34 14080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 14081 ... here.
4a594c34 14082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 14083 Moved ...
4a594c34
AZ
14084 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
14085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 14086 Moved ...
4a594c34 14087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 14088 ... here.
4a594c34 14089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 14090 Moved ...
4a594c34 14091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 14092 ... here.
4a594c34 14093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 14094 Moved ...
4a594c34
AZ
14095 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
14096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 14097 Moved ...
4a594c34 14098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 14099 ... here.
4a594c34 14100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 14101 Moved ...
4a594c34 14102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 14103 ... here.
4a594c34 14104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 14105 Moved ...
4a594c34 14106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 14107 ... here.
4a594c34 14108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 14109 Moved ...
4a594c34
AZ
14110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
14111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 14112 Moved ...
4a594c34 14113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 14114 ... here.
4a594c34 14115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 14116 Moved ...
4a594c34 14117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 14118 ... here.
4a594c34 14119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 14120 Moved ...
4a594c34 14121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 14122 ... here.
4a594c34 14123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 14124 Moved ...
4a594c34
AZ
14125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
14126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 14127 Moved ...
4a594c34 14128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 14129 ... here.
4a594c34 14130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 14131 Moved ...
4a594c34 14132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 14133 ... here.
4a594c34 14134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 14135 Moved ...
4a594c34
AZ
14136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
14137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 14138 Moved ...
4a594c34 14139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 14140 ... here.
4a594c34 14141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 14142 Moved ...
4a594c34
AZ
14143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
14144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 14145 Moved ...
4a594c34
AZ
14146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
14147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 14148 Moved ...
4a594c34 14149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 14150 ... here.
4a594c34 14151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 14152 Moved ...
4a594c34 14153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 14154 ... here.
4a594c34 14155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 14156 Moved ...
4a594c34 14157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 14158 ... here.
4a594c34 14159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 14160 Moved ...
4a594c34
AZ
14161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
14162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 14163 Moved ...
4a594c34 14164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 14165 ... here.
4a594c34 14166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 14167 Moved ...
4a594c34 14168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 14169 ... here.
4a594c34
AZ
14170 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
14171 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
14172 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
14173 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
14174 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 14175 Moved ...
4a594c34 14176 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 14177 ... here.
4a594c34
AZ
14178 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
14179 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
14180 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
14181 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
14182 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
14183 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
14184 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
14185 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14186 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14187 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14188 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14189 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14190 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 14191 Moved ...
4a594c34
AZ
14192 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14193 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 14194 Moved ...
4a594c34
AZ
14195 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14196 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14197 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14198 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 14199 Moved ...
4a594c34
AZ
14200 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14201 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14202 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14203 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14204 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14205 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14206 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 14207
0570cfed
W
142082014-06-10 Wilco <wdijkstr@arm.com>
14209
14210 * math/test-fenv-return.c: New file.
14211 * math/Makefile: Add new test test-fenv-return.
14212
f8ba1b56
JM
142132014-06-10 Joseph Myers <joseph@codesourcery.com>
14214
14215 [BZ #17042]
14216 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14217 when x - 1 is zero.
14218 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14219 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14220 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14221 0.0L for an argument of 1.0L.
14222 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14223 Likewise.
14224 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14225 value when x - 1 is zero.
14226 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14227 * sysdeps/i386/fpu/libm-test-ulps: Update.
14228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14229
2c3520d9
BO
142302014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
14231
14232 [BZ #15119]
14233 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14234
acaa4d24
RM
142352014-06-09 Roland McGrath <roland@hack.frob.com>
14236
14237 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14238 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14239
962b744d
RM
142402014-06-09 Roland McGrath <roland@hack.frob.com>
14241
d752f0cc
RM
14242 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14243 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14244
34eda6d1
RM
14245 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14246 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14247
50f0a637
RM
14248 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14249 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14250
08f41f04
RM
14251 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14252 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14253
962b744d
RM
14254 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14255 if not already defined.
14256 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14257 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14258 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14259 (TLS_INIT_TP): Use it.
14260 (TLS_DEFINE_INIT_TP): New macro.
14261 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14262
09f19b05
JM
142632014-06-09 Joseph Myers <joseph@codesourcery.com>
14264
14265 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14266 constant.
14267 [POSIX] (IXANY): Likewise.
14268 [POSIX] (OLCUC): Likewise.
14269 [POSIX || POSIX2008] (CBAUD): Do not allow.
14270 [POSIX || POSIX2008] (DEFECHO): Likewise.
14271 [POSIX || POSIX2008] (ECHOCTL): Likewise.
14272 [POSIX || POSIX2008] (ECHOKE): Likewise.
14273 [POSIX || POSIX2008] (ECHOPRT): Likewise.
14274 [POSIX || POSIX2008] (EXTA): Likewise.
14275 [POSIX || POSIX2008] (EXTB): Likewise.
14276 [POSIX || POSIX2008] (FLUSHO): Likewise.
14277 [POSIX || POSIX2008] (LOBLK): Likewise.
14278 [POSIX || POSIX2008] (PENDIN): Likewise.
14279 [POSIX || POSIX2008] (SWTCH): Likewise.
14280 [POSIX || POSIX2008] (VDISCARD): Likewise.
14281 [POSIX || POSIX2008] (VDSUSP): Likewise.
14282 [POSIX || POSIX2008] (VLNEXT): Likewise.
14283 [POSIX || POSIX2008] (VREPRINT): Likewise.
14284 [POSIX || POSIX2008] (VSTATUS): Likewise.
14285 [POSIX || POSIX2008] (VWERASE): Likewise.
14286 (B*): Change to B[0123456789]*.
14287 * conform/data/time.h-data [POSIX || UNIX98]
14288 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14289 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14290 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14291 [POSIX] (tm_*): Do not allow.
14292
686554bf
JM
142932014-06-07 Joseph Myers <joseph@codesourcery.com>
14294
14295 * Makefile (install): Don't set LANGUAGE.
14296 * Makefile.in (install): Likewise.
14297 * assert/Makefile (test-assert-ENV): Remove variable.
14298 (test-assert-perr-ENV): Likewise.
14299 * elf/Makefile (neededtest4-ENV): Likewise.
14300 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14301 [$(cross-compiling) = no]: Don't set LANGUAGE.
14302 * io/ftwtest-sh (LANG): Remove variable.
14303 * libio/Makefile (tst-widetext-ENV): Likewise.
14304 * manual/install.texi (Running make install): Don't refer to
14305 environment settings for make install.
14306 * INSTALL: Regenerated.
14307 * nptl/tst-tls6.sh: Don't set LANG.
14308 * posix/globtest.sh (LANG): Remove variable.
14309 * string/Makefile (tester-ENV): Likewise.
14310 (inl-tester-ENV): Likewise.
14311 (noinl-tester-ENV): Likewise.
14312 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14313 [$(cross-compiling) = no]: Don't set LANGUAGE.
14314 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14315 without explicit environment settings.
14316
68e6b6b1
RM
143172014-06-06 Roland McGrath <roland@hack.frob.com>
14318
14319 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14320 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14321 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14322 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14323
4d3ae034
CM
143242014-06-06 Chris Metcalf <cmetcalf@tilera.com>
14325
14326 * crypt/crypt-private.h [DOS]: Add some includes taken from the
14327 other files in the crypt directory.
14328 * crypt/crypt.c: Remove duplicate includes.
14329 * crypt/crypt-entry.c: Likewise.
14330 * crypt/crypt_util.c: Likewise.
14331
8540f6d2
JM
143322014-06-06 Joseph Myers <joseph@codesourcery.com>
14333
14334 * Makeconfig (run-program-env): New variable.
14335 (run-program-prefix-before-env): Likewise.
14336 (run-program-prefix-after-env): Likewise.
14337 (run-program-prefix): Define in terms of new variables.
14338 (built-program-cmd-before-env): New variable.
14339 (built-program-cmd-after-env): Likewise.
14340 (built-program-cmd): Define in terms of new variables.
14341 (test-program-prefix-before-env): New variable.
14342 (test-program-prefix-after-env): Likewise.
14343 (test-program-prefix): Define in terms of new variables.
14344 (test-program-cmd-before-env): New variable.
14345 (test-program-cmd-after-env): Likewise.
14346 (test-program-cmd): Define in terms of new variables.
14347 * Rules (make-test-out): Use $(run-program-env).
14348 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14349 (help): Do not mention environment variables. Mention
14350 --timeoutfactor option.
14351 (timeoutfactor): New variable.
14352 (blacklist_exports): Remove function.
14353 (exports): Remove variable.
14354 (command): Do not include ${exports}.
14355 * manual/install.texi (Configuring and compiling): Do not mention
14356 test wrappers preserving environment variables. Mention that last
14357 assignment to a variable must take precedence.
14358 * INSTALL: Regenerated.
14359 * benchtests/Makefile (run-bench): Use $(run-program-env).
14360 * catgets/Makefile ($(objpfx)test1.cat): Use
14361 $(built-program-cmd-before-env), $(run-program-env) and
14362 $(built-program-cmd-after-env).
14363 ($(objpfx)test2.cat): Do not specify environment variables
14364 explicitly.
14365 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14366 $(run-program-env) and $(built-program-cmd-after-env).
14367 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14368 $(run-program-env) and $(test-program-cmd-after-env).
14369 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14370 explicitly.
14371 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14372 run_program_env and test_program_cmd_after_env arguments.
14373 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14374 * elf/tst-pathopt.sh: Use run_program_env argument.
14375 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14376 $(test-wrapper-env) and $(run-program-env).
14377 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14378 run_program_env arguments.
14379 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14380 * intl/Makefile ($(objpfx)tst-gettext.out): Use
14381 $(test-program-prefix-before-env), $(run-program-env) and
14382 $(test-program-prefix-after-env).
14383 ($(objpfx)tst-gettext2.out): Likewise.
14384 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14385 run_program_env and test_program_prefix_after_env arguments.
14386 * intl/tst-gettext2.sh: Likewise.
14387 * intl/tst-gettext4.sh: Do not set environment variables
14388 explicitly.
14389 * intl/tst-gettext6.sh: Likewise.
14390 * intl/tst-translit.sh: Likewise.
14391 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14392 $(test-program-prefix-before-env), $(run-program-env) and
14393 $(test-program-prefix-after-env).
14394 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14395 run_program_env and test_program_prefix_after_env arguments.
14396 * math/Makefile (run-regen-ulps): Use $(run-program-env).
14397 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14398 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
14399 explicitly with each use of ${test_wrapper_env}.
14400 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14401 $(test-program-prefix-before-env), $(run-program-env) and
14402 $(test-program-prefix-after-env).
14403 * posix/tst-getconf.sh: Do not set environment variables
14404 explicitly.
14405 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14406 run_program_env and test_program_prefix_after_env arguments.
14407 * stdio-common/tst-printf.sh: Do not set environment variables
14408 explicitly.
14409 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14410 $(test-program-prefix-before-env), $(run-program-env) and
14411 $(test-program-prefix-after-env).
14412 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14413 run_program_env and test_program_prefix_after_env arguments.
14414 Split $test calls into $test_pre and $test.
14415 * timezone/Makefile (build-testdata): Use
14416 $(built-program-cmd-before-env), $(run-program-env) and
14417 $(built-program-cmd-after-env).
14418
ed36bfa1
AZ
144192014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14420
14421 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14422 strlen for non SHARED builds.
14423
fc75bf46
SP
144242014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14425
14426 * nptl/allocatestack.c (check_list): Inlined function...
14427 (__reclaim_stacks): ... here.
14428
d89b3d80
OB
144292014-06-05 Ondřej Bílka <neleai@seznam.cz>
14430
14431 [BZ #15698]
14432 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14433 memory overrun.
14434
2bf18041
JM
144352014-06-05 Joseph Myers <joseph@codesourcery.com>
14436
14437 * Rules (make-test-out): Include
14438 LOCPATH=$(common-objpfx)localedata in default environment.
14439 * debug/Makefile (tst-chk1-ENV): Remove variable.
14440 (tst-chk2-ENV): Likewise.
14441 (tst-chk3-ENV): Likewise.
14442 (tst-chk4-ENV): Likewise.
14443 (tst-chk5-ENV): Likewise.
14444 (tst-chk6-ENV): Likewise.
14445 (tst-lfschk1-ENV): Likewise.
14446 (tst-lfschk2-ENV): Likewise.
14447 (tst-lfschk3-ENV): Likewise.
14448 (tst-lfschk4-ENV): Likewise.
14449 (tst-lfschk5-ENV): Likewise.
14450 (tst-lfschk6-ENV): Likewise.
14451 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
14452 (tst-iconv7-ENV): Likewise.
14453 * intl/Makefile (LOCPATH-ENV): Likewise.
14454 (tst-codeset-ENV): Likewise.
14455 (tst-gettext3-ENV): Likewise.
14456 (tst-gettext5-ENV): Likewise.
14457 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
14458 (tst-fopenloc-ENV): Likewise.
14459 (tst-fgetws-ENV): Remove variable.
14460 (tst-ungetwc1-ENV): Likewise.
14461 (tst-ungetwc2-ENV): Likewise.
14462 (bug-ungetwc2-ENV): Likewise.
14463 (tst-swscanf-ENV): Likewise.
14464 (bug-ftell-ENV): Likewise.
14465 (tst-fgetwc-ENV): Likewise.
14466 (tst-fseek-ENV): Likewise.
14467 (tst-ftell-partial-wide-ENV): Likewise.
14468 (tst-ftell-active-handler-ENV): Likewise.
14469 (tst-ftell-append-ENV): Likewise.
14470 * posix/Makefile (tst-fnmatch-ENV): Likewise.
14471 (tst-regexloc-ENV): Likewise.
14472 (bug-regex1-ENV): Likewise.
14473 (tst-regex-ENV): Likewise.
14474 (tst-regex2-ENV): Likewise.
14475 (bug-regex5-ENV): Likewise.
14476 (bug-regex6-ENV): Likewise.
14477 (bug-regex17-ENV): Likewise.
14478 (bug-regex18-ENV): Likewise.
14479 (bug-regex19-ENV): Likewise.
14480 (bug-regex20-ENV): Likewise.
14481 (bug-regex22-ENV): Likewise.
14482 (bug-regex23-ENV): Likewise.
14483 (bug-regex25-ENV): Likewise.
14484 (bug-regex26-ENV): Likewise.
14485 (bug-regex30-ENV): Likewise.
14486 (bug-regex32-ENV): Likewise.
14487 (bug-regex33-ENV): Likewise.
14488 (bug-regex34-ENV): Likewise.
14489 (bug-regex35-ENV): Likewise.
14490 (tst-rxspencer-ENV): Likewise.
14491 (tst-rxspencer-no-utf8-ENV): Likewise.
14492 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
14493 (tst-sscanf-ENV): Likewise.
14494 (tst-swprintf-ENV): Likewise.
14495 (tst-swscanf-ENV): Likewise.
14496 (test-vfprintf-ENV): Likewise.
14497 (scanf13-ENV): Likewise.
14498 (bug14-ENV): Likewise.
14499 (tst-grouping-ENV): Likewise.
14500 * stdlib/Makefile (tst-strtod-ENV): Likewise.
14501 (tst-strtod3-ENV): Likewise.
14502 (tst-strtod4-ENV): Likewise.
14503 (tst-strtod5-ENV): Likewise.
14504 (testmb2-ENV): Likewise./
14505 * string/Makefile (tst-strxfrm-ENV): Likewise.
14506 (tst-strxfrm2-ENV): Likewise.
14507 (bug-strcoll1-ENV): Likewise.
14508 (test-strcasecmp-ENV): Likewise.
14509 (test-strncasecmp-ENV): Likewise.
14510 * time/Makefile (tst-strptime-ENV): Likewise.
14511 (tst-ftime_l-ENV): Likewise.
14512 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
14513 (tst-mbrtowc-ENV): Likewise.
14514 (tst-wcrtomb-ENV): Likewise.
14515 (tst-mbrtowc2-ENV): Likewise.
14516 (tst-c16c32-1-ENV): Likewise.
14517 (tst-mbsnrtowcs-ENV): Likewise.
14518
cd1fb604
OB
145192014-06-05 Ondřej Bílka <neleai@seznam.cz>
14520
14521 * manual/resource.texi (How to get information about the memory
14522 subsystem?): Fix typo.
14523 Reported by Peon de la Parra Ivan <peon@keba.com>
14524
b42eca7d
GY
145252014-06-03 Guo Yixuan <culu.gyx@gmail.com>
14526
14527 [BZ #16882]
14528 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
14529 (pthread_spin_lock): Branch out of spin loop to proper location.
14530 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
14531 (pthread_spin_lock): Likewise.
14532
902b71f9
DM
14533 * nptl/tst-spin4.c: New test.
14534 * nptl/Makefile (tests): Add tst-spin4.
14535
f9d2d032
AS
145362014-06-03 Andreas Schwab <schwab@suse.de>
14537
14538 [BZ #15946]
14539 * resolv/res_send.c (send_dg): Reload file descriptor after
14540 calling reopen.
14541
cf7bfd28
SL
145422014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
14543
14544 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14545
111cc714
RH
145462014-06-03 Richard Henderson <rth@redhat.com>
14547
89b4bd6b
RH
14548 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
14549 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
14550 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
14551 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
14552 in the SAVE_PID block.
14553 (__libc_vfork): New alias.
71840409 14554 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 14555
111cc714
RH
14556 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
14557 child in registers, not on the stack. Remove RESET_PID conditionals.
14558 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
14559
ccc39911
MS
145602014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
14561
14562 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14563
693096cc
W
145642014-06-03 Wilco <wdijkstr@arm.com>
14565
14566 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
14567 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
14568 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14569 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
14570 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
14571 Likewise.
14572
0b4366bc
W
145732014-06-03 Wilco <wdijkstr@arm.com>
14574
14575 * sysdeps/aarch64/fpu/math_private.h
14576 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
14577 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
14578 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
14579 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14580 Fix declarations.
14581
8747cd03
KS
145822014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14583
14584 * crypt/crypt-private.h: Include ufc-crypt.h.
14585 (__b64_from_24bit): Declare extern.
14586 * crypt/crypt_util.c(__b64_from_24bit): New function.
14587 (b64t): New static const variable.
14588 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
14589 (b64t): Remove variable.
14590 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
14591 * crypt/sha256-crypt.c: Include crypt-private.h.
14592 (b64t): Remove variable.
14593 (__sha256_crypt_r): Remove b64_from_24bit and replace
14594 with __b64_from_24bit.
14595 * crypt/sha512-crypt.c: Likewise.
14596
d936d379
RM
145972014-06-02 Roland McGrath <roland@hack.frob.com>
14598
14599 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
14600 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
14601 Label the code __libc_vfork rather than __vfork.
14602 [!NOT_IN_libc] (vfork): Define as weak alias.
14603 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
14604 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
14605 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
14606
9fa76613
SP
146072014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14608
14609 * malloc/malloc.c (malloc_info): Fix format specifier for
14610 n_mmaps.
14611
a88dadbe
W
146122014-06-02 Wilco <wdijkstr@arm.com>
14613
14614 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
14615 FPCR write.
14616
c95b3011
W
146172014-06-02 Wilco <wdijkstr@arm.com>
14618
14619 [BZ #17009]
14620 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
14621 Rewrite to reduce FPCR/FPSR accesses.
14622
6b4d7a90
DM
146232014-06-01 David S. Miller <davem@davemloft.net>
14624
14625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14626
30f3d07c
DM
146272014-05-31 David S. Miller <davem@davemloft.net>
14628
14629 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
14630 to occur in round to nearest mode when |x| >= 2.0
14631
74f31c18
RH
146322014-05-30 Richard Henderson <rth@twiddle.net>
14633
f0712b54
RH
14634 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
14635 (PSEUDO_RET_NOERRNO): Remove.
14636 (ret): Don't redefine.
14637 (ret_NOERRNO): Define in terms of ret.
14638 (ret_ERRVAL): Likewise.
14639
74f31c18
RH
14640 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
14641 use of PSEUDO_RET; perform the error check directly.
14642
30477995
MM
146432014-05-30 Marko Myllynen <myllynen@redhat.com>
14644
14645 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
14646 with __int128_t.
14647
62a58816
SP
146482014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14649
14650 * malloc/malloc (malloc_info): Fix formatting.
14651
4d653a59
SP
146522014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14653 Roland McGrath <roland@hack.frob.com>
14654
14655 * malloc/malloc (malloc_info): Also print mmapped statistics.
14656
5190c17f
RM
146572014-05-30 Roland McGrath <roland@hack.frob.com>
14658
14659 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
14660 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
14661
987c0269
OB
146622014-05-30 Ondřej Bílka <neleai@seznam.cz>
14663
14664 * malloc/malloc.c (malloc_info): Inline mi_arena.
14665
af4e8ef9
RH
146662014-05-29 Richard Henderson <rth@twiddle.net>
14667
1670e207
RH
14668 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
14669 Remove comma before expanding ASM_ARGS_##nr.
14670 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
14671 Make _x0 a strict output; make _x8 a strict input; adjust expansion
14672 of ASM_ARGS_##nr.
14673 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
14674 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
14675 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
14676 (ASM_ARGS_1): Add leading comma.
14677
11a28aee
RH
14678 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
14679 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
14680 to __errno_location.
14681 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
14682 Remove the expected plt for __errno_location.
14683
a17e5ffb 14684 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 14685 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
14686 call to __read_tp.
14687
b5be4597
RH
14688 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14689 Always allocate 64 bytes of stack frame. Use ldp/stp to create
14690 it and break it down.
14691 (DOCARGS_0, DOCARGS_1): Do nothing.
14692 (DOCARGS_2): Update to store into the new stack frame.
14693 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
14694 (UNDOCARGS_1): Update to restore from the new stack frame.
14695 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
14696 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
14697
645d44ab
RH
14698 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14699 (SINGLE_THREAD_P): New parameter for result regno.
14700 (PSEUDO): Update to match; use cbz instead of beq.
14701
a8b4f04a
RH
14702 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14703 Use ENTRY to define the _nocancel entry point. Share the syscall
14704 and syscall error check paths with the cancel path.
14705 (PSEUDO_END): New.
14706
af4e8ef9
RH
14707 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
14708 whitespace; tabs before and after asm mnemonics.
14709
26b0d2e1
EW
147102014-05-29 Eric Wong <normalperson@yhbt.net>
14711
14712 [BZ #15132]
14713 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14714 Call fstat64 or stat64 internally, depending on arguments passed.
14715 Replace stat buffer argument with file descriptor argument.
14716 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
14717 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14718 Pass fd to __internal_statvfs instead of calling fstat64.
14719 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
14720 Pass fd to __internal_statvfs64 instead of calling fstat64.
14721 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
14722 Pass -1 to __internal_statvfs instead of calling stat64.
14723 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
14724 Pass -1 to __internal_statvfs64 instead of calling stat64.
14725
1efe2bd9
RM
147262014-05-28 Roland McGrath <roland@hack.frob.com>
14727
0d3b7a19
RM
14728 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
14729 that was previously under [RESET_PID].
14730 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
14731
1efe2bd9
RM
14732 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
14733 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
14734
a6bea3ca
RM
147352014-05-27 Roland McGrath <roland@hack.frob.com>
14736
30b6629e
RM
14737 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
14738
a6bea3ca
RM
14739 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
14740 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
14741
3dfb9a5c
OB
147422014-05-27 Ondřej Bílka <neleai@seznam.cz>
14743
14744 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
14745
774f9285
AS
147462014-05-27 Andreas Schwab <schwab@suse.de>
14747
14748 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
14749 TLS_INIT_TP macro.
14750 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
14751 * elf/rtld.c (init_tls, dl_main): Likewise.
14752 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
14753 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
14754 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
14755 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
14756 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
14757 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
14758 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
14759 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
14760 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
14761 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
14762 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
14763 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
14764 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
14765 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
14766 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
14767 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
14768 * sysdeps/generic/tls.h: Update description.
14769
36ffe739
WN
147702014-05-27 Will Newton <will.newton@linaro.org>
14771
14772 [BZ #16990]
14773 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
14774 and restore r2 rather than just restoring.
14775
2482ae43
SP
147762014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14777
14778 [BZ #16724]
14779 * libio/tst-ftell-append.c: New test case.
14780 * libio/Makefile (tests): Add test case.
14781 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
14782 append mode.
14783 * libio/wfileops.c (do_ftell_wide): Likewise.
14784
3d1024e8
AZ
147852014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14786
bab90016
AZ
14787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14788
c7a8d667
AZ
14789 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
14790 ...
14791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
14792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14793 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
14794 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
14795 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
14796 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
14797 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
14798 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
14799 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
14800 Moved ...
14801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
14802 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
14803 Moved ...
14804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
14805 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
14806 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
14807 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
14808 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
14809 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
14810 ...
14811 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
14812 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
14813 Moved ...
14814 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
14815 here.
14816 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
14817 ...
14818 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
14819 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
14820 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
14821
daee7851
AZ
14822 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
14823 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
14824 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
14825 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
14826
50a40819
AZ
14827 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
14828 merge into ...
14829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
14830 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
14831 ...
14832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
14833 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
14834 ...
14835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
14836 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14837 Moved ...
14838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
14839 here.
14840 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14841 Moved ...
14842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
14843 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14844 Moved ...
14845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
14846
8464c2a1
AZ
14847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
14848 conditional [RESET_PID].
14849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14850 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
14851 removed.
14852 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
14853 removed.
14854
3d1024e8
AZ
14855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
14856 <tcb-offsets.h>.
14857 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14858 (__libc_vfork): New strong alias.
14859 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
14860 removed.
14861 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
14862 Removed.
14863
14864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
14865 <tcb-offsets.h>.
14866 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
14867 (__libc_vfork): New strong alias.
14868 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
14869 removed.
14870 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
14871 removed.
14872
fdfd175d
CD
148732014-05-26 Carlos O'Donell <carlos@redhat.com>
14874
14875 * malloc/malloc.c (mi_arena): New function.
14876 (malloc_info): Remove nested function mi_arena. Call non-nosted
14877 function mi_arena.
14878
d298c416
AZ
148792014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14880
14881 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
14882 by insrwi.
14883 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
14884 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
14885 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
14886 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
14887 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
14888 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
14889 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
14890
b60ea6ff
AS
148912014-05-26 Andreas Schwab <schwab@suse.de>
14892
14893 [BZ #16984]
14894 * locale/programs/repertoire.c (repertoire_read): Add slash
14895 between I18NPATH element and file name.
14896 * locale/programs/locfile.c (locfile_read): Likewise.
14897
67365926
SL
148982014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
14899
14900 * nptl/pthread_mutexattr_settype.c
14901 (__pthread_mutexattr_settype):
14902 Disable lock elision for PTHREAD_MUTEX_NORMAL.
14903
f8bdf1f0
SL
149042014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
14905
14906 * nptl/tst-mutex5 (do_test):
14907 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
14908
15eaf6ff
SP
149092014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14910
14911 * benchtests/README: Document 'init' directive.
14912 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
14913 BENCH_INIT.
14914 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
14915 (parse_file): Recognize 'init' directive.
14916
75f11331
KM
149172014-05-26 Kyle McMartin <kyle@redhat.com>
14918
14919 [BZ #16796]
14920 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
14921 alignment of struct pthread.
14922
c3ec475c
SP
149232014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14924
14925 [BZ #16878]
14926 * nscd/netgroupcache.c (addgetnetgrentX): Look for
14927 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14928 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
14929 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14930
82aab97c
RH
149312014-05-25 Richard Henderson <rth@twiddle.net>
14932
aa2f176d
RH
14933 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14934 (SINGLE_THREAD_P_PIC): Remove.
14935 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
14936 (SINGLE_THREAD_P_PIC): Remove.
14937
ca3cfa40
RH
14938 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
14939 branch to syscall error ...
14940 (PSEUDO): ... here.
14941 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
14942 from __local_syscall_error to .Lsyscall_error.
14943 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
14944 (SYSCALL_ERROR): Update label name.
14945
6e6c2d01
RH
14946 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14947 Do not use DOARGS/UNDOARGS.
14948 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
14949 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
14950 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
14951 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
14952 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
14953
c69abcee
RH
14954 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
14955 block comment.
14956
82aab97c
RH
14957 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
14958 define if !NOT_IN_libc.
14959 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
14960 define with non-default symbol versions.
14961
8820e3ac
RH
149622014-05-23 Richard Henderson <rth@twiddle.net>
14963
900e445f
RH
14964 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
14965 (vfork, __vfork): Define via compat_symbol.
14966
8820e3ac
RH
14967 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
14968 [!HAVE_IFUNC] (vfork_compat): Remove.
14969 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
14970
e59252a5
JM
149712014-05-23 Joseph Myers <joseph@codesourcery.com>
14972
14973 [BZ #16978]
14974 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
14975 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
14976 variable.
14977
132c7f5f
RH
149782014-05-23 Richard Henderson <rth@twiddle.net>
14979
bc89e962
RH
14980 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
14981 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
14982 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
14983 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
14984
14985 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
14986 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
14987 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
14988 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
14989 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
14990 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
14991 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
14992 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
14993 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
14994 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
14995 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
14996 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
14997 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
14998 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
14999 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15000 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15001 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15002 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15003 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15004 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15005 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15006 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15007 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15008 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15009 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15010 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15011 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15012 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15013 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15014 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15015 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15016 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15017 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15018 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15019 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15020 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15021 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15022 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15023 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15024 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15025 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15026 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15027 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15028 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15029 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
15030 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
15031 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
15032 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
15033 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
15034 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
15035 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
15036 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
15037 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
15038 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
15039 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
15040 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
15041
e2fa4bc2
RH
15042 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
15043 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
15044 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
15045 before exiting on error.
15046 (__libc_vfork): New strong alias.
15047 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
15048 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
15049
279b24e2
RH
15050 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
15051 that was previously under [RESET_PID].
15052 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
15053
132c7f5f
RH
15054 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
15055
b72592e7
JM
150562014-05-23 Joseph Myers <joseph@codesourcery.com>
15057
15058 [BZ #16977]
15059 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
15060 value when x - 1 is zero.
15061 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
15062 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15063 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
15064 0.0L for an argument of 1.0L.
15065 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15066 Likewise.
15067 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
15068 value when x - 1 is zero.
15069 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
15070 * sysdeps/i386/fpu/libm-test-ulps: Update.
15071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15072
2302d679
RV
150732014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15074
15075 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
15076 alphasort and versionsort.
15077
32999d63
AZ
150782014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15079
15080 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
15081 macro.
15082 [copysignf]: Likewise.
15083
019324d0
SP
150842014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15085
15086 * crypt/md5-crypt.c: Fix formatting.
15087
34fff5c2
KS
150882014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15089
15090 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
15091 (b64_from_24bit): New function.
15092
3d2badac
AZ
150932014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15094
15095 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
15096 libc_hidden_builtin_def to ifunc.
15097 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15098 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
15099
f7bb179f 151002014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
15101
15102 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
15103 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
15104
4134b50d
JM
151052014-05-21 Joseph Myers <joseph@codesourcery.com>
15106
bb7d0337
JM
15107 * nscd/Depend (linuxthreads): Remove.
15108 (nptl): Add.
15109 * resolv/Depend (linuxthreads): Remove.
15110 * rt/Depend (linuxthreads): Remove.
15111
4134b50d
JM
15112 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
15113 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15114 $(common-objpfx)elf/.
15115 (link-libc-before-gnulib): Likewise.
15116 (elfobjdir): Remove variable.
15117 * Makefile (install): Use $(elf-objpfx) instead of
15118 $(common-objpfx)elf/.
15119 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
15120 $(elfobjdir)/.
15121 (link-libc-deps): Likewise.
15122 ($(common-objpfx)libc.so): Likewise.
15123 ($(common-objpfx)linkobj/libc.so): Likewise.
15124 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
15125 instead of $(common-objpfx)elf/.
15126 (symbolic-link-list): Likewise.
15127 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15128 [$(cross-compiling) = no]: Likewise.
15129 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15130 $(elfobjdir)/.
15131 (static-gnulib-arch): Likewise.
15132 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15133 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15134 $(common-objpfx)elf/.
15135
3612eb8f
RH
151362014-05-21 Richard Henderson <rth@redhat.com>
15137
a6b3657b
RH
15138 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15139 (SINGLE_THREAD_P): Use the correct width load. Fold
15140 into the ldr offset.
15141
3612eb8f
RH
15142 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
15143 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
15144
175cef41
JM
151452014-05-20 Joseph Myers <joseph@codesourcery.com>
15146
15147 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
15148 (libgcc_s_resume): Use __attribute_used__.
15149 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
15150 Likewise.
15151
e13bccd3
AZ
151522014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15153
15154 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
15155 optimization when used with float constants.
15156
7c112a38
AZ
15157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15158
ae75a883
AJ
151592014-05-20 Aurelien Jarno <aurelien@aurel32.net>
15160
15161 [BZ #16915]
15162 * locale/nl_langinfo_l.c: Make direct reference to every
15163 _nl_current_CATEGORY symbol.
15164 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
15165 (tests-static): Add tst-langinfo-static.
15166 (tests-special): Add tst-langinfo-static.out.
15167 ($(objpfx)tst-langinfo.out): Redirect output.
15168 ($(objpfx)tst-langinfo-static.out): New.
15169 * localedata/tst-langinfo.sh: Send output to stdout.
15170 * localedata/tst-langinfo-static.c: New file.
15171
4406c41c
AJ
15172 [BZ #16965]
15173 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
15174 when the shift amount is modulo the limb size.
15175
4c0a1e63
RH
151762014-05-20 Richard Henderson <rth@redhat.com>
15177
de9d8f20
RH
15178 [BZ #16967]
15179 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
15180 Change type of sa_flags from unsigned int to int.
15181
4c0a1e63
RH
15182 [BZ #16966]
15183 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
15184
15185 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15186
a60339aa
WN
151872014-05-20 Will Newton <will.newton@linaro.org>
15188
15189 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15190 Test the return value of the system call in the nocancel case.
15191
7d05a816
YR
151922014-05-20 Will Newton <will.newton@linaro.org>
15193 Yvan Roux <yvan.roux@linaro.org>
15194
15195 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15196 #include of asm/ptrace.h.
15197 (PTRACE_GET_THREAD_AREA): Remove #undef.
15198 (PTRACE_GETHBPREGS): Likewise.
15199 (PTRACE_SETHBPREGS): Likewise.
15200 (struct user_regs_struct): New structure.
15201 (struct user_fpsimd_struct): New structure.
15202 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15203 #include of asm/ptrace.h and second #include of sys/user.h.
15204 (PTRACE_GET_THREAD_AREA): Remove #undef.
15205 (PTRACE_GETHBPREGS): Likewise.
15206 (PTRACE_SETHBPREGS): Likewise.
15207 (ELF_NGREG): Use new struct user_regs_struct.
15208 (elf_fpregset_t): Use new struct user_fpsimd_struct.
15209
af121e37
AZ
152102014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15211
15212 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15213 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15214
834caf06
JM
152152014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15216
15217 [BZ #16958]
15218 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15219 membar to avoid block loads/stores to overlap previous stores.
15220
e184a918
RH
152212014-05-17 Richard Henderson <rth@redhat.com>
15222
15223 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15224 Create the __##syscall_name##_nocancel entry point.
15225 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15226 Remove; let the sysdep-cancel.h code create it.
15227
f56c7a6a
DM
152282014-05-17 David S. Miller <davem@davemloft.net>
15229
15230 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15231 Protect with __USE_GNU.
15232 (TIOCSET_TEMPT): Likewise.
15233 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15234 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15235 these are already provided in bits/ioctl-types.h
15236
f75616b2
RM
152372014-05-16 Roland McGrath <roland@hack.frob.com>
15238
3edeca86
RM
15239 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15240 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15241
f75616b2
RM
15242 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15243 Use wait4 regardless of [__NR_waitpid].
15244
deb0f7f6
MR
152452014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15246
15247 PR libgcc/60166
15248 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15249 (_FP_NANSIGN_Q): Set the quiet bit.
15250
79520f4b
JM
152512014-05-16 Joseph Myers <joseph@codesourcery.com>
15252
15253 * benchtests/Makefile
15254 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15255 not $(common-objpfx)math/libm.so.
15256 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15257 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15258 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15259 $(common-objpfx)dlfcn/libdl.so.
15260 ($(objpfx)tst-audit8): Depend on $(libm), not
15261 $(common-objpfx)math/libm.so.
15262 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15263 not $(common-objpfx)dlfcn/libdl.so.
15264 * math/Makefile
15265 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15266 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
15267 [$(build-shared) = yes].
15268 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15269 $(common-objpfx)nptl/libpthread.so.
15270 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15271 $(common-objpfx)math/libm.so$(libm.so-version) or
15272 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15273 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15274 $(common-objpfx)dlfcn/libdl.so.
15275 * setjmp/Makefile (link-libm): Remove variable.
15276 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15277 * stdio-common/Makefile (link-libm): Remove variable.
15278 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15279 * stdlib/Makefile (link-libm): Remove variable.
15280 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15281 ($(objpfx)tst-strtod-round): Likewise.
15282 ($(objpfx)tst-tininess): Likewise.
15283 ($(objpfx)tst-strtod-underflow): Likewise.
15284 ($(objpfx)tst-strtod6): Likewise.
15285 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15286 $(libdl), not $(common-objpfx)nptl/libpthread.so and
15287 $(common-objpfx)dlfcn/libdl.so.
15288
026b0fe4
AZ
152892014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15290
15291 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15292 BSD terminal modes definitions.
15293
def4bcb2
RM
152942014-05-16 Roland McGrath <roland@hack.frob.com>
15295
fe39b021
RM
15296 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15297 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15298
1d1fc46e 15299 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
15300 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15301 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15302 Don't do #include_next.
15303 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15304 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15305 Don't do #include_next.
15306 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15307 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15308 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15309 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15310
c72399fb
AM
153112014-05-16 Allan McRae <allan@archlinux.org>
15312
d51d659d
AM
15313 * po/sv.po: Update Swedish translation from translation project.
15314
c72399fb
AM
15315 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15316 in sed expression.
15317
d0583c40
AJ
153182014-05-16 Aurelien Jarno <aurelien@aurel32.net>
15319
15320 [BZ #16917]
15321 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15322 errno if the TIOCGPTN ioctl fails with an error different than
15323 EINVAL.
15324 * login/tst-ptsname.c: New file.
15325 * login/Makefile (tests): Add tst-ptsname.
15326
d16e6ec7
AJ
15327 [BZ #16943]
15328 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15329 and prlimit64.
15330
cf26a0cb
SP
153312014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15332
15333 [BZ #16849]
15334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15335 herrno to return EAI_AGAIN.
15336
5675da1e
RM
153372014-05-14 Roland McGrath <roland@hack.frob.com>
15338
a5d87b3d
RM
15339 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15340 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15341 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15342 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15343 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15344 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15345 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15346 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15347 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15348 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15349 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15350 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15351 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15352 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15353 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15354 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15355 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15356 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15357 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15358 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15359 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15360 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15361 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15362 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15363 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15364 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15365 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15366 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15367 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15368 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15370 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15372 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15374 Moved ...
15375 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15377 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15379 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15381 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15383 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15385 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15387 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15389 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15391 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15393 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15395 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15397 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15399 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15401 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15403 Moved ...
15404 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15406 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15408 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15410 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15412 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15414 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15416 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15418 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15420 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15422 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15424 Moved ...
15425 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15427 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15428
039890a6
RM
15429 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15430 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15431 (libpthread-sysdep_routines): Add elision-related stuff here instead.
15432 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
15433 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
15434 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
15435 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
15436 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
15437 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
15438 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
15439 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
15440 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
15441 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
15442 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
15443 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
15444 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
15445 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
15446 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
15447 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
15448 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
15449 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
15450 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
15451 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
15452 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
15453 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
15454 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
15455 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
15456 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
15457 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
15458 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
15459 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
15460
65c89320
RM
15461 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
15462 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
15463
348f8e8c
RM
15464 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
15465 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
15466 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
15467 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
15468 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
15469 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
15470 Moved ...
15471 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
15472 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15473 Moved ...
15474 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
15475 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15476 Moved ...
15477 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
15478 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
15479 Moved ...
15480 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
15481 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
15482 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
15483 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15484 Moved ...
15485 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
15486 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
15487 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
15488 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
15489 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
15490 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
15491 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
15492 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15493 Moved ...
15494 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
15495 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15496 Moved ...
15497 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15498 ... here.
15499 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
15500 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
15501 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
15502 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
15503 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15504 Moved ...
15505 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15506 ... here.
15507 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
15508 Moved ...
15509 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
15510 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
15511 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
15512 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
15513 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
15514 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
15515 Moved ...
15516 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
15517 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15518 Moved ...
15519 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
15520 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15521 Moved ...
15522 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
15523 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
15524 Moved ...
15525 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
15526 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
15527 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
15528 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
15529 Moved ...
15530 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
15531 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
15532 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
15533 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
15534 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
15535 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
15536 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
15537 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15538 Moved ...
15539 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
15540 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15541 Moved ...
15542 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15543 ... here.
15544 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
15545 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
15546 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
15547 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
15548 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15549 Moved ...
15550 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15551 ... here.
15552 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
15553 Moved ...
15554 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
15555 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
15556 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
15557 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
15558 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
15559 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
15560 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
15561 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
15562 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
15563 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
15564 Moved ...
15565 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
15566 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15567 Moved ...
15568 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
15569 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15570 Moved ...
15571 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
15572 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
15573 Moved ...
15574 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
15575 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
15576 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
15577 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
15578 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
15579 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15580 Moved ...
15581 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
15582 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
15583 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
15584 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
15585 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
15586 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
15587 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
15588 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15589 Moved ...
15590 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
15591 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15592 Moved ...
15593 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15594 ... here.
15595 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
15596 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
15597 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
15598 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
15599 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15600 Moved ...
15601 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15602 ... here.
15603 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
15604 Moved ...
15605 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
15606 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
15607 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
15608 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
15609 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
15610 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
15611 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
15612 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
15613 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
15614 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
15615 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
15616
5085af05
RM
15617 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
15618 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
15619
708f0813
RM
15620 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
15621 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
15622
c96067bc
RM
15623 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
15624 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
15625 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
15626 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
15627 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
15628 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
15629 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
15630 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
15631 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
15632 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
15633 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
15634 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
15635 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
15636 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
15637 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
15638 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
15639 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
15640 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
15641 Moved ...
15642 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
15643 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
15644 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
15645 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
15646 Moved ...
15647 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
15648 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
15649 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
15650 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
15651 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
15652 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
15653 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
15654 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
15655 Moved ...
15656 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
15657 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
15658 Moved ...
15659 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
15660 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
15661 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
15662 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
15663 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
15664 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
15665 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
15666 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
15667 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
15668 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
15669 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
15670 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
15671 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
15672 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
15673 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
15674 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
15675 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
15676
ec136444
RM
15677 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
15678 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
15679 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
15680 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
15681 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
15682
2fbdf533
RM
15683 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
15684 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
15685 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
15686 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
15687 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
15688 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
15689 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
15690 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
15691 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
15692 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
15693
4c68138b
RM
15694 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
15695 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
15696
4eaae765
RM
15697 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
15698 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
15699 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
15700 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
15701 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
15702 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
15703 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
15704 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
15705 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
15706 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
15707 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
15708 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
15709 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
15710 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
15711 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
15712 Update #include.
15713 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
15714 Likewise.
15715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15716 Likewise.
15717 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15718 Likewise.
15719 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15720 Likewise.
15721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
15722 Likewise.
15723 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
15724 Likewise.
15725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15726 Likewise.
15727 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
15728 Likewise.
15729 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
15730 Likewise.
4ef6befa
RM
15731 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
15732 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
15733 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
15734 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
15735 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
15736 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
15737 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
15738 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
15739 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
15740 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
15741 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
15742 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
15743 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
15744 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
15745 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 15746
941d7dfd
RM
15747 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
15748 that was previously under [RESET_PID].
15749 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15750 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
15751 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
15752
1b731c35
RM
15753 * sysdeps/i386/nptl/Implies: New file.
15754 * sysdeps/x86_64/nptl/Implies: New file.
15755 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
15756 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
15757 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
15758 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
15759
e2787137
RM
15760 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
15761 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15762 (__libc_vfork): New strong alias.
15763 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
15764 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
15765
15766 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
15767 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15768 (__libc_vfork): New strong alias.
15769 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
15770 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
15771
5675da1e
RM
15772 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
15773 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15774 (__libc_vfork): New strong alias.
15775 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
15776 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
15777 * nptl/pt-vfork.c: New file.
15778 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
15779 (libpthread: GLIBC_2.20): New version set (empty).
15780
4f02e2b8
WN
157812014-05-14 Will Newton <will.newton@linaro.org>
15782
15783 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
15784 rather than #if.
15785
0bf061d3
JM
157862014-05-14 Joseph Myers <joseph@codesourcery.com>
15787
1a84c3d6
JM
15788 [BZ #16564]
15789 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
15790 arguments with exponent 65 or above.
15791 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
15792 arguments 0x1p113L or above.
15793 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
15794 to arguments 0x1p107L or above.
15795 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
15796 positive arguments with exponent 65 or above.
15797 * math/auto-libm-test-in: Add more tests of log1p.
15798 * math/auto-libm-test-out: Regenerated.
15799
01dbacd2
JM
15800 [BZ #16928]
15801 * math/s_cacos.c (__cacos): Ensure zero real part of result from
15802 non-finite arguments is +0.
15803 * math/s_cacosf.c (__cacosf): Likewise.
15804 * math/s_cacosl.c (__cacosl): Likewise.
15805 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
15806 * sysdeps/i386/fpu/libm-test-ulps: Update.
15807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15808
913d03c8
JM
15809 [BZ #16927]
15810 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
15811 value.
15812 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15813 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
15814 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
15815 for explicit high bit of mantissa when testing for argument equal
15816 to 1.
15817 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
15818 * sysdeps/i386/fpu/libm-test-ulps: Update.
15819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15820
0bf061d3
JM
15821 [BZ #16516]
15822 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
15823 (__erf): Scale by 16 instead of 8 in potentially underflowing
15824 case. Ensure exception if result actually underflows.
15825 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
15826 (__erff): Scale by 16 instead of 8 in potentially underflowing
15827 case. Ensure exception if result actually underflows.
15828 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
15829 (efx8): Remove variable.
15830 (__erfl): Scale by 16 instead of 8 in potentially underflowing
15831 case. Ensure exception if result actually underflows.
15832 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
15833 (efx8): Remove variable.
15834 (__erfl): Scale by 16 instead of 8 in potentially underflowing
15835 case. Ensure exception if result actually underflows.
15836 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
15837 (efx8): Remove variable.
15838 (__erfl): Scale by 16 instead of 8 in potentially underflowing
15839 case. Ensure exception if result actually underflows.
15840 * math/auto-libm-test-in: Add more tests of erf.
15841 * math/auto-libm-test-out: Regenerated.
15842
73ba67cb
AS
158432014-05-14 Andreas Schwab <schwab@suse.de>
15844
3d8c8bff
AS
15845 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
15846 Remove code conditionalized on USE___THREAD.
15847
73ba67cb
AS
15848 * config.h.in (HAVE_PT_CHOWN): Define as 0.
15849 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
15850 not definedness.
15851
5c521ecd
JM
158522014-05-14 Joseph Myers <joseph@codesourcery.com>
15853
5e7698c6
JM
15854 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
15855 Define unconditionally.
15856 (__ASSUME_O_CLOEXEC): Likewise.
15857 (__ASSUME_SOCK_CLOEXEC): Likewise.
15858 (__ASSUME_IN_NONBLOCK): Likewise.
15859 (__ASSUME_PIPE2): Likewise.
15860 (__ASSUME_EVENTFD2): Likewise.
15861 (__ASSUME_SIGNALFD4): Likewise.
15862 (__ASSUME_DUP3): Likewise.
15863 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15864 (__ASSUME_DUP3): Do not define.
15865 (__ASSUME_EVENTFD2): Likewise.
15866 (__ASSUME_IN_NONBLOCK): Likewise.
15867 (__ASSUME_O_CLOEXEC): Likewise.
15868 (__ASSUME_PIPE2): Likewise.
15869 (__ASSUME_SIGNALFD4): Likewise.
15870 (__ASSUME_SOCK_CLOEXEC): Likewise.
15871 (__ASSUME_UTIMES): Undefine.
15872 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15873 (__ASSUME_UTIMES): Do not define.
15874 (__ASSUME_O_CLOEXEC): Likewise.
15875 (__ASSUME_SOCK_CLOEXEC): Likewise.
15876 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
15877 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
15878 0x020621].
15879 (__ASSUME_PIPE2): Likewise.
15880 (__ASSUME_EVENTFD2): Likewise.
15881 (__ASSUME_SIGNALFD4): Likewise.
15882 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
15883 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
15884 Do not define.
15885 (__ASSUME_EVENTFD2): Likewise.
15886 (__ASSUME_SIGNALFD4): Likewise.
15887 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15888 (__ASSUME_32BITUIDS): Likewise.
15889 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15890 (__ASSUME_IPC64): Likewise.
15891 (__ASSUME_ST_INO_64_BIT): Likewise.
15892 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
15893 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
15894 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15895 (__ASSUME_UTIMES): Do not define.
15896 (__ASSUME_PSELECT): Likewise.
15897 (__ASSUME_PPOLL): Likewise.
15898 (__ASSUME_O_CLOEXEC): Likewise.
15899 (__ASSUME_SOCK_CLOEXEC): Likewise.
15900 (__ASSUME_IN_NONBLOCK): Likewise.
15901 (__ASSUME_PIPE2): Likewise.
15902 (__ASSUME_EVENTFD2): Likewise.
15903 (__ASSUME_SIGNALFD4): Likewise.
15904 (__ASSUME_DUP3): Likewise.
15905 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15906 (__ASSUME_UTIMES): Likewise.
15907 (__ASSUME_O_CLOEXEC): Likewise.
15908 (__ASSUME_SOCK_CLOEXEC): Likewise.
15909 (__ASSUME_IN_NONBLOCK): Likewise.
15910 (__ASSUME_PIPE2): Likewise.
15911 (__ASSUME_EVENTFD2): Likewise.
15912 (__ASSUME_SIGNALFD4): Likewise.
15913 (__ASSUME_DUP3): Likewise.
15914 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15915 (__ASSUME_UTIMES): Likewise.
15916 (__ASSUME_O_CLOEXEC): Likewise.
15917 (__ASSUME_SOCK_CLOEXEC): Likewise.
15918 (__ASSUME_IN_NONBLOCK): Likewise.
15919 (__ASSUME_PIPE2): Likewise.
15920 (__ASSUME_EVENTFD2): Likewise.
15921 (__ASSUME_SIGNALFD4): Likewise.
15922 (__ASSUME_DUP3): Likewise.
15923 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
15924 Likewise.
15925 (__ASSUME_UTIMES): Likewise.
15926 (__ASSUME_EVENTFD2): Likewise.
15927 (__ASSUME_SIGNALFD4): Likewise.
15928 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15929 (__ASSUME_O_CLOEXEC): Likewise.
15930 (__ASSUME_SOCK_CLOEXEC): Likewise.
15931 (__ASSUME_IN_NONBLOCK): Likewise.
15932 (__ASSUME_PIPE2): Likewise.
15933 (__ASSUME_EVENTFD2): Likewise.
15934 (__ASSUME_SIGNALFD4): Likewise.
15935 (__ASSUME_DUP3): Likewise.
15936 (__ASSUME_UTIMES): Undefine.
15937
5c521ecd
JM
15938 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
15939 feclearexcept. Remove symbol versioning code.
15940 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
15941 symbol versioning code.
15942 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
15943 symbol versioning code.
15944 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
15945 feupdateenv. Remove symbol versioning code.
15946 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
15947 fegetexceptflag. Remove symbol versioning code.
15948 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
15949 fesetexceptflag. Remove symbol versioning code.
15950 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
15951 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
15952 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
15953 (__posix_fadvise64_l32): Remove prototype.
15954 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
15955 code.
15956
5da9dfad
RM
159572014-05-13 Roland McGrath <roland@hack.frob.com>
15958
15959 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
15960 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
15961 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
15962 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
15963
893b4f37
SK
159642014-05-13 Sami Kerola <kerolasa@iki.fi>
15965
15966 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
15967 current working directory
15968
e0db6517
RM
159692014-05-13 Roland McGrath <roland@hack.frob.com>
15970
58aa195d
RM
15971 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
15972 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
15973 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
15974 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
15975 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
15976 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
15977 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
15978 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
15979 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
15980 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
15981 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
15982 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
15983 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
15984 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
15985 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
15986 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
15987 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
15988 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
15989 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
15990 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
15991 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
15992 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
15993 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
15994 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
15995 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
15996 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
15997 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
15998 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
15999 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16000 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16001 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16002 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16003 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16004 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16005 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16006 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16007 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16008 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16009 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16010 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16011 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16012 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16013
8c6d01f0
RM
16014 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16015 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16016
16017 * sysdeps/unix/sysv/linux/arm/Makefile
16018 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16019 Add rt-aeabi_unwind_cpp_pr1.
16020 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16021 Add nptl-aeabi_unwind_cpp_pr1.
16022 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16023 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16024 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16025 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16026 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16027 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16028
16029 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
16030 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
16031 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
16032 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
16033
bba6da4e
RM
16034 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
16035 Deconditionalize the code that was previously under [RESET_PID].
16036 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
16037
e0db6517
RM
16038 * sysdeps/generic/exit-thread.h: New file.
16039 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
16040 * include/unistd.h (__exit_thread): Remove declaration.
16041 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
16042 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
16043 * csu/libc-start.c: Include <exit-thread.h>.
16044 (LIBC_START_MAIN): Pass no argument to __exit_thread.
16045 * nptl/pthread_create.c: Include <exit-thread.h>.
16046 (start_thread): Call __exit_thread in place of __exit_thread_inline.
16047 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
16048 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
16049 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
16050 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
16051 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
16052 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
16053 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
16054 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
16055 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
16056 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
16057 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
16058 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
16059 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
16060 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
16061 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
16062 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
16063
01eb16fd
AS
160642014-05-13 Andreas Schwab <schwab@suse.de>
16065
16066 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
16067
637461d9
JM
160682014-05-12 Joseph Myers <joseph@codesourcery.com>
16069
16070 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16071 (__ASSUME_UTIMES): Do not condition on kernel version.
16072 (__ASSUME_PSELECT): Define unconditionally.
16073 (__ASSUME_PPOLL): Likewise.
16074 (__ASSUME_ATFCTS): Likewise.
16075 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
16076 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
16077 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
16078 (__ASSUME_UTIMENSAT): Define unconditionally.
16079 (__ASSUME_PRIVATE_FUTEX): Likewise.
16080 (__ASSUME_FALLOCATE): Likewise.
16081 (__ASSUME_O_CLOEXEC): Likewise.
16082 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
16083 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
16084 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
16085 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
16086 (__ASSUME_IN_NONBLOCK): Likewise.
16087 (__ASSUME_PIPE2): Likewise.
16088 (__ASSUME_EVENTFD2): Likewise.
16089 (__ASSUME_SIGNALFD4): Likewise.
16090 (__ASSUME_DUP3): Likewise.
16091 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16092 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
16093 (__ASSUME_AT_RANDOM): Likewise.
16094 (__ASSUME_PREADV): Likewise.
16095 (__ASSUME_PWRITEV): Likewise.
16096 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
16097 (__ASSUME_F_GETOWN_EX): Define unconditionally.
16098 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
16099 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16100 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
16101 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16102 (__ASSUME_O_CLOEXEC): Define unconditionally.
16103 (__ASSUME_PSELECT): Do not undefine conditionally.
16104 (__ASSUME_PPOLL): Likewise.
16105 (__ASSUME_ATFCTS): Likewise.
16106 (__ASSUME_SET_ROBUST_LIST): Likewise.
16107 (__ASSUME_UTIMENSAT): Likewise.
16108 (__ASSUME_FDATASYNC): Define unconditionally.
16109 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16110 (__ASSUME_SIGFRAME_V2): Likewise.
16111 )__ASSUME_EVENTFD2): Likewise.
16112 (__ASSUME_SIGNALFD4): Likewise.
16113 (__ASSUME_PSELECT): Do not undefine conditionally.
16114 (__ASSUME_PPOLL): Likewise.
16115 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16116 (__ASSUME_PSELECT): Define unconditionally.
16117 (__ASSUME_PPOLL): Likewise.
16118 (__ASSUME_O_CLOEXEC): Likewise.
16119 (__ASSUME_SOCK_CLOEXEC): Likewise.
16120 (__ASSUME_IN_NONBLOCK): Likewise.
16121 (__ASSUME_PIPE2): Likewise.
16122 (__ASSUME_EVENTFD2): Likewise.
16123 (__ASSUME_SIGNALFD4): Likewise.
16124 (__ASSUME_DUP3): Likewise.
16125 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16126 (__ASSUME_O_CLOEXEC): Likewise.
16127 (__ASSUME_SOCK_CLOEXEC): Likewise.
16128 (__ASSUME_IN_NONBLOCK): Likewise.
16129 (__ASSUME_PIPE2): Likewise.
16130 (__ASSUME_EVENTFD2): Likewise.
16131 (__ASSUME_SIGNALFD4): Likewise.
16132 (__ASSUME_DUP3): Likewise.
16133 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16134 (__ASSUME_EVENTFD2): Likewise.
16135 (__ASSUME_SIGNALFD4): Likewise.
16136 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16137
315eb1d8
AS
161382014-05-12 Andreas Schwab <schwab@suse.de>
16139
16140 [BZ #16932]
16141 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
16142 (_nss_nis_gethostbyname4_r): Return error if item length is larger
16143 than maximum RPC packet size.
16144 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
16145 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
16146 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
16147 (_nss_nis_getservbyport_r): Likewise.
16148
91df99f7
WN
161492014-05-12 Will Newton <will.newton@linaro.org>
16150
16151 * malloc/Makefile (tests): Add tst-mallopt.
16152 * malloc/tst-mallopt.c: New file.
16153
0a982a29
RM
161542014-05-09 Roland McGrath <roland@hack.frob.com>
16155
16156 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
16157 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
16158
0ded08a5
AZ
161592014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16160
16161 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
16162 (tst-tlsmod6.so): Likewise.
16163
55d4d550
RM
161642014-05-09 Roland McGrath <roland@hack.frob.com>
16165
16166 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
16167
77d08aca
JM
161682014-05-09 Joseph Myers <joseph@codesourcery.com>
16169
16170 [BZ #16064]
16171 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
16172 and <dl-procinfo.h>.
16173 (__fegetenv): Save SSE state in envp->__eip if supported.
16174 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
16175 envp->__eip if supported.
16176 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
16177 and <dl-procinfo.h>.
16178 (__fesetenv): Always set __eip, __cs_selector, __opcode,
16179 __data_offset and __data_selector in environment to 0. Set SSE
16180 state if supported.
16181 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16182 test-fenv-sse.
16183 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
16184 -mfpmath=sse.
16185 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16186
28162f4d
WN
161872014-05-09 Will Newton <will.newton@linaro.org>
16188
16189 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16190 and libc_relro_required for ARM.
16191 * sysdeps/arm/preconfigure: Regenerate.
16192
5a414ff7
DV
161932014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
16194 Stefan Liebler <stli@linux.vnet.ibm.com>
16195
16196 * config.make.in (enable-lock-elision): New Makefile variable.
16197 * configure.ac: Likewise.
16198 * configure: Regenerate.
16199 * sysdeps/s390/configure.ac:
16200 Add check for gcc transactions support.
16201 * sysdeps/s390/configure: Regenerate.
16202 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16203 Build elision files if enabled.
16204 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16205 Add lock elision support for s390.
16206 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16207 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16208 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16209 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16210 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16211 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16212 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16213 Likewise.
16214 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16215 Likewise.
16216 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16217 Likewise.
16218 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16219 Likewise.
16220 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16221 (__lll_timedlock_elision, __lll_lock_elision)
16222 (__lll_unlock_elision, __lll_trylock_elision)
16223 (lll_timedlock_elision, lll_lock_elision)
16224 (lll_unlock_elision, lll_trylock_elision): Add.
16225 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16226 (pthread_mutex_t): Add lock elision support for s390.
16227
1a2f40e5
W
162282014-05-14 Wilco <wdijkstr@arm.com>
16229
16230 * sysdeps/arm/fclrexcpt.c: Cleanup.
16231 * sysdeps/arm/fedisblxcpt.c: Cleanup.
16232 * sysdeps/arm/feenablxcpt.c: Cleanup.
16233 * sysdeps/arm/fegetenv.c: Cleanup.
16234 * sysdeps/arm/fegetexcept.c: Cleanup.
16235 * sysdeps/arm/fegetround.c: Cleanup.
16236 * sysdeps/arm/feholdexcpt.c: Cleanup.
16237 * sysdeps/arm/fesetenv.c: Cleanup.
16238 * sysdeps/arm/fesetround.c: Cleanup.
16239 * sysdeps/arm/feupdateenv.c: Cleanup.
16240 * sysdeps/arm/fgetexcptflg.c: Cleanup.
16241 * sysdeps/arm/fraiseexcpt.c: Cleanup.
16242 * sysdeps/arm/fsetexcptflg.c: Cleanup.
16243 * sysdeps/arm/ftestexcept.c: Cleanup.
16244 * sysdeps/arm/get-rounding-mode.h: Cleanup.
16245 * sysdeps/arm/setfpucw.c: Cleanup.
16246
f63c86fe
WN
162472014-05-09 Will Newton <will.newton@linaro.org>
16248
16249 * sysdeps/arm/armv7/strcmp.S: New file.
16250 * NEWS: Mention addition of ARMv7 optimized strcmp.
16251
7a1a51b5
RM
162522014-05-08 Roland McGrath <roland@hack.frob.com>
16253
95afbbe5
RM
16254 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16255 look for %.ac rather than %.in.
16256
16257 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16258 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16259 * sysdeps/mach/hurd/configure: Regenerated.
16260 * sysdeps/unix/sysv/linux/configure: Regenerated.
16261
7a1a51b5
RM
16262 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16263
5057ad3b
SE
162642014-05-07 Steve Ellcey <sellcey@mips.com>
16265
16266 [BZ# 16922]
16267 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16268 (LONG_SUB): Ditto.
16269 (PTR_SUB): Ditto.
16270
8dc97517
AS
162712014-05-07 Andreas Schwab <schwab@suse.de>
16272
16273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16274 when skipping over non-matching result from nscd.
16275
ce0c5b8f
OB
162762014-05-07 Ondřej Bílka <neleai@seznam.cz>
16277
16278 [BZ #16876]
16279 * nptl/sockperf.c (client): Check socket return value.
8dc97517 16280
a1189263
OB
16281 [BZ #16877]
16282 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16283 nscd security class.
ce0c5b8f 16284
0f58d252
RM
162852014-05-06 Roland McGrath <roland@hack.frob.com>
16286
16287 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16288 * sysdeps/arm/unwind.h: ... here.
16289
83df9ad0
AJ
162902014-05-06 Aurelien Jarno <aurelien@aurel32.net>
16291
ce0c5b8f
OB
16292 [BZ# 16916]
16293 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16294 Define.
83df9ad0 16295
f360f94a
VR
162962014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16297
16298 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16299 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16300 multiarch strncpy for PPC64.
16301 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16302 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16303 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16304 multiarch optimizations.
16305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16306 (__libc_ifunc_impl_list): Likewise.
16307 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16308 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16309 multiarch stpncpy for PPC64.
16310 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16311 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16312
978a41c3
AS
163132014-05-06 Andreas Schwab <schwab@suse.de>
16314
16315 [BZ #16912]
16316 * gmon/mcount.c (_MCOUNT_DECL): Use
16317 atomic_compare_and_exchange_bool_acq instead of
16318 catomic_compare_and_exchange_bool_acq.
16319
eb1ed03d
RM
163202014-05-05 Roland McGrath <roland@hack.frob.com>
16321
fe658845
RM
16322 * elf/Makefile (others, install-bin): Remove pldd.
16323 (pldd-modules): Variable removed.
16324 ($(objpfx)pldd): Target removed.
16325 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16326 (others, install-bin): Append pldd here.
16327 ($(objpfx)pldd): New target.
16328
eb1ed03d
RM
16329 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16330 to 0, so the first #if test emitted later doesn't see it undefined.
16331 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16332 * sysdeps/gnu/errlist.c: Regenerated.
16333
19c4bec0
AZ
163342014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16335
16336 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16337 [libc_hidden_builtin_def]: Define to empty value.
16338 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16339 [libc_hidden_builtin_def]: Likewise.
16340 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16341 [libc_hidden_builtin_def]: Likewise.
16342 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16343 [libc_hidden_builtin_def]: Likewise.
16344 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16345 __redirect_memcpy and define ifunc as default hidden symbol.
16346 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16347 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16348
7776e669
AC
163492014-05-04 Adam Conrad <adconrad@0c3.net>
16350
16351 * locale/iso-4217.def: Reintroduce XDR currency.
16352
d69aeb12
AM
163532014-05-04 Allan McRae <allan@archlinux.org>
16354
16355 * po/eo.po: Update Esperanto translation from translation project.
16356
8f1df5cf
CD
163572014-05-02 Carlos O'Donell <carlos@redhat.com>
16358
16359 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16360 and FEATURE_INDEX_MAX to 1.
16361 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16362
13e402e7
SE
163632014-05-01 Steve Ellcey <sellcey@mips.com>
16364
16365 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16366 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16367 * iconvdata/big5.c (ONE_DIRECTION): Define.
16368 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16369 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16370 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16371 * iconvdata/cp932.c (ONE_DIRECTION): Define.
16372 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16373 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16374 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16375 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16376 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16377 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16378 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16379 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16380 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16381 * iconvdata/gbk.c (ONE_DIRECTION): Define.
16382 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16383 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16384 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16385 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16386 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16387 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16388 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16389 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16390 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16391 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16392 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16393 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16394 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16395 * iconvdata/iso646.c (ONE_DIRECTION): Define.
16396 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16397 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16398 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16399 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16400 * iconvdata/johab.c (ONE_DIRECTION): Define.
16401 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16402 * iconvdata/sjis.c (ONE_DIRECTION): Define.
16403 * iconvdata/t.61.c (ONE_DIRECTION): Define.
16404 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16405 * iconvdata/tscii.c (ONE_DIRECTION): Define.
16406 * iconvdata/uhc.c (ONE_DIRECTION): Define.
16407 * iconvdata/unicode.c (ONE_DIRECTION): Define.
16408 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16409 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16410 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16411
c727f032
RM
164122014-05-01 Roland McGrath <roland@hack.frob.com>
16413
8f2f08d0
RM
16414 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16415 (_IO_JUMPS_OFFSET): Define to 0.
16416
c727f032
RM
16417 * nptl/sysdeps/pthread/bits/libc-lock.h
16418 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16419 (__libc_lock_define_initialized_recursive): Always define using
16420 initializer. Modern compilers treat uninitialized (implicit zero) and
16421 explicit zero initializers the same (i.e. put the datum in bss).
16422
a849e800
AS
164232014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16424
16425 * nscd/nscd-client.h: Include <string.h>.
16426
5331255b
DM
164272014-05-01 David S. Miller <davem@davemloft.net>
16428
16429 [BZ #16885]
16430 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16431 multiple zero bytes exist at the end of a string.
16432 Reported by Aurelien Jarno <aurelien@aurel32.net>
16433
16434 * string/test-strcmp.c (check): Add explicit test for situations where
16435 there are multiple zero bytes after the first.
16436
4fdfe821
AS
164372014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16438
16439 [BZ #16890]
16440 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
16441 when compiling wprintf.
16442 * stdio-common/tstdiomisc.c (t3): New function.
16443 (main): Call it.
16444
0cdddc25
SE
164452014-05-01 Steve Ellcey <sellcey@mips.com>
16446
16447 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
16448 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
16449 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
16450 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16451
6426d77e
SE
164522014-05-01 Steve Ellcey <sellcey@mips.com>
16453
16454 * stdlib/longlong.h: Updated from GCC.
16455
6d96f5e4
WN
164562014-05-01 Will Newton <will.newton@linaro.org>
16457 Bernard Ogden <bernie.ogden@linaro.org>
16458
7470db0c
WN
16459 * NEWS: Update fixed bug list.
16460
6d96f5e4
WN
16461 [BZ #15119]
16462 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
16463
211d653c
DM
164642014-04-30 David S. Miller <davem@davemloft.net>
16465
4fa262fa
DM
16466 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
16467 (libc_feholdexcept_setround_sparc_ctx): New function.
16468 (libc_fesetenv_sparc_ctx): Likewise.
16469 (libc_feupdateenv_sparc_ctx): Likewise.
16470 (libc_feholdsetround_sparc_ctx): Likewise.
16471 (libc_feholdexcept_setround_ctx): Define.
16472 (libc_feholdexcept_setroundf_ctx): Likewise.
16473 (libc_feholdexcept_setroundl_ctx): Likewise.
16474 (libc_fesetenv_ctx): Likewise.
16475 (libc_fesetenvf_ctx): Likewise.
16476 (libc_fesetenvl_ctx): Likewise.
16477 (libc_feupdateenv_ctx): Likewise.
16478 (libc_feupdateenvf_ctx): Likewise.
16479 (libc_feupdateenvl_ctx): Likewise.
16480 (libc_feresetround_ctx): Likewise.
16481 (libc_feresetroundf_ctx): Likewise.
16482 (libc_feresetroundl_ctx): Likewise.
16483 (libc_feholdsetround_ctx): Likewise.
16484 (libc_feholdsetroundf_ctx): Likewise.
16485 (libc_feholdsetroundl_ctx): Likewise.
16486
1d3d93ef
DM
16487 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16488 with __USE_GNU instead of XOPEN cpp guards.
16489
8aa583c3
DM
16490 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
16491 0.
16492
211d653c
DM
16493 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16494 with XOPEN cpp guards.
16495
60c8f1f6
JB
164962014-04-30 Julian Brown <julian@codesourcery.com>
16497
16498 [BZ #16888]
16499 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
16500 handling.
16501
9a461d46
JM
165022014-04-30 Joseph Myers <joseph@codesourcery.com>
16503
d0f5b3f8
JM
16504 [BZ #9894]
16505 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16506 Change to 2.6.32.
16507 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
16508 * sysdeps/unix/sysv/linux/configure: Regenerated.
16509 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
16510 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
16511 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
16512 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
16513 * README: Update reference to required Linux kernel version.
16514 * manual/install.texi (Linux): Update reference to required Linux
16515 kernel headers version.
16516 * INSTALL: Regenerated.
16517
9a461d46
JM
16518 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
16519 header inclusion.
16520 [POSIX] (limits.h): Likewise.
16521 [POSIX] (math.h): Likewise.
16522 [POSIX] (sys/wait.h): Likewise.
16523 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
16524 function.
16525 [POSIX] (stddef.h): Do not allow header inclusion.
16526
1775babf
AZ
165272014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16528
57f41c40 16529 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 16530
8f630cca
YY
165312014-04-30 Yang Yingliang <yangyingliang@huawei.com>
16532
16533 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16534 Return immediately after lll_futex_wake.
16535
1cdeb237
SP
165362014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16537
bc8f194c
SP
16538 [BZ #16791]
16539 * nscd/nscd-client.h (datahead_init_common): Initialize entire
16540 structure.
16541 (datahead_init_pos): Call datahead_init_common early.
16542 (datahead_init_neg): Likewise.
16543
1cdeb237
SP
16544 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
16545 datahead_init_neg): New functions.
16546 * nscd/aicache.c (addhstaiX): Use them.
16547 * nscd/grpcache.c (cache_addgr): Likewise.
16548 * nscd/hstcache.c (cache_addhst): Likewise.
16549 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16550 * nscd/netgroupcache.c (do_notfound): Likewise.
16551 (addgetnetgrentX): Likewise.
16552 (addinnetgrX): Likewise.
16553 * nscd/pwdcache.c (cache_addpw): Likewise.
16554 * nscd/servicescache.c (cache_addserv): Likewise.
16555
16b293a7
SP
165562014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16557 Atsushi Onoe <atsushi@onoe.org>
16558
16559 [BZ #14308]
16560 [BZ #12994]
16561 [BZ #13651]
16562 * resolv/res_query.c (__libc_res_nsearch): Return if at least
16563 one response is valid.
16564 * resolv/res_send.c (send_dg): Check for validity of other
16565 response if the current response is a referral.
16566
a28a9b94
SE
165672014-04-29 Steve Ellcey <sellcey@mips.com>
16568
16569 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
16570
2ca180e9
SL
165712014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
16572
16573 [BZ #16823]
16574 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
16575 Always divide by positive zero when computing -Inf result.
16576 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16577 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16578
18f2945a
AZ
165792014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16580
16581 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
16582 FPSCR if value do not change.
16583 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16584 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
16585 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16586 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16587 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
16588 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
16589 function.
16590
5abebba4
CD
165912014-05-29 Carlos O'Donell <carlos@systemhalted.org>
16592
16593 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
16594 * sysdeps/unix/sysv/linux/hppa: Move directory from
16595 ports/systeps/unix/sysv/linux/hppa.
16596 * README: Update listing for hppa-*-linux-gnu.
16597
f7ed60c2
OB
165982014-04-28 Ondřej Bílka <neleai@seznam.cz>
16599
fff763a5
OB
16600 [BZ #16754]
16601 * manual/stdio.texi (Hook functions): Fix types of stream hook
16602 functions.
f7ed60c2
OB
16603 [BZ #16854]
16604 * socket/sys/socket.h: Fix typo in comment.
16605
df639d73
WD
166062014-04-28 Wilco <wdijkstr@arm.com>
16607
f7ed60c2 16608 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
16609 * sysdeps/arm/math_private.h: New file.
16610 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
16611
48332d82
L
166122014-04-25 H.J. Lu <hongjiu.lu@intel.com>
16613
16614 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
16615 with __int128_t.
16616 (La_x86_64_retval): Likewise.
16617
e5e0d9a4
IB
166182014-04-24 Ian Bolton <ian.bolton@arm.com>
16619
16620 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
16621 fpsr if value didn't change.
16622 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
16623 to fpcr if value didn't change.
16624 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
16625 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
16626 fpsr or fpcr if value didn't change.
16627 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16628 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
16629 fpcr if value didn't change.
16630 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
16631 to fpsr if value didn't change.
16632
bacc75f7
SP
166332014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16634
16635 * nptl/tst-sem3.c: Use test-skeleton.c
16636 (main): Rename to do_test. Use return instead of
16637 exit.
16638 * nptl/tst-sem4.c: Use test-skeleton.c
16639 (main): Rename to do_test.
16640
a059d359
DM
166412014-04-22 David S. Miller <davem@davemloft.net>
16642
16643 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
16644 (struct sigaction): New struct member __glibc_reserved0, change
16645 type of sa_flags to int.
16646
ea6c92f3
YZ
166472014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
16648
16649 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
16650 (COUNT_LEADING_ZEROS_0): Define for AArch64.
16651
766c4a36
SP
166522014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16653
16654 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
16655 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
16656
140cc7ab
VK
166572014-04-22 Will Newton <will.newton@linaro.org>
16658 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
16659
16660 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
16661 (__longjmp): Add longjmp and longjmp_target SystemTap
16662 probes.
16663 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
16664 (__sigsetjmp): Add setjmp SystemTap probe.
16665
c54e5cf7
CD
166662014-04-17 Carlos O'Donell <carlos@redhat.com>
16667
16668 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
16669 match manual order.
16670
75ffb047
AZ
166712014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16672
16673 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
16674
2cd925f7
AZ
16675 * sysdeps/powerpc/fpu/fenv_private.h
16676 (libc_feholdexcept_setroundl_ctx): Define to
16677 libc_feholdexcept_setround_ppc_ctx.
16678 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
16679 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
16680 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
16681 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
16682
39e6cd8d
IB
166832014-04-17 Ian Bolton <ian.bolton@arm.com>
16684
16685 * sysdeps/aarch64/math-tests.h: New file.
16686
f9281df9
SY
166872014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
16688
16689 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
16690 New.
16691 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16692 Check and set bit_AVX2_Usable.
16693 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
16694 macro.
16695 (bit_AVX2): Likewise.
16696 (index_AVX2_Usable): Likewise.
16697 (CPUID_AVX2): Likewise.
16698 (HAS_AVX2): Likewise.
16699
37d35007
WN
167002014-04-17 Will Newton <will.newton@linaro.org>
16701
7c677662
WN
16702 * manual/setjmp.texi (System V contexts): Add note that
16703 calling setcontext on a context created by a call to a
16704 signal handler is undefined. Update text to note that
16705 setcontext from a signal handler is possible but not
16706 recommended.
16707
37d35007 16708 [BZ #16629]
e04a4e9d
WN
16709 * stdlib/tst-setcontext.c: Include signal.h.
16710 (main): Check that the signal stack before and
16711 after swapcontext is the same.
16712
37d35007
WN
16713 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
16714 Re-implement to restore registers in user code and avoid
16715 rt_sigreturn system call.
16716
423a7160
W
167172014-04-17 Wilco <wdijkstr@arm.com>
16718
16719 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
16720 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
16721 * math/test-fenv.c: Skip exception trap tests on targets which only
16722 support non-stop mode.
16723
bc93ab29
IB
167242014-04-17 Ian Bolton <ian.bolton@arm.com>
16725 Wilco Dijkstra <wilco.dijkstra@arm.com>
16726
16727 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
16728 (libc_feholdsetround_aarch64_ctx)
16729 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
16730 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
16731 (libc_feresetround_ctx, libc_feresetroundf_ctx)
16732 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
16733 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
16734 (libc_feresetround_noexl_ctx): Define.
16735
95fc5fa3
RH
167362014-04-16 Richard Henderson <rth@redhat.com>
16737
ddb04724
RH
16738 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
16739
d77c0899
RH
16740 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
16741 unwind tables.
16742
a3df56fc
RH
16743 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
16744 const from the non-libc, non-ldso copy.
16745
95fc5fa3
RH
16746 * sysdeps/alpha/libm-test-ulps: Regenerate.
16747
7e0b6763
IB
167482014-04-16 Ian Bolton <ian.bolton@arm.com>
16749 Wilco Dijkstra <wilco.dijkstra@arm.com>
16750
16751 * sysdeps/aarch64/fpu/math_private.h: New file.
16752
a9ea2e0c
MS
167532014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
16754
16755 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16756
ea8ba7cd
IZ
167572014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
16758
7e54fd04 16759 [BZ #16275]
ea8ba7cd
IZ
16760 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
16761 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
16762 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
16763 Intel MPX bound registers before _dl_profile_fixup.
16764 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
16765 registers after _dl_profile_fixup. Save and restore bound
16766 registers bnd0/bnd1 when calling _dl_call_pltexit.
16767 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
16768 (LR_BND_OFFSET): Likewise.
16769 (LRV_BND0_OFFSET): Likewise.
16770 (LRV_BND1_OFFSET): Likewise.
16771
9f2a4fbc
ST
167722014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16773
16774 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
16775 to...
16776 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
16777 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
16778 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
16779 fields.
9f2a4fbc 16780
fd15a59b
ST
167812014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16782
16783 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
16784
f19dfa0a
SL
167852014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16786
16787 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16788
4fa8bc3b
SL
167892014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
16790
16791 [BZ #14770]
16792 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
16793 * sysdeps/s390/configure: Regenerate.
16794
8ea587db
SL
16795 [BZ #16824]
16796 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
16797 Set round-to-nearest internally to reduce error accumulation.
16798
aa5f0ff1
AM
167992014-04-16 Alan Modra <amodra@gmail.com>
16800
16801 [BZ #16740]
16802 [BZ #16619]
16803 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
16804 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 16805 * NEWS: Update fixed bug list.
aa5f0ff1 16806
bb9c256f
SP
168072014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16808
16809 * benchtests/Makefile: Depend on libraries in build directory.
16810 (bench-math): Separate out math tests.
16811 (bench-pthread): Separate out pthread tests.
16812 (bench): Include math and pthread tests.
16813
f737dfd0
CD
168142014-04-14 Carlos O'Donell <carlos@redhat.com>
16815
16816 [BZ #16831]
16817 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
16818 _dl_debug_initialize.
16819
0699f766
CD
16820 * configure.ac: Remove SELinux header check.
16821 * configure: Regenerate.
16822 * nscd/selinux.c (perms): Array of const char* to permission names.
16823 (nscd_request_avc_has_perm): Call security_deny_unknown to find
16824 default policy. Call string_to_security_class and string_to_av_perm to
16825 translate strings. Enforce default policy and call avs_has_perm with
16826 results of translated strings.
16827
809bd45f
DM
168282014-04-13 David S. Miller <davem@davemloft.net>
16829
16830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16831
89e691f2
AM
168322014-04-12 Allan McRae <allan@archlinux.org>
16833
16834 [BZ #16838]
16835 * manual/string.texi (Collation Functions): Fix qsort argument
16836 order in example.
16837 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16838
9c9daaeb
CM
168392014-04-11 Chris Metcalf <cmetcalf@tilera.com>
16840
16841 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
16842 Make the test a no-op if there are no exceptions defined.
16843
95561fb9
PP
168442014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
16845
fe8d072c 16846 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
16847 enable-hardcoded-path-in-tests
16848
970c602a
WN
168492014-04-11 Will Newton <will.newton@linaro.org>
16850
16851 * benchtests/Makefile (extra-objs): Add json-lib.o.
16852 (bench-func): Tidy up JSON output.
16853 * benchtests/bench-skeleton.c: Include json-lib.h.
16854 (main): Use JSON library functions to do output of
16855 benchmark results.
16856 * benchtests/bench-timing-type.c (main): Output the
16857 timing type simply, leaving formatting to the user.
16858 * benchtests/json-lib.c: New file.
16859 * benchtests/json-lib.h: Likewise.
16860
36875b06
TR
168612014-04-11 Torvald Riegel <triegel@redhat.com>
16862
16863 [BZ #15215]
16864 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
16865 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
16866 memory barriers. Add comments.
16867 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
16868 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
16869 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
16870 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
16871 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
16872 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
16873
579db35a
SL
168742014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16875
16876 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
16877 * sysdeps/s390/s390-64/configure.ac: ... this ...
16878 * sysdeps/s390/configure.ac: ... to here.
16879 * sysdeps/s390/s390-32/configure: Delete file.
16880 * sysdeps/s390/s390-64/configure: Delete file.
16881 * sysdeps/s390/configure: Regenerate.
16882
c12e9f37
JAPH
168832014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
16884
16885 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
16886
439bda32
WN
168872014-04-11 Will Newton <will.newton@linaro.org>
16888
16889 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
16890 to zero if it is not defined elsewhere. (mtrim): Test
16891 the value of MALLOC_DEBUG with #if rather than #ifdef.
16892
6a5d6ea1
TR
168932014-04-10 Torvald Riegel <triegel@redhat.com>
16894
16895 * benchtests/pthread_once-inputs: New file.
16896 * benchtests/pthread_once-source.c: New file.
16897 * benchtests/README: Update documentation.
16898
a4c75cfd
IZ
168992014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
16900 H.J. Lu <hongjiu.lu@intel.com>
16901
7e54fd04 16902 [BZ #16275]
a4c75cfd
IZ
16903 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
16904 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
16905 * sysdeps/x86_64/configure: Regenerated.
16906 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
16907 macro.
16908 (REGISTER_SAVE_RAX): Likewise.
16909 (REGISTER_SAVE_RCX): Likewise.
16910 (REGISTER_SAVE_RDX): Likewise.
16911 (REGISTER_SAVE_RSI): Likewise.
16912 (REGISTER_SAVE_RDI): Likewise.
16913 (REGISTER_SAVE_R8): Likewise.
16914 (REGISTER_SAVE_R9): Likewise.
16915 (REGISTER_SAVE_BND0): Likewise.
16916 (REGISTER_SAVE_BND1): Likewise.
16917 (REGISTER_SAVE_BND2): Likewise.
16918 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
16919 bound registers when calling _dl_fixup.
16920
27822ce6
AZ
169212014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16922
16923 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
16924 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
16925 of its definition.
27822ce6
AZ
16926 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
16927 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
16928 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
16929 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
16930 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
16931 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
16932 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
16933
a88ddc90
PTB
169342014-04-09 Peter Brett <peter@peter-b.co.uk>
16935
16936 [BZ #15514]
16937 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
16938 pathconf(_PC_NAME_MAX).
16939
01f8eac2
AZ
169402014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16941
16942 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
16943 Remove macro usage.
16944 (__PTHREAD_SPINS): Move definition to ...
16945 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16946 (__PTHREAD_SPINS): ... here.
16947 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16948 (__PTHREAD_SPIN): Likewise.
16949 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
16950 (__PTHREAD_SPIN): Likewise.
16951 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
16952 (__PTHREAD_SPIN): Likewise.
16953 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
16954 (__PTHREAD_SPIN): Likewise.
16955 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16956 (__PTHREAD_SPIN): Likewise.
16957 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16958 (__PTHREAD_SPIN): Likewise.
16959 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
16960 (__PTHREAD_SPIN): Likewise.
16961 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16962 (__PTHREAD_SPIN): Likewise.
16963 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16964 (__PTHREAD_SPIN): Likewise.
16965 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16966 (__PTHREAD_SPIN): Likewise.
16967 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16968 (__PTHREAD_SPIN): Likewise.
16969 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
16970 (__PTHREAD_SPIN): Likewise.
16971
de21c33c
AZ
16972 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
16973 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
16974 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
16975 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
16976 imply folder.
16977 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16978 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16979 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16980 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
16981 correct imply path.
16982 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
16983 strlen symbol for non multi-arch builds.
16984 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
16985 missing hidden_def and weak_alias.
16986
862c472e
CD
169872014-04-08 Carlos O'Donell <carlos@redhat.com>
16988
16989 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
16990
8667f90e
WN
169912014-04-07 Will Newton <will.newton@linaro.org>
16992
16993 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
16994 and contents. [!_LIBC] Remove #ifndef and contents.
16995 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
16996 * string/memccpy.c (__memccpy): Use ANSI prototype.
16997 * string/memfrob.c (memfrob): Likewise.
16998 * string/strcoll.c (STRCOLL): Likewise.
16999 * string/strlen.c (strlen): Likewise.
17000 * string/strtok.c (STRTOK): Likewise.
17001 * string/strcat.c: Remove unused #include of memcopy.h.
17002 (strcat): Use ANSI prototype.
17003 * string/strchr.c: Remove unused #include of memcopy.h.
17004 (strchr): Use ANSI prototype.
17005 * string/strcmp.c: Remove unused #include of memcopy.h.
17006 (strcmp): Use ANSI prototype.
17007 * string/strcpy.c: Remove unused #include of memcopy.h.
17008 (strcpy): Use ANSI prototype.
17009
7ffa9423
AZ
170102014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17011
17012 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17013 * config.make.in (config-extra-cppflags): Set it from
17014 libc_extra_cppflags.
17015 * configure.ac (libc_extra_cflags): Make it accumulate over
17016 configure fragments.
17017 (libc_extra_cppflags): New flag.
17018 * configure. Regenerate.
17019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
17020 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17021 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
17022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17023
8bd70862
AZ
17024 [BZ #16815]
17025 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17026 result for FE_DOWNWARD rounding mode.
17027 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17028 Likewise.
17029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17030
d42f3448
CM
170312014-04-04 Chris Metcalf <cmetcalf@tilera.com>
17032
17033 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
17034 in function argument name.
17035
1c21d115
DS
170362014-04-03 David Svoboda <svoboda@cert.org>
17037
17038 [BZ #5666]
17039 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
17040 explicitly.
17041
fcccd512
RM
170422014-04-03 Roland McGrath <roland@hack.frob.com>
17043
17044 * elf/dl-unmap-segments.h: New file.
17045 * sysdeps/generic/ldsodefs.h
17046 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17047 * elf/dl-close.c: Include <dl-unmap-segments.h>.
17048 * elf/dl-fptr.c: Likewise.
17049 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
17050 * sysdeps/aarch64/tlsdesc.c: Likewise.
17051 * sysdeps/arm/tlsdesc.c: Likewise.
17052 * sysdeps/i386/tlsdesc.c: Likewise.
17053 * sysdeps/tile/dl-runtime.c: Likewise.
17054 * sysdeps/x86_64/tlsdesc.c: Likewise.
17055 * elf/dl-load.h: New file.
17056 * elf/dl-load.c: Include it.
17057 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
17058 Macros moved to dl-load.h.
17059 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
17060 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
17061 Use _dl_unmap_segments in place of __munmap.
17062 Break out segment-mapping loop into ...
17063 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
17064
f6488e2b
WN
170652014-04-03 Will Newton <will.newton@linaro.org>
17066
17067 * elf/dl-lookup.c (do_lookup_x): Remove comment
17068 referring to nested function and move variable
17069 declarations down to before first use.
17070
6f05bafe
JM
170712014-04-02 Joseph Myers <joseph@codesourcery.com>
17072
a84e78c8
JM
17073 [BZ #16799]
17074 [BZ #16800]
17075 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
17076 with 0 numerator.
17077 * math/s_catanf.c (__catanf): Likewise.
17078 * math/s_catanh.c (__catanh): Likewise.
17079 * math/s_catanhf.c (__catanhf): Likewise.
17080 * math/s_catanhl.c (__catanhl): Likewise.
17081 * math/s_catanl.c (__catanl): Likewise.
17082 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
17083 by positive zero when computing -Inf result.
17084 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
17085 (catanh_test): Likewise.
17086 * sysdeps/i386/fpu/libm-test-ulps: Update.
17087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17088
6f05bafe
JM
17089 [BZ #16789]
17090 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
17091 instead of using underflowing value in computing result.
17092 * math/s_clog10.c (__clog10): Likewise.
17093 * math/s_clog10f.c (__clog10f): Likewise.
17094 * math/s_clog10l.c (__clog10l): Likewise.
17095 * math/s_clogf.c (__clogf): Likewise.
17096 * math/s_clogl.c (__clogl): Likewise.
17097 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
17098 (clog10_test): Likewise.
17099 * sysdeps/i386/fpu/libm-test-ulps: Update.
17100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17101
b0abbc21
AM
171022014-04-02 Alan Modra <amodra@gmail.com>
17103
17104 [BZ #16739]
17105 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
17106 output when value is near a power of two. Use int64_t for lx and
17107 remove casts. Use decimal rather than hex exponent constants.
17108 Don't use long double multiplication when double will suffice.
17109 * math/libm-test.inc (nextafter_test_data): Add tests.
17110 * NEWS: Add 16739 and 16786 to bug list.
17111
af6b1797
AM
17112 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
17113
483818d7
AM
17114 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
17115
f6c55796
WN
171162014-04-01 Will Newton <will.newton@linaro.org>
17117
17118 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
17119 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
17120
13f7fe35
FW
171212014-04-01 Florian Weimer <fweimer@redhat.com>
17122
17123 [BZ #13347]
17124 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
17125 * nptl/tst-setuid2.c: New file.
17126 * nptl/Makefile (xtests): Add tst-setuid2.
17127
c859b32e
AM
171282014-04-01 Alan Modra <amodra@gmail.com>
17129
17130 [BZ #16786]
17131 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17132
54fa2475
JM
171332014-03-31 Joseph Myers <joseph@codesourcery.com>
17134
8795b4a4
JM
17135 [BZ #6803]
17136 [BZ #6804]
17137 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
17138 set errno as appropriate.
17139 * math/w_scalbf.c (__scalbf): Likewise.
17140 * math/w_scalbl.c (__scalbl): Likewise.
17141 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
17142 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
17143 * math/libm-test.inc (scalb_test_data): Add errno expectations.
17144 Add more NaN tests.
17145
54fa2475
JM
17146 [BZ #16349]
17147 * math/w_atan2.c: Include <errno.h>.
17148 (__atan2): Set errno for result underflowing to zero.
17149 * math/w_atan2f.c: Include <errno.h>.
17150 (__atan2f): Set errno for result underflowing to zero.
17151 * math/w_atan2l.c: Include <errno.h>.
17152 (__atan2l): Set errno for result underflowing to zero.
17153 * math/auto-libm-test-in: Don't allow missing errno for some atan2
17154 tests.
17155 * math/auto-libm-test-out: Regenerated.
17156
757d9dd5
AZ
171572014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17158
17159 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17160 Encode instruction correctly in little endian.
17161 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17162 Likewise.
17163 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17164 Likewise.
17165 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17166 Likewise.
17167 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17168 Likewise.
17169
d7a68734
JM
171702014-03-31 Joseph Myers <joseph@codesourcery.com>
17171
47c5adeb
JM
17172 [BZ #9894]
17173 * sysdeps/unix/sysv/linux/kernel-features.h
17174 [__sparc__ && !__arch64__ && !__sparc_v9__]
17175 (__ASSUME_SET_ROBUST_LIST): Do not define.
17176 [__sparc__ && !__arch64__ && !__sparc_v9__]
17177 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17178 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
17179 Likewise.
17180 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17181 (__ASSUME_FUTEX_LOCK_PI): Undefine.
17182 (__ASSUME_REQUEUE_PI): Likewise.
17183 (__ASSUME_SET_ROBUST_LIST): Likewise.
17184 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17185 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17186 Undefine.
17187 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17188 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17189 Likewise.
17190 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17191 Likewise.
17192 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17193 Likewise.
17194 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17195 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17196 Undefine.
17197 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17198 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17199 Likewise.
17200
d7a68734
JM
17201 [BZ #16648]
17202 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17203 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17204 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17205
c760f5c2
WN
172062014-03-31 Will Newton <will.newton@linaro.org>
17207
17208 * benchtests/Makefile (bench): Add ffs and ffsll to list
17209 of tests.
17210 * benchtests/ffs-inputs: New file.
17211 * benchtests/ffsll-inputs: Likewise.
17212
ea6029b1
JM
172132014-03-29 Joseph Myers <joseph@codesourcery.com>
17214
17215 [BZ #16770]
17216 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17217 too large before casting to int.
17218 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17219 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17220 * math/libm-test.inc (scalb_test_data): Add more tests.
17221
cf806aff
SP
172222014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17223
56737508
SP
17224 * benchtests/Makefile (DETAILED_OPT): New make option.
17225 (bench-func): Run benchmark program with -d if DETAILED_OPT is
17226 set.
17227 * benchtests/bench-skeleton.c: Include stdbool.h.
17228 (main): Store and print timings per input.
17229 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17230 member to each argument value.
17231 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17232 (_print_arg_data): Initialize per-input timing to 0.
17233
cb5e4aad
SP
17234 * benchtests/Makefile (timing-type): New binary.
17235 (bench-clean): Also remove bench-timing-type.
17236 (bench): New target for timing-type.
17237 (bench-func): Print output in JSON format.
17238 * benchtests/bench-skeleton.c (main): Print output in JSON
17239 format.
17240 * benchtests/bench-timing-type.c: New file.
17241 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17242 (TIMING_PRINT_STATS): Remove.
17243 * benchtests/scripts/bench.py (_print_arg_data): Store variant
17244 name separately.
17245
cf806aff
SP
17246 * benchtests/bench-modf.c: Remove.
17247 * benchtests/modf-inputs: New inputs file.
17248
289e0779
JM
172492014-03-28 Joseph Myers <joseph@codesourcery.com>
17250
17251 [BZ #16362]
17252 * math/s_clog10.c (M_PI_LOG10E): New macro.
17253 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17254 imaginary parts are 0.
17255 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17256 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17257 imaginary parts are 0.
17258 * math/s_clog10l.c (M_PI_LOG10El): New macro.
17259 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17260 imaginary parts are 0.
17261 * math/libm-test.inc (clog10_test_data): Update expected results
17262 for when real and imaginary parts are 0.
17263
277ae3f1
PP
172642014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
17265
17266 * elf/dl-load.c: Finish conversion of __builtin_expect into
17267 __glibc_{un}likely.
17268
03a7091f
JM
172692014-03-27 Joseph Myers <joseph@codesourcery.com>
17270
17271 [BZ #16348]
17272 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17273 1+x for argument with exponent below -67.
17274 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17275 Likewise.
17276 * math/auto-libm-test-in: Add more tests of exp.
17277 * math/auto-libm-test-out: Regenerated.
17278
ea7d8b95
SP
172792014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17280
dd3022d7
SP
17281 [BZ #16759]
17282 * inet/getnetgrent_r.c (get_nonempty_val): New function.
17283 (nscd_getnetgrent): Use it.
17284
ea7d8b95
SP
17285 [BZ #16760]
17286 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17287 of stpcpy.
17288
df5b85da
AK
172892014-03-27 Andi Kleen <ak@linux.intel.com>
17290
57f41c40
AS
17291 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17292 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17293 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17294 (lll_robust_unlock): Remove out of line section. Use cfi
17295 intrinsics.
df5b85da 17296 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
17297 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17298 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17299 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17300 (lll_robust_unlock): Remove out of line section. Use cfi
17301 intrinsics.
df5b85da
AK
17302 (LLL_STUB_UNWIND_INFO*): Remove.
17303
fbd6b5a4
SP
173042014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17305
17306 [BZ #16758]
17307 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17308 blank values.
17309
1b26b855
PP
173102014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
17311
17312 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17313
9be36fb8
JM
173142014-03-26 Joseph Myers <joseph@codesourcery.com>
17315
17316 [BZ #16198]
17317 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17318 fnstenv.
17319 * math/test-fenv-preserve.c: New file.
17320 * math/Makefile (tests): Add test-fenv-preserve.
17321
60a2f3c1
WN
173222014-03-26 Will Newton <will.newton@linaro.org>
17323
17324 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17325
a5e5f1e2
RM
173262014-03-25 Roland McGrath <roland@hack.frob.com>
17327
17328 * scripts/versionlist.awk: Partition the version sets and emit all
17329 GLIBC_* (sorted) before all others (sorted).
17330
00f4012a
JM
173312014-03-25 Joseph Myers <joseph@codesourcery.com>
17332
17333 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17334 GLIBC_2.2.5 version.
17335
7bc5a741
AZ
173362014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17337
17338 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17339 calls.
17340
7578473b
AZ
17341 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17342 previous change.
17343
f3f1dab3
AZ
17344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17345
6da36183
AS
173462014-03-25 Andreas Schwab <schwab@suse.de>
17347
17348 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17349 label to be used after in6ailist is initialized.
17350
f3f1dab3 173512014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 17352
7578473b 17353 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
17354 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17355
046651c1
JM
173562014-03-25 Joseph Myers <joseph@codesourcery.com>
17357
17358 [BZ #16357]
17359 [BZ #16599]
17360 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17361 min_plus_half.
17362 (fp_formats): Update initializers.
17363 (init_fp_formats): Initialize new field.
17364 (output_for_one_input_case): Allow underflow for results up to
17365 min_plus_half.
17366 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17367 * math/auto-libm-test-in: Don't mark some underflows from asin and
17368 atanh as spurious.
17369 * math/auto-libm-test-out: Regenerated.
17370 * sysdeps/i386/fpu/libm-test-ulps: Update.
17371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17372
003e49ed
AS
173732014-03-25 Andreas Schwab <schwab@suse.de>
17374
17375 * libio/Makefile (tst-ftell-partial-wide-ENV)
17376 (tst-ftell-active-handler-ENV): Define.
17377
de031874
SL
173782014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17379
17380 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17381
55a81e3b
PP
173822014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17383
17384 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17385
f3426898
JM
173862014-03-24 Joseph Myers <joseph@codesourcery.com>
17387
17388 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17389 * sysdeps/x86_64/fpu/multiarch/e_exp.c
17390 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17391
a42faf59
PP
173922014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17393
17394 [BZ #16634]
a42faf59 17395 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
17396 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17397 (open_path): Change from boolean 'secure' to complete flag 'mode'
17398 (_dl_map_object): Adjust.
a42faf59
PP
17399 * elf/Makefile (tests): Add tst-dlopen-aout.
17400 * elf/tst-dlopen-aout.c: New test.
17401
50936127
SL
174022014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17403
17404 [BZ #16714]
17405 * sysdeps/unix/sysv/linux/s390/bits/stat.h
17406 (struct stat): Rename member pad0 to __glibc_reserved0.
17407
26011b5c
SL
17408 [BZ #16712]
17409 * sysdeps/s390/s390-32/bits/wordsize.h
17410 (__WORDSIZE32_SIZE_ULONG): New define.
17411 * sysdeps/s390/s390-64/bits/wordsize.h
17412 (__WORDSIZE32_SIZE_ULONG): Likewise.
17413 * sysdeps/generic/stdint.h (SIZE_MAX):
17414 Define as UL if __WORDSIZE32_SIZE_ULONG.
17415
a2d86bf1
SL
17416 [BZ #16713]
17417 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17418 (__glibc_reserved0): New variable.
17419 (sa_flags): Change type to int.
17420
78b6eebc
SL
17421 * posix/Makefile (before-compile): Use += before-compile instead
17422 of a :=.
17423
f1399b5a
SL
17424 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17425 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17426
a071766e
AS
174272014-03-20 Andreas Schwab <schwab@suse.de>
17428
17429 [BZ #16743]
17430 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17431 non-matching result from nscd.
17432
27c673b8
SP
174332014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17434
17435 * scripts/bench.py: Moved to ...
17436 * benchtests/scripts/bench.py: ... here.
17437 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
17438
44152e4b
AS
174392014-03-24 Andreas Schwab <schwab@suse.de>
17440
17441 [BZ #16002]
17442 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
17443 alloca_account and account alloca use for struct in6ailist.
17444
b376a11a
JM
174452014-03-24 Joseph Myers <joseph@codesourcery.com>
17446
17447 [BZ #16284]
17448 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
17449 rounding mode to recompute results that overflow to infinity or
17450 underflow to zero.
17451 * math/auto-libm-test-in: Don't mark tests as expected to fail for
17452 bug 16284.
17453 * math/auto-libm-test-out: Regenerated.
17454 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17455 (ccosh_test): Likewise.
17456 (csin_test_data): Use plus_oflow.
17457 (csin_test): Use ALL_RM_TEST.
17458 (csinh_test_data): Use plus_oflow.
17459 (csinh_test): Use ALL_RM_TEST.
17460 * sysdeps/i386/fpu/libm-test-ulps: Update.
17461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17462
f7be7376
JM
174632014-03-21 Joseph Myers <joseph@codesourcery.com>
17464
1ca2d03e
JM
17465 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
17466 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
17467 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
17468
f7be7376
JM
17469 [BZ #16731]
17470 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
17471 when x - 1 is zero.
17472 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
17473 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
17474 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17475 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
17476 argument is 1.
17477 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
17478 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
17479 zero.
17480 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
17481 * sysdeps/i386/fpu/libm-test-ulps: Update.
17482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17483
fdf4534d
SP
174842014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17485
df26ea53
SP
17486 * scripts/bench.pl: Remove file.
17487 * scripts/bench.py: New benchmark script.
17488 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
17489 * benchtests/README: Mention python dependency.
17490 * scripts/pylintrc: New file.
17491 * scripts/pylint: New file.
17492
fdf4534d
SP
17493 * bits/mathdef.h: Use #ifdef instead of #if.
17494 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
17495 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17496 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
17497 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17498 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
17499 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17500
6f23d093
AZ
175012014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17502 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17503
17504 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
17505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
17506 and strpbrk-ppc64 objects.
17507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17508 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
17509 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
17510 multiarch strpbrk for POWER7.
17511 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
17512 multiarch strpbrk for PPC64.
17513 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
17514 ifunc selector.
17515 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
17516 strpbrk for POWER7.
17517
8c92dfff
JM
175182014-03-20 Joseph Myers <joseph@codesourcery.com>
17519
17520 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
17521 (atan_test): Likewise.
17522 (atanh_test_data): Use NO_TEST_INLINE for two tests.
17523 (atanh_test): Use ALL_RM_TEST.
17524 (atan2_test_data): Likewise.
17525 (cabs_test): Likewise.
17526 (cacosh_test): Likewise.
17527 (carg_test): Likewise.
17528 (casin_test): Likewise.
17529 (casinh_test): Likewise.
17530 (cbrt_test): Likewise.
17531 (csqrt_test): Likewise.
17532 (erf_test): Likewise.
17533 (erfc_test): Likewise.
17534 (pow10_test): Likewise.
17535 (exp2_test): Likewise.
17536 (hypot_test): Likewise.
17537 (j0_test): Likewise.
17538 (j1_test): Likewise.
17539 (lgamma_test): Likewise.
17540 (gamma_test): Likewise.
17541 (sincos_test): Likewise.
17542 (tanh_test): Likewise.
17543 (y0_test): Likewise.
17544 (y1_test): Likewise.
17545 * sysdeps/i386/fpu/libm-test-ulps: Update.
17546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17547
6eaf95cb
AZ
175482014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17549
a387428c
SP
17550 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
17551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
17552 and strcspn-ppc64 objects.
17553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17554 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
17555 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
17556 multiarch strcspn for POWER7.
17557 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
17558 multiarch strcspn for PPC64.
17559 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
17560 ifunc selector.
17561 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
17562 strcspn for POWER7.
17563
ae3a5dff
JM
175642014-03-20 Joseph Myers <joseph@codesourcery.com>
17565
17566 * math/gen-libm-test.pl (generate_testfile): Expect only function
17567 name as argument to AUTO_TESTS_* and pass results for all rounding
17568 modes to parse_args.
17569 (parse_auto_input): Separate inputs of automatic tests from
17570 outputs before storing in %auto_tests.
17571 * math/libm-test.inc (acos_test_data): Update call to
17572 AUTO_TESTS_f_f.
17573 (acos_test): Use ALL_RM_TEST.
17574 (acos_tonearest_test_data): Remove.
17575 (acos_test_tonearest): Likewise.
17576 (acos_towardzero_test_data): Likewise.
17577 (acos_test_towardzero): Likewise.
17578 (acos_downward_test_data): Likewise.
17579 (acos_test_downward): Likewise.
17580 (acos_upward_test_data): Likewise.
17581 (acos_test_upward): Likewise.
17582 (acosh_test_data): Update call to AUTO_TESTS_f_f.
17583 (asin_test_data): Likewise.
17584 (asin_test): Use ALL_RM_TEST.
17585 (asin_tonearest_test_data): Remove.
17586 (asin_test_tonearest): Likewise.
17587 (asin_towardzero_test_data): Likewise.
17588 (asin_test_towardzero): Likewise.
17589 (asin_downward_test_data): Likewise.
17590 (asin_test_downward): Likewise.
17591 (asin_upward_test_data): Likewise.
17592 (asin_test_upward): Likewise.
17593 (asinh_test_data): Update call to AUTO_TESTS_f_f.
17594 (atan_test_data): Likewise.
17595 (atanh_test_data): Likewise.
17596 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
17597 (cabs_test_data): Update call to AUTO_TESTS_c_f.
17598 (carg_test_data): Likewise.
17599 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
17600 (ccos_test_data): Update call to AUTO_TESTS_c_c.
17601 (ccosh_test_data): Likewise.
17602 (cexp_test_data): Likewise.
17603 (clog_test_data): Likewise.
17604 (clog10_test_data): Likewise.
17605 (cos_test_data): Update call to AUTO_TESTS_f_f.
17606 (cos_test): Use ALL_RM_TEST.
17607 (cos_tonearest_test_data): Remove.
17608 (cos_test_tonearest): Likewise.
17609 (cos_towardzero_test_data): Likewise.
17610 (cos_test_towardzero): Likewise.
17611 (cos_downward_test_data): Likewise.
17612 (cos_test_downward): Likewise.
17613 (cos_upward_test_data): Likewise.
17614 (cos_test_upward): Likewise.
17615 (cosh_test_data): Update call to AUTO_TESTS_f_f.
17616 (cosh_test): Use ALL_RM_TEST.
17617 (cosh_tonearest_test_data): Remove.
17618 (cosh_test_tonearest): Likewise.
17619 (cosh_towardzero_test_data): Likewise.
17620 (cosh_test_towardzero): Likewise.
17621 (cosh_downward_test_data): Likewise.
17622 (cosh_test_downward): Likewise.
17623 (cosh_upward_test_data): Likewise.
17624 (cosh_test_upward): Likewise.
17625 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
17626 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
17627 (ctan_test_data): Likewise.
17628 (ctan_test): Use ALL_RM_TEST.
17629 (ctan_tonearest_test_data): Remove.
17630 (ctan_test_tonearest): Likewise.
17631 (ctan_towardzero_test_data): Likewise.
17632 (ctan_test_towardzero): Likewise.
17633 (ctan_downward_test_data): Likewise.
17634 (ctan_test_downward): Likewise.
17635 (ctan_upward_test_data): Likewise.
17636 (ctan_test_upward): Likewise.
17637 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
17638 (ctanh_test): Use ALL_RM_TEST.
17639 (ctanh_tonearest_test_data): Remove.
17640 (ctanh_test_tonearest): Likewise.
17641 (ctanh_towardzero_test_data): Likewise.
17642 (ctanh_test_towardzero): Likewise.
17643 (ctanh_downward_test_data): Likewise.
17644 (ctanh_test_downward): Likewise.
17645 (ctanh_upward_test_data): Likewise.
17646 (ctanh_test_upward): Likewise.
17647 (erf_test_data): Update call to AUTO_TESTS_f_f.
17648 (erfc_test_data): Likewise.
17649 (exp_test_data): Likewise.
17650 (exp_test): Use ALL_RM_TEST.
17651 (exp_tonearest_test_data): Remove.
17652 (exp_test_tonearest): Likewise.
17653 (exp_towardzero_test_data): Likewise.
17654 (exp_test_towardzero): Likewise.
17655 (exp_downward_test_data): Likewise.
17656 (exp_test_downward): Likewise.
17657 (exp_upward_test_data): Likewise.
17658 (exp_test_upward): Likewise.
17659 (exp10_test_data): Update call to AUTO_TESTS_f_f.
17660 (exp10_test): Use ALL_RM_TEST.
17661 (exp10_tonearest_test_data): Remove.
17662 (exp10_test_tonearest): Likewise.
17663 (exp10_towardzero_test_data): Likewise.
17664 (exp10_test_towardzero): Likewise.
17665 (exp10_downward_test_data): Likewise.
17666 (exp10_test_downward): Likewise.
17667 (exp10_upward_test_data): Likewise.
17668 (exp10_test_upward): Likewise.
17669 (exp2_test_data): Update call to AUTO_TESTS_f_f.
17670 (expm1_test_data): Likewise.
17671 (expm1_test): Use ALL_RM_TEST.
17672 (expm1_tonearest_test_data): Remove.
17673 (expm1_test_tonearest): Likewise.
17674 (expm1_towardzero_test_data): Likewise.
17675 (expm1_test_towardzero): Likewise.
17676 (expm1_downward_test_data): Likewise.
17677 (expm1_test_downward): Likewise.
17678 (expm1_upward_test_data): Likewise.
17679 (expm1_test_upward): Likewise.
17680 (fma_test_data): Update call to AUTO_TESTS_fff_f.
17681 (fma_test): Use ALL_RM_TEST.
17682 (fma_towardzero_test_data): Remove.
17683 (fma_test_towardzero): Likewise.
17684 (fma_downward_test_data): Likewise.
17685 (fma_test_downward): Likewise.
17686 (fma_upward_test_data): Likewise.
17687 (fma_test_upward): Likewise.
17688 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
17689 (j0_test_data): Update call to AUTO_TESTS_f_f.
17690 (j1_test_data): Likewise.
17691 (jn_test_data): Update call to AUTO_TESTS_if_f.
17692 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
17693 (log_test_data): Update call to AUTO_TESTS_f_f.
17694 (log10_test_data): Likewise.
17695 (log1p_test_data): Likewise.
17696 (log2_test_data): Likewise.
17697 (pow_test_data): Update call to AUTO_TESTS_ff_f.
17698 (pow_tonearest_test_data): Likewise.
17699 (sin_test_data): Update call to AUTO_TESTS_f_f.
17700 (sin_test): Use ALL_RM_TEST.
17701 (sin_tonearest_test_data): Remove.
17702 (sin_test_tonearest): Likewise.
17703 (sin_towardzero_test_data): Likewise.
17704 (sin_test_towardzero): Likewise.
17705 (sin_downward_test_data): Likewise.
17706 (sin_test_downward): Likewise.
17707 (sin_upward_test_data): Likewise.
17708 (sin_test_upward): Likewise.
17709 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
17710 (sinh_test_data): Update call to AUTO_TESTS_f_f.
17711 (sinh_test): Use ALL_RM_TEST.
17712 (sinh_tonearest_test_data): Remove.
17713 (sinh_test_tonearest): Likewise.
17714 (sinh_towardzero_test_data): Likewise.
17715 (sinh_test_towardzero): Likewise.
17716 (sinh_downward_test_data): Likewise.
17717 (sinh_test_downward): Likewise.
17718 (sinh_upward_test_data): Likewise.
17719 (sinh_test_upward): Likewise.
17720 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
17721 (sqrt_test): Use ALL_RM_TEST.
17722 (sqrt_tonearest_test_data): Remove.
17723 (sqrt_test_tonearest): Likewise.
17724 (sqrt_towardzero_test_data): Likewise.
17725 (sqrt_test_towardzero): Likewise.
17726 (sqrt_downward_test_data): Likewise.
17727 (sqrt_test_downward): Likewise.
17728 (sqrt_upward_test_data): Likewise.
17729 (sqrt_test_upward): Likewise.
17730 (tan_test_data): Update call to AUTO_TESTS_f_f.
17731 (tan_test): Use ALL_RM_TEST.
17732 (tan_tonearest_test_data): Remove.
17733 (tan_test_tonearest): Likewise.
17734 (tan_towardzero_test_data): Likewise.
17735 (tan_test_towardzero): Likewise.
17736 (tan_downward_test_data): Likewise.
17737 (tan_test_downward): Likewise.
17738 (tan_upward_test_data): Likewise.
17739 (tan_test_upward): Likewise.
17740 (tanh_test_data): Update call to AUTO_TESTS_f_f.
17741 (tgamma_test_data): Likewise.
17742 (y0_test_data): Likewise.
17743 (y1_test_data): Likewise.
17744 (yn_test_data): Update call to AUTO_TESTS_if_f.
17745 (main): Do not call removed functions.
17746
d71aeee8
JM
177472014-03-19 Joseph Myers <joseph@codesourcery.com>
17748
17749 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
17750 (ldexp_test_data): Remove.
17751 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
17752 scalbn_test_data.
17753 (scalb_test): Use ALL_RM_TEST.
17754
baaf1ded
AS
177552014-03-19 Andreas Schwab <schwab@suse.de>
17756
17757 * nscd/nscd.service: Also invalidate netgroup cache on reload.
17758
b1115e91
JM
177592014-03-19 Joseph Myers <joseph@codesourcery.com>
17760
17761 [BZ #16649]
17762 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17763 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
17764 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
17765 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17766 (__ASSUME_PREADV): Undefine.
17767 (__ASSUME_PWRITEV): Likewise.
17768
0283ecca
RM
177692014-03-18 Roland McGrath <roland@hack.frob.com>
17770
7d375303
RM
17771 * bits/mman-linux.h: Add comment about non-Linux use.
17772 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
17773 bits/mman-linux.h resting place.
17774
0283ecca
RM
17775 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
17776 * bits/mman-linux.h: ... here.
17777
aebe1003
AZ
177782014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17779
17780 * conform/conformtest.pl: Add standard definition when calling C
17781 preprocessor on data files.
17782 (checknamespace): Remove unused variable.
17783
b29b6bb8
JM
177842014-03-18 Joseph Myers <joseph@codesourcery.com>
17785
17786 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
17787 minus_oflow, plus_uflow and minus_uflow in expected results.
17788 * math/libm-test.inc (scalbn_test_data): Add more tests of
17789 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
17790 minus_uflow.
17791 (scalbn_test): Use ALL_RM_TEST.
17792 (scalbln_test_data): Add more tests of negative arguments. Use
17793 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
17794 (scalbln_test): Use ALL_RM_TEST.
17795
c8f8fa15
RM
177962014-03-18 Roland McGrath <roland@hack.frob.com>
17797
17798 * scripts/abilist.awk: Ignore symbols marked with .hidden.
17799
fede7a5f
WN
178002014-03-18 Will Newton <will.newton@linaro.org>
17801
17802 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
17803 inaccurate comment.
17804
80cf0a58
JM
178052014-03-18 Joseph Myers <joseph@codesourcery.com>
17806
17807 * Makerules [!subdir] (check-abi): Exit with error status if a
17808 test failed.
17809
b3620862
JM
178102014-03-17 Joseph Myers <joseph@codesourcery.com>
17811
17812 * math/libm-test.inc (nearbyint_test_data): Include all tests used
17813 for rint. Include results for all rounding modes.
17814 (nearbyint_test): Use ALL_RM_TEST.
17815 (rint_test_data): Include all tests used for nearbyint.
17816
788bba36
WN
178172014-03-17 Will Newton <will.newton@linaro.org>
17818
04ec140a
WN
17819 * nptl/sysdeps/pthread/pthread.h: Revert previous
17820 change.
17821
7579d8d5
WN
17822 * sysdeps/generic/ldsodefs.h: Revert previous
17823 change.
17824
c15cf13a
WN
17825 * libio/genops.c: Revert previous change.
17826 * libio/libioP.h: Likewise.
17827 * stdio-common/vfprintf.c: Likewise.
17828
d0ac1324
WN
17829 * sysdeps/generic/math_private.h: Revert previous
17830 change.
17831
9290130a
WN
17832 * sysdeps/generic/math_private.h: Check whether
17833 HAVE_RM_CTX is defined with #ifdef rather
17834 than #if.
17835
afb466fc
WN
17836 * argp/argp-fmtstream.h: Check whether
17837 __STRICT_ANSI__ is defined with #ifdef rather
17838 than #if.
17839 * argp/argp.h: Likewise.
17840
f7efd7c3
WN
17841 * libio/genops.c: Check whether
17842 _IO_JUMPS_OFFSET is defined with #ifdef rather
17843 than #if.
17844 * libio/libioP.h: Likewise.
17845 * stdio-common/vfprintf.c: Likewise.
17846
53f1bed3
WN
17847 * sysdeps/generic/ldsodefs.h: Check whether
17848 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
17849 than #if.
17850
788bba36
WN
17851 * nptl/sysdeps/pthread/pthread.h: Check
17852 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
17853 its value.
17854
fcd89ebe
SP
178552014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17856
ae42bbc5
SP
17857 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
17858 setting O_APPEND.
17859 * libio/tst-ftell-active-handler.c (do_append_test): Add a
17860 test case.
17861
ea33158c
SP
17862 [BZ #16680]
17863 * libio/fileops.c (_IO_file_open): Seek to end of file but
17864 don't cache the offset.
17865 (get_file_offset): Remove function.
17866 (do_ftell): Use cached offset when available.
17867 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
17868 don't cache the offset.
17869 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
17870 case.
17871 (do_one_test): Call it.
17872 (do_ftell_test): Fix up expected old offset for a+ mode.
17873 * libio/wfileops.c (do_ftell_wide): Used cached offset when
17874 available.
17875
b1dbb426
SP
17876 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
17877 up test status with function return status.
17878 (do_write_test): Likewise.
17879 (do_append_test): Likewise.
17880
fcd89ebe
SP
17881 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
17882 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
17883 Remove.
17884
9962a2d3
JM
178852014-03-17 Joseph Myers <joseph@codesourcery.com>
17886
17887 * math/gen-libm-test.pl (parse_args): Handle results specified for
17888 each rounding mode separately.
17889 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
17890 tests and results from lrint_tonearest_test_data,
17891 lrint_towardzero_test_data, lrint_downward_test_data and
17892 lrint_upward_test_data.
17893 (lrint_test): Use ALL_RM_TEST.
17894 (lrint_tonearest_test_data): Remove.
17895 (lrint_test_tonearest): Likewise.
17896 (lrint_towardzero_test_data): Likewise.
17897 (lrint_test_towardzero): Likewise.
17898 (lrint_downward_test_data): Likewise.
17899 (lrint_test_downward): Likewise.
17900 (lrint_upward_test_data): Likewise.
17901 (lrint_test_upward): Likewise.
17902 (llrint_test_data): Merge in per-rounding-mode tests and results
17903 from llrint_tonearest_test_data, llrint_towardzero_test_data,
17904 llrint_downward_test_data and llrint_upward_test_data.
17905 (llrint_test): Use ALL_RM_TEST.
17906 (llrint_tonearest_test_data): Remove.
17907 (llrint_test_tonearest): Likewise.
17908 (llrint_towardzero_test_data): Likewise.
17909 (llrint_test_towardzero): Likewise.
17910 (llrint_downward_test_data): Likewise.
17911 (llrint_test_downward): Likewise.
17912 (llrint_upward_test_data): Likewise.
17913 (llrint_test_upward): Likewise.
17914 (rint_test_data): Merge in per-rounding-mode tests and results
17915 from rint_tonearest_test_data, rint_towardzero_test_data,
17916 rint_downward_test_data and rint_upward_test_data. Add
17917 per-rounding-mode results for tests not in those arrays.
17918 (rint_test): Use ALL_RM_TEST.
17919 (rint_tonearest_test_data): Remove.
17920 (rint_test_tonearest): Likewise.
17921 (rint_towardzero_test_data): Likewise.
17922 (rint_test_towardzero): Likewise.
17923 (rint_downward_test_data): Likewise.
17924 (rint_test_downward): Likewise.
17925 (rint_upward_test_data): Likewise.
17926 (rint_test_upward): Likewise.
17927 (main): Don't call removed functions.
17928
5006148e
RM
179292014-03-14 Roland McGrath <roland@hack.frob.com>
17930
17931 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
17932 "Compiled on ..." crapola. It is anti-useful.
17933
d6fe5e58
JM
179342014-03-14 Joseph Myers <joseph@codesourcery.com>
17935
17936 * scripts/evaluate-test.sh: Handle fourth argument to determine
17937 whether test run should stop on failure.
17938 * Makeconfig (stop-on-test-failure): New variable.
17939 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
17940 $(stop-on-test-failure).
17941 * Makefile (tests): Give a summary of results from testing and
17942 exit with failure status if they include an ERROR or FAIL.
17943 (xtests): Likewise.
17944 * manual/install.texi (Configuring and compiling): Mention
17945 stop-on-test-failure=y.
17946 * INSTALL: Regenerated.
17947
498a2233
RM
179482014-03-14 Roland McGrath <roland@hack.frob.com>
17949
22dbc19d
RM
17950 * scripts/versionlist.awk: New file.
17951 * Makerules [$(build-shared) = yes]
17952 (postclean-generated): Add Versions.def, not Versions.def.v and
17953 Versions.def.v.i.
17954 ($(common-objpfx)Versions.def.v.i): Target removed.
17955 ($(common-objpfx)Versions.def): New target.
17956 ($(common-objpfx)Versions.all): Depend on that rather that
17957 $(common-objpfx)Versions.def.v.
17958 * Versions.def: File removed.
17959
498a2233
RM
17960 * Makeconfig (+gccwarn): Add -Wundef.
17961 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
17962 a dl-sysdep.h breaking its contract.
17963 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
17964 * include/stackinfo.h: New file.
17965 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
17966 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
17967 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
17968 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
17969 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
17970 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
17971 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17972 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17973 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17974 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17975 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17976 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
17977 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17978 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17979 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17980
c7de5025
AZ
179812014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17982
17983 [BZ #16707]
17984 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
17985 implementation.
17986 * math/libm-test.inc (round_test_data): Add more tests.
17987
98fb27a3
AZ
17988 [BZ #16706]
17989 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
17990 implementation.
17991 * math/libm-test.inc (nearbyint_test_data): Add more tests.
17992
374f7f61
AZ
17993 [BZ #16701]
17994 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
17995 implementation.
17996 * math/libm-test.inc (ceil_test_data): Add more tests.
17997
4655c291
AZ
17998 * math/libm-test.inc (trunc_test_data): Add more tests related to
17999 BZ#16414.
18000
d7329d4b
RM
180012014-03-14 Roland McGrath <roland@hack.frob.com>
18002
18003 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18004 with #if rather than #ifdef.
18005 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18006
aa4de9ce
L
180072014-03-14 H.J. Lu <hongjiu.lu@intel.com>
18008
18009 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18010 first. Disable AVX-512 GCC support if assembler doesn't support
18011 it.
18012 * sysdeps/x86_64/configure: Regenerated.
18013
2e03fae7
CD
180142014-03-13 Carlos O'Donell <carlos@redhat.com>
18015
18016 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18017 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18018 (__old_pthread_attr_setstack): Likewise.
18019 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18020 [!_STACK_GROWS_DOWN]: Likewise.
18021
43ca83ec
MF
180222014-03-13 Mike Frysinger <vapier@gentoo.org>
18023
18024 * config.make.in (have-bash2): Delete.
18025 * configure.ac (libc_cv_have_bash2): Delete.
18026 * configure: Regenerate.
18027 * elf/Makefile (common-ldd-rewrite): Rename to ...
18028 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
18029 (sh-ldd-rewrite): Delete.
18030 (bash-ldd-rewrite): Delete.
18031 (have-bash2): Delete checks.
57f41c40
AS
18032 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
18033 ldd-rewrite.
c66e48b4
MF
18034
18035 * config.make.in (have-ksh): Delete.
18036 (KSH): Delete.
18037 * configure.ac (libc_cv_have_ksh): Delete.
18038 * configure: Regenerate.
18039
b93834ef
MF
18040 * elf/Makefile: Delete $(have-ksh) check.
18041 ($(objpfx)sotruss): Change KSH to BASH.
18042 * elf/sotruss.ksh: Rename to ...
18043 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
18044 function style to match POSIX. Drop ksh vim mode setting.
18045
f3a4632a
MF
18046 * manual/time.texi (Specifying the Time Zone with TZ): Change
18047 Tuesday to Thursday.
18048
5896c8bd
MF
18049 * debug/tst-longjmp_chk2.c: Update header comment.
18050 (stackoverflow_handler): Add comment. Call assert on pass value.
18051
2d63a517
IZ
180522014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
18053
7e54fd04 18054 [BZ #16194]
2d63a517
IZ
18055 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
18056 (HAVE_AVX512_ASM_SUPPORT): Likewise.
18057 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
18058 (La_x86_64_vector): Add zmm.
18059 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18060 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
18061 ($(objpfx)tst-audit10): New target.
18062 ($(objpfx)tst-audit10.out): Likewise.
18063 (tst-audit10-ENV): New.
18064 (AVX512-CFLAGS): Likewise.
18065 (CFLAGS-tst-audit10.c): Likewise.
18066 (CFLAGS-tst-auditmod10a.c): Likewise.
18067 (CFLAGS-tst-auditmod10b.c): Likewise.
18068 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
18069 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
18070 * sysdeps/x86_64/configure: Regenerated.
18071 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
18072 AVX-512 zmm register support.
18073 (_dl_x86_64_save_sse): Likewise.
18074 (_dl_x86_64_restore_sse): Likewise.
18075 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
18076 size vector registers.
18077 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
18078 (ZMM_SIZE): Likewise.
18079 * sysdeps/x86_64/tst-audit10.c: New file.
18080 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
18081 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
18082
44c4e5d5
RM
180832014-03-13 Roland McGrath <roland@hack.frob.com>
18084
18085 * configure.ac (HAVE_EHDR_START): New check.
18086 * configure: Regenerated.
18087 * config.h.in (HAVE_EHDR_START): New #undef.
18088 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
18089 assuming the lowest-addressed segment maps the start of the file.
18090
acd6e389
JM
180912014-03-13 Joseph Myers <joseph@codesourcery.com>
18092
18093 * INSTALL: Regenerated.
18094
6f918f36
WN
180952014-03-13 Will Newton <will.newton@linaro.org>
18096
18097 * manual/setjmp.texi (System V contexts): Improve
18098 clarity and grammar of documentation.
18099
798212a0
PP
181002014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
18101
18102 [BZ #16381]
798212a0 18103 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 18104 (tests-pie): Add tst-pie2.
798212a0
PP
18105 * elf/tst-pie2.c: New file.
18106 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18107 for ET_EXEC.
18108 * elf/rtld.c (map_doit): Load executable as lt_executable.
18109 (dl_main): Likewise.
18110
abe6d90c
JM
181112014-03-12 Joseph Myers <joseph@codesourcery.com>
18112
18113 [BZ #16642]
18114 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18115 (__ASSUME_PSELECT): Undefine.
18116
dd3946c6
AZ
181172014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18118
18119 [BZ #16689]
18120 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
18121 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
18122 static build.
18123 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
18124 selector for static builds.
18125
c44496df
SP
181262014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18127
18128 [BZ #16695]
18129 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18130 key in the buffer.
18131
27c7220a
AZ
181322014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18133
57f41c40
AS
18134 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18135 IFUNC selector for static builds.
27c7220a 18136
600fa361
JM
181372014-03-11 Joseph Myers <joseph@codesourcery.com>
18138
76c96cf7
JM
18139 * sysdeps/mips/math_private.h [__mips_hard_float]
18140 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
18141 libc_feresetround_mips_ctx.
18142 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
18143 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
18144 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
18145
600fa361
JM
18146 [BZ #16677]
18147 * math/s_nextafter.c (__nextafter): Do not return value from
18148 overflowing computation.
18149 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18150 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
18151 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18152 Likewise.
18153 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18154 Likewise.
18155 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18156 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
18157
d7706c32
RM
181582014-03-11 Roland McGrath <roland@hack.frob.com>
18159
18160 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
18161 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
18162 Move sfi_sp use from the load-multiple (that no longer sets sp) to
18163 the new mov targetting sp.
18164
4facea47
AZ
181652014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18166
18167 [BZ #16683]
18168 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
18169 Define it for static builds as well.
18170 (NO_BZERO_IMPL): Likewise.
18171
e65caf1f
VR
181722014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18173
18174 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
18175 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
18176 multiarch strspn for PPC64.
18177 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
18178 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
18179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18180 (__libc_ifunc_impl_list): Likewise.
18181 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
18182 multiarch optimizations
18183 * string/strspn.c (strspn): Using macro to redefine symbol name.
18184
ba9cc071
AZ
181852014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18186 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18187
18188 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18189 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18190 multiarch strncat for PPC64.
18191 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18192 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18194 (__libc_ifunc_impl_list): Likewise.
18195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18196 multiarch optimizations
18197
8b4ff974
SP
181982014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18199
18200 [BZ #16639]
18201 * nscd/nscd.service: Make service type forking.
18202
54b46a4b
AZ
182032014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18204
18205 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18206 sign in non default rounding modes.
18207 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18208
e9996ef7
JM
182092014-03-08 Joseph Myers <joseph@codesourcery.com>
18210
18211 * math/libm-test.inc (ALL_RM_TEST): New macro.
18212 (ceil_test): Use ALL_RM_TEST.
18213 (cimag_test): Likewise.
18214 (conj_test): Likewise.
18215 (copysign_test): Likewise.
18216 (cproj_test): Likewise.
18217 (creal_test): Likewise.
18218 (fabs_test): Likewise.
18219 (floor_test): Likewise.
18220 (fmax_test): Likewise.
18221 (fmin_test): Likewise.
18222 (fmod_test): Likewise.
18223 (fpclassify_test): Likewise.
18224 (frexp_test): Likewise.
18225 (ilogb_test): Likewise.
18226 (isfinite_test): Likewise.
18227 (finite_test): Likewise.
18228 (isgreater_test): Likewise.
18229 (isgreaterequal_test): Likewise.
18230 (isinf_test): Likewise.
18231 (isless_test): Likewise.
18232 (islessequal_test): Likewise.
18233 (islessgreater_test): Likewise.
18234 (isnan_test): Likewise.
18235 (isnormal_test): Likewise.
18236 (issignaling_test): Likewise.
18237 (isunordered_test): Likewise.
18238 (logb_test): Likewise.
18239 (logb_downward_test_data): Remove.
18240 (logb_test_downward): Likewise.
18241 (lround_test): Use ALL_RM_TEST.
18242 (llround_test): Likewise.
18243 (modf_test): Likewise.
18244 (nexttoward_test): Likewise.
18245 (remainder_test): Likewise.
18246 (drem_test): Likewise.
18247 (remainder_tonearest_test_data): Likewise.
18248 (remainder_test_tonearest): Likewise.
18249 (drem_test_tonearest): Likewise.
18250 (remainder_towardzero_test_data): Likewise.
18251 (remainder_test_towardzero): Likewise.
18252 (drem_test_towardzero): Likewise.
18253 (remainder_downward_test_data): Likewise.
18254 (remainder_test_downward): Likewise.
18255 (drem_test_downward): Likewise.
18256 (remainder_upward_test_data): Likewise.
18257 (remainder_test_upward): Likewise.
18258 (drem_test_upward): Likewise.
18259 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
18260 (round_test): Use ALL_RM_TEST.
18261 (signbit_test): Likewise.
18262 (trunc_test): Likewise.
18263 (significand_test): Likewise.
18264 (main): Don't call removed functions.
18265
bc61d27c
JM
182662014-03-07 Joseph Myers <joseph@codesourcery.com>
18267
5c780849
JM
18268 [BZ #16674]
18269 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18270 || __USE_XOPEN2K8].
18271 (ILL_ILLOPN): Likewise.
18272 (ILL_ILLADR): Likewise.
18273 (ILL_ILLTRP): Likewise.
18274 (ILL_PRVOPC): Likewise.
18275 (ILL_PRVREG): Likewise.
18276 (ILL_COPROC): Likewise.
18277 (ILL_BADSTK): Likewise.
18278 (FPE_INTDIV): Likewise.
18279 (FPE_INTOVF): Likewise.
18280 (FPE_FLTDIV): Likewise.
18281 (FPE_FLTOVF): Likewise.
18282 (FPE_FLTUND): Likewise.
18283 (FPE_FLTRES): Likewise.
18284 (FPE_FLTINV): Likewise.
18285 (FPE_FLTSUB): Likewise.
18286 (SEGV_MAPERR): Likewise.
18287 (SEGV_ACCERR): Likewise.
18288 (BUS_ADRALN): Likewise.
18289 (BUS_ADRERR): Likewise.
18290 (BUS_OBJERR): Likewise.
18291 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18292 (TRAP_TRACE): Likewise.
18293 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18294 __USE_XOPEN2K8].
18295 (CLD_KILLED): Likewise.
18296 (CLD_DUMPED): Likewise.
18297 (CLD_TRAPPED): Likewise.
18298 (CLD_STOPPED): Likewise.
18299 (CLD_CONTINUED): Likewise.
18300 (POLL_IN): Likewise.
18301 (POLL_OUT): Likewise.
18302 (POLL_MSG): Likewise.
18303 (POLL_ERR): Likewise.
18304 (POLL_PRI): Likewise.
18305 (POLL_HUP): Likewise.
18306 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18307 Likewise.
18308 (ILL_ILLOPN): Likewise.
18309 (ILL_ILLADR): Likewise.
18310 (ILL_ILLTRP): Likewise.
18311 (ILL_PRVOPC): Likewise.
18312 (ILL_PRVREG): Likewise.
18313 (ILL_COPROC): Likewise.
18314 (ILL_BADSTK): Likewise.
18315 (FPE_INTDIV): Likewise.
18316 (FPE_INTOVF): Likewise.
18317 (FPE_FLTDIV): Likewise.
18318 (FPE_FLTOVF): Likewise.
18319 (FPE_FLTUND): Likewise.
18320 (FPE_FLTRES): Likewise.
18321 (FPE_FLTINV): Likewise.
18322 (FPE_FLTSUB): Likewise.
18323 (SEGV_MAPERR): Likewise.
18324 (SEGV_ACCERR): Likewise.
18325 (BUS_ADRALN): Likewise.
18326 (BUS_ADRERR): Likewise.
18327 (BUS_OBJERR): Likewise.
18328 (BUS_MCEERR_AR): Likewise.
18329 (BUS_MCEERR_AO): Likewise.
18330 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18331 (TRAP_TRACE): Likewise.
18332 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18333 __USE_XOPEN2K8].
18334 (CLD_KILLED): Likewise.
18335 (CLD_DUMPED): Likewise.
18336 (CLD_TRAPPED): Likewise.
18337 (CLD_STOPPED): Likewise.
18338 (CLD_CONTINUED): Likewise.
18339 (POLL_IN): Likewise.
18340 (POLL_OUT): Likewise.
18341 (POLL_MSG): Likewise.
18342 (POLL_ERR): Likewise.
18343 (POLL_PRI): Likewise.
18344 (POLL_HUP): Likewise.
18345 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18346 (ILL_ILLOPN): Likewise.
18347 (ILL_ILLADR): Likewise.
18348 (ILL_ILLTRP): Likewise.
18349 (ILL_PRVOPC): Likewise.
18350 (ILL_PRVREG): Likewise.
18351 (ILL_COPROC): Likewise.
18352 (ILL_BADSTK): Likewise.
18353 (FPE_INTDIV): Likewise.
18354 (FPE_INTOVF): Likewise.
18355 (FPE_FLTDIV): Likewise.
18356 (FPE_FLTOVF): Likewise.
18357 (FPE_FLTUND): Likewise.
18358 (FPE_FLTRES): Likewise.
18359 (FPE_FLTINV): Likewise.
18360 (FPE_FLTSUB): Likewise.
18361 (SEGV_MAPERR): Likewise.
18362 (SEGV_ACCERR): Likewise.
18363 (BUS_ADRALN): Likewise.
18364 (BUS_ADRERR): Likewise.
18365 (BUS_OBJERR): Likewise.
18366 (BUS_MCEERR_AR): Likewise.
18367 (BUS_MCEERR_AO): Likewise.
18368 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18369 (TRAP_TRACE): Likewise.
18370 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18371 __USE_XOPEN2K8].
18372 (CLD_KILLED): Likewise.
18373 (CLD_DUMPED): Likewise.
18374 (CLD_TRAPPED): Likewise.
18375 (CLD_STOPPED): Likewise.
18376 (CLD_CONTINUED): Likewise.
18377 (POLL_IN): Likewise.
18378 (POLL_OUT): Likewise.
18379 (POLL_MSG): Likewise.
18380 (POLL_ERR): Likewise.
18381 (POLL_PRI): Likewise.
18382 (POLL_HUP): Likewise.
18383 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18384 Likewise.
18385 (ILL_ILLOPN): Likewise.
18386 (ILL_ILLADR): Likewise.
18387 (ILL_ILLTRP): Likewise.
18388 (ILL_PRVOPC): Likewise.
18389 (ILL_PRVREG): Likewise.
18390 (ILL_COPROC): Likewise.
18391 (ILL_BADSTK): Likewise.
18392 (ILL_BADIADDR): Likewise.
18393 (ILL_BREAK): Likewise.
18394 (FPE_INTDIV): Likewise.
18395 (FPE_INTOVF): Likewise.
18396 (FPE_FLTDIV): Likewise.
18397 (FPE_FLTOVF): Likewise.
18398 (FPE_FLTUND): Likewise.
18399 (FPE_FLTRES): Likewise.
18400 (FPE_FLTINV): Likewise.
18401 (FPE_FLTSUB): Likewise.
18402 (FPE_DECOVF): Likewise.
18403 (FPE_DECDIV): Likewise.
18404 (FPE_DECERR): Likewise.
18405 (FPE_INVASC): Likewise.
18406 (FPE_INVDEC): Likewise.
18407 (SEGV_MAPERR): Likewise.
18408 (SEGV_ACCERR): Likewise.
18409 (SEGV_PSTKOVF): Likewise.
18410 (BUS_ADRALN): Likewise.
18411 (BUS_ADRERR): Likewise.
18412 (BUS_OBJERR): Likewise.
18413 (BUS_MCEERR_AR): Likewise.
18414 (BUS_MCEERR_AO): Likewise.
18415 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18416 (TRAP_TRACE): Likewise.
18417 (TRAP_BRANCH): Likewise.
18418 (TRAP_HWBKPT): Likewise.
18419 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18420 __USE_XOPEN2K8].
18421 (CLD_KILLED): Likewise.
18422 (CLD_DUMPED): Likewise.
18423 (CLD_TRAPPED): Likewise.
18424 (CLD_STOPPED): Likewise.
18425 (CLD_CONTINUED): Likewise.
18426 (POLL_IN): Likewise.
18427 (POLL_OUT): Likewise.
18428 (POLL_MSG): Likewise.
18429 (POLL_ERR): Likewise.
18430 (POLL_PRI): Likewise.
18431 (POLL_HUP): Likewise.
18432 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
18433 (ILL_ILLOPN): Likewise.
18434 (ILL_ILLADR): Likewise.
18435 (ILL_ILLTRP): Likewise.
18436 (ILL_PRVOPC): Likewise.
18437 (ILL_PRVREG): Likewise.
18438 (ILL_COPROC): Likewise.
18439 (ILL_BADSTK): Likewise.
18440 (FPE_INTDIV): Likewise.
18441 (FPE_INTOVF): Likewise.
18442 (FPE_FLTDIV): Likewise.
18443 (FPE_FLTOVF): Likewise.
18444 (FPE_FLTUND): Likewise.
18445 (FPE_FLTRES): Likewise.
18446 (FPE_FLTINV): Likewise.
18447 (FPE_FLTSUB): Likewise.
18448 (SEGV_MAPERR): Likewise.
18449 (SEGV_ACCERR): Likewise.
18450 (BUS_ADRALN): Likewise.
18451 (BUS_ADRERR): Likewise.
18452 (BUS_OBJERR): Likewise.
18453 (BUS_MCEERR_AR): Likewise.
18454 (BUS_MCEERR_AO): Likewise.
18455 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18456 (TRAP_TRACE): Likewise.
18457 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18458 __USE_XOPEN2K8].
18459 (CLD_KILLED): Likewise.
18460 (CLD_DUMPED): Likewise.
18461 (CLD_TRAPPED): Likewise.
18462 (CLD_STOPPED): Likewise.
18463 (CLD_CONTINUED): Likewise.
18464 (POLL_IN): Likewise.
18465 (POLL_OUT): Likewise.
18466 (POLL_MSG): Likewise.
18467 (POLL_ERR): Likewise.
18468 (POLL_PRI): Likewise.
18469 (POLL_HUP): Likewise.
18470 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
18471 (ILL_ILLOPN): Likewise.
18472 (ILL_ILLADR): Likewise.
18473 (ILL_ILLTRP): Likewise.
18474 (ILL_PRVOPC): Likewise.
18475 (ILL_PRVREG): Likewise.
18476 (ILL_COPROC): Likewise.
18477 (ILL_BADSTK): Likewise.
18478 (FPE_INTDIV): Likewise.
18479 (FPE_INTOVF): Likewise.
18480 (FPE_FLTDIV): Likewise.
18481 (FPE_FLTOVF): Likewise.
18482 (FPE_FLTUND): Likewise.
18483 (FPE_FLTRES): Likewise.
18484 (FPE_FLTINV): Likewise.
18485 (FPE_FLTSUB): Likewise.
18486 (SEGV_MAPERR): Likewise.
18487 (SEGV_ACCERR): Likewise.
18488 (BUS_ADRALN): Likewise.
18489 (BUS_ADRERR): Likewise.
18490 (BUS_OBJERR): Likewise.
18491 (BUS_MCEERR_AR): Likewise.
18492 (BUS_MCEERR_AO): Likewise.
18493 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18494 (TRAP_TRACE): Likewise.
18495 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18496 __USE_XOPEN2K8].
18497 (CLD_KILLED): Likewise.
18498 (CLD_DUMPED): Likewise.
18499 (CLD_TRAPPED): Likewise.
18500 (CLD_STOPPED): Likewise.
18501 (CLD_CONTINUED): Likewise.
18502 (POLL_IN): Likewise.
18503 (POLL_OUT): Likewise.
18504 (POLL_MSG): Likewise.
18505 (POLL_ERR): Likewise.
18506 (POLL_PRI): Likewise.
18507 (POLL_HUP): Likewise.
18508 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
18509 (ILL_ILLOPN): Likewise.
18510 (ILL_ILLADR): Likewise.
18511 (ILL_ILLTRP): Likewise.
18512 (ILL_PRVOPC): Likewise.
18513 (ILL_PRVREG): Likewise.
18514 (ILL_COPROC): Likewise.
18515 (ILL_BADSTK): Likewise.
18516 (FPE_INTDIV): Likewise.
18517 (FPE_INTOVF): Likewise.
18518 (FPE_FLTDIV): Likewise.
18519 (FPE_FLTOVF): Likewise.
18520 (FPE_FLTUND): Likewise.
18521 (FPE_FLTRES): Likewise.
18522 (FPE_FLTINV): Likewise.
18523 (FPE_FLTSUB): Likewise.
18524 (SEGV_MAPERR): Likewise.
18525 (SEGV_ACCERR): Likewise.
18526 (BUS_ADRALN): Likewise.
18527 (BUS_ADRERR): Likewise.
18528 (BUS_OBJERR): Likewise.
18529 (BUS_MCEERR_AR): Likewise.
18530 (BUS_MCEERR_AO): Likewise.
18531 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18532 (TRAP_TRACE): Likewise.
18533 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18534 __USE_XOPEN2K8].
18535 (CLD_KILLED): Likewise.
18536 (CLD_DUMPED): Likewise.
18537 (CLD_TRAPPED): Likewise.
18538 (CLD_STOPPED): Likewise.
18539 (CLD_CONTINUED): Likewise.
18540 (POLL_IN): Likewise.
18541 (POLL_OUT): Likewise.
18542 (POLL_MSG): Likewise.
18543 (POLL_ERR): Likewise.
18544 (POLL_PRI): Likewise.
18545 (POLL_HUP): Likewise.
18546 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
18547 (ILL_ILLOPN): Likewise.
18548 (ILL_ILLADR): Likewise.
18549 (ILL_ILLTRP): Likewise.
18550 (ILL_PRVOPC): Likewise.
18551 (ILL_PRVREG): Likewise.
18552 (ILL_COPROC): Likewise.
18553 (ILL_BADSTK): Likewise.
18554 (ILL_DBLFLT): Likewise.
18555 (ILL_HARDWALL): Likewise.
18556 (FPE_INTDIV): Likewise.
18557 (FPE_INTOVF): Likewise.
18558 (FPE_FLTDIV): Likewise.
18559 (FPE_FLTOVF): Likewise.
18560 (FPE_FLTUND): Likewise.
18561 (FPE_FLTRES): Likewise.
18562 (FPE_FLTINV): Likewise.
18563 (FPE_FLTSUB): Likewise.
18564 (SEGV_MAPERR): Likewise.
18565 (SEGV_ACCERR): Likewise.
18566 (BUS_ADRALN): Likewise.
18567 (BUS_ADRERR): Likewise.
18568 (BUS_OBJERR): Likewise.
18569 (BUS_MCEERR_AR): Likewise.
18570 (BUS_MCEERR_AO): Likewise.
18571 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18572 (TRAP_TRACE): Likewise.
18573 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18574 __USE_XOPEN2K8].
18575 (CLD_KILLED): Likewise.
18576 (CLD_DUMPED): Likewise.
18577 (CLD_TRAPPED): Likewise.
18578 (CLD_STOPPED): Likewise.
18579 (CLD_CONTINUED): Likewise.
18580 (POLL_IN): Likewise.
18581 (POLL_OUT): Likewise.
18582 (POLL_MSG): Likewise.
18583 (POLL_ERR): Likewise.
18584 (POLL_PRI): Likewise.
18585 (POLL_HUP): Likewise.
18586 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
18587 (ILL_ILLOPN): Likewise.
18588 (ILL_ILLADR): Likewise.
18589 (ILL_ILLTRP): Likewise.
18590 (ILL_PRVOPC): Likewise.
18591 (ILL_PRVREG): Likewise.
18592 (ILL_COPROC): Likewise.
18593 (ILL_BADSTK): Likewise.
18594 (FPE_INTDIV): Likewise.
18595 (FPE_INTOVF): Likewise.
18596 (FPE_FLTDIV): Likewise.
18597 (FPE_FLTOVF): Likewise.
18598 (FPE_FLTUND): Likewise.
18599 (FPE_FLTRES): Likewise.
18600 (FPE_FLTINV): Likewise.
18601 (FPE_FLTSUB): Likewise.
18602 (SEGV_MAPERR): Likewise.
18603 (SEGV_ACCERR): Likewise.
18604 (BUS_ADRALN): Likewise.
18605 (BUS_ADRERR): Likewise.
18606 (BUS_OBJERR): Likewise.
18607 (BUS_MCEERR_AR): Likewise.
18608 (BUS_MCEERR_AO): Likewise.
18609 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18610 (TRAP_TRACE): Likewise.
18611 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18612 __USE_XOPEN2K8].
18613 (CLD_KILLED): Likewise.
18614 (CLD_DUMPED): Likewise.
18615 (CLD_TRAPPED): Likewise.
18616 (CLD_STOPPED): Likewise.
18617 (CLD_CONTINUED): Likewise.
18618 (POLL_IN): Likewise.
18619 (POLL_OUT): Likewise.
18620 (POLL_MSG): Likewise.
18621 (POLL_ERR): Likewise.
18622 (POLL_PRI): Likewise.
18623 (POLL_HUP): Likewise.
18624 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
18625 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18626
bc61d27c
JM
18627 [BZ #16670]
18628 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
18629 before #include of <time.h>.
18630 [!__USE_XOPEN2K] (__need_timespec): Likewise.
18631 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
18632 (test-xfail-UNIX98/sched.h/conform): Likewise.
18633
302949e2
MS
186342014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
18635
18636 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
18637 error absence of trapping exception support.
18638 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18639
a00f522a
JM
186402014-03-07 Joseph Myers <joseph@codesourcery.com>
18641
6f99f280
JM
18642 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
18643 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
18644 * timezone/Makefile (testdata): Move definition above include of
18645 Rules.
18646 (test-zones): New variable.
18647 (tests-special): Add zone files.
18648 (build-testdata): Use $(evaluate-test).
18649
0b20a9e8
JM
18650 * elf/Makefile (tests-special): Rename tests to end with .out.
18651 ($(objpfx)noload-mem): Likewise.
18652 ($(objpfx)tst-leaks1-mem): Likewise.
18653 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
18654 * iconv/Makefile (xtests-special): Change test-iconvconfig to
18655 $(objpfx)test-iconvconfig.out.
18656 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
18657 set -e inside subshell and redirect output to file.
18658 * iconvdata/Makefile (generated): Rename tests to end with .out.
18659 Correct type.
18660 (tests-special): Rename tests to end with .out.
18661 ($(objpfx)mtrace-tst-loading): Likewise.
18662 * intl/Makefile (generated): Likewise.
18663 (tests-special): Likewise.
18664 ($(objpfx)mtrace-tst-gettext): Likewise.
18665 * misc/Makefile (generated): Likewise.
18666 (tests-special): Likewise.
18667 ($(objpfx)tst-error1-mem): Likewise.
18668 * nptl/Makefile (tests-special): Likewise.
18669 ($(objpfx)tst-stack3-mem): Likewise.
18670 (generated): Likewise.
18671 * posix/Makefile (generated): Likewise.
18672 (tests-special): Likewise.
18673 (xtests-special): Likewise.
18674 ($(objpfx)tst-fnmatch-mem): Likewise.
18675 ($(objpfx)bug-regex2-mem): Likewise.
18676 ($(objpfx)bug-regex14-mem): Likewise.
18677 ($(objpfx)bug-regex21-mem): Likewise.
18678 ($(objpfx)bug-regex31-mem): Likewise.
18679 ($(objpfx)tst-vfork3-mem): Likewise.
18680 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18681 ($(objpfx)tst-pcre-mem): Likewise.
18682 ($(objpfx)tst-boost-mem): Likewise.
18683 ($(objpfx)bug-ga2-mem): Likewise.
18684 ($(objpfx)bug-glob2-mem): Likewise.
18685 * resolv/Makefile (generate): Likewise.
18686 (tests-special): Likewise.
18687 (xtests-special): Likewise.
18688 (generated): Likewise.
18689 ($(objpfx)mtrace-tst-leaks): Likewise.
18690 ($(objpfx)mtrace-tst-leaks2): Likewise.
18691
265d52ab
JM
18692 * scripts/merge-test-results.sh: New file.
18693 * Makefile (tests-special-notdir): New variable.
18694 (tests): Run merge-test-results.sh.
18695 (xtests): Likewise.
18696 * Rules (tests-special-notdir): New variable.
18697 (xtests-special-notdir): Likewise.
18698 (tests): Run merge-test-results.sh
18699 (xtests): Likewise.
18700
54ee292d
JM
18701 * Makeconfig (test-xfail-name): New variable.
18702 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
18703 compute variable name for expected failures.
18704 * conform/Makefile (conformtest-headers-data): New variable.
18705 (conformtest-standards): Likewise.
18706 (conformtest-headers-ISO): Likewise.
18707 (conformtest-headers-ISO99): Likewise.
18708 (conformtest-headers-ISO11): Likewise.
18709 (conformtest-headers-POSIX): Likewise.
18710 (conformtest-headers-XPG3): Likewise.
18711 (conformtest-headers-XPG4): Likewise.
18712 (conformtest-headers-UNIX98): Likewise.
18713 (conformtest-headers-XOPEN2K): Likewise.
18714 (conformtest-headers-POSIX2008): Likewise.
18715 (conformtest-headers-XOPEN2K8): Likewise.
18716 (conformtest-header-list-base): Likewise.
18717 (conformtest-header-list-tests): Likewise.
18718 (conformtest-header-base): Likewise.
18719 (conformtest-header-tests): Likewise.
18720 (tests-special): Add $(conformtest-header-list-tests). If
18721 [$(fast-check) && !$(cross-compiling)], add
18722 $(conformtest-header-tests) instead of
18723 $(objpfx)run-conformtest.out.
18724 (generated): Add $(conformtest-header-list-base). If
18725 [$(fast-check) && !$(cross-compiling)], add
18726 $(conformtest-header-base). Remove previous setting.
18727 ($(conformtest-header-list-tests)): New target.
18728 (test-xfail-run-conformtest): Remove variable.
18729 ($(objpfx)run-conformtest.out): Remove target.
18730 (test-xfail-ISO11/complex.h/conform): New variable.
18731 (test-xfail-ISO11/stdalign.h/conform): Likewise.
18732 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18733 (test-xfail-XPG3/varargs.h/conform): Likewise.
18734 (test-xfail-XPG4/varargs.h/conform): Likewise.
18735 (test-xfail-UNIX98/varargs.h/conform): Likewise.
18736 (test-xfail-XPG4/ndbm.h/conform): Likewise.
18737 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
18738 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
18739 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
18740 (test-xfail-XPG3/fcntl.h/conform): Likewise.
18741 (test-xfail-XPG3/ftw.h/conform): Likewise.
18742 (test-xfail-XPG3/grp.h/conform): Likewise.
18743 (test-xfail-XPG3/langinfo.h/conform): Likewise.
18744 (test-xfail-XPG3/limits.h/conform): Likewise.
18745 (test-xfail-XPG3/pwd.h/conform): Likewise.
18746 (test-xfail-XPG3/search.h/conform): Likewise.
18747 (test-xfail-XPG3/signal.h/conform): Likewise.
18748 (test-xfail-XPG3/stdio.h/conform): Likewise.
18749 (test-xfail-XPG3/stdlib.h/conform): Likewise.
18750 (test-xfail-XPG3/string.h/conform): Likewise.
18751 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
18752 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
18753 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18754 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18755 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
18756 (test-xfail-XPG3/sys/types.h/conform): Likewise.
18757 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
18758 (test-xfail-XPG3/termios.h/conform): Likewise.
18759 (test-xfail-XPG3/time.h/conform): Likewise.
18760 (test-xfail-XPG3/unistd.h/conform): Likewise.
18761 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
18762 (test-xfail-XPG4/fcntl.h/conform): Likewise.
18763 (test-xfail-XPG4/langinfo.h/conform): Likewise.
18764 (test-xfail-XPG4/netdb.h/conform): Likewise.
18765 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
18766 (test-xfail-XPG4/signal.h/conform): Likewise.
18767 (test-xfail-XPG4/stdio.h/conform): Likewise.
18768 (test-xfail-XPG4/stdlib.h/conform): Likewise.
18769 (test-xfail-XPG4/stropts.h/conform): Likewise.
18770 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18771 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18772 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18773 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18774 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18775 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
18776 (test-xfail-XPG4/sys/time.h/conform): Likewise.
18777 (test-xfail-XPG4/sys/types.h/conform): Likewise.
18778 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
18779 (test-xfail-XPG4/termios.h/conform): Likewise.
18780 (test-xfail-XPG4/ucontext.h/conform): Likewise.
18781 (test-xfail-XPG4/unistd.h/conform): Likewise.
18782 (test-xfail-XPG4/utmpx.h/conform): Likewise.
18783 (test-xfail-POSIX/sched.h/conform): Likewise.
18784 (test-xfail-POSIX/signal.h/conform): Likewise.
18785 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18786 (test-xfail-POSIX/tar.h/conform): Likewise.
18787 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
18788 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
18789 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18790 (test-xfail-UNIX98/netdb.h/conform): Likewise.
18791 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
18792 (test-xfail-UNIX98/sched.h/conform): Likewise.
18793 (test-xfail-UNIX98/signal.h/conform): Likewise.
18794 (test-xfail-UNIX98/stdio.h/conform): Likewise.
18795 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18796 (test-xfail-UNIX98/stropts.h/conform): Likewise.
18797 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18798 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18799 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18800 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18801 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18802 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
18803 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
18804 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
18805 (test-xfail-UNIX98/unistd.h/conform): Likewise.
18806 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
18807 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
18808 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
18809 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18810 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
18811 (test-xfail-XOPEN2K/math.h/conform): Likewise.
18812 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18813 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18814 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18815 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
18816 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
18817 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
18818 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
18819 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18820 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18821 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18822 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18823 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18824 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18825 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
18826 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
18827 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18828 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
18829 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18830 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
18831 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18832 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
18833 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
18834 (test-xfail-POSIX2008/signal.h/conform): Likewise.
18835 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18836 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
18837 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
18838 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18839 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18840 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
18841 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18842 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18843 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18844 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
18845 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
18846 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18847 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18848 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18849 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
18850 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18851 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18852 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18853 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18854 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
18855 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18856 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18857 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
18858 (conformtest-cc-flags): Likewise.
18859 ($(conformtest-header-tests): New target.
18860 * conform/check-header-lists.sh: New file.
18861 * conform/run-conformtest.sh: Remove.
18862
a00f522a
JM
18863 * conform/conformtest.pl: Allow ' and \ in values given for
18864 constants.
18865 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
18866 inclusion.
18867 [POSIX] (sys/types.h): Likewise.
18868 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
18869 inclusion.
18870 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
18871 inclusion.
18872 * conform/data/signal.h-data (SIGIO): Remove expectation.
18873 [XPG3] (SIGBUS): Do not expect.
18874 [POSIX || XPG3] (SIGPOLL): Likewise.
18875 [POSIX || XPG3] (SIGPROF): Likewise.
18876 [POSIX || XPG3] (SIGSYS): Likewise.
18877 [XPG3] (SIGTRAP): Likewise.
18878 [POSIX || XPG3] (SIGURG): Likewise.
18879 [POSIX || XPG3] (SIGVTALRM): Likewise.
18880 [POSIX || XPG3] (SIGXCPU): Likewise.
18881 [POSIX || XPG3] (SIGXFSZ): Likewise.
18882 [POSIX] (SA_SIGINFO): Expect.
18883 [XPG3] (siginfo_t): Do not expect type or contents.
18884 [POSIX] (si_pid): Do not expect element.
18885 [POSIX] (si_uid): Likewise.
18886 [POSIX] (si_addr): Likewise.
18887 [POSIX] (si_status): Likewise.
18888 [POSIX] (si_band): Likewise.
18889 [XPG4] (si_value): Likewise.
18890 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
18891 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
18892 [POSIX || XPG3] (ILL_ILLADR): Likewise.
18893 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
18894 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
18895 [POSIX || XPG3] (ILL_PRVREG): Likewise.
18896 [POSIX || XPG3] (ILL_COPROC): Likewise.
18897 [POSIX || XPG3] (ILL_BADSTK): Likewise.
18898 [POSIX || XPG3] (FPE_INTDIV): Likewise.
18899 [POSIX || XPG3] (FPE_INTOVF): Likewise.
18900 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
18901 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
18902 [POSIX || XPG3] (FPE_FLTUND): Likewise.
18903 [POSIX || XPG3] (FPE_FLTRES): Likewise.
18904 [POSIX || XPG3] (FPE_FLTINV): Likewise.
18905 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
18906 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
18907 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
18908 [POSIX || XPG3] (BUS_ADRALN): Likewise.
18909 [POSIX || XPG3] (BUS_ADRERR): Likewise.
18910 [POSIX || XPG3] (BUS_OBJERR): Likewise.
18911 [POSIX || XPG3] (CLD_EXITED): Likewise.
18912 [POSIX || XPG3] (CLD_KILLED): Likewise.
18913 [POSIX || XPG3] (CLD_DUMPED): Likewise.
18914 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
18915 [POSIX || XPG3] (CLD_STOPPED): Likewise.
18916 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
18917 [POSIX || XPG3] (POLL_IN): Likewise.
18918 [POSIX || XPG3] (POLL_OUT): Likewise.
18919 [POSIX || XPG3] (POLL_MSG): Likewise.
18920 [POSIX || XPG3] (POLL_ERR): Likewise.
18921 [POSIX || XPG3] (POLL_PRI): Likewise.
18922 [POSIX || XPG3] (POLL_HUP): Likewise.
18923 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
18924 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
18925 (SIG*): Do not allow.
18926 [XPG3] (si_*): Likewise.
18927 [XPG3] (SI_*): Likewise.
18928 [XPG3 || XPG4] (sigev_*): Likewise.
18929 [XPG3 || XPG4] (SIGEV_*): Likewise.
18930 [XPG3 || XPG4] (sival_*): Likewise.
18931 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
18932 [POSIX || XPG3] (BUS_*): Likewise.
18933 [POSIX || XPG3] (CLD_*): Likewise.
18934 [POSIX || XPG3] (FPE_*): Likewise.
18935 [POSIX || XPG3] (ILL_*): Likewise.
18936 [POSIX || XPG3] (POLL_*): Likewise.
18937 [POSIX || XPG3] (SEGV_*): Likewise.
18938 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
18939 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
18940 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
18941 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
18942 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
18943 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
18944 Specify type and value.
18945 (TVERSLEN): Likewise.
18946 (REGTYPE): Likewise.
18947 (AREGTYPE): Likewise.
18948 (LNKTYPE): Likewise.
18949 (SYMTYPE): Likewise.
18950 (CHRTYPE): Likewise.
18951 (BLKTYPE): Likewise.
18952 (DIRTYPE): Likewise.
18953 (FIFOTYPE): Likewise.
18954 (CONTTYPE): Likewise.
18955 (TSUID): Likewise.
18956 (TSGID): Likewise.
18957 (TSVTX): Likewise.
18958 (TUREAD): Likewise.
18959 (TUWRITE): Likewise.
18960 (TUEXEC): Likewise.
18961 (TGREAD): Likewise.
18962 (TGWRITE): Likewise.
18963 (TGEXEC): Likewise.
18964 (TOREAD): Likewise.
18965 (TOWRITE): Likewise.
18966 (TOEXEC): Likewise.
18967 [POSIX] (TSVTX): Expect constant.
18968
aa97dee1
JM
189692014-03-06 Joseph Myers <joseph@codesourcery.com>
18970
f214606a
JM
18971 * Makefile (tests): Change dependencies to ....
18972 (tests-special): ... additions to this variable.
18973 (tests): Depend on $(tests-special).
18974 * Makerules (check-abi-list): New variable.
18975 (check-abi): Depend on $(check-abi-list).
18976 [$(subdir) = elf] (tests-special): Add
18977 $(objpfx)check-abi-libc.out.
18978 [$(build-shared) = yes && subdir] (tests-special): Add
18979 $(check-abi-list).
18980 [$(build-shared) = yes && subdir] (tests): Do not depend on
18981 check-abi.
18982 * Rules (tests): Depend on $(tests-special).
18983 (xtests): Depend on $(xtests-special).
18984 * catgets/Makefile (tests): Change dependencies to ....
18985 (tests-special): ... additions to this variable.
18986 * conform/Makefile (tests): Change dependencies to ....
18987 (tests-special): ... additions to this variable.
18988 * elf/Makefile (tests): Change dependencies to ....
18989 (tests-special): ... additions to this variable.
18990 * grp/Makefile (tests): Change dependencies to ....
18991 (tests-special): ... additions to this variable.
18992 * iconv/Makefile (xtests): Change dependencies to ....
18993 (xtests-special): ... additions to this variable.
18994 * iconvdata/Makefile (tests): Change dependencies to ....
18995 (tests-special): ... additions to this variable.
18996 * intl/Makefile (tests): Change dependencies to ....
18997 (tests-special): ... additions to this variable. Also add
18998 $(objpfx)tst-gettext.out.
18999 * io/Makefile (tests): Change dependencies to ....
19000 (tests-special): ... additions to this variable.
19001 * libio/Makefile (tests): Change dependencies to ....
19002 (tests-special): ... additions to this variable.
19003 * malloc/Makefile (tests): Change dependencies to ....
19004 (tests-special): ... additions to this variable.
19005 * misc/Makefile (tests): Change dependencies to ....
19006 (tests-special): ... additions to this variable.
19007 * nptl/Makefile (tests): Change dependencies to ....
19008 (tests-special): ... additions to this variable.
19009 * nptl_db/Makefile (tests): Change dependencies to ....
19010 (tests-special): ... additions to this variable.
19011 * posix/Makefile (tests): Change dependencies to ....
19012 (tests-special): ... additions to this variable.
19013 (xtests): Change dependencies to ....
19014 (xtests-special): ... additions to this variable.
19015 * resolv/Makefile (tests): Change dependencies to ....
19016 (tests-special): ... additions to this variable.
19017 (xtests): Change dependencies to ....
19018 (xtests-special): ... additions to this variable.
19019 * stdio-common/Makefile (tests): Change dependencies to ....
19020 (tests-special): ... additions to this variable.
19021 (do-tst-unbputc): Remove target.
19022 (do-tst-printf): Likewise.
19023 * stdlib/Makefile (tests): Change dependencies to ....
19024 (tests-special): ... additions to this variable.
19025 * string/Makefile (tests): Change dependencies to ....
19026 (tests-special): ... additions to this variable.
19027 * sysdeps/x86/Makefile (tests): Change dependencies to ....
19028 (tests-special): ... additions to this variable.
19029
81700b53
JM
19030 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
19031 whole file.
19032 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
19033 whole file.
19034 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
19035 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
19036
2ea18461
JM
19037 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
19038 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
19039 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
19040 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
19041 * conform/data/libgen.h-data [XPG3]: Likewise.
19042 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
19043 * conform/data/ndbm.h-data [XPG3]: Likewise.
19044 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19045 * conform/data/netdb.h-data [XPG3]: Likewise.
19046 * conform/data/netinet/in.h-data [XPG3]: Likewise.
19047 * conform/data/poll.h-data [XPG3]: Likewise.
19048 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19049 * conform/data/strings.h-data [XPG3]: Likewise.
19050 * conform/data/stropts.h-data [XPG3]: Likewise.
19051 * conform/data/sys/mman.h-data [XPG3]: Likewise.
19052 * conform/data/sys/resource.h-data [XPG3]: Likewise.
19053 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
19054 Likewise.
19055 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
19056 * conform/data/sys/time.h-data [XPG3]: Likewise.
19057 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
19058 * conform/data/sys/uio.h-data [XPG3]: Likewise.
19059 * conform/data/sys/un.h-data [XPG3]: Likewise.
19060 * conform/data/syslog.h-data [XPG3]: Likewise.
19061 * conform/data/ucontext.h-data [XPG3]: Likewise.
19062 * conform/data/utmpx.h-data [XPG3]: Likewise.
19063 * conform/data/varargs.h-data [UNIX98]: Enable file.
19064
355bc986
JM
19065 * manual/Makefile (INSTALL_INFO): Remove variable setting.
19066
215db402
JM
19067 * math/libm-test.inc (struct test_f_f_data): Move expected results
19068 into structure for each rounding mode.
19069 (struct test_ff_f_data): Likewise.
19070 (struct test_ff_f_data_nexttoward): Likewise.
19071 (struct test_fi_f_data): Likewise.
19072 (struct test_fl_f_data): Likewise.
19073 (struct test_if_f_data): Likewise.
19074 (struct test_fff_f_data): Likewise.
19075 (struct test_c_f_data): Likewise.
19076 (struct test_f_f1_data): Likewise.
19077 (struct test_fF_f1_data): Likewise.
19078 (struct test_ffI_f1_data): Likewise.
19079 (struct test_c_c_data): Likewise.
19080 (struct test_cc_c_data): Likewise.
19081 (struct test_f_i_data): Likewise.
19082 (struct test_ff_i_data): Likewise.
19083 (struct test_f_l_data): Likewise.
19084 (struct test_f_L_data): Likewise.
19085 (struct test_fFF_11_data): Likewise.
19086 (RM_): New macro.
19087 (RM_FE_DOWNWARD): Likewise.
19088 (RM_FE_TONEAREST): Likewise.
19089 (RM_FE_TOWARDZERO): Likewise.
19090 (RM_FE_UPWARD): Likewise.
19091 (RUN_TEST_LOOP_f_f): Update references to expected results.
19092 (RUN_TEST_LOOP_2_f): Likewise.
19093 (RUN_TEST_LOOP_fff_f): Likewise.
19094 (RUN_TEST_LOOP_c_f): Likewise.
19095 (RUN_TEST_LOOP_f_f1): Likewise.
19096 (RUN_TEST_LOOP_fF_f1): Likewise.
19097 (RUN_TEST_LOOP_fI_f1): Likewise.
19098 (RUN_TEST_LOOP_ffI_f1): Likewise.
19099 (RUN_TEST_LOOP_c_c): Likewise.
19100 (RUN_TEST_LOOP_cc_c): Likewise.
19101 (RUN_TEST_LOOP_f_i): Likewise.
19102 (RUN_TEST_LOOP_f_i_tg): Likewise.
19103 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19104 (RUN_TEST_LOOP_f_b): Likewise.
19105 (RUN_TEST_LOOP_f_b_tg): Likewise.
19106 (RUN_TEST_LOOP_f_l): Likewise.
19107 (RUN_TEST_LOOP_f_L): Likewise.
19108 (RUN_TEST_LOOP_fFF_11): Likewise.
19109 * math/gen-libm-test.pl (parse_args): Output four copies of
19110 expected results for each test.
19111
67737b8f
JM
19112 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19113 (__ASSUME_UTIMES): Remove.
19114 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19115 (__ASSUME_UTIMES): Likewise.
19116
aa97dee1
JM
19117 * math/gen-auto-libm-tests.c: Update comment on output format.
19118 (output_for_one_input_case): Generate before-rounding and
19119 after-rounding information as conditions on output flags not
19120 floating-point format.
19121 * math/auto-libm-test-out: Regenerated.
19122 * math/gen-libm-test.pl (cond_value): New function.
19123 (or_cond_value): Use cond_value.
19124 (generate_testfile): Handle conditional exceptions.
19125
e6b6a857
JM
191262014-03-05 Joseph Myers <joseph@codesourcery.com>
19127
2f0a0f44
JM
19128 * math/libm-test.inc (max_valid_error): New variable.
19129 (init_max_error): Take new argument specifying whether function
19130 results are exactly determined. Set max_valid_error and bound
19131 other variables for errors based on this argument.
19132 (set_max_error): Do not record results above max_valid_error.
19133 (check_float_internal): Only accept errors of up to 0.5ulps if
19134 also at most max_valid_error.
19135 (START): Take new argument EXACT and pass it to init_max_error.
19136 (acos_test): Update call to START.
19137 (acos_test_tonearest): Likewise.
19138 (acos_test_towardzero): Likewise.
19139 (acos_test_downward): Likewise.
19140 (acos_test_upward): Likewise.
19141 (acosh_test): Likewise.
19142 (asin_test): Likewise.
19143 (asin_test_tonearest): Likewise.
19144 (asin_test_towardzero): Likewise.
19145 (asin_test_downward): Likewise.
19146 (asin_test_upward): Likewise.
19147 (asinh_test): Likewise.
19148 (atan_test): Likewise.
19149 (atanh_test): Likewise.
19150 (atan2_test): Likewise.
19151 (cabs_test): Likewise.
19152 (cacos_test): Likewise.
19153 (cacosh_test): Likewise.
19154 (carg_test): Likewise.
19155 (casin_test): Likewise.
19156 (casinh_test): Likewise.
19157 (catan_test): Likewise.
19158 (catanh_test): Likewise.
19159 (cbrt_test): Likewise.
19160 (ccos_test): Likewise.
19161 (ccosh_test): Likewise.
19162 (ceil_test): Likewise.
19163 (cexp_test): Likewise.
19164 (cimag_test): Likewise.
19165 (clog_test): Likewise.
19166 (clog10_test): Likewise.
19167 (conj_test): Likewise.
19168 (copysign_test): Likewise.
19169 (cos_test): Likewise.
19170 (cos_test_tonearest): Likewise.
19171 (cos_test_towardzero): Likewise.
19172 (cos_test_downward): Likewise.
19173 (cos_test_upward): Likewise.
19174 (cosh_test): Likewise.
19175 (cosh_test_tonearest): Likewise.
19176 (cosh_test_towardzero): Likewise.
19177 (cosh_test_downward): Likewise.
19178 (cosh_test_upward): Likewise.
19179 (cpow_test): Likewise.
19180 (cproj_test): Likewise.
19181 (creal_test): Likewise.
19182 (csin_test): Likewise.
19183 (csinh_test): Likewise.
19184 (csqrt_test): Likewise.
19185 (ctan_test): Likewise.
19186 (ctan_test_tonearest): Likewise.
19187 (ctan_test_towardzero): Likewise.
19188 (ctan_test_downward): Likewise.
19189 (ctan_test_upward): Likewise.
19190 (ctanh_test): Likewise.
19191 (ctanh_test_tonearest): Likewise.
19192 (ctanh_test_towardzero): Likewise.
19193 (ctanh_test_downward): Likewise.
19194 (ctanh_test_upward): Likewise.
19195 (erf_test): Likewise.
19196 (erfc_test): Likewise.
19197 (exp_test): Likewise.
19198 (exp_test_tonearest): Likewise.
19199 (exp_test_towardzero): Likewise.
19200 (exp_test_downward): Likewise.
19201 (exp_test_upward): Likewise.
19202 (exp10_test): Likewise.
19203 (exp10_test_tonearest): Likewise.
19204 (exp10_test_towardzero): Likewise.
19205 (exp10_test_downward): Likewise.
19206 (exp10_test_upward): Likewise.
19207 (pow10_test): Likewise.
19208 (exp2_test): Likewise.
19209 (expm1_test): Likewise.
19210 (expm1_test_tonearest): Likewise.
19211 (expm1_test_towardzero): Likewise.
19212 (expm1_test_downward): Likewise.
19213 (expm1_test_upward): Likewise.
19214 (fabs_test): Likewise.
19215 (fdim_test): Likewise.
19216 (floor_test): Likewise.
19217 (fma_test): Likewise.
19218 (fma_test_towardzero): Likewise.
19219 (fma_test_downward): Likewise.
19220 (fma_test_upward): Likewise.
19221 (fmax_test): Likewise.
19222 (fmin_test): Likewise.
19223 (fmod_test): Likewise.
19224 (fpclassify_test): Likewise.
19225 (frexp_test): Likewise.
19226 (hypot_test): Likewise.
19227 (ilogb_test): Likewise.
19228 (isfinite_test): Likewise.
19229 (finite_test): Likewise.
19230 (isgreater_test): Likewise.
19231 (isgreaterequal_test): Likewise.
19232 (isinf_test): Likewise.
19233 (isless_test): Likewise.
19234 (islessequal_test): Likewise.
19235 (islessgreater_test): Likewise.
19236 (isnan_test): Likewise.
19237 (isnormal_test): Likewise.
19238 (issignaling_test): Likewise.
19239 (isunordered_test): Likewise.
19240 (j0_test): Likewise.
19241 (j1_test): Likewise.
19242 (jn_test): Likewise.
19243 (ldexp_test): Likewise.
19244 (lgamma_test): Likewise.
19245 (gamma_test): Likewise.
19246 (lrint_test): Likewise.
19247 (lrint_test_tonearest): Likewise.
19248 (lrint_test_towardzero): Likewise.
19249 (lrint_test_downward): Likewise.
19250 (lrint_test_upward): Likewise.
19251 (llrint_test): Likewise.
19252 (llrint_test_tonearest): Likewise.
19253 (llrint_test_towardzero): Likewise.
19254 (llrint_test_downward): Likewise.
19255 (llrint_test_upward): Likewise.
19256 (log_test): Likewise.
19257 (log10_test): Likewise.
19258 (log1p_test): Likewise.
19259 (log2_test): Likewise.
19260 (logb_test): Likewise.
19261 (logb_test_downward): Likewise.
19262 (lround_test): Likewise.
19263 (llround_test): Likewise.
19264 (modf_test): Likewise.
19265 (nearbyint_test): Likewise.
19266 (nextafter_test): Likewise.
19267 (nexttoward_test): Likewise.
19268 (pow_test): Likewise.
19269 (pow_test_tonearest): Likewise.
19270 (pow_test_towardzero): Likewise.
19271 (pow_test_downward): Likewise.
19272 (pow_test_upward): Likewise.
19273 (remainder_test): Likewise.
19274 (drem_test): Likewise.
19275 (remainder_test_tonearest): Likewise.
19276 (drem_test_tonearest): Likewise.
19277 (remainder_test_towardzero): Likewise.
19278 (drem_test_towardzero): Likewise.
19279 (remainder_test_downward): Likewise.
19280 (drem_test_downward): Likewise.
19281 (remainder_test_upward): Likewise.
19282 (drem_test_upward): Likewise.
19283 (remquo_test): Likewise.
19284 (rint_test): Likewise.
19285 (rint_test_tonearest): Likewise.
19286 (rint_test_towardzero): Likewise.
19287 (rint_test_downward): Likewise.
19288 (rint_test_upward): Likewise.
19289 (round_test): Likewise.
19290 (scalb_test): Likewise.
19291 (scalbn_test): Likewise.
19292 (scalbln_test): Likewise.
19293 (signbit_test): Likewise.
19294 (sin_test): Likewise.
19295 (sin_test_tonearest): Likewise.
19296 (sin_test_towardzero): Likewise.
19297 (sin_test_downward): Likewise.
19298 (sin_test_upward): Likewise.
19299 (sincos_test): Likewise.
19300 (sinh_test): Likewise.
19301 (sinh_test_tonearest): Likewise.
19302 (sinh_test_towardzero): Likewise.
19303 (sinh_test_downward): Likewise.
19304 (sinh_test_upward): Likewise.
19305 (sqrt_test): Likewise.
19306 (sqrt_test_tonearest): Likewise.
19307 (sqrt_test_towardzero): Likewise.
19308 (sqrt_test_downward): Likewise.
19309 (sqrt_test_upward): Likewise.
19310 (tan_test): Likewise.
19311 (tan_test_tonearest): Likewise.
19312 (tan_test_towardzero): Likewise.
19313 (tan_test_downward): Likewise.
19314 (tan_test_upward): Likewise.
19315 (tanh_test): Likewise.
19316 (tgamma_test): Likewise.
19317 (trunc_test): Likewise.
19318 (y0_test): Likewise.
19319 (y1_test): Likewise.
19320 (yn_test): Likewise.
19321 (significand_test): Likewise.
19322
e6b6a857
JM
19323 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19324 individual tests in comment.
19325 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19326 (prev_max_error): New variable.
19327 (prev_real_max_error): Likewise.
19328 (prev_imag_max_error): Likewise.
19329 (compare_ulp_data): Don't refer to test names in comment.
19330 (find_test_ulps): Remove function.
19331 (find_function_ulps): Likewise.
19332 (find_complex_function_ulps): Likewise.
19333 (init_max_error): Take function name as argument. Look up ulps
19334 for that function.
19335 (print_ulps): Remove function.
19336 (print_max_error): Use prev_max_error instead of calling
19337 find_function_ulps.
19338 (print_complex_max_error): Use prev_real_max_error and
19339 prev_imag_max_error instead of calling find_complex_function_ulps.
19340 (check_float_internal): Take max_ulp parameter instead of calling
19341 find_test_ulps. Don't call print_ulps.
19342 (check_float): Update call to check_float_internal.
19343 (check_complex): Update calls to check_float_internal.
19344 (START): Pass argument to init_max_error.
19345 * math/gen-libm-test.pl (%results): Don't include "kind"
19346 information.
19347 (parse_ulps): Don't handle ulps of individual tests.
19348 (print_ulps_file): Likewise.
19349 (output_ulps): Likewise.
19350 * math/README.libm-test: Update.
19351 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19352 individual tests.
19353 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19354 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19355 * sysdeps/arm/libm-test-ulps: Likewise.
19356 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19357 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19358 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19359 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19360 * sysdeps/microblaze/libm-test-ulps: Likewise.
19361 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19362 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19363 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19364 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19365 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19366 * sysdeps/sh/libm-test-ulps: Likewise.
19367 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19368 * sysdeps/tile/libm-test-ulps: Likewise.
19369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19370
45adef3c
JM
193712014-03-04 Joseph Myers <joseph@codesourcery.com>
19372
19373 * math/libm-test.inc (print_complex_max_error): Check separately
19374 whether real and imaginary errors are within allowed range and
19375 pass 0 to print_complex_function_ulps instead of value within
19376 allowed range.
19377
000232b9
SP
193782014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19379
d4b17258
SP
19380 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19381 formatting.
19382 (get_handles_fopen): Likewise.
19383 (do_write_test): Likewise.
19384
091eff71
SP
19385 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19386
fa3cd248
SP
19387 * libio/fileops.c (do_ftell): Use cached offset when
19388 available.
19389 * libio/iofwide.c (do_ftell_wide): Likewise.
19390 * libio/iofdopen.c (_IO_new_fdopen): Don't use
19391 _IO_file_attach.
19392 * libio/wfileops.c (_IO_fwide): Don't cache offset.
19393
000232b9
SP
19394 [BZ #16532]
19395 * libio/libioP.h (get_file_offset): New function.
19396 * libio/fileops.c (get_file_offset): Likewise.
19397 (do_ftell): Likewise.
19398 (_IO_new_file_seekoff): Split out ftell logic.
19399 * libio/wfileops.c (do_ftell_wide): Likewise.
19400 (_IO_wfile_seekoff): Split out ftell logic.
19401 * libio/tst-ftell-active-handler.c: New test case.
19402 * libio/Makefile (tests): Add it.
19403
116f4d1a
RM
194042014-03-03 Roland McGrath <roland@hack.frob.com>
19405
19406 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19407 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19408
532a6035
SP
194092014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19410
19411 [BZ #16639]
19412 * nscd/connections.c (nscd_init): Call do_exit.
19413 (start_threads): Call do_exit and notify_parent.
19414 (begin_drop_privileges): Call do_exit.
19415 (finish_drop_privileges): Likewise.
19416 * nscd/selinux.c (preserve_capabilities): Likewise.
19417 (install_real_capabilities): Likewise.
19418 (nscd_selinux_enabled): Likewise.
19419 (avc_create_thread): Likewise.
19420 (avc_alloc_lock): Likewise.
19421 (nscd_avc_init): Likewise.
19422 * nscd/nscd.c (parent_fd): New static variable.
19423 (main): Create a pipe between parent and child processes.
19424 Skip closing parent_fd.
19425 (monitor_child): New function.
19426 (do_exit): Likewise.
19427 (notify_parent): Likewise.
19428 * nscd/nscd.h (notify_parent): Likewise.
19429 (do_exit): Likewise.
19430
d6285c9f
CD
194312014-03-03 Carlos O'Donell <carlos@redhat.com>
19432
19433 * malloc/malloc.c (__libc_calloc): Revert last change.
19434
2b85d2a0
AZ
194352014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19436
19437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19438
c7debbdf
RS
194392014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19440
19441 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
19442 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
19443 implementation.
19444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19445 (__libc_ifunc_impl_list): Likewise.
19446 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
19447 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
19448 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
19449 * string/strrchr.c: Define STRRCHR.
19450
235eed86
OB
194512014-02-28 Ondřej Bílka <neleai@seznam.cz>
19452
19453 * benchtest/bench-strtok.c (simple_strtok): Delete.
19454 (strtok_string): Use as benchmark.
19455 * string/strtok (STRTOK): New macro.
19456
8e25d1e7
CD
194572014-02-28 Carlos O'Donell <carlos@redhat.com>
19458
ef563f92
CD
19459 * manual/threads.texi: Add header and standard comments to all
19460 functions.
19461
8e25d1e7
CD
19462 * elf/dl-lookup.c (check_match): New function.
19463 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
19464 (do_lookup_x): Remove nested function check_match. Use non-nested
19465 function check_match.
19466
ff71cc37
RM
194672014-02-28 Roland McGrath <roland@hack.frob.com>
19468
f08e9a26
RM
19469 * csu/Makefile (generated, before-compile): Use += rather than =.
19470 * catgets/Makefile (generated, generated-dirs): Likewise.
19471 * debug/Makefile (generated): Likewise.
19472 * dlfcn/Makefile (generated): Likewise.
19473 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
19474 * iconvdata/Makefile (before-compile, generated): Likewise.
19475 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
19476 * libio/Makefile (generated): Likewise.
19477 * malloc/Makefile (generated): Likewise.
19478 * manual/Makefile (generated, generated-dirs): Likewise.
19479 * misc/Makefile (generated): Likewise.
19480 * posix/Makefile (generated): Likewise.
19481 * resolv/Makefile (generated): Likewise.
19482 * sunrpc/Makefile (generated, generated-dirs): Likewise.
19483 * timezone/Makefile (generated, generated-dirs): Likewise.
19484
ff71cc37
RM
19485 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
19486
fe13a20c
AZ
194872014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19488
57f41c40
AS
19489 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19490 power8 implementation.
19491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
19492 file: POWER8 llround ifunc implementation.
19493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19494 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
19495 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
19496 POWER8 llround implementation.
19497
57f41c40
AS
19498 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
19499 power8 implementation.
19500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
19501 file: POWER8 llrint ifunc implementation.
19502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
19503 Add POWER8 implementation.
1ad8950a
AZ
19504 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
19505 POWER8 llrint implementation.
19506
57f41c40
AS
19507 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
19508 power8 implementation.
19509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
19510 file: POWER8 finite ifunc implementation.
19511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
19512 Add POWER8 implementation.
cac626d6
AZ
19513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
19514 Likewise.
19515 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
19516 POWER8 finite implementation.
19517 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
19518
57f41c40
AS
19519 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
19520 power8 implementation.
19521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
19522 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
19523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
19524 POWER8 implementation.
19525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
19526 Likewise.
57f41c40
AS
19527 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
19528 isinf implementation.
4393fc11
AZ
19529 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
19530
57f41c40
AS
19531 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19532 (INIT_ARCH): Add hwcap2 initialization.
19533 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19534 power8 implementation.
19535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
19536 file: POWER8 isnan ifunc implementation.
487972ae
AZ
19537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
19538 POWER8 implementation.
19539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
19540 Likewise.
57f41c40
AS
19541 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
19542 isnan implementation.
487972ae
AZ
19543 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
19544
7d92b787
JY
195452014-02-27 Joey Ye <joey.ye@arm.com>
19546
19547 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19548 (_FP_NANFRAC_Q): Set to zero.
19549
1cadc858
SP
195502014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19551
19552 [BZ #16623]
19553 * math/auto-libm-test-in: New test inputs.
19554 * math/auto-libm-test-out: Regenerate.
19555 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
19556 and DA.
19557 (__cos): Likewise.
19558 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19559
f8c17e79
JM
195602014-02-27 Joseph Myers <joseph@codesourcery.com>
19561
19562 * scripts/evaluate-test.sh: Take new argument indicating whether
19563 failure is expected.
19564 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
19565 indicating whether failure is expected.
19566 * conform/Makefile (test-xfail-run-conformtest): New variable.
19567 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
19568 level.
19569 * posix/Makefile (test-xfail-annexc): New variable.
19570 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
19571
a5f891ac
JM
195722014-02-26 Joseph Myers <joseph@codesourcery.com>
19573
19574 * argp/Makefile: Include Makeconfig immediately after defining
19575 subdir.
19576 * assert/Makefile: Likewise.
19577 * benchtests/Makefile: Likewise.
19578 * catgets/Makefile: Likewise.
19579 * conform/Makefile: Likewise.
19580 * crypt/Makefile: Likewise.
19581 * csu/Makefile: Likewise.
19582 (all): Remove target.
19583 * ctype/Makefile: Include Makeconfig immediately after defining
19584 subdir.
19585 * debug/Makefile: Likewise.
19586 * dirent/Makefile: Likewise.
19587 * dlfcn/Makefile: Likewise.
19588 * gmon/Makefile: Likewise.
19589 * gnulib/Makefile: Likewise.
19590 * grp/Makefile: Likewise.
19591 * gshadow/Makefile: Likewise.
19592 * hesiod/Makefile: Likewise.
19593 * hurd/Makefile: Likewise.
19594 (all): Remove target.
19595 * iconvdata/Makefile: Include Makeconfig immediately after
19596 defining subdir.
19597 * inet/Makefile: Likewise.
19598 * intl/Makefile: Likewise.
19599 * io/Makefile: Likewise.
19600 * libio/Makefile: Likewise.
19601 (all): Remove target.
19602 * locale/Makefile: Include Makeconfig immediately after defining
19603 subdir.
19604 * login/Makefile: Likewise.
19605 * mach/Makefile: Likewise.
19606 (all): Remove target.
19607 * malloc/Makefile: Include Makeconfig immediately after defining
19608 subdir.
19609 (all): Remove target.
19610 * manual/Makefile: Include Makeconfig immediately after defining
19611 subdir.
19612 * math/Makefile: Likewise.
19613 * misc/Makefile: Likewise.
19614 * nis/Makefile: Likewise.
19615 * nss/Makefile: Likewise.
19616 * po/Makefile: Likewise.
19617 (all): Remove target.
19618 * posix/Makefile: Include Makeconfig immediately after defining
19619 subdir.
19620 * pwd/Makefile: Likewise.
19621 * resolv/Makefile: Likewise.
19622 * resource/Makefile: Likewise.
19623 * rt/Makefile: Likewise.
19624 * setjmp/Makefile: Likewise.
19625 * shadow/Makefile: Likewise.
19626 * signal/Makefile: Likewise.
19627 * socket/Makefile: Likewise.
19628 * soft-fp/Makefile: Likewise.
19629 * stdio-common/Makefile: Likewise.
19630 * stdlib/Makefile: Likewise.
19631 * streams/Makefile: Likewise.
19632 * string/Makefile: Likewise.
19633 * sunrpc/Makefile: Likewise.
19634 (all): Remove target.
19635 * sysvipc/Makefile: Include Makeconfig immediately after defining
19636 subdir.
19637 * termios/Makefile: Likewise.
19638 * time/Makefile: Likewise.
19639 * timezone/Makefile: Likewise.
19640 (all): Remove target.
19641 * wcsmbs/Makefile: Include Makeconfig immediately after defining
19642 subdir.
19643 * wctype/Makefile: Likewise.
19644
5b456e9d
SE
196452014-02-26 Steve Ellcey <sellcey@mips.com>
19646
19647 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
19648 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
19649 (libc_feholdexcept_setround_mips): Ditto.
19650 (libc_feholdsetround): New.
19651 (libc_feholdsetroundf): New.
19652 (libc_feholdsetroundl): New.
19653 (libc_feupdateenv_test_mips): New.
19654 (libc_feupdateenv_test): New.
19655 (libc_feupdateenv_testf): New.
19656 (libc_feupdateenv_testl): New.
19657 (libc_feresetround): New.
19658 (libc_feresetroundf): New.
19659 (libc_feresetroundl): New.
19660 (libc_fetestexcept_mips): New.
19661 (libc_fetestexcept): New.
19662 (libc_fetestexceptf): New.
19663 (libc_fetestexceptl): New.
19664 (HAVE_RM_CTX): New.
19665 (libc_feholdexcept_setround_mips_ctx): New.
19666 (libc_feholdexcept_setround_ctx): New.
19667 (libc_feholdexcept_setroundf_ctx): New.
19668 (libc_feholdexcept_setroundl_ctx): New.
19669 (libc_fesetenv_mips_ctx): New.
19670 (libc_fesetenv_ctx): New.
19671 (libc_fesetenv_ctxf): New.
19672 (libc_fesetenv_ctxl): New.
19673 (libc_feupdateenv_mips_ctx): New.
19674 (libc_feupdateenv_ctx): New.
19675 (libc_feupdateenvf_ctx): New.
19676 (libc_feupdateenvl_ctx): New.
19677 (libc_feholdsetround_mips_ctx): New.
19678 (libc_feholdsetround_ctx): New.
19679 (libc_feholdsetroundf_ctx): New.
19680 (libc_feholdsetroundl_ctx): New.
19681 (libc_feresetround_mips_ctx): New.
19682 (libc_feresetround_ctx): New.
19683 (libc_feresetroundf_ctx): New.
19684 (libc_feresetroundl_ctx): New.
19685
085d0e35
CD
196862014-02-26 Carlos O'Donell <carlos@redhat.com>
19687
f067bf1f
CD
19688 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
19689
085d0e35
CD
19690 * manual/ipc.texi: New file.
19691 * manual/Makefile (chapters): Add ipc.
19692 * manual/job.texi: Add "Inter-Process Communication" to next.
19693 * manual/process.texi: Add "Inter-Process Communication" to prev.
19694
86e58c08
AZ
196952014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19696
19697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19698
4248f0da
OB
196992014-02-26 Ondřej Bílka <neleai@seznam.cz>
19700
19701 * malloc/malloc.c (__libc_calloc): Simplify implementation.
19702
cf822e3c
OB
19703 * manual/arith.texi: Fix spaces after sentences.
19704 * manual/charset.texi: Likewise.
19705 * manual/errno.texi: Likewise.
19706 * manual/install.texi: Likewise.
19707 * manual/llio.texi: Likewise.
19708 * manual/locale.texi: Likewise.
19709 * manual/maint.texi: Likewise.
19710 * manual/math.texi: Likewise.
19711 * manual/memory.texi: Likewise.
19712 * manual/message.texi: Likewise.
19713 * manual/probes.texi: Likewise.
19714 * manual/resource.texi: Likewise.
19715 * manual/signal.texi: Likewise.
19716 * manual/socket.texi: Likewise.
19717 * manual/stdio.texi: Likewise.
19718 * manual/string.texi: Likewise.
19719 * manual/time.texi: Likewise.
19720 * manual/users.texi: Likewise.
19721
ade40b10
CD
197222014-02-25 Carlos O'Donell <carlos@redhat.com>
19723
19724 [BZ #16632]
19725 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
19726 _DEFAULT_SOURCE is defined.
19727
d0503676
CD
197282014-02-25 Ulrich Drepper <drepper@gmail.com>
19729 Carlos O'Donell <carlos@redhat.com>
19730
19731 [BZ #16613]
19732 * elf/dl-tls.c (_dl_count_modids): New function.
19733 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
19734 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
19735 audit library and increment generation counter.
19736 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
19737 * elf/tst-audit9.c: New file.
19738 * elf/tst-auditmod9a.c: New file.
19739 * elf/tst-auditmod9b.c: New file.
19740 * elf/Makefile: Add rules to build and run tst-audit9.
19741
4cbf380c
FW
197422014-02-25 Florian Weimer <fweimer@redhat.com>
19743
19744 [BZ #15347]
19745 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
19746
80a56cc3
WN
197472014-02-25 Will Newton <will.newton@linaro.org>
19748
19749 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
19750 (__longjmp): Restore sp and lr before restoring callee
19751 saved registers. Add longjmp and longjmp_target
19752 SystemTap probe point.
19753 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
19754 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
19755 Define to zero to match jmpbuf layout.
19756 * sysdeps/arm/setjmp.S: Include stap-probe.h.
19757 (__sigsetjmp): Save sp and lr before saving callee
19758 saved registers. Add setjmp SystemTap probe point.
19759
3ea0f74e
SL
197602014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19761
19762 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19763
b04acb26
AS
197642014-02-24 Andreas Schwab <schwab@suse.de>
19765
19766 [BZ #15804]
19767 * elf/pldd.c (wait_for_ptrace_stop): New function.
19768 (main): Call it after attaching.
19769
098ad55c
RM
197702014-02-22 Roland McGrath <roland@hack.frob.com>
19771
d4ec6ae1
RM
19772 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
19773 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
19774 Versions files is now verboten.
19775 * hurd/Versions (libc: GLIBC_2.0):
19776 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
19777 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
19778 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
19779 * mach/Versions: Likewise.
19780
098ad55c
RM
19781 * csu/Versions: Remove unused %include.
19782 * resolv/Versions: Likewise.
19783
acd7f096
JM
197842014-02-21 Joseph Myers <joseph@codesourcery.com>
19785
f0881698
JM
19786 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
19787 ($(objpfx)check-local-headers.out): Likewise.
19788 ($(objpfx)begin-end-check.out): Likewise.
19789 * Makerules (check-abi-%.out): Likewise.
19790 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
19791 ($(objpfx)test2.cat): Likewise.
19792 ($(objpfx)de/libc.cat): Likewise.
19793 ($(objpfx)test-gencat.out): Likewise.
19794 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
19795 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
19796 ($(objpfx)noload-mem): Likewise.
19797 ($(objpfx)tst-pathopt.out): Likewise.
19798 ($(objpfx)tst-rtld-load-self.out): Likewise.
19799 ($(objpfx)tst-array1-cmp.out): Likewise.
19800 ($(objpfx)tst-array1-static-cmp.out): Likewise.
19801 ($(objpfx)tst-array2-cmp.out): Likewise.
19802 ($(objpfx)tst-array3-cmp.out): Likewise.
19803 ($(objpfx)tst-array4-cmp.out): Likewise.
19804 ($(objpfx)tst-array5-cmp.out): Likewise.
19805 ($(objpfx)tst-array5-static-cmp.out): Likewise.
19806 ($(objpfx)check-textrel.out): Likewise.
19807 ($(objpfx)check-execstack.out): Likewise.
19808 ($(objpfx)check-localplt.out): Likewise.
19809 ($(objpfx)order2-cmp.out): Likewise.
19810 ($(objpfx)tst-leaks1-mem): Likewise.
19811 ($(objpfx)tst-leaks1-static-mem): Likewise.
19812 ($(objpfx)tst-initorder-cmp.out): Likewise.
19813 ($(objpfx)tst-initorder2-cmp.out): Likewise.
19814 ($(objpfx)tst-unused-dep.out): Likewise.
19815 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
19816 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
19817 * iconv/Makefile (test-iconvconfig): Likewise.
19818 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
19819 ($(objpfx)iconv-test.out): Likewise.
19820 ($(objpfx)tst-tables.out): Likewise.
19821 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
19822 ($(objpfx)tst-gettext.out): Likewise.
19823 ($(objpfx)tst-translit.out): Likewise.
19824 ($(objpfx)tst-gettext2.out): Likewise.
19825 ($(objpfx)tst-gettext4.out): Likewise.
19826 ($(objpfx)tst-gettext6.out): Likewise.
19827 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
19828 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
19829 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
19830 ($(objpfx)tst-fopenloc-mem.out): Likewise.
19831 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
19832 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
19833 * posix/Makefile ($(objpfx)globtest.out): Likewise.
19834 ($(objpfx)wordexp-tst.out): Likewise.
19835 ($(objpfx)annexc.out): Likewise.
19836 ($(objpfx)tst-fnmatch-mem): Likewise.
19837 ($(objpfx)bug-regex2-mem): Likewise.
19838 ($(objpfx)bug-regex14-mem): Likewise.
19839 ($(objpfx)bug-regex21-mem): Likewise.
19840 ($(objpfx)bug-regex31-mem): Likewise.
19841 ($(objpfx)tst-vfork3-mem): Likewise.
19842 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19843 ($(objpfx)tst-pcre-mem): Likewise.
19844 ($(objpfx)tst-boost-mem): Likewise.
19845 ($(objpfx)tst-getconf.out): Likewise.
19846 ($(objpfx)bug-ga2-mem): Likewise.
19847 ($(objpfx)bug-glob2-mem): Likewise.
19848 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
19849 ($(objpfx)mtrace-tst-leaks2): Likewise.
19850 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
19851 ($(objpfx)tst-printf.out): Likewise.
19852 ($(objpfx)tst-setvbuf1.out): Likewise.
19853 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
19854 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
19855 ($(objpfx)tst-fmtmsg.out): Likewise.
19856 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
19857 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
19858
acd7f096
JM
19859 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
19860 * bits/sigaction.h [__USE_MISC]: Likewise.
19861 * bits/waitstatus.h: Update #endif comments.
19862 * ctype/ctype.h: Likewise.
19863 * dirent/dirent.h: Likewise.
19864 [__USE_MISC]: Remove redundant conditionals.
19865 * grp/grp.h: Update #endif comments.
19866 [__USE_GNU]: Remove redundant conditionals.
19867 [__USE_MISC]: Likewise.
19868 * inet/netinet/in.h [__USE_GNU]: Likewise.
19869 * io/sys/stat.h [__USE_MISC]: Likewise.
19870 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
19871 * libio/bits/stdio.h: Update #endif comments.
19872 [__USE_MISC]: Remove redundant conditionals.
19873 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
19874 * libio/stdio.h: Update #endif comments.
19875 [__USE_MISC]: Remove redundant conditionals.
19876 * math/bits/math-finite.h [__USE_MISC]: Likewise.
19877 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
19878 * math/math.h: Update #else and #endif comments.
19879 [__USE_MISC]: Remove redundant conditionals.
19880 * misc/sys/uio.h: Update #endif comments.
19881 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
19882 * posix/glob.h [__USE_MISC]: Likewise.
19883 * posix/sys/types.h: Update #endif comments.
19884 [__USE_MISC]: Remove redundant conditionals.
19885 * posix/sys/wait.h: Update #endif comments.
19886 [__USE_MISC]: Remove redundant conditionals.
19887 * posix/unistd.h: Update #endif comments.
19888 [__USE_MISC]: Remove redundant conditionals.
19889 * pwd/pwd.h [__USE_GNU]: Likewise.
19890 [__USE_MISC]: Likewise.
19891 * resolv/netdb.h [__USE_GNU]: Likewise.
19892 * signal/signal.h: Update #endif comments.
19893 [__USE_MISC]: Remove redundant conditionals.
19894 * stdlib/stdlib.h: Update #else and #endif comments.
19895 [__USE_MISC]: Remove redundant conditionals.
19896 [__USE_GNU]: Likewise.
19897 * string/bits/string2.h [__USE_MISC]: Likewise.
19898 * string/string.h: Update #endif comments.
19899 [__USE_MISC]: Remove redundant conditionals.
19900 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
19901 Likewise.
19902 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
19903 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
19904 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
19905 Likewise.
19906 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
19907 Likewise.
19908 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
19909 comments.
19910 [__USE_MISC]: Remove redundant conditionals.
19911 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
19912 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
19913 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
19914 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
19915 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
19916 Likewise.
19917 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
19918 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
19919 Likewise.
19920 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
19921 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
19922 Likewise.
19923 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
19924 Likewise.
19925 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
19926 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
19927 Likewise.
19928 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
19929 Likewise.
19930 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
19931 * sysdeps/x86/bits/string.h: Update #endif comments.
19932 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
19933 conditionals.
19934 * time/sys/time.h: Update #endif comments.
19935 * time/time.h: Likewise.
19936 [__USE_MISC]: Remove redundant conditionals.
19937
a5d82e4e
YG
199382014-02-21 Yury Gribov <y.gribov@samsung.com>
19939
19940 [BZ #16600]
19941 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
19942
9a80491d
AS
199432014-02-21 Andreas Schwab <schwab@linux-m68k.org>
19944
19945 * Versions.def (librt): Add GLIBC_2.17.
19946
105fa381
AC
199472014-02-21 Adam Conrad <adconrad@0c3.net>
19948
19949 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
19950 synonym for _SYS_AUXV_H to allow direct inclusion.
19951 * sysdeps/sparc/bits/hwcap.h: Likewise.
19952 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
19953 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
19954 * sysdeps/sparc/sysdep.h: Likewise.
19955
b8cd1c4e
SP
199562014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19957
19958 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
19959
bd939d23
RS
199602014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19961
19962 * benchtests/bench-strrchr.c: Print length instead of position.
19963
5d7b57ca
JM
199642014-02-20 Joseph Myers <joseph@codesourcery.com>
19965
bc688c10
JM
19966 [BZ #16611]
19967 * sysdeps/unix/sysv/linux/kernel-features.h
19968 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
19969 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
19970 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
19971 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
19972 Likewise.
19973 [__i386__ || __powerpc__ || __sh__ || __sparc__]
19974 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19975 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
19976 (__ASSUME_SENDMMSG): Define instead of using previous
19977 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
19978 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19979 (__ASSUME_SENDMMSG_SYSCALL): Define.
19980 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19981 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
19982 Likewise.
19983 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19984 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19985 Likewise.
19986 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19987 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19988 Likewise.
19989 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
19990 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19991 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19992 [__ASSUME_SENDMMSG]: Change conditionals to
19993 [__ASSUME_SENDMMSG_SOCKETCALL].
19994 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19995 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
19996 Define.
19997 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19998 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
19999 Likewise.
20000 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20001 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20002 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20003 [!__ASSUME_SENDMMSG]: Change conditional to
20004 [!__ASSUME_SENDMMSG_SOCKETCALL].
20005 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20006 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20007 Define.
20008
0e31b18c
JM
20009 [BZ #16610]
20010 * sysdeps/unix/sysv/linux/kernel-features.h
20011 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20012 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20013 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20014 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20015 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20016 [__i386__ || __sparc__]
20017 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20018 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20019 (__ASSUME_RECVMMSG): Define instead of using previous
20020 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20021 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20022 (__ASSUME_RECVMMSG_SYSCALL): Define.
20023 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20024 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20025 Likewise.
20026 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20027 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20028 Likewise.
20029 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20030 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20031 Likewise.
20032 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
20033 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20034 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20035 [__ASSUME_RECVMMSG]: Change condition to
20036 [__ASSUME_RECVMMSG_SOCKETCALL].
20037 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20038 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20039 Define.
20040 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20041 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20042 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20043 Likewise.
20044 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
20045 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20046 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20047 [!__ASSUME_RECVMMSG]: Change condition to
20048 [!__ASSUME_RECVMMSG_SOCKETCALL].
20049 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20050 (__ASSUME_RECVMMSG_SYSCALL): Define.
20051
dd481ccf
JM
20052 [BZ #16609]
20053 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
20054 __powerpc__ || __s390__ || __sh__ || __sparc__]
20055 (__ASSUME_SOCKETCALL): Define.
20056 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
20057 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
20058 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
20059 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
20060 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20061 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20062 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
20063 (__ASSUME_ACCEPT4): Define instead of using previous
20064 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
20065 __powerpc__ || __sparc__ || __s390__)] condition.
20066 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20067 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20068 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
20069 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20070 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20071 [!__ASSUME_ACCEPT4]: Change condition to
20072 [!__ASSUME_ACCEPT4_SOCKETCALL].
20073 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20074 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
20075 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
20076 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20077 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
20078 __ASSUME_ACCEPT4_SYSCALL.
20079 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
20080 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
20081 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20082 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
20083 __ASSUME_ACCEPT4_SYSCALL.
20084 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
20085 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20086 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20087 [__ASSUME_ACCEPT4]: Change condition to
20088 [__ASSUME_ACCEPT4_SOCKETCALL].
20089 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20090 (__ASSUME_SOCKETCALL): Define.
20091 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
20092 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20093 (__ASSUME_SOCKETCALL): Define.
20094 (__ASSUME_ACCEPT4): Remove.
20095 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
20096 Define.
20097 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20098 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
20099 Likewise.
20100 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20101 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20102
5d7b57ca
JM
20103 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
20104 macro.
20105 (HWCAP_ARM_LPAE): Likewise.
20106 (HWCAP_ARM_EVTSTRM): Likewise.
20107 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
20108 Add vpfd32, lpae and evtstrm.
20109 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20110 Increase to 22.
20111
63689d61
JM
201122014-02-19 Joseph Myers <joseph@codesourcery.com>
20113
20114 * math/auto-libm-test-in: Add tests of clog10.
20115 * math/auto-libm-test-out: Regenerated.
20116 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
20117 * sysdeps/i386/fpu/libm-test-ulps: Update.
20118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20119
ab09bf61
AS
201202014-02-18 Andreas Schwab <schwab@suse.de>
20121
20122 [BZ #16574]
20123 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
20124 Store non-zero if the second buffer was newly allocated.
20125 (send_dg): Likewise.
20126 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
20127 to send_vc and send_dg.
20128 (res_nsend): Pass NULL for ansp2_malloced.
20129 * resolv/res_query.c (__libc_res_nquery): Add parameter
20130 answerp2_malloced and pass it down to __libc_res_nsend.
20131 (res_nquery): Pass additional NULL to __libc_res_nquery.
20132 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20133 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
20134 second answer buffer if answerp2_malloced was set.
20135 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20136 (__libc_res_nquerydomain): Add parameter
20137 answerp2_malloced and pass it down to __libc_res_nquery.
20138 (res_nquerydomain): Pass additional NULL to
20139 __libc_res_nquerydomain.
20140 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
20141 additional NULL to __libc_res_nsend and __libc_res_nquery.
20142 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
20143 additional NULL to __libc_res_nsearch.
20144 (_nss_dns_gethostbyname4_r): Revert last change. Use new
20145 parameter of __libc_res_nsearch to check for separately allocated
20146 second buffer.
20147 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
20148 __libc_res_nquery.
20149 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
20150 additional NULL to __libc_res_nquery.
20151 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
20152 __libc_res_nsearch.
20153 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
20154 * include/resolv.h: Update prototypes of __libc_res_nquery,
20155 __libc_res_nsearch, __libc_res_nsend.
20156
a4fb7861
JM
201572014-02-18 Joseph Myers <joseph@codesourcery.com>
20158
c6af2d89
JM
20159 * math/auto-libm-test-in: Add tests of fma.
20160 * math/auto-libm-test-out: Regenerated.
20161 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
20162 (fma_towardzero_test_data): Likewise.
20163 (fma_downward_test_data): Likewise.
20164 (fma_upward_test_data): Likewise.
20165 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
20166 mpc_mode.
20167 (rounding_modes): Add values for new field.
20168 (func_calc_method): Add value mpfr_fff_f.
20169 (func_calc_desc): Add mpfr_fff_f union field.
20170 (test_function): Add field exact_args.
20171 (FUNC): Add macro argument EXACT_ARGS.
20172 (FUNC_mpfr_f_f): Update call to FUNC.
20173 (FUNC_mpfr_f_f): Likewise.
20174 (FUNC_mpfr_ff_f): Likewise.
20175 (FUNC_mpfr_if_f): Likewise.
20176 (FUNC_mpc_c_f): Likewise.
20177 (FUNC_mpc_c_c): Likewise.
20178 (test_functions): Add fma. Update calls to FUNC.
20179 (handle_input_arg): Add argument exact_args.
20180 (add_test): Update call to handle_input_arg.
20181 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
20182 (output_for_one_input_case): Update call to calc_generic_results.
20183 Recalculate exact zero results in each rounding mode.
20184
a4fb7861
JM
20185 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20186 non-negative before setting low bit.
20187 * math/auto-libm-test-in: Mark one asin test possibly having
20188 spurious underflow.
20189 * math/auto-libm-test-out: Regenerated.
20190 * sysdeps/i386/fpu/libm-test-ulps: Update.
20191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20192
ef114eaf
DH
201932014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
20194
2b7f4f2c
SP
20195 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20196 * sysdeps/unix/sysv/linux/microblaze: Move directory from
20197 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
20198 * README: Add missing listing for microblaze*-*-linux-gnu.
20199
8125aedc
AM
202002014-02-16 Ondřej Bílka <neleai@seznam.cz>
20201
20202 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20203 duplicate code
20204
c70a4b1d
MF
202052014-02-16 Mike Frysinger <vapier@gentoo.org>
20206
20207 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20208 * sysdeps/unix/sysv/linux/ia64: Move directory from
20209 ports/sysdeps/unix/sysv/linux/ia64.
20210 * README: Update listing for ia64-*-linux-gnu.
20211
591aeaf7
TD
202122014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
20213 Joseph Myers <joseph@codesourcery.com>
20214
20215 * Makeconfig (test-name): New variable.
20216 (evaluate-test): Likewise.
20217 * Makerules (do-test-clean): Remove .test-result files.
20218 (common-mostlyclean): Likewise.
20219 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20220 * scripts/evaluate-test.sh: New file.
20221
6e89caf1
JM
202222014-02-14 Joseph Myers <joseph@codesourcery.com>
20223
7f98f180
JM
20224 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20225 separate $(objpfx)tst-fopenloc-cmp.out and
20226 $(objpfx)tst-fopenloc-mem.out targets.
20227 (tests): Update dependencies.
20228 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20229 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20230 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20231 (tst-rxspencer-no-utf8-ARGS): New variable.
20232 (tst-rxspencer-no-utf8-ENV): Likewise.
20233 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20234 instead of $(objpfx)tst-rxspencer-mem.
20235 ($(objpfx)tst-rxspencer-mem): Change target to
20236 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
20237 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20238 * posix/tst-rxspencer-no-utf8.c: New file.
20239
6e89caf1
JM
20240 * elf/Makefile ($(objpfx)order.out): Remove rule.
20241 [$(run-built-tests) = yes] (tests): Depend on
20242 $(objpfx)order-cmp.out.
20243 ($(objpfx)order-cmp.out): New rule.
20244 [$(run-built-tests) = yes] (tests): Depend on
20245 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20246 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20247 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20248 $(objpfx)tst-array5-static-cmp.out.
20249 ($(objpfx)tst-array1.out): Remove rule.
20250 ($(objpfx)tst-array1-cmp.out): New rule.
20251 ($(objpfx)tst-array1-static.out): Remove rule.
20252 ($(objpfx)tst-array1-static-cmp.out): New rule.
20253 ($(objpfx)tst-array2.out): Remove rule.
20254 ($(objpfx)tst-array2-cmp.out): New rule.
20255 ($(objpfx)tst-array3.out): Remove rule.
20256 ($(objpfx)tst-array3-cmp.out): New rule.
20257 ($(objpfx)tst-array4.out): Remove rule.
20258 ($(objpfx)tst-array4-cmp.out): New rule.
20259 ($(objpfx)tst-array5.out): Remove rule.
20260 ($(objpfx)tst-array5-cmp.out): New rule.
20261 ($(objpfx)tst-array5-static.out): Remove rule.
20262 ($(objpfx)tst-array5-static-cmp.out): New rule.
20263 [$(run-built-tests) = yes] (tests): Depend on
20264 $(objpfx)order2-cmp.out.
20265 ($(objpfx)order2.out): Remove rule.
20266 ($(objpfx)order2-cmp.out): New rule.
20267 ($(objpfx)tst-initorder.out): Remove rule.
20268 [$(run-built-tests) = yes] (tests): Depend on
20269 $(objpfx)tst-initorder-cmp.out.
20270 ($(objpfx)tst-initorder-cmp.out): New rule.
20271 ($(objpfx)tst-initorder2.out): Remove rule.
20272 [$(run-built-tests) = yes] (tests): Depend on
20273 $(objpfx)tst-initorder2-cmp.out.
20274 ($(objpfx)tst-initorder2-cmp.out): New rule.
20275 [$(run-built-tests) = yes] (tests): Depend on
20276 $(objpfx)tst-unused-dep-cmp.out.
20277 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20278 ($(objpfx)tst-unused-dep-cmp.out): New rule.
20279 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20280 on $(objpfx)tst-setvbuf1-cmp.out.
20281 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20282 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20283 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20284 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20285 ($(objpfx)tst-svc.out): Remove rule.
20286 ($(objpfx)tst-svc-cmp.out): New rule.
20287
ed9a38e2
JM
202882014-02-13 Joseph Myers <joseph@codesourcery.com>
20289
20290 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20291 * ctype/ctype.h [__USE_MISC]: Likewise.
20292 * dirent/dirent.h [__USE_MISC]: Likewise.
20293 * grp/grp.h [__USE_MISC]: Likewise.
20294 * io/fcntl.h [__USE_MISC]: Likewise.
20295 * io/sys/stat.h [__USE_MISC]: Likewise.
20296 * libio/stdio.h [__USE_MISC]: Likewise.
20297 * posix/unistd.h [__USE_MISC]: Likewise.
20298 * pwd/pwd.h [__USE_MISC]: Likewise.
20299 * stdlib.h [__USE_MISC]: Likewise.
20300 * string/bits/string2.h [__USE_MISC]: Likewise.
20301 * string/string.h [__USE_MISC]: Likewise.
20302 * time/time.h [__USE_MISC]: Likewise.
20303
d6680619
AS
203042014-02-13 Andreas Schwab <schwab@suse.de>
20305
20306 [BZ #16574]
20307 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20308 second answer buffer if it was separately allocated.
20309
ace614b8
JM
203102014-02-12 Joseph Myers <joseph@codesourcery.com>
20311
743151ae
JM
20312 * sysdeps/mips/math-tests.h: Include <features.h>.
20313 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20314 (ROUNDING_TESTS_long_double): Do not define.
20315 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20316 (EXCEPTION_TESTS_long_double): Likewise.
20317 * sysdeps/mips/mips64/libm-test-ulps: Update.
20318
498afc54
JM
20319 * include/features.h (__USE_BSD): Remove macro definitions.
20320 (__USE_SVID): Likewise.
20321 (_BSD_SOURCE): Likewise.
20322 (_SVID_SOURCE): Likewise.
20323 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20324 from definition of _DEFAULT_SOURCE.
20325 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20326 [_DEFAULT_SOURCE].
20327 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20328 * bits/mman.h [__USE_BSD]: Likewise.
20329 * bits/termios.h [__USE_BSD]: Likewise.
20330 * bits/waitstatus.h [__USE_BSD]: Likewise.
20331 * ctype/ctype.h [__USE_SVID]: Likewise.
20332 * dirent/dirent.h [__USE_BSD]: Likewise.
20333 * grp/grp.h [__USE_SVID]: Likewise.
20334 [__USE_BSD]: Likewise.
20335 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20336 * io/fcntl.h [__USE_BSD]: Likewise.
20337 * io/ftw.h [__USE_BSD]: Likewise.
20338 * io/sys/stat.h [__USE_BSD]: Likewise.
20339 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20340 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20341 * libio/stdio.h [__USE_SVID]: Likewise.
20342 [__USE_BSD]: Likewise.
20343 * math/math.h [__USE_SVID]: Likewise.
20344 [__USE_BSD]: Likewise.
20345 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20346 * misc/bits/syslog.h [__USE_BSD]: Likewise.
20347 * misc/search.h [__USE_SVID]: Likewise.
20348 * misc/sys/mman.h [__USE_BSD]: Likewise.
20349 * misc/sys/syslog.h [__USE_BSD]: Likewise.
20350 * misc/sys/uio.h [__USE_BSD]: Likewise.
20351 * posix/bits/unistd.h [__USE_BSD]: Likewise.
20352 * posix/glob.h [__USE_BSD]: Likewise.
20353 * posix/regex.h [__USE_BSD]: Likewise.
20354 * posix/sys/types.h [__USE_BSD]: Likewise.
20355 [__USE_SVID]: Likewise.
20356 * posix/sys/utsname.h [__USE_SVID]: Likewise.
20357 * posix/sys/wait.h [__USE_BSD]: Likewise.
20358 [__USE_SVID]: Likewise.
20359 * posix/unistd.h [__USE_BSD]: Likewise.
20360 [__USE_SVID]: Likewise.
20361 * pwd/pwd.h [__USE_SVID]: Likewise.
20362 * resolv/netdb.h [__USE_BSD]: Likewise.
20363 * setjmp/setjmp.h [__USE_BSD]: Likewise.
20364 * signal/signal.h [__USE_BSD]: Likewise.
20365 [__USE_SVID]: Likewise.
20366 * socket/sys/socket.h [__USE_BSD]: Likewise.
20367 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20368 * stdlib/stdlib.h [__USE_BSD]: Likewise.
20369 [__USE_SVID]: Likewise.
20370 * string/bits/string2.h [__USE_BSD]: Likewise.
20371 [__USE_SVID]: Likewise.
20372 * string/bits/string3.h [__USE_BSD]: Likewise.
20373 * string/endian.h [__USE_BSD]: Likewise.
20374 * string/string.h [__USE_SVID]: Likewise.
20375 [__USE_BSD]: Likewise.
20376 * string/strings.h [__USE_BSD]: Likewise.
20377 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20378 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20379 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20380 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20381 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20382 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20383 Likewise.
20384 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20385 Likewise.
20386 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20387 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20388 Likewise.
20389 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20390 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20391 Likewise.
20392 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20393 Likewise.
20394 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20395 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20396 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20397 Likewise.
20398 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20399 Likewise.
20400 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20401 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20402 * termios/termios.h [__USE_BSD]: Likewise.
20403 * time/sys/time.h [__USE_BSD]: Likewise.
20404 * time/time.h [__USE_BSD]: Likewise.
20405 [__USE_SVID]: Likewise.
20406
dd7b064c
JM
20407 * Makefile (subdir_targets): Remove subdir_lint.out.
20408
a2c4c199
JM
20409 * stdio-common/Makefile (do-tst-unbputc): Remove target.
20410 (do-tst-printf): Likewise.
20411 (tests): Depend directly on $(objpfx)tst-unbputc.out and
20412 $(objpfx)tst-printf.out.
20413
8756f740
JM
20414 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20415
1b6dd3f1
JM
20416 * Makerules (check-abi-%): Change target to
20417 $(objpfx)check-abi-%.out.
20418 (check-abi target): Update dependencies.
20419 (check-abi-pattern variable): Redirect output of diff to $@.
20420 (check-abi variable): Likewise.
20421 * elf/Makefile (check-abi): Update dependencies.
20422
ace614b8
JM
20423 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20424 unused.
20425 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20426 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20427 subnormal range.
20428 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20429 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20430 value has largest subnormal exponent.
20431 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20432 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
20433 * sysdeps/aarch64/soft-fp/sfp-machine.h
20434 (_FP_TININESS_AFTER_ROUNDING): New macro.
20435 * sysdeps/alpha/soft-fp/sfp-machine.h
20436 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20437 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20438 Likewise.
20439 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20440 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20441 * sysdeps/mips/soft-fp/sfp-machine.h
20442 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20443 * sysdeps/powerpc/soft-fp/sfp-machine.h
20444 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20445 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20446 Likewise.
20447 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20448 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20449 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20450 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20451 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20452 Likewise.
20453
fbfdf9cb
DAS
204542014-02-12 Dylan Alex Simon <dylan@dylex.net>
20455
20456 [BZ #16545]
20457 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
20458 model 1.
20459
68b7efaa
RH
204602014-02-12 Richard Henderson <rth@redhat.com>
20461
c70a4b1d 20462 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
20463 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
20464 * sysdeps/unix/sysv/linux/alpha: Move directory from
20465 ports/sysdeps/unix/sysv/linux/alpha.
20466 * README: Update listing for alpha-*-linux-gnu.
20467
cb4a2928
JM
204682014-02-11 Joseph Myers <joseph@codesourcery.com>
20469
c941736c
JM
20470 * include/features.h: Update comment documenting feature test
20471 macros.
20472 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
20473 _DEFAULT_SOURCE.
20474 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
20475 (_SVID_SOURCE): Likewise.
20476 (_DEFAULT_SOURCE): Update description of default features.
20477 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
20478 with _GNU_SOURCE.
20479 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
20480 (S_ISVTX): Likewise.
20481 * manual/math.texi (Mathematical Constants): Likewise.
20482 * manual/signal.texi (Interrupted Primitives): Likewise.
20483 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
20484 * math/test-matherr.c (_SVID_SOURCE): Do not define.
20485 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
20486 Don't refer to _SVID_SOURCE in warning text.
20487
e8d8d7ec
JM
20488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20489
cb4a2928
JM
20490 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
20491 already defined.
20492 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
20493 * sysdeps/mips/dl-lookup.c: Remove.
20494 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
20495
7e6424e3
AK
204962014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20497
20498 [BZ #16447]
20499 * math/auto-libm-test-in: Add testcase for expl.
20500 * math/auto-libm-test-out: Regenerate.
20501 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
20502 calculation of unsafe.
20503 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
20504
75eff3fe
MS
205052014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
20506
20507 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
20508 * sysdeps/unix/sysv/linux/aarch64: Move directory from
20509 ports/sysdeps/unix/sysv/linux/aarch64.
20510 * README: Update listing for aarch64*-*-linux-gnu.
20511
d35f1e80
WN
205122014-02-11 Will Newton <will.newton@linaro.org>
20513
20514 * manual/probes.texi (Mathematical Function Probes): Use
20515 "triggered" instead of "hit".
20516
7b3436d4
WN
20517 * manual/probes.texi (Internal Probes): Add documentation
20518 of setjmp, longjmp and longjmp_target probes.
20519
b4f12ca3
WN
20520 * include/stap-probe.h: Add comment about probe argument
20521 format.
20522
c13a72b7
WN
20523 * malloc/mtrace.c (attribute_hidden): Remove unused macro
20524 definition. (tr_where, tr_freehook, tr_mallochook,
20525 tr_reallochook, tr_memalignhook): Use ANSI protoype.
20526
195b8165
DM
205272014-02-11 David S. Miller <davem@davemloft.net>
20528
20529 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
20530 processing int_tests.
20531
2ad7600b
JM
205322014-02-10 Joseph Myers <joseph@codesourcery.com>
20533
20534 * sysdeps/mips: Move directory from ports/sysdeps/mips.
20535 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
20536 * sysdeps/unix/sysv/linux/mips: Move directory from
20537 ports/sysdeps/unix/sysv/linux/mips.
20538 * README: Update listing for mips-*-linux-gnu and
20539 mips64-*-linux-gnu.
20540
73588a72
AS
205412014-02-10 Andreas Schwab <schwab@linux-m68k.org>
20542
20543 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
20544 * sysdeps/unix/sysv/linux/m68k: Move directory from
20545 ports/sysdeps/unix/sysv/linux/m68k.
20546 * README: Update listing for m68k-*-linux-gnu.
20547
4372980f
CM
205482014-02-10 Chris Metcalf <cmetcalf@tilera.com>
20549
20550 * sysdeps/tile: Move directory from ports/sysdeps/tile.
20551 * sysdeps/unix/sysv/linux/generic: Move directory from
20552 ports/sysdeps/unix/sysv/linux/generic.
20553 * sysdeps/unix/sysv/linux/tile: Move directory from
20554 ports/sysdeps/unix/sysv/linux/tile.
20555 * README: Update listing for tile*-*-linux-gnu.
20556
a1ffb40e
OB
205572014-02-10 Ondřej Bílka <neleai@seznam.cz>
20558
57f41c40
AS
20559 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
20560 __builtin_expect.
a1ffb40e
OB
20561 * benchtests/bench-memmem.c (simple_memmem): Likewise.
20562 * catgets/open_catalog.c (__open_catalog): Likewise.
20563 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
20564 * debug/confstr_chk.c: Likewise.
20565 * debug/fread_chk.c (__fread_chk): Likewise.
20566 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
20567 * debug/getgroups_chk.c: Likewise.
20568 * debug/mbsnrtowcs_chk.c: Likewise.
20569 * debug/mbsrtowcs_chk.c: Likewise.
20570 * debug/mbstowcs_chk.c: Likewise.
20571 * debug/memcpy_chk.c: Likewise.
20572 * debug/memmove_chk.c: Likewise.
20573 * debug/mempcpy_chk.c: Likewise.
20574 * debug/memset_chk.c: Likewise.
20575 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20576 * debug/strcat_chk.c (__strcat_chk): Likewise.
20577 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
20578 * debug/strncat_chk.c (__strncat_chk): Likewise.
20579 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
20580 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
20581 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
20582 * debug/wcpncpy_chk.c: Likewise.
20583 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20584 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
20585 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
20586 * debug/wcsncpy_chk.c: Likewise.
20587 * debug/wcsnrtombs_chk.c: Likewise.
20588 * debug/wcsrtombs_chk.c: Likewise.
20589 * debug/wcstombs_chk.c: Likewise.
20590 * debug/wmemcpy_chk.c: Likewise.
20591 * debug/wmemmove_chk.c: Likewise.
20592 * debug/wmempcpy_chk.c: Likewise.
20593 * debug/wmemset_chk.c: Likewise.
20594 * dirent/scandirat.c (SCANDIRAT): Likewise.
20595 * dlfcn/dladdr1.c (dladdr1): Likewise.
20596 * dlfcn/dladdr.c (dladdr): Likewise.
20597 * dlfcn/dlclose.c (dlclose_doit): Likewise.
20598 * dlfcn/dlerror.c (__dlerror): Likewise.
20599 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
20600 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
20601 * dlfcn/dlopen.c (dlopen_doit): Likewise.
20602 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20603 * dlfcn/dlsym.c (dlsym_doit): Likewise.
20604 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
20605 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
20606 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
20607 Likewise.
20608 * elf/dl-conflict.c: Likewise.
20609 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
20610 * elf/dl-dst.h: Likewise.
20611 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
20612 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
20613 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
20614 * elf/dl-init.c (call_init, _dl_init): Likewise.
20615 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
20616 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
20617 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
20618 Likewise.
a1ffb40e
OB
20619 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
20620 Likewise.
20621 * elf/dl-minimal.c (__libc_memalign): Likewise.
20622 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
20623 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20624 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
20625 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
20626 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
20627 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
20628 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
20629 * elf/dl-writev.h (_dl_writev): Likewise.
20630 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
20631 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
20632 (dl_main): Likewise.
a1ffb40e
OB
20633 * elf/setup-vdso.h (setup_vdso): Likewise.
20634 * grp/compat-initgroups.c (compat_call): Likewise.
20635 * grp/fgetgrent.c (fgetgrent): Likewise.
20636 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
20637 * grp/putgrent.c (putgrent): Likewise.
20638 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20639 Likewise.
20640 * hurd/hurdinit.c: Likewise.
20641 * iconvdata/8bit-gap.c (struct): Likewise.
20642 * iconvdata/ansi_x3.110.c : Likewise.
20643 * iconvdata/big5.c : Likewise.
20644 * iconvdata/big5hkscs.c : Likewise.
20645 * iconvdata/cp1255.c: Likewise.
20646 * iconvdata/cp1258.c : Likewise.
20647 * iconvdata/cp932.c : Likewise.
20648 * iconvdata/euc-cn.c: Likewise.
20649 * iconvdata/euc-jisx0213.c : Likewise.
20650 * iconvdata/euc-jp.c: Likewise.
20651 * iconvdata/euc-jp-ms.c : Likewise.
20652 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
20653 * iconvdata/gb18030.c : Likewise.
20654 * iconvdata/gbbig5.c (const): Likewise.
20655 * iconvdata/gbgbk.c: Likewise.
20656 * iconvdata/gbk.c : Likewise.
20657 * iconvdata/ibm1364.c : Likewise.
20658 * iconvdata/ibm930.c : Likewise.
20659 * iconvdata/ibm932.c: Likewise.
20660 * iconvdata/ibm933.c : Likewise.
20661 * iconvdata/ibm935.c : Likewise.
20662 * iconvdata/ibm937.c : Likewise.
20663 * iconvdata/ibm939.c : Likewise.
20664 * iconvdata/ibm943.c: Likewise.
20665 * iconvdata/iso_11548-1.c: Likewise.
20666 * iconvdata/iso-2022-cn.c : Likewise.
20667 * iconvdata/iso-2022-cn-ext.c : Likewise.
20668 * iconvdata/iso-2022-jp-3.c: Likewise.
20669 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
20670 * iconvdata/iso-2022-kr.c : Likewise.
20671 * iconvdata/iso646.c (gconv_end): Likewise.
20672 * iconvdata/iso_6937-2.c : Likewise.
20673 * iconvdata/iso_6937.c : Likewise.
20674 * iconvdata/iso8859-1.c: Likewise.
20675 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
20676 * iconvdata/shift_jisx0213.c : Likewise.
20677 * iconvdata/sjis.c : Likewise.
20678 * iconvdata/t.61.c : Likewise.
20679 * iconvdata/tcvn5712-1.c : Likewise.
20680 * iconvdata/tscii.c: Likewise.
20681 * iconvdata/uhc.c : Likewise.
20682 * iconvdata/unicode.c (gconv_end): Likewise.
20683 * iconvdata/utf-16.c (gconv_end): Likewise.
20684 * iconvdata/utf-32.c (gconv_end): Likewise.
20685 * iconvdata/utf-7.c (base64): Likewise.
20686 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
20687 * iconv/gconv_close.c (__gconv_close): Likewise.
20688 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
20689 * iconv/gconv_simple.c (internal_ucs4_loop_single)
20690 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
20691 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
20692 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
20693 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
20694 * iconv/iconv.c (iconv): Likewise.
20695 * iconv/iconv_close.c: Likewise.
20696 * iconv/loop.c (SINGLE): Likewise.
20697 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
20698 * include/atomic.h: Likewise.
20699 * inet/inet6_option.c (option_alloc): Likewise.
20700 * intl/bindtextdom.c (set_binding_values): Likewise.
20701 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
20702 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
20703 * intl/localealias.c (read_alias_file): Likewise.
20704 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
20705 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
20706 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
20707 * libio/fmemopen.c (fmemopen): Likewise.
20708 * libio/iofgets.c (_IO_fgets): Likewise.
20709 * libio/iofgets_u.c (fgets_unlocked): Likewise.
20710 * libio/iofgetws.c (fgetws): Likewise.
20711 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20712 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
20713 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
20714 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
20715 * locale/findlocale.c (_nl_find_locale): Likewise.
20716 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
20717 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
20718 Likewise.
20719 * locale/setlocale.c (setlocale): Likewise.
20720 * login/programs/pt_chown.c (main): Likewise.
20721 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
20722 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
20723 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
20724 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
20725 * math/e_exp2l.c: Likewise.
20726 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
20727 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
20728 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
20729 * math/s_catan.c (__catan): Likewise.
20730 * math/s_catanf.c (__catanf): Likewise.
20731 * math/s_catanh.c (__catanh): Likewise.
20732 * math/s_catanhf.c (__catanhf): Likewise.
20733 * math/s_catanhl.c (__catanhl): Likewise.
20734 * math/s_catanl.c (__catanl): Likewise.
20735 * math/s_ccosh.c (__ccosh): Likewise.
20736 * math/s_ccoshf.c (__ccoshf): Likewise.
20737 * math/s_ccoshl.c (__ccoshl): Likewise.
20738 * math/s_cexp.c (__cexp): Likewise.
20739 * math/s_cexpf.c (__cexpf): Likewise.
20740 * math/s_cexpl.c (__cexpl): Likewise.
20741 * math/s_clog10.c (__clog10): Likewise.
20742 * math/s_clog10f.c (__clog10f): Likewise.
20743 * math/s_clog10l.c (__clog10l): Likewise.
20744 * math/s_clog.c (__clog): Likewise.
20745 * math/s_clogf.c (__clogf): Likewise.
20746 * math/s_clogl.c (__clogl): Likewise.
20747 * math/s_csin.c (__csin): Likewise.
20748 * math/s_csinf.c (__csinf): Likewise.
20749 * math/s_csinh.c (__csinh): Likewise.
20750 * math/s_csinhf.c (__csinhf): Likewise.
20751 * math/s_csinhl.c (__csinhl): Likewise.
20752 * math/s_csinl.c (__csinl): Likewise.
20753 * math/s_csqrt.c (__csqrt): Likewise.
20754 * math/s_csqrtf.c (__csqrtf): Likewise.
20755 * math/s_csqrtl.c (__csqrtl): Likewise.
20756 * math/s_ctan.c (__ctan): Likewise.
20757 * math/s_ctanf.c (__ctanf): Likewise.
20758 * math/s_ctanh.c (__ctanh): Likewise.
20759 * math/s_ctanhf.c (__ctanhf): Likewise.
20760 * math/s_ctanhl.c (__ctanhl): Likewise.
20761 * math/s_ctanl.c (__ctanl): Likewise.
20762 * math/w_pow.c: Likewise.
20763 * math/w_powf.c: Likewise.
20764 * math/w_powl.c: Likewise.
20765 * math/w_scalb.c (sysv_scalb): Likewise.
20766 * math/w_scalbf.c (sysv_scalbf): Likewise.
20767 * math/w_scalbl.c (sysv_scalbl): Likewise.
20768 * misc/error.c (error_tail): Likewise.
20769 * misc/pselect.c (__pselect): Likewise.
20770 * nis/nis_callback.c (__nis_create_callback): Likewise.
20771 * nis/nis_call.c (__nisfind_server): Likewise.
20772 * nis/nis_creategroup.c (nis_creategroup): Likewise.
20773 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
20774 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
20775 * nis/nis_getservlist.c (nis_getservlist): Likewise.
20776 * nis/nis_lookup.c (nis_lookup): Likewise.
20777 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
20778 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
20779 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 20780 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
20781 * nis/nss_compat/compat-grp.c (getgrent_next_file)
20782 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
20783 * nis/nss_compat/compat-initgroups.c (add_group)
20784 (internal_getgrent_r): Likewise.
20785 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
20786 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
20787 * nis/nss_compat/compat-spwd.c (getspent_next_file)
20788 (internal_getspnam_r): Likewise.
20789 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
20790 (_nss_nis_getaliasbyname_r): Likewise.
20791 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
20792 (_nss_nis_getntohost_r): Likewise.
20793 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
20794 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
20795 (_nss_nis_getgrgid_r): Likewise.
20796 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
20797 (internal_nis_gethostent_r, internal_gethostbyname2_r)
20798 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
20799 (_nss_nis_gethostbyname4_r): Likewise.
20800 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
20801 (initgroups_netid): Likewise.
a1ffb40e 20802 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
20803 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
20804 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
20805 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
20806 (_nss_nis_getprotobynumber_r): Likewise.
20807 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
20808 (_nss_nis_getsecretkey): Likewise.
20809 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
20810 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
20811 (_nss_nis_getpwuid_r): Likewise.
20812 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
20813 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
20814 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
20815 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
20816 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
20817 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
20818 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
20819 Likewise.
57f41c40
AS
20820 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
20821 (_nss_nisplus_getntohost_r): Likewise.
20822 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
20823 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
20824 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
20825 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 20826 Likewise.
57f41c40
AS
20827 * nis/nss_nisplus/nisplus-initgroups.c
20828 (_nss_nisplus_initgroups_dyn): Likewise.
20829 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
20830 (_nss_nisplus_getnetbyaddr_r): Likewise.
20831 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
20832 (_nss_nisplus_getprotobynumber_r): Likewise.
20833 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
20834 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
20835 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
20836 Likewise.
57f41c40
AS
20837 * nis/nss_nisplus/nisplus-service.c
20838 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
20839 (_nss_nisplus_getservbyport_r): Likewise.
20840 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
20841 (_nss_nisplus_getspnam_r): Likewise.
20842 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
20843 Likewise.
a1ffb40e
OB
20844 * nscd/aicache.c (addhstaiX): Likewise.
20845 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
20846 * nscd/connections.c (register_traced_file, send_ro_fd)
20847 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
20848 (main_loop_epoll): Likewise.
a1ffb40e
OB
20849 * nscd/grpcache.c (addgrbyX): Likewise.
20850 * nscd/hstcache.c (addhstbyX): Likewise.
20851 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20852 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
20853 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
20854 (addinnetgrX): Likewise.
20855 * nscd/nscd-client.h (__nscd_acquire_maplock)
20856 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
20857 * nscd/nscd_getai.c (__nscd_getai): Likewise.
20858 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20859 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
20860 Likewise.
20861 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
20862 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
20863 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
20864 (__nscd_get_map_ref): Likewise.
a1ffb40e 20865 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
20866 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
20867 Likewise.
a1ffb40e
OB
20868 * nscd/pwdcache.c (addpwbyX): Likewise.
20869 * nscd/selinux.c (preserve_capabilities): Likewise.
20870 * nscd/servicescache.c (addservbyX): Likewise.
20871 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
20872 * posix/fnmatch.c (fnmatch): Likewise.
20873 * posix/getopt.c (_getopt_internal_r): Likewise.
20874 * posix/glob.c (glob, glob_in_dir): Likewise.
20875 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
20876 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
20877 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
20878 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
20879 * resolv/res_init.c: Likewise.
20880 * resolv/res_mkquery.c (res_nmkquery): Likewise.
20881 * resolv/res_query.c (__libc_res_nquery): Likewise.
20882 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
20883 Likewise.
20884 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
20885 * stdio-common/perror.c (perror): Likewise.
20886 * stdio-common/printf_fp.c (___printf_fp): Likewise.
20887 * stdio-common/tmpnam.c (tmpnam): Likewise.
20888 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20889 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
20890 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20891 Likewise.
a1ffb40e
OB
20892 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20893 * stdlib/putenv.c (putenv): Likewise.
20894 * stdlib/setenv.c (__add_to_environ): Likewise.
20895 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20896 * stdlib/strtol_l.c (INTERNAL): Likewise.
20897 * string/memmem.c (memmem): Likewise.
20898 * string/strerror.c (strerror): Likewise.
20899 * string/strnlen.c (__strnlen): Likewise.
20900 * string/test-memmem.c (simple_memmem): Likewise.
20901 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
20902 * sunrpc/pm_getport.c (__get_socket): Likewise.
20903 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
20904 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
20905 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
20906 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
20907 Likewise.
20908 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20909 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20910 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
20911 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
20912 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
20913 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
20914 Likewise.
20915 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
20916 Likewise.
a1ffb40e
OB
20917 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
20918 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
20919 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20920 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20921 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20922 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
20923 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20924 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
20925 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
20926 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
20927 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20928 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20929 Likewise.
20930 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
20931 Likewise.
20932 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
20933 Likewise.
20934 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
20935 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20936 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
20937 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
20938 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20939 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
20940 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20941 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
20942 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
20943 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
20944 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
20945 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20946 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20947 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20948 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
20949 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20950 Likewise.
a1ffb40e
OB
20951 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
20952 Likewise.
20953 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
20954 Likewise.
20955 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
20956 Likewise.
20957 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20958 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20959 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
20960 Likewise.
20961 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
20962 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
20963 * sysdeps/posix/opendir.c (__opendirat): Likewise.
20964 * sysdeps/posix/sleep.c: Likewise.
20965 * sysdeps/posix/tempname.c: Likewise.
20966 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
20967 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20968 Likewise.
57f41c40
AS
20969 * sysdeps/powerpc/powerpc32/dl-machine.h
20970 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
20971 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20972 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20973 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
20974 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
20975 Likewise.
20976 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
20977 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
20978 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20979 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
20980 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
20981 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
20982 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
20983 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
20984 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20985 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
20986 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
20987 (elf_machine_lazy_rel): Likewise.
a1ffb40e 20988 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
20989 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
20990 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
20991 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
20992 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
20993 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
20994 * sysdeps/unix/grantpt.c (grantpt): Likewise.
20995 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
20996 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
20997 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
20998 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20999 Likewise.
21000 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21001 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21002 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21003 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21004 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21005 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21006 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21007 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21008 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21009 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21010 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21011 Likewise.
21012 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21013 (__posix_fallocate64_l64): Likewise.
21014 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21015 (posix_fallocate): Likewise.
57f41c40
AS
21016 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21017 Likewise.
a1ffb40e 21018 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
21019 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21020 (getifaddrs_internal): Likewise.
a1ffb40e
OB
21021 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21022 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21023 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21024 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21025 * sysdeps/unix/sysv/linux/posix_fallocate64.c
21026 (__posix_fallocate64_l64): Likewise.
21027 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21028 Likewise.
21029 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
21030 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
21031 (__get_clockfreq): Likewise.
a1ffb40e
OB
21032 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
21033 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21034 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
21035 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21036 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21037 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
21038 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21039 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
21040 Likewise.
21041 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
21042 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
21043 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21044 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
21045 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21046 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
21047 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
21048 Likewise.
21049 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21050 (posix_fallocate): Likewise.
21051 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21052 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21053 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
21054 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
21055 (elf_machine_rela, elf_machine_rela_relative)
21056 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
21057 * time/asctime.c (asctime_internal): Likewise.
21058 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
21059 * time/tzset.c (__tzset_parse_tz): Likewise.
21060 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21061 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21062 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
21063 * wcsmbs/wcsmbsload.h: Likewise.
21064
f3d338c9
OB
21065 [BZ #15894]
21066 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
21067
57f41c40
AS
21068 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
21069 (arena_get2): Remove THREAD_STATS conditionals.
21070 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
21071 (__malloc_stats, int): Likewise.
bdfe308a 21072
d674667c
MF
210732014-02-08 Mike Frysinger <vapier@gentoo.org>
21074
21075 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
21076 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
21077
6349768c
MF
21078 * manual/setjmp.texi: Fix typos/grammar errors.
21079
0b7c7473
MF
21080 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
21081 Only return early when n is <= 0. Delete unused return statement.
21082
ac8cc9e3
MF
21083 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
21084 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21085 * debug/tst-longjmp_chk3.c: New file.
21086
c5bb8e23
MF
21087 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
21088 (test_main): Replace code with set_fortify_handler call.
21089 * debug/test-strcpy_chk.c: Likewise.
21090 * debug/tst-chk1.c: Likewise.
21091 * debug/tst-longjmp_chk.c: Likewise.
21092 * test-skeleton.c: Include fcntl.h & paths.h
21093 (set_fortify_handler): Define.
21094
10444e42
MF
21095 * debug/tst-longjmp_chk.c: Add header comment and include
21096 ../test-skeleton.c.
21097 (do_test): Mark static.
21098 (TEST_FUNCTION): Define.
21099
1e805e8d
MF
21100 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21101 (IP_PMTUDISC_INTERFACE): Likewise.
21102 (IP_MULTICAST_IF): Likewise.
21103 (IP_MULTICAST_TTL): Likewise.
21104 (IP_MULTICAST_LOOP): Likewise.
21105 (IP_ADD_MEMBERSHIP): Likewise.
21106 (IP_DROP_MEMBERSHIP): Likewise.
21107 (IP_UNBLOCK_SOURCE): Likewise.
21108 (IP_BLOCK_SOURCE): Likewise.
21109 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
21110 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
21111 (IP_MSFILTER): Likewise.
21112 (MCAST_JOIN_GROUP): Likewise.
21113 (MCAST_BLOCK_SOURCE): Likewise.
21114 (MCAST_UNBLOCK_SOURCE): Likewise.
21115 (MCAST_LEAVE_GROUP): Likewise.
21116 (MCAST_JOIN_SOURCE_GROUP): Likewise.
21117 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21118 (MCAST_MSFILTER): Likewise.
21119 (IP_MULTICAST_ALL): Likewise.
21120 (IP_UNICAST_IF): Likewise.
21121
73f79bb7
MF
21122 * timezone/Makefile: Delete $(have-ksh) check.
21123 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
21124 * timezone/tzselect.ksh: Add +x mode bits.
21125
8da79b60
MF
21126 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
21127 (ANON_INODE_FS_MAGIC): Likewise.
21128 (BDEVFS_MAGIC): Likewise.
21129 (BINFMTFS_MAGIC): Likewise.
21130 (BTRFS_TEST_MAGIC): Likewise.
21131 (CRAMFS_MAGIC_WEND): Likewise.
21132 (DEBUGFS_MAGIC): Likewise.
21133 (ECRYPTFS_SUPER_MAGIC): Likewise.
21134 (EXT3_SUPER_MAGIC): Likewise.
21135 (EXT4_SUPER_MAGIC): Likewise.
21136 (FUTEXFS_SUPER_MAGIC): Likewise.
21137 (HOSTFS_SUPER_MAGIC): Likewise.
21138 (HUGETLBFS_MAGIC): Likewise.
21139 (MINIX3_SUPER_MAGIC): Likewise.
21140 (MTD_INODE_FS_MAGIC): Likewise.
21141 (NILFS_SUPER_MAGIC): Likewise.
21142 (OPENPROM_SUPER_MAGIC): Likewise.
21143 (PIPEFS_MAGIC): Likewise.
21144 (PSTOREFS_MAGIC): Likewise.
21145 (QNX6_SUPER_MAGIC): Likewise.
21146 (RAMFS_MAGIC): Likewise.
21147 (REISERFS_SUPER_MAGIC_STRING): Likewise.
21148 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
21149 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
21150 (SECURITYFS_MAGIC): Likewise.
21151 (SELINUX_MAGIC): Likewise.
21152 (SMACK_MAGIC): Likewise.
21153 (SOCKFS_MAGIC): Likewise.
21154 (SQUASHFS_MAGIC): Likewise.
21155 (STACK_END_MAGIC): Likewise.
21156 (TMPFS_MAGIC): Likewise.
21157 (USBDEVICE_SUPER_MAGIC): Likewise.
21158 (V9FS_MAGIC): Likewise.
21159 (XENFS_SUPER_MAGIC): Likewise.
21160 (CRAMFS_MAGIC): Fix typo in comment.
21161 (EXT2_SUPER_MAGIC): Update comment.
21162 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
21163
464263cc
JM
211642014-02-08 Joseph Myers <joseph@codesourcery.com>
21165
c6bfe5c4
JM
21166 * sysdeps/arm: Move directory from ports/sysdeps/arm.
21167 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
21168 * sysdeps/unix/sysv/linux/arm: Move directory from
21169 ports/sysdeps/unix/sysv/linux/arm.
21170 * README: Update listing for arm-*-linux-gnueabi.
21171
464263cc
JM
21172 * README: Remove mention of am33.
21173
32749f6c
RM
211742014-02-07 Roland McGrath <roland@hack.frob.com>
21175
21176 * bits/sigset.h (__sigemptyset): Use a statement expression rather
21177 than the comma operator, to avoid "rhs of comma has no effect"
21178 compiler warnings.
21179 (__sigfillset, __sigandset, __sigorset): Likewise.
21180 * include/signal.h (__sigemptyset): Likewise.
21181 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
21182
d5b396c1
AM
211832014-02-07 Allan McRae <allan@archlinux.org>
21184
21185 * version.h (RELEASE): Set to "development".
21186 (VERSION): Set to "2.19.90"
21187 * NEWS: Add 2.20 section.
21188
3bfff2ed
CD
211892014-02-06 Carlos O'Donell <carlos@redhat.com>
21190
21191 [BZ #16529]
21192 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21193
ee7cc385
SP
211942014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21195
21196 * manual/contrib.texi: Update entry for Carlos O'Donell,
21197 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21198
f877c4f2
CD
211992014-02-05 Carlos O'Donell <carlos@rehdat.com>
21200
27e839f6
CD
21201 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21202
f877c4f2
CD
21203 * sysdeps/unix/sysv/linux/kernel-features.h
21204 [__LINUX_KERNEL_VERSION >= 0x020621]
21205 (__ASSUME_PROC_PID_TASK_COMM): Define.
21206
68159946
SP
212072014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21208
ba17cdbd
SP
21209 [BZ #16398]
21210 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21211 conversion when destination buffer does not have enough space.
21212 * libio/tst-ftell-partial-wide.c: New test case.
21213 * libio/Makefile (tests): Add tst-ftell-partial-wide.
21214
68159946
SP
21215 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21216 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
21217 Leonard and Allan McRae.
21218
2b528732
DM
212192014-02-04 David S. Miller <davem@davemloft.net>
21220
21221 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21222 32-bit.
21223
0ff82463
AZ
212242014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21225
57f41c40
AS
21226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21227 New file
c01603f7
AZ
21228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21229 New file
57f41c40
AS
21230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21231 New file.
21232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21233 New file.
c01603f7
AZ
21234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21235 New file.
57f41c40
AS
21236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21237 New file.
21238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21239 New file.
c01603f7
AZ
21240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21241 New file.
21242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21243 New file.
21244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21245 New file.
21246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21247 New file.
21248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21249 New file.
21250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21251 New file.
21252
212532014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21254
0ff82463
AZ
21255 * nptl/shlib-versions: Change powerpc*le start to 2.17.
21256 * shlib-versions: Likewise.
21257
1695c773
AZ
212582014-02-04 Roland McGrath <roland@hack.frob.com>
21259 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21260
21261 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21262 (abilist-pattern): New variable, set to %-le.abilist.
21263
21264 * Makerules (abilist-pattern): New variable.
21265 (vpath): Use $(abilist-pattern) in place of %.abilist.
21266 (check-abi-% pattern rule): Likewise.
21267 (check-abi, update-abi): Likewise.
21268
6c0ce4b4
EW
212692014-02-04 Eric Wong <normalperson@yhbt.net>
21270
21271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21272
481e3524
CD
212732014-02-03 Carlos O'Donell <carlos@redhat.com>
21274
21275 * manual/startup.texi: Add next, previous, and top entries for
21276 the `Program Arguments' and `Environment Variables' nodes.
21277
375592d3
AO
212782014-02-03 Alexandre Oliva <aoliva@redhat.com>
21279
21280 * manual/macros.texi: Add comments before MTASC-safety macros.
21281
f54838ba
AO
21282 * manual/users.texi: Document MTASC-safety properties.
21283
57f41c40
AS
21284 * manual/threads.texi (pthread_key_create, pthread_key_delete)
21285 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
21286 @deftypefun, and add @safety note.
21287 * manual/signal.texi: Move comments that analyze the above
21288 functions to their home place.
21289
fd3daba4
AM
212902014-02-03 Allan McRae <allan@archlinux.org>
21291
21292 * po/sl.po: Update Slovenian translation from translation project.
21293
597636d7
AO
212942014-02-02 Alexandre Oliva <aoliva@redhat.com>
21295
21296 * manual/time.texi (timegm): Add missing blank after @c.
21297 Reported by Joseph Myers <joseph@codesourcery.com>.
21298
ee196e3c
AO
212992014-02-01 Alexandre Oliva <aoliva@redhat.com>
21300
21301 * manual/check-safety.sh: New.
21302 * manual/Makefile ($(objpfx)stamp-summary): Run it.
21303
f8d529d5
AO
21304 * manual/terminal.texi: Document MTASC-safety properties.
21305
de55fdf4
AO
21306 * manual/filesys.texi: Document MTASC-safety properties.
21307
c3299c08
AO
21308 * manual/errno.texi: Document MTASC-safety properties.
21309
06e90b14
AO
21310 * manual/intro.texi: Document safety identifiers and
21311 conditionals.
21312
1acd4371
AO
21313 * manual/string.texi (wcstok): Fix prototype.
21314 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21315
23e5b8cb
AO
21316 * manual/time.texi: Document MTASC-safety properties.
21317
11087373
AO
21318 * manual/string.texi: Document MTASC-safety properties.
21319
5da2c93d
AO
21320 * manual/threads.texi: Document MTASC-safety properties.
21321
171e9210
AO
21322 * manual/stdio.texi: Document MTASC-safety properties.
21323
d9e02532
AO
21324 * manual/syslog.texi: Document MTASC-safety properties.
21325
6af8bab7
AO
21326 * manual/sysinfo.texi: Document MTASC-safety properties.
21327
663b02d7
AO
21328 * manual/startup.texi: Document MTASC-safety properties.
21329
973f180b
AO
21330 * manual/socket.texi: Document MTASC-safety properties.
21331
8f3c25c8
AO
21332 * manual/signal.texi: Document MTASC-safety properties.
21333
542210fb
AO
213342014-01-31 Alexandre Oliva <aoliva@redhat.com>
21335
21336 * manual/setjmp.texi: Document MTASC-safety properties.
21337
433c45a2
AO
21338 * manual/search.texi: Document MTASC-safety properties.
21339
c8ce789c
AO
21340 * manual/resource.texi: Document MTASC-safety properties.
21341
19f5d29c
AO
21342 * manual/process.texi: Document MTASC-safety properties.
21343
e2dfb7f4
AO
21344 * manual/platform.texi: Document MTASC-safety properties.
21345
8c1413f5
AO
21346 * manual/pipe.texi: Document MTASC-safety properties.
21347
03483ada
AO
21348 * manual/pattern.texi: Document MTASC-safety properties.
21349
29e7e2df
AO
21350 * manual/message.texi: Document MTASC-safety properties.
21351
9f529d7c
AO
21352 [BZ #12751]
21353 * manual/memory.texi: Document MTASC-safety properties.
21354
27aaa791
AO
21355 * manual/math.texi: Document MTASC-safety properties.
21356
f2d58726
AO
21357 * manual/locale.texi: Document MTASC-safety properties.
21358
2cc3615c
AO
21359 * manual/llio.texi: Document MTASC-safety properties.
21360
d9f0ec97
AO
21361 * manual/libdl.texi: New.
21362
e7c4409a
AO
21363 * manual/lang.texi: Document MTASC-safety properties.
21364
27bdc63c
AO
21365 * manual/job.texi: Document MTASC-safety properties.
21366
a7b90ea9
AO
21367 * manual/getopt.texi: Document MTASC-safety properties.
21368
c49130e3
AO
21369 * manual/ctype.texi: Document MTASC-safety properties.
21370
0d23a5c1
MR
213712014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
21372
21373 [BZ #16046]
21374 * csu/libc-tls.c (static_map): Remove variable.
21375 (__libc_setup_tls): Use main executable's link map for TLS data.
21376 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21377 casing for LM_ID_BASE and GL(dl_nns).
21378 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21379 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
21380 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21381 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21382 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21383 member.
21384 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21385 l_phnum members.
21386
0037bb60
AO
213872014-01-30 Alexandre Oliva <aoliva@redhat.com>
21388
21389 * manual/debug.texi: Document MTASC-safety properties.
21390
409e00bd
L
213912014-01-29 H.J. Lu <hongjiu.lu@intel.com>
21392
21393 [BZ #16510]
21394 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21395 of __x86_64__ when disabling x87 inline functions.
21396
86e60666
AO
213972014-01-29 Alexandre Oliva <aoliva@redhat.com>
21398
21399 * manual/charset.texi: Document MTASC-safety properties.
21400
76167637
AO
21401 * manual/crypt.texi: Document MTASC-safety properties.
21402
e567f2a0
AO
21403 * manual/conf.texi: Document MTASC-safety properties.
21404
b719dafd
AO
21405 * manual/arith.texi: Document MTASC-safety properties.
21406
4a16c662
AO
21407 * manual/argp.texi: Document MTASC-safety properties.
21408
0a57b83e
AO
21409 * manual/macros.texi: Introduce macros to document multi
21410 thread, asynchronous signal and asynchronous cancellation
21411 safety properties.
21412 * manual/intro.texi: Introduce the properties themselves.
21413
feab2397
KK
214142014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21415
21416 * sysdeps/sh/sh4/Makefile: New file.
21417
1c0d11bc
AS
214182014-01-27 Andreas Schwab <schwab@linux-m68k.org>
21419
21420 * math/gen-libm-test.pl ($srcdir): New variable.
21421 ($auto_input): Use it.
21422
af37a8a3
SP
214232014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21424
d7b00f98
SP
21425 [BZ #16506]
21426 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21427 access beyond array bounds when parsing netgroups file.
21428
af37a8a3
SP
21429 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21430 the old buffer before realloc.
21431
0c00f062
AM
214322014-01-27 Allan McRae <allan@archlinux.org>
21433
21434 * po/fr.po: Update French translation from translation project.
21435
7d69a1b0
KK
214362014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21437
21438 * sysdeps/sh/libm-test-ulps: Regenerate.
21439
6e697ff7
DM
214402014-01-24 David S. Miller <davem@davemloft.net>
21441
21442 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21443
9cadb35c
KK
214442014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21445
21446 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
21447 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
21448
5d41dadf
SP
214492013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21450
21451 [BZ #16474]
21452 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
21453 string pointers after reallocation.
21454
0bad441c
KK
214552014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21456
21457 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
21458 __SH4A__ instead of __SH_FPU_ANY__.
21459
7007c661
KK
214602014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21461
21462 * sysdeps/sh/fpu_control.h: New file.
21463 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
21464 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
21465 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
21466 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
21467 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
21468 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
21469 * sysdeps/sh/sys/ucontext.h: Remove.
21470 * sysdeps/sh/sys: Remove directory.
21471
0f0c35e4
AK
214722014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21473
21474 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
21475 s390/sys/ucontext.h.
21476 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
21477 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
21478
4959e284
L
214792014-01-20 H.J. Lu <hongjiu.lu@intel.com>
21480
21481 [BZ #15605]
21482 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
21483
d98720e0
AZ
214842014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21485
21486 [BZ#16431]
21487 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21488 Adjust the vDSO correctly for internal calls.
21489 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
21490
91cbd0bc
AM
214912014-01-20 Allan McRae <allan@archlinux.org>
21492
21493 * po/ca.po: Update Catalan translation from translation project.
21494
7a02cfad
MF
214952014-01-16 Mike Frysinger <vapier@gentoo.org>
21496
21497 * sysdeps/s390/sotruss-lib.c: New file.
21498
736c304a
AZ
214992014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21500
21501 [BZ#16430]
6e077ee5 21502 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
21503 (__GI___gettimeofday): Alias for a different internal symbol to avoid
21504 local calls issues by not having a PLT stub required for IFUNC calls.
21505 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
21506
94d0cea0
JM
215072014-01-16 Joseph Myers <joseph@codesourcery.com>
21508
21509 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
21510 * math/test-fpucw-static.c: Likewise.
21511
980cb518
SP
215122013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21513
21514 [BZ #16453]
21515 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
21516
2393fc01
AZ
215172014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21518
21519 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
21520 implementation for powerpc.
21521
d359bcc2
OB
215222014-01-15 Ondřej Bílka <neleai@seznam.cz>
21523
21524 [BZ #14782]
21525 * sysdeps/posix/system.c (__libc_system): Do not enable
21526 asynchronous cancellation.
21527
7beb48cb
AK
215282014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21529
21530 [BZ #16427]
21531 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
21532 handling only for numbers special also in the IEEE case.
21533
c20d5bf5
AK
215342014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21535
21536 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21537
e83bd4ee
AM
215382014-01-11 Allan McRae <allan@archlinux.org>
21539
76d0ea69
AM
21540 * po/bg.po: Update Bulgarian translation from translation project.
21541
e83bd4ee
AM
21542 * po/de.po: Update German translation from translation project.
21543
bc2ba20a
RM
215442014-01-10 Roland McGrath <roland@hack.frob.com>
21545
21546 * sysdeps/generic/gcc-compat.h: New file.
21547
649ecea2
SP
215482014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21549
21550 * benchtests/asin-inputs: Correct slow inputs.
21551 * benchtests/acos-inputs: Likewise.
21552
1b19c006
AM
215532014-01-10 Allan McRae <allan@archlinux.org>
21554
a46dab08
AM
21555 * po:sv.po: Update Swedish translation from translation project.
21556
421df74a
AM
21557 * po/vi.po: Update Vietnamese translation from translation project.
21558
d61c51a7
AM
21559 * po/eo.po: Update Esperanto translation from translation project.
21560
0339a319
AM
21561 * po/cs.po: Update Czech translation from translation project.
21562
94ad3e99
AM
21563 * po/nl.po: Update Dutch translation from translation project.
21564
e349ca71
AM
21565 * po/pl.po: Update Polish translation from translation project.
21566
ddf930c1
AM
21567 * po/ru.po: Update Russian translation from translation project.
21568
1b19c006
AM
21569 * po/uk.po: Update Ukrainian translation from translation project.
21570
9f236c49
BM
215712014-01-08 Brooks Moses <bmoses@google.com>
21572
21573 * elf/dl-load.c: Fix comment typo.
21574
cd6701cf
CD
215752014-01-08 Carlos O'Donell <carlos@redhat.com>
21576
21577 * po/header.pot: Rename to...
21578 * po/pot.header: ... this.
21579 * po/Makefile: Use pot.header.
21580
66671c84
YK
215812014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
21582 Maxim Kuvyrkov <maxim@kugelworks.com>
21583
21584 [BZ #16394]
cd6701cf
CD
21585 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
21586 SRC and DEST against LEN.
66671c84 21587
38f34581
AZ
215882014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21589
21590 [BZ #16414]
21591 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
21592 implementation.
21593 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
21594
215952014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
21596
21597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21598
4c327f2a
JM
215992014-01-08 Joseph Myers <joseph@codesourcery.com>
21600
21601 [BZ #16408]
21602 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
21603 for large positive arguments.
21604
b821f414
JM
216052014-01-07 Joseph Myers <joseph@codesourcery.com>
21606
1f0f2067
JM
21607 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21608
a5a326f6
JM
21609 * math/auto-libm-test-in: Mark various tests with
21610 xfail-rounding:ldbl-128ibm.
21611 * math/auto-libm-test-out: Regenerated.
21612
b821f414
JM
21613 [BZ #16407]
21614 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21615 Increase overflow threshold.
21616
94c8a4bc
OB
216172014-01-07 Ondřej Bílka <neleai@seznam.cz>
21618
21619 [BZ #14286]
21620 * stdio-common/vfprintf.c: Check for integer overflow.
21621
87ded0c3
AK
216222014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21623
21624 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
21625 the first argument and return value of __tls_get_addr_internal.
21626
c5eebdd0
AK
216272014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21628
21629 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
21630 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
21631
05d138ef
AK
216322014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21633
21634 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
21635 * sysdeps/s390/rtld-global-offsets.sym: New file.
21636 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
21637 GLIBC_2.19 symbol.
21638 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
21639 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
21640 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21641 ... this.
21642 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
21643 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21644 ... this.
21645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21646 Regenerate.
21647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21648 Regenerate.
21649 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
21650 halfs of GPRs for high_gprs contexts.
21651 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
21652 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
21653 field.
21654 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
21655 uc_flags field.
21656 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
21657 64 bit versions:
21658 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
21659 for high GPRs (uc_high_gprs) and for future extensions
21660 (__reserved).
21661 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
21662 for future extensions (__reserved).
21663 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
21664 64 bit versions:
21665 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
21666 SC_HIGHGPRS offset definition.
21667 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
21668 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
21669
93a45ff1
AK
21670 * Versions.def: Add GLIBC_2.19 for libpthread.
21671 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
21672 siglongjmp for libpthread with GLIBC_2.19 symver.
21673 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
21674 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
21675 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
21676 * sysdeps/s390/__longjmp.c: New file.
21677 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
21678 * sysdeps/s390/longjmp.c: New file.
21679 * sysdeps/s390/setjmp.S: New file.
21680 * sysdeps/s390/sigjmp.S: New file.
21681 * sysdeps/s390/v1-longjmp.c: New file.
21682 * sysdeps/s390/v1-setjmp.h: New file.
21683 * sysdeps/s390/v1-sigjmp.c: New file.
21684 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
21685 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
21686 GLIBC_2.19 version.
21687 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
21688 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
21689 versioned symbols for ____longjmp_chk.
21690 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21691 Likewise.
21692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21693 Regenerate.
21694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21695 Regenerate.
21696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21697 Regenerate.
21698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21699 Regenerate.
21700 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
21701 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
21702 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
21703 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
21704 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
21705 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
21706 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
21707 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
21708 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
21709 * sysdeps/s390/rtld-__longjmp.c: New file.
21710 * sysdeps/s390/rtld-setjmp.S: New file.
21711
eb3fc44b
JM
217122014-01-06 Joseph Myers <joseph@codesourcery.com>
21713
21714 [BZ #16400]
21715 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21716 Return -__logl (x) for small positive arguments without evaluating
21717 a polynomial.
21718
9341dde4
MF
217192014-01-06 Mike Frysinger <vapier@gentoo.org>
21720
21721 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
21722 Rename to ...
21723 (__ptrace_peeksiginfo_args): ... this.
21724 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21725 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21726 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21727
4cff0293
AM
217282014-01-06 Allan McRae <allan@archlinux.org>
21729
21730 * inet/netinet/in.h: Fix typo in comment.
21731
75595dcf
AJ
217322014-01-05 Andreas Jaeger <aj@suse.de>
21733
21734 * sysdeps/i386/fpu/libm-test-ulps: Update.
21735
79c1e109
AM
217362014-01-05 Allan McRae <allan@archlinux.org>
21737
dd804818
AM
21738 * po/libc.pot: Regenerated.
21739
79c1e109
AM
21740 * malloc/memusagestat.c: Fix gettext call formatting.
21741
0c813d1f
SK
217422014-01-04 Sami Kerola <kerolasa@iki.fi>
21743
21744 * nscd/nscd.c: Improve usage() output.
21745
20f4a8d9
MF
217462014-01-04 Mike Frysinger <vapier@gentoo.org>
21747
21748 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
21749 * sysdeps/unix/sysv/linux/configure: Regenerated.
21750 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
21751 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
21752
22562bb2
JM
217532014-01-03 Joseph Myers <joseph@codesourcery.com>
21754
21755 [BZ #16390]
21756 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21757 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
21758
d7ad2d9b
AZ
217592014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21760
21761 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
21762 extra tokens at end of #undef directive.
21763 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21764 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
21765 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21766
7dd009d8
JM
217672014-01-03 Joseph Myers <joseph@codesourcery.com>
21768
24db925a
JM
21769 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21770
7dd009d8
JM
21771 * math/auto-libm-test-in: Mark various tests with
21772 xfail-rounding:ldbl-128ibm.
21773 * math/auto-libm-test-out: Regenerated.
21774
396e3ecf
JM
217752014-01-02 Joseph Myers <joseph@codesourcery.com>
21776
819e5d50
JM
21777 [BZ #16386]
21778 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
21779 numbers with subnormal high part when calculating exponent.
21780
90b6a1e5
JM
21781 [BZ #16385]
21782 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
21783 fabs.
21784
396e3ecf
JM
21785 [BZ #16384]
21786 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
21787 M_LN2l.
21788 (__ieee754_acoshl): Use __log1pl not __log1p.
21789
6c8dbf00
OB
217902013-01-02 Ondřej Bílka <neleai@seznam.cz>
21791
57f41c40
AS
21792 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
21793 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
21794 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
21795 (grow_heap, heap_trim, _int_new_arena, get_free_list)
21796 (reused_arena, arena_get2): Convert to GNU style.
21797 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
21798 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
21799 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 21800 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
21801 * malloc/malloc.c (__malloc_assert, malloc_init_state)
21802 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
21803 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
21804 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
21805 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
21806 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 21807 * malloc/malloc.h: Likewise.
57f41c40
AS
21808 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
21809 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 21810 * malloc/mcheck.h: Likewise.
57f41c40
AS
21811 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
21812 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
21813 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
21814 * malloc/morecore.c (__default_morecore): Likewise.
21815 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
21816 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
21817 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
21818 (print_and_abort): Likewise.
6c8dbf00
OB
21819 * malloc/obstack.h: Likewise.
21820 * malloc/set-freeres.c (__libc_freeres): Likewise.
21821 * malloc/tst-mallocstate.c (main): Likewise.
21822 * malloc/tst-mtrace.c (main): Likewise.
21823 * malloc/tst-realloc.c (do_test): Likewise.
21824
d4124212
SP
218252013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21826
9a3c6a6f
SP
21827 [BZ #16366]
21828 * nscd/netgroupcache.c (do_notfound): New function.
21829 (addgetnetgrentX): Use it.
21830
d4124212
SP
21831 [BZ # 16365]
21832 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
21833 NSS_STATUS_NOTFOUND.
21834
97b9a009
JM
218352014-01-01 Joseph Myers <joseph@codesourcery.com>
21836
21837 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21839
d4697bc9
AM
218402014-01-01 Allan McRae <allan@archlinux.org>
21841
ddb3687f
AM
21842 * scripts/update-copyrights: Update configure input file suffix.
21843
88726d48
AM
21844 * NEWS: Update copyright year.
21845 * catgets/gencat.c: Likewise.
21846 * csu/version.c: Likewise.
21847 * debug/catchsegv.sh: Likewise.
21848 * debug/pcprofiledump.c: Likewise.
21849 * debug/xtrace.sh: Likewise.
21850 * elf/ldconfig.c: Likewise.
21851 * elf/ldd.bash.in: Likewise.
21852 * elf/pldd.c: Likewise.
21853 * elf/sotruss.ksh: Likewise.
21854 * elf/sprof.c: Likewise.
21855 * iconv/iconv_prog.c: Likewise.
21856 * iconv/iconvconfig.c: Likewise.
21857 * locale/programs/locale.c: Likewise.
21858 * locale/programs/localedef.c: Likewise.
21859 * login/programs/pt_chown.c: Likewise.
21860 * malloc/memusage.sh: Likewise.
21861 * malloc/memusagestat.c: Likewise.
21862 * malloc/mtrace.pl: Likewise.
21863 * manual/libc.texinfo: Likewise.
21864 * nscd/nscd.c: Likewise.
21865 * nss/getent.c: Likewise.
21866 * nss/makedb.c: Likewise.
21867 * posix/getconf.c: Likewise.
21868 * scripts/test-installation.pl: Likewise.
21869
d4697bc9
AM
21870 * All files with FSF copyright notices: Update copyright dates
21871 using scripts/update-copyrights.
21872 * intl/plural.c: Regenerated.
21873 * locale/programs/charmap-kw.h: Likewise.
21874 * locale/programs/locfile-kw.h: Likewise.
21875
c8590f9d
MF
218762013-12-31 Mike Frysinger <vapier@gentoo.org>
21877
21878 * sysdeps/unix/sysv/linux/configure: Regenerated.
21879 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
21880 the linux/fanotify.h header.
21881 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
21882 HAVE_LINUX_FANOTIFY_H is defined.
21883
b19221b9
SP
218842013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21885
dd1d85e5
SP
21886 * benchtests/cos-inputs: New inputs.
21887 * benchtests/sin-inputs: Likewise.
21888
1acbb90f
SP
21889 * benchtests/atan-inputs: New inputs. Fix name of multiple
21890 precision fallback inputs.
21891
4c012ed3
SP
21892 * benchtests/atanh-inputs: New inputs.
21893 * benchtests/tanh-inputs: Likewise.
21894
eff98324
SP
21895 * benchtests/acosh-inputs: New inputs.
21896 * benchtests/asinh-inputs: Likewise.
21897
ce641152
SP
21898 * benchtests/cosh-inputs: New inputs.
21899 * benchtests/sinh-inputs: Likewise.
21900
b19221b9
SP
21901 * benchtests/acos-inputs: Add more inputs.
21902 * benchtests/asin-inputs: Likewise.
21903
030a4976 219042013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 21905
030a4976 21906 [BZ #16375]
9dcc8f11
VS
21907 * manual/arith.texi: Fix spelling.
21908 * manual/charset.texi: Likewise.
21909 * manual/errno.texi: Likewise.
21910 * manual/filesys.texi: Likewise.
21911 * manual/lang.texi: Likewise.
21912 * manual/llio.texi: Likewise.
21913 * manual/locale.texi: Likewise.
21914 * manual/message.texi: Likewise.
21915 * manual/resource.texi: Likewise.
21916 * manual/search.texi: Likewise.
21917 * manual/setjmp.texi: Likewise.
21918 * manual/stdio.texi: Likewise.
21919 * manual/string.texi: Likewise.
21920 * manual/sysinfo.texi: Likewise.
21921 * manual/time.texi: Likewise.
21922
11520a57
CD
219232013-12-27 Carlos O'Donell <carlos@redhat.com>
21924
21925 * po/sl.po: New file.
21926
471103ae
MF
219272013-12-27 Mike Frysinger <vapier@gentoo.org>
21928
21929 * .gitignore: Add core/.gdbinit/.gdb_history.
21930
6c9642ed
AM
219312013-12-27 Allan McRae <allan@archlinux.org>
21932
21933 [BZ #16369]
21934 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
21935 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
21936
3f637079
BM
219372013-12-24 Brooks Moses <bmoses@google.com>
21938
21939 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
21940 all compilers that claim C++98 compliance, not just GCC.
21941 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21942 Likewise.
21943
abc26e99
MK
219442013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
21945
21946 * NEWS: Restore accidentally deleted bug-fix entries.
21947
362b47fe
MK
219482013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
21949 Ondřej Bílka <neleai@seznam.cz>
21950
21951 [BZ #15073]
21952 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 21953 have_lock.
362b47fe 21954
b9bcbbcb
OB
219552013-12-23 Ondřej Bílka <neleai@seznam.cz>
21956
21957 [BZ #12986]
21958 * manual/stdio.texi (String Input Conversions): Clarify that character
21959 classes are not supported.
21960
fb55fcd2
AZ
219612013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21962
21963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21964
ef7344f0
JM
219652013-12-22 Joseph Myers <joseph@codesourcery.com>
21966
4f40e4b3
JM
21967 [BZ #16337]
21968 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21969 Calculate results for small negative arguments directly rather
21970 than using reflection formula with special underflow handling.
21971
ef7344f0
JM
21972 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
21973 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
21974 sysdeps/unix/bsd/bsd4.4/syscalls.list.
21975 (fchflags): Likewise.
21976 (revoke): Likewise.
21977 (setlogin): Likewise.
21978 (sigaltstack): Likewise.
21979 (wait4): Likewise.
21980 (sigblock): Remove.
21981 (sigsetmask): Likewise.
21982 (wait3): Likewise.
21983 (waitpid): Likewise.
21984 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
21985 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
21986 file.
21987 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
21988 * sysdeps/unix/bsd/Makefile: ... here.
21989 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
21990 * sysdeps/unix/bsd/Versions: ... here.
21991 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
21992 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
21993 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
21994 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
21995 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
21996 * sysdeps/unix/bsd/sigblock.c: ... here.
21997 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
21998 * sysdeps/unix/bsd/sigsetmask.c: ... here.
21999 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22000 * sysdeps/unix/bsd/sigvec.c: ... here.
22001 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22002 * sysdeps/unix/bsd/tcdrain.c: ... here.
22003 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22004 * sysdeps/unix/bsd/tcgetattr.c: ... here.
22005 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22006 * sysdeps/unix/bsd/tcsetattr.c: ... here.
22007 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22008 * sysdeps/unix/bsd/wait.c: ... here.
22009 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22010 * sysdeps/unix/bsd/wait3.c: ... here.
22011 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22012 * sysdeps/unix/bsd/waitpid.c: ... here.
22013
5b0626b9
JM
220142013-12-21 Joseph Myers <joseph@codesourcery.com>
22015
22016 [BZ #16356]
22017 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22018 round-to-nearest for [!USE_AS_EXPM1L].
22019 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22020 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
22021 more tests of exp and exp10. Expect some exp10 tests to miss
22022 exceptions or fail in directed rounding modes.
22023 * math/auto-libm-test-out: Regenerated.
22024 * math/libm-test.inc (exp10_tonearest_test_data): New array.
22025 (exp10_test_tonearest): New function.
22026 (exp10_towardzero_test_data): New array.
22027 (exp10_test_towardzero): New function.
22028 (exp10_downward_test_data): New array.
22029 (exp10_test_downward): New function.
22030 (exp10_upward_test_data): New array.
22031 (exp10_test_upward): New function.
22032 (main): Call the new functions.
22033 * sysdeps/i386/fpu/libm-test-ulps: Update.
22034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22035
7fda5682
JM
220362013-12-20 Joseph Myers <joseph@codesourcery.com>
22037
31e3a405
JM
22038 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22039 asinh, atan, atan2, atanh, cbrt, cos and cosh.
22040 * math/auto-libm-test-out: Regenerated.
22041 * math/libm-test.inc (acosh_test_data): Add more tests.
22042 (atanh_test_data): Likewise.
22043 (ceil_test_data): Likewise.
22044 (copysign_test_data): Likewise.
22045 * sysdeps/i386/fpu/libm-test-ulps: Update.
22046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22047
85bff96a
JM
22048 * timezone/checktab.awk: Update from tzcode 2013i.
22049 * timezone/private.h: Likewise.
22050 * timezone/scheck.c: Likewise.
22051 * timezone/tzfile.h: Likewise.
22052 * timezone/tzselect.ksh: Likewise.
22053 * timezone/zdump.c: Likewise.
22054 * timezone/zic.c: Likewise.
22055
b7867a3b
JM
22056 * math/auto-libm-test-in: Add tests of cpow.
22057 * math/auto-libm-test-out: Regenerated.
22058 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 22059 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
22060 mpc_cc_c.
22061 (func_calc_desc): Add mpc_cc_c union field.
22062 (test_functions): Add cpow.
22063 (special_fill_2pi): New function.
22064 (special_real_inputs): Add 2pi.
22065 (calc_generic_results): Handle mpc_cc_c.
22066 * sysdeps/i386/fpu/libm-test-ulps: Update.
22067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22068
7fda5682
JM
22069 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
22070 csqrt, ctan and ctanh.
22071 * math/auto-libm-test-out: Regenerated.
22072 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22073 (TEST_COND_x86): Likewise.
22074 (ccos_test_data): Use AUTO_TESTS_c_c.
22075 (ccosh_test_data): Likewise.
22076 (cexp_test_data): Likewise.
22077 (clog_test_data): Likewise.
22078 (csqrt_test_data): Likewise.
22079 (ctan_test_data): Likewise.
22080 (ctan_tonearest_test_data): Likewise.
22081 (ctan_towardzero_test_data): Likewise.
22082 (ctan_downward_test_data): Likewise.
22083 (ctan_upward_test_data): Likewise.
22084 (ctanh_test_data): Likewise.
22085 (ctanh_tonearest_test_data): Likewise.
22086 (ctanh_towardzero_test_data): Likewise.
22087 (ctanh_downward_test_data): Likewise.
22088 (ctanh_upward_test_data): Likewise.
22089 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22090 mpc_c_c.
22091 (func_calc_desc): Add mpc_c_c union field.
22092 (FUNC_mpc_c_c): New macro.
22093 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
22094 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
22095 ctanh.
22096 (special_fill_min_subnorm_p120): New function.
22097 (special_real_inputs): Add min_subnorm_p120.
22098 (calc_generic_results): Handle mpc_c_c.
22099 * sysdeps/i386/fpu/libm-test-ulps: Update.
22100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22101
5ff8d60e
SP
221022013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22103
57f41c40
AS
22104 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
22105 (do_sin_slow): New functions.
22106 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
22107 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 22108
84ba214c
SP
22109 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
22110 Use M to change sign of result instead of X. Assume X is
22111 positive.
22112 (csloww1): Likewise.
22113 (__sin): Adjust.
22114 (__cos): Adjust.
22115
975195e4
SP
22116 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
22117 arguments A and DA.
22118 (__sin): Adjust.
22119 (__cos): Likewise.
22120
5ff8d60e
SP
22121 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
22122 (__cos): Likewise.
22123 (sloww1): Don't adjust sign of DX.
22124 (csloww1): Likewise.
22125 (sloww2): Use X directly and don't adjust sign of DX.
22126 (csloww2): Likewise.
22127
eb983568
JM
221282013-12-19 Joseph Myers <joseph@codesourcery.com>
22129
64a17f1a
JM
22130 * math/auto-libm-test-in: Add tests of cabs and carg.
22131 * math/auto-libm-test-out: Regenerated.
22132 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22133 (carg_test_data): Likewise.
22134 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22135 mpc_c_f.
22136 (func_calc_desc): Add mpc_c_f union field.
22137 (test_functions): Add cabs and carg.
22138 (calc_generic_results): Handle mpc_c_f.
22139
eb983568
JM
22140 * sysdeps/powerpc/powerpc32/libgcc-compat.S
22141 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
22142 as a macro and a compat symbol.
22143 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22144 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22145 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22146 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22147 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
22148 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
22149 not use .hidden.
22150 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
22151 Likewise.
22152 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
22153 Likewise.
22154 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
22155 Likewise.
22156 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
22157 Likewise.
22158 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
22159 Likewise.
22160 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
22161 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
22162 from GLIBC_2.3.2.
22163
6eeb678a
AZ
221642013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22165
22166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22167
6f6fc482
JM
221682013-12-19 Joseph Myers <joseph@codesourcery.com>
22169
21fea2e2
JM
22170 * manual/texinfo.tex: Update to version 2013-11-26.10 with
22171 trailing whitespace removed.
22172 * scripts/config.guess: Update to version 2013-11-29.
22173 * scripts/config.sub: Update to version 2013-10-01.
22174
6f6fc482
JM
22175 * math/auto-libm-test-in: Add tests of sincos.
22176 * math/auto-libm-test-out: Regenerated.
22177 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
22178 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22179 mpfr_f_11.
22180 (func_calc_desc): Add mpfr_f_11 union field.
22181 (test_functions): Add sincos.
22182 (calc_generic_results): Handle mpfr_f_11.
22183 * sysdeps/i386/fpu/libm-test-ulps: Update.
22184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22185
83f5c32d
AS
221862013-12-19 Andreas Schwab <schwab@suse.de>
22187
22188 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22189 CALL_MCOUNT.
22190 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22191 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22192 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22193
c688b419
JM
221942013-12-19 Joseph Myers <joseph@codesourcery.com>
22195
335ee092
JM
22196 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22197 * sysdeps/i386/fpu/libm-test-ulps: Update.
22198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22199
f88acd39
JM
22200 [BZ #16293]
22201 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22202 round-to-nearest mode when using frndint.
22203 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22204 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22205 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22206 Likewise.
22207 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
22208 sinh test to fail.
22209 * math/auto-libm-test-out: Regenerated.
22210 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22211 (TEST_COND_x86): Likewise.
22212 (expm1_tonearest_test_data): New array.
22213 (expm1_test_tonearest): New function.
22214 (expm1_towardzero_test_data): New array.
22215 (expm1_test_towardzero): New function.
22216 (expm1_downward_test_data): New array.
22217 (expm1_test_downward): New function.
22218 (expm1_upward_test_data): New array.
22219 (expm1_test_upward): New function.
22220 (main): Run the new test functions.
22221 * sysdeps/i386/fpu/libm-test-ulps: Update.
22222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22223
c688b419
JM
22224 * include/features.h: Update comment documenting feature test
22225 macros. Mention _DEFAULT_SOURCE in comment.
22226 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22227 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22228 _BSD_SOURCE and _SVID_SOURCE.
22229 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22230 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22231 !_SVID_SOURCE]: Likewise.
22232 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22233 (__USE_POSIX_IMPLICITLY): Define.
22234 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22235 (_POSIX_SOURCE): Undefine and redefine.
22236 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22237 (_POSIX_C_SOURCE): Likewise.
22238 * manual/creature.texi (_DEFAULT_SOURCE): Document.
22239 (Feature Test Macros): Update documentation of default features.
22240
9f6e964c
RS
222412013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22242
22243 * benchtests/Makefile: Add bench-strtok.
22244 * benchtests/bench-strtok.c: New file: strtok benchtest.
22245
ee0a148a
AM
222462013-12-19 Allan McRae <allan@archlinux.org>
22247
22248 * manual/install.texi: Suppress menu for plain text output.
22249 * INSTALL: Regenerated.
22250
b9ab448f
BM
222512013-12-18 Brooks Moses <bmoses@google.com>
22252
22253 [BZ #15846]
22254 * misc/getauxval.c: Include errno.h.
22255 (__getauxval): Set errno to ENOENT if the requested type is not
22256 found.
22257 * misc/sys/auxv.h (getauxval): Document that it may set errno;
22258 don't declare with __attribute_const__.
22259 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22260 * manual/startup.texi: Document that getauxval sets errno.
22261
23776487
JM
222622013-12-18 Joseph Myers <joseph@codesourcery.com>
22263
f889953b
JM
22264 * math/auto-libm-test-in: Add tests of jn and yn.
22265 * math/auto-libm-test-out: Regenerated.
22266 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22267 (yn_test_data): Likewise.
22268 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22269 mpfr_if_f.
22270 (func_calc_desc): Add mpfr_if_f union field.
22271 (FUNC_mpfr_if_f): New macro.
22272 (test_functions): Add jn and yn.
22273 (calc_generic_results): Assert type of second input for
22274 mpfr_ff_f. Handle mpfr_if_f.
22275 (output_for_one_input_case): Disable all checking for arguments
22276 fitting floating-point types in case of an integer argument.
22277 * sysdeps/i386/fpu/libm-test-ulps: Update.
22278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22279
23776487
JM
22280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22281 Don't expect fegetround reference in libm.so.
22282
cb756c6d
MS
222832013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22284
22285 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22286 $(config-cflags-nofma).
22287
2dec468f
JM
222882013-12-18 Joseph Myers <joseph@codesourcery.com>
22289
5953eb3a
JM
22290 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22291 * math/auto-libm-test-out: Regenerated.
22292
2dec468f
JM
22293 [BZ #16338]
22294 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22295 to determine exponent and adjust argument to have exponent of -1.
22296 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22297 log2.
22298 * math/auto-libm-test-out: Regenerated.
22299 * sysdeps/i386/fpu/libm-test-ulps: Update.
22300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22301
4d84e6ad
OB
223022013-12-18 Ondřej Bílka <neleai@seznam.cz>
22303
22304 * manual/probes.texi: Remove cases when per-thread arenas are
22305 disabled.
22306
1818483b
AS
223072013-12-18 Andreas Schwab <schwab@suse.de>
22308
22309 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22310 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22311 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22312 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22313 * sysdeps/i386/i686/multiarch/Makefile: Update.
22314 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22315
25de95bf
JM
223162013-12-17 Joseph Myers <joseph@codesourcery.com>
22317
22318 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22319 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22320
674762d9
PE
223212013-12-17 Paul Eggert <eggert@cs.ucla.edu>
22322
ed27ed83 22323 [BZ #15968]
0748546f
PE
22324 Support TZ transition times < 00:00:00.
22325 This is needed for version-3 tz-format files; it supports time
22326 stamps past 2037 for America/Godthab (the only entry in the tz
22327 database for which this change is relevant).
22328 * manual/time.texi (TZ Variable): Document transition times
22329 from -167:59:59 through -00:00:01.
22330 * time/tzset.c (tz_rule): Time of day is now signed.
22331 (__tzset_parse_tz): Parse negative time of day.
22332
4480e934
PE
22333 Document TZ transition times >= 25:00:00.
22334 * manual/time.texi (TZ Variable): Document transition times from
22335 25:00:00 through 167:59:59. These are already supported, and this
22336 support will help with version-3 tz-format files.
22337
69947401
PE
22338 * manual/time.texi (TZ Variable): Modernize North America example
22339 to reflect current (i.e., 2007-and-later) daylight saving rules.
22340
674762d9
PE
22341 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22342
7011c262
JM
223432013-12-17 Joseph Myers <joseph@codesourcery.com>
22344
2fc6557e
JM
22345 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22346 * sysdeps/unix/bsd/bits/stat.h: Likewise.
22347 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22348 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22349 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22350 * sysdeps/unix/bsd/bsdstat.h: Likewise.
22351 * sysdeps/unix/bsd/clock.c: Likewise.
22352 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22353 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22354 * sysdeps/unix/bsd/init-posix.c: Likewise.
22355 * sysdeps/unix/bsd/poll.c: Likewise.
22356 * sysdeps/unix/bsd/ptsname.c: Likewise.
22357 * sysdeps/unix/bsd/seekdir.c: Likewise.
22358 * sysdeps/unix/bsd/setegid.c: Likewise.
22359 * sysdeps/unix/bsd/seteuid.c: Likewise.
22360 * sysdeps/unix/bsd/setgid.c: Likewise.
22361 * sysdeps/unix/bsd/setrgid.c: Likewise.
22362 * sysdeps/unix/bsd/setruid.c: Likewise.
22363 * sysdeps/unix/bsd/setsid.c: Likewise.
22364 * sysdeps/unix/bsd/setuid.c: Likewise.
22365 * sysdeps/unix/bsd/sigaction.c: Likewise.
22366 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22367 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22368 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22369 * sysdeps/unix/bsd/telldir.c: Likewise.
22370 * sysdeps/unix/bsd/times.c: Likewise.
22371 * sysdeps/unix/bsd/usleep.c: Likewise.
22372
029c7b25
JM
22373 * misc/Makefile (install-lib): Remove libbsd-compat.a.
22374 ($(objpfx)libbsd-compat.a): Remove rule.
22375
7011c262
JM
22376 * include/features.h (__FAVOR_BSD): Do not define.
22377 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22378 features conflicting with POSIX.
22379 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22380 (_BSD_SOURCE): Remove description of not being a subset of other
22381 feature test macros.
22382 * manual/job.texi (getpgrp): Do not document BSD version.
22383 (getpgid): Do not document by reference to BSD getpgrp.
22384 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22385 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22386 * signal/signal.h [__FAVOR_BSD]: Likewise.
22387 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22388 instead of making contents conditional on [__FAVOR_BSD].
22389 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22390
affb6f78
AZ
223912013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22392
22393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22394
c88769dd
JM
223952013-12-17 Joseph Myers <joseph@codesourcery.com>
22396
6432a540
JM
22397 [BZ #16314]
22398 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22399 values below 2**-450, not 2**-500.
22400 * math/auto-libm-test-in: Don't allow spurious underflow from
22401 hypot.
22402 * math/auto-libm-test-out: Regenerated.
22403
c88769dd
JM
22404 [BZ #16316]
22405 [BZ #16330]
22406 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22407 values of ha and hb and sort them after adjusting subnormal
22408 arguments.
22409 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22410 Likewise.
22411 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22412 values of ea and eb and sort them after adjusting subnormal
22413 arguments.
22414 * math/auto-libm-test-in: Do not expect some hypot tests of
22415 subnormals to fail. Add more hypot tests.
22416 * math/auto-libm-test-out: Regenerated.
22417
29618f6b
KK
224182013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22419
22420 [BZ #13304]
22421 * sysdeps/sh/s_fma.c: New file.
22422 * sysdeps/sh/s_fmaf.c: New file.
22423 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
22424 version.
22425 * sysdeps/sh/Implies: Add sh/soft-fp.
22426
eacfdfbf
RM
224272013-12-16 Roland McGrath <roland@hack.frob.com>
22428
22429 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
22430 level of indirection to members `objname', `errstring', `malloced'.
22431 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22432 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
22433 it as the __longjmp argument (just pass 1 instead).
22434 (_dl_catch_error): Initialize C with argument pointers and address of
22435 volatile local ERRCODE rather than copying values out of C at return.
22436
ff362e5b
JM
224372013-12-16 Joseph Myers <joseph@codesourcery.com>
22438
22439 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
22440 * math/auto-libm-test-out: Regenerated.
22441 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
22442 (hypot_test_data): Likewise.
22443 (pow_test_data): Likewise.
22444 (pow_tonearest_test_data): Likewise.
22445 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22446 mpfr_ff_f.
22447 (func_calc_desc): Add mpfr_ff_f union field.
22448 (FUNC_mpfr_ff_f): New macro.
22449 (test_functions): Add atan2, hypot and pow.
22450 (special_fill_min): New function.
22451 (special_fill_minus_min): Likewise.
22452 (special_fill_min_subnorm): Likewise.
22453 (special_fill_minus_min_subnorm): Likewise.
22454 (special_real_inputs): Add min, -min, min_subnorm and
22455 -min_subnorm.
22456 (calc_generic_results): Handle mpfr_ff_f.
22457 * sysdeps/i386/fpu/libm-test-ulps: Update.
22458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22459
5764c27f
WN
224602013-12-16 Will Newton <will.newton@linaro.org>
22461
22462 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
22463 (Aligned Memory Blocks): Add documentation for aligned_alloc
22464 and suggest it as an alternative to posix_memalign.
22465 (Hooks for Malloc): Document __memalign_hook is also called
22466 for aligned_alloc. (Summary of Malloc): Add summary for
22467 aligned alloc. Document __memalign_hook is also called
22468 for aligned_alloc.
22469
0a096e44
WN
224702013-12-16 Will Newton <will.newton@linaro.org>
22471
22472 * manual/memory.texi (Malloc Examples): Clarify default
22473 alignment documentation. Suggest posix_memalign rather
22474 than memalign or valloc.
22475 (Aligned Memory Blocks): Remove suggestion to use memalign
22476 or valloc. Remove obsolete comment about BSD.
22477 Document memalign errno values and mark the function obsolete.
22478 Document posix_memalign returned error codes. Mark valloc
22479 as obsolete. (Hooks for Malloc): __memalign_hook is also
22480 called for posix_memalign and valloc.
22481 (Summary of Malloc): Add posix_memalign to function summary.
22482 __memalign_hook is also called for posix_memalign and valloc.
22483
8d561986
SP
224842013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22485
22486 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
22487 TAYLOR_SIN.
22488 (__sin): Adjust.
22489 (__cos): Likewise.
22490 (sloww): Use mynumber union. Expand ternary operator into
22491 if-else statements.
22492 (cslow): use mynumber union.
22493
73616a74
AM
224942013-12-16 Allan McRae <allan@archlinux.org>
22495
9e8ac24b
AM
22496 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
22497 * configure: Regenerated.
22498
6f8e37eb
AM
22499 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
22500
8894bad3
AM
22501 [BZ #14120]
22502 * configure.ac: Added --enable-maintainer-mode. Check for
22503 autoconf when enabled.
22504 * configure: Regenerated.
22505
73616a74
AM
22506 * nscd/nscd.service: New file.
22507 * nscd/nscd.tmpfiles: New file.
22508
584b18eb
OB
225092013-12-14 Ondřej Bílka <neleai@seznam.cz>
22510
22511 [BZ #12100]
22512 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
22513 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
22514 * sysdeps/x86_64/multiarch/strstr.c: ... here.
22515 (strstr): Add __strstr_sse2_unaligned ifunc.
22516 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
22517 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
22518 (strcasestr): Remove __strcasestr_sse42 ifunc.
22519 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
22520 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22521 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22522
8a5c7897
KK
225232013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22524
22525 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
22526 * sysdeps/sh/bits/fenv.h: ... here.
22527 * sysdeps/sh/sh4/fpu/bits: Remove directory.
22528
fd712ef3
AZ
225292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22530
22531 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
22532
42fcb46c
AZ
22533 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
22534 hypotf multiarch implementations.
22535 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
22536 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
22537 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
22538 multiarch hypot for PPC64.
22539 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
22540 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
22541 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
22542 multiarch hypotf for PPC64.
22543
83efded4
AZ
22544 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
22545 modff multiarch implementations.
22546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
22547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
22548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
22549 multiarch modf for PPC64.
22550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
22551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
22552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
22553 multiarch modff for PPC64.
22554
43e246d2
AZ
22555 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
22556 and logl multiarch implementations.
22557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
22558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
22559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
22560 multiarch logb for PPC64.
22561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
22562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
22563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
22564 multiarch logb for PPC64.
22565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
22566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
22567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
22568 multiarch logb for PPC64.
22569
8fdad123
AZ
22570 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
22571 isinff multiarch implementation.
22572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
22573 file.
22574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
22575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
22576 multiarch isinf for PPC64.
22577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
22578 file.
22579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
22580 multiarch isinff for PPC64.
22581
1481d706
AZ
22582 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
22583 finitef multiarch implementation.
22584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
22585 file.
22586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
22587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
22588 multiarch finite for PPC64.
22589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
22590 file.
22591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
22592 multiarch finitef for PPC64.
22593
5ccd5fc8
AZ
22594 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
22595 lrint multiarch implementation.
22596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
22597 file.
22598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
22599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
22600 multiarch llrint for PPC64.
22601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
22602 multiarch lrint for PPC64.
22603
2568f3fa
AZ
22604 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
22605 copysignf multiarch implementation.
22606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
22607 file.
22608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
22609 file.
22610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
22611 multiarch copysign for PPC64.
22612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
22613 multiarch copysignf for PPC64.
22614
1cb341fd
AZ
22615 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
22616 multiarch implementation.
22617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
22618 file.
22619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
22620 file.
22621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
22622 file.
22623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
22624 file.
22625 multiarch llround for PPC64.
22626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
22627 multiarch trunc for PPC64.
22628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
22629 multiarch truncf for PPC64.
22630
59a3e194
AZ
22631 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
22632 multiarch implementation.
22633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
22634 file.
22635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
22636 file.
22637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
22638 file.
22639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
22640 file.
22641 multiarch llround for PPC64.
22642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
22643 multiarch round for PPC64.
22644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
22645 multiarch roundf for PPC64.
22646
357fd3b4
AZ
22647 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
22648 multiarch implementation.
22649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
22650 file.
22651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
22652 file.
22653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
22654 file.
22655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
22656 file.
22657 multiarch llround for PPC64.
22658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
22659 multiarch floor for PPC64.
22660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
22661 multiarch floorf for PPC64.
22662
96770f12
AZ
22663 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
22664 multiarch implementation.
22665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
22666 file.
22667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
22668 file.
22669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
22670 file.
22671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
22672 file.
22673 multiarch llround for PPC64.
22674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
22675 multiarch ceil for PPC64.
22676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
22677 multiarch ceilf for PPC64.
22678
c3627f6e
AZ
22679 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22680 multiarch implementation.
22681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
22682 file.
22683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
22684 file.
22685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
22686 file.
22687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
22688 multiarch llround for PPC64.
22689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
22690 multiarch lround for PPC64.
22691
b2284ad7
AZ
22692 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22693 multiarch implementation.
22694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
22695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
22696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
22697 file.
22698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
22699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
22700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
22701 multiarch isnan for PPC64.
22702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
22703 multiarch isnanf for PPC64.
22704
69bbc63d
AZ
22705 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
22706 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
22707 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
22708 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
22709 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
22710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
22711
c24517c9
AZ
22712 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
22713 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22714 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22715 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22716
a52374e8
AZ
22717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
22718 multiarch implementations.
22719 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22720 (__libc_ifunc_impl_list): Likewise.
22721 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22722 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
22723 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
22724 multiarch stpcpy for PPC64.
22725
7f5ec113
AZ
22726 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
22727 multiarch implementations.
22728 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22729 (__libc_ifunc_impl_list): Likewise.
22730 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
22731 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
22732 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
22733 multiarch strcpy for PPC64.
22734
e28bcd42
AZ
22735 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
22736 redefine function name.
22737 (_wordcopy_fwd_dest_aligned): Likewise.
22738 (_wordcopy_bwd_aligned): Likewise.
22739 (_wordcopy_bwd_dest_aligned): Likewise.
22740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
22741 multiarch implementations.
22742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22743 (__libc_ifunc_impl_list): Likewise.
22744 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
22745 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
22746 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
22747 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
22748 multiarch wcscpy for PPC64.
22749
92cacfce
AZ
22750 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
22751 multiarch implementations.
22752 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22753 (__libc_ifunc_impl_list): Likewise.
22754 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
22755 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
22756 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
22757 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
22758 multiarch wcscpy for PPC64.
22759
7b714620
AZ
22760 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
22761 multiarch implementations.
22762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22763 (__libc_ifunc_impl_list): Likewise.
22764 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
22765 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
22766 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
22767 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
22768 multiarch wcsrchr for PPC64.
22769
16fd2ae3
AZ
22770 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
22771 multiarch implementations.
22772 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22773 (__libc_ifunc_impl_list): Likewise.
22774 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
22775 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
22776 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
22777 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
22778 multiarch wcschr for PPC64.
22779
9ee2969b
AZ
22780 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
22781 multiarch implementations.
22782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22783 (__libc_ifunc_impl_list): Likewise.
22784 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
22785 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
22786 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
22787 multiarch strchrnul for PPC64.
22788
372dc060
AZ
22789 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
22790 implementations.
22791 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22792 (__libc_ifunc_impl_list): Likewise.
22793 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
22794 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
22795 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
22796 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
22797 strchr for PPC64.
22798
24c2c3b9
AZ
22799 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
22800 implementations.
22801 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22802 (__libc_ifunc_impl_list): Likewise.
22803 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
22804 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
22805 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
22806 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
22807 strncmp for PPC64.
22808
1c92d9a0
AZ
22809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
22810 multiarch implementations.
22811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22812 (__libc_ifunc_impl_list): Likewise.
22813 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
22814 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
22815 strncasecmp for PPC64.
22816 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
22817 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
22818 multiarch strncasecmp_l for PPC64.
22819
17de3ee3
AZ
22820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
22821 multiarch implementations.
22822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22823 (__libc_ifunc_impl_list): Likewise.
22824 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
22825 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
22826 multiarch strcasecmp for PPC64.
22827 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
22828 file.
22829 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
22830 multiarch strcasecmp_l for PPC64.
22831
62982bf9
AZ
22832 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
22833 implementations.
22834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22835 (__libc_ifunc_impl_list): Likewise.
22836 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
22837 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
22838 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
22839 strnlen for PPC64.
22840
a65f4904
AZ
22841 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
22842 implementations.
22843 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22844 (__libc_ifunc_impl_list): Likewise.
22845 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
22846 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
22847 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
22848 strlen for PPC64.
22849
1fd005ad
AZ
22850 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
22851 implementations.
22852 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22853 (__libc_ifunc_impl_list): Likewise.
22854 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
22855 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
22856 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
22857 rawmemrchr for PPC64.
22858
cd05ba91
AZ
22859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
22860 implementation.
22861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22862 (__libc_ifunc_impl_list): Likewise.
22863 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
22864 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
22865 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
22866 memrchr for PPC64.
22867
870f8676
AZ
22868 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
22869 implementation.
22870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22871 (__libc_ifunc_impl_list): Likewise.
22872 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
22873 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
22874 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
22875 memchr for PPC64.
22876
f00be62b
AZ
22877 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
22878 implementation.
22879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22880 (__libc_ifunc_impl_list): Likewise.
22881 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
22882 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
22883 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
22884 mempcpy for PPC64.
22885
8a29a3d0
AZ
22886 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
22887 avoid cretion of __bzero symbol.
22888 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
22889 Likewise.
22890 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
22891 Likewise.
22892 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
22893 Likewise.
22894 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
22895 multiarch implementations.
22896 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22897 (__libc_ifunc_impl_list): Likewise.
22898 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
22899 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
22900 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
22901 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
22902 bzero for PPC32.
22903 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
22904 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
22905 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
22906 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
22907 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
22908 memset for PPC64.
22909 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
22910
07253fcf
AZ
22911 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
22912 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
22913 implementations.
22914 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22915 (__libc_ifunc_impl_list): Likewise.
22916 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
22917 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
22918 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
22919 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
22920 memcmp for PPC64.
22921
b5beafbc
AZ
22922 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
22923 multiarch for POWER/PPC64.
22924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22925 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
22926 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
22927 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
22928 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
22929 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
22930 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
22931 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
22932 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
22933 memcpy for PPC64.
22934
5e6a4d4b
AZ
22935 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
22936 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
22937 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
22938 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
22939 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
22940 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
22941 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
22942 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
22943 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
22944 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
22945 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
22946 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
22947 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
22948 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
22949 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
22950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
22951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
22952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
22953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
22954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
22955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
22956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
22957
ddfab6dc
KK
229582013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22959
22960 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
22961
19b5525e
SP
229622013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22963
22964 * benchtests/Makefile (bench): Add exp2 and log2.
22965 (LDLIBS-bench-exp2): Add -lm.
22966 (LDLIBS-bench-log2): Likewise.
22967 * benchtests/exp2-inputs: New inputs file.
22968 * benchtests/log2-inputs: New inputs file.
22969 * benchtests/log-inputs: Add new inputs.
22970 * benchtests/tan-inputs: Likewise.
22971
196f7f5d
SP
229722013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22973
7a74607f
SP
22974 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
22975 definition...
57f41c40
AS
22976 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
22977 (csloww2): ... from here.
7a74607f 22978
196f7f5d
SP
22979 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
22980 instead of structures.
22981 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
22982 (POLYNOMIAL): Likewise.
22983 (TAYLOR_SLOW): Likewise.
22984 (__sin): Likewise.
22985 (__cos): Likewise.
22986 (slow1): Likewise.
22987 (slow2): Likewise.
22988 (sloww): Likewise.
22989 (sloww1); Likewise.
22990 (sloww2): Likewise.
22991 (bsloww1): Likewise.
22992 (bsloww2): Likewise.
22993 (cslow2): Likewise.
22994 (csloww): Likewise.
22995 (csloww1): Likewise.
22996 (csloww2): Likewise.
22997
0dfa665c
OB
229982013-12-10 Ondřej Bílka <neleai@seznam.cz>
22999
23000 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
23001 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23002 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
23003 * malloc/hooks.c (realloc_check): Likewise.
23004
5782a80f
OB
23005 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23006 * malloc/arena.c: Remove PER_THREAD conditional.
23007 [!PER_THREAD]: Remove code.
23008 (ptmalloc_unlock_all2): Likewise.
23009 (ptmalloc_init): Likewise.
23010 (_int_new_arena): Likewise.
23011 (arena_get2): Likewise.
23012 * malloc/hooks.c (__malloc_get_state): Likewise.
23013 (__malloc_set_state): Likewise.
23014 * malloc/malloc.c: Likewise.
23015 (struct malloc_state): Likewise.
23016 (struct malloc_par): Likewise.
23017 (__libc_realloc): Likewise.
23018 (__libc_mallopt): Likewise.
23019
aeb95445
AZ
230202013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23021
23022 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23023
e8349efd
OB
230242013-12-09 Ondřej Bílka <neleai@seznam.cz>
23025
23026 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23027 macro to a function. Check for zero perturb_byte.
23028 (_int_malloc, _int_free): Remove zero perturb_byte checks.
23029
f3eeb3fc 23030 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
23031 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
23032 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
23033 force_reg by atomic_forced_read.
23034 * malloc/arena.c (ptmalloc_init): Likewise.
23035 * malloc/hooks.c (top_check): Likewise.
23036
be2f9009
AZ
230372013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23038
23039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23040
e7b914bd
MT
230412013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
23042
23043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23044
9f0be4f8
JM
230452013-12-08 Joseph Myers <joseph@codesourcery.com>
23046
23047 * math/auto-libm-test-in: Add tests of lgamma.
23048 * math/auto-libm-test-out: Regenerated.
23049 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
23050 (M_LOG_2_SQRT_PIl): Likewise.
23051 (lgamma_test_data): Use AUTO_TESTS_f_f1.
23052 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23053 mpfr_f_f1.
23054 (func_calc_desc): Add mpfr_f_f1 union field.
23055 (ARGS1): New macro.
23056 (ARGS2): Likewise.
23057 (ARGS3): Likewise.
23058 (ARGS4): Likewise.
23059 (RET1): Likewise.
23060 (RET2): Likewise.
23061 (CALC): Likewise.
23062 (FUNC): Likewise.
23063 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
23064 (test_functions): Add lgamma.
23065 (calc_generic_results): Handle mpfr_f_f1.
23066 * sysdeps/i386/fpu/libm-test-ulps: Update.
23067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23068
24eeafdb
AZ
230692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23070
23071 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
23072 __mpn_add_n for PowerPC64/POWER7.
23073 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
23074 __mpn_sub_n for PowerPC64/POWER7.
23075
4a2c0fd4
AZ
23076 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
23077 __mpn_addmul_1 for PowerPC64.
23078 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
23079 __mpn_submul_1 for PowerPC64.
23080 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
23081 for PowerPC64.
23082 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
23083 for PowerPC64.
23084
4b5b548c
FS
230852013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
23086
23087 [BZ #15089]
23088 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
23089
0a3ac0aa
AZ
230902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23091
23092 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
23093
ccdc8438
AZ
23094 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
23095 add multiarch folders.
23096 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
23097 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
23098 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
23099 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
23100 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
23101 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
23102 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
23103 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
23104 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23105 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
23106 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
23107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
23108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
23109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
23110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
23111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
23112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
23113
2e973d99
AZ
23114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23115 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
23116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
23117 New file.
23118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
23119 New file.
23120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
23121 multiarch __ieee754_hypot for PowerPC32.
23122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
23123 New file.
23124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
23125 New file.
23126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
23127 multiarch __ieee754_hypotf for PowerPC32.
23128
2d9470b2
AZ
23129 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23130 long_double_symbol only if __logbl is defined.
23131 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23132 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23133 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23134 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23135 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23136 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
23137 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
23138 path for implementation.
23139 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
23140 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
23141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
23142 logb, and logbl multiarch implementations for PowerPC32.
23143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
23144 file.
23145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
23146 file.
23147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
23148 multiarch logb for PowerPC32.
23149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
23150 file.
23151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
23152 file.
23153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
23154 multiarch logbf for PowerPC32.
23155 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
23156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
23157 file.
23158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
23159 multiarch logbl implementation for PowerPC32.
23160
5212ffce
AZ
23161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
23162 and modff multiarch implementations.
23163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
23164 New file.
23165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
23166 New file.
23167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
23168 multiarch modf for PowerPC32.
23169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
23170 New file.
23171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
23172 New file.
23173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
23174 multiarch modff for PowerPC32.
23175
79dccf31
AZ
23176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
23177 and lrintf multiarch implementations.
23178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
23179 New file.
23180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
23181 New file.
23182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
23183 multiarch lrint for PowerPC32.
23184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
23185 file: multiarch lrintf for PowerPC32.
23186
deb66480
AZ
23187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23188 and lroundf multiarch implementations.
23189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23190 New file.
23191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23192 New file.
23193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23194 New file.
23195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23196 multiarch lround for PowerPC32.
23197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23198 file: multiarch lroundf for PowerPC32.
23199
264b036b
AZ
23200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23201 copysign and copysignf multiarch implementations.
23202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23203 New file.
23204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23205 New file.
23206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23207 file: multiarch copysign for PowerPC32.
23208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23209 file: multiarch copysignf for PowerPC32.
23210
d47db6c9
AZ
23211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23212 and truncf multiarch implementations.
23213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23214 New file.
23215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23216 file.
23217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23218 multiarch trunc for PowerPC32.
23219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23220 New file.
23221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23222 New file.
23223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23224 multiarch truncf for PowerPC32.
23225
ddb60b5a
AZ
23226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23227 and roundf multiarch implementations.
23228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23229 New file.
23230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23231 file.
23232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23233 multiarch round for PowerPC32.
23234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23235 New file.
23236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23237 New file.
23238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23239 multiarch roundf for PowerPC32.
23240
bedcf49b
AZ
23241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23242 and floorf multiarch implementations.
23243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23244 New file.
23245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23246 file.
23247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23248 multiarch floor for PowerPC32.
23249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23250 New file.
23251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23252 New file.
23253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23254 multiarch floorf for PowerPC32.
23255
35ae5b40
AZ
23256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23257 and ceilf multiarch implementations.
23258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23259 New file.
23260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23261 file.
23262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23263 multiarch ceil for PowerPC32.
23264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23265 New file.
23266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23267 file.
23268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23269 multiarch ceilf for PowerPC32.
23270
ae1a4cd9
AZ
23271 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23272 is defined.
23273 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23274 FINITEF is defined.
23275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23276 and finitef multiarch implementations.
23277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23278 New file.
23279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23280 file.
23281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23282 multiarch finite for PowerPC32.
23283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23284 New file.
23285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23286 file: multiarch finitef for PowerPC32.
23287
64fffd65
AZ
23288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23289 and isinff multiarch implementations.
23290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23291 file.
23292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23293 file.
23294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23295 multiarch isinf for PowerPC32.
23296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23297 New file.
23298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23299 multiarch isinff for PowerPC32.
23300
8e4e7ba2
AZ
23301 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23302 alias when __isnan is defined.
23303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23304 and isnanf multiarch implementations.
23305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23306 file.
23307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23308 file.
23309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23310 file.
23311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23312 file.
23313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23314 multiarch isnan for PowerPC32.
23315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23316 New file.
23317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23318 New file.
23319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23320 multiarch isnanf for PowerPC32.
23321
ddba588e
AZ
23322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23323 and sqrtf multiarch implementations.
23324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23325 file.
23326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23327 file.
23328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23329 multiarch sqrt for PowerPC32.
23330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23331 file.
23332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23333 file.
23334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23335 multiarch sqrtf for PowerPC32.
23336
0f96a2f0
AZ
23337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23338 and llroundf multiarch implementations.
23339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23340 New file.
23341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23342 New file.
23343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23344 New file.
23345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23346 file: multiarch llround for PowerPC32.
23347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23348 file: multiarch llroundf for PowerPC32.
23349
c9b5d79e
AZ
23350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23351 multiarch PowerPC32 fpu implementations.
23352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23353 New file.
23354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23355 New file.
23356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23357 multiarch llrint for PowerPC32.
23358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23359 New file.
23360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23361 New file.
23362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23363 file.
23364
9cbb3aab
AZ
23365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23366
ea5a72f8
AZ
23367 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23368 file.
23369 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23370 file.
23371 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23372 file.
23373 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23374 multiarch wordcopy for PPC32.
23375 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23376 wordcopy objects.
23377 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23378 (__libc_ifunc_impl_list): Likewise.
23379 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23380 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23381 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23382 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23383 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23384 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23385
93be09e7
AZ
23386 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23387 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23388 file.
23389 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23390 file.
23391 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23392 file.
23393 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23394 multiarch wcscpy for PPC32.
23395 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23396 multiarch objects.
23397 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23398 (__libc_ifunc_impl_list): Likewise.
23399 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23400 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23401 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23402 sysdeps/powerpc/power6/wcscpy.c.
23403
bb04e529
AZ
23404 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23405 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23406 file.
23407 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23408 file.
23409 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23410 file.
23411 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23412 multiarch wcsrchr for PPC32.
23413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23414 multiarch objects.
23415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23416 (__libc_ifunc_impl_list): Likewise.
23417 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23418 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23419 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
23420 sysdeps/powerpc/power6/wcsrchr.c.
23421
05b5cd1c
AZ
23422 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23423 file.
23424 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23425 file.
23426 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23427 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23428 multiarch wcschr for PPc32.
23429 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23430 multiarch objects.
23431 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23432 (__libc_ifunc_impl_list): Likewise.
23433 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
23434 * sysdeps/powerpc/power6/wcschr.c: ... to here.
23435 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
23436 sysdeps/powerpc/power6/wcschr.c.
23437
ba964147
AZ
23438 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
23439 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23440 file.
23441 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
23442 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
23443 file: multiarch strchr for PPC32.
23444 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
23445 multiarch objects.
23446 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23447 (__libc_ifunc_impl_list): Likewise.
23448
31c81aaa
AZ
23449 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
23450 name.
23451 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
23452 file.
23453 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
23454 file.
23455 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23456 multiarch strchrnul for PPC32.
23457 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
23458 multiarch objects.
23459 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23460 (__libc_ifunc_impl_list): Likewise.
23461
0d0607d9
AZ
23462 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
23463 file.
23464 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
23465 multiarch strncasecmp for PPC32.
23466 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
23467 file.
23468 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
23469 multiarch strncasecmp_l for PPC32.
23470 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
23471 strncasecmp multiarch objects.
23472 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23473 (__libc_ifunc_impl_list): Likewise.
23474
4dfd5c86
AZ
23475 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
23476 file.
23477 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
23478 multiarch strncasecmp for PPC32.
23479 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23480 New file.
23481 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
23482 multiarch strcasecmp_l for PPC32.
23483 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
23484 multiarch objects.
23485 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23486 (__libc_ifunc_impl_list): Likewise.
23487
a19e01a3
AZ
23488 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
23489 file.
23490 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
23491 file.
23492 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
23493 multiarch strncmp for PPC32.
23494 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
23495 multiarch objects.
23496 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23497 (__libc_ifunc_impl_list): Likewise.
23498
ae9cf7a2
AZ
23499 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
23500 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
23501 file.
23502 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
23503 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
23504 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
23505 multiarch objects.
23506 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23507 (__libc_ifunc_impl_list): Likewise.
23508
3148bb7d
AZ
23509 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
23510 file.
23511 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
23512 file.
23513 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
23514 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
23515 multiarch objects.
23516 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23517 (__libc_ifunc_impl_list): Likewise.
23518
7af8b946
AZ
23519 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
23520 file.
23521 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
23522 file.
23523 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
23524 multiarch rawmemchr for PPC32.
23525 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
23526 multiarch objects.
23527 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23528 (__libc_ifunc_impl_list): Likewise.
23529
03a6aa6a
AZ
23530 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
23531 file.
23532 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
23533 file.
23534 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
23535 file: memrchr multiarch for PPC32.
23536 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
23537 multiarch objects.
23538 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23539 (__libc_ifunc_impl_list): Likewise.
23540
1c62e6d9
AZ
23541 * string/memchr.c (__memchr): Using macro to redefine symbol name.
23542 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
23543 file.
23544 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
23545 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
23546 multiarch memchr for PPC32.
23547 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
23548 multiarch objects.
23549 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23550 (__libc_ifunc_impl_list): Likewise.
23551
87da8bdb
AZ
23552 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
23553 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
23554 file.
23555 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
23556 file.
23557 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
23558 file: multiarch mempcpy for PPC32.
23559 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
23560 multiarch objects.
23561 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23562 (__libc_ifunc_impl_list): Likewise.
23563
20ed4714
AZ
23564 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
23565 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
23566 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
23567 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
23568 multiarch bzero for PPC32.
23569 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
23570 file.
23571 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
23572 file.
23573 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
23574 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
23575 file: multiarch memset for PPC32.
23576 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
23577 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
23578 memset multiarch objects.
23579 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23580 (__libc_ifunc_impl_list): Likewise.
23581
ab3e3a46
AZ
23582 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
23583 file.
23584 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
23585 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
23586 memcmp for PPC32.
23587 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
23588 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
23589 multiarch objects.
23590 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23591 (__libc_ifunc_impl_list): Likewise.
23592
930de6f0
AZ
23593 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
23594 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
23595 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
23596 file.
23597 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
23598 file.
23599 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
23600 file.
23601 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
23602 multiarch memcpy for PPC32.
23603 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
23604 multiarch objects.
23605 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23606 (__libc_ifunc_impl_list): Likewise.
23607
4c628e00
AZ
23608 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
23609 support multiarch for POWER/PPC32.
23610 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
23611 Likewise.
23612 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
23614 Implies file to make multiarch folder appers before the fpu and
23615 default folder for power4 configuration.
23616
f4479220
SP
236172013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23618
23619 * scripts/bench.pl: Append volatile keyword to type.
23620
8517800f
KK
236212013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23622
23623 * sysdeps/sh/sotruss-lib.c: New file.
23624 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
23625
180138f1
AZ
236262013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23627
23628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23629
bbf37bdc
JM
236302013-12-05 Joseph Myers <joseph@codesourcery.com>
23631
e47cc4e0
JM
23632 [BZ #6810]
23633 * math/w_tgamma.c: Include <errno.h>.
23634 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
23635 * math/w_tgammaf.c: Include <errno.h>.
23636 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
23637 * math/w_tgammal.c: Include <errno.h>.
23638 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
23639 * math/auto-libm-test-in: Do not allow missing errno on tgamma
23640 underflow. Add more tgamma tests.
23641 * math/auto-libm-test-out: Regenerated.
23642 * sysdeps/i386/fpu/libm-test-ulps: Update.
23643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23644
bbf37bdc
JM
23645 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
23646 sin, sinh, tan, tanh, tgamma, y0 and y1.
23647 * math/auto-libm-test-out: Regenerated.
23648 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23649 (TEST_COND_x86): Likewise.
23650 (M_E2l): Remove macro.
23651 (M_E3l): Likewise.
23652 (M_2_SQRT_PIl): Likewise.
23653 (M_SQRT_PIl): Likewise.
23654 (M_1_DIV_El): Likewise.
23655 (log_test_data): Use AUTO_TESTS_f_f.
23656 (log10_test_data): Likewise.
23657 (log1p_test_data): Likewise.
23658 (log2_test_data): Likewise.
23659 (sin_test_data): Likewise.
23660 (sin_tonearest_test_data): Likewise.
23661 (sin_towardzero_test_data): Likewise.
23662 (sin_downward_test_data): Likewise.
23663 (sin_upward_test_data): Likewise.
23664 (sinh_test_data): Likewise.
23665 (sinh_tonearest_test_data): Likewise.
23666 (sinh_towardzero_test_data): Likewise.
23667 (sinh_downward_test_data): Likewise.
23668 (sinh_upward_test_data): Likewise.
23669 (tan_test_data): Likewise.
23670 (tan_tonearest_test_data): Likewise.
23671 (tan_towardzero_test_data): Likewise.
23672 (tan_downward_test_data): Likewise.
23673 (tan_upward_test_data): Likewise.
23674 (tanh_test_data): Likewise.
23675 (tgamma_test_data): Likewise.
23676 (y0_test_data): Likewise.
23677 (y1_test_data): Likewise.
23678 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
23679 (special_real_inputs): Add pi/4.
23680 * sysdeps/i386/fpu/libm-test-ulps: Update.
23681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23682
eb5ad6b9
AZ
236832013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23684
23685 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
23686 "longjmp_target" static probes.
23687 (__longjmp): Rename to __longjmp_symbol.
23688 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23689 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
23690 on which longjmp to generate.
23691 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23692 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
23693 probe.
23694 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23695 (__sigjmp_save): Rename to __sigjmp_save_symbol.
23696 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23697 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
23698 and __sigjmp_save_symbol based on which sigsetjmp to generated.
23699 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
23700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
23701 __longjmp_symbol based on which __longjmp to generate.
23702 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
23703 probe.
23704 (setjmp): Rename to setjmp_symbol.
23705 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23706 (_setjmp): Rename to _setjmp_symbol.
23707 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23708 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
23709 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
23710 which setjmp to generate.
23711 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
23712 "longjmp_target" static probes.
23713
d136c6dc
SP
237142013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23715
9298ecba
SP
23716 * benchtests/README: Add note about output arguments.
23717 * benchtests/bench-sincos.c: Remove file.
23718 * benchtests/sincos-inputs: New file.
23719 * scripts/bench.pl: Identify output arguments and define
23720 static variables for them.
23721
232983e9
SP
23722 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
23723
d136c6dc
SP
23724 [BZ #15941]
23725 * Makefile (INSTALL): Add install-plain.texi as the primary
23726 dependency.
23727 * manual/install-plain.texi: New file.
23728 * manual/install.texi: Include node directive only for
23729 non-plaintext output.
23730
699ff837
JM
237312013-12-04 Joseph Myers <joseph@codesourcery.com>
23732
ab07cea8
JM
23733 * stdlib/longlong.h: Update from GCC.
23734
699ff837
JM
23735 [BZ #6807]
23736 [BZ #15901]
23737 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
23738 * math/w_j0f.c (y0f): Likewise.
23739 * math/w_j0l.c (__y0l): Likewise.
23740 * math/w_j1.c (y1): Likewise.
23741 * math/w_j1f.c (y1f): Likewise.
23742 * math/w_j1l.c (__y1l): Likewise
23743 * math/w_jn.c (yn): Likewise.
23744 * math/w_jnf.c (ynf): Likewise.
23745 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
23746 Bessel function pole errors in _POSIX_ mode. Use NAN as return
23747 value for Bessel function domain errors outside _SVID_ mode.
23748 Adjust sign of return value for yn (negative integer, 0).
23749 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
23750 by zero in return for negative x and set sign appropriately for
23751 negative n.
23752 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
23753 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23754 * math/libm-test.inc (y0_test_data): Add more tests and adjust
23755 expectations in error cases.
23756 (y1_test_data): Likewise.
23757 (yn_test_data): Likewise.
23758 * sysdeps/i386/fpu/libm-test-ulps: Update.
23759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23760
5b118558
UW
237612013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23762
23763 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
23764 "64" to "64-v1". Add "64-v2".
23765 (abi-64-options): Rename to ...
23766 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
23767 (abi-64-condition): Rename to ...
23768 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
23769 (abi-64-ld-soname): Rename to ...
23770 (abi-64-v1-ld-soname): ... this.
23771 (abi-64-v2-options): Define.
23772 (abi-64-v2-condition): Likewise.
23773 (abi-64-v2-ld-soname): Likewise.
23774 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
23775 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
23776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
23777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
23778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
23779
61cd8fe4
UW
237802013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23781 Alan Modra <amodra@gmail.com>
23782
23783 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
23784 New versions for use with the ELFv2 ABI.
23785 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
23786 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
23787 declaration.
23788 (struct La_ppc64v2_retval): Likewise.
23789 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
23790 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
23791 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
23792 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
23793 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
23794 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23795 Do not save or restore CR.
23796 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
23797 (_dl_profile_resolve): Do no save or restore CR. Support extended
23798 return values for ELFv2 ABI. Fix location of FPR return registers.
23799 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
23800 updated values for _CALL_ELF == 2.
23801 (La_regs, La_retval, int_retval): Likewise.
23802
8b8a692c
UW
238032013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23804
23805 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
23806 (FRAME_MIN_SIZE_PARM): Likewise.
23807 (FRAME_BACKCHAIN): Likewise.
23808 (FRAME_CR_SAVE): Likewise.
23809 (FRAME_LR_SAVE): Likewise.
23810 (FRAME_TOC_SAVE): Likewise.
23811 (FRAME_PARM_SAVE): Likewise.
23812 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
23813 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
23814 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23815 (call_mcount_parm_offset): New macro.
23816 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
23817 (PROF): Use symbolic stack frame offsets.
23818 (TAIL_CALL_SYSCALL_ERROR): Likewise.
23819 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
23820 Redefine in terms of FRAME_MIN_SIZE.
23821 (_dl_runtime_resolve): Use symbolic stack frame offsets.
23822 (_dl_profile_resolve): Likewise. Update comment.
23823 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
23824 symbols stack frame offsets.
23825 (__sigsetjmp): Likewise.
23826 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
23827 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
23828 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
23829 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
23830
23831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
23832 (FRAME_BACKCHAIN): Remove.
23833 (FRAME_CR_SAVE): Likewise.
23834 (FRAME_LR_SAVE): Likewise.
23835 (FRAME_COMPILER_DW): Likewise.
23836 (FRAME_LINKER_DW): Likewise.
23837 (FRAME_TOC_SAVE): Likewise.
23838 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
23839 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
23840 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
23841 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
23842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
23843 (CHECK_SP): Use symbolic stack frame offsets.
23844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
23845 zone" instead of caller's parameter save area for temp storage.
23846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23847 Likewise. Also, use symbolic stack frame offsets.
23848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
23849 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
23850 our own stack frame instead of the caller's.
23851 (__socket): Use symbolic stack frame offsets.
23852
122b66de
UW
238532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23854 Alan Modra <amodra@gmail.com>
23855
23856 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
23857 Define.
57f41c40
AS
23858 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
23859 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
23860 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
23861 New function.
23862 (elf_machine_fixup_plt): Call it.
23863 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
23864 reloc arguments.
23865 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
23866 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23867 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
23868 r2 before calling target.
23869
696caf1d
UW
238702013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23871 Alan Modra <amodra@gmail.com>
23872
23873 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
23874 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
23875 versions of macros to support ELFv2 ABI.
23876 (LOCALENTRY): New macro.
23877 (ENTRY, EALIGN): Use it.
23878 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
23879 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
23880 fall through into ENTRY entry point.
23881 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
23882 Only define if _CALL_ELF != 2.
23883
23884 (elf_machine_matches_host): Verify ABI version matches.
23885 (RTLD_START): Use LOCALENTRY.
23886 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
23887 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
23888 (PLT_ENTRY_WORDS): New macro.
23889 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
23890 (elf_machine_runtime_setup): Support ELFv2 ABI.
23891 (elf_machine_fixup_plt): Likewise.
23892 (elf_machine_plt_conflict): Likewise.
23893 (resolve_ifunc): Likewise.
23894 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23895 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23896 Likewise.
23897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
23898 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
23899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23900 (makecontext): Support ELFv2 ABI.
23901 * elf/elf.h (EF_PPC64_ABI): Define.
23902
d31beafa
UW
239032013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23904
57f41c40
AS
23905 * sysdeps/powerpc/powerpc64/sysdep.h
23906 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
23907 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
23908 (ENTRY) [ASSEMBLER]: ... but instead here ...
23909 (EALIGN) [ASSEMBLER]: ... and here.
23910 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
23911 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
23912 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
23913 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
23914 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
23915 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23916 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
23917 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
23918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
23919 Use PPC64_LOAD_FUNCPTR.
23920
b525166b
UW
23921 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
23922
7ec07d9a
AM
239232013-12-04 Alan Modra <amodra@gmail.com>
23924
23925 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
23926 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
23927 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
23928 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
23929
23930 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
23931 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
23932 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
23933 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
23934 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
23935 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
23936
5162e7dd
UW
239372013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
23938
23939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23940 (__makecontext): Fix incorrect CFI when backtracing out of
23941 context created via makecontext.
23942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
23943 (__setcontext): Fix incorrect CFI during switch to new context.
23944 (__novec_setcontext): Likewise.
23945
19e3372b
OB
239462013-12-04 Ondřej Bílka <neleai@seznam.cz>
23947
23948 [BZ #4772]
23949 * time/strptime_l.c (__strptime_internal): Allow modifiers
23950 in strptime.
23951 * time/tst-strptime.c (day_tests): Add testcase.
23952
ecaf142d
SP
239532013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23954
23955 * scripts/bench.pl: Skip over blank lines.
23956
fbf964ae
PE
239572013-12-04 Paul Eggert <eggert@cs.ucla.edu>
23958
23959 [BZ #926]
23960 * manual/time.texi (Calendar Time): Clarify what timezone functions
23961 use.
23962
fa60a674
AZ
239632013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23964
23965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23966
d674f0ef
OB
239672013-12-04 Ondřej Bílka <neleai@seznam.cz>
23968
23969 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
23970 implementation.
23971 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
23972 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
23973 * debug/memset_chk.c (__memset_chk): Likewise.
23974 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
23975 * debug/strncpy_chk.c: Likewise.
23976
17dea188
JM
239772013-12-03 Joseph Myers <joseph@codesourcery.com>
23978
749008ff
JM
23979 [BZ #15268]
23980 [BZ #15425]
23981 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
23982 (__ieee754_exp): For possibly underflowing results, check size of
23983 result and force underflow exception if required.
23984 * math/auto-libm-test-in: Add more tests of exp.
23985 * math/auto-libm-test-out: Regenerated.
23986 * sysdeps/i386/fpu/libm-test-ulps: Update.
23987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23988
17dea188
JM
23989 [BZ #16283]
23990 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
23991 * math/w_exp2f.c (__exp2f): Likewise.
23992 * math/w_exp2l.c (__exp2l): Likewise.
23993 * math/auto-libm-test-in: Do not allow missing errno on exp2
23994 underflow.
23995 * math/auto-libm-test-out: Regenerated.
23996
b20de2c3
OB
239972013-12-03 Ondřej Bílka <neleai@seznam.cz>
23998
23999 [BZ #16274]
24000 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24001 handle filename validation.
24002 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24003 (do_open): Delete.
24004
d8e2dbe3
JM
240052013-12-03 Joseph Myers <joseph@codesourcery.com>
24006
34e16df5
JM
24007 [BZ #6786]
24008 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24009 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24010 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24011 <float.h>.
24012 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24013 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24014 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24015 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24016 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24017 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24018 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24019 * math/auto-libm-test-in: Don't allow missing errno from erfc.
24020 Add more erfc tests.
24021 * math/auto-libm-test-out: Regenerated.
24022 * sysdeps/i386/fpu/libm-test-ulps: Update.
24023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24024
d8e2dbe3
JM
24025 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24026 exp2, expm1, j0 and j1.
24027 * math/auto-libm-test-out: Regenerated.
24028 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24029 (erfc_test_data): Likewise.
24030 (exp_test_data): Likewise.
24031 (exp_tonearest_test_data): Likewise.
24032 (exp_towardzero_test_data): Likewise.
24033 (exp_downward_test_data): Likewise.
24034 (exp_upward_test_data): Likewise.
24035 (exp10_test_data): Likewise.
24036 (exp2_test_data): Likewise.
24037 (expm1_test_data): Likewise.
24038 (j0_test_data): Likewise.
24039 (j1_test_data): Likewise.
24040 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
24041 (input_flag_type): Add flag_xfail_rounding.
24042 (input_flags): Add xfail-rounding.
24043 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
24044 (output_for_one_input_case): Handle flag_xfail_rounding.
24045 * sysdeps/i386/fpu/libm-test-ulps: Update.
24046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24047
18d14251
AJ
240482013-12-03 Aurelien Jarno <aurelien@aurel32.net>
24049
3d2e6075 24050 [BZ #16289]
18d14251
AJ
24051 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
24052 division by 0.
24053
520d437b
SP
240542013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24055
24056 [BZ #16195]
24057 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
24058 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
24059 (STAP_PROBE0): New macro.
24060 (STAP_PROBE1): Likewise.
24061 (STAP_PROBE2): Likewise.
24062 (STAP_PROBE3): Likewise.
24063 (STAP_PROBE4): Likewise.
24064
416e0145
OB
240652013-12-02 Ondřej Bílka <neleai@seznam.cz>
24066
24067 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
24068
9d17796a
SE
240692013-12-02 Steve Ellcey <sellcey@mips.com>
24070
24071 * benchtests/Makefile (bench): Add sqrt.
24072 (LDLIBS-bench-sqrt): New.
24073 * benchtests/sqrt-input: New.
24074
f524d6a8
PS
240752013-12-02 Pavel Simerda <psimerda@redhat.com>
24076
639a0ef8
PS
24077 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
24078 (GAIH_EAI): Likewise.
24079 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
24080 (gaih_inet): Likewise.
24081 (getaddrinfo): Don't use GAIH_EAI.
24082
f524d6a8
PS
24083 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
24084 (struct gaih): Remove definition.
24085
df3aedaf
SP
240862013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24087
24088 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
24089 Use HERRNOP directly.
24090
1ab19dec
AZ
240912013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24092
b42ad38d 24093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 24094
176b0c79
JM
240952013-11-30 Joseph Myers <joseph@codesourcery.com>
24096
24097 * math/gen-auto-libm-tests.c (test_functions): Add more
24098 single-argument functions.
24099 (special_fill_pi_2): New function.
24100 (special_fill_minus_pi_2): Likewise.
24101 (special_fill_pi_6): Likewise.
24102 (special_fill_minus_pi_6): Likewise.
24103 (special_fill_pi_3): Likewise.
24104 (special_fill_2pi_3): Likewise.
24105 (special_fill_e): Likewise.
24106 (special_fill_1_e): Likewise.
24107 (special_fill_e_minus_1): Likewise.
24108 (special_real_inputs): Add more special inputs.
24109 (output_for_one_input_case): Do not require ERANGE on underflow to
24110 zero if round-to-nearest result does not underflow to zero, unless
24111 exact results required.
24112 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
24113 atan, atanh, cbrt, cos and cosh.
24114 * math/auto-libm-test-out: Regenerated.
24115 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
24116 (acos_tonearest_test_data): Likewise.
24117 (acos_towardzero_test_data): Likewise.
24118 (acos_downward_test_data): Likewise.
24119 (acos_upward_test_data): Likewise.
24120 (acosh_test_data): Likewise.
24121 (asin_test_data): Likewise.
24122 (asin_tonearest_test_data): Likewise.
24123 (asin_towardzero_test_data): Likewise.
24124 (asin_upward_test_data): Likewise.
24125 (asinh_test_data): Likewise.
24126 (atan_test_data): Likewise.
24127 (atanh_test_data): Likewise.
24128 (cbrt_test_data): Likewise.
24129 (cos_test_data): Likewise.
24130 (cos_tonearest_test_data): Likewise.
24131 (cos_towardzero_test_data): Likewise.
24132 (cos_downward_test_data): Likewise.
24133 (cos_upward_test_data): Likewise.
24134 (cosh_test_data): Likewise.
24135 (cosh_tonearest_test_data): Likewise.
24136 (cosh_towardzero_test_data): Likewise.
24137 (cosh_downward_test_data): Likewise.
24138 (cosh_upward_test_data): Likewise.
24139 * sysdeps/i386/fpu/libm-test-ulps: Update.
24140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24141
ffb536d0
JM
241422013-11-29 Joseph Myers <joseph@codesourcery.com>
24143
2a77a467
JM
24144 [BZ #6787]
24145 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
24146 * math/w_exp10f.c (__exp10f): Likewise.
24147 * math/w_exp10l.c (__exp10l): Likewise.
24148 * math/libm-test.inc (exp10_test_data): Add more tests and expect
24149 errno settings in existing tests.
24150
ea3bc4e8
JM
24151 [BZ #14032]
24152 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
24153 precision control set to double precision.
24154 * sysdeps/i386/fpu/w_sqrt.c: New file.
24155 * math/auto-libm-test-in: Add more tests.
24156 * math/auto-libm-test-out: Update.
24157
0712c9d8
JM
24158 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
24159 (sqrt_test_tonearest): New function.
24160 (sqrt_towardzero_test_data): New variable.
24161 (sqrt_test_towardzero): New function.
24162 (sqrt_downward_test_data): New variable.
24163 (sqrt_test_downward): New function.
24164 (sqrt_upward_test_data): New variable.
24165 (sqrt_test_upward): New function.
24166 (main): Call the new functions.
24167
ffb536d0
JM
24168 * math/gen-auto-libm-tests.c: New file.
24169 * math/auto-libm-test-in: Likewise.
24170 * math/auto-libm-test-out: New generated file.
24171 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24172 variables.
24173 (%beautify): Add generated representations of zero.
24174 (top level): Set $auto_input and call parse_auto_input.
24175 (beautify): Remove trailing "f" from hex float constants.
24176 (parse_args): Handle XFAIL_TEST.
24177 (convert_condition): New function.
24178 (or_value): Likewise.
24179 (or_cond_value): Likewise.
24180 (generate_testfile): Handle AUTO_TESTS_* lines.
24181 (parse_auto_input): New function.
24182 * math/libm-test.inc (XFAIL_TEST): New macro.
24183 (ERRNO_UNCHANGED): Update value.
24184 (ERRNO_EDOM): Likewise.
24185 (ERRNO_ERANGE): Likewise.
24186 (IGNORE_RESULT): Likewise.
24187 (TEST_COND_flt_32): New macro.
24188 (TEST_COND_dbl_64): Likewise.
24189 (TEST_COND_ldbl_96_intel): Likewise.
24190 (TEST_COND_ldbl_96_m68k): Likewise.
24191 (TEST_COND_ldbl_128): Likewise.
24192 (TEST_COND_ldbl_128ibm): Likewise.
24193 (TEST_COND_long32): Likewise.
24194 (TEST_COND_long64): Likewise.
24195 (TEST_COND_before_rounding): Likewise.
24196 (TEST_COND_after_rounding): Likewise.
24197 (enable_test): Handle XFAIL_TEST flag.
24198 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24199 with finite results.
24200 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24201 auto-libm-test-out.
24202
acd98a8e
AK
242032013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24204 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24205
24206 [BZ #16214]
24207 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24208 __tls_get_addr_internal instead of __tls_get_offset in order to
24209 avoid GOT pointer dependency. Make rtld export
24210 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24211 __tls_get_addr since we are a __tls_get_offset platform.
24212 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24213 GOT pointer being set up before.
24214 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24215
3c1c46a6
JM
242162013-11-28 Joseph Myers <joseph@codesourcery.com>
24217
7475aef5
JM
24218 * manual/math.texi (Errors in Math Functions): Document accuracy
24219 goals.
24220
8bca7cd8
JM
24221 [BZ #15004]
24222 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24223 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24224 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24225 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24226 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24228 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24229 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24230 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24231 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24232 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24233 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24234 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24235 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24236 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24237 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24238
91a1f3fe
JM
24239 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24240 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24241 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24242 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24243 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24244 Likewise.
24245 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24246 Likewise.
24247 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24248 Likewise.
24249 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24250 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24251 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24252 atomic-feupdateenv and flt-rounds.
24253 * sysdeps/powerpc/nofpu/Versions (libc): Add
24254 __atomic_feholdexcept, __atomic_feclearexcept,
24255 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24256 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24257 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24258 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24259 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24260 here.
24261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24262 Update.
24263
c5df7609
JM
24264 * manual/arith.texi (FP Exceptions): Document that exceptions may
24265 not be raised when matherr is used.
24266 (Math Error Reporting): Document overflow in directed rounding
24267 modes. Document that errno may not be set when finite values are
24268 returned on overflow. Document intent to set errno on underflow
24269 only for underflow to zero.
24270
3c1c46a6
JM
24271 [BZ #16271]
24272 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24273 round-to-nearest then adjust result for other rounding modes.
24274 * include/fenv.h (fegetround): Use libm_hidden_proto.
24275 * math/fegetround.c (fegetround): Use libm_hidden_def.
24276 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24277 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24278 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24279 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24280 Likewise.
24281 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24282 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24283 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24284 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24285
5a4c6d53
SP
242862013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24287
24288 [BZ #16077]
24289 * nss/Versions (libnss_files): Add
24290 _nss_files_gethostbyname3_r.
24291 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24292 New function.
24293 (HOST_DB_LOOKUP): Remove macro.
24294 (_nss_files_gethostbyname_r): Implement function without the
24295 HOST_DB_LOOKUP macro.
24296 (_nss_files_gethostbyname2_r): Likewise.
24297
897b98ba
OB
242982013-11-28 Ondřej Bílka <neleai@seznam.cz>
24299
24300 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24301
6f476861
UB
243022013-11-26 Uros Bizjak <ubizjak@gmail.com>
24303
24304 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24305 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24306 warning.
24307
bd12ab55
AZ
243082013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24309
24310 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24311 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24312 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24313 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24314 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24315 __fe_nomask_env_priv and attribute_hidden.
24316 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24317 (libc_feupdateenv_test_ppc): Likewise.
24318 (libc_feresetround_ppc): Likewise.
24319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24320 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24321 compat_symbol macro.
24322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24323 (__fe_nomask_env): Likewise.
24324 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24325
52bb6543
OB
243262013-11-26 Ondřej Bílka <neleai@seznam.cz>
24327
24328 * string/Makefile: Remove ifunc tests.
24329 * string/test-string.h: Define TEST_IFUNC.
24330 * string/test-bcopy-ifunc.c: Remove.
24331 * string/test-bzero-ifunc.c: Likewise.
24332 * string/test-memccpy-ifunc.c: Likewise.
24333 * string/test-memchr-ifunc.c: Likewise.
24334 * string/test-memcmp-ifunc.c: Likewise.
24335 * string/test-memcpy-ifunc.c: Likewise.
24336 * string/test-memmem-ifunc.c: Likewise.
24337 * string/test-memmove-ifunc.c: Likewise.
24338 * string/test-mempcpy-ifunc.c: Likewise.
24339 * string/test-memrchr-ifunc.c: Likewise.
24340 * string/test-memset-ifunc.c: Likewise.
24341 * string/test-rawmemchr-ifunc.c: Likewise.
24342 * string/test-stpcpy-ifunc.c: Likewise.
24343 * string/test-stpncpy-ifunc.c: Likewise.
24344 * string/test-strcasecmp-ifunc.c: Likewise.
24345 * string/test-strcasestr-ifunc.c: Likewise.
24346 * string/test-strcat-ifunc.c: Likewise.
24347 * string/test-strchr-ifunc.c: Likewise.
24348 * string/test-strchrnul-ifunc.c: Likewise.
24349 * string/test-strcmp-ifunc.c: Likewise.
24350 * string/test-strcpy-ifunc.c: Likewise.
24351 * string/test-strcspn-ifunc.c: Likewise.
24352 * string/test-strlen-ifunc.c: Likewise.
24353 * string/test-strncasecmp-ifunc.c: Likewise.
24354 * string/test-strncat-ifunc.c: Likewise.
24355 * string/test-strncmp-ifunc.c: Likewise.
24356 * string/test-strncpy-ifunc.c: Likewise.
24357 * string/test-strnlen-ifunc.c: Likewise.
24358 * string/test-strpbrk-ifunc.c: Likewise.
24359 * string/test-strrchr-ifunc.c: Likewise.
24360 * string/test-strspn-ifunc.c: Likewise.
24361 * string/test-strstr-ifunc.c: Likewise.
24362
ab260039 243632013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
24364
24365 * benchtests/Makefile: Remove ifunc tests.
24366 * benchtests/bench-string.h: Define TEST_IFUNC.
24367 * benchtests/bench-bcopy-ifunc.c: Remove.
24368 * benchtests/bench-bzero-ifunc.c: Likewise.
24369 * benchtests/bench-memccpy-ifunc.c: Likewise.
24370 * benchtests/bench-memchr-ifunc.c: Likewise.
24371 * benchtests/bench-memcmp-ifunc.c: Likewise.
24372 * benchtests/bench-memcpy-ifunc.c: Likewise.
24373 * benchtests/bench-memmem-ifunc.c: Likewise.
24374 * benchtests/bench-memmove-ifunc.c: Likewise.
24375 * benchtests/bench-mempcpy-ifunc.c: Likewise.
24376 * benchtests/bench-memrchr-ifunc.c: Likewise.
24377 * benchtests/bench-memset-ifunc.c: Likewise.
24378 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24379 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24380 * benchtests/bench-stpcpy-ifunc.c: Likewise.
24381 * benchtests/bench-stpncpy-ifunc.c: Likewise.
24382 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24383 * benchtests/bench-strcasestr-ifunc.c: Likewise.
24384 * benchtests/bench-strcat-ifunc.c: Likewise.
24385 * benchtests/bench-strchr-ifunc.c: Likewise.
24386 * benchtests/bench-strchrnul-ifunc.c: Likewise.
24387 * benchtests/bench-strcmp-ifunc.c: Likewise.
24388 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24389 * benchtests/bench-strcpy-ifunc.c: Likewise.
24390 * benchtests/bench-strcspn-ifunc.c: Likewise.
24391 * benchtests/bench-strlen-ifunc.c: Likewise.
24392 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24393 * benchtests/bench-strncat-ifunc.c: Likewise.
24394 * benchtests/bench-strncmp-ifunc.c: Likewise.
24395 * benchtests/bench-strncpy-ifunc.c: Likewise.
24396 * benchtests/bench-strnlen-ifunc.c: Likewise.
24397 * benchtests/bench-strpbrk-ifunc.c: Likewise.
24398 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 24399 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
24400 * benchtests/bench-strspn-ifunc.c: Likewise.
24401 * benchtests/bench-strstr-ifunc.c: Likewise.
24402
244032013-11-26 Ondřej Bílka <neleai@seznam.cz>
24404
ab260039
OB
24405 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24406
d1d9eaf4 244072013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 24408
d1d9eaf4
OB
24409 * resolv/netdb.h: Use __glibc_reserved instead __unused.
24410 * rt/aio.h: Likewise.
24411 * sysdeps/gnu/bits/utmp.h: Likewise.
24412 * sysdeps/gnu/bits/utmpx.h: Likewise.
24413 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24414 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24415 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24416 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24417 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24418 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24419 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24420 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24421 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24422 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24423 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24424 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24425 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24427 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24428 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24429 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24430 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24431 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24432 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
24433 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
24434 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
24435 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
24436 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24437 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
24438 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24439 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
24440 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24441 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
24442 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
24443 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
24444 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
24445 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
24446 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24447 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
24448 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
24449 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
24450 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
24451 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
24452 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
24453 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
24454 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24455
a7624ed9
CD
244562013-11-25 Carlos O'Donell <carlos@redhat.com>
24457
24458 [BZ #16245]
24459 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
24460 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
24461
63cfe52b
JM
244622013-11-25 Joseph Myers <joseph@codesourcery.com>
24463
24464 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
24465 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24466 Likewise.
24467
41e8926a
AZ
244682013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24469
24470 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
24471 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
24472 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
24473 (__fesetround): Remove define.
24474 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
24475 rounding and exceptions handling.
24476 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
24477 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
24478 (__fe_nomask_env): Likewise.
24479 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
24480 __fegetround instead of fegetround.
24481 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24482 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
24483
6851bd4d
RM
244842013-11-21 Roland McGrath <roland@hack.frob.com>
24485
070906ff
RM
24486 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
24487 it's there.
24488
6851bd4d
RM
24489 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
24490
84ae135d
MI
244912013-11-21 Meador Inge <meadori@codesourcery.com>
24492
24493 [BZ #11157]
24494 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
24495 (encrypt_r): Likewise.
24496 * malloc/obstack.h (obstack_free): Likewise.
24497 * posix/unistd.h (encrypt): Likewise.
24498
daf75146
GM
244992013-11-21 Guy Martin <gmsoft@tuxicoman.be>
24500
24501 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
24502 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
24503 DL_CALL_DT_FINI() that call the functions directly.
24504 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
24505 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
24506 * elf/dl-fini.c: Likewise.
24507
10ad46bc
OB
245082013-11-20 Ondřej Bílka <neleai@seznam.cz>
24509
24510 * malloc/hooks.c (memalign_check): Add alignment rounding.
24511 * malloc/malloc.c (_mid_memalign): New function.
24512 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
24513 Implement by calling _mid_memalign.
24514 * manual/probes.texi (Memory Allocation Probes): Remove
24515 memory_valloc_retry and memory_pvalloc_retry.
24516
f3fd2628
SP
245172013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24518
4712799f
SP
24519 * locale/programs/locarchive.c (open_archive): Add const
24520 qualifier to ARCHIVEFNAME and copy default fname to
24521 DEFAULT_FNAME.
24522
0417b20f
SP
24523 [BZ #15601]
24524 * libio/tst-widetext.input: Rename Oriya to Odia.
24525 * locale/iso-639.def: Likewise.
24526
f3fd2628
SP
24527 * manual/probes.texi (Mathematical Function Probes): Add
24528 documentation for sin, cos, asin and acos probes.
24529 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
24530 (__sin32): Add slowasin probe.
24531 (__cos32): Add slowacos probe.
24532 (__mpsin): Add slowsin probe.
24533 (__mpcos): Add slowcos probe.
24534
73c1ce4f
JM
245352013-11-19 Joseph Myers <joseph@codesourcery.com>
24536
24537 [BZ #15483]
24538 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
24539 thread-local __sim_exceptions_thread and global
24540 __sim_exceptions_global.
24541 (__sim_disabled_exceptions): Change to thread-local
24542 __sim_disabled_exceptions_thread and global
24543 __sim_disabled_exceptions_global.
24544 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24545 and global __sim_round_mode_global.
24546 (__simulate_exceptions): Use thread-local floating-point state and
24547 set global state from it as needed.
24548 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
24549 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
24550 __sim_round_mode_thread.
24551 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
24552 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
24553 and global __sim_exceptions_global.
24554 (__sim_disabled_exceptions): Change to thread-local
24555 __sim_disabled_exceptions_thread and global
24556 __sim_disabled_exceptions_global.
24557 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24558 and global __sim_round_mode_global.
24559 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
24560 (SIM_SET_GLOBAL): Likewise.
24561 * sysdeps/powerpc/soft-fp/sfp-machine.h
24562 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
24563 __sim_round_mode_thread.
24564 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
24565 __sim_disabled_exceptions_thread.
24566 (__sim_exceptions): Change to __sim_exceptions_thread.
24567 (__sim_disabled_exceptions): Change to
24568 __sim_disabled_exceptions_thread.
24569 (__sim_round_mode): Change to __sim_round_mode_thread.
24570 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
24571 thread-local floating-point state and set global state from it as
24572 needed.
24573 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
24574 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
24575 (__sim_disabled_exceptions): Remove extern declaration.
24576 (feenableexcept): Use thread-local floating-point state and set
24577 global state from it as needed.
24578 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
24579 extern declaration.
24580 (__sim_disabled_exceptions): Likewise.
24581 (__sim_round_mode): Likewise.
24582 (__fegetenv): Use thread-local floating-point state.
24583 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
24584 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24585 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
24586 floating-point state and set global state from it as needed.
24587 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
24588 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24589 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
24590 Likewise.
24591 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24592 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
24593 Likewise.
24594 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
24595 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
24596 Use __sim_round_mode_thread.
24597 * math/test-fenv-tls.c: New file.
24598 * math/Makefile (tests): Add test-fenv-tls.
24599 ($(objpfx)test-fenv-tls): Depend on
24600 $(common-objpfx)nptl/libpthread.so.
24601
b5449b12
AS
246022013-11-19 Andreas Schwab <schwab@suse.de>
24603
24604 * locale/programs/locale.c (show_info): Decode wordarray elements.
24605 * locale/categories.def (LC_MONETARY): Add element for
24606 _NL_MONETARY_CRNCYSTR.
24607 * locale/C-monetary.c (conversion_rate): New variable.
24608 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
24609 element.
24610
e186536b
CM
246112013-11-18 Chris Metcalf <cmetcalf@tilera.com>
24612
24613 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
24614 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
24615
5c349950
PP
246162013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24617
24618 * elf/Makefile (tst-auxv): New test.
24619 * elf/tst-auxv.c: New
24620 * elf/rtld.c (dl_main): Adjust AT_EXECFN
24621
699df45b
JM
246222013-11-18 Joseph Myers <joseph@codesourcery.com>
24623
24624 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
24625 (hidden_proto): Caller changed.
24626 (hidden_tls_proto): New macro.
24627 (libc_hidden_tls_proto): Likewise.
24628 (rtld_hidden_tls_proto): Likewise.
24629 (libm_hidden_tls_proto): Likewise.
24630 (libresolv_hidden_tls_proto): Likewise.
24631 (librt_hidden_tls_proto): Likewise.
24632 (libdl_hidden_tls_proto): Likewise.
24633 (libnss_files_hidden_tls_proto): Likewise.
24634 (libnsl_hidden_tls_proto): Likewise.
24635 (libnss_nisplus_hidden_tls_proto): Likewise.
24636 (libutil_hidden_tls_proto): Likewise.
24637
b7589107
OB
246382013-11-18 Ondřej Bílka <neleai@seznam.cz>
24639
24640 [BZ #10253]
24641 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
24642 (decompose_rpath): Defer expansion to fillin_rpath.
24643 (_dl_init_paths): Pass linkmap to fillin_rpath.
24644
250c23bd
RS
246452013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24646
24647 * benchtests/Makefile: Add strsep.
24648 * benchtests/bench-strsep.c: New file: strsep benchtest.
24649 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
24650
a7931fcf
AS
246512013-11-18 Andreas Schwab <schwab@suse.de>
24652
24653 * locale/programs/locale.c (show_info) [case byte]: Check for
24654 '\377' instead of '\177'.
24655 * locale/C-monetary.c (not_available): Always use "\377".
24656 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
24657 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
24658 detect unavailable sign_posn locale elements.
24659 * locale/localeconv.c (__localeconv): For grouping and
24660 mon_grouping handle "\177" and "\377" like no grouping.
24661 (INT_ELEM): New macro. Use it to set all numeric members.
24662 * locale/programs/ld-monetary.c (monetary_read)
24663 <tok_mon_grouping>: Normalize single -1 to the empty string.
24664 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
24665 Likewise.
24666
728dab0e
OB
246672013-11-07 Ondřej Bílka <neleai@seznam.cz>
24668
24669 [BZ #16055]
24670 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
24671 when we match (nil).
24672 * stdio-common/tst-sscanf.c (struct test): Add testcase.
24673
66294491
JM
246742013-11-16 Joseph Myers <joseph@codesourcery.com>
24675
ce665817
JM
24676 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
24677 (NO_TEST_INLINE): Update value.
24678 (ERRNO_UNCHANGED): Likewise.
24679 (ERRNO_EDOM): Likewise.
24680 (ERRNO_ERANGE): Likewise.
24681 (IGNORE_RESULT): Likewise.
24682 (check_float_internal): Check signs of NaN results if
24683 TEST_NAN_SIGN used.
24684 (check_complex): Pass TEST_NAN_SIGN flag through to second
24685 check_float_internal call.
24686 (copysign_test_data): Add tests with quiet NaNs as second
24687 argument. Use TEST_NAN_SIGN.
24688 (fabs_test_data): Add test of negative quiet NaN argument. Use
24689 TEST_NAN_SIGN.
24690 (signbit_test_data): Add tests of quiet NaN argument.
24691 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
24692
ee1466a9
JM
24693 * math/gen-libm-test.pl (show_exceptions): Take extra argument
24694 $ignore_result.
24695 (parse_args): Handle function results specified as IGNORE.
24696 * math/libm-test.inc (IGNORE_RESULT): New macro.
24697 (check_float_internal): Do not check numerical result if flag
24698 IGNORE_RESULT set.
24699 (check_complex): Pass through IGNORE_RESULT to second
24700 check_float_internal call.
24701 (check_int): Do not check numerical result if flag IGNORE_RESULT
24702 set.
24703 (check_long): Likewise.
24704 (check_bool): Likewise.
24705 (check_longlong): Likewise.
24706 (lrint_test_data): Add tests of infinite and NaN arguments.
24707 (lrint_tonearest_test_data): Likewise.
24708 (lrint_towardzero_test_data): Likewise.
24709 (lrint_downward_test_data): Likewise.
24710 (lrint_upward_test_data): Likewise.
24711 (llrint_test_data): Likewise.
24712 (llrint_tonearest_test_data): Likewise.
24713 (llrint_towardzero_test_data): Likewise.
24714 (llrint_downward_test_data): Likewise.
24715 (llrint_upward_test_data): Likewise.
24716 (lround_test_data): Likewise.
24717 (llround_test_data): Likewise.
24718
14407b7e
JM
24719 * math/libm-test.inc (NO_TEST_INLINE): New macro.
24720 (ERRNO_UNCHANGED): Update value.
24721 (ERRNO_EDOM): Likewise.
24722 (ERRNO_ERANGE): Likewise.
24723 (NO_TEST_INLINE_FLOAT): New macro.
24724 (NO_TEST_INLINE_DOUBLE): Likewise.
24725 (enable_test): New function.
24726 (RUN_TEST_f_f): Check enable_test before running test.
24727 (RUN_TEST_2_f): Likewise.
24728 (RUN_TEST_fff_f): Likewise.
24729 (RUN_TEST_c_f): Likewise.
24730 (RUN_TEST_f_f1): Likewise.
24731 (RUN_TEST_fF_f1): Likewise.
24732 (RUN_TEST_fI_f1): Likewise.
24733 (RUN_TEST_ffI_f1): Likewise.
24734 (RUN_TEST_c_c): Likewise.
24735 (RUN_TEST_cc_c): Likewise.
24736 (RUN_TEST_f_i): Likewise.
24737 (RUN_TEST_f_i_tg): Likewise.
24738 (RUN_TEST_ff_i_tg): Likewise.
24739 (RUN_TEST_f_b): Likewise.
24740 (RUN_TEST_f_b_tg): Likewise.
24741 (RUN_TEST_f_l): Likewise.
24742 (RUN_TEST_f_L): Likewise.
24743 (RUN_TEST_fFF_11): Likewise.
24744 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
24745 conditionals.
24746 (cosh_test_data): Likewise.
24747 (exp_test_data): Likewise.
24748 (expm1_test_data): Likewise.
24749 (hypot_test_data): Likewise.
24750 (pow_test_data): Likewise.
24751 (sinh_test_data): Likewise.
24752 (tanh_test_data): Likewise.
24753 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
24754 flags argument.
24755
ca07f197
JM
24756 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
24757 tests with quiet NaN input and output.
24758 (acosh_test_data): Likewise.
24759 (asin_test_data): Likewise.
24760 (asinh_test_data): Likewise.
24761 (atan_test_data): Likewise.
24762 (atanh_test_data): Likewise.
24763 (atan2_test_data): Likewise.
24764 (cbrt_test_data): Likewise.
24765 (cos_test_data): Likewise.
24766 (cosh_test_data): Likewise.
24767 (erf_test_data): Likewise.
24768 (erfc_test_data): Likewise.
24769 (exp_test_data): Likewise.
24770 (exp10_test_data): Likewise.
24771 (exp2_test_data): Likewise.
24772 (expm1_test_data): Likewise.
24773 (hypot_test_data): Likewise.
24774 (j0_test_data): Likewise.
24775 (j1_test_data): Likewise.
24776 (jn_test_data): Likewise.
24777 (lgamma_test_data): Likewise.
24778 (log_test_data): Likewise.
24779 (log10_test_data): Likewise.
24780 (log1p_test_data): Likewise.
24781 (log2_test_data): Likewise.
24782 (pow_test_data): Likewise.
24783 (scalb_test_data): Likewise.
24784 (sin_test_data): Likewise.
24785 (sincos_test_data): Likewise.
24786 (sinh_test_data): Likewise.
24787 (tan_test_data): Likewise.
24788 (tanh_test_data): Likewise.
24789 (tgamma_test_data): Likewise.
24790 (y0_test_data): Likewise.
24791 (y1_test_data): Likewise.
24792 (yn_test_data): Likewise.
24793
66294491
JM
24794 [BZ #16167]
24795 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
24796 argument being NaN and avoid computations with second argument in
24797 that case.
24798 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24799 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24800 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24801
1820b143
CL
248022013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
24803
24804 * locale/iso-639.def: Add Chitwani Tharu (the).
24805
714bd261
AS
248062013-11-14 Andreas Schwab <schwab@suse.de>
24807
24808 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
24809 word instead of empty string.
24810
7ab44563
AZ
248112013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24812
24813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24814 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
24815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24816 (__fe_nomask_env): Likewise.
24817
e8470ea2
SE
248182013-11-13 Steve Ellcey <sellcey@mips.com>
24819
24820 * benchtests/bench-timing.h: Include time.h.
24821
17c1d9f0
L
248222013-11-13 H.J. Lu <hongjiu.lu@intel.com>
24823
24824 [BZ #15997]
24825 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
24826 to 3.4.0 for x32.
24827 * sysdeps/unix/sysv/linux/configure: Regenerated.
24828
9310c284
JM
248292013-11-13 Joseph Myers <joseph@codesourcery.com>
24830
24831 [BZ #16151]
24832 * stdlib/strtod_l.c (round_and_return): Do not consider
24833 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
24834 exponent one less than half the least subnormal exponent.
24835 * stdlib/test-strtod-round-data: Add more tests.
24836 * stdlib/tst-strtod-round.c (tests): Regenerated.
24837
7a2ad8cf
AZ
248382013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24839
24840 [BZ #14143]
24841 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
24842 (__fe_mask_env): Likewise.
24843 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
24844 libm_hidden_proto and add function prototype.
24845 (__fe_mask_env): Add function prototype.
24846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24847 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
24848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24849 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
24850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24851 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
24852
50727aa7
MS
248532013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24854
b2f386c1 24855 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
24856 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
24857
a615be46
MS
248582013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24859
24860 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
24861 of htab_find_slot().
24862
7ddace62
DM
248632013-11-11 David S. Miller <davem@davemloft.net>
24864
24865 [BZ #16150]
24866 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
24867 symbol in the non-vis3 case in static builds.
24868 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
24869 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
24870 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
24871 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
24872
9182aa67
JK
248732013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
24874
24875 [BZ #387]
24876 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
24877 it is empty.
24878
450a2e2d
AZ
248792013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24880
b2f386c1
SP
24881 * benchtests/Makefile: Add bench-strtod.
24882 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 24883
8ec3f656
AS
248842013-11-11 Andreas Schwab <schwab@suse.de>
24885
24886 [BZ #16153]
24887 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
24888 terminating NUL in key length.
24889
76a9b998
AZ
248902013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24891
24892 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24893 Add artificial ODP entry for vDSO symbol for PPC64.
24894 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
24895 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24896
e4368156
OB
248972013-11-07 Ondřej Bílka <neleai@seznam.cz>
24898
24899 [BZ #15374]
24900 * nss/getent.c (services_keys): Recognize services starting with digit.
24901
8d6bb57c
DM
249022013-11-06 David S. Miller <davem@davemloft.net>
24903
24904 [BZ #15985]
24905 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
24906 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
24907
e256c421
WN
249082013-11-06 Will Newton <will.newton@linaro.org>
24909
24910 * manual/memory.texi (Malloc Examples): Remove register
24911 keyword from examples.
24912
f6e12daa 249132013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 24914
f6e12daa 24915 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 24916
9d880655
AS
249172013-11-04 Joseph Myers <joseph@codesourcery.com>
24918
fd2f9486 24919 [BZ #6981]
9d880655
AS
24920 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
24921 depending on [__GCC_IEC_559 > 0].
24922 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
24923 depending on [__GCC_IEC_559_COMPLEX > 0].
24924
ae129d3c
CL
249252013-11-03 Chris Leonard <cjl@sugarlabs.org>
24926
24927 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
24928 to iso-639.def.
24929
4a15c2a4 249302013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
24931
24932 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
24933
8b35e35d
OB
249342013-11-01 Ondřej Bílka <neleai@seznam.cz>
24935
24936 [BZ #16112]
24937 * malloc/malloc (malloc_info): Do not handle first bin as
24938 special case.
24939
1d70fd6c
CL
249402013-11-01 Chris Leonard <cjl@sugarlabs.org>
24941
24942 * locale/iso-639.def: Add Central Nahuatl (nhn).
24943
8c5c2600
BH
249442013-11-01 Bruno Haible <bruno@clisp.org>
24945
24946 [BZ #7003]
24947 * manual/math.texi (BSD Random): Specify range upper bound as
24948 in POSIX.
24949
da5579c2
CL
249502013-10-31 Chris Leonard <cjl@sugarlabs.org>
24951
24952 * locale/iso-639.def: Add Meadow Mari (mhr).
24953
5d30d853
OB
249542013-10-31 Ondřej Bílka <neleai@seznam.cz>
24955
24956 [BZ #14752], [BZ #15763]
24957 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
24958 Validate name.
24959 * rt/tst_shm.c: Add test for escaping directory.
24960
a4966c61
AS
249612013-10-31 Andreas Schwab <schwab@suse.de>
24962
8a43e768 24963 [BZ #15917]
a4966c61
AS
24964 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
24965 followed by 'x' as part of digit sequence.
24966 * stdio-common/tst-sscanf.c (double_tests2): New tests.
24967
28d708c4
MAP
249682013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
24969
24970 [BZ #16037]
24971 * configure.ac: allow GNU Make 4.0 and greater.
24972 * configure: Regenerated.
24973
a56ee40b
WN
249742013-10-30 Will Newton <will.newton@linaro.org>
24975
24976 [BZ #16038]
24977 * malloc/hooks.c (memalign_check): Limit alignment to the
24978 maximum representable power of two.
24979 * malloc/malloc.c (__libc_memalign): Likewise.
24980 * malloc/tst-memalign.c (do_test): Add test for very
24981 large alignment values.
24982 * malloc/tst-posix_memalign.c (do_test): Likewise.
24983
c6e4925d
OB
249842013-10-30 Ondřej Bílka <neleai@seznam.cz>
24985
24986 [BZ #11087]
24987 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
24988 (munmap_chunk): Likewise.
24989 (mremap_chunk): Likewise.
24990
249912013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 24992
8a43e768 24993 [BZ #15799]
bbea82f7
OB
24994 * stdlib/div.c (div): Remove obsolete code.
24995 * stdlib/ldiv.c (ldiv): Likewise.
24996 * stdlib/lldiv.c (lldiv): Likewise.
24997
977f4b31
SP
249982013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24999
25000 [BZ #16071]
25001 * nss/nss_files/files-XXX.c (get_contents_ret): New
25002 enumerator.
25003 (get_contents): New function.
25004 (internal_getent): Use it. Expand size of LINEBUFLEN.
25005
cb8a6dbd
MF
250062013-10-30 Mike Frysinger <vapier@gentoo.org>
25007
25008 * configure.in: Moved to ...
25009 * configure.ac: ... here. Change reference to configure.in
25010 to configure.ac.
25011 * sysdeps/arm/preconfigure.ac: ... here.
25012 configure.in to configure.ac.
25013 * sysdeps/gnu/configure.in: Moved to ...
25014 * sysdeps/gnu/configure.ac: ... here.
25015 * sysdeps/i386/configure.in: Moved to ...
25016 * sysdeps/i386/configure.ac: ... here.
25017 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25018 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25019 * sysdeps/mach/configure.in: Moved to ...
25020 * sysdeps/mach/configure.ac: ... here.
25021 * sysdeps/mach/hurd/configure.in: Moved to ...
25022 * sysdeps/mach/hurd/configure.ac: ... here.
25023 * sysdeps/powerpc/configure.in: Moved to ...
25024 * sysdeps/powerpc/configure.ac: ... here.
25025 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25026 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25027 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25028 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25029 * sysdeps/s390/s390-32/configure.in: Moved to ...
25030 * sysdeps/s390/s390-32/configure.ac: ... here.
25031 * sysdeps/s390/s390-64/configure.in: Moved to ...
25032 * sysdeps/s390/s390-64/configure.ac: ... here.
25033 * sysdeps/sh/configure.in: Moved to ...
25034 * sysdeps/sh/configure.ac: ... here.
25035 * sysdeps/sparc/configure.in: Moved to ...
25036 * sysdeps/sparc/configure.ac: ... here.
25037 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
25038 * sysdeps/unix/sysv/linux/configure.ac: ... here.
25039 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
25040 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
25041 * sysdeps/x86_64/configure.in: Moved to ...
25042 * sysdeps/x86_64/configure.ac: ... here.
25043 * sysdeps/x86_64/preconfigure.in: Moved to ...
25044 * sysdeps/x86_64/preconfigure.ac: ... here.
25045 * aclocal.m4: Change reference to configure.in to configure.ac.
25046 * config.h.in: Likewise.
25047 * manual/install.texi: Likewise.
25048 * manual/maint.texi: Likewise.
25049 * Makefile: Likewise.
25050 * malloc/Makefile: Likewise.
25051 * nscd/Makefile: Likewise.
25052 * Makeconfig: Change reference to configure.in and
25053 preconfigure.in to configure.ac and preconfigure.ac
25054 respectively.
25055 * INSTALL: Regenerated.
25056 * configure: Likewise.
25057 * sysdeps/gnu/configure: Likewise.
25058 * sysdeps/i386/configure: Likewise.
25059 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
25060 * sysdeps/mach/configure: Likewise.
25061 * sysdeps/mach/hurd/configure: Likewise.
25062 * sysdeps/powerpc/configure: Likewise.
25063 * sysdeps/powerpc/powerpc32/configure: Likewise.
25064 * sysdeps/powerpc/powerpc64/configure: Likewise.
25065 * sysdeps/s390/s390-32/configure: Likewise.
25066 * sysdeps/s390/s390-64/configure: Likewise.
25067 * sysdeps/sh/configure: Likewise.
25068 * sysdeps/sparc/configure: Likewise.
25069 * sysdeps/unix/sysv/linux/configure: Likewise.
25070 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
25071 * sysdeps/x86_64/configure: Likewise.
25072 * sysdeps/x86_64/preconfigure: Likewise.
25073
36a4953a
AS
250742013-10-29 Andreas Schwab <schwab@suse.de>
25075
25076 * stdio-common/Makefile (tst-swscanf-ENV): Define.
25077
c79a1204
SP
250782013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25079
dfa1b402
SP
25080 * benchtests/pow-inputs: Add new inputs.
25081
54f73d9c
SP
25082 * benchtests/exp-inputs: Add new inputs.
25083
c79a1204
SP
25084 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
25085 conditional check for return value.
25086 (__cos32): Likewise.
25087
67beb545 250882013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
25089
25090 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
25091 to provide a boost for large inputs with word alignment.
25092 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
25093 implementation based on optimized PPC64 strcpy.
25094 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
25095 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
25096 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
25097 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
25098
151659f6
OB
250992013-10-25 Ondřej Bílka <neleai@seznam.cz>
25100
482a077e 25101 [BZ #2801]
151659f6
OB
25102 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
25103
10b0f26b
OB
251042013-10-25 Ondřej Bílka <neleai@seznam.cz>
25105
25106 [BZ #14876]
25107 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
25108 * time/tst-strptime.c (day_tests): Add testcase.
25109
ca42d35e
OB
251102013-10-25 Ondřej Bílka <neleai@seznam.cz>
25111
482a077e 25112 [BZ #14029]
ca42d35e
OB
25113 * manual/pattern.texi: Acknowledge that fnmatch can fail.
25114
52e6d801
FB
251152013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
25116
25117 [BZ #16074]
25118 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
25119 MAP_FAILED on error.
25120
7cbcdb36
SP
251212013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25122
25123 [BZ #16072]
25124 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
25125 heap for large requests.
25126
894f3f10
AM
251272013-10-25 Aurelien Jarno <aurelien@aurel32.net>
25128
25129 [BZ #9954]
25130 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25131 result if the result has no associated interface.
25132 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25133 interface for all 127.X.Y.Z addresses.
25134
b85545a6
CL
251352013-10-24 Chris Leonard <cjl@sugarlabs.org>
25136
25137 * locale/iso-639.def: Add Ligurian (lij)
25138
d1f23d46
OB
251392013-10-21 Ondřej Bílka <neleai@seznam.cz>
25140
25141 [BZ #15825]
25142 * sunrpc/rpc_main.c: Document rpcgen -5.
25143
4db5b08f
MS
251442013-10-19 Michael Stahl <mstahl@redhat.com>
25145
25146 * elf/rtld.c (do_preload): Print the reason why preloading failed.
25147
a471e96a
OB
251482013-10-19 Ondřej Bílka <neleai@seznam.cz>
25149
d1f23d46 25150 [BZ #10278]
a471e96a
OB
25151 * posix/glob.c: Match only directories when trailing slash is present.
25152 * posix/tst-gnuglob.c (my_opendir): Do not open files.
25153 (main): Add testcase.
25154
45c30c61
OB
251552013-10-19 Ondřej Bílka <neleai@seznam.cz>
25156
25157 [BZ #15670]
25158 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
25159
484c12fb
CD
251602013-10-18 Carlos O'Donell <carlos@redhat.com>
25161
3d7dc513
CD
25162 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
25163 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
25164 AUTH_DES and cindex for FIPS 140-2.
25165 (DES Encryption): Add cindex FIPS 46-3.
25166
484c12fb
CD
25167 * locale/locarchive.h (struct locarhandle): Add fname.
25168 * locale/programs/localedef.c (main): Pass ARGV[remaining]
25169 if an optional argument was specified to --list-archive,
25170 otherwise NULL.
25171 * locale/programs/locarchive.c (show_archive_content): Take new
25172 argument fname and pass it via ah.fname to open_archive.
25173 * locale/programs/localedef.h: Update decl.
25174 (open_archive): If AH->fname is non-null, open that file
25175 rather than the default file name, and don't ignore ENOENT.
25176 (create_archive): Set AH.fname to NULL.
25177 (delete_locales_from_archive): Likewise.
25178 (add_locales_to_archive): Likewise.
25179 * locale/programs/locfile.c (write_all_categories): Likewise.
25180
3c8325fb
JM
251812013-10-18 Joseph Myers <joseph@codesourcery.com>
25182 Aldy Hernandez <aldyh@redhat.com>
25183
25184 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
25185 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25186 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25187 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25188 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25189 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25190 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25191 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25192 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25193 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25194 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25195 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25196 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25197 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25198 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25199 Likewise.
25200 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25201 Likewise.
25202 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25203 Likewise.
25204 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25205 Likewise.
25206 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25207 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25208 Likewise.
25209 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25210 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25211 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25212 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25213 Likewise.
25214 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25215 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25216 * sysdeps/powerpc/preconfigure: Likewise.
25217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25218 Likewise.
25219 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25220 Replace contents of file by #include of <fenv_libc.h>.
25221 * sysdeps/powerpc/soft-fp/sfp-machine.h
25222 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25223 and <sys/prctl.h>.
25224 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25225 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25226 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25227 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25228 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25229 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25230 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25231 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25232 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25233 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25234 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25235 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25237 Allow copysignl PLT reference to be missing.
25238
5abe0682
RS
252392013-10-18 Richard Sandiford <richard@codesourcery.com>
25240 Joseph Myers <joseph@codesourcery.com
25241
25242 [BZ #15948]
25243 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25244 single character.
25245 (add_to_tablewc): Assert sequence of wide characters is nonempty.
25246
c7738d08
SP
252472013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25248
25249 * elf/tst-tls-dlinfo.c: Don't include tls.h.
25250 * elf/tst-tls1.c: Likewise.
25251 * elf/tst-tls10.h: Likewise.
25252 * elf/tst-tls14.c: Likewise.
25253 * elf/tst-tls2.c: Likewise.
25254 * elf/tst-tls3.c: Likewise.
25255 * elf/tst-tls4.c: Likewise.
25256 * elf/tst-tls5.c: Likewise.
25257 * elf/tst-tls6.c: Likewise.
25258 * elf/tst-tls7.c: Likewise.
25259 * elf/tst-tls8.c: Likewise.
25260 * elf/tst-tls9.c: Likewise.
25261 * elf/tst-tlsmod1.c: Likewise.
25262 * elf/tst-tlsmod13.c: Likewise.
25263 * elf/tst-tlsmod13a.c: Likewise.
25264 * elf/tst-tlsmod14a.c: Likewise.
25265 * elf/tst-tlsmod16a.c: Likewise.
25266 * elf/tst-tlsmod16b.c: Likewise.
25267 * elf/tst-tlsmod2.c: Likewise.
25268 * elf/tst-tlsmod3.c: Likewise.
25269 * elf/tst-tlsmod4.c: Likewise.
25270 * elf/tst-tlsmod5.c: Likewise.
25271 * elf/tst-tlsmod6.c: Likewise.
25272
0bfcf2c7
OB
252732013-10-18 Ondřej Bílka <neleai@seznam.cz>
25274
25275 [BZ #12486]
25276 * malloc/malloc.c: remove checks for statistics.
25277
264aad1e
OB
252782013-10-17 Ondřej Bílka <neleai@seznam.cz>
25279
25280 [BZ #15277]
25281 * inet/inet_net.c (inet_network): Detect additional invalid strings.
25282 * inet/tst-network.c: Add testcase.
25283
b957ced8
AS
252842013-10-17 Andreas Schwab <schwab@suse.de>
25285
25286 [BZ #15218]
25287 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25288 to determine canonical name.
25289
c5d5d574
OB
252902013-10-17 Ondřej Bílka <neleai@seznam.cz>
25291
25292 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25293 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25294 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25295 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25296 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25297 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25298 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25299 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25300 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25301 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25302 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25303 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25304 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25305 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25306 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25307 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25308 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25309 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25310 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25311 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25312 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25313 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25314 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25315 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25316 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25317 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25318 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25319 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25320 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25321 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25322 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25323 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25324 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25325 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25326 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25327 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25328 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25329 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25330 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25331 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25332 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25333 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25334 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25335 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25336 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25337 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25338 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25339 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25340 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25341 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25342 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25343 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25344 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25345 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25346 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25347 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25348 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25349 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25350
e5c2c2d0
JM
253512013-10-17 Joseph Myers <joseph@codesourcery.com>
25352
25353 [BZ #16041]
25354 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25355 make result into a quiet NaN.
25356
51ca9e29
JM
253572013-10-16 Joseph Myers <joseph@codesourcery.com>
25358
25359 * soft-fp/adddf3.c: Fix horizontal whitespace.
25360 * soft-fp/addsf3.c: Likewise.
25361 * soft-fp/addtf3.c: Likewise.
25362 * soft-fp/divdf3.c: Likewise.
25363 * soft-fp/divsf3.c: Likewise.
25364 * soft-fp/divtf3.c: Likewise.
25365 * soft-fp/double.h: Likewise.
25366 * soft-fp/eqdf2.c: Likewise.
25367 * soft-fp/eqsf2.c: Likewise.
25368 * soft-fp/eqtf2.c: Likewise.
25369 * soft-fp/extenddftf2.c: Likewise.
25370 * soft-fp/extended.h: Likewise.
25371 * soft-fp/extendsfdf2.c: Likewise.
25372 * soft-fp/extendsftf2.c: Likewise.
25373 * soft-fp/extendxftf2.c: Likewise.
25374 * soft-fp/fixdfdi.c: Likewise.
25375 * soft-fp/fixdfsi.c: Likewise.
25376 * soft-fp/fixdfti.c: Likewise.
25377 * soft-fp/fixsfdi.c: Likewise.
25378 * soft-fp/fixsfsi.c: Likewise.
25379 * soft-fp/fixsfti.c: Likewise.
25380 * soft-fp/fixtfdi.c: Likewise.
25381 * soft-fp/fixtfsi.c: Likewise.
25382 * soft-fp/fixtfti.c: Likewise.
25383 * soft-fp/fixunsdfdi.c: Likewise.
25384 * soft-fp/fixunsdfsi.c: Likewise.
25385 * soft-fp/fixunsdfti.c: Likewise.
25386 * soft-fp/fixunssfdi.c: Likewise.
25387 * soft-fp/fixunssfsi.c: Likewise.
25388 * soft-fp/fixunssfti.c: Likewise.
25389 * soft-fp/fixunstfdi.c: Likewise.
25390 * soft-fp/fixunstfsi.c: Likewise.
25391 * soft-fp/fixunstfti.c: Likewise.
25392 * soft-fp/floatdidf.c: Likewise.
25393 * soft-fp/floatdisf.c: Likewise.
25394 * soft-fp/floatditf.c: Likewise.
25395 * soft-fp/floatsidf.c: Likewise.
25396 * soft-fp/floatsisf.c: Likewise.
25397 * soft-fp/floatsitf.c: Likewise.
25398 * soft-fp/floattidf.c: Likewise.
25399 * soft-fp/floattisf.c: Likewise.
25400 * soft-fp/floattitf.c: Likewise.
25401 * soft-fp/floatundidf.c: Likewise.
25402 * soft-fp/floatundisf.c: Likewise.
25403 * soft-fp/floatunditf.c: Likewise.
25404 * soft-fp/floatunsidf.c: Likewise.
25405 * soft-fp/floatunsisf.c: Likewise.
25406 * soft-fp/floatunsitf.c: Likewise.
25407 * soft-fp/floatuntidf.c: Likewise.
25408 * soft-fp/floatuntisf.c: Likewise.
25409 * soft-fp/floatuntitf.c: Likewise.
25410 * soft-fp/fmadf4.c: Likewise.
25411 * soft-fp/fmasf4.c: Likewise.
25412 * soft-fp/fmatf4.c: Likewise.
25413 * soft-fp/gedf2.c: Likewise.
25414 * soft-fp/gesf2.c: Likewise.
25415 * soft-fp/getf2.c: Likewise.
25416 * soft-fp/ledf2.c: Likewise.
25417 * soft-fp/lesf2.c: Likewise.
25418 * soft-fp/letf2.c: Likewise.
25419 * soft-fp/muldf3.c: Likewise.
25420 * soft-fp/mulsf3.c: Likewise.
25421 * soft-fp/multf3.c: Likewise.
25422 * soft-fp/negdf2.c: Likewise.
25423 * soft-fp/negsf2.c: Likewise.
25424 * soft-fp/negtf2.c: Likewise.
25425 * soft-fp/op-1.h: Likewise.
25426 * soft-fp/op-2.h: Likewise.
25427 * soft-fp/op-4.h: Likewise.
25428 * soft-fp/op-8.h: Likewise.
25429 * soft-fp/op-common.h: Likewise.
25430 * soft-fp/quad.h: Likewise.
25431 * soft-fp/single.h: Likewise.
25432 * soft-fp/soft-fp.h: Likewise.
25433 * soft-fp/sqrtdf2.c: Likewise.
25434 * soft-fp/sqrtsf2.c: Likewise.
25435 * soft-fp/sqrttf2.c: Likewise.
25436 * soft-fp/subdf3.c: Likewise.
25437 * soft-fp/subsf3.c: Likewise.
25438 * soft-fp/subtf3.c: Likewise.
25439 * soft-fp/truncdfsf2.c: Likewise.
25440 * soft-fp/trunctfdf2.c: Likewise.
25441 * soft-fp/trunctfsf2.c: Likewise.
25442 * soft-fp/trunctfxf2.c: Likewise.
25443 * soft-fp/unorddf2.c: Likewise.
25444 * soft-fp/unordsf2.c: Likewise.
25445 * soft-fp/unordtf2.c: Likewise.
25446
9ebb0332
JM
254472013-10-15 Joseph Myers <joseph@codesourcery.com>
25448
25449 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
25450 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
25451
4b1a6d8b
OB
254522013-10-15 Ondřej Bílka <neleai@seznam.cz>
25453
25454 * elf/dl-libc.c: Clear initfini list after freeing.
25455
1e145589
JM
254562013-10-14 Joseph Myers <joseph@codesourcery.com>
25457
25458 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
25459 * soft-fp/addsf3.c: Likewise.
25460 * soft-fp/addtf3.c: Likewise.
25461 * soft-fp/divdf3.c: Likewise.
25462 * soft-fp/divsf3.c: Likewise.
25463 * soft-fp/divtf3.c: Likewise.
25464 * soft-fp/double.h: Likewise.
25465 * soft-fp/eqdf2.c: Likewise.
25466 * soft-fp/eqsf2.c: Likewise.
25467 * soft-fp/eqtf2.c: Likewise.
25468 * soft-fp/extenddftf2.c: Likewise.
25469 * soft-fp/extended.h: Likewise.
25470 * soft-fp/extendsfdf2.c: Likewise.
25471 * soft-fp/extendsftf2.c: Likewise.
25472 * soft-fp/extendxftf2.c: Likewise.
25473 * soft-fp/fixdfdi.c: Likewise.
25474 * soft-fp/fixdfsi.c: Likewise.
25475 * soft-fp/fixdfti.c: Likewise.
25476 * soft-fp/fixsfdi.c: Likewise.
25477 * soft-fp/fixsfsi.c: Likewise.
25478 * soft-fp/fixsfti.c: Likewise.
25479 * soft-fp/fixtfdi.c: Likewise.
25480 * soft-fp/fixtfsi.c: Likewise.
25481 * soft-fp/fixtfti.c: Likewise.
25482 * soft-fp/fixunsdfdi.c: Likewise.
25483 * soft-fp/fixunsdfsi.c: Likewise.
25484 * soft-fp/fixunsdfti.c: Likewise.
25485 * soft-fp/fixunssfdi.c: Likewise.
25486 * soft-fp/fixunssfsi.c: Likewise.
25487 * soft-fp/fixunssfti.c: Likewise.
25488 * soft-fp/fixunstfdi.c: Likewise.
25489 * soft-fp/fixunstfsi.c: Likewise.
25490 * soft-fp/fixunstfti.c: Likewise.
25491 * soft-fp/floatdidf.c: Likewise.
25492 * soft-fp/floatdisf.c: Likewise.
25493 * soft-fp/floatditf.c: Likewise.
25494 * soft-fp/floatsidf.c: Likewise.
25495 * soft-fp/floatsisf.c: Likewise.
25496 * soft-fp/floatsitf.c: Likewise.
25497 * soft-fp/floattidf.c: Likewise.
25498 * soft-fp/floattisf.c: Likewise.
25499 * soft-fp/floattitf.c: Likewise.
25500 * soft-fp/floatundidf.c: Likewise.
25501 * soft-fp/floatundisf.c: Likewise.
25502 * soft-fp/floatunsidf.c: Likewise.
25503 * soft-fp/floatunsisf.c: Likewise.
25504 * soft-fp/floatuntidf.c: Likewise.
25505 * soft-fp/floatuntisf.c: Likewise.
25506 * soft-fp/floatuntitf.c: Likewise.
25507 * soft-fp/fmadf4.c: Likewise.
25508 * soft-fp/fmasf4.c: Likewise.
25509 * soft-fp/fmatf4.c: Likewise.
25510 * soft-fp/gedf2.c: Likewise.
25511 * soft-fp/gesf2.c: Likewise.
25512 * soft-fp/getf2.c: Likewise.
25513 * soft-fp/ledf2.c: Likewise.
25514 * soft-fp/lesf2.c: Likewise.
25515 * soft-fp/letf2.c: Likewise.
25516 * soft-fp/muldf3.c: Likewise.
25517 * soft-fp/mulsf3.c: Likewise.
25518 * soft-fp/multf3.c: Likewise.
25519 * soft-fp/negdf2.c: Likewise.
25520 * soft-fp/negsf2.c: Likewise.
25521 * soft-fp/negtf2.c: Likewise.
25522 * soft-fp/op-1.h: Likewise.
25523 * soft-fp/op-2.h: Likewise.
25524 * soft-fp/op-4.h: Likewise.
25525 * soft-fp/op-8.h: Likewise.
25526 * soft-fp/op-common.h: Likewise.
25527 * soft-fp/quad.h: Likewise.
25528 * soft-fp/single.h: Likewise.
25529 * soft-fp/soft-fp.h: Likewise.
25530 * soft-fp/sqrtdf2.c: Likewise.
25531 * soft-fp/sqrtsf2.c: Likewise.
25532 * soft-fp/sqrttf2.c: Likewise.
25533 * soft-fp/subdf3.c: Likewise.
25534 * soft-fp/subsf3.c: Likewise.
25535 * soft-fp/subtf3.c: Likewise.
25536 * soft-fp/truncdfsf2.c: Likewise.
25537 * soft-fp/trunctfdf2.c: Likewise.
25538 * soft-fp/trunctfsf2.c: Likewise.
25539 * soft-fp/trunctfxf2.c: Likewise.
25540 * soft-fp/unorddf2.c: Likewise.
25541 * soft-fp/unordsf2.c: Likewise.
25542 * soft-fp/unordtf2.c: Likewise.
25543
17c48a60
OB
255442013-10-14 Ondřej Bílka <neleai@seznam.cz>
25545
25546 [BZ #15672]
25547 * misc/error.c (error_tail): Fix possible buffer overflow.
25548
cabba934
OB
255492013-10-14 Aurelien Jarno <aurelien@aurel32.net>
25550
25551 [BZ #13028]
25552 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
25553 address.
25554
94bf958a
PM
255552013-10-14 P. J. McDermott <pj@pehjota.net>
25556
25557 [BZ #832]
25558 * elf/ldd.bash.in (try_trace): New function. Delete previous code
25559 testing pipefail option.
25560
71b4dea7
JM
255612013-10-12 Joseph Myers <joseph@codesourcery.com>
25562
25563 * soft-fp/double.h: Indent preprocessor directives inside #if.
25564 * soft-fp/extended.h: Likewise.
25565 * soft-fp/op-2.h: Likewise.
25566 * soft-fp/op-4.h: Likewise.
25567 * soft-fp/op-common.h: Likewise.
25568 * soft-fp/quad.h: Likewise.
25569 * soft-fp/single.h: Likewise.
25570 * soft-fp/soft-fp.h: Likewise.
25571
55602758
YC
255722013-10-12 Yuri Chornoivan <yurchor@ukr.net>
25573
25574 * iconv/iconv_prog.c: Fix typos.
25575 * stdio-common/psiginfo-data.h: Likewise.
25576
9cd83302
RT
255772013-10-12 Reuben Thomas <rrt@sc3d.org>
25578
25579 [BZ #15764]
25580 * locale/setlocale.c: Fix typo.
25581
99fd9f47
JM
255822013-10-12 Joseph Myers <joseph@codesourcery.com>
25583
b7ea74f0
JM
25584 [BZ #16036]
25585 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
25586 signaling NaN arguments.
25587 * soft-fp/unordsf2.c (__unordsf2): Likewise.
25588 * soft-fp/unordtf2.c (__unordtf2): Likewise.
25589
8a509447
JM
25590 [BZ #14910]
25591 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
25592 unordered operands.
25593 * soft-fp/gesf2.c (__gesf2): Likewise.
25594 * soft-fp/getf2.c (__getf2): Likewise.
25595 * soft-fp/ledf2.c (__ledf2): Likewise.
25596 * soft-fp/lesf2.c (__lesf2): Likewise.
25597 * soft-fp/letf2.c (__letf2): Likewise.
25598
98998e9f
JM
25599 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
25600 * soft-fp/eqsf2.c (__eqsf2): Likewise.
25601 * soft-fp/eqtf2.c (__eqtf2): Likewise.
25602 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
25603 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
25604 * soft-fp/fixdfti.c (__fixdfti): Likewise.
25605 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
25606 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
25607 * soft-fp/fixsfti.c (__fixsfti): Likewise.
25608 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
25609 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
25610 * soft-fp/fixtfti.c (__fixtfti): Likewise.
25611 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
25612 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
25613 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
25614 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
25615 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
25616 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
25617 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
25618 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
25619 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
25620 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
25621 * soft-fp/floatdisf.c (__floatdisf): Likewise.
25622 * soft-fp/floatsisf.c (__floatsisf): Likewise.
25623 * soft-fp/floattidf.c (__floattidf): Likewise.
25624 * soft-fp/floattisf.c (__floattisf): Likewise.
25625 * soft-fp/floattitf.c (__floattitf): Likewise.
25626 * soft-fp/floatundidf.c (__floatundidf): Likewise.
25627 * soft-fp/floatundisf.c (__floatundisf): Likewise.
25628 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
25629 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
25630 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
25631 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
25632 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
25633 * soft-fp/gesf2.c (__gesf2): Likewise.
25634 * soft-fp/getf2.c (__getf2): Likewise.
25635 * soft-fp/ledf2.c (__ledf2): Likewise.
25636 * soft-fp/lesf2.c (__lesf2): Likewise.
25637 * soft-fp/letf2.c (__letf2): Likewise.
25638
8edc4a11
JM
25639 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
25640 Undefine and redefine.
25641 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
25642 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
25643 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
25644 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
25645 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25646 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
25647 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25648 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
25649 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25650 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
25651 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25652 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
25653 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25654 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
25655 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25656
8399acaf
JM
25657 [BZ #16032]
25658 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
25659 without decrementing exponent if mantissa >= that for the
25660 denominator, not >.
25661 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
25662 denominator, not >. Decrement exponent in < case instead of
25663 incrementing in >= case.
25664 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
25665 without decrementing exponent if mantissa >= that for the
25666 denominator, not >.
25667
99fd9f47
JM
25668 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
25669 computing saturated result for unsigned overflow.
25670
10e1cf6b
SP
256712013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25672 Jeff Law <law@redhat.com>
25673
25674 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
25675 (atan2Mp): Add systemtap probe marker.
25676 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
25677 (__ieee754_log): Add systemtap probe marker.
25678 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
25679 (atanMp): Add systemtap probe marker.
25680 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
25681 (tanMp): Add systemtap probe marker.
25682 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
25683 (__slowexp): Add systemtap probe marker.
25684 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
25685 (__slowpow): Add systemtap probe marker.
25686 * manual/probes.texi: Document probes.
25687
3d110c7c
EB
256882013-10-11 Eric Biggers <ebiggers3@gmail.com>
25689
25690 [BZ #15362]
25691 * libio/fileops.c (_IO_new_file_write): Return count of bytes
25692 written.
25693 (_IO_new_file_xsputn): Don't return EOF if nothing has been
25694 written.
25695 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
25696 written to buffer but not flushed.
25697 * libio/iofwrite_u.c: Likewise.
25698 * libio/iopadn.c: Return bytes returned even if EOF was
25699 encountered.
25700 * libio/iowpadn.c: Likewise.
25701 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
25702 if _IO_padn does not write the whole buffer.
25703 [!COMPILE_WPRINTF] (PAD): Likewise.
25704
75b4202a
DM
257052013-10-10 David S. Miller <davem@davemloft.net>
25706
25707 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
25708 directory block.
25709
6c6352e6
JM
257102013-10-10 Joseph Myers <joseph@codesourcery.com>
25711
33b853c3
JM
25712 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
25713 instead of FSF address.
25714 * soft-fp/fixdfti.c: Likewise.
25715 * soft-fp/fixsfti.c: Likewise.
25716 * soft-fp/fixtfti.c: Likewise.
25717 * soft-fp/fixunsdfti.c: Likewise.
25718 * soft-fp/fixunssfti.c: Likewise.
25719 * soft-fp/fixunstfti.c: Likewise.
25720 * soft-fp/floattidf.c: Likewise.
25721 * soft-fp/floattisf.c: Likewise.
25722 * soft-fp/floattitf.c: Likewise.
25723 * soft-fp/floatuntidf.c: Likewise.
25724 * soft-fp/floatuntisf.c: Likewise.
25725 * soft-fp/floatuntitf.c: Likewise.
25726 * soft-fp/trunctfxf2.c: Likewise.
25727
6c6352e6
JM
25728 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
25729 * soft-fp/fixdfti.c: Likewise.
25730 * soft-fp/fixsfti.c: Likewise.
25731 * soft-fp/fixtfti.c: Likewise.
25732 * soft-fp/fixunsdfti.c: Likewise.
25733 * soft-fp/fixunssfti.c: Likewise.
25734 * soft-fp/fixunstfti.c: Likewise.
25735 * soft-fp/floattidf.c: Likewise.
25736 * soft-fp/floattisf.c: Likewise.
25737 * soft-fp/floattitf.c: Likewise.
25738 * soft-fp/floatuntidf.c: Likewise.
25739 * soft-fp/floatuntisf.c: Likewise.
25740 * soft-fp/floatuntitf.c: Likewise.
25741 * soft-fp/trunctfxf2.c: Likewise.
25742
3bf78b71
DM
257432013-10-10 David S. Miller <davem@davemloft.net>
25744
25745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25746
6f10289e
JM
257472013-10-10 Joseph Myers <joseph@codsourcery.com>
25748
bd878fc0
JM
25749 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25750 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
25751 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
25752 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
25753 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
25754 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
25755 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
25756
6f10289e
JM
25757 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
25758 for NaNs before doing comparisons on argument.
25759 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25760 Likewise.
25761
321e2684
WN
257622013-10-10 Will Newton <will.newton@linaro.org>
25763
25764 * malloc/hooks.c (memalign_check): Ensure the value of bytes
25765 passed to _int_memalign does not overflow.
25766
40fefba1
TR
257672013-10-10 Torvald Riegel <triegel@redhat.com>
25768
25769 * scripts/bench.pl: Add include-sources directive.
25770 * benchtests/README: Update documentation.
25771
2ae21ed2
JM
257722013-10-10 Joseph Myers <joseph@codesourcery.com>
25773
dcc2dd3f
JM
25774 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
25775 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
25776 instead of FP_INIT_ROUNDMODE.
25777 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
25778 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
25779
2ae21ed2
JM
25780 [BZ #16034]
25781 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
25782 copy class of input value.
25783 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
25784 not handle exceptions.
25785 * soft-fp/negsf2.c (__negsf2): Likewise.
25786 * soft-fp/negtf2.c (__negtf2): Likewise.
25787 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
25788
cb8f9562
JM
257892013-10-09 Joseph Myers <joseph@codesourcery.com>
25790
25791 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
25792 semicolon. From Linux kernel.
25793
5b60c59d
AB
257942013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
25795
25796 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
25797
b86835ca
YC
257982013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
25799
25800 [BZ #156]
25801 * manual/socket.texi: Added statement about buffer
25802 for gethostbyname2_r.
25803
e7044ea7
OB
258042013-10-08 Ondřej Bílka <neleai@seznam.cz>
25805
25806 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
25807 Use .p2align directive instead, throughout.
25808 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25809 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25810 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
25811 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25812 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25813 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25814 * sysdeps/x86_64/strchr.S: Likewise.
25815 * sysdeps/x86_64/strrchr.S: Likewise.
25816
09544cbc
SP
258172013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25818
88576635
SP
25819 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
25820
e7b2d1dd
SP
25821 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
25822
09544cbc
SP
25823 * sysdeps/generic/math_private.h (__mpsin1): Remove
25824 declaration.
25825 (__mpcos1): Likewise.
25826 (__mpsin): New argument __range_reduce.
25827 (__mpcos): Likewise.
25828 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25829 (slow): Use __mpsin and __mpcos.
25830 (slow1): Likewise.
25831 (slow2): Likewise.
25832 (sloww): Likewise.
25833 (sloww1): Likewise.
25834 (sloww2): Likewise.
25835 (bsloww): Likewise.
25836 (bsloww1): Likewise.
25837 (bsloww2): Likewise.
25838 (cslow2): Likewise.
25839 (csloww): Likewise.
25840 (csloww1): Likewise.
25841 (csloww2): Likewise.
25842 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
25843 range_reduce. Merge in __mpsin1.
25844 (__mpcos): Likewise.
25845 (__mpsin1): Remove.
25846 (__mpcos1): Likewise.
25847
7602d070
JM
258482013-10-07 Joseph Myers <joseph@codesourcery.com>
25849
25850 * locale/loadlocale.c (_nl_intern_locale_data): Use
25851 LOCFILE_ALIGNED_P.
25852 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
25853 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
25854 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
25855 obstack data is appropriately aligned.
25856 (obstack_int32_grow_fast): Likewise.
25857 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
25858 * locale/programs/locfile.c (add_locale_uint32): Likewise.
25859 (add_locale_uint32_array): Likewise.
25860
a357259b
SP
258612013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25862
25863 * benchtests/Makefile: Remove ARGLIST and RET variables.
25864 ($(objpfx)bench-%.c): Pass only function name to the script.
25865 * benchtests/README: Update documentation.
25866 * benchtests/acos-inputs: Add new directives.
25867 * benchtests/acosh-inputs: Likewise.
25868 * benchtests/asin-inputs: Likewise.
25869 * benchtests/asinh-inputs: Likewise.
25870 * benchtests/atan-inputs: Likewise.
25871 * benchtests/atanh-inputs: Likewise.
25872 * benchtests/cos-inputs: Likewise.
25873 * benchtests/cosh-inputs: Likewise.
25874 * benchtests/exp-inputs: Likewise.
25875 * benchtests/log-inputs: Likewise.
25876 * benchtests/pow-inputs: Likewise.
25877 * benchtests/rint-inputs: Likewise.
25878 * benchtests/sin-inputs: Likewise.
25879 * benchtests/sinh-inputs: Likewise.
25880 * benchtests/tan-inputs: Likewise.
25881 * benchtests/tanh-inputs: Likewise.
25882 * scripts/bench.pl: Add support for new directives.
25883
9ec1b13d
AM
258842013-10-07 Alan Modra <amodra@gmail.com>
25885
25886 * README: Fix careless merge.
25887
8b7d57cd
AM
258882013-10-05 Alan Modra <amodra@gmail.com>
25889
25890 * NEWS: Mention powerpc64le support and bugs fixed.
25891 * README: Both big-endian and little-endian powerpc64 supported.
25892
7b7bab13
ST
258932013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25894
57f41c40
AS
25895 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
25896 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
25897 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
25898 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
25899
d39baad1
RA
259002013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
25901
25902 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
25903 match prototype.
25904
cd78f7e7
JM
259052013-10-04 Joseph Myers <joseph@codesourcery.com>
25906
29d73d86
JM
25907 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
25908 Move -mhard-float appending from
25909 ports/sysdeps/powerpc/powerpc32/Makefile.
25910 [$(with-fp) = yes] (ASFLAGS): Likewise.
25911 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
25912 * sysdeps/powerpc/nofpu: Move directory from
25913 ports/sysdeps/powerpc/nofpu.
25914 * sysdeps/powerpc/soft-fp: Move directory from
25915 ports/sysdeps/powerpc/soft-fp.
25916 * sysdeps/powerpc/powerpc32/405: Move directory from
25917 ports/sysdeps/powerpc/powerpc32/405.
25918 * sysdeps/powerpc/powerpc32/440: Move directory from
25919 ports/sysdeps/powerpc/powerpc32/440.
25920 * sysdeps/powerpc/powerpc32/464: Move directory from
25921 ports/sysdeps/powerpc/powerpc32/464.
25922 * sysdeps/powerpc/powerpc32/476: Move directory from
25923 ports/sysdeps/powerpc/powerpc32/476.
25924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
25925 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
25926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
25927 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
25928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
25929 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
25930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
25931 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
25932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
25933 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
25934 * README: Update for powerpc-*-linux-gnu software floating point
25935 support in libc.
25936
e246b347
JM
25937 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
25938 case to powerpc/powerpc32*.
25939 * sysdeps/unix/sysv/linux/configure: Regenerated.
25940
89c2003e
JM
25941 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
25942 (_FPU_MASK_OM): Define as 0x04.
25943 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
25944 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
25945 0x00c10080.
25946 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
25947 0x0000003c.
25948 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
25949
cd78f7e7
JM
25950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
25951 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25952 getcontext_e500.
25953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
25954 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25955 setcontext_e500.
25956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
25957 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
25958 and setcontext_e500.
25959
c755294d
CL
259602013-10-04 Chris Leonard <cjl@sugarlabs,.org>
25961
25962 * locale/iso-3166.def: Update iso-1366.def and related occurrences
25963
e16d221c
SP
259642013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25965
25966 * manual/threads.texi (Default Thread Attributes): Fix typo.
25967
215c7d43
WN
259682013-10-04 Will Newton <will.newton@linaro.org>
25969
25970 * malloc/Makefile: Add tst-memalign.
25971 * malloc/tst-memalign.c: New file.
25972
27d0461b
WN
25973 * malloc/tst-posix_memalign.c: Add comments.
25974 (do_test): Add comments and call free on all potentially
25975 allocated pointers. Add space after cast.
25976
1bc92709
WN
25977 * malloc/tst-pvalloc.c: Add comments.
25978 (do_test): Add comments and call free on all potentially
25979 allocated pointers. Remove duplicate check for NULL pointer.
25980 Add space after cast.
25981
66a9be9d
WN
25982 * malloc/tst-valloc.c: Add comments.
25983 (do_test): Add comments and call free on all potentially
25984 allocated pointers. Remove duplicate check for NULL pointer.
25985 Add space after cast.
25986
4cb81307
AM
259872013-10-04 Alan Modra <amodra@gmail.com>
25988
25989 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25990 Use stdint types in rather than __attribute__((mode())).
25991 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25992
f8e3e9f3
AM
259932013-10-04 Alan Modra <amodra@gmail.com>
25994
25995 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25996 Correct handling of unaligned relocs for little-endian.
25997 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25998
8f9ebb08
AM
259992013-10-04 Alan Modra <amodra@gmail.com>
26000
26001 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26002 * configure: Regenerate.
26003 * nptl/shlib-versions: Powerpc*le starts at 2.18.
26004 * shlib-versions: Likewise.
26005
0edf96c2
AM
260062013-10-04 Alan Modra <amodra@gmail.com>
26007
26008 * string/tester.c (test_memrchr): Increment reported test cycle.
26009
e0f7a380
AM
260102013-10-04 Alan Modra <amodra@gmail.com>
26011
26012 * string/test-memcpy.c (do_one_test): When reporting errors, print
26013 string address and don't overrun end of string.
26014
466b0393
AM
260152013-10-04 Alan Modra <amodra@gmail.com>
26016
26017 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26018 insrdi. Make better use of reg selection to speed exit slightly.
26019 Schedule entry path a little better. Remove useless "are we done"
26020 checks on entry to main loop. Handle wrapping around zero address.
26021 Correct main loop count. Handle single left-over word from main
26022 loop inline rather than by using loop_small. Remove extra word
26023 case in loop_small caused by wrong loop count. Add little-endian
26024 support.
26025 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26026 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
26027 cache hint.
26028 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26029 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
26030 support. Avoid rlwimi.
26031 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
26032
3be87c77
AM
260332013-10-04 Alan Modra <amodra@gmail.com>
26034
26035 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 26036 insrdi. Formatting.
3be87c77
AM
26037 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
26038 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26039 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26040 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26041 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26042 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
26043
759cfef3
AM
260442013-10-04 Alan Modra <amodra@gmail.com>
26045
26046 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
26047 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26048 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26049 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
26050 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26051 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26052 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26053 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26054 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
26055 use of regs. Use power7 mtocrf. Tidy function tails.
26056
fe6e95d7
AM
260572013-10-04 Alan Modra <amodra@gmail.com>
26058
26059 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
26060 Formatting. Consistently use rXXX register defines or rN defines.
26061 Use early exit labels that avoid restoring unused non-volatile regs.
26062 Make cr field use more consistent with rWORDn compares. Rename
26063 regs used as shift registers for unaligned loop, using rN defines
26064 for short lifetime/multiple use regs.
26065 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26066 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
26067 addi 1,1,64 to pop stack frame. Simplify return value code.
26068 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26069
664318c3
AM
260702013-10-04 Alan Modra <amodra@gmail.com>
26071
26072 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
26073 support. Correct typos, formatting. Optimize tail. Use insrdi
26074 rather than rlwimi.
26075 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
26076 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
26077 little-endian support. Correct typos.
26078 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
26079 rather than rlwimi.
26080 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
26081 in loop and entry code to keep "and." results.
26082 (strchr): Add little-endian support. Comment. Move cntlzd
26083 earlier in tail.
26084 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
26085
43b84013
AM
260862013-10-04 Alan Modra <amodra@gmail.com>
26087
26088 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
26089 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
26090 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26091 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
26092
8a7413f9
AM
260932013-10-04 Alan Modra <amodra@gmail.com>
26094
26095 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
26096 (rTMP): Define as r11.
26097 (strcmp): Add little-endian support. Optimise tail.
26098 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
26099 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26100 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26101 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26102 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26103 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26104 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26105
33ee81de
AM
261062013-10-04 Alan Modra <amodra@gmail.com>
26107
26108 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
26109 little-endian support. Remove unnecessary "are we done" tests.
26110 Handle "s" wrapping around zero and extremely large "size".
26111 Correct main loop count. Handle single left-over word from main
26112 loop inline rather than by using small_loop. Correct comments.
26113 Delete "zero" tail, use "end_max" instead.
26114 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
26115
db9b4570
AM
261162013-10-04 Alan Modra <amodra@gmail.com>
26117
26118 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
26119 support. Don't branch over align.
26120 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
26121 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
26122 support. Rearrange tmp reg use to suit. Comment.
26123 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
26124
f7c399cf
AM
261252013-10-04 Alan Modra <amodra@gmail.com>
26126
26127 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
26128
0b2c2ace
AM
261292013-10-04 Alan Modra <amodra@gmail.com>
26130
26131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26132 conditional form of branch and link when obtaining pc.
26133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26134
02f04a6c
AM
261352013-10-04 Alan Modra <amodra@gmail.com>
26136
26137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
26138 HIWORD/LOWORD.
26139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
26140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
26141
9b874b2f
AM
261422013-10-04 Alan Modra <amodra@gmail.com>
26143
26144 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
26145 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
26146 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26147 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
26148 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26149 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26150 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
26151 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26152 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26153 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
26154
be1e5d31
AB
261552013-10-04 Anton Blanchard <anton@au1.ibm.com>
26156 Alistair Popple <alistair@ozlabs.au.ibm.com>
26157 Alan Modra <amodra@gmail.com>
26158
26159 [BZ #15723]
26160 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
26161 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
26162 _dl_hwcap access for little-endian.
26163 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
26164 destroy vmx regs when saving unaligned.
26165 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
26166 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
26167 destroy vmx regs when saving unaligned.
26168
fef13a78
AM
261692013-10-04 Alan Modra <amodra@gmail.com>
26170
26171 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
26172 Don't use a union to pack hi/low value.
26173
76a66d51
AB
261742013-10-04 Anton Blanchard <anton@au1.ibm.com>
26175
26176 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
26177 for little-endian.
26178 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26179 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
26180 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26181 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26182 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26183
6a31fe7f
AM
261842013-10-04 Alan Modra <amodra@gmail.com>
26185
26186 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26187 constants to usual value for .cst8 section, and remove redundant
26188 high address load.
26189 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26190 constant for 0x1p52. Load little-endian words of double from
26191 correct stack offsets.
26192
7b88401f
AM
261932013-10-04 Alan Modra <amodra@gmail.com>
26194
26195 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26196 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26197 words of double from correct stack offsets.
26198 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26199 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26200 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26201 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26202 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26203 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26204 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26205 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26206 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26207 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26208 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26209 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26210 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26211 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26212 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26213 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26214 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26215
9c008155
AM
262162013-10-04 Alan Modra <amodra@gmail.com>
26217
26218 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26219 64-bit int/double union.
26220 (_FPU_SETCW): Likewise.
26221 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26222 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26223
da13146d
AM
262242013-10-04 Alan Modra <amodra@gmail.com>
26225
26226 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26227 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26228
603e8410
AM
262292013-10-04 Alan Modra <amodra@gmail.com>
26230
26231 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26232 use vector int constants.
26233 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26234
4a28b3ca
AB
262352013-10-04 Anton Blanchard <anton@au1.ibm.com>
26236
26237 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26238 array with long long.
26239 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26240 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26241 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26242 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26243 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26244 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26245 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26246 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26247 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26248 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26249 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26250 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26251 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26252
2ca85d2b
AB
262532013-10-04 Anton Blanchard <anton@au1.ibm.com>
26254
26255 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26256 (__signbit): Likewise. Correct for little-endian.
26257 (__signbitl): Call __signbit.
26258 (lrint): Correct for little-endian.
26259 (lrintf): Call lrint.
26260
62a728ae
AM
262612013-10-04 Alan Modra <amodra@gmail.com>
26262
26263 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26264 union 32-bit int array member with 64-bit int array.
26265 (t515, tm256): Double rather than long double.
26266 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26267
32c301df
AM
262682013-10-04 Alan Modra <amodra@gmail.com>
26269
26270 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26271 Delete.
26272 (IEEE854_LONG_DOUBLE_BIAS): Delete.
26273 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26274 version of math_ldbl.h.
26275
650ef4bd
AM
262762013-10-04 Alan Modra <amodra@gmail.com>
26277
26278 [BZ #15734], [BZ #15735]
26279 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26280 all uses of ieee875 long double macros and unions. Simplify test
26281 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
26282 ldbl_extract_mantissa value for ix,iy exponents. Properly
26283 normalize after ldbl_extract_mantissa, and don't add hidden bit
26284 already handled. Don't treat low word of ieee854 mantissa like
26285 low word of IBM long double and mask off bit when testing for
26286 zero.
26287 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26288 all uses of ieee875 long double macros and unions. Simplify tests
26289 for 0.0L and inf. Correct double adjustment of k. Delete dead code
26290 adjusting ha,hb. Simplify code setting kld. Delete two600 and
26291 two1022, instead use their values. Recognise that tests for large
26292 "a" and small "b" are mutually exclusive. Rename vars. Comment.
26293 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26294 Rewrite all uses of ieee875 long double macros and unions. Simplify
26295 test for 0.0L and nan. Correct negation.
26296 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26297 ieee875 long double macros and unions. Correct output for large
26298 magnitude x. Correct absolute value calculation.
26299 (__erfcl): Likewise.
26300 * math/libm-test.inc: Add tests for errors discovered in IBM long
26301 double versions of fmodl, remainderl, erfl and erfcl.
26302
765714ca
AM
263032013-10-04 Alan Modra <amodra@gmail.com>
26304
26305 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26306 all uses of ieee854 long double macros and unions. Simplify tests
26307 for long doubles that are fully specified by the high double.
26308 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26309 Likewise.
26310 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26311 Remove dead code too.
26312 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26313 (__ieee754_ynl): Likewise.
26314 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26315 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26316 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26317 Remove dead code too.
26318 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26319 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26320 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26321 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26322 Simplify.
26323 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26324 Simplify.
26325 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26326 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26327 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26328 Comment on variable precision.
26329 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26330 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26331 Likewise.
26332 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26333 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26334 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26335 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26336 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26337
4ebd120c
AM
263382013-10-04 Alan Modra <amodra@gmail.com>
26339
26340 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26341 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26342 all uses of ieee854 long double macros and unions.
26343 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26344 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26345 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26346 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26347 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26348 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26349 Likewise.
26350 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26351 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26352 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26353 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26354 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26355 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26356 Simplify sign and nan test too.
26357 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26358 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26359 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26360 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26361 Likewise.
26362 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26363 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26364 Likewise.
26365 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26366 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26367 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26368 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26369 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26370 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26371
1b6adf88
AM
263722013-10-04 Alan Modra <amodra@gmail.com>
26373
26374 * stdio-common/printf_size.c (__printf_size): Don't use
26375 union ieee854_long_double in fpnum union.
26376 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
26377 signbit macro to retrieve sign from long double.
26378 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26379 retrieve sign from long double.
26380 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26381 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26382 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26383 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26384 * math/test-misc.c (main): Don't use union ieee854_long_double.
26385
4cf69995
AM
263862013-10-04 Alan Modra <amodra@gmail.com>
26387
26388 [BZ #15680]
26389 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26390 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26391 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26392 calculation. Remove unnecessary test for denormal exponent.
26393 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26394 Correct handling of denormals. Avoid undefined shift behaviour.
26395 Correct normalisation of low mantissa when low double is denormal.
26396 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26397 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
26398 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26399 Correct normalisation of low mantissa. Test for overflow of high
26400 mantissa and normalise.
26401 (ldbl_nearbyint): Use more readable constant for two52.
26402 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26403 (__mpn_construct_long_double): Fix test for overflow of high
26404 mantissa and correct normalisation. Avoid undefined shift.
26405
9605ca6c
AM
264062013-10-04 Alan Modra <amodra@gmail.com>
26407
26408 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26409 (union ibm_extended_long_double): Define as an array of ieee754_double.
26410 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26411 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26412 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26413 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26414 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26415 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26416 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26417 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26418 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26419 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26420 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26421
975569d0
JM
264222013-10-03 Joseph Myers <joseph@codesourcery.com>
26423
d3d23756
JM
26424 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26425 page size instead of calling getpagesize.
26426
975569d0
JM
26427 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26428 (LOCFILE_ALIGN_MASK): Likewise.
26429 (LOCFILE_ALIGN_UP): Likewise.
26430 (LOCFILE_ALIGNED_P): Likewise.
26431 * locale/programs/ld-collate.c (collate_output): Use the new
26432 macros instead of __alignof__ (int32_t).
26433 * locale/weight.h (findidx): Likewise.
26434
b1fe1f2b
OB
264352013-10-03 Ondřej Bílka <neleai@seznam.cz>
26436
26437 [BZ #431]
26438 * manual/string.texi: Fix strncat and wcsncat.
26439
5f855e35
BM
264402013-10-03 Brooks Moses <bmoses@google.com>
26441
26442 [BZ #15915]
26443 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
26444 * Makerules: ...here, and adjust associated comments.
26445
3cef6009
WN
264462013-10-02 Will Newton <will.newton@linaro.org>
26447
26448 * malloc/Makefile: Add tst-pvalloc.
26449 * malloc/tst-pvalloc.c: New file.
26450
7815420b
WN
264512013-10-02 Will Newton <will.newton@linaro.org>
26452
26453 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
26454 improve test coverage.
26455
4868b204
WN
264562013-10-02 Will Newton <will.newton@linaro.org>
26457
26458 * malloc/Makefile: Add tst-posix_memalign.
26459 * malloc/tst-posix_memalign.c: New file.
26460
29c793b3
EB
264612013-10-01 Eric Blake <eblake@redhat.com>
26462
26463 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
26464 Use __THROWNL rather than __THROW on static functions.
26465
fd967522
PM
264662013-09-30 Petr Machata <pmachata@redhat.com>
26467
26468 * elf/elf.h (R_AARCH64_ABS16): New macro.
26469 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
26470 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
26471 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
26472 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
26473 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
26474 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
26475 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
26476 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
26477 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
26478 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
26479 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
26480 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
26481 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
26482 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
26483 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
26484 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
26485 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
26486 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
26487 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
26488 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
26489 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
26490 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
26491 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
26492 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
26493 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
26494 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
26495 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
26496 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
26497 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
26498 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
26499 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
26500 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
26501 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
26502 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
26503 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
26504 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
26505 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
26506 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
26507 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
26508 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
26509 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
26510 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
26511 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
26512 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
26513 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
26514 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
26515 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
26516 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
26517 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
26518 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
26519 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
26520 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
26521 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
26522 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
26523 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
26524 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
26525 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
26526 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
26527 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
26528 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
26529 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
26530 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
26531 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
26532 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
26533 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
26534 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
26535 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
26536 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
26537 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
26538 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
26539 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
26540 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
26541 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
26542 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
26543 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
26544 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
26545 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
26546 (R_AARCH64_TLSDESC_LDR): Likewise.
26547 (R_AARCH64_TLSDESC_ADD): Likewise.
26548 (R_AARCH64_TLSDESC_CALL): Likewise.
26549
b2179107
AS
265502013-09-30 Andreas Schwab <schwab@suse.de>
26551
26552 [BZ #15048]
26553 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
26554 the nss database lookup.
26555 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26557
47f28d0a
MF
265582013-09-28 Mike Frysinger <vapier@gentoo.org>
26559
26560 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
26561
265622013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
26563
26564 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
26565 ${Bash-specific parameter/pattern/string} parameter expansion.
26566 * sysdeps/unix/make-syscalls.sh: Likewise.
26567
f4518a17
KK
265682013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26569
26570 * sysdeps/sh/stackguard-macros.h: New file.
26571
dc1a95c7
OB
265722013-09-26 Ondřej Bílka <neleai@seznam.cz>
26573
26574 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26575 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
26576 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
26577 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
26578 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26579 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
26580
5ebbff8f
AZ
265812013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26582
26583 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
26584 Fix thread ID register.
26585
4fd2cf9f
JM
265862013-09-25 Joseph Myers <joseph@codesourcery.com>
26587
26588 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
26589 [POSIX || UNIX98]: Require rather than permitting all symbols from
26590 <time.h>.
26591 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
26592 element of struct sched_param.
26593 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
26594 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
26595 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
26596 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
26597 constant.
26598
12c22bc4
OL
265992013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
26600
26601 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
26602 argument calculation.
26603
a03d8ea7
JM
266042013-09-24 Joseph Myers <joseph@codesourcery.com>
26605
26606 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
26607 Expect macro.
26608 [POSIX] (pthread_attr_t): Do not require type.
26609 [POSIX] (pthread_cond_t): Likewise.
26610 [POSIX] (pthread_condattr_t): Likewise.
26611 [POSIX] (pthread_key_t): Likewise.
26612 [POSIX] (pthread_mutex_t): Likewise.
26613 [POSIX] (pthread_mutexattr_t): Likewise.
26614 [POSIX] (pthread_once_t): Likewise.
26615 [POSIX] (pthread_t): Likewise.
26616 [POSIX-based standards] (pthread_atfork): Expect function.
26617
6055173a
JM
266182013-09-24 Joseph Myers <joseph@codesourcery.com>
26619 Richard Sandiford <richard@codesourcery.com>
26620
26621 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
26622 (swap_endianness_p): New extern variable.
26623 (set_big_endian): New inline function.
26624 (maybe_swap_uint32): Likewise.
26625 (maybe_swap_uint32_array): Likewise.
26626 (maybe_swap_uint32_obstack): Likewise.
26627 * locale/programs/locfile.c: Include <stdbool.h>.
26628 (swap_endianness_p): New variable.
26629 (add_locale_uint32): Call maybe_swap_uint32.
26630 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
26631 (write_locale_data): Call maybe_swap_uint32_array.
26632 * locale/programs/ld-collate.c (obstack_int32_grow): Call
26633 maybe_swap_uint32.
26634 (obstack_int32_grow_fast): Likewise.
26635 (output_weightwc): Call maybe_swap_uint32_obstack.
26636 (collate_output): Likewise.
26637 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
26638 (OPT_LITTLE_ENDIAN): Likewise.
26639 (options): Add --little-endian and --big-endian options.
26640 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
26641 * locale/programs/locarchive.c: Include "locfile.h".
26642 (GET): New macro.
26643 (SET): Likewise.
26644 (INC): Likewise.
26645 (create_archive): Use the new macros to access fields of
26646 structures directly mapped from or written to locale archives.
26647 (oldlocrecentcmp): Likewise.
26648 (enlarge_archive): Likewise.
26649 (insert_name): Likewise.
26650 (add_alias): Likewise.
26651 (add_locale): Likewise.
26652 (delete_locales_from_archive): Likewise.
26653 (show_archive_content): Likewise.
26654 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
26655 locale data.
26656
39bf0bb4
RM
266572013-09-24 Roland McGrath <roland@hack.frob.com>
26658
26659 * manual/freemanuals.texi: Updated from (newly) canonical copy at
26660 http://www.gnu.org/doc/freemanuals.texi.
26661 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
26662
f02eed10
WN
266632013-09-24 Will Newton <will.newton@linaro.org>
26664
26665 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
26666 macro.
26667
a3a6c312
JM
266682013-09-23 Joseph Myers <joseph@codesourcery.com>
26669
26670 * locale/hashval.h (compute_hashval): Interpret bytes of key as
26671 unsigned char.
26672
107375ac
MR
266732013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
26674
26675 * manual/threads.texi (POSIX Threads): Fix a typo.
26676
141f3a77
SP
266772013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26678
303e567a
SP
26679 [BZ #14547]
26680 * string/tst-strcoll-overflow.c: New test case.
26681 * string/Makefile (xtests): Add tst-strcoll-overflow.
26682 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
26683 cache if string sizes may cause integer overflow.
26684
141f3a77
SP
26685 [BZ #14547]
26686 * string/strcoll_l.c (coll_seq): New members rule, idx,
26687 save_idx and back_us.
26688 (get_next_seq_nocache): New function.
26689 (do_compare_nocache): New function.
26690 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
26691 when malloc fails.
26692
c61b4d41
CD
266932013-09-23 Carlos O'Donell <carlos@redhat.com>
26694
0b1f8e35
CD
26695 [BZ #15754]
26696 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
26697 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
26698 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
26699
c61b4d41
CD
26700 [BZ #15754]
26701 * elf/Makefile (tests): Add tst-ptrguard1.
26702 (tests-static): Add tst-ptrguard1-static.
26703 (tst-ptrguard1-ARGS): Define.
26704 (tst-ptrguard1-static-ARGS): Define.
26705 * elf/tst-ptrguard1.c: New file.
26706 * elf/tst-ptrguard1-static.c: New file.
26707 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
26708 * sysdeps/i386/stackguard-macros.h: Likewise.
26709 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26710 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26711 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26712 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26713 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26714 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26715
267162013-09-23 Hector Marco <hecmargi@upv.es>
26717 Ismael Ripoll <iripoll@disca.upv.es>
26718 Carlos O'Donell <carlos@redhat.com>
26719
26720 [BZ #15754]
26721 * sysdeps/generic/stackguard-macros.h: Define
26722 __pointer_chk_guard_local and POINTER_CHK_GUARD.
26723 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
26724 Define __pointer_chk_guard_local.
26725 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
26726 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
26727
f5f4e7b4
VV
267282013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
26729
26730 [BZ #15859]
26731 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
26732
5bb43a43
AS
267332013-09-20 Andreas Schwab <schwab@linux-m68k.org>
26734
26735 * include/string.h (__ffs): Declare as hidden.
26736 * string/ffs.c (__ffs): Define as hidden.
26737 * sysdeps/i386/ffs.c (__ffs): Likewise.
26738 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26739 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
26740 * sysdeps/s390/ffs.c (__ffs): Likewise.
26741 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
26742
3ea5be54
AO
267432013-09-20 Alexandre Oliva <aoliva@redhat.com>
26744
ffb89e53
AO
26745 * NEWS: Mention malloc probes.
26746
322dea08
AO
26747 * malloc/arena.c (new_heap): New memory_heap_new probe.
26748 (grow_heap): New memory_heap_more probe.
26749 (shrink_heap): New memory_heap_less probe.
26750 (heap_trim): New memory_heap_free probe.
26751 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
26752 (systrim): New memory_sbrk_less probe.
26753 * manual/probes.texi: Document them.
26754
655673f3
AO
26755 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
26756 * manual/probes.texi: Document it.
26757
35fed6f1
AO
26758 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
26759 (__libc_realloc): Add memory_realloc_retry probe.
26760 (__libc_memalign): Add memory_memalign_retry probe.
26761 (__libc_valloc): Add memory_valloc_retry probe.
26762 (__libc_pvalloc): Add memory_pvalloc_retry probe.
26763 (__libc_calloc): Add memory_calloc_retry probe.
26764 * manual/probes.texi: Document them.
26765
6999d38c
AO
26766 * malloc/arena.c (get_free_list): Add probe
26767 memory_arena_reuse_free_list.
26768 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
26769 and memory_arena_reuse.
26770 (arena_get2) [!PER_THREAD]: Likewise.
26771 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
26772 memory_arena_reuse_realloc.
26773 * manual/probes.texi: Document them.
26774
0653427f
AO
26775 * malloc/malloc.c (__libc_free): Add
26776 memory_mallopt_free_dyn_thresholds probe.
26777 (__libc_mallopt): Add multiple memory_mallopt probes.
26778 * manual/probes.texi: Document them.
26779
3ea5be54
AO
26780 * malloc/malloc.c: Include stap-probe.h.
26781 (__libc_mallopt): Add memory_mallopt probe.
26782 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
26783 * manual/probes.texi: New.
26784 * manual/Makefile (chapters): Add probes.
26785 * manual/threads.texi: Set next node.
26786
e35696c3 267872013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 26788
e35696c3
CL
26789 [BZ #15963, #13985]
26790 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
26791 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
26792 Add `Chinese' to `nan' entry name.
26793
4aafb73c
SP
267942013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26795
26796 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
26797 (POLYNOMIAL): Likewise.
26798 (TAYLOR_SINCOS): Likewise.
26799 (TAYLOR_SLOW): Likewise.
26800 (__sin): Use TAYLOR_SINCOS.
26801 (__cos): Likewise.
26802 (slow): Use TAYLOR_SLOW.
26803 (sloww): Likewise.
26804 (bsloww): Likewise.
26805 (csloww): Likewise.
26806
d84f25c7
LD
268072013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26808
26809 * stdlib/strtod_l.c: Fix buffer overrun.
26810
5eea0404
SP
268112013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26812
7849ff93
SP
26813 * benchtests/Makefile (bench): Add sincos.
26814 * benchtests/bench-sincos.c: New file.
26815
cfa3c886
SP
26816 * math/libm-test.inc (cos_test_data): New test inputs.
26817 (sin_test_data): Likewise.
26818
b348e1e3
SP
26819 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
26820 macro.
26821 (__sin): Use it.
26822 (__cos): Likewise.
26823 (slow1): Likewise.
26824 (slow2): Likewise.
26825 (sloww1): Likewise.
26826 (sloww2): Likewise.
26827 (bsloww1): Likewise.
26828 (bsloww2): Likewise.
26829 (cslow2): Likewise.
26830 (csloww1): Likewise.
26831 (csloww2): Likewise.
26832
6cce25f8
SP
26833 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
26834 function.
26835 (__sin): Use it.
26836 (__cos): Likewise.
26837
5eea0404
SP
26838 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
26839 gotos.
26840 (__cos): Likewise.
26841
9c21573c
MR
268422013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
26843
26844 * config.h.in (HAVE_MIPS_NAN2008): New macro.
26845 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
26846 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
26847 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
26848 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
26849 * elf/cache.c (print_entry): Handle the new cache flags.
26850
24d22e65
JM
268512013-09-18 Joseph Myers <joseph@codesourcery.com>
26852 Aldy Hernandez <aldyh@redhat.com>
26853
26854 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
26855 Change condition to [_SOFT_FLOAT].
26856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
26857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
26858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
26859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
26860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
26861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
26862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
26863 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
26864 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
26865 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
26866 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
26867 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
26868 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
26869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
26870 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
26871 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
26872 declaration.
26873
d13ef066
JM
268742013-09-18 Joseph Myers <joseph@codesourcery.com>
26875
2e071de0
JM
26876 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
26877 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26878 (__longjmp): Use LOAD_GP to load saved GPRs.
26879 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
26880 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26881 (__sigsetjmp): Use SAVE_GP to save GPRs.
26882
d13ef066
JM
26883 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
26884 Do not append -msoft-float.
26885 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
26886
97a0650b
SP
268872013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26888
26889 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
26890
11ca09e9
JM
268912013-09-17 Joseph Myers <joseph@codesourcery.com>
26892
26893 [BZ #15966]
26894 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
26895 (_FPU_GETCW): Use initial "__" on variable and field names but not
26896 on macro parameter name.
26897 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
26898 parentheses around reference to macro parameter.
26899
08ffcf34
RS
269002013-09-13 Richard Sandiford <richard@codesourcery.com>
26901
26902 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
26903 prototype.
26904 (ctype_startup): Use uint32_t in cast and sizeof for
26905 ctype->charnames.
26906
ae7080d3
JL
269072013-09-11 Jia Liu <proljc@gmail.com>
26908
26909 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
26910 __daddr_t_defined.
26911 [__FreeBSD__]: Likewise.
26912
5905e7b3
OB
269132013-09-11 Ondřej Bílka <neleai@seznam.cz>
26914
26915 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26916 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
26917 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
26918 (strchr): Remove __strchr_sse42 ifunc selection.
26919 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
26920 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
26921
b987c776
WN
269222013-09-11 Will Newton <will.newton@linaro.org>
26923
26924 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
26925 parameter to RES. Remove hardcoded 1000 value.
26926 * benchtests/bench-skeleton.c (main): Pass RES parameter
26927 to TIMING_INIT and multiply result by 1000.
26928
ddf985af
AZ
269292013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26930
26931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26932
ffdd3181
AS
269332013-09-11 Andreas Schwab <schwab@suse.de>
26934
26935 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26936 if not defined.
26937 (O_TMPFILE) [__USE_GNU]: Define.
26938 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
26939 Define.
26940
b73ed247
WN
269412013-09-11 Will Newton <will.newton@linaro.org>
26942
26943 [BZ #15857]
26944 * malloc/malloc.c (__libc_memalign): Check the value of bytes
26945 does not overflow.
26946
55e17aad
WN
269472013-09-11 Will Newton <will.newton@linaro.org>
26948
26949 [BZ #15856]
26950 * malloc/malloc.c (__libc_valloc): Check the value of bytes
26951 does not overflow.
26952
1159a193
WN
269532013-09-11 Will Newton <will.newton@linaro.org>
26954
26955 [BZ #15855]
26956 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
26957 does not overflow.
26958
5905e7b3 269592013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
26960
26961 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
26962 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26963 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26964 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26965 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26966
cdfc721b
AM
269672013-09-10 Allan McRae <allan@archlinux.org>
26968
aa04af00
AM
26969 [BZ #15748]
26970 * manual/arith.texi (Parsing of Floats): Clarify
26971 cross-reference.
26972
cdfc721b
AM
26973 [BZ #15849]
26974 * manual/install.texi (Running make install): Mention
26975 --enable-pt-chown.
26976 * INSTALL: Regenerated.
26977
95e7cf29
MR
269782013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
26979
26980 * csu/init-first.c (_init): Remove the !SHARED condition around
26981 FPU control word initialization.
26982 * elf/dl-support.c (_dl_fpu_control): New variable.
26983 (_dl_aux_init) <AT_FPUCW>: Initialize it.
26984 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
26985 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
26986 * math/test-fpucw-static.c: New file.
26987 * math/test-fpucw-ieee.c: New file.
26988 * math/test-fpucw-ieee-static.c: New file.
26989 * math/Makefile (tests): Add `test-fpucw-ieee' and
26990 `$(tests-static)'.
26991 (tests-static): New variable.
26992 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
26993 dependency to...
26994 [($(build-shared),yes)]
26995 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26996 ... this.
26997 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
26998 New dependency.
26999
83e43bf0
AM
270002013-09-09 Allan McRae <allan@archlinux.org>
27001
a9f5ce09
AM
27002 [BZ #15939]
27003 * manual/string.texi (Collation Functions): Fix typo in
27004 strcoll example.
27005 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27006
34829bc2
AM
27007 [BZ #15893]
27008 * stdlib/isomac.c (get_null_defines): Fix memory leak.
27009
3932737d
AM
27010 [BZ #15892]
27011 * libio/memstream.c (open_memstream): Fix memory leak.
27012 * libio/wmemstream.c (open_wmemstream): Likewise.
27013
83e43bf0
AM
27014 [BZ #15895]
27015 * nscd/netgroupcache.c: Fix nesting of ifdefs.
27016
0c66b8e9
WN
270172013-09-09 Will Newton <will.newton@linaro.org>
27018
27019 * malloc/Makefile: Add tst-realloc to tests.
27020 * malloc/tst-realloc.c: New file.
27021
f6b00fd1
AM
270222013-09-09 Allan McRae <allan@archlinux.org>
27023
27024 [BZ #15844]
27025 * COPYING: Update from GNU website to fix FSF address.
27026 * COPYING.LIB: Likewise.
27027
eec55e16
DM
270282013-09-06 David S. Miller <davem@davemloft.net>
27029
27030 * po/zh_TW.po: Update Chinese (traditional) translation from
27031 translation project.
27032
1ecbb381
RS
270332013-09-06 Richard Sandiford <richard@codesourcery.com>
27034 Joseph Myers <joseph@codesourcery.com>
27035
27036 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
27037 "localeinfo.h".
27038 (obstack_chunk_alloc): New macro.
27039 (obstack_chunk_free): Likewise.
27040 (record_offset): New function.
27041 (init_locale_data): Likewise.
27042 (align_locale_data): Likewise.
27043 (add_locale_empty): Likewise.
27044 (add_locale_raw_data): Likewise.
27045 (add_locale_raw_obstack): Likewise.
27046 (add_locale_string): Likewise.
27047 (add_locale_wstring): Likewise.
27048 (add_locale_uint32): Likewise.
27049 (add_locale_uint32_array): Likewise.
27050 (add_locale_char): Likewise.
27051 (start_locale_structure): Likewise.
27052 (end_locale_structure): Likewise.
27053 (start_locale_prelude): Likewise.
27054 (end_locale_prelude): Likewise.
27055 (write_locale_data): Take locale_file structure rather than an
27056 iovec.
27057 * locale/programs/locfile.h: Include "obstack.h".
27058 (struct locale_file): Change to store locale file contents instead
27059 of header.
27060 (init_locale_data): New prototype.
27061 (align_locale_data): Likewise.
27062 (add_locale_empty): Likewise.
27063 (add_locale_raw_data): Likewise.
27064 (add_locale_raw_obstack): Likewise.
27065 (add_locale_string): Likewise.
27066 (add_locale_wstring): Likewise.
27067 (add_locale_uint32): Likewise.
27068 (add_locale_uint32_array): Likewise.
27069 (add_locale_char): Likewise.
27070 (start_locale_structure): Likewise.
27071 (end_locale_structure): Likewise.
27072 (start_locale_prelude): Likewise.
27073 (end_locale_prelude): Likewise.
27074 (write_locale_data): Update prototype.
27075 * locale/programs/3level.h (struct TABLE): Remove result field.
27076 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
27077 Use new locale_file interface.
27078 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
27079 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
27080 * locale/programs/ld-address.c (address_output): Use new
27081 locale_file interface.
27082 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
27083 NO_ADD_LOCALE.
27084 (collate_finish): Don't call collseq_table_finalize.
27085 (collate_output): Use new locale_file interface.
27086 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
27087 in file.
27088 (NO_FINALIZE): Change to NO_ADD_LOCALE.
27089 (TABLE): Move defines earlier in file.
27090 (ELEMENT): Likewise.
27091 (DEFAULT): Likewise.
27092 (wctrans_table_add): Move macro and inline function earlier in
27093 file.
27094 (struct wctype_table): Move type earlier in file.
27095 (add_locale_wctype_table): New static prototype.
27096 (struct locale_ctype_t): Use logical types instead of struct iovec
27097 pointers for members.
27098 (ctype_output): Use new locale_file interface.
27099 (wctype_table_finalize): Change to add_locale_wctype_table. Use
27100 new locale_file interface.
27101 (allocate_arrays): Update for use of new locale_file interface.
27102 * locale/programs/ld-identification.c (identification_output): Use
27103 new locale_file interface.
27104 * locale/programs/ld-measurement.c (measurement_output): Likewise.
27105 * locale/programs/ld-messages.c (messages_output): Likewise.
27106 * locale/programs/ld-monetary.c (monetary_output): Likewise.
27107 * locale/programs/ld-name.c (name_output): Likewise.
27108 * locale/programs/ld-numeric.c (numeric_output): Likewise.
27109 * locale/programs/ld-paper.c (paper_output): Likewise.
27110 * locale/programs/ld-telephone.c (telephone_output): Likewise.
27111 * locale/programs/ld-time.c (time_output): Likewise.
27112
e029e2e5
AZ
271132013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27114
27115 * benchtests/Makefile: Add memrchr benchmark.
27116 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
27117 benchmark as memrchr.
27118 * benchtests/bench-memrchr-ifunc.c: New file.
27119 * benchtests/bench-memrchr.c: New file.
27120
bbf6e8e4
WN
271212013-09-06 Will Newton <will.newton@linaro.org>
27122
27123 * benchtests/Makefile (string-bench): Add memcpy.
27124
6c82a2f8
CD
271252013-09-05 Carlos O'Donell <carlos@redhat.com>
27126 Cong Wang <amwang@redhat.com>
27127
e732c5f0 27128 [BZ #15850]
6c82a2f8
CD
27129 * sysdeps/unix/sysv/linux/bits/in.h
27130 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27131 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27132 before __USE_KERNEL_IPV6_DEFS uses.
27133 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27134 IPPROTO_BEETPH.
27135 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27136 sockaddr_in6, or ipv6_mreq.
27137
5430fc65
AZ
271382013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27139
27140 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
27141 memory access for final bytes in some large inputs.
27142 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
27143
4660856c
AZ
271442013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27145
27146 * string/test-memrchr.c: New file.
27147 * string/test-memrchr-ifunc.c: New file.
27148 * string/Makefile: Add new memrchr testcase.
27149
bb8ea713
MF
271502013-09-05 Mike Frysinger <vapier@gentoo.org>
27151
27152 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
27153 fanotify_init returns EPERM.
27154
b92a20b5
JM
271552013-09-04 Joseph Myers <joseph@codesourcery.com>
27156
27157 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
27158 errors.
27159 (top level): Treat second token from macro or constant entries for
27160 allowed headers as allowed.
27161 * include/complex.h: Condition internal declarations on
27162 [!_ISOMAC].
27163 * include/fenv.h: Condition include of <stdbool.h> and internal
27164 declarations on [!_ISOMAC].
7447ccd9
CL
27165
271662013-09-04 Chris Leonard <cjl@sugarlabs,.org>
27167
3e181dda 27168 [BZ #15923]
7447ccd9
CL
27169 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
27170
3f2e46a4
JM
271712013-09-04 Joseph Myers <joseph@codesourcery.com>
27172
27173 * configure.in (--enable-versioning): Remove configure option.
27174 (libc_cv_asm_symver_directive): Remove configure test.
27175 (libc_cv_ld_version_script_option): Likewise.
27176 (VERSIONING): Remove variable and AC_SUBST.
27177 (DO_VERSIONING): Remove AC_DEFINE.
27178 * configure: Regenerated.
27179 * config.h.in (DO_VERSIONING): Remove macro.
27180 * Makerules [$(versioning) = yes]: Change conditionals to
27181 [$(build-shared) = yes].
27182 * config.make.in (versioning): Remove variable.
27183 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
27184 [$(build-shared) = yes].
27185 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27186 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27187 * elf/Makefile [$(versioning) = yes]: Change conditionals to
27188 [$(build-shared) = yes].
27189 * extra-lib.mk [$(versioning) = yes]: Likewise.
27190 * hurd/Makefile [$(versioning) = yes]: Likewise.
27191 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27192 [SHARED].
27193 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27194 [SHARED].
27195 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27196 [SHARED && !NO_HIDDEN].
27197 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27198 [SHARED].
27199 [SHARED && DO_VERSIONING]: Likewise..
27200 * libio/Makefile [$(versioning) = yes]: Change conditionals to
27201 [$(build-shared) = yes].
27202 * manual/install.texi (--disable-versioning): Remove
27203 documentation.
27204 * INSTALL: Regenerated.
27205 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27206 to [SHARED].
27207 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27208 [$(build-shared) = yes].
27209 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27210 * sysdeps/i386/i686/multiarch/strstr-c.c
27211 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27212 [SHARED && !NO_HIDDEN].
27213 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27214 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27215 * sysdeps/powerpc/powerpc32/dl-machine.c
27216 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27217 * sysdeps/powerpc/powerpc32/sysdep.h
27218 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27219 to [SHARED && PIC && !NO_HIDDEN].
27220 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27221 conditional to [SHARED].
27222
44558701
WN
272232013-09-04 Will Newton <will.newton@linaro.org>
27224
27225 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27226 * benchtests/bench-string.h: Include bench-timing.h instead
27227 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27228 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27229 call to HP_TIMING_DIFF_INIT.
27230 * benchtests/bench-memccpy.c: Use bench-timing.h macros
27231 instead of hp-timing.h macros.
27232 * benchtests/bench-memchr.c: Likewise.
27233 * benchtests/bench-memcmp.c: Likewise.
27234 * benchtests/bench-memcpy.c: Likewise.
27235 * benchtests/bench-memmem.c: Likewise.
27236 * benchtests/bench-memmove.c: Likewise.
27237 * benchtests/bench-memset.c: Likewise.
27238 * benchtests/bench-rawmemchr.c: Likewise.
27239 * benchtests/bench-strcasecmp.c: Likewise.
27240 * benchtests/bench-strcasestr.c: Likewise.
27241 * benchtests/bench-strcat.c: Likewise.
27242 * benchtests/bench-strchr.c: Likewise.
27243 * benchtests/bench-strcmp.c: Likewise.
27244 * benchtests/bench-strcpy.c: Likewise.
27245 * benchtests/bench-strcpy_chk.c: Likewise.
27246 * benchtests/bench-strlen.c: Likewise.
27247 * benchtests/bench-strncasecmp.c: Likewise.
27248 * benchtests/bench-strncat.c: Likewise.
27249 * benchtests/bench-strncmp.c: Likewise.
27250 * benchtests/bench-strncpy.c: Likewise.
27251 * benchtests/bench-strnlen.c: Likewise.
27252 * benchtests/bench-strpbrk.c: Likewise.
27253 * benchtests/bench-strrchr.c: Likewise.
27254 * benchtests/bench-strspn.c: Likewise.
27255 * benchtests/bench-strstr.c: Likewise.
27256
cae16d66
WN
272572013-09-04 Will Newton <will.newton@linaro.org>
27258
27259 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27260
ffa3cd7f
JM
272612013-09-03 Joseph Myers <joseph@codesourcery.com>
27262
27263 [BZ #15427]
27264 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27265 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27266 * math/libm-test.inc (lgamma_test_data): Add more tests.
27267 * sysdeps/i386/fpu/libm-test-ulps: Update.
27268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27269
8f02859f
OB
272702013-09-03 Ondřej Bílka <neleai@seznam.cz>
27271
27272 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27273 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27274 Add ifunc.
27275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27276 Add strcmp-sse2-unaligned
27277 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27278
18d43716
MF
272792013-09-02 Mike Frysinger <vapier@gentoo.org>
27280
27281 * Versions.def (libc): Add GLIBC_2.19.
27282
ac444012
MF
272832013-09-02 Mike Frysinger <vapier@gentoo.org>
27284
27285 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27286 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27287
b7835e32
JM
272882013-09-02 Joseph Myers <joseph@codesourcery.com>
27289
27290 [BZ #14155]
27291 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27292 intermediate calculations in recurrence.
27293 (__ieee754_ynf): Likewise.
27294 * math/libm-test.inc (jn_test_data): Do not allow spurious
27295 underflow exception. Add more tests.
27296 (yn_test_data): Add more tests.
27297 * sysdeps/i386/fpu/libm-test-ulps: Update.
27298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27299
8220f4f0
OB
273002013-09-02 Ondřej Bílka <neleai@seznam.cz>
27301
27302 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27303
f24a6d08
OB
273042013-08-30 Ondřej Bílka <neleai@seznam.cz>
27305
27306 * csu/init-first.c: Fix then/than typos.
27307 * locale/programs/ld-collate.c: Likewise.
27308 * locale/programs/linereader.h: Likewise.
27309 * manual/charset.texi: Likewise.
27310 * manual/filesys.texi: Likewise.
27311 * manual/stdio.texi: Likewise.
27312 * manual/string.texi: Likewise.
27313 * stdlib/fmtmsg.c: Likewise.
27314 * sysdeps/i386/stpncpy.S: Likewise.
27315 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27316 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27317 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27318 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27319
382466e0
OB
273202013-08-30 Ondřej Bílka <neleai@seznam.cz>
27321
27322 * elf/dl-open.c: Fix typos.
27323 * iconvdata/gbbig5.c: Likewise.
27324 * iconvdata/iso-2022-jp.c: Likewise.
27325 * iconv/gconv_int.h: Likewise.
27326 * iconv/loop.c: Likewise.
27327 * nis/rpcsvc/nis.h: Likewise.
27328 * resolv/ns_name.c: Likewise.
27329 * stdio-common/vfscanf.c: Likewise.
27330 * streams/stropts.h: Likewise.
27331 * sunrpc/rpc_thread.c: Likewise.
27332 * sysdeps/i386/strpbrk.S: Likewise.
27333 * sysdeps/ieee754/k_standard.c: Likewise.
27334 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27335 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27336 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27337 * sysdeps/mach/hurd/profil.c: Likewise.
27338 * sysdeps/s390/dl-procinfo.h: Likewise.
27339 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27340 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27341 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27342 * sysdeps/x86_64/dl-trampoline.S: Likewise.
27343 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27344
0186c6e9
OB
273452013-08-30 Ondřej Bílka <neleai@seznam.cz>
27346
27347 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27348 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27349
d4e16af1
OB
273502013-08-29 Ondřej Bílka <neleai@seznam.cz>
27351
27352 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27353 aix specific files.
27354 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27355 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27356 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27357 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27358 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27359 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27360 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27361 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27362
88335980
TS
273632013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27364 Roland McGrath <roland@hack.frob.com>
27365
27366 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27367 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27368
ed479b02
ST
273692013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
27370
27371 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27372 __executable_start symbol instead of _start.
27373
f1cc4c86
TS
273742013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27375
d821f07c
TS
27376 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27377 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27378 Move macros to...
27379 * sysdeps/gnu/ldsodefs.h: ... this new file.
27380
c54290cf
TS
27381 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27382 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27383 instead of ELFOSABI_LINUX.
27384
0007fc9b 27385 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
27386 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27387 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27388 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27389 Likewise.
27390 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27391 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27392 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27393 Likewise.
27394 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27395 (ibm_extended_long_double): Add ieee_nan member.
27396 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27397 (do_test): New function.
27398
f1cc4c86
TS
27399 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27400 TEST_TRUNC.
27401 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27402 functions, renamed from truncdfsf_test, trunctfsf_test,
27403 trunctfdf_test.
27404 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27405 functions.
27406 (do_test): Run all these.
27407
6f65e668
OB
274082013-08-29 Ondřej Bílka <neleai@seznam.cz>
27409
27410 * argp/argp-help.c: Fix typos.
27411 * argp/argp-parse.c: Likewise.
27412 * debug/backtracesyms.c: Likewise.
27413 * elf/elf.h: Likewise.
27414 * malloc/malloc.c: Likewise.
27415 * nis/nis_print.c: Likewise.
27416 * resolv/res_comp.c: Likewise.
27417 * stdlib/stdlib.h: Likewise.
27418 * sunrpc/clnt_tcp.c: Likewise.
27419 * sunrpc/clnt_udp.c: Likewise.
27420 * sunrpc/clnt_unix.c: Likewise.
27421 * sysdeps/unix/bsd/ptsname.c: Likewise.
27422 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27423 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
27424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27425 Likewise.
27426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27427 Likewise.
27428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27429 Likewise.
6f65e668
OB
27430 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27431
3a309239
SP
274322013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27433
27434 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
27435 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27436
3b813b29
MF
274372013-08-27 Mike Frysinger <vapier@gentoo.org>
27438
27439 [BZ #15897]
27440 * dlfcn/Makefile (tests): Add bug-dl-leaf.
27441 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
27442 ($(objpfx)bug-dl-leaf): New rule.
27443 ($(objpfx)bug-dl-leaf.so): Likewise.
27444 ($(objpfx)bug-dl-leaf.out): Likewise.
27445 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
27446 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
27447 * dlfcn/bug-dl-leaf.c: New test.
27448 * dlfcn/bug-dl-leaf-lib.c: Likewise.
27449 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
27450 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
27451 (dlclose): Likewise.
27452 (dlmopen): Likewise.
27453
8cc3269f
RM
274542013-08-27 Roland McGrath <roland@hack.frob.com>
27455
7f9d0034
RM
27456 * include/netdb.h [!_ISOMAC]:
27457 Don't include <tls.h>.
27458 (h_errno, __libc_h_errno): Move declaration and macros out of
27459 [_LIBC_REENTRANT].
27460
fb431262
RM
27461 * include/resolv.h [_RESOLV_H_]:
27462 Don't include <tls.h>.
27463 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
27464 * resolv/res_libc.c: Don't include <tls.h>.
27465 (_res): Use __attribute__ ((nocommon)) in place of
27466 __attribute__ ((section (".bss"))).
27467
bd81123a
RM
27468 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
27469 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
27470
c4e42566
RM
27471 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
27472
f890a59b
RM
27473 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
27474 only under [SIOCGIFCONF && SIOCGIFNETMASK].
27475
27476 * resolv/res_mkquery.c: Include <sys/time.h>.
27477
5d1f0a09
RM
27478 * inet/ifreq.c: Moved to ...
27479 * sysdeps/unix/ifreq.c: ... here.
27480 * inet/ifreq.c: New file, true stub version.
27481
6fcf28b3
RM
27482 * socket/sa_len.c: New file.
27483 * socket/Makefile (aux): Add it.
27484 * sysdeps/unix/sysv/linux/Makefile
27485 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
27486 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
27487 and #include <socket/sa_len.c>.
27488 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
27489 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
27490
e041fb8b
RM
27491 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
27492 * bits/socket.h: ... here.
27493
8cc3269f
RM
27494 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
27495 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
27496 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
27497
5d228a43
AS
274982013-08-27 Andreas Schwab <schwab@suse.de>
27499
45b8accc
AS
27500 [BZ #15736]
27501 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
27502 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
27503 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
27504 * string/test-strcasecmp.c (test_main): Run tests in several
27505 locales.
27506 * string/test-strncasecmp.c (test_main): Likewise.
27507
5d228a43
AS
27508 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
27509 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
27510 to __strcasecmp_nonascii and __strncasecmp_nonascii.
27511 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
27512 (__strncasecmp_ssse3) [PIC]: Likewise.
27513
59d112a4
RM
275142013-08-26 Roland McGrath <roland@hack.frob.com>
27515
53234cc3
RM
27516 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
27517
59d112a4
RM
27518 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
27519 instead of explicitly declaring xdecrypt.
27520 * nis/nss_nis/nis-publickey.c: Likewise.
27521
595aba70
SP
275222013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27523
27524 [BZ #15890]
27525 * nscd/aicache.c: Include res_hconf.h.
27526 (addhstaiX): Initialize res_hconf.
27527
ffabd393
AS
275282013-08-26 Andreas Schwab <schwab@suse.de>
27529
27530 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
27531 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
27532
e0a69f5c
SP
275332013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27534
27535 * nscd/aicache.c (addhstaiX): Fix indentation.
27536
8c12f01d
MF
275372013-08-25 Mike Frysinger <vapier@gentoo.org>
27538
27539 * configure.ac: Quote $build_pt_chown test.
27540 * configure: Regenerated.
27541
8fe89494
JM
275422013-08-23 Joseph Myers <joseph@codesourcery.com>
27543
27544 [BZ #15532]
27545 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
27546 * math/s_cexpf.c (__cexpf): Likewise.
27547 * math/s_cexpl.c (__cexpl): Likewise.
27548 * math/libm-test.inc (cexp_test_data): Correct expected return
27549 value for NaN + i0. Add another test.
27550
75b181d6
DM
275512013-08-22 David S. Miller <davem@davemloft.net>
27552
27553 * po/ca.po: Update Catalan translation from translation project.
936241e4 27554 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 27555
acd06bb1
JM
275562013-08-21 Joseph Myers <joseph@codesourcery.com>
27557
27558 [BZ #15797]
27559 * math/s_fdim.c (__fdim): Check for infinite arguments if result
27560 is infinite, not alongside NaN test.
27561 * math/s_fdimf.c (__fdimf): Likewise.
27562 * math/s_fdiml.c (__fdiml): Likewise.
27563 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
27564 errno is unchanged.
27565
c0c3f78a
OB
275662013-08-21 Ondřej Bílka <neleai@seznam.cz>
27567
27568 * argp/argp-help.c: Fix typos.
27569 * crypt/speeds.c: Likewise.
27570 * csu/check_fds.c: Likewise.
27571 * elf/dl-load.c: Likewise.
27572 * elf/dl-open.c: Likewise.
27573 * elf/reldep3.c: Likewise.
27574 * elf/reldep.c: Likewise.
27575 * elf/sprof.c: Likewise.
27576 * iconv/iconv_charmap.c: Likewise.
27577 * iconv/skeleton.c: Likewise.
27578 * iconv/strtab.c: Likewise.
27579 * io/lockf64.c: Likewise.
27580 * libio/libioP.h: Likewise.
27581 * resolv/gai_notify.c: Likewise.
27582 * resolv/ns_name.c: Likewise.
27583 * resolv/ns_samedomain.c: Likewise.
27584 * resolv/res_send.c: Likewise.
27585 * stdlib/random.c: Likewise.
27586 * sunrpc/rpc/xdr.h: Likewise.
27587 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
27588 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27589 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27590 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27591 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27592 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27593 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27594 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27595 * sysdeps/mach/hurd/check_fds.c: Likewise.
27596 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27597 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27598 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27599 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27600 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27601 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27602 * sysdeps/pthread/aio_notify.c: Likewise.
27603 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
27604 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
27605 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
27606 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27607 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27608
46ed1038
LD
276092013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27610
27611 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
27612 version if bit_Slow_SSE4_2 is set.
27613 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27614 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27615
d400dcac
AZ
276162013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27617
27618 [BZ #15867]
27619 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
27620 trampoline stack frame information.
27621 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
27622 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
27623 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
27624 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
27625 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
27626 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27627 (_libc_vdso_platform_setup): Initialize the signal trampolines.
27628 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
27629 sa_flags value.
27630 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
27631 interrupting a syscall and set with option SA_SIGINFO.
27632
42c8fdd8
JM
276332013-08-20 Joseph Myers <joseph@codesourcery.com>
27634
c980f2f4
JM
27635 [BZ #15531]
27636 * math/s_cproj.c (__cproj): Only return an infinity if one part of
27637 argument is infinite.
27638 * math/s_cprojf.c (__cprojf): Likewise.
27639 * math/s_cprojl.c (__cprojl): Likewise.
27640 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
27641 * math/libm-test.inc (cproj_test_data): Add more tests.
27642
0716c4fc
JM
27643 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
27644
42c8fdd8
JM
27645 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
27646 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
27647 size. Use __ffs to determine corresponding shift.
27648
b31469d0
JM
276492013-08-20 Joseph Myers <joseph@codesourcery.com>
27650 Roland McGrath <roland@hack.frob.com>
27651
27652 * Makefile (INSTALL): Remove trailing blank lines from output of
27653 makeinfo.
27654
4e39af6e
AK
276552013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27656
27657 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
27658 Align 32 bit compat elf_greg to 8 bytes.
27659
f315524e
AA
276602013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
27661
27662 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
27663
1326ba1a
SP
276642013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27665
27666 * string/strcoll_l.c (coll_seq): New structure.
27667 (get_next_seq_cached): New function.
27668 (get_next_seq): New function.
27669 (do_compare): New function.
27670 (STRCOLL): Use GNU style definition. Simplify implementation
27671 by using get_next_seq, get_next_seq_cached and do_compare.
27672
91ce4085
FW
276732013-08-16 Florian Weimer <fweimer@redhat.com>
27674
27675 [BZ #14699]
27676 CVE-2013-4237
27677 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
27678 member.
27679 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
27680 member.
27681 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
27682 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
27683 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
27684 conditional.
27685 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
27686 GETDENTS_64BIT_ALIGNED.
27687 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27688 * manual/filesys.texi (Reading/Closing Directory): Document
27689 ENAMETOOLONG return value of readdir_r. Recommend readdir more
27690 strongly.
27691 * manual/conf.texi (Limits for Files): Add portability note to
27692 NAME_MAX, PATH_MAX.
27693 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
27694
ca0a6bc4
AS
276952013-08-13 Andreas Schwab <schwab@suse.de>
27696
27697 [BZ #15749]
27698 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
27699 of fabs.
27700 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
27701 LDBL_MAX_EXP >= 16384]: Add tests for it.
27702
6c1fd795
DM
277032013-08-12 David S. Miller <davem@davemloft.net>
27704
27705 * version.h (RELEASE): Set to "development".
27706 (VERSION): Set to "2.18.90".
27707 * NEWS: Add 2.19 section.
27708
31ad488d
DM
277092013-08-03 David S. Miller <davem@davemloft.net>
27710
27711 * po/ko.po: Update Korean translation from translation project.
27712
db24e684
DM
277132013-08-01 David S. Miller <davem@davemloft.net>
27714
27715 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
27716 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
27717 Bilka.
27718
f723285b
DM
277192013-07-30 David S. Miller <davem@davemloft.net>
27720
27721 * po/fr.po: Update French translation from translation project.
27722
3cbc52db
DM
277232013-07-28 David S. Miller <davem@davemloft.net>
27724
30bbc0cc
DM
27725 * po/cs.po: Update Czech translation from translation project.
27726
3cbc52db
DM
27727 * po/sv.po: Update Swedish translation from translation project.
27728
d492e6d0
DM
277292013-07-27 David S. Miller <davem@davemloft.net>
27730
f1a7f492
DM
27731 * po/eo.po: Update Esperanto translation from translation project.
27732
90e62a4a
DM
27733 * po/vi.po: Update Vietnamese translation from translation project.
27734
d492e6d0
DM
27735 * po/de.po: Update German translation from translation project.
27736
d4baa62d
DM
277372013-07-26 David S. Miller <davem@davemloft.net>
27738
641aa7b4
DM
27739 * po/bg.po: Update Bulgarian translation from translation project.
27740
d4baa62d
DM
27741 * po/nl.po: Update Dutch translation from translation project.
27742 * po/pl.po: Update Polish translation from translation project.
27743 * po/ru.po: Update Russian translation from translation project.
27744
61a9dcb9
DM
277452013-07-24 David S. Miller <davem@davemloft.net>
27746
27747 * po/libc.pot: Update.
27748
7b1f8b58
AZ
277492013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27750
27751 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
27752 variable page size.
27753 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
27754 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
27755 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
27756
a8fc7a03
AK
277572013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27758
27759 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
27760
e4608715
CD
277612013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27762 Andreas Schwab <schwab@suse.de>
27763 Roland McGrath <roland@hack.frob.com>
27764 Joseph Myers <joseph@codesourcery.com>
27765 Carlos O'Donell <carlos@redhat.com>
27766
27767 [BZ #15755]
27768 * config.h.in: Define HAVE_PT_CHOWN.
27769 * config.make.in (build-pt-chown): New variable.
27770 * configure.in (--enable-pt_chown): New configure option.
27771 * configure: Regenerate.
27772 * login/Makefile: Include Makeconfig. Build pt_chown only if
27773 build-pt-chown is enabled.
27774 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
27775 pt_chown to fix pty ownership.
27776 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
27777 CLOSE_ALL_FDS.
27778 * manual/install.texi (Configuring and compiling): Mention
27779 --enable-pt_chown. Add @findex for grantpt.
27780 * INSTALL: Regenerate.
27781
da2d62df
DM
277822013-07-20 David S. Miller <davem@davemloft.net>
27783
27784 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
27785 difference between 32-bit and 64-bit.
27786
d7e06450
CD
277872013-07-15 Carlos O'Donell <carlos@redhat.com>
27788
27789 [BZ #15711]
27790 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
27791 Avoid system header dependency with -ffreestanding.
27792 ($(objpfx)bits/syscall%d): Likewise.
27793
f959cfd7
DM
277942013-07-13 David S. Miller <davem@davemloft.net>
27795
27796 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
27797 underflows from atanl/atan2l due to bug 15319.
27798 (casinh_test_data): Likewise.
27799
c61f8513
DM
278002013-07-07 David S. Miller <davem@davemloft.net>
27801
27802 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27803
72c90ed0
JA
278042013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
27805
27806 * sysdeps/i386/fpu/libm-test-ulps: Update.
27807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27808
52dfbe13
SP
278092013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27810
27811 * configure.in (--enable-lock-elision): Fix message text.
27812 * INSTALL: Regenerate.
27813 * configure: Regenerate.
27814
3f169543
AZ
278152013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27816
27817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27818
521c6785
AJ
278192013-07-03 Andreas Jaeger <aj@suse.de>
27820
27821 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
27822 define.
27823 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
27824 (ptrace_peeksiginfo_args): Add.
27825 (__ptrace_peeksiginfo_flags): Add.
27826 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27827 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27828 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27829
d2cc15cb
AM
278302013-07-03 Allan McRae <allan@archlinux.org>
27831
27832 * sysdeps/i386/fpu/libm-test-ulps: Update.
27833
3aaeeca7
DM
278342013-07-02 David S. Miller <davem@davemloft.net>
27835
27836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27837
5314ed1a
MT
278382013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
27839
27840 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27841
67338156
JM
278422013-07-02 Joseph Myers <joseph@codesourcery.com>
27843
27844 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27846
1717da59
AK
278472013-07-02 Andi Kleen <ak@linux.intel.com>
27848
27849 * config.h.in (ENABLE_LOCK_ELISION): Add.
27850 * configure.in (--enable-lock-elision): Add option.
27851 * manual/install.texi: Document --enable lock elision.
27852 * configure: Regenerate
27853 * INSTALL: Regenerate.
27854
1c81621c
L
278552013-07-02 H.J. Lu <hongjiu.lu@intel.com>
27856
27857 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
27858 SSE4.2 strcasecmp for libc.a.
27859 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27860
77f01ab5
JM
278612013-07-02 Joseph Myers <joseph@codesourcery.com>
27862
27863 [BZ #13304]
27864 * soft-fp/op-common.h (_FP_FMA): New macro.
27865 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
27866 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
27867 (_FP_MUL_MEAT_1_imm): ... here.
27868 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
27869 (_FP_MUL_MEAT_1_wide): ... here.
27870 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
27871 (_FP_MUL_MEAT_1_hard): ... here.
27872 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
27873 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
27874 (_FP_MUL_MEAT_2_wide): ... here.
27875 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
27876 (_FP_MUL_MEAT_2_wide_3mul): ... here.
27877 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
27878 (_FP_MUL_MEAT_2_gmp): ... here.
27879 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
27880 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
27881 (_FP_MUL_MEAT_4_wide): ... here.
27882 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
27883 (_FP_MUL_MEAT_4_gmp): ... here.
27884 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
27885 (_FP_WFRACBITS_DW_S): Likewise.
27886 (_FP_WFRACXBITS_DW_S): Likewise.
27887 (_FP_HIGHBIT_DW_S): Likewise.
27888 (FP_FMA_S): Likewise.
27889 (_FP_FRAC_HIGH_DW_S): Likewise.
27890 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
27891 (_FP_WFRACBITS_DW_D): Likewise.
27892 (_FP_WFRACXBITS_DW_D): Likewise.
27893 (_FP_HIGHBIT_DW_D): Likewise.
27894 (FP_FMA_D): Likewise.
27895 (_FP_FRAC_HIGH_DW_D): Likewise.
27896 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
27897 (_FP_WFRACBITS_DW_E): Likewise.
27898 (_FP_WFRACXBITS_DW_E): Likewise.
27899 (_FP_HIGHBIT_DW_E): Likewise.
27900 (FP_FMA_E): Likewise.
27901 (_FP_FRAC_HIGH_DW_E): Likewise.
27902 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
27903 (_FP_WFRACBITS_DW_Q): Likewise.
27904 (_FP_WFRACXBITS_DW_Q): Likewise.
27905 (_FP_HIGHBIT_DW_Q): Likewise.
27906 (FP_FMA_Q): Likewise.
27907 (_FP_FRAC_HIGH_DW_Q): Likewise.
27908 * soft-fp/fmasf4.c: New file.
27909 * soft-fp/fmadf4.c: Likewise.
27910 * soft-fp/fmatf4.c: Likewise.
27911
6308fd9a
LD
279122013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27913
27914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27915 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
27916 Silvermont.
27917 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
27918 macro.
27919 (index_Slow_SSE4_2): Likewise.
27920 (index_Prefer_PMINUB_for_stringop): Likewise.
27921 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
27922 bit_Slow_SSE4_2 is set.
27923 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27924 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27925
89cd9569
RA
279262013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27927
27928 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
27929 rtld_global._dl_hwcap2.
27930 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
27931 POWER8.
27932 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
27933 POWER8 feature descriptions defined in _dl_hwcap2.
27934 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
27935 string handling for POWER8 feature bits.
27936 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
27937 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
27938 _dl_powerpc_cap_flags.
27939 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
27940 * sysdeps/powerpc/rtld-global-offsets.sym
27941 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
27942 _dl_hwcap2 in the rtld_global_ro structure.
27943
1ae8bfe0
RA
279442013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27945
27946 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
27947 hardware capabilities in support of AT_HWCAP2.
27948 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
27949 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
27950 GLRO(dl_hwcap2).
27951 (_dl_show_auxv): Add support for calling _dl_procinfo to display
27952 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
27953 explicitly the unknown a_type display mechanism is used.
27954 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
27955 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
27956 struct member.
27957 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
27958 to macro prototype for AT_HWCAP2 support.
27959 * sysdeps/i386/dl-procinfo.h: Likewise.
27960 * sysdeps/s390/dl-procinfo.h: Likewise.
27961 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
27962 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
27963 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
27964 return -1 for unknown a_type display fallback.
27965 * sysdeps/sparc/dl-procinfo.h: Likewise.
27966 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
27967 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
27968
8fbec010
JM
279692013-06-28 Joseph Myers <joseph@codesourcery.com>
27970
27971 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
27972 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
27973
0432680e
PY
279742013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
27975
27976 [BZ #12492]
27977 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
27978 mprotect making __stack_prot writable.
27979
ce61a2ad
NF
279802013-06-28 Nathan Froyd <froydnj@codesourcery.com>
27981 Joseph Myers <joseph@codesourcery.com>
27982
27983 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
27984 as being properly aligned.
27985
f91f1c0f
MR
279862013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
27987
3d0f5d0c
MR
27988 * dlfcn/modstatic5.c: New file.
27989 * dlfcn/tststatic5.c: New file.
27990 * dlfcn/Makefile (tests): Add tststatic5.
27991 (tests-static): Likewise.
27992 (modules-names): Add modstatic5.
27993 (tststatic5-ENV): New variable.
27994 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
27995
f91f1c0f
MR
27996 [BZ #15022]
27997 * elf/dl-support.c (_dl_main_map): New variable.
27998 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
27999 (_dl_nns, _dl_load_adds): Set to 1.
28000 (_dl_initial_searchlist): Refer to _dl_main_map.
28001 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28002 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28003 call to _dl_get_origin.
28004 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28005 around call_map.
28006 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28007 * dlfcn/modstatic3.c: New file.
28008 * dlfcn/tststatic3.c: New file.
28009 * dlfcn/tststatic4.c: New file.
28010 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28011 (tests-static): Likewise.
28012 (modules-names): Add modstatic3.
28013 (tststatic3-ENV, tststatic4-ENV): New variables.
28014 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28015 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28016
cbe7d24b
JM
280172013-06-26 Joseph Myers <joseph@codesourcery.com>
28018
28019 * configure.in (CC): Require GCC version 4.4 or later.
28020 * configure: Regenerated.
28021 * manual/install.texi (Tools for Compilation): Update GCC version
28022 requirement.
28023 * INSTALL: Regenerated.
28024
11b8a0e1
LD
280252013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28026
28027 [BZ #15674]
bb5bb87c
L
28028 * string/test-memcmp.c (check2): New.
28029 (main): Call check2.
28030
11b8a0e1
LD
28031 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
28032
b0037103
MR
280332013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
28034
28035 [BZ #15022]
28036 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
28037 over to...
28038 (dl_open_worker) [!SHARED]: ... here.
28039
c18c701d
RA
280402013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28041
28042 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
28043
1d17fa5f
RH
280442013-06-25 Richard Henderson <rth@redhat.com>
28045
28046 * locale/programs/locarchive.c: Include <libc-internal.h>
28047
8fcb833a
JM
280482013-06-25 Joseph Myers <joseph@codesourcery.com>
28049
28050 * manual/texinfo.tex: Update to version 2013-06-21.17, with
28051 trailing whitespace removed.
28052
17db6e8d
MF
280532013-06-24 Mike Frysinger <vapier@gentoo.org>
28054
28055 [BZ #10283]
17db6e8d
MF
28056 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
28057 * locale/programs/locarchive.c: Include libc-mmap.h.
28058 (prepare_address_space): Take two new outputs (the mmap base and len).
28059 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
28060 values.
28061 (create_archive): Declare new mmap base and len values for
28062 prepare_address_space, and store the result in ah.
28063 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
28064 (enlarge_archive): If ah->mmap_base is not NULL, use that and
28065 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28066 Declare new mmap base and len values for
28067 prepare_address_space, and store the result in new_ah.
28068 (open_archive): Declare new mmap base and len values for
28069 prepare_address_space, and store the result in ah.
28070 (close_archive): If ah->mmap_base is not NULL, use that and
28071 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28072 * sysdeps/generic/libc-mmap.h: New file.
28073
d605071e
MF
280742013-06-24 Mike Frysinger <vapier@gentoo.org>
28075
28076 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
28077 (ALIGN_UP): Likewise.
28078 (PTR_ALIGN_DOWN): Likewise.
28079 (PTR_ALIGN_UP): Likewise.
28080
2f063a6e
RA
280812013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28082
28083 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
28084 entry mapped to PPC_PLATFORM_POWER8.
28085 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
28086 POWER8.
28087 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
28088 (_dl_string_platform): Add case for exporting platform position for
28089 POWER8.
28090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
28091 search path to sysdeps/powerpc/powerpc32/power8 directory.
28092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
28093 search path to sysdeps/powerpc/powerpc64/power8 directory.
28094 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
28095 power7 directories.
28096 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
28097 power7 directories.
28098
a31ee4b3
SP
280992013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28100
a74ca98f
SP
28101 * INSTALL: Regenerate.
28102
a31ee4b3
SP
28103 * nscd/connections.c (nscd_init): Fix comment.
28104
695c378f
JM
281052013-06-22 Joseph Myers <joseph@codesourcery.com>
28106
d8412221
JM
28107 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
28108
695c378f
JM
28109 [BZ #15667]
28110 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
28111 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
28112
d1d54715
MR
281132013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28114
28115 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
28116 DL_DST_REQ_STATIC.
28117 (DL_DST_REQ_STATIC): Remove macro.
28118
8fdda7af
JM
281192013-06-21 Joseph Myers <joseph@codesourcery.com>
28120
28121 [BZ #7006]
28122 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
28123 with a shift of 0 bits.
28124
f3bc5e5a
MR
281252013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28126
28127 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28128 $(tststatic-ENV).
28129
be09e8c9
KK
281302013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28131
28132 [BZ #15655]
28133 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28134
85c2e611
AZ
281352013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28136
28137 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
28138 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
28139 accepts -fno-tree-loop-distribute-patterns.
28140 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
28141 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
28142 recursive call.
28143 * string/memset.c (memset): Likewise.
28144 * string/test-memmove.c (simple_memmove): Disable loop transformation
28145 to library calls.
28146 * string/test-memset.c (simple_memset): Likewise.
28147 * benchtests/bench-memmove.c (simple_memmove): Likewise.
28148 * benchtests/bench-memset.c (simple_memset): Likewise.
28149 * configure: Regenerated.
28150
c91e0825
JM
281512013-06-20 Joseph Myers <joseph@codesourcery.com>
28152
b8c792af
JM
28153 * math/test-misc.c (main): Ignore fesetround failure when failures
28154 of subsequent rounding tests would be ignored.
28155
c91e0825
JM
28156 [BZ #15654]
28157 * math/fedisblxcpt.c (fedisableexcept): Return 0.
28158 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
28159 * math/fegetenv.c (__fegetenv): Return 0.
28160 * math/fegetexcept.c (fegetexcept): Return 0.
28161 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
28162 FE_TONEAREST.
28163 * math/feholdexcpt.c (feholdexcept): Return 0.
28164 * math/fesetenv.c (__fesetenv): Return 0.
28165 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
28166 argument FE_TONEAREST.
28167 * math/feupdateenv.c (__feupdateenv): Return 0.
28168 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
28169
bfcacbde
RM
281702013-06-18 Roland McGrath <roland@hack.frob.com>
28171
28172 * elf/rtld-Rules (rtld-compile-command.S): New variable.
28173 (rtld-compile-command.s, rtld-compile-command.c): New variables.
28174 ($(objpfx)rtld-%.os rules): Use them.
28175
e55a9b25
AZ
281762013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28177
28178 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
28179 fields.
28180
346d65b3
RM
281812013-06-17 Roland McGrath <roland@hack.frob.com>
28182
12086fb4
RM
28183 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
28184 length of target pattern, then descending length of dependency pattern.
28185 * configure.in (AWK): Require gawk 3.1.2 or newer.
28186 * manual/install.texi (Tools for Compilation): Say that we do.
28187 * configure: Regenerated.
28188
346d65b3
RM
28189 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28190 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28191 * scripts/sysd-rules.awk: ... this new script.
28192 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28193 than a glob-style pattern.
28194
1a846317
JM
281952013-06-17 Joseph Myers <joseph@codesourcery.com>
28196
28197 * math/test-misc.c (main): Do not treat incorrectly rounded
28198 conversions as failure unless ROUNDING_TESTS passes.
28199
8fc75e6f
JM
282002013-06-15 Joseph Myers <joseph@codesourcery.com>
28201
3711a167
JM
28202 [BZ #15631]
28203 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28204 restore exception state around main square root computation, then
28205 check for inexactness explicitly.
28206
8fc75e6f
JM
28207 * math/libm-test.inc (fma_test_data): Add another test.
28208
61dd6208
SP
282092013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28210
adf23d2c
SP
28211 * manual/threads.texi (Non-POSIX Extensions): New document
28212 node. Document pthread_getattr_default_np and
28213 pthread_setattr_default_np.
28214
61dd6208
SP
28215 * Versions.def (libpthread): Add GLIBC_2.18.
28216 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28218 Likewise.
28219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28220 Likewise.
28221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28222 Likewise.
28223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28224 Likewise.
28225 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28226 Likewise.
28227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28228 Likewise.
28229 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28230 Likewise.
28231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28232 Likewise.
28233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28234 Likewise.
28235
d086fc7b
LD
282362013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28237
28238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28239 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28240
747ef469
SP
282412013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28242 H.J. Lu <hjl.tools@gmail.com>
28243
28244 [BZ #15627]
28245 * sysdeps/x86_64/rtld-memset.c: Remove file.
28246 * sysdeps/x86_64/rtld-memset.S: New file.
28247
1b2feed2
JM
282482013-06-14 Joseph Myers <joseph@codesourcery.com>
28249
28250 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28251 (test_in_one_mode): Take arguments for whether the rounding mode
28252 is supported for each floating-point type.
28253 (do_test): Pass new arguments to test_in_one_mode using
28254 ROUNDING_TESTS.
28255
a58ad3f8
RM
282562013-06-13 Roland McGrath <roland@hack.frob.com>
28257
28258 * posix/tst-waitid.c (do_test): Distinguish different instances of
28259 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
28260 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28261 before entering the kernel for waitpid.
28262
c204ab28
SP
282632013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28264
28265 * NEWS: Fix note on clock function precision. Text by Roland
28266 McGrath.
28267
f4a29fba
RM
282682013-06-13 Roland McGrath <roland@hack.frob.com>
28269
28270 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28271 it into place only when and if the sanity check passes.
28272
1f24b9ad
JM
282732013-06-13 Joseph Myers <joseph@codesourcery.com>
28274
28275 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28276 output for whether conversion result is exact. Take argument
28277 indicating whether type is IBM long double.
28278 (round_for_all): Change need_exact field to ibm_ld.
28279 * stdlib/tst-strtod-round.c (struct exactness): New type.
28280 (struct test): Change bool ld_ok field to struct exactness exact.
28281 (TEST): Update all definitions for change to field.
28282 (tests): Regenerate array contents.
28283 (test_in_one_mode): Take pointer to new field instead of old ld_ok
28284 field value. Check for IBM long double here.
28285 (do_test): Update calls to test_in_one_mode.
28286
58206c68
SP
282872013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28288
28289 [BZ #12515]
28290 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28291 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28292
2d6f4c5b 282932013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
28294
28295 [BZ #15605]
28296 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28297 generated by the compiler on loop optimizations.
28298 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28299 general definitions.
28300
94f2c076
JM
283012013-06-12 Joseph Myers <joseph@codesourcery.com>
28302
28303 * math/bug-nextafter.c: Include <math-tests.h>.
28304 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28305 the relevant type.
28306 * math/bug-nexttoward.c: Include <math-tests.h>.
28307 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28308 the relevant type.
28309 * math/test-misc.c: Include <math-tests.h>.
28310 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28311 the relevant type.
28312
e0e50a0a
AJ
283132013-06-12 Andreas Jaeger <aj@suse.de>
28314
28315 * po/ia.po: Update Interlingua translation from translation
28316 project.
28317
25061094
SP
283182013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28319
28320 * include/fenv.h: Include stdbool.h.
28321 (struct rm_ctx): New structure.
28322 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28323 Define macro.
28324 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28325 (SET_RESTORE_ROUNDF): Likewise.
28326 (SET_RESTORE_ROUNDL): Likewise.
28327 (SET_RESTORE_ROUND_NOEX): Likewise.
28328 (SET_RESTORE_ROUND_NOEXF): Likewise.
28329 (SET_RESTORE_ROUND_NOEXL): Likewise.
28330 (SET_RESTORE_ROUND_53BIT): Likewise.
28331 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28332 (libc_feresetround_noexf_ctx): Likewise.
28333 (libc_feresetround_noexl_ctx): Likewise.
28334 (libc_feholdsetround_53bit_ctx): Likewise.
28335 (libc_feresetround_53bit_ctx): Likewise.
28336 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28337 (libc_feholdexcept_setround_sse_ctx): New function.
28338 (libc_fesetenv_sse_ctx): Likewise.
28339 (libc_feupdateenv_sse_ctx): Likewise.
28340 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28341 (libc_feholdexcept_setround_387_ctx): Likewise.
28342 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28343 (libc_feholdsetround_387_prec_ctx): Likewise.
28344 (libc_feholdsetround_387_ctx): Likewise.
28345 (libc_feholdsetround_387_53bit_ctx): Likewise.
28346 (libc_feholdsetround_sse_ctx): Likewise.
28347 (libc_feresetround_sse_ctx): Likewise.
28348 (libc_feresetround_387_ctx): Likewise.
28349 (libc_feupdateenv_387_ctx): Likewise.
28350 (libc_feholdexcept_setroundf_ctx): Define macro.
28351 (libc_fesetenvf_ctx): Likewise.
28352 (libc_feupdateenvf_ctx): Likewise.
28353 (libc_feholdsetroundf_ctx): Likewise.
28354 (libc_feresetroundf_ctx): Likewise.
28355 (libc_feholdexcept_setround_ctx): Likewise.
28356 (libc_fesetenv_ctx): Likewise.
28357 (libc_feupdateenv_ctx): Likewise.
28358 (libc_feholdsetround_ctx): Likewise.
28359 (libc_feresetround_ctx): Likewise.
28360 (libc_feholdexcept_setroundl_ctx): Likewise.
28361 (libc_feupdateenvl_ctx): Likewise.
28362 (libc_feholdsetroundl_ctx): Likewise.
28363 (libc_feresetroundl_ctx): Likewise.
28364 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28365 (libc_feresetround_53bit_ctx): Likewise.
28366
59b30555
SP
283672013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28368
28369 * locale/iso-639.def: Convert to UTF-8.
28370
f1d73d30
JM
283712013-06-11 Joseph Myers <joseph@codesourcery.com>
28372
28373 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28374 (EXCEPTION_TESTS_double): Likewise.
28375 (EXCEPTION_TESTS_long_double): Likewise.
28376 (EXCEPTION_TESTS): Likewise.
28377 * math/libm-test.inc (test_exceptions): Only test exceptions if
28378 EXCEPTION_TESTS (FLOAT).
28379
94aca5e7
SP
283802013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28381
28382 * benchtests/Makefile (string-bench): Add strcpy_chk and
28383 stpcpy_chk.
28384 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28385 * benchtests/bench-stpcpy_chk.c: New file.
28386 * benchtests/bench-strcpy_chk-ifunc.c: New file.
28387 * benchtests/bench-strcpy_chk.c: New file.
28388 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28389 code.
28390 (do_test): Likewise.
28391
fac0c5f2
RA
283922013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28393
28394 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28395 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28396 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28397 with tabs where appropriate.
28398 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28399 dl-procinfo.h.
28400 [PPC_PLATFORM_PPC440]: Likewise.
28401 [PPC_PLATFORM_PPC464]: Likewise.
28402 [PPC_PLATFORM_PPC476]: Likewise.
28403 (_dl_string_platform): Add support for detecting ppc405, ppc440,
28404 ppc464, and ppc476 platform strings merging from ports/
28405 dl-procinfo.h.
28406
f22bc486
AS
284072013-06-11 Andreas Schwab <schwab@suse.de>
28408
28409 [BZ #14991]
28410 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28411 (from_ucs4_idx): Regenerate.
28412 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28413 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28414 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28415 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28416 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28417 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28418 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28419 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28420 from FROM_LOOP and TO_LOOP specific macros.
28421 (BODY): Handle combining characters.
28422 * iconvdata/BIG5HKSCS.irreversible: Update.
28423 * iconvdata/BIG5HKSCS.precomposed: New file.
28424 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28425 characters.
28426 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28427
c1f75dc3
SP
284282013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28429
4eacded2
SP
28430 * include/sys/time.h: Fix indentation and add copyright header.
28431
fec799f8
SP
28432 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
28433 (do_test): Likewise.
28434 * string/test-memchr.c (do_one_test): Likewise.
28435 (do_test): Likewise.
28436 * string/test-memcmp.c (do_one_test): Likewise.
28437 (do_test): Likewise.
28438 * string/test-memcpy.c (do_one_test): Likewise.
28439 (do_test): Likewise.
28440 * string/test-memmem.c (do_one_test): Likewise.
28441 (do_test): Likewise.
28442 (do_random_tests): Likewise.
28443 * string/test-memmove.c (do_one_test): Likewise.
28444 (do_test): Likewise.
28445 * string/test-memset.c (do_one_test): Likewise.
28446 (do_test): Likewise.
28447 * string/test-rawmemchr.c (do_one_test): Likewise.
28448 (do_test): Likewise.
28449 * string/test-strcasecmp.c (do_one_test): Likewise.
28450 (do_test): Likewise.
28451 * string/test-strcasestr.c (do_one_test): Likewise.
28452 (do_test): Likewise.
28453 * string/test-strcat.c (do_one_test): Likewise.
28454 (do_test): Likewise.
28455 * string/test-strchr.c (do_one_test): Likewise.
28456 (do_test): Likewise.
28457 * string/test-strcmp.c (do_one_test): Likewise.
28458 (do_test): Likewise.
28459 * string/test-strcpy.c (do_one_test): Likewise.
28460 (do_test): Likewise.
28461 * string/test-string.h: Likewise.
28462 (test_init): Likewise.
28463 * string/test-strlen.c (do_one_test): Likewise.
28464 (do_test): Likewise.
28465 * string/test-strncasecmp.c (do_one_test): Likewise.
28466 (do_test): Likewise.
28467 * string/test-strncat.c (do_one_test): Likewise.
28468 (do_test): Likewise.
28469 * string/test-strncmp.c (do_one_test): Likewise.
28470 (do_test_limit): Likewise.
28471 (do_test): Likewise.
28472 * string/test-strncpy.c (do_one_test): Likewise.
28473 (do_test): Likewise.
28474 * string/test-strnlen.c (do_one_test): Likewise.
28475 (do_test): Likewise.
28476 * string/test-strpbrk.c (do_one_test): Likewise.
28477 (do_test): Likewise.
28478 * string/test-strrchr.c (do_one_test): Likewise.
28479 (do_test): Likewise.
28480 * string/test-strspn.c (do_one_test): Likewise.
28481 (do_test): Likewise.
28482 * string/test-strstr.c (do_one_test): Likewise.
28483 (do_test): Likewise.
28484
97020474
SP
28485 * benchtests/Makefile (string-bench): Add string benchmarks.
28486 * benchtests/bench-bcopy-ifunc.c: New file.
28487 * benchtests/bench-bcopy.c: New file.
28488 * benchtests/bench-bzero-ifunc.c: New file.
28489 * benchtests/bench-bzero.c: New file.
28490 * benchtests/bench-memccpy-ifunc.c: New file.
28491 * benchtests/bench-memccpy.c: New file.
28492 * benchtests/bench-memchr-ifunc.c: New file.
28493 * benchtests/bench-memchr.c: New file.
28494 * benchtests/bench-memcmp-ifunc.c: New file.
28495 * benchtests/bench-memcmp.c: New file.
28496 * benchtests/bench-memmem-ifunc.c: New file.
28497 * benchtests/bench-memmem.c: New file.
28498 * benchtests/bench-memmove-ifunc.c: New file.
28499 * benchtests/bench-memmove.c: New file.
28500 * benchtests/bench-mempcpy-ifunc.c: New file.
28501 * benchtests/bench-mempcpy.c: New file.
28502 * benchtests/bench-memset-ifunc.c: New file.
28503 * benchtests/bench-memset.c: New file.
28504 * benchtests/bench-rawmemchr-ifunc.c: New file.
28505 * benchtests/bench-rawmemchr.c: New file.
28506 * benchtests/bench-stpcpy-ifunc.c: New file.
28507 * benchtests/bench-stpcpy.c: New file.
28508 * benchtests/bench-stpncpy-ifunc.c: New file.
28509 * benchtests/bench-stpncpy.c: New file.
28510 * benchtests/bench-strcasecmp-ifunc.c: New file.
28511 * benchtests/bench-strcasecmp.c: New file.
28512 * benchtests/bench-strcasestr-ifunc.c: New file.
28513 * benchtests/bench-strcasestr.c: New file.
28514 * benchtests/bench-strcat-ifunc.c: New file.
28515 * benchtests/bench-strcat.c: New file.
28516 * benchtests/bench-strchr-ifunc.c: New file.
28517 * benchtests/bench-strchr.c: New file.
28518 * benchtests/bench-strchrnul-ifunc.c: New file.
28519 * benchtests/bench-strchrnul.c: New file.
28520 * benchtests/bench-strcmp-ifunc.c: New file.
28521 * benchtests/bench-strcmp.c: New file.
28522 * benchtests/bench-strcpy-ifunc.c: New file.
28523 * benchtests/bench-strcpy.c: New file.
28524 * benchtests/bench-strcspn-ifunc.c: New file.
28525 * benchtests/bench-strcspn.c: New file.
28526 * benchtests/bench-strlen-ifunc.c: New file.
28527 * benchtests/bench-strlen.c: New file.
28528 * benchtests/bench-strncasecmp-ifunc.c: New file.
28529 * benchtests/bench-strncasecmp.c: New file.
28530 * benchtests/bench-strncat-ifunc.c: New file.
28531 * benchtests/bench-strncat.c: New file.
28532 * benchtests/bench-strncmp-ifunc.c: New file.
28533 * benchtests/bench-strncmp.c: New file.
28534 * benchtests/bench-strncpy-ifunc.c: New file.
28535 * benchtests/bench-strncpy.c: New file.
28536 * benchtests/bench-strnlen-ifunc.c: New file.
28537 * benchtests/bench-strnlen.c: New file.
28538 * benchtests/bench-strpbrk-ifunc.c: New file.
28539 * benchtests/bench-strpbrk.c: New file.
28540 * benchtests/bench-strrchr-ifunc.c: New file.
28541 * benchtests/bench-strrchr.c: New file.
28542 * benchtests/bench-strspn-ifunc.c: New file.
28543 * benchtests/bench-strspn.c: New file.
28544 * benchtests/bench-strstr-ifunc.c: New file.
28545 * benchtests/bench-strstr.c: New file.
28546
c1f75dc3
SP
28547 * benchtests/Makefile: Disable parallel execution of targets.
28548 (string-bench): Add memcpy.
28549 (benchset): New variable to store a list of benchmark sets.
28550 (bench-func): Renamed from bench.
28551 (bench-set): New target.
28552 (bench): Depend on bench-func and bench-set.
28553 * benchtests/README: Add section on benchmark sets.
28554 * benchtests/bench-memcpy-ifunc.c: New file.
28555 * benchtests/bench-memcpy.c: New file.
28556 * benchtests/bench-string.h: New file.
28557
50fd745b
AS
285582013-06-11 Andreas Schwab <schwab@suse.de>
28559
28560 [BZ #15577]
28561 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
28562 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
28563 values in the triple.
28564 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
28565 terminator in the group key.
28566
3ee7e9fe
AJ
285672013-06-11 Andreas Jaeger <aj@suse.de>
28568
28569 * po/zh_TW.po: Update Chinese (traditional) translation from
28570 translation project.
28571
89fb6835
SP
285722013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28573
28574 * include/time.h (__clock_gettime): Add libc_hidden_proto.
28575 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
28576 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
28577 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28578 (clock_getcpuclockid): Likewise.
28579 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
28580 Add weak_alias and libc_hidden_def.
28581 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
28582 * rt/clock_gettime.c (clock_gettime): Rename to
28583 __clock_gettime. Add weak_alias and libc_hidden_def.
28584 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
28585 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
28586 __clock_nanosleep. Add weak_alias and libc_hidden_def.
28587 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
28588 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
28589 Likewise.
28590 * rt/clock_settime.c (clock_settime): Rename to
28591 __clock_settime. Add weak_alias and libc_hidden_def.
28592 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
28593
0efa6f8b
JM
285942013-06-10 Joseph Myers <joseph@codesourcery.com>
28595
b8c61b4b
JM
28596 * mach/err_boot.sub: Remove trailing whitespace.
28597 * mach/err_ipc.sub: Likewise.
28598 * mach/err_mach.sub: Likewise.
28599
0efa6f8b
JM
28600 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
28601 (ROUNDING_TESTS_double): Likewise.
28602 (ROUNDING_TESTS_long_double): Likewise.
28603 (ROUNDING_TESTS): Likewise.
28604 * math/libm-test.inc: Include <math-tests.h>.
28605 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
28606 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28607 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28608 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28609
50b818bf
SP
286102013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28611
28612 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
28613 of assigning.
28614
60d2f8f3
JM
286152013-06-08 Joseph Myers <joseph@codesourcery.com>
28616
4902d2c3
JM
28617 * sysdeps/gnu/errlist.awk: Do not generate space at end of
28618 otherwise empty TRANS lines.
28619 * sysdeps/gnu/errlist.c: Regenerated.
28620
60d2f8f3
JM
28621 * catgets/gencat.c (error_print): Use (void) in function
28622 definition.
28623 * crypt/crypt_util.c (__init_des): Likewise.
28624 * crypt/speeds.c (Stop): Likewise.
28625 (main): Likewise.
28626 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
28627 * inet/ruserpass.c (token): Likewise.
28628 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
28629 * intl/localealias.c (extend_alias_table): Likewise.
28630 * intl/plural-exp.c (init_germanic_plural): Likewise.
28631 * libio/fcloseall.c (__fcloseall): Likewise.
28632 * libio/genops.c (_IO_flush_all): Likewise.
28633 (_IO_flush_all_linebuffered): Likewise.
28634 (_IO_cleanup): Likewise.
28635 (_IO_iter_begin): Likewise.
28636 (_IO_iter_end): Likewise.
28637 (_IO_list_lock): Likewise.
28638 (_IO_list_unlock): Likewise.
28639 (_IO_list_resetlock): Likewise.
28640 * libio/getchar.c (getchar): Likewise.
28641 * libio/getchar_u.c (getchar_unlocked): Likewise.
28642 * libio/getwchar.c (getwchar): Likewise.
28643 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
28644 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
28645 * login/getpt.c (__getpt): Likewise.
28646 * login/tst-utmp.c (main): Likewise.
28647 * malloc/hooks.c (__malloc_check_init): Likewise.
28648 * malloc/malloc.c (__malloc_stats): Likewise.
28649 * malloc/mtrace.c (tr_break): Likewise.
28650 (mtrace): Likewise.
28651 (muntrace): Likewise.
28652 * misc/fstab.c (endfsent): Likewise.
28653 * misc/getclktck.c (__getclktck): Likewise.
28654 * misc/getdtsz.c (__getdtablesize): Likewise.
28655 * misc/gethostid.c (gethostid): Likewise.
28656 * misc/getpagesize.c (__getpagesize): Likewise.
28657 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
28658 (__get_nprocs): Likewise.
28659 (__get_phys_pages): Likewise.
28660 (__get_avphys_pages): Likewise.
28661 * misc/getttyent.c (getttyent): Likewise.
28662 (setttyent): Likewise.
28663 (endttyent): Likewise.
28664 * misc/getusershell.c (getusershell): Likewise.
28665 (endusershell): Likewise.
28666 (setusershell): Likewise.
28667 (initshells): Likewise.
28668 * misc/hsearch.c (__hdestroy): Likewise.
28669 * misc/sync.c (sync): Likewise.
28670 * misc/syslog.c (closelog_internal): Likewise.
28671 (closelog): Likewise.
28672 * misc/ttyslot.c (ttyslot): Likewise.
28673 * misc/vhangup.c (vhangup): Likewise.
28674 * posix/fork.c (__fork): Likewise.
28675 * posix/getegid.c (__getegid): Likewise.
28676 * posix/geteuid.c (__geteuid): Likewise.
28677 * posix/getgid.c (__getgid): Likewise.
28678 * posix/getpid.c (__getpid): Likewise.
28679 * posix/getppid.c (__getppid): Likewise.
28680 * posix/getuid.c (__getuid): Likewise.
28681 * posix/pause.c (pause): Likewise.
28682 * posix/setpgrp.c (setpgrp): Likewise.
28683 * posix/setsid.c (__setsid): Likewise.
28684 * posix/test-vfork.c (noop): Likewise.
28685 * resolv/gethnamaddr.c (_endhtent): Likewise.
28686 (_gethtent): Likewise.
28687 (ht_endhostent): Likewise.
28688 (gethostent): Likewise.
28689 (dns_service): Likewise.
28690 * stdlib/drand48.c (drand48): Likewise.
28691 * stdlib/lrand48.c (lrand48): Likewise.
28692 * stdlib/mrand48.c (mrand48): Likewise.
28693 * stdlib/rand.c (rand): Likewise.
28694 * stdlib/random.c (__random): Likewise.
28695 * stdlib/setenv.c (clearenv): Likewise.
28696 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
28697 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
28698 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
28699 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
28700 (__get_nprocs): Likewise.
28701 (__get_phys_pages): Likewise.
28702 (__get_avphys_pages): Likewise.
28703 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
28704 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
28705 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
28706 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
28707 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
28708 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
28709 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
28710 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
28711 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
28712 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
28713 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
28714 * sysdeps/mach/hurd/sync.c (sync): Likewise.
28715 * sysdeps/posix/clock.c (clock): Likewise.
28716 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
28717 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
28718 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
28719 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28720 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
28721 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28722 (__get_nprocs_conf): Likewise.
28723 (__get_phys_pages): Likewise.
28724 (__get_avphys_pages): Likewise.
28725 * time/clock.c (clock): Likewise.
28726 * time/tzset.c (__tzname_max): Likewise.
28727
2e09a79a
JM
287282013-06-07 Joseph Myers <joseph@codesourcery.com>
28729
28730 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
28731 (__bswap_32): Do not use "register".
28732 * crypt/crypt.c (_ufc_doit_r): Likewise.
28733 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
28734 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
28735 * gmon/gmon.c (__monstartup): Likewise.
28736 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
28737 * hurd/hurdmalloc.c (more_memory): Likewise.
28738 (malloc): Likewise.
28739 (free): Likewise.
28740 (realloc): Likewise.
28741 (malloc_fork_prepare): Likewise.
28742 (malloc_fork_parent): Likewise.
28743 (malloc_fork_child): Likewise.
28744 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
28745 (_svcauth_des): Likewise.
28746 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28747 * inet/inet_net.c (inet_network): Likewise.
28748 * inet/inet_netof.c (inet_netof): Likewise.
28749 * inet/rcmd.c (__validuser2_sa): Likewise.
28750 * io/fts.c (fts_open): Likewise.
28751 (fts_load): Likewise.
28752 (fts_close): Likewise.
28753 (fts_read): Likewise.
28754 (fts_children): Likewise.
28755 (fts_build): Likewise.
28756 (fts_stat): Likewise.
28757 (fts_sort): Likewise.
28758 (fts_alloc): Likewise.
28759 (fts_lfree): Likewise.
28760 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
28761 (_IO_file_xsgetn): Likewise.
28762 (_IO_file_xsgetn_mmap): Likewise.
28763 * libio/iofopncook.c (_IO_cookie_read): Likewise.
28764 (_IO_cookie_write): Likewise.
28765 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
28766 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
28767 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
28768 * malloc/obstack.c (_obstack_begin): Likewise.
28769 (_obstack_begin_1): Likewise.
28770 (_obstack_newchunk): Likewise.
28771 (_obstack_allocated_p): Likewise.
28772 (obstack_free): Likewise.
28773 (_obstack_memory_used): Likewise.
28774 * misc/getttyent.c (getttynam): Likewise.
28775 (getttyent): Likewise.
28776 (skip): Likewise.
28777 (value): Likewise.
28778 * misc/getusershell.c (initshells): Likewise.
28779 * misc/syslog.c (__vsyslog_chk): Likewise.
28780 * misc/ttyslot.c (ttyslot): Likewise.
28781 * nis/nis_hash.c (__nis_hash): Likewise.
28782 * posix/fnmatch_loop.c (FCT): Likewise.
28783 * posix/getconf.c (print_all): Likewise.
28784 (main): Likewise.
28785 * posix/getopt.c (exchange): Likewise.
28786 * posix/glob.c (globfree): Likewise.
28787 (prefix_array): Likewise.
28788 (__glob_pattern_type): Likewise.
28789 * resolv/arpa/nameser.h (NS_GET16): Likewise.
28790 (NS_GET32): Likewise.
28791 (NS_PUT16): Likewise.
28792 (NS_PUT32): Likewise.
28793 * resolv/gethnamaddr.c (getanswer): Likewise.
28794 (gethostbyname2): Likewise.
28795 (gethostbyaddr): Likewise.
28796 (_gethtent): Likewise.
28797 (_gethtbyname2): Likewise.
28798 (_gethtbyaddr): Likewise.
28799 * resolv/ns_print.c (dst_s_get_int16): Likewise.
28800 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28801 * resolv/res_init.c (__res_vinit): Likewise.
28802 (net_mask): Likewise.
28803 * resolv/res_mkquery.c (outchar): Likewise.
28804 (PRINT): Likewise.
28805 * stdio-common/printf_fp.c (outchar): Likewise.
28806 (PRINT): Likewise.
28807 * stdio-common/printf_fphex.c (outchar): Likewise.
28808 (PRINT): Likewise.
28809 * stdio-common/printf_size.c (outchar): Likewise.
28810 (PRINT): Likewise.
28811 * stdio-common/test_rdwr.c (main): Likewise.
28812 * stdio-common/tfformat.c (matches): Likewise.
28813 * stdio-common/vfprintf.c (outchar): Likewise.
28814 (printf_unknown): Likewise.
28815 (buffered_vfprintf): Likewise.
28816 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
28817 * stdio-common/xbug.c (AppendToBuffer): Likewise.
28818 (ReadFile): Likewise.
28819 * stdlib/qsort.c (SWAP): Likewise.
28820 (_quicksort): Likewise.
28821 * stdlib/setenv.c (__add_to_environ): Likewise.
28822 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
28823 * stdlib/strtol_l.c (__strtol_l): Likewise.
28824 * stdlib/tst-strtod.c (main): Likewise.
28825 * stdlib/tst-strtol.c (main): Likewise.
28826 * stdlib/tst-strtoll.c (main): Likewise.
28827 * string/bits/string2.h (__strcmp_cc): Likewise.
28828 (__strcmp_cg): Likewise.
28829 (__strcspn_c1): Likewise.
28830 (__strcspn_c2): Likewise.
28831 (__strcspn_c3): Likewise.
28832 (__strspn_c1): Likewise.
28833 (__strspn_c2): Likewise.
28834 (__strspn_c3): Likewise.
28835 (__strsep_1c): Likewise.
28836 (__strsep_2c): Likewise.
28837 (__strsep_3c): Likewise.
28838 * string/memccpy.c (__memccpy): Likewise.
28839 * string/stpcpy.c (__stpcpy): Likewise.
28840 * string/strcmp.c (strcmp): Likewise.
28841 * string/strrchr.c (strrchr): Likewise.
28842 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
28843 Likewise.
28844 * sysdeps/mach/hurd/getcwd.c
28845 (_hurd_canonicalize_directory_name_internal): Likewise.
28846 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
28847 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
28848 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
28849 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
28850 Likewise, in both definitions.
28851 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
28852 definitions.
28853 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
28854 64] (__bswap_64): Likewise.
28855 * time/test_time.c (main): Likewise.
28856 * time/tzfile.c (__tzfile_read): Likewise.
28857 (__tzfile_compute): Likewise.
28858 * time/tzset.c (__tzset_parse_tz): Likewise.
28859 (tzset_internal): Likewise.
28860 (compute_change): Likewise.
28861 * wcsmbs/wcscat.c (__wcscat): Likewise.
28862 * wcsmbs/wcschr.c (wcschr): Likewise.
28863 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28864 * wcsmbs/wcscspn.c (wcscspn): Likewise.
28865 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28866 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
28867 * wcsmbs/wcsspn.c (wcsspn): Likewise.
28868 * wcsmbs/wcsstr.c (wcsstr): Likewise.
28869 * wcsmbs/wmemchr.c (wmemchr): Likewise.
28870 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28871 * wcsmbs/wmemset.c (wmemset): Likewise.
28872
9e54314b
JM
288732013-06-06 Joseph Myers <joseph@codesourcery.com>
28874
28875 * scripts/config.guess: Update to version 2013-05-16.
28876 * scripts/config.sub: Update to version 2013-04-24.
28877 * scripts/install-sh: Update to version 2011-11-20.07.
28878 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
28879 * scripts/move-if-change: Update to version 2012-01-06 07:23.
28880
350635a5
OB
288812013-06-06 Ondřej Bílka <neleai@seznam.cz>
28882
28883 * debug/fgetws_u_chk.c: Fix leading whitespaces.
28884 * elf/sln.c: Likewise.
28885 * hurd/hurd/ioctl.h: Likewise.
28886 * hurd/hurdmalloc.c: Likewise.
28887 * hurd/xattr.c: Likewise.
28888 * include/shlib-compat.h: Likewise.
28889 * inet/ruserpass.c: Likewise.
28890 * libio/iofgets_u.c: Likewise.
28891 * libio/iofgetws_u.c: Likewise.
28892 * locale/programs/ld-identification.c: Likewise.
28893 * locale/programs/ld-time.c: Likewise.
28894 * mach/msg-destroy.c: Likewise.
28895 * nss/nss_files/files-netgrp.c: Likewise.
28896 * resolv/res_data.c: Likewise.
28897 * soft-fp/op-1.h: Likewise.
28898 * soft-fp/op-2.h: Likewise.
28899 * soft-fp/op-4.h: Likewise.
28900 * soft-fp/op-common.h: Likewise.
28901 * stdio-common/printf_fphex.c: Likewise.
28902 * stdlib/strtod_l.c: Likewise.
28903 * sunrpc/rpc/clnt.h: Likewise.
28904 * sysdeps/generic/framestate.c: Likewise.
28905 * sysdeps/i386/bsd-_setjmp.S: Likewise.
28906 * sysdeps/i386/bsd-setjmp.S: Likewise.
28907 * sysdeps/i386/__longjmp.S: Likewise.
28908 * sysdeps/i386/setjmp.S: Likewise.
28909 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28910 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28911 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28912 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28913 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28914 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28915 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28916 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28917 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28918 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28919 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28920 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28921 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28922 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28923 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28924 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28925 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28926 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
28927 * sysdeps/ieee754/support.c: Likewise.
28928 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28929 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
28930 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
28931 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
28932 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
28933 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
28934 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
28935 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
28936 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
28937 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
28938 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
28939 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
28940 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
28941 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
28942 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
28943 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
28944 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28946
44a988af
OB
289472013-06-05 Ondřej Bílka <neleai@seznam.cz>
28948
25506f09 28949 * posix/transbug.c: Remove executable mode.
44a988af 28950
9c84384c
JM
289512013-06-05 Joseph Myers <joseph@codesourcery.com>
28952
28953 * crypt/speeds.c: Remove trailing whitespace.
28954 * dlfcn/default.c: Likewise.
28955 * elf/ifuncdep2.c: Likewise.
28956 * elf/ifuncmain1.c: Likewise.
28957 * elf/ifuncmain1vis.c: Likewise.
28958 * elf/testobj.h: Likewise.
28959 * elf/tst-stackguard1.c: Likewise.
28960 * gmon/sys/gmon.h: Likewise.
28961 * hurd/hurdmsg.c: Likewise.
28962 * hurd/new-fd.c: Likewise.
28963 * hurd/ports-get.c: Likewise.
28964 * iconvdata/ibm1008_420.c: Likewise.
28965 * inet/tst-getni1.c: Likewise.
28966 * inet/tst-getni2.c: Likewise.
28967 * libio/ioungetc.c: Likewise.
28968 * libio/wfiledoalloc.c: Likewise.
28969 * manual/libm-err-tab.pl: Likewise.
28970 * math/w_dremf.c: Likewise.
28971 * misc/ftruncate.c: Likewise.
28972 * posix/bug-glob2.c: Likewise.
28973 * posix/tst-pcre.c: Likewise.
28974 * posix/wait4.c: Likewise.
28975 * resolv/README: Likewise.
28976 * resolv/res_debug.h: Likewise.
28977 * resolv/tst-inet_ntop.c: Likewise.
28978 * setjmp/bug269-setjmp.c: Likewise.
28979 * soft-fp/extended.h: Likewise.
28980 * soft-fp/op-1.h: Likewise.
28981 * soft-fp/op-2.h: Likewise.
28982 * soft-fp/op-4.h: Likewise.
28983 * soft-fp/op-8.h: Likewise.
28984 * soft-fp/testit.c: Likewise.
28985 * stdio-common/bug16.c: Likewise.
28986 * stdlib/random.c: Likewise.
28987 * sunrpc/rpcsvc/rquota.x: Likewise.
28988 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
28989 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28990 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28991 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28992 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28993 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28994 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28995 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28996 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28997 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28998 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28999 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29000 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29001 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29002 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29003 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29004 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29005 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29006 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29007 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29008 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29009 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29010 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29011 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29012 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29013 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29014 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29015 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29016 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29017 * sysdeps/ieee754/s_lib_version.c: Likewise.
29018 * sysdeps/mach/hurd/check_fds.c: Likewise.
29019 * sysdeps/mach/hurd/getsockname.c: Likewise.
29020 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29021 * sysdeps/mach/hurd/recvfrom.c: Likewise.
29022 * sysdeps/powerpc/bits/link.h: Likewise.
29023 * sysdeps/powerpc/dl-procinfo.c: Likewise.
29024 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29025 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29026 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29027 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29028 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29029 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
29030 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29031 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
29032 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29033 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29034 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29035 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
29036 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29037 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29038 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29039 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29040 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29041 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29042 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29043 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29044 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
29045 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29046 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29047 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
29048 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29049 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29050 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29051 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29052 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29053 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29054 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29055 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29056 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29057 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
29058 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29059 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
29060 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29061 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29062 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
29063 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
29064 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
29065 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
29066 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
29067 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29068 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
29069 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
29070 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29071 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
29072 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
29073 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29074 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29075 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29076 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29077 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
29078 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29079 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29080 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29081 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
29082 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29083 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
29084 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
29085 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
29086 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29087 * sysdeps/powerpc/sysdep.h: Likewise.
29088 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29089 * sysdeps/s390/s390-64/sub_n.S: Likewise.
29090 * sysdeps/sh/dl-trampoline.S: Likewise.
29091 * sysdeps/sh/memset.S: Likewise.
29092 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
29093 * sysdeps/sh/strlen.S: Likewise.
29094 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
29095 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
29096 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
29097 * sysdeps/sparc/sparc32/rem.S: Likewise.
29098 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
29099 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
29100 * sysdeps/sparc/sparc32/strchr.S: Likewise.
29101 * sysdeps/sparc/sparc32/udiv.S: Likewise.
29102 * sysdeps/sparc/sparc32/urem.S: Likewise.
29103 * sysdeps/sparc/sparc64/add_n.S: Likewise.
29104 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29105 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
29106 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
29107 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
29108 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
29109 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29110 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
29111 * sysdeps/unix/bsd/times.c: Likewise.
29112 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
29113 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
29114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29117 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
29118 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29119 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
29120 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
29121 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
29122 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
29123 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29124 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
29125 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29126 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29127 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29128 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29129 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29130 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29131 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29132 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29133 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29134 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29135 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29136 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
29137 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29138 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
29139 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29140 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
29141 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
29142 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
29143 * sysdeps/x86_64/strcspn.S: Likewise.
29144
869378a5
RA
291452013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29146
29147 * locale/C-translit.h: Revert #include <stdint.h> because this is a
29148 generated file. Regenerate properly from gen-translit.pl.
29149 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
29150 locale/C-translit.h.
29151
840e2943
AS
291522013-06-05 Andreas Schwab <schwab@suse.de>
29153
29154 [BZ #15100]
29155 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
29156 week as 6 instead of -1.
29157 * time/tst-strptime.c (day_tests): Add test case.
29158
4c60cb0c
SP
291592013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29160
29161 * sysdeps/generic/math_private.h
29162 (libc_feholdexcept_setround_53bit): Replace with
29163 libc_feholdsetround_53bit.
29164 (libc_feupdateenv_53bit): Replace with
29165 libc_feresetround_53bit.
29166 (SET_RESTORE_ROUND_53BIT): Adjust.
29167
d180203e
SP
291682013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29169
96df079a
SP
29170 * string/test-strchrnul.c: Add copyright header.
29171
d180203e
SP
29172 * posix/tst-getaddrinfo4.c: Increase test timeout.
29173
8b0ccb2d
CD
291742013-06-03 Carlos O'Donell <carlos@redhat.com>
29175
29176 [BZ #15536]
29177 * math/libm-test.inc (MAX_EXP): Remove
29178 (MIN_EXP): Define.
29179 (ulp): Use MIN_EXP - MANT_DIG.
29180 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
29181
3b3c4d40
CD
291822013-05-31 Carlos O'Donell <carlos@redhat.com>
29183
29184 * po/be.po: Revert last change.
29185 * po/zh_CN.po: Likewise.
29186 * po/header.pot: Likewise.
29187
fab7ce3f
JM
291882013-05-31 Joseph Myers <joseph@codesourcery.com>
29189
29190 * Makefile ($(common-objpfx)linkobj/libc.so): Define
29191 link-libc-deps to empty as target-specific variable.
29192 * Makerules (link-libc-args): New variable.
29193 (libc-for-link): Likewise.
29194 (link-libc-deps): Likewise.
29195 (lib%.so): Depend on $(link-libc-deps). Link with
29196 $(link-libc-args).
29197 (build-module): Link with $(link-libc-args).
29198 (build-module-asneeded): Likewise.
29199 (build-module-helper-objlist): Filter out $(link-libc-deps) from
29200 list of objects.
29201 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29202 target-specific variable.
29203 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29204 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29205 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29206 libc.
29207 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29208 libc and ld.so.
29209 ($(objpfx)libpcprofile.so): Likewise.
29210 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29211 libc_nonshared.a.
29212 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29213 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29214 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29215 $(link-libc-deps).
29216 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29217 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29218 * login/Makefile ($(objpfx)libutil.so): Likewise.
29219 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29220 * math/Makefile ($(objpfx)libm.so): Likewise.
29221 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29222 $(objpfx)libnsl.so): Define libc-for-link as target-specific
29223 variable instead of depending directly on libc.
29224 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29225 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29226 $(link-libc-deps).
29227 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29228 libc.
29229 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29230 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29231 ($(objpfx)libanl.so): Likewise.
29232 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29233 ld.so.
29234 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29235 $(link-libc-deps).
29236 * sysdeps/i386/fpu/Makefile: Remove file.
29237 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29238 ($(objpfx)libm.so): Remove dependency on ld.so.
29239
eca5920c
PF
292402013-05-30 Patsy Franklin <pfrankli@redhat.com>
29241
29242 [BZ # 15553]
29243 * nis/yp_xdr.c (XDRMAXNAME): Define.
29244 (XDRMAXRECORD): Define.
29245 (xdr_domainname): Use XDRMAXNAME.
29246 (xdr_mapname): Likewise.
29247 (xdr_peername): Likewise.
29248 (xdr_keydat): Use XDRMAXRECORD.
29249 (xdr_valdat): Likewise.
29250
292512013-05-30 Jeff Law <law@redhat.com>
96945714
JL
29252
29253 [BZ #14256]
29254 * manual/errno.texi (ESTALE): Update to account for more than
29255 just NFS file systems.
29256 * sysdeps/gnu/errlist.c: Regenerated.
29257
b9375348
SP
292582013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29259
29260 [BZ #15465]
29261 * elf/Makefile (tests): Add tst-null-argv.
29262 (modules-names): Add tst-null-argv-lib.
29263 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29264 (tst-null-argv-ENV): Set environment for tst-null-argv.
29265 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29266 (RTLD_PROGNAME): New macro.
29267 * elf/tst-null-argv.c: New test case.
29268 * elf/tst-null-argv-lib.c: Library for test case.
29269 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29270 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29271 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29272 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29273 * elf/dl-init.c (call_init): Likewise.
29274 (_dl_init): Likewise.
29275 * elf/dl-load.c (print_search_path): Likewise.
29276 (_dl_map_object): Likewise.
29277 * elf/dl-lookup.c (do_lookup_x): Likewise.
29278 (add_dependency): Likewise.
29279 (_dl_lookup_symbol_x): Likewise.
29280 (_dl_debug_bindings): Likewise.
29281 * elf/dl-open.c (_dl_show_scope): Likewise.
29282 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29283 * elf/dl-version.c (match_symbol): Likewise.
29284 (_dl_check_map_versions): Likewise.
29285 * elf/rtld.c (dl_main): Likewise.
29286 (print_unresolved): Use RTLD_PROGNAME.
29287 (print_missing_version): Likewise.
29288 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29289 (elf_machine_rela): Likewise.
29290 * sysdeps/powerpc/powerpc32/dl-machine.c
29291 (__process_machine_rela): Likewise.
29292 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29293 Likewise.
29294 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29295 Likewise.
29296 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29297 Likewise.
29298 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29299 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29300 Likewise.
29301 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29302 Likewise.
29303 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29304
8a9f20c8
CD
293052013-05-28 Carlos O'Donell <carlos@redhat.com>
29306
29307 * po/be.po: Add descriptive title.
29308 * po/zh_CN.po: Likewise.
29309 * po/header.pot: Likewise.
29310
0e60d68e
MF
293112013-05-28 Mike Frysinger <vapier@gentoo.org>
29312
29313 * locale/programs/locarchive.c (create_archive): Inlucde fname in
29314 error message.
29315 (enlarge_archive): Likewise.
29316
56b672e9
BN
293172013-05-28 Ben North <ben@redfrontdoor.org>
29318
29319 * manual/arith.texi (frexp): It is the magnitude of the return
29320 value which lies in [0.5, 1), not the return value itself.
29321
5e056687
AZ
293222013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29323
29324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29325
2b66ef5d
TS
293262013-05-26 Thomas Schwinge <thomas@codesourcery.com>
29327
528c2405
TS
29328 * stdio-common/bug26.c (main): Correct fscanf template.
29329
07b4c13d
TS
29330 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29331 declare _dl_skip_args.
29332
ec9dd97c
TS
29333 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29334 Don't declare.
29335
2b66ef5d
TS
29336 * manual/platform.texi: Add missing @end deftypefun.
29337
4f8dfe27
JM
293382013-05-24 Joseph Myers <joseph@codesourcery.com>
29339
0323d086
JM
29340 [BZ #15529]
29341 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29342 bit of mantissa of 2^16382.
29343 * math/libm-test.inc (hypot_test_data): Add more tests.
29344
dd4259b9
JM
29345 * math/libm-test.inc: Add drem and pow10 to list of tested
29346 functions.
29347 (pow10_test): New function.
29348 (drem_test): Likewise.
29349 (drem_test_tonearest): Likewise.
29350 (drem_test_towardzero): Likewise.
29351 (drem_test_downward): Likewise.
29352 (drem_test_upward): Likewise.
29353 (main): Call the new functions.
29354
4f8dfe27
JM
29355 * math/libm-test.inc (finite_test_data): Remove.
29356 (finite_test): Run tests from isfinite_test_data.
29357 (gamma_test_data): Remove.
29358 (gamma_test): Run tests from lgamma_test_data.
29359 * sysdeps/i386/fpu/libm-test-ulps: Update.
29360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29361
d116b7c4
AZ
293622013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29363
29364 * manual/platform.texi: Add PowerPC PPR function set documentation.
29365 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29366 implementation.
29367
e96e3767
CD
293682013-05-24 Carlos O'Donell <carlos@redhat.com>
29369
29370 * math/libm-test.inc (MAX_EXP): Define.
29371 (ULPDIFF): Define.
29372 (ulp): New function.
29373 (check_float_internal): Use ULPDIFF.
29374 (cpow_test): Disable failing test.
29375 (check_ulp): Test ulp() implemetnation.
29376 (main): Call check_ulp before starting tests.
29377
b679a606
JM
293782013-05-24 Joseph Myers <joseph@codesourcery.com>
29379
e8bdba36
JM
29380 * math/gen-libm-test.pl (generate_testfile): Do not handle
29381 START_DATA and END_DATA.
29382 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29383 END_DATA.
29384 (acos_tonearest_test_data): Likewise.
29385 (acos_towardzero_test_data): Likewise.
29386 (acos_downward_test_data): Likewise.
29387 (acos_upward_test_data): Likewise.
29388 (acosh_test_data): Likewise.
29389 (asin_test_data): Likewise.
29390 (asin_tonearest_test_data): Likewise.
29391 (asin_towardzero_test_data): Likewise.
29392 (asin_downward_test_data): Likewise.
29393 (asin_upward_test_data): Likewise.
29394 (asinh_test_data): Likewise.
29395 (atan_test_data): Likewise.
29396 (atanh_test_data): Likewise.
29397 (atan2_test_data): Likewise.
29398 (cabs_test_data): Likewise.
29399 (cacos_test_data): Likewise.
29400 (cacosh_test_data): Likewise.
29401 (carg_test_data): Likewise.
29402 (casin_test_data): Likewise.
29403 (casinh_test_data): Likewise.
29404 (catan_test_data): Likewise.
29405 (catanh_test_data): Likewise.
29406 (cbrt_test_data): Likewise.
29407 (ccos_test_data): Likewise.
29408 (ccosh_test_data): Likewise.
29409 (ceil_test_data): Likewise.
29410 (cexp_test_data): Likewise.
29411 (cimag_test_data): Likewise.
29412 (clog_test_data): Likewise.
29413 (clog10_test_data): Likewise.
29414 (conj_test_data): Likewise.
29415 (copysign_test_data): Likewise.
29416 (cos_test_data): Likewise.
29417 (cos_tonearest_test_data): Likewise.
29418 (cos_towardzero_test_data): Likewise.
29419 (cos_downward_test_data): Likewise.
29420 (cos_upward_test_data): Likewise.
29421 (cosh_test_data): Likewise.
29422 (cosh_tonearest_test_data): Likewise.
29423 (cosh_towardzero_test_data): Likewise.
29424 (cosh_downward_test_data): Likewise.
29425 (cosh_upward_test_data): Likewise.
29426 (cpow_test_data): Likewise.
29427 (cproj_test_data): Likewise.
29428 (creal_test_data): Likewise.
29429 (csin_test_data): Likewise.
29430 (csinh_test_data): Likewise.
29431 (csqrt_test_data): Likewise.
29432 (ctan_test_data): Likewise.
29433 (ctan_tonearest_test_data): Likewise.
29434 (ctan_towardzero_test_data): Likewise.
29435 (ctan_downward_test_data): Likewise.
29436 (ctan_upward_test_data): Likewise.
29437 (ctanh_test_data): Likewise.
29438 (ctanh_tonearest_test_data): Likewise.
29439 (ctanh_towardzero_test_data): Likewise.
29440 (ctanh_downward_test_data): Likewise.
29441 (ctanh_upward_test_data): Likewise.
29442 (erf_test_data): Likewise.
29443 (erfc_test_data): Likewise.
29444 (exp_test_data): Likewise.
29445 (exp_tonearest_test_data): Likewise.
29446 (exp_towardzero_test_data): Likewise.
29447 (exp_downward_test_data): Likewise.
29448 (exp_upward_test_data): Likewise.
29449 (exp10_test_data): Likewise.
29450 (exp2_test_data): Likewise.
29451 (expm1_test_data): Likewise.
29452 (fabs_test_data): Likewise.
29453 (fdim_test_data): Likewise.
29454 (finite_test_data): Likewise.
29455 (floor_test_data): Likewise.
29456 (fma_test_data): Likewise.
29457 (fma_towardzero_test_data): Likewise.
29458 (fma_downward_test_data): Likewise.
29459 (fma_upward_test_data): Likewise.
29460 (fmax_test_data): Likewise.
29461 (fmin_test_data): Likewise.
29462 (fmod_test_data): Likewise.
29463 (fpclassify_test_data): Likewise.
29464 (frexp_test_data): Likewise.
29465 (gamma_test_data): Likewise.
29466 (hypot_test_data): Likewise.
29467 (ilogb_test_data): Likewise.
29468 (isfinite_test_data): Likewise.
29469 (isgreater_test_data): Likewise.
29470 (isgreaterequal_test_data): Likewise.
29471 (isinf_test_data): Likewise.
29472 (isless_test_data): Likewise.
29473 (islessequal_test_data): Likewise.
29474 (islessgreater_test_data): Likewise.
29475 (isnan_test_data): Likewise.
29476 (isnormal_test_data): Likewise.
29477 (issignaling_test_data): Likewise.
29478 (isunordered_test_data): Likewise.
29479 (j0_test_data): Likewise.
29480 (j1_test_data): Likewise.
29481 (jn_test_data): Likewise.
29482 (ldexp_test_data): Likewise.
29483 (lgamma_test_data): Likewise.
29484 (lrint_test_data): Likewise.
29485 (lrint_tonearest_test_data): Likewise.
29486 (lrint_towardzero_test_data): Likewise.
29487 (lrint_downward_test_data): Likewise.
29488 (lrint_upward_test_data): Likewise.
29489 (llrint_test_data): Likewise.
29490 (llrint_tonearest_test_data): Likewise.
29491 (llrint_towardzero_test_data): Likewise.
29492 (llrint_downward_test_data): Likewise.
29493 (llrint_upward_test_data): Likewise.
29494 (log_test_data): Likewise.
29495 (log10_test_data): Likewise.
29496 (log1p_test_data): Likewise.
29497 (log2_test_data): Likewise.
29498 (logb_test_data): Likewise.
29499 (logb_downward_test_data): Likewise.
29500 (lround_test_data): Likewise.
29501 (llround_test_data): Likewise.
29502 (modf_test_data): Likewise.
29503 (nearbyint_test_data): Likewise.
29504 (nextafter_test_data): Likewise.
29505 (nexttoward_test_data): Likewise.
29506 (pow_test_data): Likewise.
29507 (pow_tonearest_test_data): Likewise.
29508 (pow_towardzero_test_data): Likewise.
29509 (pow_downward_test_data): Likewise.
29510 (pow_upward_test_data): Likewise.
29511 (remainder_test_data): Likewise.
29512 (remainder_tonearest_test_data): Likewise.
29513 (remainder_towardzero_test_data): Likewise.
29514 (remainder_downward_test_data): Likewise.
29515 (remainder_upward_test_data): Likewise.
29516 (remquo_test_data): Likewise.
29517 (rint_test_data): Likewise.
29518 (rint_tonearest_test_data): Likewise.
29519 (rint_towardzero_test_data): Likewise.
29520 (rint_downward_test_data): Likewise.
29521 (rint_upward_test_data): Likewise.
29522 (round_test_data): Likewise.
29523 (scalb_test_data): Likewise.
29524 (scalbn_test_data): Likewise.
29525 (scalbln_test_data): Likewise.
29526 (signbit_test_data): Likewise.
29527 (sin_test_data): Likewise.
29528 (sin_tonearest_test_data): Likewise.
29529 (sin_towardzero_test_data): Likewise.
29530 (sin_downward_test_data): Likewise.
29531 (sin_upward_test_data): Likewise.
29532 (sincos_test_data): Likewise.
29533 (sinh_test_data): Likewise.
29534 (sinh_tonearest_test_data): Likewise.
29535 (sinh_towardzero_test_data): Likewise.
29536 (sinh_downward_test_data): Likewise.
29537 (sinh_upward_test_data): Likewise.
29538 (sqrt_test_data): Likewise.
29539 (tan_test_data): Likewise.
29540 (tan_tonearest_test_data): Likewise.
29541 (tan_towardzero_test_data): Likewise.
29542 (tan_downward_test_data): Likewise.
29543 (tan_upward_test_data): Likewise.
29544 (tanh_test_data): Likewise.
29545 (tgamma_test_data): Likewise.
29546 (trunc_test_data): Likewise.
29547 (y0_test_data): Likewise.
29548 (y1_test_data): Likewise.
29549 (yn_test_data): Likewise.
29550 (significand_test_data): Likewise.
29551
b679a606
JM
29552 * math/gen-libm-test.pl (@functions): Remove variable.
29553 (generate_testfile): Don't handle START and END lines.
29554 * math/libm-test.inc (START): New macro.
29555 (END): Likewise.
29556 (END_COMPLEX): Likewise.
29557 (acos_test): Use END macro without arguments.
29558 (acos_test_tonearest): Likewise.
29559 (acos_test_towardzero): Likewise.
29560 (acos_test_downward): Likewise.
29561 (acos_test_upward): Likewise.
29562 (acosh_test): Likewise.
29563 (asin_test): Likewise.
29564 (asin_test_tonearest): Likewise.
29565 (asin_test_towardzero): Likewise.
29566 (asin_test_downward): Likewise.
29567 (asin_test_upward): Likewise.
29568 (asinh_test): Likewise.
29569 (atan_test): Likewise.
29570 (atanh_test): Likewise.
29571 (atan2_test): Likewise.
29572 (cabs_test): Likewise.
29573 (cacos_test): Use END_COMPLEX macro without arguments.
29574 (cacosh_test): Likewise.
29575 (carg_test): Use END macro without arguments.
29576 (casin_test): Use END_COMPLEX macro without arguments.
29577 (casinh_test): Likewise.
29578 (catan_test): Likewise.
29579 (catanh_test): Likewise.
29580 (cbrt_test): Use END macro without arguments.
29581 (ccos_test): Use END_COMPLEX macro without arguments.
29582 (ccosh_test): Likewise.
29583 (ceil_test): Use END macro without arguments.
29584 (cexp_test): Use END_COMPLEX macro without arguments.
29585 (cimag_test): Use END macro without arguments.
29586 (clog_test): Use END_COMPLEX macro without arguments.
29587 (clog10_test): Likewise.
29588 (conj_test): Likewise.
29589 (copysign_test): Use END macro without arguments.
29590 (cos_test): Likewise.
29591 (cos_test_tonearest): Likewise.
29592 (cos_test_towardzero): Likewise.
29593 (cos_test_downward): Likewise.
29594 (cos_test_upward): Likewise.
29595 (cosh_test): Likewise.
29596 (cosh_test_tonearest): Likewise.
29597 (cosh_test_towardzero): Likewise.
29598 (cosh_test_downward): Likewise.
29599 (cosh_test_upward): Likewise.
29600 (cpow_test): Use END_COMPLEX macro without arguments.
29601 (cproj_test): Likewise.
29602 (creal_test): Use END macro without arguments.
29603 (csin_test): Use END_COMPLEX macro without arguments.
29604 (csinh_test): Likewise.
29605 (csqrt_test): Likewise.
29606 (ctan_test): Likewise.
29607 (ctan_test_tonearest): Likewise.
29608 (ctan_test_towardzero): Likewise.
29609 (ctan_test_downward): Likewise.
29610 (ctan_test_upward): Likewise.
29611 (ctanh_test): Likewise.
29612 (ctanh_test_tonearest): Likewise.
29613 (ctanh_test_towardzero): Likewise.
29614 (ctanh_test_downward): Likewise.
29615 (ctanh_test_upward): Likewise.
29616 (erf_test): Use END macro without arguments.
29617 (erfc_test): Likewise.
29618 (exp_test): Likewise.
29619 (exp_test_tonearest): Likewise.
29620 (exp_test_towardzero): Likewise.
29621 (exp_test_downward): Likewise.
29622 (exp_test_upward): Likewise.
29623 (exp10_test): Likewise.
29624 (exp2_test): Likewise.
29625 (expm1_test): Likewise.
29626 (fabs_test): Likewise.
29627 (fdim_test): Likewise.
29628 (finite_test): Likewise.
29629 (floor_test): Likewise.
29630 (fma_test): Likewise.
29631 (fma_test_towardzero): Likewise.
29632 (fma_test_downward): Likewise.
29633 (fma_test_upward): Likewise.
29634 (fmax_test): Likewise.
29635 (fmin_test): Likewise.
29636 (fmod_test): Likewise.
29637 (fpclassify_test): Likewise.
29638 (frexp_test): Likewise.
29639 (gamma_test): Likewise.
29640 (hypot_test): Likewise.
29641 (ilogb_test): Likewise.
29642 (isfinite_test): Likewise.
29643 (isgreater_test): Likewise.
29644 (isgreaterequal_test): Likewise.
29645 (isinf_test): Likewise.
29646 (isless_test): Likewise.
29647 (islessequal_test): Likewise.
29648 (islessgreater_test): Likewise.
29649 (isnan_test): Likewise.
29650 (isnormal_test): Likewise.
29651 (issignaling_test): Likewise.
29652 (isunordered_test): Likewise.
29653 (j0_test): Likewise.
29654 (j1_test): Likewise.
29655 (jn_test): Likewise.
29656 (ldexp_test): Likewise.
29657 (lgamma_test): Likewise.
29658 (lrint_test): Likewise.
29659 (lrint_test_tonearest): Likewise.
29660 (lrint_test_towardzero): Likewise.
29661 (lrint_test_downward): Likewise.
29662 (lrint_test_upward): Likewise.
29663 (llrint_test): Likewise.
29664 (llrint_test_tonearest): Likewise.
29665 (llrint_test_towardzero): Likewise.
29666 (llrint_test_downward): Likewise.
29667 (llrint_test_upward): Likewise.
29668 (log_test): Likewise.
29669 (log10_test): Likewise.
29670 (log1p_test): Likewise.
29671 (log2_test): Likewise.
29672 (logb_test): Likewise.
29673 (logb_test_downward): Likewise.
29674 (lround_test): Likewise.
29675 (llround_test): Likewise.
29676 (modf_test): Likewise.
29677 (nearbyint_test): Likewise.
29678 (nextafter_test): Likewise.
29679 (nexttoward_test): Likewise.
29680 (pow_test): Likewise.
29681 (pow_test_tonearest): Likewise.
29682 (pow_test_towardzero): Likewise.
29683 (pow_test_downward): Likewise.
29684 (pow_test_upward): Likewise.
29685 (remainder_test): Likewise.
29686 (remainder_test_tonearest): Likewise.
29687 (remainder_test_towardzero): Likewise.
29688 (remainder_test_downward): Likewise.
29689 (remainder_test_upward): Likewise.
29690 (remquo_test): Likewise.
29691 (rint_test): Likewise.
29692 (rint_test_tonearest): Likewise.
29693 (rint_test_towardzero): Likewise.
29694 (rint_test_downward): Likewise.
29695 (rint_test_upward): Likewise.
29696 (round_test): Likewise.
29697 (scalb_test): Likewise.
29698 (scalbn_test): Likewise.
29699 (scalbln_test): Likewise.
29700 (signbit_test): Likewise.
29701 (sin_test): Likewise.
29702 (sin_test_tonearest): Likewise.
29703 (sin_test_towardzero): Likewise.
29704 (sin_test_downward): Likewise.
29705 (sin_test_upward): Likewise.
29706 (sincos_test): Likewise.
29707 (sinh_test): Likewise.
29708 (sinh_test_tonearest): Likewise.
29709 (sinh_test_towardzero): Likewise.
29710 (sinh_test_downward): Likewise.
29711 (sinh_test_upward): Likewise.
29712 (sqrt_test): Likewise.
29713 (tan_test): Likewise.
29714 (tan_test_tonearest): Likewise.
29715 (tan_test_towardzero): Likewise.
29716 (tan_test_downward): Likewise.
29717 (tan_test_upward): Likewise.
29718 (tanh_test): Likewise.
29719 (tgamma_test): Likewise.
29720 (trunc_test): Likewise.
29721 (y0_test): Likewise.
29722 (y1_test): Likewise.
29723 (yn_test): Likewise.
29724 (significand_test): Likewise.
29725
bae143d2
OB
297262013-05-24 Ondřej Bílka <neleai@seznam.cz>
29727
29728 [BZ #15381]
29729 * libio/genops.c (_IO_no_init): Initialize wide struct info.
29730
9323d39b
EM
297312013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
29732
d4ea44a0 29733 [BZ #14894]
9323d39b
EM
29734 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
29735 __ppc_mdoio and __ppc_mdoom.
29736 * manual/platform.texi: Document new functions __ppc_yield,
29737 __ppc_mdoio and __ppc_mdoom.
29738
13e23af7
CD
297392013-05-22 Carlos O'Donell <carlos@redhat.com>
29740
29741 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
29742 (main): Mention "tls" pseudo-hwcap is legacy.
29743 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
29744
351fe550
JM
297452013-05-22 Joseph Myers <joseph@codesourcery.com>
29746
29747 * math/gen-libm-test.pl (parse_args): Output only string of
29748 arguments as text for test name, not full call or descriptions of
29749 tests for extra outputs.
29750 (generate_testfile): Do not pass function name to parse_args.
29751 Generate this_func variable from START.
29752 * math/libm-test.inc (struct test_f_f_data): Rename test_name
29753 field to arg_str.
29754 (struct test_ff_f_data): Likewise.
29755 (test_ff_f_data_nexttoward): Likewise.
29756 (struct test_fi_f_data): Likewise.
29757 (struct test_fl_f_data): Likewise.
29758 (struct test_if_f_data): Likewise.
29759 (struct test_fff_f_data): Likewise.
29760 (struct test_c_f_data): Likewise.
29761 (struct test_f_f1_data): Likewise. Remove field extra_name.
29762 (struct test_fF_f1_data): Likewise.
29763 (struct test_ffI_f1_data): Likewise.
29764 (struct test_c_c_data): Rename test_name field to arg_str.
29765 (struct test_cc_c_data): Likewise.
29766 (struct test_f_i_data): Likewise.
29767 (struct test_ff_i_data): Likewise.
29768 (struct test_f_l_data): Likewise.
29769 (struct test_f_L_data): Likewise.
29770 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
29771 and extra2_name.
29772 (COMMON_TEST_SETUP): New macro.
29773 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
29774 (COMMON_TEST_CLEANUP): Likewise.
29775 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
29776 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
29777 macros.
29778 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
29779 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
29780 macros.
29781 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
29782 (RUN_TEST_fff_f): Take argument string. Call new setup and
29783 cleanup macros.
29784 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
29785 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
29786 macros.
29787 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
29788 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
29789 macros.
29790 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29791 (RUN_TEST_fF_f1): Take argument string. Call new setup and
29792 cleanup macros.
29793 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29794 (RUN_TEST_fI_f1): Take argument string. Call new setup and
29795 cleanup macros.
29796 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29797 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
29798 cleanup macros.
29799 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29800 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
29801 macros.
29802 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
29803 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
29804 macros.
29805 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
29806 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
29807 macros.
29808 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
29809 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
29810 cleanup macros.
29811 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
29812 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
29813 cleanup macros.
29814 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
29815 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
29816 macros.
29817 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
29818 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
29819 cleanup macros.
29820 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
29821 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
29822 macros.
29823 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
29824 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
29825 macros.
29826 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
29827 (RUN_TEST_fFF_11): Take argument string. Call new setup and
29828 cleanup macros.
29829 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
29830
85118d4d
EBM
298312013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
29832
29833 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
29834 to _sifields.sigfault.
29835 (si_addr_lsb): Define new macro.
29836 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29837 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29838 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
29839
7a44c18f
CD
298402013-05-03 Carlos O'Donell <carlos at redhat.com>
29841
29842 [BZ #15441]
29843 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
29844 returns -1.
29845 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
29846 null return -1.
29847 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
29848 loading the domain.
29849
b50a7181
JM
298502013-05-22 Joseph Myers <joseph@codesourcery.com>
29851
29852 * math/gen-libm-test.pl (parse_args): Do not include expected
29853 result in test name.
29854 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
29855 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29856 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29857 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29858 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29860
051063c8
SP
298612013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29862
3ce9e010
SP
29863 * benchtests/Makefile: Sort function entries.
29864
051063c8
SP
29865 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
29866 tanh, asinh, acosh, atanh.
29867 * benchtests/acos-inputs: New file.
29868 * benchtests/acosh-inputs: New file.
29869 * benchtests/asin-inputs: New file.
29870 * benchtests/asinh-inputs: New file.
29871 * benchtests/atanh-inputs: New file.
29872 * benchtests/cosh-inputs: New file.
29873 * benchtests/log-inputs: New file.
29874 * benchtests/sinh-inputs: New file.
29875 * benchtests/tanh-inputs: New file.
29876
47c22455
DL
298772013-05-21 Dmitry V. Levin <ldv@altlinux.org>
29878
29879 [BZ #15339]
29880 * posix/tst-getaddrinfo4.c: New test.
29881 * posix/Makefile (tests): Add it.
29882
3d04f5db
SP
298832013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29884
29885 [BZ #15339]
29886 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
29887 when no services were used.
29888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
29889 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
29890
d5dd6189
AS
298912013-05-21 Andreas Schwab <schwab@suse.de>
29892
29893 [BZ #15014]
29894 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
29895 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
29896 successful.
29897 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
29898 redundant variable declarations and reallocation of buffer when
29899 parsing as IPv6 address. Always set NSS status when called from
29900 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
29901 buffer too small. Correct computation of needed size.
29902 * nss/Makefile (tests): Add test-digits-dots.
29903 * nss/test-digits-dots.c: New test.
29904
fef94eab
SP
299052013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29906
29907 * benchtests/Makefile: Remove instructions for adding
29908 benchmark tests.
29909 * benchtests/README: New file to explain how to execute and
29910 enhance the benchmark tests.
29911
e39adf43
AS
299122013-05-21 Andreas Schwab <schwab@suse.de>
29913
29914 [BZ #15493]
29915 * setjmp/Makefile (tests): Add tst-sigsetjmp.
29916 * setjmp/tst-sigsetjmp.c: New test.
29917
b2b671b6
OB
299182013-05-20 Ondřej Bílka <neleai@seznam.cz>
29919
29920 * sysdeps/x86_64/memset.S (memset): New implementation.
29921 (__bzero): Likewise.
29922 (__memset_tail): New function.
29923
2d48b41c
OB
299242013-05-20 Ondřej Bílka <neleai@seznam.cz>
29925
29926 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
29927 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
29928 __memcpy_sse2_unaligned ifunc selection.
29929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29930 Add memcpy-sse2-unaligned.S.
29931 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29932 Add: __memcpy_sse2_unaligned.
29933
f16cc3eb
JM
299342013-05-19 Joseph Myers <joseph@codesourcery.com>
29935
3e694268
JM
29936 [BZ #15490]
29937 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29938 math_force_eval before restoring floating-point envrionment.
29939 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
29940 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29941 Likewise.
29942 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
29943 <math_private.h>.
29944 (__nearbyintl): Use math_force_eval before restoring
29945 floating-point environment.
29946 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
29947
db62a907
JM
29948 * math/gen-libm-test.pl (special_functions): Remove.
29949 (parse_args): Don't handle TEST_extra. Handle functions with no
29950 return value.
29951 * math/libm-test.inc (struct test_sincos_data): Replace with
29952 struct test_fFF_11_data.
29953 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
29954 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
29955 (sincos_test_data): Change element type to struct
29956 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
29957 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
29958 RUN_TEST_LOOP_sincos.
29959 * math/README.libm-test: Don't mention special handling of
29960 individual functions.
29961 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
29962 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29963 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29964 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29965 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29967
f16cc3eb
JM
29968 * math/gen-libm-test.pl (get_variable): Remove function.
29969 (parse_args): Don't show pointer parameters to call in test
29970 names. Use "extra output N" in test names for extra outputs
29971 rather than naming variables.
29972
3779b5b6
JM
299732013-05-18 Joseph Myers <joseph@codesourcery.com>
29974
2ee094ff
JM
29975 [BZ #15488]
29976 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
29977 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
29978 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
29979 double tests.
29980 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
29981 disable.
29982 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
29983 check_long_double.
29984
3779b5b6
JM
29985 * math/gen-libm-test.pl (@tests): Remove variable.
29986 ($count): Likewise.
29987 (new_test): Remove function.
29988 (show_exceptions): New function.
29989 (special_functions): Use show_exceptions instead of new_test.
29990 (parse_args): Likewise.
29991 (generate_testfile): Pass only function name in generated call to
29992 print_max_error or print_complex_max_error.
29993 (get_ulps): Do not handle complex tests specially.
29994 (output_test): Rename to ...
29995 (get_all_ulps_for_test): ... this. Return a string rather than
29996 printing to a file. Require ulps to be present.
29997 (output_ulps): Generate arrays rather than #defines.
29998 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
29999 (struct ulp_data): New type.
30000 (BUILD_COMPLEX_ULP): Remove macro.
30001 (compare_ulp_data): New function.
30002 (find_ulps): Likewise.
30003 (find_test_ulps): Likewise.
30004 (find_function_ulps): Likewise.
30005 (find_complex_function_ulps): Likewise.
30006 (print_max_error): Determine allowed ulps using
30007 find_function_ulps.
30008 (print_complex_max_error): Determine allowed ulps using
30009 find_complex_function_ulps.
30010 (check_float_internal): Determine max ulps using find_test_ulps.
30011 (check_float): Do not take max_ulp parameter. Update call to
30012 check_float_internal.
30013 (check_complex): Likewise.
30014 (check_int): Do not take max_ulp parameter.
30015 (check_long): Likewise.
30016 (check_bool): Likewise.
30017 (check_longlong): Likewise.
30018 (struct test_f_f_data): Remove max_ulp field.
30019 (struct test_ff_f_data): Likewise.
30020 (struct test_ff_f_data_nexttoward): Likewise.
30021 (struct test_fi_f_data): Likewise.
30022 (struct test_fl_f_data): Likewise.
30023 (struct test_if_f_data): Likewise.
30024 (struct test_fff_f_data): Likewise.
30025 (struct test_c_f_data): Likewise.
30026 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30027 (struct test_fF_f1_data): Likewise.
30028 (struct test_ffI_f1_data): Likewise.
30029 (struct test_c_c_data): Remove max_ulp field.
30030 (struct test_cc_c_data): Likewise.
30031 (struct test_f_i_data): Likewise.
30032 (struct test_ff_i_data): Likewise.
30033 (struct test_f_l_data): Likewise.
30034 (struct test_f_L_data): Likewise.
30035 (struct test_sincos_data): Likewise.
30036 (RUN_TEST_f_f): Do not handle ulps.
30037 (RUN_TEST_LOOP_f_f): Likewise.
30038 (RUN_TEST_2_f): Likewise.
30039 (RUN_TEST_LOOP_2_f): Likewise.
30040 (RUN_TEST_fff_f): Likewise.
30041 (RUN_TEST_LOOP_fff_f): Likewise.
30042 (RUN_TEST_c_f): Likewise.
30043 (RUN_TEST_LOOP_c_f): Likewise.
30044 (RUN_TEST_f_f1): Likewise.
30045 (RUN_TEST_LOOP_f_f1): Likewise.
30046 (RUN_TEST_fF_f1): Likewise.
30047 (RUN_TEST_LOOP_fF_f1): Likewise.
30048 (RUN_TEST_fI_f1): Likewise.
30049 (RUN_TEST_LOOP_fI_f1): Likewise.
30050 (RUN_TEST_ffI_f1): Likewise.
30051 (RUN_TEST_LOOP_ffI_f1): Likewise.
30052 (RUN_TEST_c_c): Likewise.
30053 (RUN_TEST_LOOP_c_c): Likewise.
30054 (RUN_TEST_cc_c): Likewise.
30055 (RUN_TEST_LOOP_cc_c): Likewise.
30056 (RUN_TEST_f_i): Likewise.
30057 (RUN_TEST_LOOP_f_i): Likewise.
30058 (RUN_TEST_f_i_tg): Likewise.
30059 (RUN_TEST_LOOP_f_i_tg): Likewise.
30060 (RUN_TEST_ff_i_tg): Likewise.
30061 (RUN_TEST_LOOP_ff_i_tg): Likewise.
30062 (RUN_TEST_f_b): Likewise.
30063 (RUN_TEST_LOOP_f_b): Likewise.
30064 (RUN_TEST_f_b_tg): Likewise.
30065 (RUN_TEST_LOOP_f_b_tg): Likewise.
30066 (RUN_TEST_f_l): Likewise.
30067 (RUN_TEST_LOOP_f_l): Likewise.
30068 (RUN_TEST_f_L): Likewise.
30069 (RUN_TEST_LOOP_f_L): Likewise.
30070 (RUN_TEST_sincos): Likewise.
30071 (RUN_TEST_LOOP_sincos): Likewise.
30072
8269107f
JM
300732013-05-17 Joseph Myers <joseph@codesourcery.com>
30074
bb38759d
JM
30075 [BZ #15480]
30076 [BZ #15485]
30077 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
30078 main case of finite arguments, set rounding mode to FE_TONEAREST
30079 and discard exceptions.
30080 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
30081 exceptions.
30082 (remainder_tonearest_test_data): New variable.
30083 (remainder_test_tonearest): New function.
30084 (remainder_towardzero_test_data): New variable.
30085 (remainder_test_towardzero): New function.
30086 (remainder_downward_test_data): New variable.
30087 (remainder_test_downward): New function.
30088 (remainder_upward_test_data): New variable.
30089 (remainder_test_upward): New function.
30090 (main): Call the new test functions.
30091
a00bdcf0
JM
30092 * math/libm-test.inc (struct test_f_f1_data): Remove field
30093 extra_init.
30094 (struct test_fF_f1_data): Likewise.
30095 (struct test_ffI_f1_data): Likewise.
30096 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
30097 based on value of EXTRA_EXPECTED.
30098 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30099 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
30100 EXTRA_VAR based on value of EXTRA_EXPECTED.
30101 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30102 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
30103 EXTRA_VAR based on value of EXTRA_EXPECTED.
30104 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30105 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
30106 EXTRA_VAR based on value of EXTRA_EXPECTED.
30107 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30108 * math/gen-libm-test.pl (parse_args): Don't output initializers
30109 for extra output values.
30110
de407f79
JM
30111 * math/libm-test.inc (check_int): Expect result to be exactly
30112 equal to expected value and do not handle ulps.
30113 (check_long): Likewise.
30114 (check_longlong): Likewise.
30115
8269107f
JM
30116 * math/libm-test.inc (ceil_test_data): Test for "inexact"
30117 exceptions.
30118 (cimag_test_data): Likewise.
30119 (conj_test_data): Likewise.
30120 (copysign_test_data): Likewise.
30121 (cproj_test_data): Likewise.
30122 (creal_test_data): Likewise.
30123 (fabs_test_data): Likewise.
30124 (fdim_test_data): Likewise.
30125 (finite_test_data): Likewise.
30126 (floor_test_data): Likewise.
30127 (fmax_test_data): Likewise.
30128 (fmin_test_data): Likewise.
30129 (fmod_test_data): Likewise.
30130 (fpclassify_test_data): Likewise.
30131 (frexp_test_data): Likewise.
30132 (ilogb_test_data): Likewise.
30133 (isfinite_test_data): Likewise.
30134 (isgreater_test_data): Likewise.
30135 (isgreaterequal_test_data): Likewise.
30136 (isinf_test_data): Likewise.
30137 (isless_test_data): Likewise.
30138 (islessequal_test_data): Likewise.
30139 (islessgreater_test_data): Likewise.
30140 (isnan_test_data): Likewise.
30141 (isnormal_test_data): Likewise.
30142 (issignaling_test_data): Likewise.
30143 (isunordered_test_data): Likewise.
30144 (ldexp_test_data): Likewise.
30145 (lrint_test_data): Likewise.
30146 (lrint_test_data) [TEST_FLOAT]: Disable one test.
30147 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
30148 (lrint_tonearest_test_data): Test for "inexact" exceptions.
30149 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30150 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
30151 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30152 test input.
30153 (lrint_towardzero_test_data): Test for "inexact" exceptions.
30154 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30155 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
30156 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
30157 that test input.
30158 (lrint_downward_test_data): Test for "inexact" exceptions.
30159 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30160 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
30161 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30162 test input.
30163 (lrint_upward_test_data): Test for "inexact" exceptions.
30164 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
30165 test input.
30166 (llrint_test_data): Test for "inexact" exceptions.
30167 (llrint_test_data) [TEST_FLOAT]: Disable one test.
30168 (llrint_tonearest_test_data): Test for "inexact" exceptions.
30169 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30170 (llrint_towardzero_test_data): Test for "inexact" exceptions.
30171 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30172 (llrint_downward_test_data): Test for "inexact" exceptions.
30173 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30174 (llrint_upward_test_data): Test for "inexact" exceptions.
30175 (logb_test_data): Likewise.
30176 (logb_downward_test_data): Likewise.
30177 (nextafter_test_data): Likewise.
30178 (nexttoward_test_data): Likewise.
30179 (remainder_test_data): Likewise.
30180 (remquo_test_data): Likewise.
30181 (scalbn_test_data): Likewise.
30182 (scalbln_test_data): Likewise.
30183 (signbit_test_data): Likewise.
30184 (sqrt_test_data): Likewise.
30185 (significand_test_data): Likewise.
30186
48a18de1
SP
301872013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30188
30189 [BZ #15424]
30190 * benchtests/bench-modf.c (struct args): Mark arg0 as
30191 volatile.
30192 * scripts/bench.pl: Mark members of struct args as volatile.
30193
13d3b41a
AZ
301942013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30195
68191c1d 30196 [BZ # 15497]
13d3b41a
AZ
30197 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30198 negative infinity on POWER6 or lower.
30199 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30200
2848b105
MR
302012013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
30202
30203 [BZ #15442]
30204 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30205 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30206 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30207 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30208 (_FP_SETQNAN): New macro.
30209 (_FP_SETQNAN_SEMIRAW): Likewise.
30210 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30211 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30212 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30213 (FP_EXTEND): Use _FP_FRAC_SNANP.
30214 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30215 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30216 into account.
30217 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30218 New macro.
30219 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30220 Likewise.
30221
323e5cb7
JM
302222013-05-16 Joseph Myers <joseph@codesourcery.com>
30223
c58b274f
JM
30224 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30225 with DIVIDE_BY_ZERO_EXCEPTION.
30226 (gamma_test_data): Likewise.
30227 (lgamma_test_data): Likewise.
30228 (log_test_data): Likewise.
30229 (log10_test_data): Likewise.
30230 (log2_test_data): Likewise.
30231 (tgamma_test_data): Likewise.
30232
0ab34904
JM
30233 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30234 (acos_test_tonearest): Likewise.
30235 (acos_test_towardzero): Likewise.
30236 (acos_test_downward): Likewise.
30237 (acos_test_upward): Likewise.
30238 (acosh_test): Likewise.
30239 (asin_test): Likewise.
30240 (asin_test_tonearest): Likewise.
30241 (asin_test_towardzero): Likewise.
30242 (asin_test_downward): Likewise.
30243 (asin_test_upward): Likewise.
30244 (asinh_test): Likewise.
30245 (atan_test): Likewise.
30246 (atanh_test): Likewise.
30247 (atan2_test): Likewise.
30248 (cabs_test): Likewise.
30249 (cacos_test): Likewise.
30250 (cacosh_test): Likewise.
30251 (casin_test): Likewise.
30252 (casinh_test): Likewise.
30253 (catan_test): Likewise.
30254 (catanh_test): Likewise.
30255 (cbrt_test): Likewise.
30256 (ccos_test): Likewise.
30257 (ccosh_test): Likewise.
30258 (cexp_test): Likewise.
30259 (clog_test): Likewise.
30260 (clog10_test): Likewise.
30261 (cos_test): Likewise.
30262 (cos_test_tonearest): Likewise.
30263 (cos_test_towardzero): Likewise.
30264 (cos_test_downward): Likewise.
30265 (cos_test_upward): Likewise.
30266 (cosh_test): Likewise.
30267 (cosh_test_tonearest): Likewise.
30268 (cosh_test_towardzero): Likewise.
30269 (cosh_test_downward): Likewise.
30270 (cosh_test_upward): Likewise.
30271 (cpow_test): Likewise.
30272 (csin_test): Likewise.
30273 (csinh_test): Likewise.
30274 (csqrt_test): Likewise.
30275 (ctan_test): Likewise.
30276 (ctan_test_tonearest): Likewise.
30277 (ctan_test_towardzero): Likewise.
30278 (ctan_test_downward): Likewise.
30279 (ctan_test_upward): Likewise.
30280 (ctanh_test): Likewise.
30281 (ctanh_test_tonearest): Likewise.
30282 (ctanh_test_towardzero): Likewise.
30283 (ctanh_test_downward): Likewise.
30284 (ctanh_test_upward): Likewise.
30285 (erf_test): Likewise.
30286 (erfc_test): Likewise.
30287 (exp_test): Likewise.
30288 (exp_test_tonearest): Likewise.
30289 (exp_test_towardzero): Likewise.
30290 (exp_test_downward): Likewise.
30291 (exp_test_upward): Likewise.
30292 (exp10_test): Likewise.
30293 (exp2_test): Likewise.
30294 (expm1_test): Likewise.
30295 (fmod_test): Likewise.
30296 (gamma_test): Likewise.
30297 (hypot_test): Likewise.
30298 (j0_test): Likewise.
30299 (j1_test): Likewise.
30300 (jn_test): Likewise.
30301 (lgamma_test): Likewise.
30302 (log_test): Likewise.
30303 (log10_test): Likewise.
30304 (log1p_test): Likewise.
30305 (log2_test): Likewise.
30306 (logb_test_downward): Likewise.
30307 (pow_test): Likewise.
30308 (pow_test_tonearest): Likewise.
30309 (pow_test_towardzero): Likewise.
30310 (pow_test_downward): Likewise.
30311 (pow_test_upward): Likewise.
30312 (remainder_test): Likewise.
30313 (remquo_test): Likewise.
30314 (sin_test): Likewise.
30315 (sin_test_tonearest): Likewise.
30316 (sin_test_towardzero): Likewise.
30317 (sin_test_downward): Likewise.
30318 (sin_test_upward): Likewise.
30319 (sincos_test): Likewise.
30320 (sinh_test): Likewise.
30321 (sinh_test_tonearest): Likewise.
30322 (sinh_test_towardzero): Likewise.
30323 (sinh_test_downward): Likewise.
30324 (sinh_test_upward): Likewise.
30325 (sqrt_test): Likewise.
30326 (tan_test): Likewise.
30327 (tan_test_tonearest): Likewise.
30328 (tan_test_towardzero): Likewise.
30329 (tan_test_downward): Likewise.
30330 (tan_test_upward): Likewise.
30331 (tanh_test): Likewise.
30332 (tgamma_test): Likewise.
30333 (y0_test): Likewise.
30334 (y1_test): Likewise.
30335 (yn_test): Likewise.
30336
323e5cb7
JM
30337 * math/gen-libm-test.pl (adjust_arg): Remove function.
30338 (special_function): Remove argument $in_func. Only handle
30339 generating output for tables of tests, not inside functions.
30340 (parse_args): Likewise.
30341 (generate_testfile): Remove variable $in_func. Update call to
30342 parse_args.
30343 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30344 (MINUS_ZERO_INIT): Rename macro to minus_zero.
30345 (PLUS_INFTY_INIT): Rename macro to plus_infty.
30346 (MINUS_INFTY_INIT): Rename macro to minus_infty.
30347 (QNAN_VALUE_INIT): Rename macro to qnan_value.
30348 (MAX_VALUE_INIT): Rename macro to max_value.
30349 (MIN_VALUE_INIT): Rename macro to min_value.
30350 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30351 (plus_zero): Remove variable.
30352 (minus_zero): Likewise.
30353 (plus_infty): Likewise.
30354 (minus_infty): Likewise.
30355 (qnan_value): Likewise.
30356 (max_value): Likewise.
30357 (min_value): Likewise.
30358 (min_subnorm_value): Likewise.
30359
e054f494
RA
303602013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30361
30362 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30363 uint64_t or uint32_t usage.
30364 * crypt/sha256-block.c: Likewise.
30365 * crypt/sha256-crypt.c: Likewise.
30366 * crypt/sha256.c: Likewise.
30367 * crypt/sha512-block.c: Likewise.
30368 * crypt/sha512-crypt.c: Likewise.
30369 * crypt/sha512.c: Likewise.
30370 * debug/backtrace-tst.c: Likewise.
30371 * debug/pcprofiledump.c: Likewise.
30372 * elf/cache.c: Likewise.
30373 * elf/dl-cache.c: Likewise.
30374 * elf/dl-misc.c: Likewise.
30375 * elf/dl-profile.c: Likewise.
30376 * elf/dl-support.c: Likewise.
30377 * elf/ldconfig.c: Likewise.
30378 * elf/sprof.c: Likewise.
30379 * iconv/dummy-repertoire.c: Likewise.
30380 * iconv/iconv_charmap.c: Likewise.
30381 * iconv/skeleton.c: Likewise.
30382 * iconvdata/8bit-generic.c: Likewise.
30383 * iconvdata/cp737.h: Likewise.
30384 * iconvdata/cp775.h: Likewise.
30385 * iconvdata/ibm1008.h: Likewise.
30386 * iconvdata/ibm1025.h: Likewise.
30387 * iconvdata/ibm1046.h: Likewise.
30388 * iconvdata/ibm1097.h: Likewise.
30389 * iconvdata/ibm1112.h: Likewise.
30390 * iconvdata/ibm1122.h: Likewise.
30391 * iconvdata/ibm1123.h: Likewise.
30392 * iconvdata/ibm1124.h: Likewise.
30393 * iconvdata/ibm1129.h: Likewise.
30394 * iconvdata/ibm1130.h: Likewise.
30395 * iconvdata/ibm1132.h: Likewise.
30396 * iconvdata/ibm1133.h: Likewise.
30397 * iconvdata/ibm1137.h: Likewise.
30398 * iconvdata/ibm1140.h: Likewise.
30399 * iconvdata/ibm1141.h: Likewise.
30400 * iconvdata/ibm1142.h: Likewise.
30401 * iconvdata/ibm1143.h: Likewise.
30402 * iconvdata/ibm1144.h: Likewise.
30403 * iconvdata/ibm1145.h: Likewise.
30404 * iconvdata/ibm1146.h: Likewise.
30405 * iconvdata/ibm1147.h: Likewise.
30406 * iconvdata/ibm1148.h: Likewise.
30407 * iconvdata/ibm1149.h: Likewise.
30408 * iconvdata/ibm1153.h: Likewise.
30409 * iconvdata/ibm1154.h: Likewise.
30410 * iconvdata/ibm1155.h: Likewise.
30411 * iconvdata/ibm1156.h: Likewise.
30412 * iconvdata/ibm1157.h: Likewise.
30413 * iconvdata/ibm1158.h: Likewise.
30414 * iconvdata/ibm1160.h: Likewise.
30415 * iconvdata/ibm1161.h: Likewise.
30416 * iconvdata/ibm1162.h: Likewise.
30417 * iconvdata/ibm1163.h: Likewise.
30418 * iconvdata/ibm1164.h: Likewise.
30419 * iconvdata/ibm1166.h: Likewise.
30420 * iconvdata/ibm1167.h: Likewise.
30421 * iconvdata/ibm12712.h: Likewise.
30422 * iconvdata/ibm1390.h: Likewise.
30423 * iconvdata/ibm1399.h: Likewise.
30424 * iconvdata/ibm16804.h: Likewise.
30425 * iconvdata/ibm4517.h: Likewise.
30426 * iconvdata/ibm4899.h: Likewise.
30427 * iconvdata/ibm4909.h: Likewise.
30428 * iconvdata/ibm4971.h: Likewise.
30429 * iconvdata/ibm5347.h: Likewise.
30430 * iconvdata/ibm803.h: Likewise.
30431 * iconvdata/ibm856.h: Likewise.
30432 * iconvdata/ibm901.h: Likewise.
30433 * iconvdata/ibm902.h: Likewise.
30434 * iconvdata/ibm9030.h: Likewise.
30435 * iconvdata/ibm9066.h: Likewise.
30436 * iconvdata/ibm921.h: Likewise.
30437 * iconvdata/ibm922.h: Likewise.
30438 * iconvdata/ibm9448.h: Likewise.
30439 * iconvdata/isiri-3342.h: Likewise.
30440 * iconvdata/jis0201.h: Likewise.
30441 * include/link.h: Likewise.
30442 * include/netdb.h: Likewise.
30443 * inet/check_native.c: Likewise.
30444 * inet/check_pf.c: Likewise.
30445 * inet/getipv4sourcefilter.c: Likewise.
30446 * inet/getnameinfo.c: Likewise.
30447 * inet/getsourcefilter.c: Likewise.
30448 * inet/htonl.c: Likewise.
30449 * inet/setipv4sourcefilter.c: Likewise.
30450 * inet/setsourcefilter.c: Likewise.
30451 * inet/test-inet6_opt.c: Likewise.
30452 * inet/tst-network.c: Likewise.
30453 * locale/C-collate.c: Likewise.
30454 * locale/C-ctype.c: Likewise.
30455 * locale/C-time.c: Likewise.
30456 * locale/C-translit.h: Likewise.
30457 * locale/loadarchive.c: Likewise.
30458 * locale/programs/3level.h: Likewise.
30459 * locale/programs/charmap.c: Likewise.
30460 * locale/programs/charmap.h: Likewise.
30461 * locale/programs/ld-address.c: Likewise.
30462 * locale/programs/ld-collate.c: Likewise.
30463 * locale/programs/ld-ctype.c: Likewise.
30464 * locale/programs/ld-identification.c: Likewise.
30465 * locale/programs/ld-measurement.c: Likewise.
30466 * locale/programs/ld-messages.c: Likewise.
30467 * locale/programs/ld-monetary.c: Likewise.
30468 * locale/programs/ld-name.c: Likewise.
30469 * locale/programs/ld-numeric.c: Likewise.
30470 * locale/programs/ld-paper.c: Likewise.
30471 * locale/programs/ld-telephone.c: Likewise.
30472 * locale/programs/ld-time.c: Likewise.
30473 * locale/programs/linereader.c: Likewise.
30474 * locale/programs/locale.c: Likewise.
30475 * locale/programs/locarchive.c: Likewise.
30476 * locale/programs/locfile.h: Likewise.
30477 * locale/programs/repertoire.c: Likewise.
30478 * locale/programs/simple-hash.c: Likewise.
30479 * locale/programs/simple-hash.h: Likewise.
30480 * malloc/memusage.c: Likewise.
30481 * malloc/memusagestat.c: Likewise.
30482 * nis/nis_defaults.c: Likewise.
30483 * nis/nis_hash.c: Likewise.
30484 * nis/nis_print.c: Likewise.
30485 * nis/nis_xdr.c: Likewise.
30486 * nscd/connections.c: Likewise.
30487 * nscd/hstcache.c: Likewise.
30488 * nscd/nscd_gethst_r.c: Likewise.
30489 * nscd/nscd_getserv_r.c: Likewise.
30490 * nscd/nscd_helper.c: Likewise.
30491 * nscd/servicescache.c: Likewise.
30492 * nss/makedb.c: Likewise.
30493 * nss/nss_db/db-XXX.c: Likewise.
30494 * nss/nss_db/db-initgroups.c: Likewise.
30495 * nss/nss_db/db-netgrp.c: Likewise.
30496 * nss/nss_files/files-network.c: Likewise.
30497 * nss/nss_files/files-parse.c: Likewise.
30498 * posix/bug-regex5.c: Likewise.
30499 * posix/fnmatch_loop.c: Likewise.
30500 * posix/regcomp.c: Likewise.
30501 * posix/regexec.c: Likewise.
30502 * posix/tst-rfc3484-2.c: Likewise.
30503 * posix/tst-rfc3484-3.c: Likewise.
30504 * posix/tst-rfc3484.c: Likewise.
30505 * resolv/nss_dns/dns-canon.c: Likewise.
30506 * resolv/nss_dns/dns-network.c: Likewise.
30507 * resolv/res_init.c: Likewise.
30508 * resolv/res_mkquery.c: Likewise.
30509 * resolv/tst-aton.c: Likewise.
30510 * stdlib/cxa_atexit.c: Likewise.
30511 * stdlib/cxa_finalize.c: Likewise.
30512 * stdlib/gen-fpioconst.c: Likewise.
30513 * stdlib/strtol_l.c: Likewise.
30514 * string/tst-endian.c: Likewise.
30515 * sunrpc/auth_des.c: Likewise.
30516 * sunrpc/clnt_udp.c: Likewise.
30517 * sunrpc/rtime.c: Likewise.
30518 * sunrpc/svcauth_des.c: Likewise.
30519 * sunrpc/xdr.c: Likewise.
30520 * sunrpc/xdr_intXX_t.c: Likewise.
30521 * sunrpc/xdr_rec.c: Likewise.
30522 * sysdeps/generic/ldconfig.h: Likewise.
30523 * sysdeps/generic/ldsodefs.h: Likewise.
30524 * sysdeps/generic/memusage.h: Likewise.
30525 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30526 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
30527 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
30528 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30529 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30530 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30531 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30532 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30533 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30534 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30535 * sysdeps/posix/getaddrinfo.c: Likewise.
30536 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30537 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30538 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30539 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30540 * sysdeps/powerpc/test-gettimebase.c: Likewise.
30541 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30542 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
30543 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
30544 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30545 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
30546 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30547 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30548 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
30549 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
30550 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
30551 * sysdeps/x86_64/dl-tls.h: Likewise.
30552 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
30553 * time/alt_digit.c: Likewise.
30554 * time/era.c: Likewise.
30555 * wcsmbs/tst-c16c32-1.c: Likewise.
30556
8c75f674
JM
305572013-05-16 Joseph Myers <joseph@codesourcery.com>
30558
30559 * math/libm-test.inc (struct test_sincos_data): New type.
30560 (RUN_TEST_LOOP_sincos): New macro.
30561 (sincos_test_data): New variable.
30562 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
30563
e6e49e59
RH
305642013-05-16 Richard Henderson <rth@redhat.com>
30565
30566 * math/atest-exp2.c (LIMB64): New macro.
30567 (CONSTSZ): New macro.
30568 (mp_exp1, mp_exp_m1, mp_log2): New variables.
30569 (hexdig): Move ...
30570 (print_mpn_fp): ... to function scope.
30571 (read_mpn_hex): Remove.
30572 (get_log2): Remove.
30573 (exp2_mpn): Use mp_log2.
30574 (main): Use mp_exp1.
30575
15c7c18d
JM
305762013-05-16 Joseph Myers <joseph@codesourcery.com>
30577
105a07df
JM
30578 * math/libm-test.inc: Remove comment about not testing "inexact"
30579 exceptions.
30580 (INEXACT_EXCEPTION): New macro.
30581 (NO_INEXACT_EXCEPTION): Likewise.
30582 (INVALID_EXCEPTION_OK): Update value.
30583 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30584 (OVERFLOW_EXCEPTION_OK): Likewise.
30585 (UNDERFLOW_EXCEPTION_OK): Likewise.
30586 (IGNORE_ZERO_INF_SIGN): Likewise.
30587 (ERRNO_UNCHANGED): Likewise.
30588 (ERRNO_EDOM): Likewise.
30589 (ERRNO_ERANGE): Likewise.
30590 (test_exceptions): Handle testing "inexact" exceptions.
30591 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
30592 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
30593 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
30594 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
30595 INEXACT_EXCEPTION.
30596 (rint_towardzero_test_data): Likewise.
30597 (rint_downward_test_data): Likewise.
30598 (rint_upward_test_data): Likewise.
30599
e9eee333
JM
30600 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
30601 with OVERFLOW_EXCEPTION.
30602 (exp10_test_data): Likewise.
30603 (exp2_test_data): Likewise.
30604 (expm1_test_data): Likewise.
30605 (lgamma_test_data): Likewise.
30606 (pow_test_data): Likewise.
30607 (tgamma_test_data): Likewise.
30608 (yn_test_data): Remove duplicate test of overflow.
30609
1c38ff73
JM
30610 * math/libm-test.inc (struct test_cc_c_data): New type.
30611 (RUN_TEST_LOOP_cc_c): New macro.
30612 (cpow_test_data): New variable.
30613 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
30614
15c7c18d
JM
30615 * math/libm-test.inc (struct test_f_L_data): New type.
30616 (RUN_TEST_LOOP_f_L): New macro.
30617 (llrint_test_data): New variable.
30618 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
30619 (llrint_tonearest_test_data): New variable.
30620 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
30621 (llrint_towardzero_test_data): New variable.
30622 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
30623 (llrint_downward_test_data): New variable.
30624 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
30625 (llrint_upward_test_data): New variable.
30626 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
30627 (llround_test_data): New variable.
30628 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
30629
f137ff13
PC
306302013-05-13 Peter Collingbourne <pcc@google.com>
30631
30632 * math/atest-exp2.c (get_log2): Remove const attribute.
30633
3608cb24
JM
306342013-05-15 Joseph Myers <joseph@codesourcery.com>
30635
30636 * math/libm-test.inc (struct test_f_l_data): New type.
30637 (RUN_TEST_LOOP_f_l): New macro.
30638 (lrint_test_data): New variable.
30639 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
30640 (lrint_tonearest_test_data): New variable.
30641 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
30642 (lrint_towardzero_test_data): New variable.
30643 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
30644 (lrint_downward_test_data): New variable.
30645 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
30646 (lrint_upward_test_data): New variable.
30647 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
30648 (lround_test_data): New variable.
30649 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
30650
39b1f617
PC
306512013-05-15 Peter Collingbourne <pcc@google.com>
30652
1deff3dc
PC
30653 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
30654 (EXTRACT_WORDS64) Use where appropriate.
30655 (INSERT_WORDS64) Likewise.
30656
791f3ba0
PC
30657 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
30658 constraints with x constraints.
30659 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
30660
39b1f617
PC
30661 * malloc/obstack.c (_obstack_compat): Add initializer.
30662
12fba011
EM
306632013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
30664
30665 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
30666 si_trapno and add si_addr_lsb to _sifields.sigfault.
30667 (si_trapno): Remove macro.
30668 (si_addr_lsb): Define new macro.
30669 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30670
d369f531
JM
306712013-05-15 Joseph Myers <joseph@codesourcery.com>
30672
b861c6c4
JM
30673 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
30674 instead of TEST_f_l.
30675 (llrint_test_tonearest): Likewise.
30676 (llrint_test_towardzero): Likewise.
30677 (llrint_test_downward): Likewise.
30678 (llrint_test_upward): Likewise.
30679 (llround_test): Likewise.
30680
7abeee12
JM
30681 * math/libm-test.inc (struct test_f_i_data): Add comment.
30682 (RUN_TEST_LOOP_f_b): New macro.
30683 (RUN_TEST_LOOP_f_b_tg): Likewise.
30684 (finite_test_data): New variable.
30685 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
30686 (isfinite_test_data): New variable.
30687 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30688 (isinf_test_data): New variable.
30689 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30690 (isnan_test_data): New variable.
30691 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30692 (isnormal_test_data): New variable.
30693 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30694 (issignaling_test_data): New variable.
30695 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30696 (signbit_test_data): New variable.
30697 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30698
cbe8c4d3
JM
30699 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
30700 with INVALID_EXCEPTION.
30701 (acosh_test_data): Likewise.
30702 (asin_test_data): Likewise.
30703 (atanh_test_data): Likewise.
30704 (fmod_test_data): Likewise.
30705 (log_test_data): Likewise.
30706 (log10_test_data): Likewise.
30707 (log2_test_data): Likewise.
30708 (pow_test_data): Likewise.
30709 (sqrt_test_data): Likewise.
30710 (y0_test_data): Likewise.
30711 (y1_test_data): Likewise.
30712 (yn_test_data): Likewise.
30713
5575c0e5
JM
30714 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
30715 function contents.
30716
d369f531
JM
30717 * math/libm-test.inc (struct test_ff_i_data): New type.
30718 (RUN_TEST_LOOP_ff_i_tg): New macro.
30719 (isgreater_test_data): New variable.
30720 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30721 (isgreaterequal_test_data): New variable.
30722 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30723 (isless_test_data): New variable.
30724 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30725 (islessequal_test_data): New variable.
30726 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30727 (islessgreater_test_data): New variable.
30728 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30729 (isunordered_test_data): New variable.
30730 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30731
781fd748
DM
307322013-05-14 David S. Miller <davem@davemloft.net>
30733
30734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30735
87aa21df
JM
307362013-05-14 Joseph Myers <joseph@codesourcery.com>
30737
5e908270
JM
30738 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
30739
f71172e5
JM
30740 * math/libm-test.inc (struct test_fF_f1_data): Change type of
30741 extra_test to int.
30742 (struct test_f_i_data): Change type of max_ulp to int.
30743
8cfa635a
JM
30744 * math/libm-test.inc (test_ffI_f1_data): New type.
30745 (RUN_TEST_LOOP_ffI_f1): New macro.
30746 (remquo_test_data): New variable.
30747 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
30748
2bcb36b2
JM
30749 * setjmp/tst-setjmp-fp.c: New file.
30750 * setjmp/Makefile (tests): Add tst-setjmp-fp.
30751 (link-libm): New variable.
30752 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
30753
acbd839a
JM
30754 * math/libm-test.inc (struct test_f_i_data): New type.
30755 (RUN_TEST_LOOP_f_i): New macro.
30756 (RUN_TEST_LOOP_f_i_tg): Likewise.
30757 (fpclassify_test_data): New variable.
30758 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
30759 (ilogb_test_data): New variable.
30760 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
30761
e414d745
JM
30762 * math/libm-test.inc (scalbln_test): Correct function name in END
30763 call.
30764
d9c2a0fd
JM
30765 * math/libm-test.inc (struct test_f_f1_data): Add comment.
30766 (RUN_TEST_LOOP_fI_f1): New macro.
30767 (frexp_test_data): New variable.
30768 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
30769
9dc9095d
JM
30770 * math/libm-test.inc (struct test_fF_f1_data): New type.
30771 (RUN_TEST_LOOP_fF_f1): New macro.
30772 (modf_test_data): New variable.
30773 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
30774
87aa21df
JM
30775 * math/libm-test.inc (struct test_f_f1_data): New type.
30776 (RUN_TEST_LOOP_f_f1): New macro.
30777 (gamma_test_data): New variable.
30778 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30779 (lgamma_test_data): New variable.
30780 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30781
141af660
CD
307822013-05-13 Carlos O'Donell <carlos@redhat.com>
30783
30784 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
30785 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
30786 (main): Comment "tls" pseudo-hwcap.
30787
6d33265c
JM
307882013-05-13 Joseph Myers <joseph@codesourcery.com>
30789
68fc074c
JM
30790 * math/libm-test.inc (struct test_fl_f_data): New type.
30791 (RUN_TEST_LOOP_fl_f): New variable.
30792 (scalbln_test_data): New variable.
30793 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
30794
243216e1
JM
30795 * math/libm-test.inc (struct test_fi_f_data): New type.
30796 (RUN_TEST_LOOP_fi_f): New macro.
30797 (ldexp_test_data): New variable.
30798 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
30799 (scalbn_test_data): New variable.
30800 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
30801
6a1992e2
JM
30802 * math/libm-test.inc (struct test_c_f_data): New type.
30803 (RUN_TEST_LOOP_c_f): New macro.
30804 (cabs_test_data): New variable.
30805 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
30806 (carg_test_data): New variable.
30807 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
30808 (cimag_test_data): New variable.
30809 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
30810 (creal_test_data): New variable.
30811 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
30812
0e400df5
JM
30813 * math/libm-test.inc (struct test_if_f_data): New type.
30814 (RUN_TEST_LOOP_if_f): New macro.
30815 (jn_test_data): New variable.
30816 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
30817 (yn_test_data): New variable.
30818 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
30819
6d33265c
JM
30820 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
30821
f98ece5f
AZ
308222013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30823
30824 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
30825 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
30826
0f7d347b
SP
308272013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30828
43fe811b
SP
30829 * benchtests/Makefile (CPPFLAGS-nonlib): Add
30830 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
30831 (bench-deps): Add bench-timing.h.
30832 * benchtests-bench-skeleton.c: Include bench-timing.h.
30833 (main): Use TIMING_* macros instead of clock_gettime.
30834 * benchtests/bench-timing.h: New file.
30835
0f7d347b
SP
30836 [BZ #14582]
30837 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
30838 Renamed from _LIB_VERSION.
30839 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
30840
601a3a5f
JM
308412013-05-12 Joseph Myers <joseph@codesourcery.com>
30842
4f184d30
JM
30843 * math/libm-test.inc (struct test_fff_f_data): New type.
30844 (RUN_TEST_LOOP_fff_f): New macro.
30845 (fma_test_data): New variable.
30846 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
30847 (fma_towardzero_test_data): New variable.
30848 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
30849 (fma_downward_test_data): New variable.
30850 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
30851 (fma_upward_test_data): New variable.
30852 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
30853
08198877
JM
30854 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
30855 (struct test_c_c_data): New type.
30856 (RUN_TEST_LOOP_c_c): New macro.
30857 (cacos_test_data): New variable.
30858 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
30859 (cacosh_test_data): New variable.
30860 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
30861 (casin_test_data): New variable.
30862 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
30863 (casinh_test_data): New variable.
30864 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
30865 (catan_test_data): New variable.
30866 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
30867 (catanh_test_data): New variable.
30868 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
30869 (ccos_test_data): New variable.
30870 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
30871 (ccosh_test_data): New variable.
30872 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
30873 (cexp_test_data): New variable.
30874 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
30875 (clog_test_data): New variable.
30876 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
30877 (clog10_test_data): New variable.
30878 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
30879 (conj_test_data): New variable.
30880 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
30881 (cproj_test_data): New variable.
30882 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
30883 (csin_test_data): New variable.
30884 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
30885 (csinh_test_data): New variable.
30886 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
30887 (csqrt_test_data): New variable.
30888 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
30889 (ctan_test_data): New variable.
30890 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
30891 (ctan_tonearest_test_data): New variable.
30892 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30893 (ctan_towardzero_test_data): New variable.
30894 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30895 (ctan_downward_test_data): New variable.
30896 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30897 (ctan_upward_test_data): New variable.
30898 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30899 (ctanh_test_data): New variable.
30900 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
30901 (ctanh_tonearest_test_data): New variable.
30902 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30903 (ctanh_towardzero_test_data): New variable.
30904 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30905 (ctanh_downward_test_data): New variable.
30906 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30907 (ctanh_upward_test_data): New variable.
30908 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30909 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
30910 of BUILD_COMPLEX.
30911
601a3a5f
JM
30912 * math/libm-test.inc (struct test_ff_f_data): New type.
30913 (struct test_ff_f_data_nexttoward): Likewise.
30914 (RUN_TEST_LOOP_2_f): New macro.
30915 (RUN_TEST_LOOP_ff_f): Likewise.
30916 (atan2_test_data): New variable.
30917 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
30918 (copysign_test_data): New variable.
30919 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
30920 (fdim_test_data): New variable.
30921 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
30922 (fmax_test_data): New variable.
30923 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
30924 (fmin_test_data): New variable.
30925 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
30926 (fmod_test_data): New variable.
30927 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
30928 (hypot_test_data): New variable.
30929 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
30930 (nextafter_test_data): New variable.
30931 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
30932 (nexttoward_test_data): New variable.
30933 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
30934 (pow_test_data): New variable.
30935 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
30936 (pow_tonearest_test_data): New variable.
30937 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
30938 (pow_towardzero_test_data): New variable.
30939 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
30940 (pow_downward_test_data): New variable.
30941 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
30942 (pow_upward_test_data): New variable.
30943 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
30944 (remainder_test_data): New variable.
30945 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
30946 (scalb_test_data): New variable.
30947 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
30948 * sysdeps/i386/fpu/libm-test-ulps: Update.
30949
74c57478
JM
309502013-05-11 Joseph Myers <joseph@codesourcery.com>
30951
8329e4da
JM
30952 * math/libm-test.inc (fma_test): Use max_value instead of local
30953 variable fltmax.
30954 (nextafter_test): Likewise.
30955
74c57478
JM
30956 * math/libm-test.inc (acos_towardzero_test_data): New variable.
30957 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30958 (acos_downward_test_data): New variable.
30959 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30960 (acos_upward_test_data): New variable.
30961 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30962 (acosh_test_data): New variable.
30963 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
30964 (asin_test_data): New variable.
30965 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
30966 (asin_tonearest_test_data): New variable.
30967 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30968 (asin_towardzero_test_data): New variable.
30969 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30970 (asin_downward_test_data): New variable.
30971 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30972 (asin_upward_test_data): New variable.
30973 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30974 (asinh_test_data): New variable.
30975 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
30976 (atan_test_data): New variable.
30977 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
30978 (atanh_test_data): New variable.
30979 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
30980 (cbrt_test_data): New variable.
30981 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
30982 (ceil_test_data): New variable.
30983 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
30984 (cos_test_data): New variable.
30985 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
30986 (cos_tonearest_test_data): New variable.
30987 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30988 (cos_towardzero_test_data): New variable.
30989 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30990 (cos_downward_test_data): New variable.
30991 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30992 (cos_upward_test_data): New variable.
30993 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30994 (cosh_test_data): New variable.
30995 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
30996 (cosh_tonearest_test_data): New variable.
30997 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30998 (cosh_towardzero_test_data): New variable.
30999 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31000 (cosh_downward_test_data): New variable.
31001 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31002 (cosh_upward_test_data): New variable.
31003 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31004 (erf_test_data): New variable.
31005 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31006 (erfc_test_data): New variable.
31007 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31008 (exp_test_data): New variable.
31009 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31010 (exp_tonearest_test_data): New variable.
31011 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31012 (exp_towardzero_test_data): New variable.
31013 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31014 (exp_downward_test_data): New variable.
31015 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31016 (exp_upward_test_data): New variable.
31017 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31018 (exp10_test_data): New variable.
31019 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31020 (exp2_test_data): New variable.
31021 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31022 (expm1_test_data): New variable.
31023 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31024 (fabs_test_data): New variable.
31025 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31026 (floor_test_data): New variable.
31027 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31028 (j0_test_data): New variable.
31029 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
31030 (j1_test_data): New variable.
31031 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
31032 (log_test_data): New variable.
31033 (log_test): Run tests with RUN_TEST_LOOP_f_f.
31034 (log10_test_data): New variable.
31035 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
31036 (log1p_test_data): New variable.
31037 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
31038 (log2_test_data): New variable.
31039 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
31040 (logb_test_data): New variable.
31041 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
31042 (logb_downward_test_data): New variable.
31043 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31044 (nearbyint_test_data): New variable.
31045 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
31046 (rint_test_data): New variable.
31047 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
31048 (rint_tonearest_test_data): New variable.
31049 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31050 (rint_towardzero_test_data): New variable.
31051 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31052 (rint_downward_test_data): New variable.
31053 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31054 (rint_upward_test_data): New variable.
31055 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31056 (round_test_data): New variable.
31057 (round_test): Run tests with RUN_TEST_LOOP_f_f.
31058 (sin_test_data): New variable.
31059 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
31060 (sin_tonearest_test_data): New variable.
31061 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31062 (sin_towardzero_test_data): New variable.
31063 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31064 (sin_downward_test_data): New variable.
31065 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31066 (sin_upward_test_data): New variable.
31067 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31068 (sinh_test_data): New variable.
31069 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
31070 (sinh_tonearest_test_data): New variable.
31071 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31072 (sinh_towardzero_test_data): New variable.
31073 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31074 (sinh_downward_test_data): New variable.
31075 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31076 (sinh_upward_test_data): New variable.
31077 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31078 (sqrt_test_data): New variable.
31079 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
31080 (tan_test_data): New variable.
31081 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
31082 (tan_tonearest_test_data): New variable.
31083 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31084 (tan_towardzero_test_data): New variable.
31085 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31086 (tan_downward_test_data): New variable.
31087 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31088 (tan_upward_test_data): New variable.
31089 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31090 (tanh_test_data): New variable.
31091 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
31092 (tgamma_test_data): New variable.
31093 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
31094 (trunc_test_data): New variable.
31095 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
31096 (y0_test_data): New variable.
31097 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
31098 (y1_test_data): New variable.
31099 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
31100 (significand_test_data): New variable.
31101 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
31102
7187d844
CG
311032013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
31104
31105 [BZ #12387]
31106 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
31107
f63fae73
PT
311082013-05-10 Pino Toscano <toscano.pino@tiscali.it>
31109
31110 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
31111
8a67a4b3
AJ
311122013-05-10 Andreas Jaeger <aj@suse.de>
31113
31114 [BZ #15448]
31115 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
31116 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
31117
51df539d
JM
311182013-05-10 Joseph Myers <joseph@codesourcery.com>
31119
31120 * math/gen-libm-test.pl (adjust_arg): New function.
31121 (special_functions): Handle generating output in both functions
31122 and arrays.
31123 (parse_args): Likewise.
31124 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
31125 $in_func argument to parse_args.
31126 * math/libm-test.inc (struct test_f_f_data): New type.
31127 (IF_ROUND_INIT_): New macro.
31128 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
31129 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31130 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31131 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31132 (ROUND_RESTORE_): Likewise.
31133 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31134 (ROUND_RESTORE_FE_TONEAREST): Likewise.
31135 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31136 (ROUND_RESTORE_FE_UPWARD): Likewise.
31137 (RUN_TEST_LOOP_f_f): New macro.
31138 (acos_test_data): New variable.
31139 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
31140 (acos_tonearest_test_data): New variable.
31141 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31142
5c637fe5
SP
311432013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31144
31145 * benchtests/bench-skeleton.c (startup): Fix coding style.
31146
ab2b9461
JM
311472013-05-10 Joseph Myers <joseph@codesourcery.com>
31148
31149 [BZ #6809]
31150 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
31151 negative infinity argument.
31152 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
31153 negative infinity argument.
31154 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
31155 negative infinity argument.
31156 * math/libm-test.inc (tgamma_test): Expect errno to be set for
31157 domain errors.
31158
4c0fe6fe
FW
311592013-05-10 Florian Weimer <fweimer@redhat.com>
31160
31161 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
31162 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
31163 * iconv/iconv_prog.c (main): Likewise.
31164 * locale/programs/charmap-dir.c (charmap_readdir)
31165 (fopen_uncompressed): Likewise.
31166 * locale/programs/locfile.c (siblings_uncached)
31167 (write_locale_data): Use lstat64 instead of lstat.
31168 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
31169 stat.
31170
a3375d29
AJ
311712013-05-10 Andreas Jaeger <aj@suse.de>
31172
31173 [BZ #15395]
31174 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
31175 localization.
31176 Include <locale.h>.
31177
36129722
CD
311782013-05-09 Carlos O'Donell <carlos@redhat.com>
31179
31180 * elf/dl-close.c (_dl_close_worker): Add comments.
31181
faa7f811
JM
311822013-05-09 Joseph Myers <joseph@codesourcery.com>
31183
ed41ffef
JM
31184 [BZ #15359]
31185 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31186 high part of pi/2.
31187 (__ieee754_rem_pio2l): Update comments.
31188
d0213cd0
JM
31189 [BZ #15429]
31190 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31191 high part of pi/2.
31192 (__ieee754_rem_pio2l): Update comments.
31193
0d3e777a
JM
31194 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31195 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31196
24f56066
JM
31197 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31198 M_PI_4l.
31199
faa7f811
JM
31200 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31201 (M_PI_34_LOG10El): Likewise.
31202 (M_PI2_LOG10El): Likewise.
31203 (M_PI4_LOG10El): Likewise.
31204 (M_PI_LOG10El): Likewise.
31205
e9a5e0fd
AZ
312062013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31207
31208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31209
d8cd06db
JM
312102013-05-08 Joseph Myers <joseph@codesourcery.com>
31211
a0d9f9d7
JM
31212 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31213 (MINUS_ZERO_INIT): Likewise.
31214 (PLUS_INFTY_INIT): Likewise.
31215 (MINUS_INFTY_INIT): Likewise.
31216 (QNAN_VALUE_INIT): Likewise.
31217 (MAX_VALUE_INIT): Likewise.
31218 (MIN_VALUE_INIT): Likewise.
31219 (MIN_SUBNORM_VALUE_INIT): Likewise.
31220 (plus_zero): Initialize with PLUS_ZERO_INIT.
31221 (minus_zero): Initialize with MINUS_ZERO_INIT.
31222 (plus_infty): Initialize with PLUS_INFTY_INIT.
31223 (minus_infty): Initialize with MINUS_INFTY_INIT.
31224 (qnan_value): Initialize with QNAN_VALUE_INIT.
31225 (max_value): Initialize with MAX_VALUE_INIT.
31226 (min_value): Initialize with MIN_VALUE_INIT.
31227 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31228
ae08db3b
JM
31229 * math/libm-test.inc (RUN_TEST_if_f): New macro.
31230 (jn_test): Use TEST_if_f instead of TEST_ff_f.
31231 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31232 (yn_test): Use TEST_if_f instead of TEST_ff_f.
31233
f44bf14a
JM
31234 * math/libm-test.inc (RUN_TEST_f_f): New macro.
31235 (RUN_TEST_2_f): Likewise.
31236 (RUN_TEST_ff_f): Likewise.
31237 (RUN_TEST_fi_f): Likewise.
31238 (RUN_TEST_fl_f): Likewise.
31239 (RUN_TEST_fff_f): Likewise.
31240 (RUN_TEST_c_f): Likewise.
31241 (RUN_TEST_f_f1): Likewise.
31242 (RUN_TEST_fF_f1): Likewise.
31243 (RUN_TEST_fI_f1): Likewise.
31244 (RUN_TEST_ffI_f1): Likewise.
31245 (RUN_TEST_c_c): Likewise.
31246 (RUN_TEST_cc_c): Likewise.
31247 (RUN_TEST_f_i): Likewise.
31248 (RUN_TEST_f_i_tg): Likewise.
31249 (RUN_TEST_ff_i_tg): Likewise.
31250 (RUN_TEST_f_b): Likewise.
31251 (RUN_TEST_f_b_tg): Likewise.
31252 (RUN_TEST_f_l): Likewise.
31253 (RUN_TEST_f_L): Likewise.
31254 (RUN_TEST_sincos): Likewise.
31255 * math/gen-libm-test.pl (new_test): Take new argument to indicate
31256 whether to show exceptions. Do not include ");\n" in return
31257 value.
31258 (special_functions): Output call to RUN_TEST_sincos instead of
31259 check_float calls. Update calls to new_test.
31260 (parse_args): Output call to single RUN_TEST_* macro instead of
31261 check_* calls and other assignments. Update calls to new_test.
31262
d8cd06db
JM
31263 [BZ #2546]
31264 [BZ #2560]
31265 [BZ #5159]
31266 [BZ #15426]
31267 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31268 input to result for tgamma overflow.
31269 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31270 (gamma_coeff): New variable.
31271 (NCOEFF): New macro.
31272 (gamma_positive): New function.
31273 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31274 underflow here. Use gamma_positive instead of exp (lgamma) for
31275 other arguments.
31276 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31277 (gamma_coeff): New variable.
31278 (NCOEFF): New macro.
31279 (gammaf_positive): New function.
31280 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31281 underflow here. Use gamma_positive instead of exp (lgamma) for
31282 other arguments.
31283 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31284 (gamma_coeff): New variable.
31285 (NCOEFF): New macro.
31286 (gammal_positive): New function.
31287 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31288 underflow here. Use gamma_positive instead of exp (lgamma) for
31289 other arguments.
31290 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31291 (gamma_coeff): New variable.
31292 (NCOEFF): New macro.
31293 (gammal_positive): New function.
31294 (__ieee754_gammal_r): Handle positive infinity, overflow and
31295 underflow here. Handle NaN the same as positive infinity. Remove
31296 check x < 0xffffffff for negative integers. Use gamma_positive
31297 instead of exp (lgamma) for other arguments.
31298 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31299 (gamma_coeff): New variable.
31300 (NCOEFF): New macro.
31301 (gammal_positive): New function.
31302 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31303 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31304 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31305 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31306 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31307 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31308 * sysdeps/generic/math_private.h (__gamma_productf): New
31309 prototype.
31310 (__gamma_product): Likewise.
31311 (__gamma_productl): Likewise.
31312 * math/Makefile (libm-calls): Add gamma_product.
31313 * math/libm-test.inc (tgamma_test): Add more tests.
31314 * sysdeps/i386/fpu/libm-test-ulps: Update.
31315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31316
bb7cf681
OB
313172013-05-08 Ondřej Bílka <neleai@seznam.cz>
31318
31319 * benchtests/bench-skeleton.c (main): Preheat CPU.
31320
ba853947
AJ
313212013-05-07 Aurelien Jarno <aurelien@aurel32.net>
31322
31323 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31324
8347c74c
RM
313252013-05-07 Roland McGrath <roland@hack.frob.com>
31326
31327 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31328 and _dl_skip_args_internal.
31329
e8dd4791
CD
313302013-05-07 Carlos O'Donell <carlos@redhat.com>
31331
31332 * manual/message.texi (Message Translation): Talk about users.
31333 Message to key mapping impacts design.
31334
c7405830
RM
313352013-05-06 Roland McGrath <roland@hack.frob.com>
31336
a9173057
RM
31337 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31338
976e2f03
RM
31339 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31340
9723ffc5
RM
31341 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31342 * sysdeps/wordsize-64/glob64.c: ... here.
31343
962e6658
RM
31344 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31345 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31346 New macros.
31347
ee586a6d
RM
31348 * debug/getlogin_r_chk.c: Moved to ...
31349 * login/getlogin_r_chk.c: ... here.
31350 * debug/Makefile (routines): Move getlogin_r_chk to ...
31351 * login/Makefile (routines): ... here.
31352 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31353 * login/Versions (libc: GLIBC_2.4): ... here.
31354
355f9165
RM
31355 * io/poll.c (__poll): Renamed from poll.
31356 Add libc_hidden_def.
31357 (poll): Define as weak alias.
31358
bd9ffde6
RM
31359 * debug/ptsname_r_chk.c: Moved to ...
31360 * login/ptsname_r_chk.c: ... here.
31361 * debug/Makefile (routines): Move ptsname_r_chk to ...
31362 * login/Makefile (routines): ... here.
31363 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31364 * login/Versions (libc: GLIBC_2.4): ... here.
31365
8fb16a04
RM
31366 * posix/getlogin.c: Moved to ...
31367 * login/getlogin.c: ... here.
31368 * posix/getlogin_r.c: Moved to ...
31369 * login/getlogin_r.c: ... here.
31370 * posix/getlogin_r.c: Moved to ...
31371 * login/getlogin_r.c: ... here.
31372 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31373 * login/Makefile (routines): ... here.
31374 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31375 * login/Versions (libc: GLIBC_2.0): ... here.
31376
b99b892f
RM
31377 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31378 (setrlimit): Define as weak alias.
31379
c7405830
RM
31380 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31381 Call __ names for open, ftruncate, and close.
31382 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31383 (truncate): Define as weak alias.
31384
5bf96de5
JM
313852013-05-06 Joseph Myers <joseph@codesourcery.com>
31386
9ea3513c
JM
31387 * math/gen-libm-test.pl (parse_args): Initialize x before each
31388 test of frexp, modf and remquo.
31389
5bf96de5
JM
31390 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31391 test signgam value.
31392
16e616a7
AZ
313932013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31394
31395 [BZ #15418]
31396 [BZ #15419]
31397 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31398 internal tests.
31399 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31400
d5e82754
RM
314012013-05-06 Roland McGrath <roland@hack.frob.com>
31402
31403 * elf/dl-writev.h: New file.
31404 * elf/dl-misc.c: Include it.
31405 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31406 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31407
a7548d41
JM
314082013-05-04 Joseph Myers <joseph@codesourcery.com>
31409
b7dab1e4
JM
31410 * math/libm-test.inc (noXFails): Remove variable.
31411 (noXPasses): Likewise.
31412 (BUILD_COMPLEX_INT): Remove macro.
31413 (print_screen): Remove xfail argument.
31414 (print_screen_max_error): Likewise.
31415 (update_stats): Likewise.
31416 (print_max_error): Likewise. Update calls to other affected
31417 functions.
31418 (print_complex_max_error): Likewise.
31419 (test_single_exception): Update calls to print_screen.
31420 (test_single_errno): Likewise.
31421 (check_float_internal): Remove xfail argument. Update calls to
31422 other affected functions.
31423 (check_float): Likewise.
31424 (check_complex): Likewise.
31425 (check_int): Likewise.
31426 (check_long): Likewise.
31427 (check_bool): Likewise.
31428 (check_longlong): Likewise.
31429 (main): Don't print noXFails and noXPasses.
31430 * math/gen-libm-test.pl (top level): Don't mention expected
31431 failure handling in comment.
31432 (new_test): Don't handle expected failures.
31433 (parse_args): Don't mention expected failure handling in comment.
31434 (generate_testfile): Don't handle expected failures.
31435 (parse_ulps): Likewise.
31436 (print_ulps_file): Likewise.
31437 (get_failure): Remove function.
31438 (output_test): Don't handle expected failures.
31439 * make/README.libm-test: Don't mention expected failure handling.
31440
a7548d41
JM
31441 * math/libm-test.inc (plus_zero): Make const. Add initializer.
31442 (minus_zero): Likewise.
31443 (plus_infty): Likewise.
31444 (minus_infty): Likewise.
31445 (qnan_value): Likewise.
31446 (max_value): Likewise.
31447 (min_value): Likewise.
31448 (min_subnorm_value): Likewise.
31449 (initialize): Do not initialize those variables dynamically.
31450
60bfd54c
RM
314512013-05-03 Roland McGrath <roland@hack.frob.com>
31452
cc0e6ed8
RM
31453 * io/open.c (__open_2): Moved to ...
31454 * io/open_2.c: ... this new file.
31455 * io/open64.c (__open64_2): Moved to ...
31456 * io/open64_2.c: ... this new file.
31457 * io/openat.c (__openat_2): Moved to ...
31458 * io/openat_2.c: ... this new file.
31459 * io/openat64.c (__openat64_2): Moved to ...
31460 * io/openat64_2.c: ... this new file.
31461 * io/Makefile (routines): Add them.
31462 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
31463 * sysdeps/unix/sysv/linux/open_2.c: File removed.
31464 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
31465 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
31466 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
31467 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
31468 (__openat64): Add hidden_ver.
31469 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
31470 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
31471
60bfd54c
RM
31472 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
31473 Separately conditionalize setting of GLRO(dl_sysinfo) so
31474 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
31475 as well, but the actual setting is only under [NEED_DL_SYSINFO].
31476
83e7640f
AZ
314772013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31478
31479 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
31480 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
31481 definition.
31482 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
31483 * sysdeps/unix/sysv/linux/powerpc/init-first.c
31484 (_libc_vdso_platform_setup): Add __vdso_time initialization.
31485 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
31486 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
31487
d5dc2af3
JM
314882013-05-03 Joseph Myers <joseph@codesourcery.com>
31489
c31a5b1e
JM
31490 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
31491 test signgam value.
31492
d5dc2af3
JM
31493 * math/libm-test.inc (hypot_test): Do not use
31494 IGNORE_ZERO_INF_SIGN.
31495
164fd39d
AJ
314962013-05-03 Andreas Jaeger <aj@suse.de>
31497
31498 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
31499 Linux 3.9.
31500 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
31501 (PF_MAX): Adjust for VSOCK change.
31502
8237f48c
AZ
315032013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31504
31505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31506
9df02941
CD
315072013-05-02 Carlos O'Donell <carlos@redhat.com>
31508
31509 [BZ #15264]
31510 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
31511 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
31512 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
31513
d422395e
DM
315142013-05-02 David S. Miller <davem@davemloft.net>
31515
31516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31517
a07c5731
OB
315182013-05-01 Ondřej Bílka <neleai@seznam.cz>
31519
31520 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
31521
1324e37f
RM
315222013-05-01 Roland McGrath <roland@hack.frob.com>
31523
31524 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
31525
0695940b
RS
315262013-05-01 Richard Smith <richard@metafoo.co.uk>
31527
bb5f27ad 31528 [BZ #14952]
0695940b
RS
31529 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
31530 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31531 Use __attribute__ ((__gnu_inline__)).
31532 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31533 Don't use __attribute__ ((__gnu_inline__)).
31534
10de07f5
JM
315352013-05-01 Joseph Myers <joseph@codesourcery.com>
31536
31537 [BZ #15423]
31538 * math/s_catan.c (__catan): Handle small real or imaginary part of
31539 input specially to avoid spurious underflow.
31540 * math/s_catanf.c (__catanf): Likewise.
31541 * math/s_catanh.c (__catanh): Likewise.
31542 * math/s_catanhf.c (__catanhf): Likewise.
31543 * math/s_catanhl.c (__catanhl): Likewise.
31544 * math/s_catanl.c (__catanl): Likewise.
31545 * math/libm-test.inc (catan_test): Add more tests.
31546 (catanh_test): Likewise.
31547 * sysdeps/i386/fpu/libm-test-ulps: Update.
31548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31549
cb4d5414
AZ
315502013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31551
31552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31553
caf84319
JM
315542013-04-30 Joseph Myers <joseph@codesourcery.com>
31555
31556 [BZ #15416]
31557 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
31558 accurately for denominator in atan2.
31559 * math/s_catanf.c (__catanf): Likewise.
31560 * math/s_catanh.c (__catanh): Likewise.
31561 * math/s_catanhf.c (__catanhf): Likewise.
31562 * math/s_catanhl.c (__catanhl): Likewise.
31563 * math/s_catanl.c (__catanl): Likewise.
31564 * math/libm-test.inc (catan_test): Add more tests.
31565 (catanh_test): Likewise.
31566 * sysdeps/i386/fpu/libm-test-ulps: Update.
31567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31568
d569c6ee
SP
315692013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31570
6dbe713d
SP
31571 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
31572
f0ee064b
SP
31573 * benchtests/Makefile (bench): Remove slow benchmarks.
31574 * benchtests/atan-inputs: Add slow benchmark inputs.
31575 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
31576 (BENCH_FUNC): Accept variant offset.
31577 (VARIANT): Define.
31578 * benchtests/bench-skeleton.c (main): Run benchmark for each
31579 variant.
31580 * benchtests/cos-inputs: Add slow benchmark inputs.
31581 * benchtests/exp-inputs: Likewise.
31582 * benchtests/pow-inputs: Likewise.
31583 * benchtests/sin-inputs: Likewise.
31584 * benchtests/slowatan-inputs: Remove.
31585 * benchtests/slowatan.c: Remove.
31586 * benchtests/slowcos-inputs: Remove.
31587 * benchtests/slowcos.c: Remove.
31588 * benchtests/slowexp-inputs: Remove.
31589 * benchtests/slowexp.c: Remove.
31590 * benchtests/slowpow-inputs: Remove.
31591 * benchtests/slowpow.c: Remove.
31592 * benchtests/slowsin-inputs: Remove.
31593 * benchtests/slowsin.c: Remove.
31594 * benchtests/slowtan-inputs: Remove.
31595 * benchtests/slowtan.c: Remove.
31596 * benchtests/tan-inputs: Add slow benchmark inputs.
31597 * scripts/bench.pl: Parse comments and directives.
31598
d569c6ee
SP
31599 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
31600 in CPPFLAGS.
31601 ($(objpfx)bench-%.c): Remove *-ITER.
31602 * benchtests/bench-modf.c: Remove definition of ITER.
31603 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
31604 (main): Loop for DURATION seconds instead of fixed number of
31605 iterations.
31606 * scripts/bench.pl: Don't expect iterations in parameters.
31607
a6a242fe
RM
316082013-04-29 Roland McGrath <roland@hack.frob.com>
31609
31610 * io/fchdir.c (__fchdir): Renamed from fchdir.
31611 (fchdir): Define as weak alias.
31612
f2da7793
JM
316132013-04-29 Joseph Myers <joseph@codesourcery.com>
31614
31615 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
31616 (ERRNO_EDOM): Likewise.
31617 (ERRNO_ERANGE): Likewise.
31618 (noErrnoTests): New variable.
31619 (init_max_error): Set errno to 0.
31620 (test_single_errno): New function.
31621 (test_errno): Likewise.
31622 (check_float_internal): Call test_errno. Set errno to 0.
31623 (check_complex): Refer to errno tests in comment.
31624 (check_int): Call test_errno. Set errno to 0.
31625 (check_long): Likewise.
31626 (check_bool): Likewise.
31627 (check_longlong): Likewise.
31628 (cos_test): Use ERRNO_* flags for errno tests instead of
31629 check_int.
31630 (expm1_test): Likewise.
31631 (fmod_test): Likewise.
31632 (ilogb_test): Likewise.
31633 (lgamma_test): Likewise.
31634 (pow_test): Likewise.
31635 (remainder_test): Likewise.
31636 (sin_test): Likewise.
31637 (tan_test): Likewise.
31638 (yn_test): Likewise.
31639 (initialize): Set errno to 0.
31640 (main): Print number of errno tests.
31641 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
31642
b1a36ceb
AJ
316432013-04-29 Andreas Jaeger <aj@suse.de>
31644
c3ed8088
AJ
31645 [BZ #15084]
31646 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
31647 and RES_USEVC.
31648
f1a24198
AJ
31649 [BZ #15085]
31650 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
31651 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
31652 unimplemented.
31653
9ce3b2cb
AJ
31654 [BZ #15380]
31655 * stdlib/random.c (__initstate): Return NULL if
31656 __initstate fails.
31657
f1a24198 31658 [BZ #15086]
b1a36ceb
AJ
31659 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
31660 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
31661 RES_SNGLKUPREOP.
31662
7e7b6f36
AZ
316632013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31664
31665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31666
4d14f449
JM
316672013-04-29 Joseph Myers <joseph@codesourcery.com>
31668
31669 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
31670 of individual tests.
31671 (casin_test): Likewise.
31672 (casinh_test): Likewise.
31673
5b4217d7
JM
316742013-04-27 Joseph Myers <joseph@codesourcery.com>
31675
31676 [BZ #15409]
31677 * math/s_catan.c (__catan): Handle arguments with large real or
31678 imaginary part separately without squaring.
31679 * math/s_catanf.c (__catanf): Likewise.
31680 * math/s_catanh.c (__catanh): Likewise.
31681 * math/s_catanhf.c (__catanhf): Likewise.
31682 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31683 and redefine.
31684 (__catanhl): Handle arguments with large real or imaginary part
31685 separately without squaring.
31686 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31687 and redefine.
31688 (__catanl): Handle arguments with large real or imaginary part
31689 separately without squaring.
31690 * math/libm-test.inc (catan_test): Add more tests.
31691 (catanh_test): Likewise.
31692 * sysdeps/i386/fpu/libm-test-ulps: Update.
31693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31694
4220c3ef
AJ
316952013-04-27 Andreas Jaeger <aj@suse.de>
31696
31697 [BZ #15007]
31698 * stdlib/stdlib.h: Update guards for qecvt.
31699 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
31700 <stdlib.h>.
31701
4721b2d1
AM
317022013-04-27 Allan McRae <allan@archlinux.org>
31703
31704 * sysdeps/i386/fpu/libm-test-ulps: Update.
31705
f0302940
JM
317062013-04-26 Joseph Myers <joseph@codesourcery.com>
31707
9457fd95
JM
31708 [BZ #15406]
31709 * math/s_catan.c: Include <float.h>.
31710 (__catan): Ensure underflow exception occurs for underflowed
31711 result.
31712 * math/s_catanf.c: Include <float.h>.
31713 (__catanf): Ensure underflow exception occurs for underflowed
31714 result.
31715 * math/s_catanh.c: Include <float.h>.
31716 (__catanh): Ensure underflow exception occurs for underflowed
31717 result.
31718 * math/s_catanhf.c: Include <float.h>.
31719 (__catanhf): Ensure underflow exception occurs for underflowed
31720 result.
31721 * math/s_catanhl.c: Include <float.h>.
31722 (__catanhl): Ensure underflow exception occurs for underflowed
31723 result.
31724 * math/s_catanl.c: Include <float.h>.
31725 (__catanl): Ensure underflow exception occurs for underflowed
31726 result.
31727 * math/libm-test.inc (catan_test): Add more tests.
31728 (catanh_test): Likewise.
31729
f0302940
JM
31730 [BZ #15405]
31731 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
31732 underflowed result.
31733 * math/s_ccoshf.c (__ccoshf): Likewise.
31734 * math/s_ccoshl.c (__ccoshl): Likewise.
31735 * math/s_csin.c (__csin): Likewise.
31736 * math/s_csinf.c (__csinf): Likewise.
31737 * math/s_csinh.c (__csinh): Likewise.
31738 * math/s_csinhf.c (__csinhf): Likewise.
31739 * math/s_csinhl.c (__csinhl): Likewise.
31740 * math/s_csinl.c (__csinl): Likewise.
31741 * math/libm-test.inc (ccos_test): Add more tests.
31742 (ccosh_test): Likewise.
31743 (csin_test): Likewise.
31744 (csinh_test): Likewise.
31745
aa630f59
AZ
317462013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31747
31748 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
31749 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
31750 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
31751 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
31752 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
31753 powerpc/power5+/fpu folders.
31754 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
31755
31756
1b835983
MT
317572013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31758
31759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31760
73709b26
JM
317612013-04-25 Joseph Myers <joseph@codesourcery.com>
31762
31763 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
31764 additions to variable.
31765 [$(config-machine) = x86_64] (modules-names): Likewise.
31766 ($(objpfx)tst-audit3): Remove dependency.
31767 ($(objpfx)tst-audit3.out): Likewise.
31768 ($(objpfx)tst-audit4): Likewise.
31769 ($(objpfx)tst-audit4.out): Likewise.
31770 ($(objpfx)tst-audit5): Likewise.
31771 ($(objpfx)tst-audit5.out): Likewise.
31772 ($(objpfx)tst-audit6): Likewise.
31773 ($(objpfx)tst-audit6.out): Likewise.
31774 ($(objpfx)tst-audit7): Likewise.
31775 ($(objpfx)tst-audit7.out): Likewise.
31776 (tst-audit3-ENV): Remove variable.
31777 (tst-audit4-ENV): Likewise.
31778 (tst-audit5-ENV): Likewise.
31779 (tst-audit6-ENV): Likewise.
31780 (tst-audit7-ENV): Likewise.
31781 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
31782 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
31783 addition to variable.
31784 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
31785 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
31786 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
31787 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
31788 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
31789 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
31790 tst-audit3, tst-audit4 and tst-audit5.
31791 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
31792 tst-audit6 and tst-audit7.
31793 [$(subdir) = elf] (modules-names): Add audit modules for those
31794 tests.
31795 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
31796 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
31797 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
31798 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
31799 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
31800 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
31801 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
31802 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
31803 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
31804 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
31805 [$(subdir) = elf] (tst-audit3-ENV): New variable.
31806 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
31807 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
31808 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
31809 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
31810 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
31811 Likewise.
31812 [$(subdir) = elf && $(config-cflags-avx) = yes]
31813 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
31814 [$(subdir) = elf && $(config-cflags-avx) = yes]
31815 (CFLAGS-tst-auditmod4a.c): Likewise.
31816 [$(subdir) = elf && $(config-cflags-avx) = yes]
31817 (CFLAGS-tst-auditmod4b.c): Likewise.
31818 [$(subdir) = elf && $(config-cflags-avx) = yes]
31819 (CFLAGS-tst-auditmod6b.c): Likewise.
31820 [$(subdir) = elf && $(config-cflags-avx) = yes]
31821 (CFLAGS-tst-auditmod6c.c): Likewise.
31822 [$(subdir) = elf && $(config-cflags-avx) = yes]
31823 (CFLAGS-tst-auditmod7b.c): Likewise.
31824 * elf/tst-audit3.c: Move to ...
31825 * sysdeps/x86_64/tst-audit3.c: ... here.
31826 * elf/tst-audit4.c: Move to ...
31827 * sysdeps/x86_64/tst-audit4.c: ... here.
31828 * elf/tst-audit5.c: Move to ...
31829 * sysdeps/x86_64/tst-audit5.c: ... here.
31830 * elf/tst-audit6.c: Move to ...
31831 * sysdeps/x86_64/tst-audit6.c: ... here.
31832 * elf/tst-audit7.c: Move to ...
31833 * sysdeps/x86_64/tst-audit7.c: ... here.
31834 * elf/tst-auditmod3a.c: Move to ...
31835 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
31836 * elf/tst-auditmod3b.c: Move to ...
31837 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
31838 * elf/tst-auditmod4a.c: Move to ...
31839 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
31840 * elf/tst-auditmod4b.c: Move to ...
31841 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
31842 * elf/tst-auditmod5a.c: Move to ...
31843 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
31844 * elf/tst-auditmod5b.c: Move to ...
31845 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
31846 * elf/tst-auditmod6a.c: Move to ...
31847 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
31848 * elf/tst-auditmod6b.c: Move to ...
31849 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
31850 * elf/tst-auditmod6c.c: Move to ...
31851 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
31852 * elf/tst-auditmod7a.c: Move to ...
31853 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
31854 * elf/tst-auditmod7b.c: Move to ...
31855 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
31856
1ef74943
PP
318572013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
31858
31859 [BZ #15366]
31860 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
31861 define unconditionally.
31862 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
31863 define unconditionally.
31864 (INT8_C, INT16_C, etc.): Likewise.
31865
93fd48c5
MR
318662013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
31867
ae9552cf
MR
31868 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
31869 __ehdr_start with hidden visibility.
31870
93fd48c5
MR
31871 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
31872
418601aa
CD
318732013-04-24 Carlos O'Donell <carlos@redhat.com>
31874
31875 * math/libm-test.inc (cos_test): Use accurate hex constants.
31876 (sincost_test): Likewise.
31877
2f38fbfe
JM
318782013-04-24 Joseph Myers <joseph@codesourcery.com>
31879
5e221800
JM
31880 * math/libm-test.inc (catan_test): Add more tests.
31881 (catanh_test): Likewise.
31882
77f143fd
JM
31883 * math/s_catanf.c (__catanf): Use suffixed floating-point
31884 constants.
31885 * math/s_catanhf.c (__catanhf): Likewise.
31886 * math/s_catanhl.c (__catanhl): Likewise.
31887 * math/s_catanl.c (__catanl): Likewise.
31888
2f38fbfe
JM
31889 [BZ #15394]
31890 * math/s_catan.c (__catan): Calculate imaginary part of result
31891 with log1p not log unless computing log of number close to 0.
31892 * math/s_catanf.c (__catanf): Likewise.
31893 * math/s_catanl.c (__catanl): Likewise.
31894 * math/s_catanh.c (__catanh): Calculate real part of result with
31895 log1p not log unless computing log of number close to 0.
31896 * math/s_catanhf.c (__catanhf): Likewise.
31897 * math/s_catanhl.c (__catanhl): Likewise.
31898 * math/libm-test.inc (catan_test): Add more tests.
31899 (catanh_test): Likewise.
31900 * sysdeps/i386/fpu/libm-test-ulps: Update.
31901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31902
45d69176
SP
319032013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31904
31905 * benchtests/Makefile: Mention files in which fast and slow
31906 paths of math functions are implemented.
31907
87f51853
RM
319082013-04-23 Roland McGrath <roland@hack.frob.com>
31909
31910 * sysdeps/posix/timespec_get.c: New file.
31911
3c026539
AZ
319122013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31913
31914 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
31915 POWER.
31916 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
31917 for POWER.
31918 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
31919 powerpc/power5/fpu folders.
31920 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
31921 * benchtests/Makefile: Add modf testcase.
31922 * benchtests/bench-modf.c: New file: Benchmark test for mo
31923
ff491d14
SP
319242013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
31925
31926 [BZ #14888]
31927 * time/Makefile (tests): Add tst-strptime-whitespace.
31928 * time/strptime_l.c (get_number): Use ISSPACE.
31929 (__strptime_internal): Likewise.
31930 * time/tst-strptime-whitespace.c: New test case.
31931
7ed3f4e8
AS
319322013-04-23 Andreas Schwab <schwab@linux-m68k.org>
31933
31934 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
31935 member.
31936 (_nss_files_init): Set it here.
31937
5c95f7b6
HC
319382013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
31939
31940 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
31941 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
31942 unsigned.
31943
d34c9158
JBG
319442013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
31945
31946 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
31947
2169712d
SP
319482013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31949
31950 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
31951 size just once.
31952
29c5de99
DM
319532013-04-21 David S. Miller <davem@davemloft.net>
31954
31955 * po/ru.po: Update Russion translation from translation project.
31956
ccdad15d
AC
319572013-04-17 Adam Conrad <adconrad@0c3.net>
31958
31959 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
31960 and setfsgid.
31961
0f122b8d
CD
319622013-04-17 Carlos O'Donell <carlos@redhat.com>
31963
5c5b07da 31964 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 31965 * configure: Regenerate.
5c5b07da 31966 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
31967 Add example to error message.
31968 * sysdeps/i386/configure: Regenerate.
31969
037714dd
SP
319702013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31971
31972 * benchtests/Makefile (bench): Add cos, tan, slowcos and
31973 slowtan.
31974 * benchtests/cos-inputs: New file.
31975 * benchtests/slowcos-inputs: New file.
31976 * benchtests/slowcos.c: New file.
31977 * benchtests/slowtan-inputs: New file.
31978 * benchtests/slowtan.c: New file.
31979 * benchtests/tan-inputs: New file.
31980
e913141d
RM
319812013-04-16 Roland McGrath <roland@hack.frob.com>
31982
31983 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
31984 considered kosher.
31985
a2964074
SP
319862013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31987
4856bcd2
SP
31988 * benchtests/Makefile: Include cppflags-iterator.mk to add
31989 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
31990
a2964074
SP
31991 * Makefile.in (bench-clean): New target.
31992 * benchtests/Makefile (bench-clean): Likewise.
31993
9fbf9aca
DH
319942013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
31995
31996 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
31997
207d1e2a
TS
319982013-04-15 Thomas Schwinge <thomas@codesourcery.com>
31999
32000 * stdio-common/tstdiomisc.c: Fix coding-style violation.
32001
306dfba9
AS
320022013-04-15 Andreas Schwab <schwab@suse.de>
32003
32004 * nscd/grpcache.c (cache_addgr): Properly check for short write.
32005 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32006 * nscd/pwdcache.c (cache_addpw): Likewise.
32007 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
32008 more than recsize.
32009
206a6699
SP
320102013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32011
32012 * benchtests/Makefile (bench): Write all output to
32013 bench-out.tmp together.
32014
0582f6b3
AS
320152013-04-15 Andreas Schwab <schwab@suse.de>
32016
32017 * nscd/nscd.c (main): Don't fork again after closing files.
32018
acb4325f
SP
320192013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32020
5cb26d0a
SP
32021 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32022
acb4325f
SP
32023 * benchtests/Rules (bench-deps): Collect dependencies into a
32024 single variable. Add Makefile to dependencies.
32025 ($(objpfx)bench-%.c): Depend on bench-deps.
32026
47792506
RM
320272013-04-12 Roland McGrath <roland@hack.frob.com>
32028 Xavier Roche <roche+kml2@exalead.com>
32029
32030 [BZ #15361]
32031 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
32032 just that it's a file descriptor.
32033 * manual/llio.texi (Synchronizing AIO Operations): Update description
32034 for EBADF error from aio_fsync.
32035
8fc1bee5
SP
320362013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32037
32038 * Rules (bench): Move target definition...
32039 * benchtests/Makefile: ... here.
32040
aba5e333
CD
320412013-04-11 Carlos O'Donell <carlos@redhat.com>
32042
32043 * math/libm-test.inc (cos_test): Fix PI/2 test.
32044 (sincos_test): Likewise.
32045 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32046 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
32047
273cdee8
AS
320482013-04-11 Andreas Schwab <schwab@suse.de>
32049
6ecec3b6
AS
32050 [BZ #13988]
32051 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
32052 accept exponent character only when digits were seen.
32053 * stdio-common/Makefile (tests): Add bug26.
32054 * stdio-common/bug26.c: New file.
32055
273cdee8
AS
32056 [BZ #14293]
32057 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
32058 non-freeable.
32059
8da491f5
SP
320602013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32061
01dc6df9
SP
32062 * Makeconfig (rtld-prefix): Define built linker prefix.
32063 * Rules (run-bench): Use it.
32064 * math/Makefile (run-regen-ulps): Likewise.
32065
8da491f5
SP
32066 * Rules (bench): Remove eval.
32067
abe7f530
SP
320682013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32069 Roland McGrath <roland@hack.frob.com>
32070 Ondrej Bilka <neleai@seznam.cz>
32071
32072 [BZ #15346]
32073 * time/getdate.c: Include ctype.h and alloca.h.
32074 (__getdate_r): Trim leading and trailing spaces of input.
32075 * time/tst-getdate.c (tests): Add tests with leading and
32076 trailing spaces.
32077
61c23e62
RM
320782013-04-08 Roland McGrath <roland@hack.frob.com>
32079
32080 [BZ #14280]
32081 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
32082 when computing value.
32083
7208a313
CD
320842013-04-06 Carlos O'Donell <carlos@redhat.com>
32085
085b2d41
CD
32086 * math/README.libm-test (How can I generate "libm-test-ulps"?):
32087 Use testrun.sh to run libm tests.
32088
7208a313
CD
32089 [BZ #15309]
32090 * elf/dl-open.c (dl_open_worker): memset all of seen array.
32091
872c0acd
MM
320922013-04-06 Marko Myllynen <myllynen@redhat.com>
32093
32094 [BZ #15264]
32095 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
32096
26510bdd
CD
320972013-04-06 Carlos O'Donell <carlos@redhat.com>
32098
32099 * Makefile.in (regen-ulps): New target.
32100 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
32101 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
32102 [ifneq (no,$(PERL)] (regen-ulps): New target.
32103 [ifeq (no,$(PERL)] (regen-ulps): New target.
32104 * math/libm-test.inc (ulps_file_name): Define.
32105 (output_dir): New variable.
32106 (options): Add "output-dir" option.
32107 (parse_opt): Handle 'o' case.
32108 (main): If output_dir is non-NULL use it as a prefix
32109 otherwise use "".
32110 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
32111
a01f19c8
CD
321122013-04-06 Carlos O'Donell <carlos@redhat.com>
32113
32114 [BZ #10060, #10062]
32115 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
32116 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
32117 fail configure if __sync_val_compare_and_swap is not inlined.
32118 * sysdeps/i386/configure: Regenerate.
32119 * configure.in: Build for i686 when configured for i386.
32120 * configure: Regenerate.
32121 * README: Remove i386 reference.
32122
b7a329a5
CD
321232013-04-06 Carlos O'Donell <carlos@redhat.com>
32124
32125 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
32126 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32127
bf0f50df
TS
321282013-04-05 Thomas Schwinge <thomas@codesourcery.com>
32129
ee091edf
TS
32130 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32131 (lmsnanval): New variables.
32132 (F): Add conversion tests.
32133 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32134 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32135
a8b792d6
TS
32136 * stdio-common/tstdiomisc.c (F): Properly collect individual
32137 tests' results.
32138
a1cbf437
TS
32139 [BZ #14686, #15336]
32140 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
32141 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
32142 Instead, use input NaN values or generate a qNaN by arithmetic
32143 operation. Also fix bugs to comply with the standard.
32144 * math/libm-test.inc (remainder_test): Add more tests.
32145
8b43a0c9
TS
32146 [BZ #15335, #15342]
32147 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
32148 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
32149 input NaN values or generate a qNaN by arithmetic operation.
32150
d91da4ce
TS
32151 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
32152 unreachable code.
32153
bf0f50df
TS
32154 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
32155 definitions.
32156
05e166c8
JM
321572013-04-03 Joseph Myers <joseph@codesourcery.com>
32158
32159 [BZ #14478]
32160 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
32161 underflowed result.
32162 * math/s_cexpf.c (__cexpf): Likewise.
32163 * math/s_cexpl.c (__cexpl): Likewise.
32164 * math/libm-test.inc (cexp_test): Add more tests.
32165
1cef1b19
AS
321662013-04-03 Andreas Schwab <schwab@suse.de>
32167
32168 [BZ #15330]
32169 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
32170 order arrays from heap if bigger than alloca cutoff.
32171
74d87055
TS
321722013-04-03 Thomas Schwinge <thomas@codesourcery.com>
32173
32174 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32175 (SNAN_TESTS_double): Refer to GCC PR56831.
32176 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
32177 GCC PR56828.
32178
d755bba4
SP
321792013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32180
90d5d5bb
SP
32181 * Rules (bench): Move bench.out after the run is complete.
32182
73e0cd5d
SP
32183 * Rules (bench): Echo currently running benchmark.
32184
64aabd4b
SP
32185 * benchtests/Makefile (bench): Add atan and slowatan.
32186 * benchtests/atan-inputs: New file.
32187 * benchtests/slowatan-inputs: New file.
32188 * benchtests/slowatan.c: New file.
32189
c871eccd
SP
32190 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32191 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32192 its value.
32193
d755bba4
SP
32194 [BZ #15305]
32195 * sysdeps/unix/sysv/linux/kernel-features.h
32196 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32197 __ASSUME_XFS_RESTRICTED_CHOWN.
32198 * sysdeps/unix/sysv/linux/pathconf.c
32199 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32200 Save and restore errno.
32201
52ce4860
JM
322022013-04-02 Joseph Myers <joseph@codesourcery.com>
32203
32204 [BZ #15327]
32205 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32206 arguments using __kernel_casinh.
32207 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32208 arguments using __kernel_casinhf.
32209 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32210 arguments using __kernel_casinhl.
32211 * math/libm-test.inc (cacosh_test): Add more tests.
32212 * sysdeps/i386/fpu/libm-test-ulps: Update.
32213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32214
81f311c2
SP
322152013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32216
e7906a47
SP
32217 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32219
92e3664b
SP
32220 * bench/Makefile (bench): Add sin and slowsin.
32221 * benchtests/sin-inputs: New file.
32222 * benchtests/slowsin-inputs: New file.
32223 * benchtests/slowsin.c: New file.
32224
81f311c2
SP
32225 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32226 (bench): Add slowexp and slowpow.
32227 (exp-ITER): Increase iterations.
32228 (pow-ITER): Likewise.
32229 * benchtests/exp-inputs: Change input.
32230 * benchtests/pow-inputs: Likewise.
32231 * benchtests/slowexp-inputs: New file.
32232 * benchtests/slowexp.c: New file.
32233 * benchtests/slowpow-inputs: New file.
32234 * benchtests/slowpow.c: New file.
32235
ab0f1aa9
AZ
322362013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32237
32238 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32239 instructions.
32240 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32241 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32242 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32243 * benchtests/Makefile: Add rint benchtest.
32244 * benchtests/rint-inputs: Input for rint benchtest.
32245
57267616
TS
322462013-04-02 Thomas Schwinge <thomas@codesourcery.com>
32247
32248 * Versions.def (libm): Add GLIBC_2.18.
32249 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32250 hidden libm prototypes.
32251 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32252 * math/Makefile (libm-calls): Add s_issignaling.
32253 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32254 __issignalingf, __issignalingl. Adjust all libm.abilist files.
32255 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32256 declaration.
32257 * math/math.h [__USE_GNU] (issignaling): New macro.
32258 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32259 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32260 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32261 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32262 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32263 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32264 * manual/arith.texi (issignaling): New section.
32265 * manual/libm-err-tab.pl (@all_functions): Update comment.
32266 * math/gen-libm-test.pl (parse_args): Apply special handling for
32267 issignaling.
32268 * math/libm-test.inc (print_float, issignaling_test): New
32269 functions.
32270 (check_float_internal): Add issignaling checks.
32271 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32272 default definition.
32273 * sysdeps/powerpc/math-tests.h: New file.
32274 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32275 tests.
32276 * math/test-snan.c (TEST_FUNC): Likewise.
32277
6142896d
DM
322782013-03-30 David S. Miller <davem@davemloft.net>
32279
32280 * po/de.po: Update from translation team.
32281
ccc8cadf
JM
322822013-03-30 Joseph Myers <joseph@codesourcery.com>
32283
32284 [BZ #10357]
32285 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32286 imaginary part less than 1.0 and real part less than 0.5
32287 specially.
32288 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32289 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32290 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32291 (cacos_test): Add more tests.
32292 (casin_test): Likewise.
32293 (casinh_test): Likewise.
32294 * sysdeps/i386/fpu/libm-test-ulps: Update.
32295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32296
0f6a8d4b
SP
322972013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32298
0d1029de
SP
32299 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32300 ONE with its value.
32301
c2d94018
SP
32302 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32303 (__pow_mp): Replace ONE and MONE with their values.
32304 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32305 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32306 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32307 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32308 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32309 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32310
27ec37f1
SP
32311 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32312
a64d7e0e
SP
32313 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32314 (__pow_mp): Replace ZERO and MZERO with their values.
32315 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32316 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32317 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32318 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32319 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32320 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32321 (__sqr): Likewise.
32322
d26dd3eb
SP
32323 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32324
0f6a8d4b
SP
32325 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32326
e57b0c61
RM
323272013-03-28 Roland McGrath <roland@hack.frob.com>
32328
32329 * include/stdlib.h [!SHARED] (__call_tls_dtors):
32330 Declare with __attribute__ ((weak)).
32331 * stdlib/exit.c (__libc_atexit) [!SHARED]:
32332 Call __call_tls_dtors only if it's not NULL.
32333
356b3480
RM
323342013-03-28 Roland McGrath <roland@hack.frob.com>
32335
288f7d79
RM
32336 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32337 didn't do it already, then set _dl_phdr and _dl_phnum based on the
32338 magic __ehdr_start linker symbol if it's defined.
32339 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32340 them up here if it was already done.
32341
dc0a0263
RM
32342 * elf/dl-support.c (_dl_phdr): Make pointer to const.
32343 (_dl_aux_init): Use const in cast when setting it.
32344 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32345 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32346 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32347
3d3436ae
RM
32348 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32349 Declare them here.
32350 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32351 * csu/libc-tls.c: Nor here.
32352 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32353
356b3480
RM
32354 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32355 (__libc_message): Never call vsyslog.
32356
b0f1246a
AM
323572013-03-28 Alan Modra <amodra@gmail.com>
32358
32359 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32360 Define as empty.
32361 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32362 Likewise.
32363
fbbe2b9a
AZ
323642013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32365
32366 [BZ #15214]
32367 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32368 underflow.
32369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32370
1728ab37
SP
323712013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32372
7a86be6e
SP
32373 [BZ #15304]
32374 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32375 Don't add gid passed as argument.
32376
1728ab37
SP
32377 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32378
3a7182a1
JM
323792013-03-27 Joseph Myers <joseph@codesourcery.com>
32380
32381 [BZ #15307]
32382 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32383 imaginary part between 1.0 and 1.5 and real part less than 0.5
32384 specially.
32385 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32386 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32387 * math/libm-test.inc (cacos_test): Add more tests.
32388 (casin_test): Likewise.
32389 (casinh_test): Likewise.
32390 * sysdeps/i386/fpu/libm-test-ulps: Update.
32391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32392
6f2e90e7
SP
323932013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32394
5739f705
SP
32395 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32396 constants.
32397 (norm): Likewise.
32398 (denorm): Likewise.
32399 (__dbl_mp): Likewise.
32400 (add_magnitudes): Likewise.
32401 (sub_magnitudes): Likewise.
32402 (__add): Likewise.
32403 (__sub): Likewise.
32404 (__mul): Likewise.
32405 (__sqr): Likewise.
32406 (__inv): Likewise.
32407 (__dvd): Likewise.
32408
e375e83d
SP
32409 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32410 commented code.
32411 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32412 (__dubcos): Likewise.
32413 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32414 (__ieee754_acos): Likewise.
32415 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32416 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32417 (__exp1): Likewise.
32418 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32419 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32420 (log1): Likewise.
32421 (my_log2): Likewise.
32422 (checkint): Likewise.
32423 * sysdeps/ieee754/dbl-64/e_remainder.c
32424 (__ieee754_remainder): Likewise.
32425 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32426 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32427 (bsloww): Likewise.
32428 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32429
6f2e90e7
SP
32430 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32431 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32432 MANTISSA_STORE_T to store computations on mantissa. Use
32433 macros for rounding and division.
32434 (denorm): Likewise.
32435 (__dbl_mp): Likewise.
32436 (add_magnitudes): Likewise.
32437 (sub_magnitudes): Likewise.
32438 (__mul): Likewise.
32439 (__sqr): Likewise.
32440 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32441 powers of two in terms of TWOPOW macro.
32442 (mp_no): Make type of mantissa as MANTISSA_T.
32443 [!RADIXI]: Define RADIXI.
32444 [!TWO52]: Define TWO52.
32445 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32446
fce14d4e
AZ
324472013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32448
32449 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
32450 llroundl symbol when building for PPC32.
32451
9ad027fb
MW
324522013-03-24 Mark H Weaver <mhw@netris.org>
32453
32454 * manual/arith.texi (Normalization Functions): Fix prototypes for
32455 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
32456
e42a38dd
AZ
324572013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32458
32459 [BZ #13889]
32460 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
32461 high value to check if expl overflow.
32462 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
32463 to check for underflow and overflow.
32464 * math/libm-test.inc: Add exp test.
32465
2e0fb521
DL
324662013-03-21 Dmitry V. Levin <ldv@altlinux.org>
32467
32468 [BZ #11120]
32469 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
32470 with NOT_IN_libc.
32471
b5784d95
AZ
324722013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32473
32474 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
32475 symbol.
32476
5aa4a1a1
TS
324772013-03-21 Thomas Schwinge <thomas@codesourcery.com>
32478
bdef0be7
TS
32479 * math/gen-libm-test.pl (parse_args, special_functions): Properly
32480 wrap blocks consisting of several statements.
32481
5aa4a1a1
TS
32482 * sysdeps/generic/math-tests.h: New file.
32483 * sysdeps/i386/fpu/math-tests.h: Likewise.
32484 * math/test-snan.c: Include it.
32485 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
32486
98c48fe5
JM
324872013-03-21 Joseph Myers <joseph@codesourcery.com>
32488
32489 [BZ #15285]
32490 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
32491 (__ieee754_j0l): Do not improve calculations using cos of twice
32492 input for inputs above LDBL_MAX / 2.0L.
32493 (__ieee754_y0l): Likewise.
32494 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
32495 (__ieee754_j1l): Do not improve calculations using cos of twice
32496 input for inputs above LDBL_MAX / 2.0L.
32497 (__ieee754_y1l): Likewise.
32498 * math/libm-test.inc (j0_test): Add another test.
32499 (j1_test): Likewise.
32500 (y0_test): Likewise.
32501 (y1_test): Likewise.
32502 * sysdeps/i386/fpu/libm-test-ulps: Update.
32503
3775a8bc
SP
325042013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32505
32506 * Rules ($(objpfx)bench-%.c): Include code from a C source
32507 file.
32508
0a1b2ae6
JM
325092013-03-21 Joseph Myers <joseph@codesourcery.com>
32510
32511 [BZ #15287]
32512 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32513 imaginary part 1.0 and real part less than 0.5 specially.
32514 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32515 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32516 * math/libm-test.inc (cacos_test): Add more tests.
32517 (casin_test): Likewise.
32518 (casinh_test): Likewise.
32519 * sysdeps/i386/fpu/libm-test-ulps: Update.
32520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32521
b33d4ce4
SP
325222013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32523
32524 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
32525 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
32526
bef0b507
JM
325272013-03-20 Joseph Myers <joseph@codesourcery.com>
32528
32529 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
32530 * config.make.in (config-cflags-sse4): Remove variable.
32531 (config-cflags-avx): Likewise.
32532 (config-cflags-sse2avx): Likewise.
32533 (config-cflags-novzeroupper): Likewise.
32534 (config-asflags-i686): Likewise.
32535 (have-mfma4): Likewise.
32536 (have-as-vis3): Likewise.
32537 (MIG): Likewise.
32538 * configure.in (MIG): Do not AC_SUBST.
32539 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
32540 (libc_cv_cc_sse4): Do not AC_SUBST.
32541 (libc_cv_cc_avx): Likewise.
32542 (libc_cv_cc_sse2avx): Likewise.
32543 (libc_cv_cc_novzeroupper): Likewise.
32544 (libc_cv_cc_fma4): Likewise.
32545 (libc_cv_as_i686): Likewise.
32546 (libc_cv_sparc_as_vis3): Likewise.
32547 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
32548 LIBC_CONFIG_VAR.
32549 (config-asflags-i686): Likewise.
32550 (config-cflags-avx): Likewise.
32551 (config-cflags-sse2avx): Likewise.
32552 (have-mfma4): Likewise.
32553 (config-cflags-novzeroupper): Likewise.
32554 * sysdeps/mach/configure.in (MIG): Likewise.
32555 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
32556 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
32557 LIBC_CONFIG_VAR.
32558 (config-cflags-avx): Likewise.
32559 (config-cflags-sse2avx): Likewise.
32560 (have-mfma4): Likewise.
32561 (config-cflags-novzeroupper): Likewise.
32562 * configure: Regenerated.
32563 * sysdeps/i386/configure: Likewise.
32564 * sysdeps/mach/configure: Likewise.
32565 * sysdeps/sparc/configure: Likewise.
32566 * sysdeps/x86_64/configure: Likewise.
32567
912cc4b3
RM
325682013-03-20 Roland McGrath <roland@hack.frob.com>
32569
32570 [BZ #14812]
32571 * locale/programs/localedef.c (options): Put N_ translation marker
32572 on argument names, not just descriptions.
32573
04eed2b0
MS
325742013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32575
32576 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
32577
a065ceff
OB
325782013-03-20 Ondřej Bílka <neleai@seznam.cz>
32579
9bb2a810 32580 [BZ #14176]
a065ceff
OB
32581 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
32582
a600e5ce
RM
325832013-03-19 Roland McGrath <roland@hack.frob.com>
32584
32585 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
32586 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
32587 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
32588 [!BEFORE_ABORT] (before_abort): New function.
32589 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
32590 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
32591 (writev_for_fatal): New function.
32592 (WRITEV_FOR_FATAL): New macro; call that.
32593 (backtrace_and_maps): New function.
32594 (BEFORE_ABORT): New macro; call that.
32595 (struct str_list): Type removed.
32596 (__libc_message, __libc_fatal): Functions removed.
32597 Include <sysdeps/posix/libc_fatal.c> instead.
32598
6b18bea6
JM
325992013-03-19 Joseph Myers <joseph@codesourcery.com>
32600
32601 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
32602 constants.
32603 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
32604 double constants.
32605
aaa8cb4b
AS
326062013-03-19 Andreas Schwab <schwab@suse.de>
32607
44673770
AS
32608 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
32609 * sysdeps/gnu/configure: Regenerate.
32610
aaa8cb4b
AS
32611 * configure.in: Substitute libc_cv_rtlddir.
32612 * configure: Regenerate.
32613 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
32614 * Makeconfig (rtlddir, inst_rtlddir): New variables.
32615 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
32616 * elf/Makefile (install-others, CFLAGS-interp.c)
32617 (ldso_install, common-ldd-rewrite): Likewise.
32618 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
32619 $(inst_slibdir)/$(rtld-installed-name).
32620 * scripts/rellns-sh: Add -p option.
32621 * Makerules (make-shlib-link): Use rellns-sh to get relative name
32622 for source.
32623
d3cfc668
SP
326242013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32625
32626 * manual/nptl.texi: Renamed to ...
32627 * manual/threads.texi: ... this.
32628 * manual/Makefile (chapters): Update.
32629
0e2b9cdd
RM
326302013-03-18 Roland McGrath <roland@hack.frob.com>
32631
32632 [BZ #14812]
32633 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
32634 on argument names, not just descriptions.
0e2b9cdd
RM
32635 * malloc/memusagestat.c (options): Likewise.
32636 * nss/getent.c (options): Likewise.
63270c24
RM
32637
326382013-03-18 Benno Schulenberg <bensberg@justemail.net>
32639
32640 [BZ #14812]
32641 * iconv/iconv_prog.c (options): Put N_ translation marker
32642 on argument names, not just descriptions.
32643 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 32644
b2e1393c
OB
326452013-03-18 Ondrej Bilka <neleai@seznam.cz>
32646
32647 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
32648 implementation which is faster on all x86_64 architectures.
32649 Tested on AMD, Intel Nehalem, SNB, IVB.
32650 * sysdeps/x86_64/strnlen.S: Likewise.
32651
32652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32653 Remove all multiarch strlen and strnlen versions.
32654 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
32655 Remove strlen and strnlen related parts.
32656
32657 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
32658 Inline strlen part.
32659 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32660
32661 * sysdeps/x86_64/multiarch/strlen.S: Remove.
32662 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
32663 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
32664 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
32665 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32666 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
32667
ec4ff04d
CD
326682013-03-17 Carlos O'Donell <carlos@redhat.com>
32669
32670 * manual/memory.texi (Malloc Tunable Parameters):
32671 Sort parameters alphabetically. Add comments for missing entries.
32672
cd18e90a
DM
326732013-03-17 David S. Miller <davem@davemloft.net>
32674
32675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32676
2a185d32
JM
326772013-03-16 Joseph Myers <joseph@codesourcery.com>
32678
d2f9799e
JM
32679 [BZ #15283]
32680 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
32681 for arguments at most half maximum finite value.
32682 * math/libm-test.inc (j0_test): Add more tests.
32683 (j1_test): Likewise.
32684 (y0_test): Likewise.
32685 (y1_test): Likewise.
32686 * sysdeps/i386/fpu/libm-test-ulps: Update.
32687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32688
2a185d32
JM
32689 [BZ #14155]
32690 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
32691 1 / x and functions P and Q for arguments above 0x1p256L.
32692 (__ieee754_y0l): Likewise.
32693 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
32694 (__ieee754_y1l): Likewise.
32695 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
32696 (j1_test): Likewise.
32697 (y0_test): Likewise.
32698 (y1_test): Likewise.
32699
6cbec759
TS
327002013-03-16 Thomas Schwinge <thomas@codesourcery.com>
32701
32702 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
32703 variable.
32704
bc16e260
RM
327052013-03-15 Roland McGrath <roland@hack.frob.com>
32706
aefc9b8c
RM
32707 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
32708 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
32709 zero since it's initialized to EXEC_PAGESIZE.
32710
bc16e260
RM
32711 * sysdeps/unix/sysv/linux/ldsodefs.h
32712 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
32713 * sysdeps/generic/ldsodefs.h: ... here.
32714
a57da955
TS
327152013-03-15 Thomas Schwinge <thomas@codesourcery.com>
32716
af00a34d
TS
32717 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
32718
495ded2c
TS
32719 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
32720 math/test-snan.c.
32721 * math/test-snan.c: Renamed from
32722 sysdeps/powerpc/fpu/test-powerpc-snan.c.
32723 * math/Makefile (tests): Add test-snan.
32724 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
32725 test-powerpc-snan.
32726
777b0332
TS
32727 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
32728 SUFFIX. Initialize qNaN_var with __builtin_nan family of
32729 functions.
32730 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
32731 __builtin_nan family of functions.
32732 * math/libm-test.inc (initialize): Initialize qnan_value with
32733 __builtin_nan family of functions.
32734 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
32735 Remove variables.
32736 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
32737 Remove functions.
32738 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
32739 storage class. Initialize qNaN_var and sNaN_var with
32740 __builtin_nan and __builtin_nans families of functions,
32741 respectively.
32742
64d063b8
TS
32743 * math/libm-test.inc (acosh_test): Also test with qNaN input.
32744 (sqrt_test): Remove duplicate test with qNaN input.
32745 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
32746 (round_test, signbit_test, significand_test): Note missing +/-Inf
32747 as well as qNaN tests.
32748
67e971f1
TS
32749 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
32750 qNaN_var. Fix a few strings, too.
32751 * math/libm-test.inc (nan_value): Rename to qnan_value.
32752 * math/gen-libm-test.pl (%beautify): Adjust to that.
32753 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
32754 * math/test-misc.c (main): Likewise.
32755 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
32756 to __qnan_bytes, and __qnan_union, respectively.
32757 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
32758 Likewise.
32759 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
32760 and lqnanval, respectively.
32761 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
32762 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
32763 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
32764 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
32765
64487e12
TS
32766 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
32767 * math/test-misc.c (main) [__x86_64__]: Enable test for long
32768 doubles.
32769
e015e27b
TS
32770 * math/test-misc.c (main): Fix copy'n'pastos.
32771 * misc/tst-efgcvt.c (special): Likewise.
32772
a57da955
TS
32773 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
32774 Remove declarations.
32775
1e380345
SP
327762013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32777
32778 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
32779 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
32780 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
32781 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
32782
ef26eece
AZ
327832013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32784
32785 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
32786 macro to return vdso values correctly in IFUNC implementations.
32787 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32788 Optimization by using IFUNC.
32789
8cfdb7e0
SP
327902013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32791 Richard Henderson <rth@redhat.com>
32792 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32793
32794 * Makefile.in (bench): New target.
32795 * NEWS: Mention the benchmark framework.
32796 * Rules (bench): Likewise.
32797 (binaries-bench): Generate binaries for functions to
32798 benchmark.
32799 * benchtests/Makefile: New makefile for benchmark tests.
32800 * benchtests/bench-skeleton.c: New skeleton file for benchmark
32801 programs.
32802 * benchtests/exp-inputs: New input file for EXP function.
32803 * benchtests/pow-inputs: New input file for POW function.
32804 * scripts/bench.pl: New script to generate source files for
32805 benchmark programs.
32806
bcda9880
SP
328072013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32808
d22ca8cd
SP
32809 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32810 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
32811 computations on mantissa. Use macros for rounding and
32812 division.
32813 (denorm): Likewise.
32814 (__dbl_mp): Likewise.
32815 (add_magnitudes): Likewise.
32816 (sub_magnitudes): Likewise.
32817 (__mul): Likewise.
32818 (__sqr): Likewise.
32819 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32820 powers of two in terms of TWOPOW macro.
32821 (mp_no): Make type of mantissa as MANTISSA_T.
32822 [!RADIXI]: Define RADIXI.
32823 [!TWO52]: Define TWO52.
32824 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32825
bcda9880
SP
32826 * manual/nptl.texi (cindex): Modify threads to pthreads.
32827
06d5adfb
JM
328282013-03-15 Joseph Myers <joseph@codesourcery.com>
32829
32830 * sysdeps/x86_64/preconfigure: Regenerated.
32831
41c7328e
JM
328322013-03-14 Joseph Myers <joseph@codesourcery.com>
32833
32834 [BZ #14155]
32835 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
32836 0x1p28 and above.
32837 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
32838 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
32839 0x1p28 and above.
32840 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
32841 * math/libm-test.inc (j0_test): Do not allow one spurious
32842 underflow exception.
32843 (y1_test): Likewise.
32844
e25cfa60
SP
328452013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32846
0409959c
SP
32847 * manual/Makefile (chapters): Add nptl.
32848 * manual/debug.texi (Debugging Support): Add link to Threads
32849 chapter.
32850 * manual/nptl.texi: New file.
32851
e25cfa60
SP
32852 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
32853
58a1335e
PB
328542013-03-14 Petr Baudis <pasky@ucw.cz>
32855
32856 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
32857 for non-NULL pointer before the memory validity test. Pointed
32858 out by Holger Brunck <holger.brunck@keymile.com>.
32859
9dc7c64f
AS
328602013-03-13 Andreas Schwab <schwab@suse.de>
32861
32862 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
32863 instead of .os.
32864
54206aa6
JM
328652013-03-13 Joseph Myers <joseph@codesourcery.com>
32866
32867 * timezone/zic.c: Update from tzcode 2013b.
32868
e98cdb38
CD
328692013-03-12 Carlos O'Donell <carlos@redhat.com>
32870
32871 * manual/install.texi (Configuring and compiling):
32872 Mention i686 and i586.
32873 * INSTALL: Regenerate.
32874
9967e003
RM
328752013-03-12 Roland McGrath <roland@hack.frob.com>
32876
32877 * sysdeps/init_array/elf-init.c: New file.
32878 * csu/elf-init.c
32879 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
32880 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
32881
32882 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
32883 __gmon_start__ as global, but as static with a .preinit_array pointer.
32884 * sysdeps/init_array/gmon-start.c: New file. Use that.
32885 * sysdeps/init_array/crti.S: New file, empty except for comments.
32886 * sysdeps/init_array/crtn.S: Likewise.
32887
e6b5a293 328882013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
32889
32890 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
32891 definining bcopy.
80f844c9
OB
32892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32893 Remove Prefer_SSE_for_memop.
32894 * sysdeps/x86_64/multiarch/init-arch.h: Remove
32895 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
32896 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
32897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
32898 memset-x86-64.
80f844c9 32899 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 32900 Remove bzero, memset ifunc support.
80f844c9
OB
32901 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
32902 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
32903 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32904 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32905
fb6b0fcb
AS
329062013-03-11 Andreas Schwab <schwab@suse.de>
32907
32908 [BZ #15234]
32909 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
32910 by SHLIB_COMPAT.
32911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
32912 (GLIBC_2.16): Remove pthread_atfork.
32913
3e6bd4b1
PP
329142013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
32915
32916 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
32917 (ptestcases.h): Likewise.
32918
222d7f00
RM
329192013-03-08 Roland McGrath <roland@hack.frob.com>
32920
32921 * Makeconfig ($(common-objpfx)config.status): Depend on
32922 sysdeps/*/preconfigure{,.in} too.
32923
1ba4f030
JM
329242013-03-08 Joseph Myers <joseph@codesourcery.com>
32925
a222d91a
JM
32926 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
32927 (__free_hook): Use void * instead of __malloc_ptr_t.
32928 (__malloc_hook): Likewise.
32929 (__realloc_hook): Likewise.
32930 (__memalign_hook): Likewise.
32931 (__after_morecore_hook): Likewise.
32932 * malloc/arena.c (save_malloc_hook): Likewise.
32933 (save_free_hook): Likewise.
32934 * malloc/hooks.c (malloc_hook_ini): Likewise.
32935 (realloc_hook_ini): Likewise.
32936 (memalign_hook_ini): Likewise.
32937 * malloc/malloc.c (malloc_hook_ini): Likewise.
32938 (realloc_hook_ini): Likewise.
32939 (memalign_hook_ini): Likewise.
32940 (__free_hook): Likewise.
32941 (__malloc_hook): Likewise.
32942 (__realloc_hook): Likewise.
32943 (__memalign_hook): Likewise.
32944 (__libc_malloc): Likewise.
32945 (__libc_free): Likewise.
32946 (__libc_realloc): Likewise.
32947 (__libc_memalign): Likewise.
32948 (__libc_valloc): Likewise.
32949 (__libc_pvalloc): Likewise.
32950 (__libc_calloc): Likewise.
32951 (__posix_memalign): Likewise.
32952 * malloc/morecore.c (__sbrk): Likewise.
32953 (__default_morecore): Likewise.
32954
5cc45e10
JM
32955 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
32956
dd54b864
JM
32957 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
32958 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
32959 __malloc_ptrdiff_t.
32960
1ba4f030
JM
32961 * malloc/malloc.h (__malloc_size_t): Remove macro.
32962 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
32963 __malloc_size_t.
32964 (old_memalign_hook): Likewise.
32965 (old_realloc_hook): Likewise.
32966 (struct hdr): Likewise.
32967 (flood): Likewise.
32968 (mallochook): Likewise.
32969 (memalignhook): Likewise.
32970 (reallochook): Likewise.
32971 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
32972 (tr_old_realloc_hook): Likewise.
32973 (tr_old_memalign_hook): Likewise.
32974 (tr_mallochook): Likewise.
32975 (tr_reallochook): Likewise.
32976 (tr_memalignhook): Likewise.
32977
edf66e57
AZ
329782013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32979
32980 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
32981 default_ldbl_pack and using as default implementation.
32982 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
32983 implementation.
32984 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
32985 redundant definition.
32986 (ldbl_insert_mantissa): Likewise.
32987 (ldbl_canonicalize): Likewise.
32988 (ldbl_nearbyint): Likewise.
32989 (ldbl_pack): Rename to ldbl_pack_ppc.
32990 (ldbl_unpack): Rename to ldbl_unpack_ppc.
32991 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
32992 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
32993
6d9145d8
SP
329942013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32995
32996 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
32997 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
32998 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
32999 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33001 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33002 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33003 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33004
4dd4e157
AJ
330052013-03-07 Andreas Jaeger <aj@suse.de>
33006
33007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33008 bits/mman-linux.h.
33009
adbb8027
SP
330102013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33011
ce544b5b
SP
33012 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33013 Include mpa.h and declare __MPEXP.
33014 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33015 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33016 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33017 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33018 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33019 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33020 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33021
4cc149fd
SP
33022 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33023 (__slowpow): Use long double EXPL and LOGL functions to
33024 compute POW.
33025 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33026 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33027 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33028 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33029 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33030 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
33031
e6ebd4a7
SP
33032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
33033 intermediate variable to calculate exponent.
33034 (__sqr): Likewise.
33035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33036 Likewise.
33037 (__sqr): Likewise.
33038
82a9811d
SP
33039 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
33040 [!NO__SQR]: Define __sqr.
33041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
33042 and NO__SQR. Remove all code except __mul and __sqr. Include
33043 sysdeps/ieee754/dbl-64/mpa.c.
33044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33045
adbb8027
SP
33046 [BZ #12723]
33047 * posix/Makefile (tests): Add tst-pathconf.
33048 * posix/tst-pathconf.c: New test case.
33049 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
33050 _PC_PIPE_BUF.
33051 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
33052
39120df9
PF
330532013-03-06 Patsy Franklin <pfrankli@redhat.com>
33054
33055 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
33056
67525cb8
AJ
330572013-03-06 Andreas Jaeger <aj@suse.de>
33058
664a9ce4
AJ
33059 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
33060 definition via __MAP_ANONYMOUS.
33061
8e39047d
AJ
33062 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
33063 it's not part of Linux headers.
33064
67525cb8
AJ
33065 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
33066 (MAP_HUGE_MASK): Define.
33067
33068 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33069 Define.
33070 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33071 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33072 Define.
33073 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33074 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33075 Define.
33076 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33077 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
33078 Define.
33079 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33080
33081 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
33082 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
33083 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
33084 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
33085 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
33086 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
33087
33088 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33089 Handle f2fs.
33090
33091 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33092 Handle f2fs and efivarfs.
33093
33094 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33095 f2fs.
33096
33097 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
33098 (EFIVARFS_MAGIC): Add.
33099 (F2FS_LINK_MAX): Add.
33100
e1b42695
PP
331012013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33102
33103 * stdio-common/vfprintf.c: Replace __builtin_expect with
33104 __glibc_unlikely.
33105
2d67d91a
JM
331062013-03-06 Joseph Myers <joseph@codesourcery.com>
33107
33108 [BZ #13550]
33109 * sysdeps/generic/bp-sym.h: Remove file.
33110 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
33111 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
33112 <bp-sym.h> and <bp-asm.h>.
33113 (__longjmp): Don't use BP_SYM.
33114 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
33115 and <bp-asm.h>.
33116 (memcpy): Don't use BP_SYM.
33117 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
33118 <bp-sym.h> and <bp-asm.h>.
33119 (memcpy): Don't use BP_SYM.
33120 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
33121 <bp-asm.h>.
33122 (memcpy): Don't use BP_SYM.
33123 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
33124 <bp-asm.h>.
33125 (memset): Don't use BP_SYM.
33126 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33127 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33128 (__bzero): Don't use BP_SYM.
33129 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33130 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33131 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33132 <bp-sym.h> and <bp-asm.h>.
33133 (memcmp): Don't use BP_SYM. Remove comment about bounded
33134 pointers.
33135 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33136 <bp-sym.h> and <bp-asm.h>.
33137 (memcpy): Don't use BP_SYM.
33138 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
33139 <bp-sym.h> and <bp-asm.h>.
33140 (memset): Don't use BP_SYM.
33141 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33142 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33143 (__bzero): Don't use BP_SYM.
33144 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33145 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33146 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
33147 <bp-sym.h> and <bp-asm.h>.
33148 (strncmp): Don't use BP_SYM. Remove comment about bounded
33149 pointers.
33150 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
33151 <bp-sym.h> and <bp-asm.h>.
33152 (memcpy): Don't use BP_SYM.
33153 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
33154 <bp-sym.h> and <bp-asm.h>.
33155 (memset): Don't use BP_SYM.
33156 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33157 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33158 (__bzero): Don't use BP_SYM.
33159 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33160 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33161 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
33162 <bp-sym.h> and <bp-asm.h>.
33163 (__memchr): Don't use BP_SYM.
33164 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
33165 <bp-sym.h> and <bp-asm.h>.
33166 (memcmp): Don't use BP_SYM. Remove comment about bounded
33167 pointers.
33168 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
33169 <bp-sym.h> and <bp-asm.h>.
33170 (memcpy): Don't use BP_SYM.
33171 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
33172 <bp-sym.h> and <bp-asm.h>.
33173 (__mempcpy): Don't use BP_SYM.
33174 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
33175 <bp-sym.h> and <bp-asm.h>.
33176 (__memrchr): Don't use BP_SYM.
33177 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
33178 <bp-sym.h> and <bp-asm.h>.
33179 (memset): Don't use BP_SYM.
33180 (__bzero): Likewise.
33181 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
33182 <bp-sym.h> and <bp-asm.h>.
33183 (__rawmemchr): Don't use BP_SYM.
33184 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
33185 <bp-sym.h> and <bp-asm.h>.
33186 (__STRCMP): Don't use BP_SYM.
33187 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33188 <bp-sym.h> and <bp-asm.h>.
33189 (strchr): Don't use BP_SYM.
33190 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33191 <bp-sym.h> and <bp-asm.h>.
33192 (__strchrnul): Don't use BP_SYM.
33193 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33194 <bp-sym.h> and <bp-asm.h>.
33195 (strlen): Don't use BP_SYM.
33196 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33197 <bp-sym.h> and <bp-asm.h>.
33198 (strncmp): Don't use BP_SYM. Remove comment about bounded
33199 pointers.
33200 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33201 <bp-sym.h> and <bp-asm.h>.
33202 (__strnlen): Don't use BP_SYM.
33203 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33204 <bp-sym.h> and <bp-asm.h>.
33205 (__GI__setjmp): Don't use BP_SYM.
33206 (_setjmp): Likewise.
33207 (__sigsetjmp): Likewise.
33208 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33209 (L(start_addresses)): Don't use BP_SYM.
33210 (_start): Likewise.
33211 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33212 <bp-asm.h>.
33213 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33214 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33215 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33216 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33217 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33218 <bp-asm.h>.
33219 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33220 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
33221 about bounded pointers.
33222 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33223 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33224 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33225 <bp-asm.h>.
33226 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33227 about bounded pointers. Remove GKM FIXME comments.
33228 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33229 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33230 <bp-asm.h>.
33231 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33232 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
33233 Remove GKM FIXME comments.
33234 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33235 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33236 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33237 <bp-asm.h>.
33238 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33239 about bounded pointers. Remove GKM FIXME comment.
33240 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33241 and <bp-asm.h>.
33242 (strncmp): Don't use BP_SYM. Remove comment about bounded
33243 pointers.
33244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33245 <bp-sym.h> and <bp-asm.h>.
33246 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33248 <bp-sym.h> and <bp-asm.h>.
33249 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33250 comment.
33251
cdcf361f
PP
332522013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33253
33254 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33255 call free(NULL).
33256
3c4a2b15
DM
332572013-03-05 David S. Miller <davem@davemloft.net>
33258
33259 * po/es.po: Update from translation team.
33260
cdcf361f 332612013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
33262
33263 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33264 <bits/mman-linux.h>.
33265 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33266 is fine.
33267 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33268 <bits/mman-linux.h> to end of file.
33269 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33270 is fine.
33271 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33272 <bits/mman-linux.h> to end of file.
33273 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33274 is fine.
33275 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33276 <bits/mman-linux.h> to end of file.
33277
33278 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33279 (MCL_CURRENT, MCL_FUTURE): Define here.
33280
5f67c04f
AK
332812013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33282
8a4473cc 33283 [BZ #15232]
5f67c04f
AK
33284 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33285 attribute_hidden.
33286 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33287
c3e94a95
AK
332882013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33289
33290 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33291 fourth parameter needed for rt_sigprocmask syscall.
33292 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33293 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33294 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33295 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33296 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33297 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33298
cfb6382a
JM
332992013-03-04 Joseph Myers <joseph@codesourcery.com>
33300
33301 [BZ #13550]
33302 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33303 comment about bounded pointers.
33304 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33305 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33306
539d8e01
AJ
333072013-03-04 Andreas Jaeger <aj@suse.de>
33308
33309 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33310 common definitions.
33311
33312 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33313 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33314 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33315 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33316 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
33317 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33318
2e167a70 333192013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
33320
33321 [BZ #15055]
33322 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33323 __ieee754_sqrl instead of __sqrl.
33324
68508633
JM
333252013-03-01 Joseph Myers <joseph@codesourcery.com>
33326
33327 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33328 * sysdeps/powerpc/fpu_control.h: ... here.
33329 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33330 * sysdeps/powerpc/bits/fenvinline.h: ... here.
33331 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33332 * sysdeps/powerpc/bits/mathinline.h: ... here.
33333
7775448e
RM
333342013-03-01 Roland McGrath <roland@hack.frob.com>
33335
33336 * elf/dl-hwcaps.c (_dl_important_hwcaps):
33337 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33338 to just [NEED_DL_SYSINFO_DSO].
33339 * elf/dl-support.c: Likewise.
33340 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33341 * elf/rtld.c (dl_main): Likewise.
33342 * elf/setup-vdso.h (setup_vdso): Likewise.
33343 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33344 * sysdeps/unix/sysv/linux/dl-sysdep.c
33345 (_dl_discover_osversion): Likewise.
33346
4e9b5995
CD
333472013-03-01 Carlos O'Donell <carlos@redhat.com>
33348
33349 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33350 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33351
e23872c8
SP
333522013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
33353
e5c74c63
SP
33354 * NEWS: Mention libm performance improvements and non-x86 PI
33355 futex support.
33356
e23872c8
SP
33357 * csu/libc-start.c (__pthread_initialize_minimal): Change
33358 function arguments.
33359 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33360
b5510883
JM
333612013-02-28 Joseph Myers <joseph@codesourcery.com>
33362
33363 [BZ #13550]
33364 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33365 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33366 <bp-sym.h> and <bp-asm.h>.
33367 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33368 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33369 and <bp-asm.h>.
33370 (memcpy): Don't use BP_SYM.
33371 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33372 <bp-asm.h>.
33373 (__mpn_add_n): Don't use BP_SYM.
33374 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33375 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33376 and <bp-asm.h>.
33377 (__mpn_addmul_1): Don't use BP_SYM.
33378 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33379 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33380 <bp-sym.h>.
33381 (_setjmp): Don't use BP_SYM.
33382 (__novmx_setjmp): Likewise.
33383 (__GI__setjmp): Likewise.
33384 (__vmx_setjmp): Likewise.
33385 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33386 <bp-sym.h>.
33387 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33388 (__bzero): Don't use BP_SYM.
33389 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33390 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33391 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33392 <bp-sym.h> and <bp-asm.h>.
33393 (memcpy): Don't use BP_SYM.
33394 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33395 <bp-sym.h> and <bp-asm.h>.
33396 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33397 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33398 <bp-sym.h> and <bp-asm.h>.
33399 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33400 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33401 <bp-asm.h>.
33402 (__mpn_lshift): Don't use BP_SYM.
33403 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33404 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33405 <bp-asm.h>.
33406 (memset): Don't use BP_SYM.
33407 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33408 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33409 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33410 <bp-asm.h>.
33411 (__mpn_mul_1): Don't use BP_SYM.
33412 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33413 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33414 <bp-sym.h> and <bp-asm.h>.
33415 (memcmp): Don't use BP_SYM.
33416 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33417 <bp-sym.h> and <bp-asm.h>.
33418 (memcpy): Don't use BP_SYM.
33419 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33420 <bp-sym.h> and <bp-asm.h>.
33421 (memset): Don't use BP_SYM.
33422 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33423 <bp-sym.h> and <bp-asm.h>.
33424 (strncmp): Don't use BP_SYM.
33425 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33426 <bp-sym.h> and <bp-asm.h>.
33427 (memcpy): Don't use BP_SYM.
33428 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33429 <bp-sym.h> and <bp-asm.h>.
33430 (memset): Don't use BP_SYM.
33431 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33432 <bp-sym.h> and <bp-asm.h>.
33433 (__memchr): Don't use BP_SYM.
33434 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
33435 <bp-sym.h> and <bp-asm.h>.
33436 (memcmp): Don't use BP_SYM.
33437 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
33438 <bp-sym.h> and <bp-asm.h>.
33439 (memcpy): Don't use BP_SYM.
33440 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
33441 <bp-sym.h> and <bp-asm.h>.
33442 (__mempcpy): Don't use BP_SYM.
33443 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
33444 <bp-sym.h> and <bp-asm.h>.
33445 (__memrchr): Don't use BP_SYM.
33446 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
33447 <bp-sym.h> and <bp-asm.h>.
33448 (memset): Don't use BP_SYM.
33449 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
33450 <bp-sym.h> and <bp-asm.h>.
33451 (__rawmemchr): Don't use BP_SYM.
33452 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
33453 <bp-sym.h> and <bp-asm.h>.
33454 (__STRCMP): Don't use BP_SYM.
33455 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
33456 <bp-sym.h> and <bp-asm.h>.
33457 (strchr): Don't use BP_SYM.
33458 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
33459 <bp-sym.h> and <bp-asm.h>.
33460 (__strchrnul): Don't use BP_SYM.
33461 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
33462 <bp-sym.h> and <bp-asm.h>.
33463 (strlen): Don't use BP_SYM.
33464 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
33465 <bp-sym.h> and <bp-asm.h>.
33466 (strncmp): Don't use BP_SYM.
33467 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
33468 <bp-sym.h> and <bp-asm.h>.
33469 (__strnlen): Don't use BP_SYM.
33470 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
33471 <bp-asm.h>.
33472 (__mpn_rshift): Don't use BP_SYM.
33473 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33474 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
33475 <bp-sym.h> and <bp-asm.h>.
33476 (__sigsetjmp): Don't use BP_SYM.
33477 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
33478 (L(start_addresses)): Don't use BP_SYM.
33479 (_start): Likewise.
33480 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
33481 <bp-asm.h>.
33482 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
33483 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33484 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33485 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
33486 <bp-asm.h>.
33487 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
33488 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33489 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33490 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
33491 <bp-asm.h>.
33492 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33493 comments.
33494 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33495 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
33496 <bp-asm.h>.
33497 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
33498 FIXME comments.
33499 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33500 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33501 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
33502 <bp-asm.h>.
33503 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33504 comment.
33505 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
33506 and <bp-asm.h>.
33507 (strncmp): Don't use BP_SYM,
33508 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
33509 <bp-asm.h>.
33510 (__mpn_sub_n): Don't use BP_SYM.
33511 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33512 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
33513 and <bp-asm.h>.
33514 (__mpn_submul_1): Don't use BP_SYM.
33515 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
33517 <bp-sym.h> and <bp-asm.h>.
33518 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
33520 <bp-sym.h> and <bp-asm.h>.
33521 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33522 comment.
33523
8d19fe64
SP
335242013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33525
33526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
33527 Use ZK to minimize writes to Z.
33528 (sub_magnitudes): Simplify code a bit.
33529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
33530 Use ZK to minimize writes to Z.
33531 (sub_magnitudes): Simplify code a bit.
33532
85bd816a
RM
335332013-02-27 Roland McGrath <roland@hack.frob.com>
33534
33535 * csu/gmon-start.c: Add special exception to license text.
33536
b5977bf2
RH
335372013-02-27 Richard Henderson <rth@redhat.com>
33538
33539 * scripts/config.guess: Update from config.git.
33540 * scripts/config.sub: Likewise.
33541
11d6e2f2
SP
335422013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33543
09c14ed2
SP
33544 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
33545
a688864e
SP
33546 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
33547
6295157a
SP
33548 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
33549
b8de2202
SP
33550 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
33551
11d6e2f2
SP
33552 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
33553
7e80ddb8
RM
335542013-02-26 Roland McGrath <roland@hack.frob.com>
33555
33556 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
33557 [$(build-shared = yes].
7e80ddb8 33558
7da6d9ed
SP
335592013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33560
45f05884
SP
33561 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
33562 (__mul): Reduce iterations for calculating mantissa.
33563
2236d359
SP
33564 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
33565 MPTWO.
33566 (__mpranred): Likewise.
33567
7da6d9ed
SP
33568 [BZ #15160]
33569 * malloc/memusagestat.c (main): Draw graphs for heap and stack
33570 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
33571
b7688c42
PE
335722013-02-26 Paul Eggert <eggert@cs.ucla.edu>
33573
33574 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
33575 Define __attribute__.
33576
53a5c423
SP
335772013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33578
33579 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
33580 unused.
33581 * posix/regex_internal.h (__attribute): Remove.
33582 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
33583 (re_string_context_at): Likewise.
33584 (bitset_not): Use __attribute__ and mark function as possibly
33585 unused.
33586 (bitset_merge): Likewise.
33587 (bitset_mask): Likewise.
33588 (re_string_char_size_at): Likewise.
33589 (re_string_wchar_at): Likewise.
33590 (re_string_elem_size_at): Likewise.
33591
60f5a8b5
SP
335922013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33593
2a983a2e
SP
33594 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
33595 code.
33596 (cc32): Likewise.
33597
e69804d1
SP
33598 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
33599 (__acr): Likewise.
33600 (__cpy): Likewise.
33601 (norm): Likewise.
33602 (denorm): Likewise.
33603 (__dbl_mp): Likewise.
33604 (add_magnitudes): Likewise.
33605 (sub_magnitudes): Likewise.
33606 (__mul): Likewise.
33607 (__inv): Likewise.
33608
2f22a1e8
SP
33609 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
33610 style.
33611
8930ddc7
SP
33612 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
33613 style.
33614
dc60cb11
SP
33615 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
33616 code.
33617
60f5a8b5
SP
33618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
33619 up changes with default code.
33620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
33621 Likewise.
33622
b4d1fd33
AM
336232013-02-24 Allan McRae <allan@archlinux.org>
33624
faf6f8bc
AM
33625 * manual/socket.texi (The Internet Namespace): Order menu items
33626 to match that in the file.
33627
b4d1fd33
AM
33628 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
33629 node listing of the info page menu.
33630
2366713d
JM
336312013-02-21 Joseph Myers <joseph@codesourcery.com>
33632
33633 [BZ #13550]
33634 * sysdeps/i386/bp-asm.h: Remove file.
33635 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33636 (PARMS): Do not use macros from bp-asm.h.
33637 (S1): Likewise.
33638 (S2): Likewise.
33639 (SIZE): Likewise.
33640 (__mpn_add_n): Do not use BP_SYM
33641 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
33642 "bp-asm.h".
33643 (PARMS): Do not use macros from bp-asm.h.
33644 (S1): Likewise.
33645 (SIZE): Likewise.
33646 (__mpn_addmul_1): Do not use BP_SYM
33647 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
33648 "bp-asm.h".
33649 (PARMS): Do not use macros from bp-asm.h.
33650 (SIGMSK): Likewise.
33651 (_setjmp): Likewise. Do not use BP_SYM.
33652 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
33653 "bp-asm.h".
33654 (PARMS): Do not use macros from bp-asm.h.
33655 (SIGMSK): Likewise.
33656 (setjmp): Likewise. Do not use BP_SYM.
33657 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
33658 "bp-asm.h".
33659 (PARMS): Do not use macros from bp-asm.h.
33660 (__frexp): Do not use BP_SYM.
33661 (frexp): Likewise.
33662 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
33663 "bp-asm.h".
33664 (PARMS): Do not use macros from bp-asm.h.
33665 (__frexpf): Do not use BP_SYM.
33666 (frexpf): Likewise.
33667 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
33668 "bp-asm.h".
33669 (PARMS): Do not use macros from bp-asm.h.
33670 (__frexpl): Do not use BP_SYM.
33671 (frexpl): Likewise.
33672 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
33673 "bp-asm.h".
33674 (PARMS): Do not use macros from bp-asm.h.
33675 (__remquo): Do not use BP_SYM.
33676 (remquo): Likewise.
33677 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
33678 "bp-asm.h".
33679 (PARMS): Do not use macros from bp-asm.h.
33680 (__remquof): Do not use BP_SYM.
33681 (remquof): Likewise.
33682 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
33683 "bp-asm.h".
33684 (PARMS): Do not use macros from bp-asm.h.
33685 (__remquol): Do not use BP_SYM.
33686 (remquol): Likewise.
33687 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
33688 "bp-asm.h".
33689 (PARMS): Do not use macros from bp-asm.h.
33690 (DEST): Likewise.
33691 (SRC): Likewise.
33692 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
33693 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
33694 "bp-asm.h".
33695 (PARMS): Do not use macros from bp-asm.h.
33696 (strlen): Do not use BP_SYM.
33697 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
33698 "bp-asm.h".
33699 (PARMS): Do not use macros from bp-asm.h.
33700 (S1): Likewise.
33701 (S2): Likewise.
33702 (SIZE): Likewise.
33703 (__mpn_add_n): Do not use BP_SYM.
33704 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
33705 "bp-asm.h".
33706 (PARMS): Do not use macros from bp-asm.h.
33707 (S1): Likewise.
33708 (SIZE): Likewise.
33709 (__mpn_addmul_1): Do not use BP_SYM.
33710 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
33711 weak_alias.
33712 (bzero): Likewise.
33713 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
33714 "bp-asm.h".
33715 (PARMS): Do not use macros from bp-asm.h.
33716 (S): Likewise.
33717 (SIZE): Likewise.
33718 (__mpn_lshift): Do not use BP_SYM.
33719 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
33720 "bp-asm.h".
33721 (PARMS): Do not use macros from bp-asm.h.
33722 (DEST): Likewise.
33723 (SRC): Likewise.
33724 (LEN): Likewise.
33725 (memcpy): Likewise. Do not use BP_SYM.
33726 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
33727 libc_hidden_def and weak_alias.
33728 (mempcpy): Do not use BP_SYM in weak_alias.
33729 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
33730 "bp-asm.h".
33731 (PARMS): Do not use macros from bp-asm.h.
33732 (DEST): Likewise.
33733 (LEN): Likewise.
33734 [!BZERO_P] (CHR): Likewise.
33735 (memset): Likewise. Do not use BP_SYM.
33736 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
33737 "bp-asm.h".
33738 (PARMS): Do not use macros from bp-asm.h.
33739 (S1): Likewise.
33740 (SIZE): Likewise.
33741 (__mpn_mul_1): Do not use BP_SYM.
33742 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
33743 "bp-asm.h".
33744 (PARMS): Do not use macros from bp-asm.h.
33745 (S): Likewise.
33746 (SIZE): Likewise.
33747 (__mpn_rshift): Do not use BP_SYM.
33748 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
33749 "bp-asm.h".
33750 (PARMS): Do not use macros from bp-asm.h.
33751 (STR): Likewise.
33752 (CHR): Likewise.
33753 (strchr): Likewise. Do not use BP_SYM.
33754 (index): Do not use BP_SYM in weak_alias.
33755 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
33756 "bp-asm.h".
33757 (PARMS): Do not use macros from bp-asm.h.
33758 (DEST): Likewise.
33759 (SRC): Likewise.
33760 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
33761 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
33762 "bp-asm.h".
33763 (PARMS): Do not use macros from bp-asm.h.
33764 (strlen): Do not use BP_SYM.
33765 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
33766 "bp-asm.h".
33767 (PARMS): Do not use macros from bp-asm.h.
33768 (S1): Likewise.
33769 (S2): Likewise.
33770 (SIZE): Likewise.
33771 (__mpn_sub_n): Do not use BP_SYM.
33772 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
33773 "bp-asm.h".
33774 (PARMS): Do not use macros from bp-asm.h.
33775 (S1): Likewise.
33776 (SIZE): Likewise.
33777 (__mpn_submul_1): Do not use BP_SYM.
33778 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
33779 "bp-asm.h".
33780 (PARMS): Do not use macros from bp-asm.h.
33781 (S1): Likewise.
33782 (S2): Likewise.
33783 (SIZE): Likewise.
33784 (__mpn_add_n): Do not use BP_SYM.
33785 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
33786 weak_alias.
33787 (bzero): Likewise.
33788 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
33789 "bp-asm.h".
33790 (PARMS): Do not use macros from bp-asm.h.
33791 (BLK2): Likewise.
33792 (LEN): Likewise.
33793 (memcmp): Do not use BP_SYM.
33794 (bcmp): Do not use BP_SYM in weak_alias.
33795 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
33796 "bp-asm.h".
33797 (PARMS): Do not use macros from bp-asm.h.
33798 (DEST): Likewise.
33799 (SRC): Likewise.
33800 (LEN): Likewise.
33801 (memcpy): Likewise. Do not use BP_SYM.
33802 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
33803 "bp-asm.h".
33804 (PARMS): Do not use macros from bp-asm.h.
33805 (DEST): Likewise.
33806 (SRC): Likewise.
33807 (LEN): Likewise.
33808 (memmove): Likewise. Do not use BP_SYM.
33809 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
33810 "bp-asm.h".
33811 (PARMS): Do not use macros from bp-asm.h.
33812 (DEST): Likewise.
33813 (SRC): Likewise.
33814 (LEN): Likewise.
33815 (__mempcpy): Likewise. Do not use BP_SYM.
33816 (mempcpy): Do not use BP_SYM in weak_alias.
33817 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
33818 "bp-asm.h".
33819 (PARMS): Do not use macros from bp-asm.h.
33820 (DEST): Likewise.
33821 (LEN): Likewise.
33822 [!BZERO_P] (CHR): Likewise.
33823 (memset): Likewise. Do not use BP_SYM.
33824 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
33825 "bp-asm.h".
33826 (PARMS): Do not use macros from bp-asm.h.
33827 (STR2): Likewise.
33828 (strcmp): Do not use BP_SYM.
33829 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
33830 "bp-asm.h".
33831 (PARMS): Do not use macros from bp-asm.h.
33832 (STR): Likewise.
33833 (DELIM): Likewise.
33834 [USE_AS_STRTOK_R] (SAVE): Likewise.
33835 (FUNCTION): Likewise. Do not use BP_SYM.
33836 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
33837 aliases.
33838 (strtok_r): Likewise.
33839 (__GI___strtok_r): Likewise.
33840 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33841 (PARMS): Do not use macros from bp-asm.h.
33842 (S): Likewise.
33843 (SIZE): Likewise.
33844 (__mpn_lshift): Do not use BP_SYM.
33845 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33846 (PARMS): Do not use macros from bp-asm.h.
33847 (STR): Likewise.
33848 (CHR): Likewise.
33849 (__memchr): Do not use BP_SYM.
33850 (memchr): Do not use BP_SYM in weak_alias.
33851 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33852 (PARMS): Do not use macros from bp-asm.h.
33853 (BLK2): Likewise.
33854 (LEN): Likewise.
33855 (memcmp): Do not use BP_SYM.
33856 (bcmp): Do not use BP_SYM in weak_alias.
33857 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
33858 (PARMS): Do not use macros from bp-asm.h.
33859 (S1): Likewise.
33860 (SIZE): Likewise.
33861 (__mpn_mul_1): Do not use BP_SYM.
33862 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
33863 "bp-asm.h".
33864 (PARMS): Do not use macros from bp-asm.h.
33865 (STR): Likewise.
33866 (CHR): Likewise.
33867 (__rawmemchr): Do not use BP_SYM.
33868 (rawmemchr): Do not use BP_SYM in weak_alias.
33869 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33870 (PARMS): Do not use macros from bp-asm.h.
33871 (S): Likewise.
33872 (SIZE): Likewise.
33873 (__mpn_rshift): Do not use BP_SYM.
33874 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33875 (PARMS): Do not use macros from bp-asm.h.
33876 (SIGMSK): Likewise.
33877 (__sigsetjmp): Likewise. Do not use BP_SYM.
33878 * sysdeps/i386/start.S: Do not include "bp-sym.h".
33879 (_start): Do not use BP_SYM.
33880 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
33881 (PARMS): Do not use macros from bp-asm.h.
33882 (DEST): Likewise.
33883 (SRC): Likewise.
33884 (__stpcpy): Likewise. Do not use BP_SYM.
33885 (stpcpy): Do not use BP_SYM in weak_alias.
33886 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
33887 "bp-asm.h".
33888 (PARMS): Do not use macros from bp-asm.h.
33889 (DEST): Likewise.
33890 (SRC): Likewise.
33891 (LEN): Likewise.
33892 (__stpncpy): Likewise. Do not use BP_SYM.
33893 (stpncpy): Do not use BP_SYM in weak_alias.
33894 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33895 (PARMS): Do not use macros from bp-asm.h.
33896 (STR): Likewise.
33897 (CHR): Likewise.
33898 (strchr): Likewise. Do not use BP_SYM.
33899 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
33900 "bp-asm.h".
33901 (PARMS): Do not use macros from bp-asm.h.
33902 (STR): Likewise.
33903 (CHR): Likewise.
33904 (__strchrnul): Likewise. Do not use BP_SYM.
33905 (strchrnul): Do not use BP_SYM in weak_alias.
33906 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
33907 "bp-asm.h".
33908 (PARMS): Do not use macros from bp-asm.h.
33909 (STOP): Likewise.
33910 (strcspn): Do not use BP_SYM.
33911 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
33912 "bp-asm.h".
33913 (PARMS): Do not use macros from bp-asm.h.
33914 (STR): Likewise.
33915 (STOP): Likewise.
33916 (strpbrk): Likewise. Do not use BP_SYM.
33917 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
33918 "bp-asm.h".
33919 (PARMS): Do not use macros from bp-asm.h.
33920 (STR): Likewise.
33921 (CHR): Likewise.
33922 (strrchr): Likewise. Do not use BP_SYM.
33923 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
33924 (PARMS): Do not use macros from bp-asm.h.
33925 (SKIP): Likewise.
33926 (strspn): Do not use BP_SYM.
33927 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
33928 (PARMS): Do not use macros from bp-asm.h.
33929 (STR): Likewise.
33930 (DELIM): Likewise.
33931 (SAVE): Likewise.
33932 (FUNCTION): Likewise. Do not use BP_SYM.
33933 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
33934 aliases.
33935 (strtok_r): Likewise.
33936 (__GI___strtok_r): Likewise.
33937 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33938 (PARMS): Do not use macros from bp-asm.h.
33939 (S1): Likewise.
33940 (S2): Likewise.
33941 (SIZE): Likewise.
33942 (__mpn_sub_n): Do not use BP_SYM.
33943 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
33944 "bp-asm.h".
33945 (PARMS): Do not use macros from bp-asm.h.
33946 (S1): Likewise.
33947 (SIZE): Likewise.
33948 (__mpn_submul_1): Do not use BP_SYM.
33949 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
33950 <bp-sym.h>.
33951 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
33952 and <bp-asm.h>.
33953 (PARMS): Do not use macros from bp-asm.h.
33954 (FLAGS): Likewise.
33955 (PTID): Likewise.
33956 (TLS): Likewise.
33957 (CTID): Likewise.
33958 (__clone): Do not use BP_SYM.
33959 (clone): Do not use BP_SYM in weak_alias.
33960 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
33961 and <bp-asm.h>.
33962 (PARMS): Do not use macros from bp-asm.h.
33963 (LEN): Likewise.
33964 (__mmap64): Do not use BP_SYM.
33965 (mmap64): Do not use BP_SYM in weak_alias.
33966 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33967 <bp-sym.h> and <bp-asm.h>.
33968 (PARMS): Do not use macros from bp-asm.h.
33969 (__posix_fadvise64_l64): Do not use BP_SYM.
33970 * sysdeps/unix/sysv/linux/i386/semtimedop.S
33971 (PARMS): Do not use macros from bp-asm.h.
33972 (NSOPS): Likewise.
33973 (semtimedop): Do not use BP_SYM.
33974 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
33975 and <bp-asm.h>.
33976
582a3cff
AM
339772013-02-21 Allan McRae <allan@archlinux.org>
33978
33979 * manual/message.texi (Charset conversion in gettext):
33980 Move @end statement to beginning of line.
33981
bab8a695
SP
339822013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33983
80945231
SP
33984 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
33985 static.
33986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33987 Likewise.
33988
bab8a695
SP
33989 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
33990 (denorm): Likewise.
33991 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
33992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
33993
e21d7aa7
AK
339942013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33995
33996 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
33997 tail-call to the resolved function if pltexit isn't needed.
33998
4c7a4263
SP
339992013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34000
34001 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34002 or Y being zero as being unlikely.
34003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34004 Likewise.
34005
41f49342
CD
340062013-02-20 Carlos O'Donell <carlos@redhat.com>
34007
34008 * manual/nss.texi (System Databases and Name Service Switch):
34009 Remove frobnicate @pxref.
34010
50022a93
TS
340112013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34012
34013 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34014 __attribute__ ((unused)) to __attribute__ ((__unused__)).
34015
08cbd996
PM
340162013-02-20 Petr Machata <pmachata@redhat.com>
34017
34018 * elf/elf.h (R_ARM_TARGET1): New macro.
34019 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34020 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34021 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34022 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34023 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34024 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34025 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34026 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34027 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34028 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34029 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
34030 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
34031 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
34032 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
34033 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
34034 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
34035 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
34036 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
34037 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
34038 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34039 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
34040 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
34041 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
34042 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
34043 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
34044 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
34045 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
34046 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
34047 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
34048 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34049 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
34050 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
34051 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
34052 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
34053 (R_ARM_THM_GOT_BREL12): Likewise.
34054 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
34055 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
34056 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
34057 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
34058 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
34059 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
34060 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
34061 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
34062 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
34063
c7b275d6
TS
340642013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34065
34066 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34067 __attribute_used__ to __attribute__ ((unused)).
34068
20cd7fb3
SP
340692013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34070
34071 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
34072 powerpc mpa.c.
34073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
34074 comment formatting.
34075 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
34076
92945b52
JM
340772013-02-19 Joseph Myers <joseph@codesourcery.com>
34078
34079 [BZ #13550]
34080 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
34081 Remove macro.
34082 (ENTER): Remove both macro definitions.
34083 (LEAVE): Likewise.
34084 (CHECK_BOUNDS_LOW): Likewise.
34085 (CHECK_BOUNDS_HIGH): Likewise.
34086 (CHECK_BOUNDS_BOTH): Likewise.
34087 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
34088 (RETURN_BOUNDED_POINTER): Likewise.
34089 (RETURN_NULL_BOUNDED_POINTER): Likewise.
34090 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
34091 (POP_ERRNO_LOCATION_RETURN): Likewise.
34092 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
34093 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34094 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
34095 macros.
34096 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34097 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
34098 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
34099 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
34100 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
34101 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34102 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
34103 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
34104 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
34105 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
34106 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
34107 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
34108 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34109 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
34110 removed macros.
34111 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34112 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
34113 macros.
34114 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34115 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
34116 * sysdeps/i386/i586/memset.S (memset): Likewise.
34117 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
34118 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34119 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
34120 macros.
34121 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34122 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
34123 Change uses of L(2) to L(out).
34124 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
34125 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
34126 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
34127 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34128 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
34129 removed macros.
34130 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34131 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34132 macros.
34133 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34134 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34135 (RETURN): Do not use macro LEAVE.
34136 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
34137 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
34138 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
34139 * sysdeps/i386/i686/memset.S (memset): Likewise.
34140 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
34141 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
34142 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34143 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
34144 Likewise.
34145 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34146 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
34147 L(1_2) and L(1_3) into L(1).
34148 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34149 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
34150 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34151 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
34152 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34153 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
34154 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
34155 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34156 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
34157 macros.
34158 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
34159 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34160 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
34161 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
34162 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
34163 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34164 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
34165 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
34166 * sysdeps/i386/strcspn.S (strcspn): Likewise.
34167 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
34168 * sysdeps/i386/strrchr.S (strrchr): Likewise.
34169 * sysdeps/i386/strspn.S (strspn): Likewise.
34170 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
34171 conditional code.
34172 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34173 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
34174 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34175 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
34176 L(1_3) into L(1_1).
34177 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
34178 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34179 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
34180 macros.
34181 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34182
2389741a
JJ
341832013-02-19 Jakub Jelinek <jakub@redhat.com>
34184
34185 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34186 macro.
34187
2016b3cd
SP
341882013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34189
e4f22324
SP
34190 * math/atest-exp.c (exp_mpn): Remove ROUND.
34191 * math/atest-exp2.c (exp_mpn): Likewise.
34192 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34193
2016b3cd
SP
34194 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34195 * stdlib/tst-tls-atexit-lib.c: Likewise.
34196 * stdlib/tst-tls-atexit.c: Likewise.
34197
4be9b544
MF
341982013-02-18 Mike Frysinger <vapier@gentoo.org>
34199
34200 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34201 and __attribute_alloc_size__.
34202
2f62b9ee
MF
342032013-02-18 Mike Frysinger <vapier@gentoo.org>
34204
34205 * include/programs/xmalloc.h: Change __attribute_alloc_size to
34206 __attribute_alloc_size__.
34207 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34208 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34209
6ff444c4
MF
342102013-02-18 Mike Frysinger <vapier@gentoo.org>
34211
34212 * include/programs/xmalloc.h: New file.
34213 * catgets/gencat.c: Include it.
34214 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34215 * elf/pldd.c: Likewise.
34216 * iconv/iconv_charmap.c: Likewise.
34217 * iconv/iconvconfig.c: Likewise.
34218 * iconv/strtab.c: Likewise.
34219 * locale/programs/locale.c: Likewise.
34220 * locale/programs/localedef.h: Likewise.
34221 * locale/programs/simple-hash.c: Likewise.
34222 * nscd/nscd.h: Likewise.
34223 * nss/makedb.c: Likewise.
34224 * sysdeps/generic/ldconfig.h: Likewise.
34225
be179c8a
SP
342262013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34227
ba384f6e
SP
34228 * Versions.def: Add GLIBC_2.18.
34229 * include/link.h (struct link_map): New member l_tls_dtor_count.
34230 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34231 (__call_tls_dtors): Likewise.
34232 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34233 __cxa_thread_atexit_impl.
34234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34235 Likewise.
34236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34237 Likewise.
34238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34239 Likewise.
34240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34241 Likewise.
34242 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34244 Likewise.
34245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34246 Likewise.
34247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34249 Likewise.
34250 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34251 (tests): Add test case tst-tls-atexit.
34252 (modules-names): Add shared library for tst-tls-atexit.
85891aca 34253 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
34254 (GLIBC_PRIVATE): Add __call_tls_dtors.
34255 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34256 for libstdc++.
34257 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34258 * stdlib/tst-tls-atexit.c: New test case.
34259 * stdlib/tst-tls-atexit-lib.c: New test case.
34260
ffaa74cf 34261 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 34262
be179c8a
SP
34263 * elf/Versions (ld): Add _dl_find_dso_for_object.
34264 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34265 * elf/dl-open.c (_dl_find_dso_for_object): New function.
34266 (dl_open_worker): Use _dl_find_dso_for_object.
34267 * elf/dl-sym.c (do_sym): Likewise.
34268 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34269
f78b5caa
AK
342702013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34271
34272 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34273 Syntactic changes only.
34274 (_dl_runtime_profile): Do a tail-call to the resolved function.
34275
29691210
JM
342762013-02-17 Joseph Myers <joseph@codesourcery.com>
34277
34278 [BZ #13550]
34279 * sysdeps/x86_64/bp-asm.h: Remove file.
34280 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34281 <bp-sym.h> and <bp-asm.h>.
34282 (__clone): Do not use BP_SYM.
34283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34284 <bp-sym.h> and <bp-asm.h>.
34285 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34286 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34287 "bp-asm.h".
34288 (_setjmp): Do not use BP_SYM.
34289 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34290 "bp-asm.h".
34291 (setjmp): Do not use BP_SYM.
34292 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34293 libc_hidden_def.
34294 (mempcpy): Do not use BP_SYM in weak_alias.
34295 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34296 "bp-asm.h".
34297 (strchr): Do not use BP_SYM.
34298 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34299 "bp-asm.h".
34300 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34301 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34302 (_start): Do not use BP_SYM.
34303 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34304 "bp-asm.h".
34305 (strcat): Do not use BP_SYM.
34306 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34307 "bp-asm.h".
34308 (STRCMP): Do not use BP_SYM.
34309 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34310 "bp-asm.h".
34311 (STRCPY): Do not use BP_SYM.
34312 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34313 "bp-asm.h".
34314 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34315 "bp-asm.h".
34316 (FUNCTION): Do not use BP_SYM.
34317 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34318 weak_alias.
34319 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34320
f238fd19
AJ
343212013-02-17 Andreas Jaeger <aj@suse.de>
34322
34323 * time/Versions: Sort entries.
34324 * string/Versions: Likewise.
34325 * resolv/Versions: Likewise.
34326 * posix/Versions: Likewise.
34327 * iconv/Versions: Likewise.
34328 * elf/Versions: Likewise.
34329 * wcsmbs/Versions: Likewise.
34330
bd07f23c 343312013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 34332
22af19f9
SP
34333 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34334 loop termination condition.
34335
4709fe76
SP
34336 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34337 variable to calculate EZ.
34338 (__sqr): Likewise.
2d0e0f29
SP
34339
34340 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34341 the lower precision input.
34342
daaa7713
JM
343432013-02-15 Joseph Myers <joseph@codesourcery.com>
34344
34345 [BZ #13550]
34346 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34347 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34348 (run-via-rtld-prefix): Do not handle %-bp tests.
34349 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34350 (all-object-suffixes): Remove .ob.
34351 (bppfx): Remove variable.
34352 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34353 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34354 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34355 [$(build-bounded) = yes] (libtype.ob): Likewise.
34356 * Makerules (elide-routines.ob): Remove variable.
34357 (do-tests-clean): Do not handle *-bp.out.
34358 (common-mostlyclean): Do not handle *-bp and *-bp.out.
34359 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34360 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34361 (tests): Do not include $(tests-bp.out).
34362 (xtests): Do not include $(xtests-bp.out).
34363 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34364 [$(build-bounded) = yes] ($(addprefix
34365 $(objpfx),$(binaries-bounded))): Remove rule.
34366 ($(objpfx)%-bp.out): Remove rule.
34367 * config.make.in (build-bounded): Remove variable.
34368 * crypt/Makefile [$(build-bounded) = yes]
34369 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34370 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34371 append to variable.
34372 [$(build-bounded) = yes] (install-lib): Likewise.
34373 [$(build-bounded) = yes] (generated): Likewise.
34374 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34375 Remove rule.
34376 * intl/Makefile [$(build-bounded) = yes]
34377 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34378 * math/Makefile [$(build-bounded) = yes]
34379 ($(tests:%=$(objpfx)%-bp): Likewise.
34380 * misc/Makefile [$(build-bounded) = yes]
34381 ($(objpfx)tst-tsearch-bp): Likewise.
34382 * nptl/Makeconfig (bounded-thread-library): Remove variable.
34383 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34384 Remove dependency.
34385 * string/Makefile (o-objects.ob): Remove variable.
34386 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34387 (CFLAGS-.ob): Remove variable.
34388 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34389 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34390 both definitions of variable.
34391 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34392 (ASFLAGS-.ob): Remove variable.
34393
e97ed6dd
JM
343942013-02-14 Joseph Myers <joseph@codesourcery.com>
34395
2bdd4ca6
JM
34396 [BZ #13550]
34397 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34398 Remove __BOUNDED_POINTERS__ from condition.
34399 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34400 * string/bits/string2.h [!__NO_STRING_INLINES &&
34401 !__BOUNDED_POINTERS__]: Likewise.
34402 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34403 Likewise.
34404 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34405 Remove conditional code.
34406 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34407 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34408 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34409 condition.
34410
e97ed6dd
JM
34411 [BZ #13550]
34412 * csu/libc-start.c: Do not include <bp-sym.h>.
34413 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34414 * elf/dl-open.c: Do not include <bp-sym.h>.
34415 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34416 * math/fegetenv.c: Do not include <bp-sym.h>.
34417 (fegetenv): Do not use BP_SYM in versioned symbols.
34418 * nptl/sysdeps/pthread/bits/libc-lockP.h
34419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34420 <bp-sym.h>.
34421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34422 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34424 (__pthread_mutex_destroy): Likewise.
34425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34426 (__pthread_mutex_lock): Likewise.
34427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34428 (__pthread_mutex_trylock): Likewise.
34429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34430 (__pthread_mutex_unlock): Likewise.
34431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34432 (__pthread_mutexattr_init): Likewise.
34433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34434 (__pthread_mutexattr_destroy): Likewise.
34435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34436 (__pthread_mutexattr_settype): Likewise.
34437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34438 (__pthread_rwlock_init): Likewise.
34439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34440 (__pthread_rwlock_destroy): Likewise.
34441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34442 (__pthread_rwlock_rdlock): Likewise.
34443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34444 (__pthread_rwlock_tryrdlock): Likewise.
34445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34446 (__pthread_rwlock_wrlock): Likewise.
34447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34448 (__pthread_rwlock_trywrlock): Likewise.
34449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34450 (__pthread_rwlock_unlock): Likewise.
34451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34452 (__pthread_key_create): Likewise.
34453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34454 (__pthread_setspecific): Likewise.
34455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34456 (__pthread_getspecific): Likewise.
34457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
34458 Likewise.
34459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34460 (_pthread_cleanup_push_defer): Likewise.
34461 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34462 (_pthread_cleanup_pop_restore): Likewise.
34463 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34464 (pthread_setcancelstate): Likewise.
34465 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
34466 <bp-sym.h>.
34467 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
34468 (memchr): Do not use BP_SYM in weak_alias.
34469 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
34470 (fegetenv): Do not use BP_SYM in versioned symbols.
34471 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
34472 (fesetenv): Do not use BP_SYM in versioned symbols.
34473 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34474 (feupdateenv): Do not use BP_SYM in versioned symbols.
34475 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34476 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34477 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
34478 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
34479 (open64): Do not use BP_SYM in weak_alias.
34480 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
34481 (fegetenv): Do not use BP_SYM in versioned symbols.
34482 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
34483 (fesetenv): Do not use BP_SYM in versioned symbols.
34484 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34485 (feupdateenv): Do not use BP_SYM in versioned symbols.
34486 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
34487 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
34488 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
34489 (feraiseexcept): Do not use BP_SYM in versioned symbols.
34490 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34491 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34492 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
34493 <bp-sym.h>.
34494 (__libc_start_main): Do not use BP_SYM.
34495
d6752ccd
SP
344962013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34497
cb57ce60
SP
34498 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
34499 redundant return line.
34500 (norm): Likewise.
34501 (denorm): Likewise.
34502 (dbl_mp): Likewise.
34503 (sub_magnitudes): Likewise.
34504 (__add): Likewise.
34505 (__sub): Likewise.
34506 (__mul): Likewise.
34507 (__inv): Likewise.
34508 (__dvd): Likewise.
34509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
34510 (norm): Likewise.
34511 (denorm): Likewise.
34512 (dbl_mp): Likewise.
34513 (sub_magnitudes): Likewise.
34514 (__add): Likewise.
34515 (__sub): Likewise.
34516 (__mul): Likewise.
34517 (__inv): Likewise.
34518 (__dvd): Likewise.
34519
f414520d
SP
34520 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
34521 instead of __mul.
34522 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34523 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
34524 (cc32): Likewise.
34525
d6752ccd
SP
34526 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
34527 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
34528 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
34529 of __mul for squares.
34530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
34531 function
34532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
34533 Likewise.
34534 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
34535 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34536
70d9946a
JM
345372013-02-13 Joseph Myers <joseph@codesourcery.com>
34538
34539 [BZ #13550]
34540 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
34541 code.
34542 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
34543 prototype or function definition. Rename ubp_* variables and
34544 parameters. Remove argv definitions conditional on
34545 [__BOUNDED_POINTERS__].
34546 * debug/backtrace.c (__backtrace): Do not use __unbounded.
34547 * elf/dl-runtime.c (_dl_fixup): Likewise.
34548 * include/set-hooks.h (RUN_HOOK): Likewise.
34549 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
34550 definition.
34551 * string/strcpy.c (strcpy): Do not use __unbounded.
34552 * sysdeps/generic/frame.h (struct layout): Likewise.
34553 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
34554 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
34555 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
34556 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
34557 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
34558 (__backtrace): Likewise.
34559 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
34560 use __ptrvalue.
34561 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
34562 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34563 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34564 Likewise.
34565 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
34566 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
34567 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34568 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34569 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
34570 Do not use __unbounded.
34571 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
34572 Rename __unboundedrlimits parameter to rlimits in prototype.
34573 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
34574 Do not use __unbounded.
34575 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
34576 not use __ptrvalue.
34577 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34578 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
34579 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34580 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
34581 __ptrvalue or __unbounded.
34582 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
34583 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
34584 use __unbounded.
34585 (__new_msgctl): Do not use __ptrvalue.
34586 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
34587 __unbounded.
34588 (__libc_msgrcv): Do not use __ptrvalue.
34589 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
34590 startup_info): Do not use __unbounded.
34591 (__libc_start_main): Likewise. Rename ubp_* variables and
34592 parameters. Remove argv definitions conditional on
34593 [__BOUNDED_POINTERS__].
34594 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
34595 __ptrvalue.
34596 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
34597 use __unbounded.
34598 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
34599 or __ptrvalue.
34600 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
34601 use __unbounded.
34602 (__new_shmctl): Do not use __ptrvalue.
34603 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
34604 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
34605 Likewise.
34606 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
34607 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
34608 (__libc_sigaction): Likewise.
34609 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
34610 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
34611 Likewise.
34612 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34613
cc7834d6
OB
346142013-02-13 Ondřej Bílka <neleai@seznam.cz>
34615
ffb1ec7b 34616 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
34617
34618 * string/mempcpy.c: Implement by calling memcpy.
34619
bdf02814
SP
346202013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34621
c2af38aa
SP
34622 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
34623
4e92d59e
SP
34624 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
34625 evaluation.
34626
909279a5
SP
34627 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
34628 values in the mantissa.
34629
bdf02814
SP
34630 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
34631 minimize writes to Z.
34632 (sub_magnitudes): Simplify code a bit.
34633
cd525923
RM
346342013-02-12 Roland McGrath <roland@hack.frob.com>
34635
34636 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
34637 from the message. The linker prefixes all warnings with that already.
34638
7e2f0d2d
AS
346392013-02-12 Andreas Schwab <schwab@suse.de>
34640
a445af0b
AS
34641 [BZ #15078]
34642 * posix/regexec.c (extend_buffers): Add parameter min_len.
34643 (check_matching): Pass minimum needed length.
34644 (clean_state_log_if_needed): Likewise.
34645 (get_subexp): Likewise.
34646 * posix/Makefile (tests): Add bug-regex34.
34647 (bug-regex34-ENV): Define.
34648 * posix/bug-regex34.c: New file.
34649
7e2f0d2d
AS
34650 [BZ #11561]
34651 * posix/regcomp.c (parse_bracket_exp): When looking up collating
34652 elements compare against the byte sequence of it, not its name.
34653 * posix/Makefile (tests): Add bug-regex35.
34654 (bug-regex35-ENV): Define.
34655 * posix/bug-regex35.c: New file.
34656
a175b684
TV
346572013-02-11 Tom de Vries <tom@codesourcery.com>
34658
34659 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
34660 comment.
34661 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
34662 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
34663 (CHECK_EOL): Add undef.
34664
310998fe 346652013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
34666
34667 * bits/stdlib-bsearch.h: New file.
34668 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 34669 * stdlib/stdlib.h: Likewise.
41eda41d 34670
8ded91fb
RM
346712013-02-11 Roland McGrath <roland@hack.frob.com>
34672
34673 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
34674 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
34675 declaration.
34676 * manual/search.texi (Array Search Function): Add missing const in
34677 lfind prototype.
34678 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
34679 declaration to use rlim_t.
34680 (Basic Scheduling Functions): Remove erroneous const from
34681 sched_getparam prototype. Remove erroneous * from
34682 sched_get_priority_max and sched_get_priority_min prototypes.
34683 (Resource Usage): Fix summary @comment on vtimes to refer to
34684 sys/vtimes.h rather than vtimes.h.
34685 Add missing *s in vtimes prototype.
34686 (Limits on Resources): Fix ulimit prototype to return long int.
34687 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
34688 prototypes to use long int rather than double.
34689 (BSD Random): Fix initstate and setstate to use char *, not void *.
34690 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
34691 prototype to make second argument 'struct aiocb64 *const[]'.
34692 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
34693 (Status of AIO Operations): Remove erroneous const in aio_return and
34694 aio_return64 prototypes.
34695 (Synchronizing I/O): Fix sync prototype to return void.
34696 * manual/startup.texi (Suboptions): Remove an erroneous const in
34697 getsubopt prototype.
34698 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
34699 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
34700 use size_t rather than int.
34701 (Scanning All Users): Likewise for getpwent_r.
34702 (Setting Groups): Add missing const to setgroups prototype.
34703 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
34704 * manual/socket.texi (Host Names): Fix gethostbyaddr and
34705 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
34706 'const void *' rather than 'const char *'.
34707 (Host Address Functions): Likewise for inet_ntop.
34708 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
34709 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
34710 ssize_t for return value.
34711 (Sending Data): Likewise for send, sendto, sendmsg.
34712 (Socket Option Functions): Add a missing const in setsockopt prototype.
34713 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
34714 use wchar_t for the argument.
34715 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
34716 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
34717 take no arguments.
34718 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
34719 double/float/long double for second argument.
34720 Fix return types of significand, significandf, significandl.
34721 * manual/filesys.texi (Setting Permissions): Use mode_t for second
34722 argument in fchmod prototype.
34723 (File Owner): Use uid_t and gid_t in fchown prototype.
34724 (File Times): Add const to utimes, futimes, and lutimes prototypes.
34725 (Making Special Files): Use mode_t and dev_t in mknod prototype.
34726 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
34727 use 'const struct dirent **' as argument types to CMP function pointer
34728 argument.
34729 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
34730 (File Times): Fix summary magic @comment for struct utimbuf and utime
34731 to refer to utime.h, not time.h.
34732 * manual/string.texi (Argz Functions): Add missing const in
34733 argz_extract and argz_next prototypes.
34734 (Finding Tokens in a String): Likewise for basename.
34735 (String/Array Comparison): Fix typo in wcscasecmp prototype.
34736 (Copying and Concatenation): Fix typo in wmemmove prototype.
34737 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
34738 (Signal Stack): Remove erroneous const in sigstack prototype.
34739 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
34740 prototype.
34741 (Simple Calendar Time): Likewise for stime.
34742 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
34743 prototype.
34744 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
34745 say sys/sysctl.h instead.
34746 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
34747 and vsyslog prototypes.
34748
fe77fe6d
TV
347492013-02-11 Tom de Vries <tom@codesourcery.com>
34750
34751 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
34752 Remove.
34753
3a09b620
RM
347542013-02-11 Roland McGrath <roland@hack.frob.com>
34755
34756 * misc/sys/mman.h: Fix typo in mremap comment.
34757
550a0b89
RM
347582013-02-08 Roland McGrath <roland@hack.frob.com>
34759
34760 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
34761 the '\0' terminator.
34762
a2da1673
JM
347632013-02-08 Joseph Myers <joseph@codesourcery.com>
34764
34765 [BZ #13550]
34766 * debug/segfault.c: Don't include <bp-checks.h>.
34767 * sysdeps/generic/bp-checks.h: Remove file.
34768 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
34769 (__GETDENTS): Don't use CHECK_N.
34770 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
34771 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34772 (__getgroups): Don't use CHECK_N.
34773 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
34774 (setgroups): Don't use CHECK_N.
34775 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
34776 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
34777 (__libc_msgrcv): Don't use CHECK_N.
34778 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
34779 (__libc_msgsnd): Don't use CHECK_N.
34780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
34781 <bp-checks.h>.
34782 (__libc_pread): Don't use CHECK_N.
34783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
34784 include <bp-checks.h>.
34785 (__libc_pread64): Don't use CHECK_N.
34786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
34787 include <bp-checks.h>.
34788 (__libc_pwrite): Don't use CHECK_N.
34789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
34790 include <bp-checks.h>.
34791 (__libc_pwrite64): Don't use CHECK_N.
34792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
34793 <bp-checks.h>.
34794 (__libc_pread): Don't use CHECK_N.
34795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
34796 include <bp-checks.h>.
34797 (__libc_pread64): Don't use CHECK_N.
34798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
34799 include <bp-checks.h>.
34800 (__libc_pwrite): Don't use CHECK_N.
34801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
34802 include <bp-checks.h>.
34803 (__libc_pwrite64): Don't use CHECK_N.
34804 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
34805 (do_pread): Don't use CHECK_N.
34806 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
34807 (do_pread64): Don't use CHECK_N.
34808 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
34809 (do_pwrite): Don't use CHECK_N.
34810 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
34811 (do_pwrite64): Don't use CHECK_N.
34812 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
34813 (__libc_readv): Don't use CHECK_N.
34814 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
34815 (semop): Don't use CHECK_N.
34816 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
34817 <bp-checks.h>.
34818 (semtimedop): Don't use CHECK_N.
34819 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
34820 (__libc_pread): Don't use CHECK_N.
34821 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
34822 <bp-checks.h>.
34823 (__libc_pread64): Don't use CHECK_N.
34824 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
34825 <bp-checks.h>.
34826 (__libc_pwrite): Don't use CHECK_N.
34827 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
34828 <bp-checks.h>.
34829 (__libc_pwrite64): Don't use CHECK_N.
34830 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
34831 <bp-checks.h>.
34832 (__libc_msgrcv): Don't use CHECK_N.
34833 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
34834 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
34835 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
34836 (__libc_writev): Don't use CHECK_N.
34837
b84660a8
RM
348382013-02-08 Roland McGrath <roland@hack.frob.com>
34839
7f3e75f8
RM
34840 * string/strcpy.c: Removed unused variable.
34841
b84660a8
RM
34842 * Makeconfig (+sysdep-includes): Define with := rather than =.
34843 Use an existing include/ subdir of each sysdeps dir before it.
34844
471514d3
CD
348452013-02-08 Carlos O'Donell <carlos@redhat.com>
34846
34847 * nscd/connection.c (register_traced_file): Comment function.
34848 [HAVE_INOTIFY] (union __inev): Define.
34849 [HAVE_INOTIFY] (inotify_check_files): New function.
34850 [HAVE_INOTIFY] (clear_db_cache): Likewise.
34851 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
34852 clear_db_cache.
34853 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
34854
b2d3c3be
CD
348552013-02-08 Carlos O'Donell <carlos@redhat.com>
34856
34857 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
34858 loaded if not already and that a failure is permanent.
34859
b39949d2
CD
348602013-02-08 Carlos O'Donell <carlos@redhat.com>
34861
ddacd1db 34862 [BZ #15006]
b39949d2
CD
34863 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
34864 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
34865
b2c9eff4
JM
348662013-02-08 Joseph Myers <joseph@codesourcery.com>
34867
f3aae3f3
JM
34868 [BZ #13550]
34869 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
34870 (CHECK_1_NULL_OK): Likewise.
34871 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
34872 (__fxstat): Do not use CHECK_1.
34873 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
34874 <bp-checks.h>.
34875 (___fxstat64): Do not use CHECK_1.
34876 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34877 <bp-checks.h>.
34878 (__fxstatat): Do not use CHECK_1.
34879 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34880 <bp-checks.h>.
34881 (__fxstatat64): Do not use CHECK_1.
34882 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
34883 <bp-checks.h>.
34884 (__fxstat): Do not use CHECK_1.
34885 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34886 <bp-checks.h>.
34887 (__fxstatat): Do not use CHECK_1.
34888 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34889 <bp-checks.h>.
34890 (__getresgid): Do not use CHECK_1.
34891 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34892 <bp-checks.h>.
34893 (__getresuid): Do not use CHECK_1.
34894 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
34895 <bp-checks.h>.
34896 (__lxstat): Do not use CHECK_1.
34897 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34898 <bp-checks.h>.
34899 (__old_msgctl): Do not use CHECK_1.
34900 (__new_msgctl): Likewise.
34901 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
34902 <bp-checks.h>.
34903 (__new_setrlimit): Do not use CHECK_1.
34904 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34905 <bp-checks.h>.
34906 (__old_shmctl): Do not use CHECK_1.
34907 (__new_shmctl): Likewise.
34908 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
34909 <bp-checks.h>.
34910 (__xstat): Do not use CHECK_1.
34911 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
34912 (__lxstat): Do not use CHECK_1.
34913 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
34914 <bp-checks.h>.
34915 (___lxstat64): Do not use CHECK_1.
34916 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
34917 (__old_msgctl): Do not use CHECK_1.
34918 (__new_msgctl): Likewise.
34919 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
34920 <bp-checks.h>.
34921 (__gettimeofday): Do not use CHECK_1.
34922 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
34923 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
34924 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
34925 <bp-checks.h>.
34926 (__gettimeofday): Do not use CHECK_1.
34927 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
34928 (__old_shmctl): Do not use CHECK_1_NULL_OK.
34929 (__new_shmctl): Do not use CHECK_1.
34930 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
34931 <bp-checks.h>.
34932 (do_sigtimedwait): Do not use CHECK_1.
34933 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
34934 <bp-checks.h>.
34935 (do_sigwaitinfo): Do not use CHECK_1.
34936 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
34937 <bp-checks.h>.
34938 (msgctl): Do not use CHECK_1.
34939 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
34940 <bp-checks.h>.
34941 (shmctl): Do not use CHECK_1.
34942 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
34943 (ustat): Do not use CHECK_1.
34944 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
34945 <bp-checks.h>.
34946 (__fxstat): Do not use CHECK_1.
34947 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34948 <bp-checks.h>.
34949 (__fxstatat): Do not use CHECK_1.
34950 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
34951 <bp-checks.h>.
34952 (__lxstat): Do not use CHECK_1.
34953 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
34954 <bp-checks.h>.
34955 (__xstat): Do not use CHECK_1.
34956 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
34957 (__xstat): Do not use CHECK_1.
34958 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
34959 (___xstat64): Do not use CHECK_1.
34960
b2c9eff4
JM
34961 [BZ #13550]
34962 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
34963 definitions.
34964 (CHECK_BOUNDS_HIGH): Likewise.
34965 * string/strcpy.c: Do not include <bp-checks.h>.
34966 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
34967
f1d70dad
RM
349682013-02-07 Roland McGrath <roland@hack.frob.com>
34969
34970 * nscd/nscd-client.h (__nscd_drop_map_ref):
34971 Add __attribute__ ((unused)).
34972 * nis/nss-nisplus.h (niserr2nss): Likewise.
34973
34974 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
34975 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
34976
34977 * csu/libc-tls.c (init_static_tls, init_slotinfo):
34978 Remove inline keyword.
34979 * include/rounding-mode.h (round_away): Likewise.
34980 * libio/wfileops.c (adjust_wide_data): Likewise.
34981 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
34982 (__m128i_strloadu_tolower): Likewise.
34983 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
34984 (__m128i_strloadu_tolower): Likewise.
34985 * time/mktime.c (ydhms_diff): Likewise.
34986 * locale/elem-hash.h (elem_hash): Likewise.
34987 * locale/setlocale.c (setdata): Likewise.
34988 * posix/regex_internal.h (re_string_char_size_at): Likewise.
34989 (re_string_wchar_at): Likewise.
34990 (bitset_not, bitset_merge, bitset_mask): Likewise.
34991 [!(__GNUC__ > 3)] (inline): Remove macro.
34992 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
34993 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
34994 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34995 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
34996 * string/memcmp.c (memcmp_bytes): Likewise.
34997 * locale/programs/locarchive.c (compute_hashval): Likewise.
34998 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
34999 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35000 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35001 * nss/getent.c (print_rpc, print_protocols): Likewise.
35002 (print_passwd, print_group, print_aliases): Likewise.
35003 * nis/nss-nisplus.h (niserr2nss): Likewise.
35004 * nscd/connections.c (restart_p): Likewise.
35005 Change return type to bool.
35006
eab55bfb
RM
350072013-02-05 Roland McGrath <roland@hack.frob.com>
35008
7bd642f5
RM
35009 * Makeconfig (all-Depend-files): Add existing
35010 $(sorted-subdirs:=/Depend) files.
35011 (all-subdirs): Remove nss.
35012 * sysdeps/unix/inet/Subdirs: Add it here instead.
35013 * hesiod/Depend: New file.
35014
573c29b2
RM
35015 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35016 instead of calling alloca.
35017
b2e25af0
RM
35018 * io/lseek.c (__lseek): Rename to __libc_lseek.
35019 Define __lseek as an alias.
35020
eab55bfb
RM
35021 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35022
9a0d1941
CD
350232013-02-04 Carlos O'Donell <carlos@redhat.com>
35024
35025 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35026 else clause and remove check for non-standard endianness.
35027
b83bbec4
DM
350282013-02-04 David S. Miller <davem@davemloft.net>
35029
35030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35031
6277fdab
JM
350322013-02-04 Joseph Myers <joseph@codesourcery.com>
35033
35034 [BZ #13550]
35035 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
35036 (__ubp_memchr): Remove prototype.
35037 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
35038 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35039 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
35040 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35041 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
35042 Remove alias.
35043 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
35044 (__ubp_memchr): Likewise.
35045 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
35046 (__ubp_memchr): Likewise.
35047 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
35048 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
35049 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
35050 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
35051 CHECK_STRING.
35052 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35053 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
35054 (__getcwd): Do not use CHECK_STRING.
35055 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35056 <bp-checks.h>.
35057 (__real_chown): Do not use CHECK_STRING.
35058 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
35059 <bp-checks.h>.
35060 (fchownat): Do not use CHECK_STRING.
35061 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35062 CHECK_STRING.
35063 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35064 <bp-checks.h>.
35065 (__lchown): Do not use CHECK_STRING.
35066 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35067 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35068 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35069 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35071 include <bp-checks.h>.
35072 (truncate64): Do not use CHECK_STRING.
35073 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35074 <bp-checks.h>.
35075 (__real_chown): Do not use CHECK_STRING.
35076 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35077 <bp-checks.h>.
35078 (__lchown): Do not use CHECK_STRING.
35079 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35080 <bp-checks.h>.
35081 (__chown): Do not use CHECK_STRING.
35082 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
35083 <bp-checks.h>.
35084 (truncate64): Do not use CHECK_STRING.
35085 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
35086 Likewise.
35087 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
35088 (__xmknod): Do not use CHECK_STRING.
35089 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35090 <bp-checks.h>.
35091 (__xmknodat): Do not use CHECK_STRING.
35092 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35093 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
35094
903ae060
AS
350952013-02-04 Andreas Schwab <schwab@suse.de>
35096
35097 [BZ #14142]
35098 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
35099 * include/netdb.h: Likewise for h_errno.
35100 * elf/tst-stackguard1.c: Include <tls.h>.
35101
542f9466
JK
351022013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
35103
35104 * elf/link.h (struct link_map): Extend the l_addr comment.
35105 * include/link.h (struct link_map): Likewise.
35106
e782a927
JM
351072013-02-01 Joseph Myers <joseph@codesourcery.com>
35108
35109 [BZ #13550]
35110 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
35111 (BOUNDED_1): Remove macro.
35112 * debug/backtrace.c: Don't include <bp-checks.h>.
35113 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
35114 (__backtrace): Likewise.
35115 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
35116 <bp-checks.h>.
35117 (__backtrace): Don't use BOUNDED_1.
35118 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
35119 <bp-checks.h>.
35120 (__backtrace): Don't use BOUNDED_1.
35121 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
35122 (__backtrace): Don't use BOUNDED_1.
35123 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
35124 (shmat): Don't use BOUNDED_N.
35125
8cf28c5e
JM
351262013-01-31 Joseph Myers <joseph@codesourcery.com>
35127
3a7ac8a0
JM
35128 [BZ #13550]
35129 * sysdeps/generic/bp-start.h: Remove file.
35130 * csu/libc-start.c: Don't include <bp-start.h>.
35131 (LIBC_START_MAIN): Set up __environ directly instead of using
35132 INIT_ARGV_and_ENVIRON.
35133 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
35134 <bp-start.h>.
35135
f3499f95
JM
35136 [BZ #13550]
35137 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
35138 definitions.
35139 (CHECK_FCNTL): Likewise.
35140 (CHECK_N_PAGES): Likewise.
35141
32a45bea
JM
35142 [BZ #13550]
35143 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
35144 definitions.
35145 (CHECK_SIGSET_NULL_OK): Likewise.
35146 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
35147 <bp-checks.h>.
35148 (sigpending): Don't use CHECK_SIGSET.
35149 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
35150 <bp-checks.h>.
35151 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35152 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
35153 <bp-checks.h>.
35154 (do_sigsuspend): Don't use CHECK_SIGSET.
35155 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
35156 use CHECK_SIGSET.
35157 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
35158 (do_sigwait): Don't use CHECK_SIGSET.
35159 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
35160 use CHECK_SIGSET.
35161 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
35162 include <bp-checks.h>.
35163 (sigpending): Don't use CHECK_SIGSET.
35164 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
35165 include <bp-checks.h>.
35166 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35167 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
35168 <bp-checks.h>.
35169 (sigpending): Don't use CHECK_SIGSET.
35170 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
35171 <bp-checks.h>.
35172 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35173
2e8a5c8c
JM
35174 [BZ #13550]
35175 * sysdeps/generic/bp-semctl.h: Remove file.
35176 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
35177 <bp-checks.h> and <bp-semctl.h>.
35178 (__old_semctl): Don't use CHECK_SEMCTL.
35179 (__new_semctl): Likewise.
35180 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
35181 and <bp-semctl.h>.
35182 (__old_semctl): Don't use CHECK_SEMCTL.
35183 (__new_semctl): Likewise.
35184 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
35185 <bp-checks.h> and <bp-semctl.h>.
35186 (__old_semctl): Don't use CHECK_SEMCTL.
35187 (__new_semctl): Likewise.
35188 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35189 <bp-checks.h> and <bp-semctl.h>.
35190 (semctl): Don't use CHECK_SEMCTL.
35191
c2d54929
JM
35192 [BZ #13550]
35193 * Makerules (elide-bp-thunks): Remove variable.
35194 (elide-routines.oS): Don't use $(elide-bp-thunks).
35195 (elide-routines.os): Likewise.
35196 (elide-routines.o): Likewise.
35197 (elide-routines.op): Likewise.
35198 (elide-routines.og): Likewise.
35199 (objects): Don't use $(bp-thunks).
35200 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35201 include.
35202 (common-generated): Do not add s-proto-bp.d.
35203 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35204 (int): Likewise.
35205 (typ): Likewise.
35206 Do not generate makefile rules for bounded-pointer thunks.
35207 * sysdeps/generic/bp-thunks.h: Remove file.
35208 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35209 * sysdeps/unix/s-proto-bp.S: Likewise.
35210
8cf28c5e
JM
35211 [BZ #15062]
35212 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35213 parts of result separately when argument is not close to line from
35214 -i to i and one part of argument is small.
35215 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35216 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35217 * math/libm-test.inc (cacos_test): Add more tests.
35218 (casin_test): Likewise.
35219 (casinh_test): Likewise.
35220 * sysdeps/i386/fpu/libm-test-ulps: Update.
35221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35222
c4e33b8d
DM
352232013-01-31 David S. Miller <davem@davemloft.net>
35224
35225 * po/de.po: Update from translation team.
35226
3b60b421
MK
352272013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
35228
35229 * time/tzfile.c: Include stdint.h for SIZE_MAX.
35230
bb931195
TS
352312013-01-25 Thomas Schwinge <thomas@codesourcery.com>
35232
b5a5da23
TS
35233 * configure.in (_AC_PROG_CC_C89): New definition.
35234 * configure: Regenerate.
35235
bb931195
TS
35236 * configure.in (AC_PROG_CPP): New definition.
35237 * configure: Regenerate.
35238
8c53a12c
JM
352392013-01-23 Joseph Myers <joseph@codesourcery.com>
35240
35241 * debug/tst-backtrace.h: New file.
35242 * debug/tst-backtrace2.c: Include tst-backtrace.h.
35243 (ret): Remove variable.
35244 (x): Likewise.
35245 (FAIL): Remove macro.
35246 (NO_INLINE): Likewise.
35247 (fn1): Use match function instead of strstr.
35248 * debug/tst-backtrace3.c: Include tst-backtrace.h.
35249 (ret): Remove variable.
35250 (x): Likewise.
35251 (FAIL): Remove macro.
35252 (NO_INLINE): Likewise.
35253 (fn): Use match function instead of strstr.
35254 * debug/tst-backtrace4.c: Include tst-backtrace.h.
35255 (ret): Remove variable.
35256 (x): Likewise.
35257 (FAIL): Remove macro.
35258 (NO_INLINE): Likewise.
35259 (handle_signal): Use match function instead of strstr.
35260 * debug/tst-backtrace5.c: Include tst-backtrace.h.
35261 (ret): Remove variable.
35262 (x): Likewise.
35263 (FAIL): Remove macro.
35264 (NO_INLINE): Likewise.
35265 (handle_signal): Use match function instead of strstr.
35266
4858fa2a
RM
352672013-01-23 Roland McGrath <roland@hack.frob.com>
35268
35269 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35270
bae8e7f5
DM
352712013-01-23 David S. Miller <davem@davemloft.net>
35272
35273 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35274 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35275 argument of CAS if possible.
35276 * sysdeps/sparc/sparc64/bits/atomic.h
35277 (__arch_compare_and_exchange_val_32_acq): Likewise.
35278 (__arch_compare_and_exchange_val_64_acq): Likewise.
35279
9cbbc4ae
PT
352802013-01-23 Pino Toscano <toscano.pino@tiscali.it>
35281
35282 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35283 * sysdeps/posix/ulimit.c: ... this.
92a601b8 35284 Include <limits.h>.
67b3f58c 35285 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 35286
5655a0b5
AC
352872013-01-23 Adam Conrad <adconrad@0c3.net>
35288
35289 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35290 (LDFLAGS-tst-array5): Likewise.
35291
052aff95
JM
352922013-01-23 Joseph Myers <joseph@codesourcery.com>
35293
35294 [BZ #15036]
35295 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35296 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35297 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35298 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35299
7c1e01aa
DM
353002013-01-21 David S. Miller <davem@davemloft.net>
35301
35302 * sysdeps/sparc/backtrace.c: New file.
35303 * sysdeps/sparc/sparc32/backtrace.h: New file.
35304 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35305 * sysdeps/sparc/sparc64/backtrace.h: New file.
35306 * sysdeps/sparc/sparc64/backtrace.c: Delete.
35307 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35308 -funwind-tables.
35309
ab087e0a
AS
353102013-01-21 Andreas Schwab <schwab@suse.de>
35311
35312 [BZ #15020]
35313 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35314 closed its stdout.
35315
ed689c2f
AS
353162013-01-20 Andreas Schwab <schwab@linux-m68k.org>
35317
35318 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35319 "mpa2.h".
35320 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35321
31d470ac
JM
353222013-01-18 Joseph Myers <joseph@codesourcery.com>
35323 Mark Mitchell <mark@codesourcery.com>
35324 Tom de Vries <tom@codesourcery.com>
35325 Paul Pluzhnikov <ppluzhnikov@google.com>
35326
35327 * debug/tst-backtrace2.c: New file.
35328 * debug/tst-backtrace3.c: Likewise.
35329 * debug/tst-backtrace4.c: Likewise.
35330 * debug/tst-backtrace5.c: Likewise.
35331 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35332 (CFLAGS-tst-backtrace3.c): Likewise.
35333 (CFLAGS-tst-backtrace4.c): Likewise.
35334 (CFLAGS-tst-backtrace5.c): Likewise.
35335 (LDFLAGS-tst-backtrace2): Likewise.
35336 (LDFLAGS-tst-backtrace3): Likewise.
35337 (LDFLAGS-tst-backtrace4): Likewise.
35338 (LDFLAGS-tst-backtrace5): Likewise.
35339 (tests): Add new tests tst-backtrace2, tst-backtrace3,
35340 tst-backtrace4 and tst-backtrace5.
35341
90567f30 353422013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
35343 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35344
35345 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35346 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35347 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35348 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35350 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35351 "+r" and remove output regs list as redundant. Add explicit inline
35352 asm to specify register of return val to work around compiler codegen
35353 bug. Remove (int) cast on return value. Add return type parameter to
35354 use in macro so that this macro does not truncate return value for
35355 64-bit values.
35356 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35357 pass to INTERNAL_VSYSCALL_NCS.
35358 (INLINE_VSYSCALL): Add 'long int' as return type to
35359 INTERNAL_VSYSCALL_NCS macro invocation.
35360 (INTERNAL_VSYSCALL): Add 'long int' as return type to
35361 INTERNAL_VSYSCALL_NCS macro invocation.
35362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35363
d3b9ea61
SP
353642013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35365
0b57daeb
SP
35366 [BZ #14496]
35367 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35368 Fix application of SIMD FP exception mask.
35369
caa99d06
SP
35370 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35371 mp_no from a power of two.
35372 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35373 __mpexp_twomm1. Use __pow_mp.
35374
d3b9ea61
SP
35375 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35376 multiplication.
35377
1dbaee3c
DM
353782013-01-17 David S. Miller <davem@davemloft.net>
35379
35380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35381
728d7b43
JM
353822013-01-17 Joseph Myers <joseph@codesourcery.com>
35383
35384 [BZ #15023]
35385 * include/complex.h: Condition contents on [!_COMPLEX_H].
35386 (__kernel_casinhf): New prototype.
35387 (__kernel_casinh): Likewise.
35388 (__kernel_casinhl): Likewise.
35389 * math/Makefile (libm_calls): Add k_casinh.
35390 * math/k_casinh.c: New file.
35391 * math/k_casinhf.c: Likewise.
35392 * math/k_casinhl.c: Likewise.
35393 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35394 finite nonzero arguments.
35395 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35396 finite nonzero arguments.
35397 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35398 finite nonzero arguments.
35399 * math/s_casinh.c: Do not include <float.h>.
35400 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35401 * math/s_casinhf.c: Do not include <float.h>.
35402 (__casinhf): Move code for finite nonzero arguments to
35403 k_casinhf.c.
35404 * math/s_casinhl.c: Do not include <float.h>.
35405 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35406 redefine.
35407 (__casinhl): Move code for finite nonzero arguments to
35408 k_casinhl.c.
35409 * math/libm-test.inc (cacos_test): Add more tests.
35410 * sysdeps/i386/fpu/libm-test-ulps: Update.
35411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35412
2a26ef3a
PT
354132013-01-17 Pino Toscano <toscano.pino@tiscali.it>
35414
35415 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35416 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35417 [!HAVE_MREMAP]: Remove [defined linux] case.
35418 * malloc/arena.c: Do not include <malloc-sysdep.h>.
35419
a897655d
SP
354202013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35421
35422 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35423
881ebe89 354242013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
35425
35426 * elf/elf.h (R_386_SIZE32): New relocation.
35427 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35428 R_386_SIZE32.
35429 (elf_machine_rela): Likewise.
35430 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35431 R_X86_64_SIZE64 and R_X86_64_SIZE32.
35432
59981e9b
JM
354332013-01-17 Joseph Myers <joseph@codesourcery.com>
35434
35435 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
35436 (FP_FAST_FMA): Do not define.
35437 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
35438 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
35439 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
35440 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
35441 !_SOFT_FLOAT]: Likewise.
35442 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
35443 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
35444 value.
35445 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
35446 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
35447 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
35448 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
35449 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
35450 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
35451 file.
35452
cfa8054f
AS
354532013-01-16 Andreas Schwab <schwab@suse.de>
35454
35455 [BZ #14327]
35456 * include/stdlib.h (__mktemp): Add declaration.
35457 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35458 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
35459
dd930cc5
SP
354602013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35461
881ebe89
SP
35462 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
35463 definitions.
35464 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35465 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
35466 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
35467 definitions here.
35468 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
35469 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
35470 definitions.
35471 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
35472 and ONE.
35473 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
35474 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
35475 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
35476 definitions.
35477 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
35478 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
35479 definitions.
35480 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 35481
dd930cc5
SP
35482 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
35483
c19a9f89
DM
354842013-01-15 David S. Miller <davem@davemloft.net>
35485
1aa61767
DM
35486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35487 trunc{,f} to libm-sysdep_routes.
35488 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
35490 file.
35491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
35492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
35493 file.
35494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
35495 file.
35496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
35497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
35498 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
35499 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
35500 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
35501 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
35502 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
35503 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
35504
c42d5e98
DM
35505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35506 nearbyint{,f} to libm-sysdep_routes.
35507 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
35509 New file.
35510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
35511 file.
35512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
35513 New file.
35514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
35515 file.
35516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
35517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
35518 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
35519 file.
35520 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
35521 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
35522 file.
35523 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
35524 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
35525 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
35526
c19a9f89
DM
35527 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35528 libc_feholdexcept and libc_fesetenv.
35529
357679d2
MF
355302013-01-15 Mike Frysinger <vapier@gentoo.org>
35531
35532 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
35533
65a82e3d
DM
355342013-01-14 David S. Miller <davem@davemloft.net>
35535
8b954ab9
DM
35536 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
35537 (SPARC_ASM_VIS2_IFUNC): Likewise.
35538 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
35539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
35540 use of 'siam' instruction.
35541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
35542 Likewise.
35543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
35544 Likewise.
35545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
35546 Likewise.
35547 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
35548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
35549 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
35550 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
35551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
35552 file.
35553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
35554 file.
35555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
35556 file.
35557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
35558 file.
35559 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
35560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
35561 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
35562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
35563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
35564 new VIS2 routines.
35565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35568 Likewise.
35569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35570 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
35574 routines to libm-sysdep_routines.
35575 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35576
65a82e3d
DM
35577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35578 fdim/fdimf to libm-sysdep_routines.
35579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
35580 file.
35581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
35582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
35583 file.
35584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
35585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
35586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
35587 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
35588 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
35589 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
35590 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
35591
e34ab705
SP
355922013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35593
2a91b573
SP
35594 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
35595 to optimize copies.
35596
1066a534
SP
35597 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
35598 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35600
e34ab705
SP
35601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
35602 local variable MPTWO.
35603 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35604 Likewise.
35605
aba5e596
MF
356062013-01-13 Mike Frysinger <vapier@gentoo.org>
35607
35608 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
35609 GLOB_NOESCAPE.
35610
e557e9e5
MF
356112013-01-13 Mike Frysinger <vapier@gentoo.org>
35612
35613 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
35614
0428cec9
MF
356152013-01-13 Mike Frysinger <vapier@gentoo.org>
35616
35617 * manual/pattern.texi (glob_t): Document gl_flags.
35618 (glob64_t): Likewise.
35619
8794a964
DM
356202013-01-11 David S. Miller <davem@davemloft.net>
35621
66438c3f
RM
35622 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
35623 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
35624 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
35625 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
35626 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
35627 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
35628 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
35629 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
35630 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
35631 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
35632 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
35633 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
35634 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
35635
4ae4244d
DM
35636 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35637 sparc V9 rather than using V8 code.
35638 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35639 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35640
8794a964
DM
35641 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35642 Move to...
35643 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
35644 Here.
35645
6270516e
RM
356462013-01-11 Roland McGrath <roland@hack.frob.com>
35647
35648 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
35649 not in the main loop.
35650 * configure: Regenerated.
35651
6a57d931
JM
356522013-01-11 Joseph Myers <joseph@codesourcery.com>
35653
35654 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
35655 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
35656 to just #else.
35657 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
35658 [!__GLIBC_HAVE_LONG_LONG] case.
35659 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
35660 condition to just #else.
35661 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
35662 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
35663 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
35664 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
35665 unconditional.
35666 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
35667 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35668 #elif condition to just #else.
35669 * sysdeps/unix/sysv/linux/sys/sysmacros.h
35670 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
35671 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35672 #elif condition to just #else.
35673
0e8529e9
SE
356742013-01-11 Steve Ellcey <sellcey@mips.com>
35675
35676 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
35677 (EF_MIPS_ARCH_64): Fix value.
35678 (EF_MIPS_ARCH_32R2): New.
35679 (EF_MIPS_ARCH_64R2): New.
35680
740b3dbe
L
356812013-01-11 H.J. Lu <hongjiu.lu@intel.com>
35682
35683 * Makeconfig (+link-pie-before-libc): New.
35684 (+link-pie-after-libc): Likewise.
35685 (+link-pie-tests): Likewise.
35686 (+link-pie): Rewritten.
35687 (link-before-libc): Remove $(config-LDFLAGS).
35688 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
35689 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
35690 (config-LDFLAGS): Renamed to ...
35691 (rtld-LDFLAGS): This.
35692 (rtld-tests-LDFLAGS): New macro.
35693 (link-libc-rpath-link): Likewise.
35694 (link-libc-tests-rpath-link): Likewise.
35695 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
35696 (link-libc): Prepand $(link-libc-rpath-link).
35697 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
35698 (test-program-prefix): New macro.
35699 (test-via-rtld-prefix): Likewise.
35700 (test-program-cmd): Likewise.
35701 (host-test-program-cmd): Likewise.
35702 * Makefile ($(common-objpfx)testrun.sh): Replace
35703 $(run-program-prefix) with $(test-program-prefix).
35704 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
35705 $(rtld-LDFLAGS).
35706 ($(common-objpfx)shlib.lds): Likewise.
35707 (build-module-helper): Likewise.
35708 ($(common-objpfx)format.lds): Likewise.
35709 * Rules (binaries-pie-tests): New.
35710 (binaries-pie-notests): Likewise.
35711 (binaries-pie): Rewritten.
35712 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
35713 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
35714 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
35715 (make-test-out): Replace $(host-built-program-cmd) with
35716 $(host-test-program-cmd).
35717 * config.make.in (build-hardcoded-path-in-tests): New variable.
35718 * configure.in (--enable-hardcoded-path-in-tests): New configure
35719 option.
35720 (hardcoded_path_in_tests): New AC_SUBST.
35721 * configure: Regenerated.
35722 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
35723 $(built-program-cmd) with $(test-program-cmd).
35724 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
35725 (test_program_cmd): This.
35726 * elf/Makefile ($(objpfx)order.out): Run test with
35727 $(test-program-prefix).
35728 ($(objpfx)order2.out): Likewise.
35729 ($(objpfx)tst-initorder.out): Likewise.
35730 ($(objpfx)tst-initorder2.out): Likewise.
35731 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
35732 $(test-program-cmd).
35733 ($(objpfx)tst-array1-static.out): Likewise.
35734 ($(objpfx)tst-array2.out): Likewise.
35735 ($(objpfx)tst-array3.out): Likewise.
35736 ($(objpfx)tst-array4.out): Likewise.
35737 ($(objpfx)tst-array5.out): Likewise.
35738 ($(objpfx)tst-array5-static.out): Likewise.
35739 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
35740 $(test-program-cmd).
35741 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
35742 $(run-program-prefix) with $(test-program-prefix).
35743 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
35744 (test_program_prefix): This.
35745 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
35746 $(run-program-prefix) with $(test-program-prefix).
35747 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
35748 (test_program_prefix): This.
35749 * iconvdata/tst-tables.sh: Likewise.
35750 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
35751 $(run-program-prefix) with $(test-program-prefix).
35752 ($(objpfx)tst-translit.out): Likewise.
35753 ($(objpfx)tst-gettext2.out): Likewise.
35754 ($(objpfx)tst-gettext4.out): Likewise.
35755 ($(objpfx)tst-gettext6.out): Likewise.
35756 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
35757 (test_program_prefix): This.
35758 * intl/tst-gettext2.sh: Likewise.
35759 * intl/tst-gettext4.sh Likewise.
35760 * intl/tst-gettext6.sh: Likewise.
35761 * intl/tst-translit.sh: Likewise.
35762 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
35763 with $(test-program-cmd).
35764 * libio/Makefile ($(objpfx)test-freopen.out): Replace
35765 $(run-program-prefix) with $(test-program-prefix).
35766 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
35767 (test_program_prefix): This.
35768 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
35769 $(run-program-prefix) with $(test-program-prefix).
35770 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
35771 (test_program_prefix): This.
35772 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
35773 * posix/Makefile ($(objpfx)globtest.out): Replace
35774 $(run-via-rtld-prefix) and $(test-wrapper) with
35775 $(test-program-prefix) and $(test-via-rtld-prefix).
35776 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
35777 $(test-program-prefix).
35778 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
35779 $(host-test-program-cmd).
35780 (tst-spawn-ARGS): Likewise.
35781 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
35782 $(test-program-prefix).
35783 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
35784 (test_via_rtld_prefix): This.
35785 (test_wrapper): Renamed to ...
35786 (test_program_prefix): This.
35787 (run_program_prefix): Replaced by test_program_prefix.
35788 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
35789 (test_program_prefix): This.
35790 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
35791 with $(host-test-program-cmd).
35792 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
35793 $(run-program-prefix) with $(test-program-prefix).
35794 ($(objpfx)tst-printf.out): Likewise.
35795 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
35796 $(test-program-cmd).
35797 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
35798 (test_program_prefix): This.
35799 * stdio-common/tst-unbputc.sh: Likewise.
35800 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
35801 $(run-program-prefix) with $(test-program-prefix).
35802 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
35803 (test_program_prefix): This.
35804 * string/Makefile ($(objpfx)tst-svc.out): Replace
35805 $(built-program-cmd) with $(test-program-cmd).
35806
c6fe55cf
AJ
358072013-01-11 Andreas Jaeger <aj@suse.de>
35808
35809 [BZ #15003]
35810 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
35811 value. Sync with Linux 3.7.
35812
9e6919c8
DM
358132013-01-10 David S. Miller <davem@davemloft.net>
35814
35815 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
35816 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35817 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35818
1c9f1a02
RM
358192013-01-10 Roland McGrath <roland@hack.frob.com>
35820
35821 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
35822 never set.
35823 * configure: Regenerated.
35824
b9de2dde
DM
358252013-01-10 David S. Miller <davem@davemloft.net>
35826
35827 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35828 sparc V9 rather than using V8 code.
35829 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35830 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35831
e7f68ef4
RM
358322013-01-10 Roland McGrath <roland@hack.frob.com>
35833
35834 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
35835 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
35836 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
35837 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
35838 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
35839 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
35840 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
35841 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
35842 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
35843 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
35844 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
35845 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
35846 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
35847 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
35848 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
35849 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
35850 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
35851 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
35852 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
35853 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
35854 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
35855 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
35856 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
35857 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
35858 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
35859 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
35860 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
35861
5a47cc9c
DM
358622013-01-10 David S. Miller <davem@davemloft.net>
35863
35864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35865
4cf8f209
L
358662013-01-10 H.J. Lu <hongjiu.lu@intel.com>
35867
35868 * posix/Makefile (tests-static): New variable.
35869 (tests): Add $(tests-static).
35870 (tst-exec-static-ARGS): New variable.
35871 (tst-spawn-static-ARGS): Likewise.
35872 * posix/tst-exec-static.c: New file.
35873 * posix/tst-spawn-static.c: Likewise.
35874 * posix/tst-exec.c: Support run directly.
35875 * posix/tst-spawn.c: Likewise.
35876
fed0faa1
JM
358772013-01-10 Joseph Myers <joseph@codesourcery.com>
35878
828beb13
JM
35879 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
35880 long.
35881 * math/bits/mathcalls.h (llrint): Likewise.
35882 (llround): Likewise.
35883 * stdlib/stdlib.h (struct drand48_data): Likewise.
35884 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
35885 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
35886 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
35887 Likewise.
35888 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
35889 Likewise.
35890 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
35891 (elf_greg_t): Likewise.
35892 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
35893 (__jmp_buf): Likewise.
35894 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
35895 definitions.
35896 (llrint): Likewise, for all definitions.
35897 (llrintl): Likewise.
35898
fed0faa1
JM
35899 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
35900 Remove [__GNUC__] condition.
35901 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
35902 condition to just [__USE_ISOC99].
35903 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
35904
1a20cb20
L
359052013-01-10 H.J. Lu <hongjiu.lu@intel.com>
35906
35907 [BZ #14200]
35908 * sysdeps/unix/sysv/linux/x86/bits/environments.h
35909 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
35910 defined.
35911 (_POSIX_V6_ILP32_OFF32): Likewise.
35912 (_XBS5_ILP32_OFF32): Likewise.
35913 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
35914 (__ILP32_OFFBIG_LDFLAGS): Likewise.
35915
751b85f7
SP
359162013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35917
7490eb81
SP
35918 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
35919
751b85f7
SP
35920 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
35921 doubles __mpexp_twomm1. Adjust usage.
35922 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
35923 Remove.
35924
988197f0
AS
359252013-01-10 Andreas Schwab <schwab@suse.de>
35926
35927 [BZ #14964]
35928 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
35929 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
35930
e83d7298
DM
359312013-01-09 David S. Miller <davem@davemloft.net>
35932
034ed64b 35933 [BZ #15003]
57f41c40
AS
35934 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
35935 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
35936 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
35937 (TCP_FASTOPEN): Define.
e83d7298
DM
35938 (tcp_repair_opt): New structure.
35939 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
35940 enum values.
57f41c40
AS
35941 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
35942 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
35943 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
35944 (tcp_cookie_transactions): New structure.
35945
d5e0b9bd
AB
359462013-01-09 Anton Blanchard <anton@samba.org>
35947
35948 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
35949 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
35950 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
35951 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35952
0c07e3ea
JM
359532013-01-09 Joseph Myers <joseph@codesourcery.com>
35954
35955 * include/features.h (__USE_ANSI): Remove.
35956
232f7002
RM
359572013-01-09 Roland McGrath <roland@hack.frob.com>
35958
ad98e30c
RM
35959 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
35960
232f7002
RM
35961 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
35962
950c99ca
SP
359632013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
35964
b5792741
SP
35965 * sysdeps/s390/fpu/libm-test-ulps: Update.
35966
47cf2278
SP
35967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35968
950c99ca
SP
35969 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
35970 (__acr): Likewise.
35971 (__cpy): Likewise.
35972 (norm): Likewise.
35973 (denorm): Likewise.
35974 (__mp_dbl): Likewise.
35975 (__dbl_mp): Likewise.
35976 (add_magnitudes): Likewise.
35977 (sub_magnitudes): Likewise.
35978 (__add): Likewise.
35979 (__sub): Likewise.
35980 (__mul): Likewise.
35981 (__inv): Likewise.
35982 (__dvd): Likewise.
35983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
35984 (__acr): Likewise.
35985 (__cpy): Likewise.
35986 (norm): Likewise.
35987 (denorm): Likewise.
35988 (__mp_dbl): Likewise.
35989 (__dbl_mp): Likewise.
35990 (add_magnitudes): Likewise.
35991 (sub_magnitudes): Likewise.
35992 (__add): Likewise.
35993 (__sub): Likewise.
35994 (__mul): Likewise.
35995 (__inv): Likewise.
35996 (__dvd): Likewise.
35997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
35998 (__acr): Likewise.
35999 (__cpy): Likewise.
36000 (norm): Likewise.
36001 (denorm): Likewise.
36002 (__mp_dbl): Likewise.
36003 (__dbl_mp): Likewise.
36004 (add_magnitudes): Likewise.
36005 (sub_magnitudes): Likewise.
36006 (__add): Likewise.
36007 (__sub): Likewise.
36008 (__mul): Likewise.
36009 (__inv): Likewise.
36010 (__dvd): Likewise.
36011
eede9df9
JM
360122013-01-08 Joseph Myers <joseph@codesourcery.com>
36013
36014 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36015 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36016 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36017 2 && __USE_EXTERN_INLINES]: Likewise.
36018
c40ea3d9
AJ
360192013-01-08 Andreas Jaeger <aj@suse.de>
36020
36021 [BZ# 14985]
36022 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36023 Remove.
36024 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36025 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36026
2ccdea26
AB
360272013-01-07 Anton Blanchard <anton@samba.org>
36028
36029 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
36030 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36031 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
36032 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36033 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36034 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36035 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
36036 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36038 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36039 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36040 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36041 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36042 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36043 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36044 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36045 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36046 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36047 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36048 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36049 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36050 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
36051 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36052 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36053 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36054 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36055 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36056 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36057 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
36058 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36059 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36061 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36062 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36063 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36064 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36065 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36066 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36067 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
36068 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36069 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
36070 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36071 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36072
a9708fed
JM
360732013-01-07 Joseph Myers <joseph@codesourcery.com>
36074
375607b9
JM
36075 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
36076 (__MALLOC_PMT): Likewise.
36077 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
36078 [__GNUC__], only on [_LIBC].
36079 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36080 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
36081 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36082 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
36083 forward declaration.
36084 (realloc_hook_ini): Likewise.
36085 (memalign_hook_ini): Likewise.
36086 (__libc_memalign): Do not use __MALLOC_PMT in variable
36087 declaration.
36088 (__libc_valloc): Likewise.
36089 (__libc_pvalloc): Likewise.
36090 (__libc_calloc): Likewise.
36091 (__posix_memalign): Likewise.
36092
a9708fed
JM
36093 [BZ #14996]
36094 * math/s_casinh.c: Include <float.h>.
36095 (__casinh): Do not do computation with squaring and square root
36096 for large arguments.
36097 * math/s_casinhf.c: Include <float.h>.
36098 (__casinhf): Do not do computation with squaring and square root
36099 for large arguments.
36100 * math/s_casinhl.c: Include <float.h>.
36101 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
36102 (__casinhl): Do not do computation with squaring and square root
36103 for large arguments.
36104 * math/libm-test.inc (casin_test): Add more tests.
36105 (casinh_test): Likewise.
36106 * sysdeps/i386/fpu/libm-test-ulps: Update.
36107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36108
afec409a
L
361092013-01-04 H.J. Lu <hongjiu.lu@intel.com>
36110
36111 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
36112 (__x86_64_raw_data_cache_size): Likewise.
36113 (__x86_64_data_cache_size_half): Likewise.
36114 (__x86_64_raw_data_cache_size_half): Likewise.
36115 (__x86_64_shared_cache_size): Likewise.
36116 (__x86_64_raw_shared_cache_size): Likewise.
36117 (__x86_64_shared_cache_size_half): Likewise.
36118 (__x86_64_raw_shared_cache_size_half): Likewise.
36119 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
36120 to ...
36121 (__x86_data_cache_size): This.
36122 (__x86_64_raw_data_cache_size): Renamed to ...
36123 (__x86_raw_data_cache_size): This.
36124 (__x86_64_data_cache_size_half): Renamed to ...
36125 (__x86_data_cache_size_half): This.
36126 (__x86_64_raw_data_cache_size_half): Renamed to ...
36127 (__x86_raw_data_cache_size_half): This.
36128 (__x86_64_shared_cache_size): Renamed to ...
36129 (__x86_shared_cache_size): This.
36130 (__x86_64_raw_shared_cache_size): Renamed to ...
36131 (__x86_raw_shared_cache_size): This.
36132 (__x86_64_shared_cache_size_half): Renamed to ...
36133 (__x86_shared_cache_size_half): This.
36134 (__x86_64_raw_shared_cache_size_half): Renamed to ...
36135 (__x86_raw_shared_cache_size_half): This.
36136 * sysdeps/x86_64/memcpy.S: Updated.
36137 * sysdeps/x86_64/memset.S: Likewise.
36138 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36139 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36140 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36141
0b3986d0
DM
361422013-01-04 David S. Miller <davem@davemloft.net>
36143
36144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36145
e47686e9
AS
361462013-01-04 Andreas Schwab <schwab@linux-m68k.org>
36147
d643bac1
AS
36148 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
36149 1 to avoid redefinition warning.
36150 (__USE_GNU): Don't define.
36151 (init_signaling_nan): Protoize.
36152
e47686e9
AS
36153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36154
b18decba
SP
361552013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36156
fffb407f
SP
36157 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
36158 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
36159 (__cpymn): Likewise.
36160 (norm): Remove commented code.
36161 (denorm): Likewise.
36162 (__mp_dbl): Likewise.
36163 (__inv): Likewise.
36164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
36165 (__cpymn): Likewise.
36166 (norm): Remove commented code.
36167 (denorm): Likewise.
36168 (__mp_dbl): Likewise.
36169 (__inv): Likewise.
36170
b18decba
SP
36171 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
36172 mp_no value for 1.0 and 2.0.
36173 (norm): Use RADIXI instead of radixi.d.
36174 (denorm): Likewise.
36175 (__mul): Use 0.0 instead of zero.d.
36176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
36177 mp_no value for 1.0 and 2.0.
36178 (norm): Use RADIXI instead of radixi.d.
36179 (denorm): Likewise.
36180 (__mul): Use 0.0 instead of zero.d.
36181
cdc1c96f
JM
361822013-01-04 Joseph Myers <joseph@codesourcery.com>
36183
36184 [BZ #14994]
36185 * math/s_casinh.c (__casinh): Reduce finite argument to first
36186 quadrant then set signs of results at the end.
36187 * math/s_casinhf.c (__casinhf): Likewise.
36188 * math/s_casinhl.c (__casinhl): Likewise.
36189 * math/libm-test.inc (casin_test): Add more tests.
36190 (casinh_test): Likewise.
36191 * sysdeps/i386/fpu/libm-test-ulps: Update.
36192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36193
302913e1
SP
361942013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36195
6420d207
SP
36196 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36197
a9e48ab4
SP
36198 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36199
b7837264
SP
36200 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36201 declarations.
36202 (denorm): Likewise.
36203 (__mp_dbl): Likewise.
36204 (__inv): Likewise.
36205
f8af25d2
SP
36206 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36207 and adjust the header comment.
36208
302913e1
SP
36209 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36210 variable name from declaration.
36211
5d7dd1ca
L
362122013-01-03 H.J. Lu <hongjiu.lu@intel.com>
36213
36214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36215 Initialize COMMON_CPUID_INDEX_7 element.
36216 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36217 (CPUID_RTM): Likewise.
36218 (HAS_RTM): Likewise.
36219 (COMMON_CPUID_INDEX_7): New enum.
36220
2f5f40f4
AS
362212013-01-03 Andreas Schwab <schwab@linux-m68k.org>
36222
36223 [BZ #14981]
36224 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36225 size is zero, record memory as freed.
36226
4056f4a0
AJ
362272013-01-03 Andreas Jaeger <aj@suse.de>
36228
36229 * po/ia.po: Add new Interlingua translation.
36230
ab15736f 362312012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
36232
36233 * locale/programs/localedef.c: Fix description of '--posix' flag.
36234
568035b7
JM
362352013-01-02 Joseph Myers <joseph@codesourcery.com>
36236
e6898b8d
JM
36237 * NEWS: Update dates in second copyright notice.
36238 * README: Update copyright dates in example.
36239 * manual/libc.texinfo: Update copyright dates.
36240 * scripts/test-installation.pl: Update copyright date in --version
36241 output.
36242
0e2f9562
JM
36243 * hurd/ctty-input.c: Fix copyright notice formatting.
36244 * hurd/ctty-output.c: Likewise.
36245 * hurd/dtable.c: Likewise.
36246 * hurd/hurd-raise.c: Likewise.
36247 * hurd/hurdprio.c: Likewise.
36248 * hurd/msgportdemux.c: Likewise.
36249 * misc/sys/file.h: Likewise.
36250 * misc/sys/ioctl.h: Likewise.
36251 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36252 * sysdeps/mach/hurd/chdir.c: Likewise.
36253 * sysdeps/mach/hurd/fchdir.c: Likewise.
36254 * sysdeps/mach/hurd/rename.c: Likewise.
36255 * sysdeps/mach/hurd/rmdir.c: Likewise.
36256 * sysdeps/mach/hurd/seekdir.c: Likewise.
36257 * sysdeps/mach/hurd/setsid.c: Likewise.
36258 * sysdeps/posix/wait3.c: Likewise.
36259
568035b7
JM
36260 * All files with FSF copyright notices: Update copyright dates
36261 using scripts/update-copyrights.
36262 * intl/plural.c: Regenerated.
36263 * locale/programs/charmap-kw.h: Likewise.
36264 * locale/programs/locfile-kw.h: Likewise.
36265
da08f647
SP
362662013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36267
0f5477af
SP
36268 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36269 four values.
36270
44e0d4c2
SP
36271 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36272 calculation loop and add branch prediction.
36273
4d55b4e5
SP
36274 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36275 check access beyond bounds of m1np.
36276
da08f647
SP
36277 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36278 MPTWO.
36279 (__inv): Remove local variable MPTWO to use the global
36280 constant.
36281 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36282 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36283 variable MPTWO.
36284 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36285 MP3HALFS static const.
36286
8e051029
DM
362872013-01-01 David S. Miller <davem@davemloft.net>
36288
36289 * po/ca.po: Update from translation team.
36290
f4cf5f2d
JM
362912013-01-01 Joseph Myers <joseph@codesourcery.com>
36292
36293 * scripts/update-copyrights: New file.
36294 * Makeconfig: Reformat copyright notice.
36295 * ctype/ctype.h: Likewise.
36296 * debug/swprintf_chk.c: Likewise.
36297 * elf/dl-cache.c: Likewise.
36298 * elf/dl-debug.c: Likewise.
36299 * elf/dl-object.c: Likewise.
36300 * grp/initgroups.c: Likewise.
36301 * hurd/Makefile: Likewise.
36302 * hurd/hurd/signal.h: Likewise.
36303 * hurd/hurdfault.c: Likewise.
36304 * hurd/hurdioctl.c: Likewise.
36305 * hurd/hurdlookup.c: Likewise.
36306 * hurd/intr-msg.c: Likewise.
36307 * iconv/gconv_open.c: Likewise.
36308 * libio/swprintf.c: Likewise.
36309 * locale/lc-ctype.c: Likewise.
36310 * locale/nl_langinfo.c: Likewise.
36311 * mach/Machrules: Likewise.
36312 * mach/Makefile: Likewise.
36313 * malloc/obstack.h: Likewise.
36314 * manual/Makefile: Likewise.
36315 * manual/tsort.awk: Likewise.
36316 * misc/bits/stab.def: Likewise.
36317 * nis/nis_print_group_entry.c: Likewise.
36318 * nis/nis_table.c: Likewise.
36319 * nis/nss_compat/compat-pwd.c: Likewise.
36320 * nis/nss_compat/compat-spwd.c: Likewise.
36321 * po/Makefile: Likewise.
36322 * posix/fnmatch.c: Likewise.
36323 * posix/regex.h: Likewise.
36324 * resolv/Makefile: Likewise.
36325 * resolv/nss_dns/dns-network.c: Likewise.
36326 * resolv/res_hconf.c: Likewise.
36327 * scripts/gen-sorted.awk: Likewise.
36328 * soft-fp/soft-fp.h: Likewise.
36329 * stdio-common/printf.h: Likewise.
36330 * stdlib/monetary.h: Likewise.
36331 * stdlib/random.c: Likewise.
36332 * stdlib/random_r.c: Likewise.
36333 * sysdeps/generic/Makefile: Likewise.
36334 * sysdeps/gnu/Makefile: Likewise.
36335 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36336 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36337 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36338 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36339 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36340 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36341 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36342 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36343 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36344 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36345 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36346 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36347 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36348 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36349 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36350 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36351 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36352 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36353 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36354 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36355 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36356 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36357 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36358 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36359 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36360 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36361 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36362 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36363 * sysdeps/mach/hurd/errnos.awk: Likewise.
36364 * sysdeps/mach/hurd/fork.c: Likewise.
36365 * sysdeps/mach/hurd/getcwd.c: Likewise.
36366 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36367 * sysdeps/mach/hurd/mmap.c: Likewise.
36368 * sysdeps/mach/hurd/utimes.c: Likewise.
36369 * sysdeps/mach/hurd/xmknod.c: Likewise.
36370 * sysdeps/posix/profil.c: Likewise.
36371 * sysdeps/posix/readdir_r.c: Likewise.
36372 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36373 * sysdeps/powerpc/bits/setjmp.h: Likewise.
36374 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36375 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36377 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36378 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36379 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36381 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36382 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36383 * sysdeps/pthread/lio_listio.c: Likewise.
36384 * sysdeps/sparc/dl-procinfo.h: Likewise.
36385 * sysdeps/unix/i386/sysdep.S: Likewise.
36386 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36387 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36388 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36389 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36391 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36392 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36393 * sysdeps/unix/sysv/linux/speed.c: Likewise.
36394 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36395 * sysdeps/wordsize-32/divdi3.c: Likewise.
36396 * time/sys/time.h: Likewise.
36397 * wcsmbs/Makefile: Likewise.
36398
0549fbba
DM
363992013-01-01 David S. Miller <davem@davemloft.net>
36400
a141f1a7
DM
36401 * po/fr.po: Update from translation team.
36402
0549fbba
DM
36403 * catgets/gencat.c: Update copyright year.
36404 * csu/version.c: Likewise.
36405 * debug/catchsegv.sh: Likewise.
36406 * debug/pcprofiledump.c: Likewise.
36407 * debug/xtrace.sh: Likewise.
36408 * elf/ldconfig.c: Likewise.
36409 * elf/ldd.bash.in: Likewise.
36410 * elf/pldd.c: Likewise.
36411 * elf/sotruss.ksh: Likewise.
36412 * elf/sprof.c: Likewise.
36413 * iconv/iconv_prog.c: Likewise.
36414 * iconv/iconvconfig.c: Likewise.
36415 * locale/programs/locale.c: Likewise.
36416 * locale/programs/localedef.c: Likewise.
36417 * login/programs/pt_chown.c: Likewise.
36418 * malloc/memusage.sh: Likewise.
36419 * malloc/memusagestat.c: Likewise.
36420 * malloc/mtrace.pl: Likewise.
36421 * nscd/nscd.c: Likewise.
36422 * nss/getent.c: Likewise.
36423 * nss/makedb.c: Likewise.
36424 * posix/getconf.c: Likewise.
36425
18ea052c
SP
364262012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36427
36428 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36429 numbers.
36430
9c89fca6
MF
364312012-12-30 Mike Frysinger <vapier@gentoo.org>
36432
36433 * math/bits/mathcalls.h (modf): Use __nonnull.
36434
085ec079
SP
364352012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36436
36437 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
36438 (split): Use macro CN instead of the bare value.
36439 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
36440 could be used.
36441 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
36442 instead of the bare value.
36443 (power1): Likewise.
36444
6d9f97e1
SP
364452012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36446
d63f73be
SP
36447 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
36448 __ATAN_TWOM.
36449 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36450
6d9f97e1
SP
36451 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
36452 their values.
36453 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36454 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36455 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
36456 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36457
4c4febf5
AJ
364582012-12-28 Andreas Jaeger <aj@suse.de>
36459
af5843ef
AJ
36460 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
36461 values are from Linux 3.7.
36462
4c4febf5
AJ
36463 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
36464 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
36465
99136f82
SP
364662012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36467
2f216c3c 36468 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
36469 TRUE case.
36470
99136f82
SP
36471 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
36472 (norm): Likewise.
36473 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
36474 variables with preprocessor constants.
36475 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36476 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36477 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36478
7fffbdff
BH
364792012-12-27 Bruno Haible <bruno@clisp.org>
36480
36481 [BZ #14317]
36482 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
36483 only if needed.
36484
b76eb5f0
SP
364852012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36486
31a7fe5c
SP
36487 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
36488 and use variable directly.
36489 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
36490
b76eb5f0
SP
36491 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36492 MPONE.
36493 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
36494 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36495 variable MPONE.
36496 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36497 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36498 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
36499 include directive. Remove local variable MPONE.
36500 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
36501 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
36502 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36503
2c8bfe7d
DM
365042012-12-25 David S. Miller <davem@davemloft.net>
36505
36506 * version.h (RELEASE): Set to "development".
36507 (VERSION): Set to "2.17.90".
36508 * NEWS: Add 2.18 section.
36509
147d03b0
DM
365102012-12-21 David S. Miller <davem@davemloft.net>
36511
36512 * po/hr.po: Update from translation team.
36513
a8ebb2b9
AK
365142012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36515
36516 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
36517
95b4f1b6
SE
365182012-12-19 Steve Ellcey <sellcey@mips.com>
36519
b2d94007 36520 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 36521
cedb2a90
MS
365222012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36523
36524 * manual/contrib.texi (Contributors): Spelling correction.
36525
bbf527d6
DM
365262012-12-15 David S. Miller <davem@davemloft.net>
36527
36528 * po/ru.po: Update from translation team.
36529
bc38c906
DM
365302012-12-13 David S. Miller <davem@davemloft.net>
36531
85429b1a
DM
36532 * NEWS: Mention IFUNC testsuite enhancements.
36533
d283e353
DM
36534 * po/pl.po: Update from translation team.
36535 * po/bg.po: Likewise.
36536
bc38c906
DM
36537 * manual/contrib.texi (Contributors): Update entries for Hongjiu
36538 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
36539
a181b0d7
DM
365402012-12-11 David S. Miller <davem@davemloft.net>
36541
4641d57e
DM
36542 * po/sv.po: Update from translation team.
36543
f7bc6495
DM
36544 * po/vi.po: Update from translation team.
36545
6fc9048f
DM
36546 * po/cs.po: Update from translation team.
36547
a181b0d7
DM
36548 * po/de.po: Update from translation team.
36549 * po/eo.po: Likewise.
36550 * po/nl.po: Likewise.
36551
f70bfe80
SP
365522012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36553
3c8b4190
SP
36554 [BZ #14246]
36555 * manual/argp.texi (Argp Helper Functions): Move node to follow
36556 Argp Parsing State.
36557
f70bfe80
SP
36558 [BZ #14872]
36559 * manual/conf.texi (Limits on File System Capacity): Mention if
36560 terminating null is included in the max size.
36561
188f0adf
AJ
365622012-12-10 Andreas Jaeger <aj@suse.de>
36563
36564 * po/cs.po: Update from translation team.
36565
56e7d3ad
SP
365662012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36567
36568 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
36569 void pointer and cast to uintptr_t.
36570 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
36571 path.
36572 * sysdeps/s390/s390-64/memcpy.S: Likewise.
36573 * sysdeps/s390/s390-64/memset.S: Likewise.
36574
76f2d2ea 365752012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
36576
36577 [BZ #14833]
36578 * menual/message.texi (Message Translation): Fix typos.
36579 (Helper programs for gettext): Likewise.
36580
67cbf9a2
AS
365812012-12-07 Andreas Schwab <schwab@linux-m68k.org>
36582
36583 [BZ #14898]
36584 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
36585 Change to -1.
36586
682d0e9a
DM
365872012-12-07 David S. Miller <davem@davemloft.net>
36588
36589 * po/libc.pot: Update.
36590
573cd484
RH
365912012-12-07 Richard Henderson <rth@redhat.com>
36592
7e9da188 36593 [BZ #10114]
573cd484
RH
36594 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
36595 normal/normal case to before the switch.
36596 (_FP_DIV): Likewise.
36597
e933a943
MF
365982012-12-06 Carlos O'Donell <carlos@systemhalted.org>
36599 Mike Frysinger <vapier@gentoo.org>
36600
36601 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
36602 check for __NR_fadvise64_64.
36603
82123268
CM
366042012-12-06 Chris Metcalf <cmetcalf@tilera.com>
36605
36606 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
36607 0, not just to plain "0" as a statement.
36608 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
36609 with cw.
36610
d9814526
JM
366112012-12-06 Joseph Myers <joseph@codesourcery.com>
36612
36613 * NEWS: Use sourceware.org in Bugzilla URL.
36614
7728c574
SP
366152012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36616
f16946dd
SP
36617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36618 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36619
5704bbcb
SP
36620 * stdio-common/tst-put-error.c (do_test): Add newline to the
36621 padded test to ensure flush.
36622
17aa0516
JL
366232012-12-05 Jeff Law <law@redhat.com>
36624
36625 * sunrpc/etc.rpc (fedfs_admin): Add entry.
36626
363313b5
JM
366272012-12-05 Joseph Myers <joseph@codesourcery.com>
36628
effbd42a
JM
36629 * README: Don't refer to ports add-on as distributed separately.
36630 Mention AArch64 in list of systems supported in the ports add-on.
36631
87600365
JM
36632 * LICENSES: Add more non-FSF copyright and license notices.
36633
a0d7066a
JM
36634 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
36635 ((unused)).
36636
66ca5a5b
JM
36637 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
36638
363313b5
JM
36639 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
36640 10000 as width of padded output.
36641
b37984ad
JM
366422012-12-04 Joseph Myers <joseph@codesourcery.com>
36643
9003570a
JM
36644 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
36645
b37984ad
JM
36646 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
36647 variable LX with __attribute__ ((unused)).
36648 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36649 Likewise.
36650 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
36651 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36652 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
36653 with __attribute__ ((unused)).
36654
c8df52ec
DM
366552012-12-04 David S. Miller <davem@abraco.davemloft.net>
36656
36657 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
36658
b3b099af
JM
366592012-12-04 Joseph Myers <joseph@codesourcery.com>
36660
c33aa6e3
JM
36661 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
36662 (CFLAGS-nldbl-acos.c): New variable.
36663 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
36664 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
36665 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
36666 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
36667 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
36668 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
36669 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
36670 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
36671 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
36672 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
36673 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
36674 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
36675 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
36676 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
36677 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
36678 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
36679 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
36680 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
36681 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
36682 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
36683 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
36684 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
36685 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
36686 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
36687 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
36688 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
36689 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
36690 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
36691 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
36692 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
36693 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
36694 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
36695 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
36696 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
36697 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
36698 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
36699 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
36700 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
36701 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
36702 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
36703 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
36704 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
36705 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
36706 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
36707 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
36708 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
36709 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
36710 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
36711 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
36712 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
36713 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
36714 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
36715 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
36716 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
36717 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
36718 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
36719 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
36720 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
36721 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
36722 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
36723 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
36724 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
36725 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
36726 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
36727 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
36728 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
36729 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
36730 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
36731 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
36732 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
36733 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
36734 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
36735 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
36736 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
36737 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
36738 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
36739 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
36740 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
36741 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
36742 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
36743 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
36744 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
36745 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
36746 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
36747 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
36748 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
36749 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
36750 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
36751 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
36752 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
36753 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
36754 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
36755 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
36756 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
36757 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
36758 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
36759 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
36760
20f0018d
JM
36761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36762 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36763
b3b099af
JM
36764 [BZ #14914]
36765 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
36766 whole low double instead of just low 47 bits when splitting values
36767 into two parts.
36768
029264d1
AM
367692012-12-03 Allan McRae <allan@archlinux.org>
36770
36771 * manual/stdio.texi (Predefined Printf Handlers): Remove
36772 @hsep and @vsep usage.
36773
c9d6789e
MF
367742012-12-03 Mike Frysinger <vapier@gentoo.org>
36775
36776 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
36777 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
36778
4b7634a5
JL
367792012-12-03 Jeff Law <law@redhat.com>
36780
36781 * time/sys/time.h (settimeofday): Do not mark TV argument
36782 as __nonnull.
36783
eb6cbd24
MF
367842012-12-01 Mike Frysinger <vapier@gentoo.org>
36785
36786 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
36787 when currently writing and seek to current position when not.
36788 * libio/Makefile (tests): Remove bug-fclose1.
36789 * libio/bug-fclose1.c: Delete.
36790
f638872a
JM
367912012-12-01 Joseph Myers <joseph@codesourcery.com>
36792
36793 * manual/arith.texi (feenableexcept): Fix typo.
36794 (fedisableexcept): Likewise.
36795
48085d14
RM
367962012-11-30 Roland McGrath <roland@hack.frob.com>
36797
36798 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
36799 second, differently-typed declaration, rather than a cast.
36800
1a538b9f
SP
368012012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36802
36803 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
36804 * include/rpc/svc.h: ... here.
36805
d07f2ff1 368062012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
36807
36808 [BZ #13013]
36809 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
36810 depending n and resplen2 to catch cases where answer
36811 equals answerp2.
36812
c93ec1f0
CD
368132012-11-29 Carlos O'Donell <carlos@systemhalted.org>
36814
36815 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
36816 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
36817
37db69de
MF
368182012-11-29 Mike Frysinger <vapier@gentoo.org>
36819
36820 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
36821
e10c4e4f
RM
368222012-11-29 Roland McGrath <roland@hack.frob.com>
36823
36824 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
36825
2af1b328
JL
368262012-11-28 Jeff Law <law@redhat.com>
36827
36828 [BZ #13761]
36829 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
36830 dataset_temporary. Track alloca usage into alloca_used.
36831 If dataset is large allocate and release it via malloc/free.
36832
111db5b1
FW
368332012-06-04 Florian Weimer <fweimer@redhat.com>
36834
f06cc227 36835 [BZ #14197]
111db5b1
FW
36836 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
36837
dd694abd
DM
368382012-11-28 David S. Miller <davem@davemloft.net>
36839
36840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36841
9984dd01
JM
368422012-11-28 Joseph Myers <joseph@codesourcery.com>
36843
36844 [BZ #14803]
36845 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
36846 of pi/2 rounded to nearest to 64 bits.
36847 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
36848 nearest to 64 bits.
36849 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
36850 bits.
36851
14bc93a9
JL
368522012-11-28 Jeff Law <law@redhat.com>
36853 Martin Osvald <mosvald@redhat.com>
36854
36855 [BZ #14889]
36856 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
36857 * sunrpc/svc.c: Include time.h.
36858 (__svc_accept_failed): New function.
36859 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
36860 any reason other than EINTR, call __svc_accept_failed.
36861 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
36862 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
36863
e3c6aa3a
AS
368642012-11-28 Andreas Schwab <schwab@suse.de>
36865
36866 * scripts/abilist.awk: Also handle indirect functions in .opd
36867 section.
36868
1bead169
JM
368692012-11-28 Joseph Myers <joseph@codesourcery.com>
36870
36871 [BZ #13881]
36872 * sysdeps/x86/fpu/powl_helper.c: New file.
36873 * sysdeps/x86/fpu/Makefile: Likewise.
36874 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
36875 (p3): New object.
36876 (__ieee754_powl): Use __powl_helper for finite arguments except
36877 integer exponents below 8.
36878 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
36879 (p3): New object.
36880 (__ieee754_powl): Use __powl_helper for finite arguments except
36881 integer exponents below 8.
36882 * math/libm-test.inc (pow_test): Add more tests and enable some
36883 previously disabled tests.
36884 * sysdeps/i386/fpu/libm-test-ulps: Update.
36885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36886
0817d63d
SP
368872012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36888 Carlos O'Donell <carlos_odonell@mentor.com>
36889
36890 * nss/makedb.c (is_prime): Assert that input is odd and greater
36891 than 4. Note that fact in a comment too.
36892 (next_prime): Add 4 to input.
36893
de2fd463
SP
368942012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36895
36896 [BZ #11741]
36897 * libio/Makefile (tests): Add test case tst-fwrite-error.
36898 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
36899 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
36900 * libio/tst-fwrite-error.c: New test case.
36901
c515fb51
L
369022012-11-26 H.J. Lu <hongjiu.lu@intel.com>
36903
36904 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
36905 before casting to void *.
36906 * include/libc-internal.h (__pointer_type): New macro.
36907 (__integer_if_pointer_type_sub): Likewise.
36908 (__integer_if_pointer_type): Likewise.
36909 (cast_to_integer): Likewise.
36910 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
36911 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
36912 before casting to atomic64_t.
36913 (atomic_exchange_acq): Likewise.
36914 (__arch_exchange_and_add_body): Likewise.
36915 (__arch_add_body): Likewise.
36916 (atomic_add_negative): Likewise.
36917 (atomic_add_zero): Likewise.
36918
4cf77aa9
JM
369192012-11-26 Joseph Myers <joseph@codesourcery.com>
36920
36921 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
36922 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
36923 (add_fdes): Likewise.
36924 (linear_search_fdes): Likewise.
36925 (binary_search_unencoded_fdes): Likewise.
36926
d260b3b4
AS
369272012-11-26 Andreas Schwab <schwab@linux-m68k.org>
36928
36929 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
36930
67060746
AC
369312012-11-24 Adam Conrad <adconrad@0c3.net>
36932
36933 * configure.in: Autodetect C++ header directories.
36934 * configure: Regenerated.
36935
800938a1
MF
369362012-11-23 Mike Frysinger <vapier@gentoo.org>
36937
36938 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
36939
4e6e34e6
AS
369402012-11-23 Andreas Schwab <schwab@linux-m68k.org>
36941
36942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36943
7c7feb47
JM
369442012-11-22 Joseph Myers <joseph@codesourcery.com>
36945
7184dcdf
JM
36946 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
36947 LDBL_MANT_DIG == 106]: Disable some tests.
36948 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36949 Likewise.
36950 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36951 Likewise.
36952
0a42601f
JM
36953 [BZ #14871]
36954 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
36955 input for small inputs. Return +/- pi/2 for large inputs.
36956 * math/libm-test.inc (atan_test): Add more tests.
36957
79c9b9fe
JM
36958 * sysdeps/generic/unwind-dw2-fde-glibc.c
36959 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
36960 __attribute__ ((unused)).
36961
c60d3bf2
JM
36962 [BZ #14645]
36963 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
36964 x * y if x and y are nonzero and z is zero.
36965
ef1e0867
JM
36966 [BZ #14811]
36967 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
36968 nonzero exponents with absolute value below 0x1p-117 to +/-
36969 0x1p-117.
36970
1468ded3
JM
36971 [BZ #14869]
36972 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
36973 up arguments below 2**-450, not just those below 2**-500.
36974 * math/libm-test.inc (hypot_test): Add another test.
36975
8e27e3cc
JM
36976 [BZ #14868]
36977 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
36978 Return a+b for ratio over 2**120, not 2**60.
36979 * math/libm-test.inc (hypot_test): Add another test.
36980
c9c0279b
JM
36981 * math/libm-test.inc (clog_test): Use
36982 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
36983 (clog10_test): Likewise.
36984
7c7feb47
JM
36985 [BZ #6778]
36986 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
36987
fff1530e
AS
369882012-11-22 Andreas Schwab <schwab@suse.de>
36989
36990 * sysdeps/i386/fpu/libm-test-ulps: Update.
36991
94558d30
PT
369922012-11-22 Pino Toscano <toscano.pino@tiscali.it>
36993
36994 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
36995 printf output with newline.
36996
7e1be741
L
369972012-11-21 H.J. Lu <hongjiu.lu@intel.com>
36998
6bfea974
L
36999 [BZ #14865]
37000 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37001 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37002 -z nodlopen, -z initfirst and -z execstack support.
37003 * configure: Regenerated.
37004
7e1be741
L
37005 * elf/elf.h (DF_1_NODIRECT): New macro.
37006 (DF_1_IGNMULDEF): Likewise.
37007 (DF_1_NOKSYMS): Likewise.
37008 (DF_1_NOHDR): Likewise.
37009 (DF_1_EDITED): Likewise.
37010 (DF_1_NORELOC): Likewise.
37011 (DF_1_SYMINTPOSE): Likewise.
37012 (DF_1_GLOBAUDIT): Likewise.
37013 (DF_1_SINGLETON): Likewise.
37014 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37015 DT_1_SUPPORTED_MASK bits.
37016 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37017
105ce2ce
CD
370182012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
37019
37020 * sysdeps/unix/make-syscalls.sh: Document prefixes.
37021
123be9de
TS
370222012-11-20 Thomas Schwinge <thomas@codesourcery.com>
37023
d072f3f7
TS
37024 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37025 macro.
37026
123be9de
TS
37027 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37028 (sendmmsg): Move declarations...
37029 * socket/sys/socket.h: ... here.
37030 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
37031 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
37032 include it from...
37033 * socket/recvmmsg.c: ... this new file.
37034 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
37035 (sendmmsg): Rename to __sendmmsg, create weak alias and make
37036 definition of __sendmmsg hidden.
37037 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
37038 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37039 Move ENOSYS stub into and include it from...
37040 * socket/sendmmsg.c: ... this new file.
37041 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
37042 (sysdep_routines): Move recvmmsg and sendmmsg...
37043 * socket/Makefile (routines): ... here.
37044 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
37045 (GLIBC_PRIVATE): Add __sendmmsg.
37046 * include/sys/socket.h (__sendmmsg): Add declarations.
37047 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
37048 sendmmsg.
37049
cf9a5d18
JM
370502012-11-20 Joseph Myers <joseph@codesourcery.com>
37051
37052 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
37053 variable I1 with __attribute__ ((unused)).
37054 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37055
ecd4caf9
JM
370562012-11-19 Joseph Myers <joseph@codesourcery.com>
37057
be14d48f
JM
37058 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
37059 DUMMY variables with __attribute__ ((unused)).
37060
ecd4caf9
JM
37061 * bits/byteswap.h: Include <bits/types.h>.
37062 (__bswap_64): Use __uint64_t instead of unsigned long long int.
37063
986cab95
PT
370642012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37065
37066 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
37067 string_t. Do not manually set errno.
37068 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
37069 length with __strnlen. Make sure to both set errno and return it on
37070 failure.
37071
6d33cc9d
DM
370722012-11-19 David S. Miller <davem@davemloft.net>
37073
37074 With help from Joseph Myers.
37075 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
37076 very large arguments properly.
37077 * math/libm-test.inc (atan_test): New tests.
37078 (atan2_test): New tests.
37079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37081
ee663277
JM
370822012-11-19 Joseph Myers <joseph@codesourcery.com>
37083
877f2d8e
JM
37084 [BZ #14856]
37085 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
37086 Define to 3.
37087
116fc08a
JM
37088 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
37089 [POSIX] (EADDRNOTAVAIL): Likewise.
37090 [POSIX] (EAFNOSUPPORT): Likewise.
37091 [POSIX] (EALREADY): Likewise.
37092 [POSIX] (ECONNABORTED): Likewise.
37093 [POSIX] (ECONNREFUSED): Likewise.
37094 [POSIX] (ECONNRESET): Likewise.
37095 [POSIX] (EDESTADDRREQ): Likewise.
37096 [POSIX] (EDQUOT): Likewise.
37097 [POSIX] (EHOSTUNREACH): Likewise.
37098 [POSIX] (EIDRM): Likewise.
37099 [POSIX] (EISCONN): Likewise.
37100 [POSIX] (ELOOP): Likewise.
37101 [POSIX] (EMULTIHOP): Likewise.
37102 [POSIX] (ENETDOWN): Likewise.
37103 [POSIX] (ENETUNREACH): Likewise.
37104 [POSIX] (ENOBUFS): Likewise.
37105 [POSIX] (ENODATA): Likewise.
37106 [POSIX] (ENOLINK): Likewise.
37107 [POSIX] (ENOMSG): Likewise.
37108 [POSIX] (ENOPROTOOPT): Likewise.
37109 [POSIX] (ENOSR): Likewise.
37110 [POSIX] (ENOSTR): Likewise.
37111 [POSIX] (ENOTCONN): Likewise.
37112 [POSIX] (ENOTSOCK): Likewise.
37113 [POSIX] (EOPNOTSUPP): Likewise.
37114 [POSIX] (EOVERFLOW): Likewise.
37115 [POSIX] (EPROTO): Likewise.
37116 [POSIX] (EPROTONOSUPPORT): Likewise.
37117 [POSIX] (EPROTOTYPE): Likewise.
37118 [POSIX] (ESTALE): Likewise.
37119 [POSIX] (ETIME): Likewise.
37120 [POSIX] (ETXTBSY): Likewise.
37121 [POSIX] (EWOULDBLOCK): Likewise.
37122 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
37123 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
37124 [POSIX] (SEEK_CUR): Likewise.
37125 [POSIX] (SEEK_END): Likewise.
37126 [POSIX || UNIX98] (mode_t): Do not require.
37127 [POSIX] (off_t): Likewise.
37128 [POSIX] (pid_t): Likewise.
37129 [POSIX] (sys/stat.h): Do not allow header.
37130 [POSIX] (unistd.h): Likewise.
37131 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37132 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37133 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37134 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37135 require.
37136 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
37137 sigevent): Specify elements.
37138 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
37139 entry.
37140 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
37141 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
37142
a483863f
JM
37143 * conform/data/cpio.h-data [POSIX]: Disable whole file.
37144 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
37145 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
37146 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
37147 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
37148 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
37149 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
37150 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
37151 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
37152 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
37153 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
37154 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
37155 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
37156 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
37157 Likewise.
37158 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
37159 Likewise.
37160 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
37161 Likewise.
37162 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
37163 Likewise.
37164 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
37165 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
37166 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
37167 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
37168 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
37169 Specify lower bound on value.
37170 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
37171 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
37172 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
37173 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
37174 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
37175 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
37176 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
37177 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
37178 value.
37179 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
37180 as optional.
37181 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
37182 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
37183 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
37184 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
37185 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37186 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37187 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37188 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37189 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37190 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37191 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37192 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37193 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37194 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37195 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37196 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37197 entry.
37198 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37199 optional.
37200 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37201 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37202 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37203 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37204 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37205 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37206 Likewise.
37207 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37208 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37209 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37210 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37211 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
37212 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37213 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37214 as optional.
37215 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37216 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37217 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37218 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37219 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37220 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37221 specify as optional.
37222 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37223 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37224 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37225 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37226 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37227 [XPG3] (NL_LANGMAX): Likewise.
37228 [POSIX || XPG3] (NL_MSGMAX): Likewise.
37229 [POSIX || XPG3] (NL_NMAX): Likewise.
37230 [POSIX || XPG3] (NL_SETMAX): Likewise.
37231 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37232 [XPG3] (NZERO): Likewise.
37233 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37234 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37235 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37236 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37237 (REG_ERANGE): Expect.
37238 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37239 optional-constant.
37240 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37241 Use (void) in prototype.
37242 [POSIX] (*_t): Allow.
37243 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37244 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37245 (WRDE_BADVAL): Expect.
37246
5ba924e3
JM
37247 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37248 expect.
37249 [XPG3 || XPG4] (O_RSYNC): Likewise.
37250 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37251 Likewise.
37252 [XPG3 || XPG4] (pthread_sigmask): Likewise.
37253 [XPG3 || XPG4] (sigqueue): Likewise.
37254 [XPG3 || XPG4] (sigtimedwait): Likewise.
37255 [XPG3 || XPG4] (sigwaitinfo): Likewise.
37256 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37257 [XPG3 || XPG4] (vsnprintf): Likewise.
37258 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37259 Likewise.
37260 [XPG3 || XPG4] (blksize_t): Likewise.
37261 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37262 Likewise.
37263 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37264 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37265 [XPG3 || XPG4] (struct itimerspec): Likewise.
37266 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37267 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37268 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37269 [XPG3 || XPG4] (clockid_t): Likewise.
37270 [XPG3 || XPG4] (timer_t): Likewise.
37271 [XPG3 || XPG4] (clock_getres): Likewise.
37272 [XPG3 || XPG4] (clock_gettime): Likewise.
37273 [XPG3 || XPG4] (clock_settime): Likewise.
37274 [XPG3 || XPG4] (nanosleep): Likewise.
37275 [XPG3 || XPG4] (timer_create): Likewise.
37276 [XPG3 || XPG4] (timer_delete): Likewise.
37277 [XPG3 || XPG4] (timer_gettime): Likewise.
37278 [XPG3 || XPG4] (timer_getoverrun): Likewise.
37279 [XPG3 || XPG4] (timer_settime): Likewise.
37280 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37281 [XPG3 || XPG4] (getlogin_r): Likewise.
37282 [XPG3 || XPG4] (pread): Likewise.
37283 [XPG3 || XPG4] (pthread_atfork): Likewise.
37284 [XPG3 || XPG4] (pwrite): Likewise.
37285
ee663277
JM
37286 [BZ #14835]
37287 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37288 <bits/siginfo.h>.
37289
942caa16
PT
372902012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37291
e19af380
PT
37292 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37293 finalizing MALLSTREAM.
37294
942caa16
PT
37295 * sysdeps/mach/hurd/syncfs.c: New file.
37296
cfde9b46
SP
372972012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37298
37299 [BZ #14719]
37300 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37301 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37302 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37303 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37304 (_nss_dns_gethostbyname4_r): Likewise.
37305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37306 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37307
f6da27e5
PH
373082012-11-19 Peng Haitao <penght@cn.fujitsu.com>
37309
37310 [BZ #13763]
37311 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37312
6665d4a2
SM
373132012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
37314
1f51ee92
SM
37315 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37316 * elf/cache.c (print_entry): Print ",AArch64" for
37317 FLAG_AARCH64_LIB64
37318
6665d4a2
SM
37319 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37320 * elf/cache.c (print_entry): Print ",hard-float" for
37321 FLAG_ARM_LIBHF.
37322
05b227bd
DM
373232012-11-18 David S. Miller <davem@davemloft.net>
37324
37325 With help from Joseph Myers.
37326 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37327 cutoff to 2**-13.
37328 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37329 cutoff to 2**-25.
37330 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37331 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37332 small.
37333 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37334 * math/libm-test.inc (y0_test): New tests.
37335 (y1_test): New tests.
37336 * sysdeps/i386/fpu/libm-test-ulps: Update.
37337 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37339
786b0b67
AS
373402012-11-18 Andreas Schwab <schwab@linux-m68k.org>
37341
37342 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37343 64-bit targets.
37344 * configure: Regenerated.
37345
8e18b86d
DM
373462012-11-17 David S. Miller <davem@davemloft.net>
37347
37348 [BZ #14811]
37349 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37350 nonzero exponents with absolute value below 0x1p-128 to +/-
37351 0x1p-128.
37352
531f1ae0
JM
373532012-11-17 Joseph Myers <joseph@codesourcery.com>
37354
12df29e2
JM
37355 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37356
150dc1a0
JM
37357 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37358
531f1ae0
JM
37359 * posix/getconf-speclist.c: New file.
37360 * posix/posix-envs.def: Likewise.
37361 * posix/confstr.c (START_ENV_GROUP): New macro.
37362 (END_ENV_GROUP): Likewise.
37363 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37364 (KNOWN_PRESENT_ENV_STRING): Likewise.
37365 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37366 (UNKNOWN_ENVIRONMENT): Likewise.
37367 (confstr): Include posix-envs.def instead of handling
37368 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37369 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37370 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37371 (END_ENV_GROUP): Likewise.
37372 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37373 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37374 (UNKNOWN_ENVIRONMENT): Likewise.
37375 (__sysconf): Include posix-envs.def instead of handling associated
37376 cases directly here.
37377 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37378 preprocessing getconf-speclist.c rather than running getconf or
37379 generating empty file.
37380
a93f9cbc
PT
373812012-11-16 Pino Toscano <toscano.pino@tiscali.it>
37382
37383 * scripts/check-local-headers.sh: Ignore 'mach' headers.
37384
d64d9f87
AL
373852012-11-16 Andrej Lajovic <natrij@gmail.com>
37386
37387 [BZ #14672]
37388 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37389
447885eb
DM
373902012-11-16 David S. Miller <davem@davemloft.net>
37391
37392 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37393 smaller than LDBL_EPSILON/2.0L, just return xm1.
37394
bcbf9830
L
373952012-11-16 H.J. Lu <hongjiu.lu@intel.com>
37396
37397 * elf/tst-array1.c (init): Set constructor priority to 1000.
37398 (fini): Set destructor priority to 1000.
37399 * elf/tst-array2dep.c: Likewise.
37400
2b766585
SP
374012012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37402
37403 [BZ #11741]
37404 * libio/fileops.c (_IO_new_file_write): Correctly return error.
37405 (_IO_new_file_xsputn): Also return EOF if none of the input
37406 data was written when overflow failed.
37407 * libio/iopadn.c (_IO_padn): Likewise.
37408 * libio/iowpadn.c (_IO_wpadn): Likewise.
37409 * stdio-common/tst-put-error.c: Add copyright notice.
37410 (do_test): Add case for printing padded string.
37411 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37412 _IO_padn returned error.
37413 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37414 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37415 return EOF.
37416
b1848fde
SP
374172012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37418
37419 * libio/libioP.h: Add comment note that the references to C++
37420 bits are now obsolete.
37421
2fd89785
MS
374222012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37423
37424 * math/libm-test.inc (check_complex): Use asprintf.
37425
e3ea5409
JM
374262012-11-14 Joseph Myers <joseph@codesourcery.com>
37427
37428 * debug/pcprofiledump.c (print_version): Update copyright year.
37429 * malloc/memusagestat.c (print_version): Likewise.
37430
2e64d265
L
374312012-11-14 H.J. Lu <hongjiu.lu@intel.com>
37432
37433 [BZ #14831]
37434 * elf/Makefile (tests): Add tst-audit8.
37435 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
37436 ($(objpfx)tst-audit8.out): New target.
37437 (tst-audit8-ENV): New variable.
37438 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
37439 audit if l_reloc_result is NULL.
37440 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
37441 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
37442 * elf/tst-audit8.c: New file.
37443
c485e4d2
MS
374442012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37445
37446 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
37447 * misc/Makefile (CFLAGS-select.c): Define.
37448 * posix/Makefile (CFLAGS-pause.c): Define.
37449
3a0d900a
DM
374502012-11-13 David S. Miller <davem@davemloft.net>
37451
37452 * crypt/Makefile: Move test targets after toplevel Rules
37453 inclusion. Grab any necessary sysdep routines when linking.
37454 * crypt/md5.c (md5_process_block): Remove define, we will always
37455 name it __md5_process_block.
37456 (md5_finish_ctx): Update md5_process_block call.
37457 (md5_stream): Likewise.
37458 (md5_process_bytes): Likewise.
37459 (md5_process_block): Rename to __md5_process_block and move to ...
37460 * crypt/md5-block.c: ... here.
37461 * crypt/sha256.c (sha256_process_block): Move to ...
37462 * crypt/sha256-block.c: ... here.
37463 * crypt/sha512.c (sha512_process_block): Move to ...
37464 * crypt/sha512-block.c: ... here.
37465 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
37466 path.
37467 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
37468 * sysdeps/sparc/sparc64/multiarch/Makefile
37469 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
37470 crypt subdir.
37471 (localedef-aux): Add md5 crypto assembler when in locale subdir.
37472 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
37473 multiarch changes.
37474 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
37475 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
37476 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
37477 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
37478 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
37479 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
37480 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
37481 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
37482 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
37483 file.
37484 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
37485 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
37486 file.
37487 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
37488
8ca89318
JM
374892012-11-13 Joseph Myers <joseph@codesourcery.com>
37490
e27d476a
JM
37491 * timezone/tzselect.ksh: Update from tzcode git revision
37492 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
37493 * timezone/zdump.c: Likewise.
37494 * timezone/zic.c: Likewise.
37495 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
37496 in TZVERSION setting, not $(PKGVERSION).
37497 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
37498 REPORT_BUGS_TO settings.
37499
8ca89318
JM
37500 [BZ #14838]
37501 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
37502 macro.
37503
47594329
MS
375042012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37505
37506 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
37507 detection to immediately after _FP_ROUND().
37508 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
37509 bits are 0.
37510
640ac3f1
DM
375112012-11-11 David S. Miller <davem@davemloft.net>
37512
37513 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
37514 inttypes.h
37515 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
37516 __close rather than their public counterparts.
37517
3d2577bb
JM
375182012-11-10 Joseph Myers <joseph@codesourcery.com>
37519
37520 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
37521 file.
37522 [UNIX98] (sem_timedwait): Do not expect.
37523 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
37524 [XPG4 || UNIX98] (sockatmark): Do not expect.
37525 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
37526 (clock_getcpuclockid): Do not expect.
37527 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
37528 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
37529 Do not expect.
37530 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
37531 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
37532 [UNIX98] (vwscanf): Likewise.
37533 [UNIX98] (vswscanf): Likewise.
37534
fb1ae1ee
JM
375352012-11-09 Joseph Myers <joseph@codesourcery.com>
37536
9ec6f8bd
JM
37537 * timezone/version.h: Remove file.
37538 * timezone/README: Do not refer to version.h.
37539 * timezone/Makefile ($(objpfx)zic.o): New dependency on
37540 $(objpfx)version.h.
37541 ($(objpfx)zdump.o): Likewise.
c3f81911 37542 ($(objpfx)version.h): New target.
9ec6f8bd 37543
0aa8f8a1
JM
37544 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
37545 2012i.
37546 * timezone/README: Don't mention modification to tzselect.ksh.
37547 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
37548 work on unmodified tzselect.ksh. Substitute version numbers in
37549 tzselect.ksh.
37550
4e87147f
JM
37551 * Makefile (format-me): Remove.
37552 (INSTALL): Adjust indentation. Use commands directly instead of
37553 using $(format-me).
37554
8b748aed
JM
37555 * aclocal.m4 (ACX_PKGVERSION): New macro.
37556 (ACX_BUGURL): Likewise.
37557 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
37558 (PKGVERSION): New AC_DEFINE_UNQUOTED.
37559 (REPORT_BUGS_TO): Likewise.
37560 * configure: Regenerated.
37561 * config.h.in (PKGVERSION): New macro.
37562 (REPORT_BUGS_TO): Likewise.
37563 * config.make.in (PKGVERSION): New variable.
37564 (PKGVERSION_TEXI): Likewise.
37565 (REPORT_BUGS_TO): Likewise.
37566 (REPORT_BUGS_TEXI): Likewise.
37567 * Makefile (format-me): Use -I$(common-objpfx)manual.
37568 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
37569 ($(common-objpfx)manual/%): New target.
37570 (manual/%): Remove target.
37571 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
37572 (print_version): Use PKGVERSION.
37573 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
37574 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
37575 and REPORT_BUGS_TO.
37576 ($(objpfx)xtrace): Likewise.
37577 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
37578 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
37579 (print_version): Use PKGVERSION.
37580 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
37581 (do_version): Use PKGVERSION.
37582 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
37583 REPORT_BUGS_TO.
37584 (common-ldd-rewrite): Likewise.
37585 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
37586 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
37587 (print_version): Use PKGVERSION.
37588 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
37589 * elf/pldd.c (argp_program_bug_address): Remove variable.
37590 (more_help): New function.
37591 (argp): Use more_help.
37592 (print_version): Use PKGVERSION.
37593 * elf/sln.c (main): Use PKGVERSION.
37594 (usage): Use REPORT_BUGS_TO.
37595 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
37596 (top level): Use PKGVERSION.
37597 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
37598 (print_version): Use PKGVERSION.
37599 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
37600 (print_version): Use PKGVERSION.
37601 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
37602 (print_version): Use PKGVERSION.
37603 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
37604 (print_version): Use PKGVERSION.
37605 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
37606 (print_version): Use PKGVERSION.
37607 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
37608 (print_version): Use PKGVERSION.
37609 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
37610 and BUGURL.
37611 ($(objpfx)memusage): Likewise.
37612 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
37613 (do_version): Use PKGVERSION.
37614 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
37615 (print_version): Use PKGVERSION.
37616 * malloc/mtrace.pl ($PACKAGE): Remove variable.
37617 ($PKGVERSION): New variable.
37618 ($REPORT_BUGS_TO): Likewise.
37619 (usage): Use $REPORT_BUGS_TO.
37620 (top level): Use $PKGVERSION.
37621 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
37622 ($(objpfx)pkgvers.texi): New rule.
37623 ($(objpfx)stamp-pkgvers): Likewise.
37624 * manual/install.texi: Include pkgvers.texi.
37625 (--with-pkgversion): Document new configure option.
37626 (--with-bugurl): Likewise.
37627 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
37628 than necessarily for this particular distribution. Use
37629 REPORT_BUGS_TO for where to report bugs.
37630 * INSTALL: Regenerated.
37631 * manual/libc.texinfo: Include pkgvers.texi.
37632 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
37633 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
37634 (print_version): Use PKGVERSION.
37635 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
37636 (print_version): Use PKGVERSION.
37637 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
37638 (print_version): Use PKGVERSION.
37639 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
37640 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
37641 macro.
37642 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
37643 (print_version): Use PKGVERSION.
37644 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
37645 (print_version): Use PKGVERSION.
37646 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
37647 and PKGVERSION.
37648
92e4b6a9
JM
37649 * timezone/checktab.awk: Update from tzcode 2012i.
37650 * timezone/ialloc.c: Likewise.
37651 * timezone/private.h: Likewise.
37652 * timezone/scheck.c: Likewise.
37653 * timezone/tzfile.h: Likewise.
37654 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
37655 (TZVERSION): Hardcode tzcode version number.
37656 * timezone/zdump.c: Update from tzcode 2012i.
37657 * timezone/zic.c: Likewise.
37658 * timezone/version.h: New file.
37659 * timezone/README: Describe version.h. Update upstream location.
37660
9bde902c
JM
37661 [BZ #14824]
37662 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
37663 (mktemp): Enable declaration.
37664 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
37665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
37666 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
37667 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
37668 Likewise.
37669 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
37670 Likewise.
37671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
37672 Likewise.
37673 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
37674 Likewise.
37675 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
37676 Likewise.
37677 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
37678 Likewise.
37679
fb1ae1ee
JM
37680 [BZ #14821]
37681 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
37682 offset in buffer as u_int32_t not u_long. Consistently use memcpy
37683 for copies of such integer values.
37684 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37685 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37686
2c1adbcb
AJ
376872012-11-09 Andreas Jaeger <aj@suse.de>
37688
37689 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
37690 definitions and declarations that are provided by
37691 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37692
d0f8457e
AK
376932012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37694
3a235abb 37695 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
37696 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
37697 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
37698 definition.
37699
57241e26
MS
377002012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37701
37702 * elf/elf.h: Update comment before AArch64 relocations.
37703
60e8270d
DM
377042012-11-07 David S. Miller <davem@davemloft.net>
37705
37706 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
37707 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37708 (__start_context): Declare.
37709 (__makecontext_ret): Delete.
37710 (__makecontext): Hook up __start_context instead of
37711 __makecontext_ret.
37712 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
37713 (sysdep_routines): Add __start_context when in stdlib.
37714
0fbb0fbc
JM
377152012-11-07 Joseph Myers <joseph@codesourcery.com>
37716
37717 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
37718 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
37719 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
37720 hardcoded "nm".
37721 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
37722 (READELF): New variable. Use it instead of hardcoded "readelf".
37723
eb48db7e
L
377242012-11-07 H.J. Lu <hongjiu.lu@intel.com>
37725
37726 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
37727 * sysdeps/x86/Makefile: Here.
37728 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
37729 * sysdeps/x86/tst-xmmymm.sh: This.
37730
05bcf62a
JM
377312012-11-07 Joseph Myers <joseph@codesourcery.com>
37732
c4b6cf53
JM
37733 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
37734 expectations.
37735 [UNIX98] (pthread_barrier_t): Do not expect.
37736 [UNIX98] (pthread_barrierattr_t): Likewise.
37737 [UNIX98] (pthread_spinlock_t): Likewise.
37738 [UNIX98] (pthread_barrier_destroy): Likewise.
37739 [UNIX98] (pthread_barrier_init): Likewise.
37740 [UNIX98] (pthread_barrier_wait): Likewise.
37741 [UNIX98] (pthread_barrierattr_destroy): Likewise.
37742 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
37743 [UNIX98] (pthread_barrierattr_init): Likewise.
37744 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
37745 [UNIX98] (pthread_getcpuclockid): Likewise.
37746 [UNIX98] (pthread_mutex_timedlock): Likewise.
37747 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
37748 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
37749 [UNIX98] (pthread_sigmask): Likewise.
37750 [UNIX98] (pthread_spin_destroy): Likewise.
37751 [UNIX98] (pthread_spin_init): Likewise.
37752 [UNIX98] (pthread_spin_lock): Likewise.
37753 [UNIX98] (pthread_spin_trylock): Likewise.
37754 [UNIX98] (pthread_spin_unlock): Likewise.
37755 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
37756 Do not expect.
37757 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
37758 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
37759 [XPG3 || XPG4] (pthread_cond_t): Likewise.
37760 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
37761 [XPG3 || XPG4] (pthread_key_t): Likewise.
37762 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
37763 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
37764 [XPG3 || XPG4] (pthread_once_t): Likewise.
37765 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
37766 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
37767 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
37768 [XPG3 || XPG4] (pthread_t): Likewise.
37769
cbe6e120
JM
37770 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
37771 not expect.
37772 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
37773
1b126443
JM
37774 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
37775 Change function return type to int.
37776
b961a573
JM
37777 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
37778 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
37779 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
37780 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
37781 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
37782 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
37783 [!POSIX] (posix_madvise): Likewise.
37784 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
37785 && !UNIX98].
37786 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
37787 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
37788 (mode_t): Likewise.
37789 (posix_mem_offset): Likewise.
37790 (posix_typed_mem_get_info): Likewise.
37791 (posix_typed_mem_open): Likewise.
37792
9e188909
JM
37793 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
37794 Change condition to [XOPEN2K8].
37795
05bcf62a
JM
37796 * conform/conformtest.pl: Preprocess allow-header data with -x c
37797 instead of from stdin.
37798 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
37799 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
37800 [C99-based standards] (cerfc): Likewise.
37801 [C99-based standards] (cexp2): Likewise.
37802 [C99-based standards] (cexpm1): Likewise.
37803 [C99-based standards] (clog10): Likewise.
37804 [C99-based standards] (clog1p): Likewise.
37805 [C99-based standards] (clog2): Likewise.
37806 [C99-based standards] (clgamma): Likewise.
37807 [C99-based standards] (ctgamma): Likewise.
37808 [C99-based standards] (cerff): Likewise.
37809 [C99-based standards] (cerfcf): Likewise.
37810 [C99-based standards] (cexp2f): Likewise.
37811 [C99-based standards] (cexpm1f): Likewise.
37812 [C99-based standards] (clog10f): Likewise.
37813 [C99-based standards] (clog1pf): Likewise.
37814 [C99-based standards] (clog2f): Likewise.
37815 [C99-based standards] (clgammaf): Likewise.
37816 [C99-based standards] (ctgammaf): Likewise.
37817 [C99-based standards] (cerfl): Likewise.
37818 [C99-based standards] (cerfcl): Likewise.
37819 [C99-based standards] (cexp2l): Likewise.
37820 [C99-based standards] (cexpm1l): Likewise.
37821 [C99-based standards] (clog10l): Likewise.
37822 [C99-based standards] (clog1pl): Likewise.
37823 [C99-based standards] (clog2l): Likewise.
37824 [C99-based standards] (clgammal): Likewise.
37825 [C99-based standards] (ctgammal): Likewise.
37826 * conform/data/inttypes.h-data [C99-based standards]: Include
37827 stdint.h-data. Remove all expectations for stdint.h contents.
37828 [C99-based standards] (PRI*): Do not allow.
37829 [C99-based standards] (SCN*): Likewise.
37830 [C99-based standards] (*_t): Likewise.
37831 [C99-based-standards] (PRId8): Expect macro.
37832 [C99-based-standards] (PRIi8): Likewise.
37833 [C99-based-standards] (PRIo8): Likewise.
37834 [C99-based-standards] (PRIu8): Likewise.
37835 [C99-based-standards] (PRIx8): Likewise.
37836 [C99-based-standards] (PRIX8): Likewise.
37837 [C99-based-standards] (SCNd8): Likewise.
37838 [C99-based-standards] (SCNi8): Likewise.
37839 [C99-based-standards] (SCNo8): Likewise.
37840 [C99-based-standards] (SCNu8): Likewise.
37841 [C99-based-standards] (SCNx8): Likewise.
37842 [C99-based-standards] (PRIdLEAST8): Likewise.
37843 [C99-based-standards] (PRIiLEAST8): Likewise.
37844 [C99-based-standards] (PRIoLEAST8): Likewise.
37845 [C99-based-standards] (PRIuLEAST8): Likewise.
37846 [C99-based-standards] (PRIxLEAST8): Likewise.
37847 [C99-based-standards] (PRIXLEAST8): Likewise.
37848 [C99-based-standards] (SCNdLEAST8): Likewise.
37849 [C99-based-standards] (SCNiLEAST8): Likewise.
37850 [C99-based-standards] (SCNoLEAST8): Likewise.
37851 [C99-based-standards] (SCNuLEAST8): Likewise.
37852 [C99-based-standards] (SCNxLEAST8): Likewise.
37853 [C99-based-standards] (PRIdFAST8): Likewise.
37854 [C99-based-standards] (PRIiFAST8): Likewise.
37855 [C99-based-standards] (PRIoFAST8): Likewise.
37856 [C99-based-standards] (PRIuFAST8): Likewise.
37857 [C99-based-standards] (PRIxFAST8): Likewise.
37858 [C99-based-standards] (PRIXFAST8): Likewise.
37859 [C99-based-standards] (SCNdFAST8): Likewise.
37860 [C99-based-standards] (SCNiFAST8): Likewise.
37861 [C99-based-standards] (SCNoFAST8): Likewise.
37862 [C99-based-standards] (SCNuFAST8): Likewise.
37863 [C99-based-standards] (SCNxFAST8): Likewise.
37864 [C99-based-standards] (PRId16): Likewise.
37865 [C99-based-standards] (PRIi16): Likewise.
37866 [C99-based-standards] (PRIo16): Likewise.
37867 [C99-based-standards] (PRIu16): Likewise.
37868 [C99-based-standards] (PRIx16): Likewise.
37869 [C99-based-standards] (PRIX16): Likewise.
37870 [C99-based-standards] (SCNd16): Likewise.
37871 [C99-based-standards] (SCNi16): Likewise.
37872 [C99-based-standards] (SCNo16): Likewise.
37873 [C99-based-standards] (SCNu16): Likewise.
37874 [C99-based-standards] (SCNx16): Likewise.
37875 [C99-based-standards] (PRIdLEAST16): Likewise.
37876 [C99-based-standards] (PRIiLEAST16): Likewise.
37877 [C99-based-standards] (PRIoLEAST16): Likewise.
37878 [C99-based-standards] (PRIuLEAST16): Likewise.
37879 [C99-based-standards] (PRIxLEAST16): Likewise.
37880 [C99-based-standards] (PRIXLEAST16): Likewise.
37881 [C99-based-standards] (SCNdLEAST16): Likewise.
37882 [C99-based-standards] (SCNiLEAST16): Likewise.
37883 [C99-based-standards] (SCNoLEAST16): Likewise.
37884 [C99-based-standards] (SCNuLEAST16): Likewise.
37885 [C99-based-standards] (SCNxLEAST16): Likewise.
37886 [C99-based-standards] (PRIdFAST16): Likewise.
37887 [C99-based-standards] (PRIiFAST16): Likewise.
37888 [C99-based-standards] (PRIoFAST16): Likewise.
37889 [C99-based-standards] (PRIuFAST16): Likewise.
37890 [C99-based-standards] (PRIxFAST16): Likewise.
37891 [C99-based-standards] (PRIXFAST16): Likewise.
37892 [C99-based-standards] (SCNdFAST16): Likewise.
37893 [C99-based-standards] (SCNiFAST16): Likewise.
37894 [C99-based-standards] (SCNoFAST16): Likewise.
37895 [C99-based-standards] (SCNuFAST16): Likewise.
37896 [C99-based-standards] (SCNxFAST16): Likewise.
37897 [C99-based-standards] (PRId32): Likewise.
37898 [C99-based-standards] (PRIi32): Likewise.
37899 [C99-based-standards] (PRIo32): Likewise.
37900 [C99-based-standards] (PRIu32): Likewise.
37901 [C99-based-standards] (PRIx32): Likewise.
37902 [C99-based-standards] (PRIX32): Likewise.
37903 [C99-based-standards] (SCNd32): Likewise.
37904 [C99-based-standards] (SCNi32): Likewise.
37905 [C99-based-standards] (SCNo32): Likewise.
37906 [C99-based-standards] (SCNu32): Likewise.
37907 [C99-based-standards] (SCNx32): Likewise.
37908 [C99-based-standards] (PRIdLEAST32): Likewise.
37909 [C99-based-standards] (PRIiLEAST32): Likewise.
37910 [C99-based-standards] (PRIoLEAST32): Likewise.
37911 [C99-based-standards] (PRIuLEAST32): Likewise.
37912 [C99-based-standards] (PRIxLEAST32): Likewise.
37913 [C99-based-standards] (PRIXLEAST32): Likewise.
37914 [C99-based-standards] (SCNdLEAST32): Likewise.
37915 [C99-based-standards] (SCNiLEAST32): Likewise.
37916 [C99-based-standards] (SCNoLEAST32): Likewise.
37917 [C99-based-standards] (SCNuLEAST32): Likewise.
37918 [C99-based-standards] (SCNxLEAST32): Likewise.
37919 [C99-based-standards] (PRIdFAST32): Likewise.
37920 [C99-based-standards] (PRIiFAST32): Likewise.
37921 [C99-based-standards] (PRIoFAST32): Likewise.
37922 [C99-based-standards] (PRIuFAST32): Likewise.
37923 [C99-based-standards] (PRIxFAST32): Likewise.
37924 [C99-based-standards] (PRIXFAST32): Likewise.
37925 [C99-based-standards] (SCNdFAST32): Likewise.
37926 [C99-based-standards] (SCNiFAST32): Likewise.
37927 [C99-based-standards] (SCNoFAST32): Likewise.
37928 [C99-based-standards] (SCNuFAST32): Likewise.
37929 [C99-based-standards] (SCNxFAST32): Likewise.
37930 [C99-based-standards] (PRId64): Likewise.
37931 [C99-based-standards] (PRIi64): Likewise.
37932 [C99-based-standards] (PRIo64): Likewise.
37933 [C99-based-standards] (PRIu64): Likewise.
37934 [C99-based-standards] (PRIx64): Likewise.
37935 [C99-based-standards] (PRIX64): Likewise.
37936 [C99-based-standards] (SCNd64): Likewise.
37937 [C99-based-standards] (SCNi64): Likewise.
37938 [C99-based-standards] (SCNo64): Likewise.
37939 [C99-based-standards] (SCNu64): Likewise.
37940 [C99-based-standards] (SCNx64): Likewise.
37941 [C99-based-standards] (PRIdLEAST64): Likewise.
37942 [C99-based-standards] (PRIiLEAST64): Likewise.
37943 [C99-based-standards] (PRIoLEAST64): Likewise.
37944 [C99-based-standards] (PRIuLEAST64): Likewise.
37945 [C99-based-standards] (PRIxLEAST64): Likewise.
37946 [C99-based-standards] (PRIXLEAST64): Likewise.
37947 [C99-based-standards] (SCNdLEAST64): Likewise.
37948 [C99-based-standards] (SCNiLEAST64): Likewise.
37949 [C99-based-standards] (SCNoLEAST64): Likewise.
37950 [C99-based-standards] (SCNuLEAST64): Likewise.
37951 [C99-based-standards] (SCNxLEAST64): Likewise.
37952 [C99-based-standards] (PRIdFAST64): Likewise.
37953 [C99-based-standards] (PRIiFAST64): Likewise.
37954 [C99-based-standards] (PRIoFAST64): Likewise.
37955 [C99-based-standards] (PRIuFAST64): Likewise.
37956 [C99-based-standards] (PRIxFAST64): Likewise.
37957 [C99-based-standards] (PRIXFAST64): Likewise.
37958 [C99-based-standards] (SCNdFAST64): Likewise.
37959 [C99-based-standards] (SCNiFAST64): Likewise.
37960 [C99-based-standards] (SCNoFAST64): Likewise.
37961 [C99-based-standards] (SCNuFAST64): Likewise.
37962 [C99-based-standards] (SCNxFAST64): Likewise.
37963 [C99-based-standards] (PRIdMAX): Likewise.
37964 [C99-based-standards] (PRIiMAX): Likewise.
37965 [C99-based-standards] (PRIoMAX): Likewise.
37966 [C99-based-standards] (PRIuMAX): Likewise.
37967 [C99-based-standards] (PRIxMAX): Likewise.
37968 [C99-based-standards] (PRIXMAX): Likewise.
37969 [C99-based-standards] (SCNdMAX): Likewise.
37970 [C99-based-standards] (SCNiMAX): Likewise.
37971 [C99-based-standards] (SCNoMAX): Likewise.
37972 [C99-based-standards] (SCNuMAX): Likewise.
37973 [C99-based-standards] (SCNxMAX): Likewise.
37974 [C99-based-standards] (PRIdPTR): Likewise.
37975 [C99-based-standards] (PRIiPTR): Likewise.
37976 [C99-based-standards] (PRIoPTR): Likewise.
37977 [C99-based-standards] (PRIuPTR): Likewise.
37978 [C99-based-standards] (PRIxPTR): Likewise.
37979 [C99-based-standards] (PRIXPTR): Likewise.
37980 [C99-based-standards] (SCNdPTR): Likewise.
37981 [C99-based-standards] (SCNiPTR): Likewise.
37982 [C99-based-standards] (SCNoPTR): Likewise.
37983 [C99-based-standards] (SCNuPTR): Likewise.
37984 [C99-based-standards] (SCNxPTR): Likewise.
37985 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
37986 allow.
37987 * conform/data/stdint.h-data: Update comments to clarify
37988 requirements.
37989 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
37990 type.
37991 [C99-based standards] (INT8_MAX): Likewise.
37992 [C99-based standards] (INT16_MIN): Likewise.
37993 [C99-based standards] (INT16_MAX): Likewise.
37994 [C99-based standards] (INT32_MIN): Likewise.
37995 [C99-based standards] (INT32_MAX): Likewise.
37996 [C99-based standards] (INT64_MIN): Likewise.
37997 [C99-based standards] (INT64_MAX): Likewise.
37998 [C99-based standards] (UINT8_MAX): Likewise.
37999 [C99-based standards] (UINT16_MAX): Likewise.
38000 [C99-based standards] (UINT32_MAX): Likewise.
38001 [C99-based standards] (UINT64_MAX): Likewise.
38002 [C99-based standards] (INT_LEAST8_MIN): Likewise.
38003 [C99-based standards] (INT_LEAST8_MAX): Likewise.
38004 [C99-based standards] (INT_LEAST16_MIN): Likewise.
38005 [C99-based standards] (INT_LEAST16_MAX): Likewise.
38006 [C99-based standards] (INT_LEAST32_MIN): Likewise.
38007 [C99-based standards] (INT_LEAST32_MAX): Likewise.
38008 [C99-based standards] (INT_LEAST64_MIN): Likewise.
38009 [C99-based standards] (INT_LEAST64_MAX): Likewise.
38010 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38011 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38012 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38013 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38014 [C99-based standards] (INT_FAST8_MIN): Likewise.
38015 [C99-based standards] (INT_FAST8_MAX): Likewise.
38016 [C99-based standards] (INT_FAST16_MIN): Likewise.
38017 [C99-based standards] (INT_FAST16_MAX): Likewise.
38018 [C99-based standards] (INT_FAST32_MIN): Likewise.
38019 [C99-based standards] (INT_FAST32_MAX): Likewise.
38020 [C99-based standards] (INT_FAST64_MIN): Likewise.
38021 [C99-based standards] (INT_FAST64_MAX): Likewise.
38022 [C99-based standards] (UINT_FAST8_MAX): Likewise.
38023 [C99-based standards] (UINT_FAST16_MAX): Likewise.
38024 [C99-based standards] (UINT_FAST32_MAX): Likewise.
38025 [C99-based standards] (UINT_FAST64_MAX): Likewise.
38026 [C99-based standards] (INTPTR_MIN): Likewise.
38027 [C99-based standards] (INTPTR_MAX): Likewise.
38028 [C99-based standards] (UINTPTR_MAX): Likewise.
38029 [C99-based standards] (INTMAX_MIN): Likewise.
38030 [C99-based standards] (INTMAX_MAX): Likewise.
38031 [C99-based standards] (UINTMAX_MAX): Likewise.
38032 [C99-based standards] (PTRDIFF_MIN): Likewise.
38033 [C99-based standards] (PTRDIFF_MAX): Likewise.
38034 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
38035 [C99-based standards] (SIZE_MAX): Likewise.
38036 [C99-based standards] (WCHAR_MAX): Likewise.
38037 [C99-based standards] (WINT_MAX): Likewise.
38038 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
38039 constraint on value.
38040 [C99-based standards] (WCHAR_MIN): Likewise.
38041 [C99-based standards] (WINT_MIN): Likewise.
38042 [C99-based standards] (*_t): Allow.
38043 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
38044 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
38045 Include math.h-data and complex.h-data. Remove all expectations
38046 of math.h and complex.h contents.
38047 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
38048 at end of line.
38049 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
38050 (struct tm): Expect tag.
38051 [C99-based-standards] (wcstof): Expect function.
38052 [C99-based-standards] (wcstold): Likewise.
38053 [C99-based-standards] (wcstoll): Likewise.
38054 [C99-based-standards] (wcstoull): Likewise.
38055 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
38056 macro-int-constant. Specify type.
38057 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
38058 constraint on value.
38059 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38060 Specify type.
38061 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
38062 Specify value.
38063 [ISO C standards]: Do not allow headers.
38064 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
38065 wcs[abcdefghijklmnopqrstuvwxyz]*.
38066 [ISO C standards] (*_t): Do not allow.
38067 * conform/data/wctype.h-data [C99-based standards] (iswblank):
38068 Expect function.
38069 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
38070 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38071 Specify type.
38072 [ISO C standards]: Do not allow headers.
38073 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
38074 is[abcdefghijklmnopqrstuvwxyz]*.
38075 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
38076 to[abcdefghijklmnopqrstuvwxyz]*.
38077 [ISO C standards] (*_t): Do not allow.
38078 * conform/data/stdalign.h-data: New file.
38079 * conform/data/stdbool.h-data: Likewise.
38080 * conform/data/stdnoreturn.h-data: Likewise.
38081
7514feb8
RM
380822012-11-07 Roland McGrath <roland@hack.frob.com>
38083
38084 [BZ #14815]
38085 * manual/filesys.texi (Directory Entries): Typo fix.
38086 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
38087
19b2ecfc
MS
380882012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38089
38090 * elf/elf.h (EM_AARCH64): New macro.
38091 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
38092 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
38093 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
38094 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
38095 (R_AARCH64_TLSDESC): Likewise.
38096 (NT_ARM_TLS): Likewise.
38097 (NT_ARM_HW_BREAK): Likewise.
38098 (NT_ARM_HW_WATCH): Likewise.
38099
60e235ee
JM
381002012-11-07 Joseph Myers <joseph@codesourcery.com>
38101
38102 [BZ #14811]
38103 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
38104 (__ieee754_powl): Saturate nonzero exponents with absolute value
38105 below 0x1p-79 to +/- 0x1p-79.
38106 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
38107 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
38108 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
38109 nonzero exponents with absolute value below 0x1p-32 to +/-
38110 0x1p-32.
38111 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
38112 (__ieee754_powl): Saturate nonzero exponents with absolute value
38113 below 0x1p-79 to +/- 0x1p-79.
38114 * math/libm-test.inc (pow_test): Add more tests.
38115
0ab234b7
AK
381162012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38117
38118 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38119 _dl_s390_cap_flags with kernel. Increase string length.
38120 (_dl_s390_platforms): Add z196 and zEC12.
38121
45832f74
JM
381222012-11-07 Joseph Myers <joseph@codesourcery.com>
38123
38124 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
38125 Change XOPEN21K to XOPEN2K.
38126
19218757
MK
381272012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
38128
38129 * string/memmove.c: Use memcpy when possible.
38130
c5f45721
AJ
381312012-11-06 Andreas Jaeger <aj@suse.de>
38132
38133 * po/eo.po: Update from translation team.
38134
82477c28
JM
381352012-11-06 Joseph Myers <joseph@codesourcery.com>
38136
38137 [BZ #14793]
38138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
38139 exponent and small x and y exponents, scale x or y up. Increase
38140 by 2 the exponent used in scaling up.
38141 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38142 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38143 * math/libm-test.inc (fma_test): Add more tests.
38144 (fma_test_towardzero): Likewise.
38145 (fma_test_downward): Likewise.
38146 (fma_test_upward): Likewise.
38147
99252c8c
JM
381482012-11-05 Joseph Myers <joseph@codesourcery.com>
38149
acfa885f
JM
38150 [BZ #14805]
38151 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
38152 fenv_t *.
38153
99252c8c
JM
38154 [BZ #14801]
38155 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
38156 namespace for names of struct fields.
38157 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
38158 fenv_t fields.
38159 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38160 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
38161
d6d98dea
ST
381622012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
38163
38164 [BZ #3665]
38165 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
38166
e10bb107
TS
381672012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38168
38169 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
38170 PTR_DEMANGLE.
38171
38172 [BZ #5246]
38173 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
38174 PTR_DEMANGLE.
38175
a0c2940d
JM
381762012-11-04 Joseph Myers <joseph@codesourcery.com>
38177
38178 [BZ #14797]
38179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
38180 definitely overflow as x * y not x * y + z.
38181 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38182 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38183 * math/libm-test.inc (fma_test): Add more tests.
38184 (fma_test_towardzero): Likewise.
38185 (fma_test_downward): Likewise.
38186 (fma_test_upward): Likewise.
38187
b830319d
TS
381882012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38189
38190 [BZ #157]
38191
38192 * include/stub-tag.h: Remove file.
38193 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38194 '#include' of it.
38195 * manual/maint.texi (Porting): Don't reference it.
38196 * Makerules ($(objpfx)stubs): Likewise.
38197 * dirent/closedir.c: Don't include <stub-tag.h>.
38198 * dirent/dirfd.c: Likewise.
38199 * dirent/fdopendir.c: Likewise.
38200 * dirent/getdents.c: Likewise.
38201 * dirent/getdents64.c: Likewise.
38202 * dirent/opendir.c: Likewise.
38203 * dirent/readdir.c: Likewise.
38204 * dirent/readdir64.c: Likewise.
38205 * dirent/readdir64_r.c: Likewise.
38206 * dirent/readdir_r.c: Likewise.
38207 * dirent/rewinddir.c: Likewise.
38208 * dirent/seekdir.c: Likewise.
38209 * dirent/telldir.c: Likewise.
38210 * gmon/profil.c: Likewise.
38211 * grp/setgroups.c: Likewise.
38212 * inet/if_index.c: Likewise.
38213 * io/access.c: Likewise.
38214 * io/chdir.c: Likewise.
38215 * io/chmod.c: Likewise.
38216 * io/chown.c: Likewise.
38217 * io/close.c: Likewise.
38218 * io/dup.c: Likewise.
38219 * io/dup2.c: Likewise.
38220 * io/dup3.c: Likewise.
38221 * io/euidaccess.c: Likewise.
38222 * io/faccessat.c: Likewise.
38223 * io/fchdir.c: Likewise.
38224 * io/fchmod.c: Likewise.
38225 * io/fchmodat.c: Likewise.
38226 * io/fchown.c: Likewise.
38227 * io/fchownat.c: Likewise.
38228 * io/fcntl.c: Likewise.
38229 * io/flock.c: Likewise.
38230 * io/fstatfs.c: Likewise.
38231 * io/fstatfs64.c: Likewise.
38232 * io/fstatvfs.c: Likewise.
38233 * io/fstatvfs64.c: Likewise.
38234 * io/futimens.c: Likewise.
38235 * io/fxstat.c: Likewise.
38236 * io/fxstat64.c: Likewise.
38237 * io/fxstatat.c: Likewise.
38238 * io/fxstatat64.c: Likewise.
38239 * io/getcwd.c: Likewise.
38240 * io/isatty.c: Likewise.
38241 * io/lchmod.c: Likewise.
38242 * io/lchown.c: Likewise.
38243 * io/link.c: Likewise.
38244 * io/linkat.c: Likewise.
38245 * io/lseek.c: Likewise.
38246 * io/lseek64.c: Likewise.
38247 * io/lxstat64.c: Likewise.
38248 * io/mkdir.c: Likewise.
38249 * io/mkdirat.c: Likewise.
38250 * io/mkfifo.c: Likewise.
38251 * io/mkfifoat.c: Likewise.
38252 * io/open.c: Likewise.
38253 * io/open64.c: Likewise.
38254 * io/openat.c: Likewise.
38255 * io/openat64.c: Likewise.
38256 * io/pipe.c: Likewise.
38257 * io/pipe2.c: Likewise.
38258 * io/poll.c: Likewise.
38259 * io/posix_fadvise.c: Likewise.
38260 * io/posix_fadvise64.c: Likewise.
38261 * io/posix_fallocate.c: Likewise.
38262 * io/posix_fallocate64.c: Likewise.
38263 * io/read.c: Likewise.
38264 * io/readlink.c: Likewise.
38265 * io/readlinkat.c: Likewise.
38266 * io/rmdir.c: Likewise.
38267 * io/sendfile.c: Likewise.
38268 * io/sendfile64.c: Likewise.
38269 * io/statfs.c: Likewise.
38270 * io/statfs64.c: Likewise.
38271 * io/statvfs.c: Likewise.
38272 * io/statvfs64.c: Likewise.
38273 * io/symlink.c: Likewise.
38274 * io/symlinkat.c: Likewise.
38275 * io/ttyname.c: Likewise.
38276 * io/ttyname_r.c: Likewise.
38277 * io/umask.c: Likewise.
38278 * io/unlink.c: Likewise.
38279 * io/unlinkat.c: Likewise.
38280 * io/utime.c: Likewise.
38281 * io/utimensat.c: Likewise.
38282 * io/write.c: Likewise.
38283 * io/xmknod.c: Likewise.
38284 * io/xmknodat.c: Likewise.
38285 * io/xstat.c: Likewise.
38286 * io/xstat64.c: Likewise.
38287 * login/getpt.c: Likewise.
38288 * login/grantpt.c: Likewise.
38289 * login/unlockpt.c: Likewise.
38290 * math/e_acoshl.c: Likewise.
38291 * math/e_acosl.c: Likewise.
38292 * math/e_asinl.c: Likewise.
38293 * math/e_atan2l.c: Likewise.
38294 * math/e_atanhl.c: Likewise.
38295 * math/e_coshl.c: Likewise.
38296 * math/e_expl.c: Likewise.
38297 * math/e_fmodl.c: Likewise.
38298 * math/e_gammal_r.c: Likewise.
38299 * math/e_hypotl.c: Likewise.
38300 * math/e_j0l.c: Likewise.
38301 * math/e_j1l.c: Likewise.
38302 * math/e_jnl.c: Likewise.
38303 * math/e_lgammal_r.c: Likewise.
38304 * math/e_log10l.c: Likewise.
38305 * math/e_log2l.c: Likewise.
38306 * math/e_logl.c: Likewise.
38307 * math/e_powl.c: Likewise.
38308 * math/e_rem_pio2l.c: Likewise.
38309 * math/e_sinhl.c: Likewise.
38310 * math/e_sqrtl.c: Likewise.
38311 * math/fclrexcpt.c: Likewise.
38312 * math/fedisblxcpt.c: Likewise.
38313 * math/feenablxcpt.c: Likewise.
38314 * math/fegetenv.c: Likewise.
38315 * math/fegetexcept.c: Likewise.
38316 * math/fegetround.c: Likewise.
38317 * math/feholdexcpt.c: Likewise.
38318 * math/fesetenv.c: Likewise.
38319 * math/fesetround.c: Likewise.
38320 * math/feupdateenv.c: Likewise.
38321 * math/fgetexcptflg.c: Likewise.
38322 * math/fraiseexcpt.c: Likewise.
38323 * math/fsetexcptflg.c: Likewise.
38324 * math/ftestexcept.c: Likewise.
38325 * math/k_cosl.c: Likewise.
38326 * math/k_rem_pio2l.c: Likewise.
38327 * math/k_sinl.c: Likewise.
38328 * math/k_tanl.c: Likewise.
38329 * math/s_asinhl.c: Likewise.
38330 * math/s_atanl.c: Likewise.
38331 * math/s_cbrtl.c: Likewise.
38332 * math/s_erfl.c: Likewise.
38333 * math/s_expm1l.c: Likewise.
38334 * math/s_log1pl.c: Likewise.
38335 * math/s_tanhl.c: Likewise.
38336 * misc/acct.c: Likewise.
38337 * misc/brk.c: Likewise.
38338 * misc/chflags.c: Likewise.
38339 * misc/chroot.c: Likewise.
38340 * misc/fchflags.c: Likewise.
38341 * misc/fgetxattr.c: Likewise.
38342 * misc/flistxattr.c: Likewise.
38343 * misc/fremovexattr.c: Likewise.
38344 * misc/fsetxattr.c: Likewise.
38345 * misc/fsync.c: Likewise.
38346 * misc/ftruncate.c: Likewise.
38347 * misc/futimes.c: Likewise.
38348 * misc/futimesat.c: Likewise.
38349 * misc/getdomain.c: Likewise.
38350 * misc/getdtsz.c: Likewise.
38351 * misc/gethostid.c: Likewise.
38352 * misc/gethostname.c: Likewise.
38353 * misc/getloadavg.c: Likewise.
38354 * misc/getpagesize.c: Likewise.
38355 * misc/getsysstats.c: Likewise.
38356 * misc/getxattr.c: Likewise.
38357 * misc/gtty.c: Likewise.
38358 * misc/ioctl.c: Likewise.
38359 * misc/lgetxattr.c: Likewise.
38360 * misc/listxattr.c: Likewise.
38361 * misc/llistxattr.c: Likewise.
38362 * misc/lremovexattr.c: Likewise.
38363 * misc/lsetxattr.c: Likewise.
38364 * misc/lutimes.c: Likewise.
38365 * misc/madvise.c: Likewise.
38366 * misc/mincore.c: Likewise.
38367 * misc/mlock.c: Likewise.
38368 * misc/mlockall.c: Likewise.
38369 * misc/mmap.c: Likewise.
38370 * misc/mprotect.c: Likewise.
38371 * misc/msync.c: Likewise.
38372 * misc/munlock.c: Likewise.
38373 * misc/munlockall.c: Likewise.
38374 * misc/munmap.c: Likewise.
38375 * misc/preadv.c: Likewise.
38376 * misc/preadv64.c: Likewise.
38377 * misc/ptrace.c: Likewise.
38378 * misc/pwritev.c: Likewise.
38379 * misc/pwritev64.c: Likewise.
38380 * misc/readv.c: Likewise.
38381 * misc/reboot.c: Likewise.
38382 * misc/remap_file_pages.c: Likewise.
38383 * misc/removexattr.c: Likewise.
38384 * misc/revoke.c: Likewise.
38385 * misc/select.c: Likewise.
38386 * misc/setdomain.c: Likewise.
38387 * misc/setegid.c: Likewise.
38388 * misc/seteuid.c: Likewise.
38389 * misc/sethostid.c: Likewise.
38390 * misc/sethostname.c: Likewise.
38391 * misc/setregid.c: Likewise.
38392 * misc/setreuid.c: Likewise.
38393 * misc/setxattr.c: Likewise.
38394 * misc/sstk.c: Likewise.
38395 * misc/stty.c: Likewise.
38396 * misc/swapoff.c: Likewise.
38397 * misc/swapon.c: Likewise.
38398 * misc/sync.c: Likewise.
38399 * misc/syncfs.c: Likewise.
38400 * misc/syscall.c: Likewise.
38401 * misc/truncate.c: Likewise.
38402 * misc/ualarm.c: Likewise.
38403 * misc/usleep.c: Likewise.
38404 * misc/ustat.c: Likewise.
38405 * misc/utimes.c: Likewise.
38406 * misc/vhangup.c: Likewise.
38407 * misc/writev.c: Likewise.
38408 * posix/_exit.c: Likewise.
38409 * posix/alarm.c: Likewise.
38410 * posix/execve.c: Likewise.
38411 * posix/fexecve.c: Likewise.
38412 * posix/fork.c: Likewise.
38413 * posix/fpathconf.c: Likewise.
38414 * posix/getaddrinfo.c: Likewise.
38415 * posix/getegid.c: Likewise.
38416 * posix/geteuid.c: Likewise.
38417 * posix/getgid.c: Likewise.
38418 * posix/getgroups.c: Likewise.
38419 * posix/getlogin.c: Likewise.
38420 * posix/getlogin_r.c: Likewise.
38421 * posix/getpgid.c: Likewise.
38422 * posix/getpid.c: Likewise.
38423 * posix/getppid.c: Likewise.
38424 * posix/getresgid.c: Likewise.
38425 * posix/getresuid.c: Likewise.
38426 * posix/getsid.c: Likewise.
38427 * posix/getuid.c: Likewise.
38428 * posix/glob64.c: Likewise.
38429 * posix/nanosleep.c: Likewise.
38430 * posix/pathconf.c: Likewise.
38431 * posix/pause.c: Likewise.
38432 * posix/posix_madvise.c: Likewise.
38433 * posix/pread.c: Likewise.
38434 * posix/pread64.c: Likewise.
38435 * posix/pwrite.c: Likewise.
38436 * posix/pwrite64.c: Likewise.
38437 * posix/sched_getaffinity.c: Likewise.
38438 * posix/sched_getp.c: Likewise.
38439 * posix/sched_gets.c: Likewise.
38440 * posix/sched_primax.c: Likewise.
38441 * posix/sched_primin.c: Likewise.
38442 * posix/sched_rr_gi.c: Likewise.
38443 * posix/sched_setaffinity.c: Likewise.
38444 * posix/sched_setp.c: Likewise.
38445 * posix/sched_sets.c: Likewise.
38446 * posix/sched_yield.c: Likewise.
38447 * posix/setgid.c: Likewise.
38448 * posix/setlogin.c: Likewise.
38449 * posix/setpgid.c: Likewise.
38450 * posix/setresgid.c: Likewise.
38451 * posix/setresuid.c: Likewise.
38452 * posix/setsid.c: Likewise.
38453 * posix/setuid.c: Likewise.
38454 * posix/sleep.c: Likewise.
38455 * posix/spawni.c: Likewise.
38456 * posix/sysconf.c: Likewise.
38457 * posix/times.c: Likewise.
38458 * posix/wait.c: Likewise.
38459 * posix/wait3.c: Likewise.
38460 * posix/wait4.c: Likewise.
38461 * posix/waitpid.c: Likewise.
38462 * resolv/gai_sigqueue.c: Likewise.
38463 * resource/getpriority.c: Likewise.
38464 * resource/getrlimit.c: Likewise.
38465 * resource/getrusage.c: Likewise.
38466 * resource/nice.c: Likewise.
38467 * resource/setpriority.c: Likewise.
38468 * resource/setrlimit.c: Likewise.
38469 * resource/ulimit.c: Likewise.
38470 * rt/aio_cancel.c: Likewise.
38471 * rt/aio_fsync.c: Likewise.
38472 * rt/aio_read.c: Likewise.
38473 * rt/aio_sigqueue.c: Likewise.
38474 * rt/aio_suspend.c: Likewise.
38475 * rt/aio_write.c: Likewise.
38476 * rt/clock_getres.c: Likewise.
38477 * rt/clock_gettime.c: Likewise.
38478 * rt/clock_nanosleep.c: Likewise.
38479 * rt/clock_settime.c: Likewise.
38480 * rt/lio_listio.c: Likewise.
38481 * rt/mq_close.c: Likewise.
38482 * rt/mq_getattr.c: Likewise.
38483 * rt/mq_notify.c: Likewise.
38484 * rt/mq_open.c: Likewise.
38485 * rt/mq_receive.c: Likewise.
38486 * rt/mq_send.c: Likewise.
38487 * rt/mq_setattr.c: Likewise.
38488 * rt/mq_timedreceive.c: Likewise.
38489 * rt/mq_timedsend.c: Likewise.
38490 * rt/mq_unlink.c: Likewise.
38491 * rt/shm_open.c: Likewise.
38492 * rt/shm_unlink.c: Likewise.
38493 * rt/timer_create.c: Likewise.
38494 * rt/timer_delete.c: Likewise.
38495 * rt/timer_getoverr.c: Likewise.
38496 * rt/timer_gettime.c: Likewise.
38497 * rt/timer_settime.c: Likewise.
38498 * setjmp/__longjmp.c: Likewise.
38499 * setjmp/setjmp.c: Likewise.
38500 * signal/kill.c: Likewise.
38501 * signal/killpg.c: Likewise.
38502 * signal/raise.c: Likewise.
38503 * signal/sigaction.c: Likewise.
38504 * signal/sigaltstack.c: Likewise.
38505 * signal/sigblock.c: Likewise.
38506 * signal/sigignore.c: Likewise.
38507 * signal/sigintr.c: Likewise.
38508 * signal/signal.c: Likewise.
38509 * signal/sigpause.c: Likewise.
38510 * signal/sigpending.c: Likewise.
38511 * signal/sigqueue.c: Likewise.
38512 * signal/sigreturn.c: Likewise.
38513 * signal/sigset.c: Likewise.
38514 * signal/sigsetmask.c: Likewise.
38515 * signal/sigstack.c: Likewise.
38516 * signal/sigsuspend.c: Likewise.
38517 * signal/sigtimedwait.c: Likewise.
38518 * signal/sigvec.c: Likewise.
38519 * signal/sigwait.c: Likewise.
38520 * signal/sigwaitinfo.c: Likewise.
38521 * signal/sysv_signal.c: Likewise.
38522 * socket/accept.c: Likewise.
38523 * socket/accept4.c: Likewise.
38524 * socket/bind.c: Likewise.
38525 * socket/connect.c: Likewise.
38526 * socket/getpeername.c: Likewise.
38527 * socket/getsockname.c: Likewise.
38528 * socket/getsockopt.c: Likewise.
38529 * socket/isfdtype.c: Likewise.
38530 * socket/listen.c: Likewise.
38531 * socket/recv.c: Likewise.
38532 * socket/recvfrom.c: Likewise.
38533 * socket/recvmsg.c: Likewise.
38534 * socket/send.c: Likewise.
38535 * socket/sendmsg.c: Likewise.
38536 * socket/sendto.c: Likewise.
38537 * socket/setsockopt.c: Likewise.
38538 * socket/shutdown.c: Likewise.
38539 * socket/sockatmark.c: Likewise.
38540 * socket/socket.c: Likewise.
38541 * socket/socketpair.c: Likewise.
38542 * stdio-common/ctermid.c: Likewise.
38543 * stdio-common/cuserid.c: Likewise.
38544 * stdio-common/remove.c: Likewise.
38545 * stdio-common/rename.c: Likewise.
38546 * stdio-common/renameat.c: Likewise.
38547 * stdio-common/tempname.c: Likewise.
38548 * stdlib/getcontext.c: Likewise.
38549 * stdlib/makecontext.c: Likewise.
38550 * stdlib/setcontext.c: Likewise.
38551 * stdlib/swapcontext.c: Likewise.
38552 * stdlib/system.c: Likewise.
38553 * streams/fattach.c: Likewise.
38554 * streams/fdetach.c: Likewise.
38555 * streams/getmsg.c: Likewise.
38556 * streams/getpmsg.c: Likewise.
38557 * streams/putmsg.c: Likewise.
38558 * streams/putpmsg.c: Likewise.
38559 * sysdeps/unix/bsd/getpt.c: Likewise.
38560 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
38561 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
38562 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38564 Likewise.
38565 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
38566 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38567 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38568 * sysvipc/msgctl.c: Likewise.
38569 * sysvipc/msgget.c: Likewise.
38570 * sysvipc/msgrcv.c: Likewise.
38571 * sysvipc/msgsnd.c: Likewise.
38572 * sysvipc/semctl.c: Likewise.
38573 * sysvipc/semget.c: Likewise.
38574 * sysvipc/semop.c: Likewise.
38575 * sysvipc/semtimedop.c: Likewise.
38576 * sysvipc/shmat.c: Likewise.
38577 * sysvipc/shmctl.c: Likewise.
38578 * sysvipc/shmdt.c: Likewise.
38579 * sysvipc/shmget.c: Likewise.
38580 * termios/tcdrain.c: Likewise.
38581 * termios/tcflow.c: Likewise.
38582 * termios/tcflush.c: Likewise.
38583 * termios/tcgetattr.c: Likewise.
38584 * termios/tcgetpgrp.c: Likewise.
38585 * termios/tcsendbrk.c: Likewise.
38586 * termios/tcsetattr.c: Likewise.
38587 * termios/tcsetpgrp.c: Likewise.
38588 * time/adjtime.c: Likewise.
38589 * time/clock.c: Likewise.
38590 * time/getitimer.c: Likewise.
38591 * time/gettimeofday.c: Likewise.
38592 * time/setitimer.c: Likewise.
38593 * time/settimeofday.c: Likewise.
38594 * time/stime.c: Likewise.
38595 * time/time.c: Likewise.
38596
385972012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 38598
a20492cf
PT
38599 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
38600 /usr/old/bin.
38601
72e182e3
PT
38602 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
38603 instead of spaces.
38604 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
38605
fbeafede
JM
386062012-11-03 Joseph Myers <joseph@codesourcery.com>
38607
5b5b04d6
JM
38608 [BZ #14796]
38609 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
38610 FE_TONEAREST before applying Dekker multiplication and Knuth
38611 addition. Clear inexact exceptions and check for exact zero
38612 results afterwards.
38613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38614 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38615 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38616 * math/libm-test.inc (fma_test): Add more tests.
38617 (fma_test_towardzero): Likewise.
38618 (fma_test_downward): Likewise.
38619 (fma_test_upward): Likewise.
38620 * sysdeps/generic/math_private.h (default_libc_fesetround): New
38621 function.
38622 (libc_fesetround): New macro.
38623 (libc_fesetroundf): Likewise.
38624 (libc_fesetroundl): Likewise.
38625 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
38626 function.
38627 (libc_fesetround_387): Likewise.
38628 (libc_fesetroundf): New macro.
38629 (libc_fesetround): Likewise.
38630 (libc_fesetroundl): Likewise.
38631 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
38632 function.
38633 (libc_fesetroundf): New macro.
38634 (libc_fesetround): Likewise.
38635 (libc_fesetroundl): Likewise.
38636 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
38637 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
38638 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
38639 libm_hidden_ver.
38640 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
38641 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
38642 libm_hidden_def.
38643 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
38644 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
38645 libm_hidden_ver.
38646 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
38647 libm_hidden_def.
38648
fbeafede
JM
38649 [BZ #3439]
38650 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
38651 integer constant usable in #if and use that to give value to enum
38652 constant.
38653 (FE_DIVBYZERO): Likewise.
38654 (FE_UNDERFLOW): Likewise.
38655 (FE_OVERFLOW): Likewise.
38656 (FE_INVALID): Likewise.
38657 (FE_INVALID_SNAN): Likewise.
38658 (FE_INVALID_ISI): Likewise.
38659 (FE_INVALID_IDI): Likewise.
38660 (FE_INVALID_ZDZ): Likewise.
38661 (FE_INVALID_IMZ): Likewise.
38662 (FE_INVALID_COMPARE): Likewise.
38663 (FE_INVALID_SOFTWARE): Likewise.
38664 (FE_INVALID_SQRT): Likewise.
38665 (FE_INVALID_INTEGER_CONVERSION): Likewise.
38666 (FE_TONEAREST): Likewise.
38667 (FE_TOWARDZERO): Likewise.
38668 (FE_UPWARD): Likewise.
38669 (FE_DOWNWARD): Likewise.
38670 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
38671 (FE_DIVBYZERO): Likewise.
38672 (FE_OVERFLOW): Likewise.
38673 (FE_UNDERFLOW): Likewise.
38674 (FE_INEXACT): Likewise.
38675 (FE_TONEAREST): Likewise.
38676 (FE_DOWNWARD): Likewise.
38677 (FE_UPWARD): Likewise.
38678 (FE_TOWARDZERO): Likewise.
38679 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
38680 (FE_UNDERFLOW): Likewise.
38681 (FE_OVERFLOW): Likewise.
38682 (FE_DIVBYZERO): Likewise.
38683 (FE_INVALID): Likewise.
38684 (FE_TONEAREST): Likewise.
38685 (FE_TOWARDZERO): Likewise.
38686 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
38687 (FE_OVERFLOW): Likewise.
38688 (FE_UNDERFLOW): Likewise.
38689 (FE_DIVBYZERO): Likewise.
38690 (FE_INEXACT): Likewise.
38691 (FE_TONEAREST): Likewise.
38692 (FE_TOWARDZERO): Likewise.
38693 (FE_UPWARD): Likewise.
38694 (FE_DOWNWARD): Likewise.
38695 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
38696 (FE_DIVBYZERO): Likewise.
38697 (FE_OVERFLOW): Likewise.
38698 (FE_UNDERFLOW): Likewise.
38699 (FE_INEXACT): Likewise.
38700 (FE_TONEAREST): Likewise.
38701 (FE_DOWNWARD): Likewise.
38702 (FE_UPWARD): Likewise.
38703 (FE_TOWARDZERO): Likewise.
38704
105ca950
CM
387052012-11-02 Chris Metcalf <cmetcalf@tilera.com>
38706
38707 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
38708
a542b389
AS
387092012-11-03 Andreas Schwab <schwab@linux-m68k.org>
38710
38711 * scripts/cross-test-ssh.sh (command): Use newlines to separate
38712 commands. Quote $PWD.
38713 (blacklist_exports): Don't use remove_newlines. Replace "declare
38714 -x" by "export".
38715 (remove_newlines): Remove.
38716
f62c8abc
L
387172012-11-02 H.J. Lu <hongjiu.lu@intel.com>
38718
38719 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
38720 * stdlib/stdlib.h (atof): Moved to ...
38721 * include/bits/stdlib-float.h: Here. New file.
38722 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
38723 * stdlib/bits/stdlib-float.h: New file.
38724 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
38725 -mno-sse -mno-mmx.
38726 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
38727 <xmmintrin.h>.
38728
0155d5b2
JM
387292012-11-02 Joseph Myers <joseph@codesourcery.com>
38730
a68d0680
JM
38731 * conform/conformtest.pl (@headers): Add fenv.h.
38732 * conform/data/fenv.h-data: New file.
38733 * include/fenv.h [_ISOMAC]: Disable all contents of file except
38734 include of <math/fenv.h>.
38735
caf7f573
JM
38736 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
38737 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
38738 && !UNIX98]. Enables tests for XOPEN2K8.
38739 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
38740 POSIX2008]: Likewise.
38741
6c073ad6
JM
38742 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
38743 (struct rusage): Do not expect type or its members.
38744
0155d5b2
JM
38745 [BZ #3439]
38746 * math/math.h (FP_NAN): Define macro to integer constant usable in
38747 #if and use that to give value to enum constant.
38748 (FP_INFINITE): Likewise.
38749 (FP_ZERO): Likewise.
38750 (FP_SUBNORMAL): Likewise.
38751 (FP_NORMAL): Likewise.
38752
b5dcacb4
AS
387532012-11-02 Andreas Schwab <schwab@linux-m68k.org>
38754
38755 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
38756 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
38757 arguments.
38758
f7934be8
RM
387592012-11-02 Roland McGrath <roland@hack.frob.com>
38760
38761 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
38762 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
38763 autoconf-time if not.
38764 * configure.in: Remove AC_PREREQ.
38765
d7d08bde
TMQMF
387662012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38767
38768 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
38769 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
38770 of the internal implementation.
38771
dcdae19a
JM
387722012-11-02 Joseph Myers <joseph@codesourcery.com>
38773
38774 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
38775 except include of <misc/sys/syslog.h>.
38776
d6cffd3e
AS
387772012-11-01 Andreas Schwab <schwab@linux-m68k.org>
38778
38779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
38780 function returns with a NULL context exit with zero.
38781
b3563932
TMQMF
387822012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38783
38784 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
38785
b288a93d
L
387862012-11-01 H.J. Lu <hongjiu.lu@intel.com>
38787
38788 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
38789 (run_program_cmd): This.
38790 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
38791 (tst_langinfo): New variable. Use it.
38792
a2421a68
SAS
387932012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
38794
38795 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
38796 floating point opcodes.
38797
6f796e1b
TS
387982012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38799
7402596b
TS
38800 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
38801 variable.
38802
d0d4f868
TS
38803 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
38804
6f796e1b
TS
38805 * sysdeps/mach/hurd/powerpc: Remove directory.
38806 * sysdeps/mach/powerpc: Likewise.
38807
4da224a2
AS
388082012-11-01 Andreas Schwab <schwab@linux-m68k.org>
38809
38810 * scripts/check-local-headers.sh: Ignore c++ headers.
38811
341dd673
TS
388122012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38813
38814 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
38815 __libc_cleanup_region_start argument.
38816
473611b2
JM
388172012-11-01 Joseph Myers <joseph@codesourcery.com>
38818
38819 [BZ #14784]
38820 [BZ #14785]
38821 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
38822 x * y using scaling, not as x * y + z.
38823 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38824 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38825 * math/libm-test.inc (fma_test): Add more tests.
38826 (fma_test_towardzero): Likewise.
38827 (fma_test_downward): Likewise.
38828 (fma_test_upward): Likewise.
38829
4078da3d
TS
388302012-11-01 Thomas Schwinge <thomas@codesourcery.com>
38831
38832 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
38833
903252aa
JM
388342012-10-31 Joseph Myers <joseph@codesourcery.com>
38835
38836 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
38837 New variable.
38838
cbc818d0
TS
388392012-10-31 Thomas Schwinge <thomas@codesourcery.com>
38840
38841 * rt/tst-shm.c (worker): Correct checking for mmap failure.
38842
5a03cb1e
AS
388432012-10-31 Andreas Schwab <schwab@linux-m68k.org>
38844
38845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38846 Fix sort order.
38847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38848 Likewise.
38849
90aff2ff
TMQMF
388502012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38851
38852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38853 Fix the order of the list for glibc 2.17.
38854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38855 Likewise.
38856
1818fcb7
AS
388572012-10-31 Andreas Schwab <schwab@linux-m68k.org>
38858
38859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38860
ef82f4da
JM
388612012-10-31 Joseph Myers <joseph@codesourcery.com>
38862
16a0e2ec
JM
38863 [BZ #14610]
38864 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
38865 for low part of x being zero before using __atanl (y).
38866 * math/libm-test.inc (atan2_test): Add another test.
38867
0eb69512
JM
38868 * manual/install.texi (Configuring and compiling): Document
38869 general use of test-wrapper and test-wrapper-env.
38870 * INSTALL: Regenerated.
38871
ef82f4da
JM
38872 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
38873 (__fma): Do not extract and scale down low bits on after-rounding
38874 systems when result rounded to normal precision would have normal
38875 exponent.
38876 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
38877 (__fmal): Do not extract and scale down low bits on after-rounding
38878 systems when result rounded to normal precision would have normal
38879 exponent.
38880 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
38881 (__fmal): Do not extract and scale down low bits on after-rounding
38882 systems when result rounded to normal precision would have normal
38883 exponent.
38884 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
38885 macro.
38886 (fma_test): Add more tests.
38887 (fma_test_towardzero): Likewise.
38888 (fma_test_downward): Likewise.
38889 (fma_test_upward): Likewise.
38890
954ef0d9
L
388912012-10-30 H.J. Lu <hongjiu.lu@intel.com>
38892
38893 * sysdeps/i386/tininess.h: Renamed to ...
38894 * sysdeps/x86/tininess.h: This.
38895 * sysdeps/x86_64/tininess.h: Removed.
38896
df61ffb2
JM
388972012-10-30 Joseph Myers <joseph@codesourcery.com>
38898
38899 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
38900 input. Use $(build-program-cmd).
38901 ($(objpfx)tst-array1-static.out): Likewise.
38902 ($(objpfx)tst-array2.out): Likewise.
38903 ($(objpfx)tst-array3.out): Likewise.
38904 ($(objpfx)tst-array4.out): Likewise.
38905 ($(objpfx)tst-array5.out): Likewise.
38906 ($(objpfx)tst-array5-static.out): Likewise.
38907
01767843
CM
389082012-10-30 Chris Metcalf <cmetcalf@tilera.com>
38909
47cc1490
CM
38910 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
38911 if defined.
38912
01767843
CM
38913 * nss/nsswitch.h (nss_interface_function): Provide new
38914 macro for use with NSS functions.
38915 * grp/initgroups.c: Use new macro.
38916 * nss/getXXbyYY.c: Likewise.
38917 * nss/getXXbyYY_r.c: Likewise.
38918 * nss/getXXent.c: Likewise.
38919 * nss/getXXent_r.c: Likewise.
38920 * sysdeps/posix/getaddrinfo.c: Likewise.
38921
8321aa97
AJ
389222012-10-30 Andreas Jaeger <aj@suse.de>
38923
38924 * po/ru.po: Update Russion translation from translation project.
38925
2a27fd6d
JM
389262012-10-30 Joseph Myers <joseph@codesourcery.com>
38927
8627a232
JM
38928 [BZ #14152]
38929 [BZ #14783]
38930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
38931 result and shift together with sticky bit instead of replicating
38932 round-to-nearest rounding.
38933 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38934 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38935 * math/libm-test.inc (fma_test): Add more tests. Do not permit
38936 missing underflow exceptions.
38937 (fma_test_towardzero): Add more tests.
38938 (fma_test_downward): Likewise.
38939 (fma_test_upward): Likewise.
38940
2a27fd6d
JM
38941 [BZ #14047]
38942 * sysdeps/generic/tininess.h: New file.
38943 * sysdeps/i386/tininess.h: Likewise.
38944 * sysdeps/sh/tininess.h: Likewise.
38945 * sysdeps/x86_64/tininess.h: Likewise.
38946 * stdlib/tst-strtod-underflow.c: Likewise.
38947 * stdlib/tst-tininess.c: Likewise.
38948 * stdlib/strtod_l.c: Include <tininess.h>.
38949 (round_and_return): Do not set errno for exact underflow cases.
38950 Force an underflow exception when setting errno for underflow.
38951 Determine underflow based on rounding to normal precision if
38952 TININESS_AFTER_ROUNDING.
38953 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
38954 ERANGE for exact underflow cases.
38955 * stdlib/Makefile (tests): Add tst-tininess and
38956 tst-strtod-underflow.
38957 ($(objpfx)tst-tininess): Use $(link-libm).
38958 ($(objpfx)tst-strtod-underflow): Likewise.
38959
e7170363
AJ
389602012-10-30 Andreas Jaeger <aj@suse.de>
38961
e5088dc6
AJ
38962 [BZ#14767]
38963 * elf/Makefile (tests): Remove conditional for have-initfini-array
38964 since this is now always required and the variable does not exist
38965 anymore.
38966 (tests-static): Likewise.
38967 (modules-names): Likewise.
38968
e7170363 38969 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
38970
38971 * elf/tst-array1.c (fini_array): Make writeable so that it can be
38972 merged with constructor/destructor.
38973 (init_array): Likewise.
38974 * elf/tst-array2dep.c (fini_array): Likewise.
38975 (init_array): Likewise.
38976
60457d8a
MF
389772012-10-29 Mike Frysinger <vapier@gentoo.org>
38978
38979 * manual/message.texi: Delete @cartouche tags.
38980
8bece752
PT
389812012-10-29 Pino Toscano <toscano.pino@tiscali.it>
38982
94ce799f
PT
38983 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
38984 EOPNOTSUPP.
38985 * sysdeps/mach/hurd/fsync.c: Likewise.
38986
8bece752
PT
38987 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
38988 [_POSIX_REALTIME_SIGNALS]: Change condition to
38989 [_POSIX_REALTIME_SIGNALS > 0].
38990
86ebe6b1
AJ
389912012-10-27 Andreas Jaeger <aj@suse.de>
38992
38993 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
38994 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
38995 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
38996 [__WORDSIZE != 64]: Likewise.
38997
54399c08
L
389982012-10-26 H.J. Lu <hongjiu.lu@intel.com>
38999
39000 * iconvdata/tst-table.sh: Remove ${SHELL}.
39001 * iconvdata/tst-tables.sh: Likewise.
39002
e2211bed
DM
390032012-10-25 David S. Miller <davem@davemloft.net>
39004
39005 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39006 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39007 of strtoull.
39008
f303f97c
DM
39009 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39010 ifunc-impl-list.c
39011 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39012 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39013 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39014 file.
39015
1e9d84cd
RM
390162012-10-25 Roland McGrath <roland@hack.frob.com>
39017
39018 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39019 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39020 __getdirentries.
39021
df381762
JM
390222012-10-25 Joseph Myers <joseph@codesourcery.com>
39023 Jim Blandy <jimb@codesourcery.com>
39024
39025 * scripts/cross-test-ssh.sh: New file.
39026 * manual/install.texi (Configuring and compiling): Document use of
39027 cross-test-ssh.sh.
39028 * INSTALL: Regenerated.
39029
bff64913
PT
390302012-10-25 Pino Toscano <toscano.pino@tiscali.it>
39031
39032 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
39033 EOPNOTSUPP.
39034
25fe8932
JM
390352012-10-25 Joseph Myers <joseph@codesourcery.com>
39036
39037 * Makeconfig (run-program-prefix): Fix comment.
39038
cc1290d0
JM
390392012-10-24 Joseph Myers <joseph@codesourcery.com>
39040 Jim Blandy <jimb@codesourcery.com>
39041
39042 * Makeconfig (test-wrapper): New variable,
39043 (test-wrapper-env): Likewise.
39044 [$(cross-compiling) = yes && $(test-wrapper) != ""]
39045 (run-built-tests): Define to yes.
39046 (run-program-prefix): Use $(test-wrapper).
39047 (built-program-cmd): Likewise.
39048 * Rules (make-test-out): Use $(test-wrapper-env) and
39049 $(host-built-program-cmd).
39050 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
39051 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
39052 tst-pathopt.sh.
39053 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
39054 $(test-wrapper-env) to tst-rtld-load-self.sh.
39055 ($(objpfx)order2.out): Use $(test-wrapper).
39056 ($(objpfx)tst-initorder.out): Likewise.
39057 ($(objpfx)tst-initorder2.out): Likewise.
39058 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
39059 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
39060 (test_wrapper_env): New variable. Use it to run ld.so.
39061 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
39062 Use it to run ld.so.
39063 (test_wrapper_env): Likewise.
39064 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
39065 $(test-wrapper) to run-iconv-test.sh.
39066 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
39067 (ICONV): Use $test_wrapper.
39068 * posix/Makefile ($(objpfx)globtest.out): Pass
39069 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
39070 globtest.sh, not $(run-program-prefix).
39071 * posix/globtest.sh (run_via_rtld_prefix): New variable.
39072 (test_wrapper): Likewise.
39073 (test_wrapper_env): Likewise. Use it to run globtest with HOME
39074 set together with run_via_rtld_prefix.
39075 (run_program_prefix): Define in terms of test_wrapper and
39076 run_via_rtld_prefix.
39077
6e6249d0
RM
390782012-10-24 Roland McGrath <roland@hack.frob.com>
39079
39080 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
39081 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
39082 Targets removed.
39083
39084 [BZ #14743]
39085 * include/time.h: Remove librt_hidden_proto (clock_gettime).
39086 Declare __clock_getres, __clock_gettime, __clock_settime,
39087 __clock_nanosleep, and __clock_getcpuclockid.
39088 * rt/clock_gettime.c: Define __clock_gettime as an alias.
39089 Remove librt_hidden_def (clock_gettime).
39090 * sysdeps/unix/clock_gettime.c: Likewise.
39091 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
39092 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39093 * rt/clock_getres.c: Define __clock_getres as an alias.
39094 * sysdeps/posix/clock_getres.c: Likewise.
39095 * rt/clock_settime.c: Define __clock_settime as an alias.
39096 * sysdeps/unix/clock_settime.c: Likewise.
39097 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
39098 * sysdeps/unix/clock_nanosleep.c: Likewise.
39099 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39100 * rt/clock-compat.c: New file.
39101 * rt/Makefile (librt-routines): Add clock-compat and move
39102 $(clock-routines) to ...
39103 (routines): ... here, new variable.
39104 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
39105 Don't add get_clockfreq here.
39106 * rt/Versions (libc: GLIBC_2.17): New version set.
39107 Add clock_* symbols here.
39108 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
39109 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
39110 (GLIBC_2.17): Add clock_* symbols.
39111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39113 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39115 Likewise.
39116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39117 Likewise.
39118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39122 * NEWS: Mention the move.
39123
39124 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39125 Use __open, __read, __close rather than their public counterparts.
39126 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39127 (__get_clockfreq_via_cpuinfo): Likewise.
39128 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
39129 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39130
39131 * config.h.in (HAVE_IFUNC): New #undef.
39132 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39133 was successful.
39134 * configure: Regenerated.
39135
0cae3f4b
MF
391362012-10-24 Mike Frysinger <vapier@gentoo.org>
39137
39138 * configure.in: Move READELF check to start of file.
39139 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
39140 libc_cv_asm_gnu_indirect_function in the process.
39141 * configure: Regenerated.
39142
8175a253
MF
391432012-10-24 Mike Frysinger <vapier@gentoo.org>
39144
39145 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
39146 send the output to /dev/null.
39147 (libc_cv_cc_with_libunwind): Likewise.
39148 (libc_cv_as_noexecstack): Likewise.
39149 * configure: Regenerate.
39150
0708a7d1
JM
391512012-10-24 Joseph Myers <joseph@codesourcery.com>
39152
10b40d85
JM
39153 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
39154
0708a7d1
JM
39155 * posix/globtest.sh (TMPDIR): Do not set.
39156 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
39157 (testout): Likewise.
39158
9fddec1a
AJ
391592012-10-24 Andreas Jaeger <aj@suse.de>
39160
3a8db22f
AJ
39161 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
39162 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
39163 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
39164 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
39165 posix_fadvise64, posix_fallocate64.
39166
9fddec1a
AJ
39167 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
39168 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
39169 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
39170 Likewise.
39171 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
39172 Likewise.
39173 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
39174
39175 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
39176 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
39177 <bits/fcntl-linux.h>.
39178 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
39179
39180 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
39181 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
39182 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
39183 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
39184 [__WORDSIZE != 64]: Likewise.
39185
ebfd1bbd
JM
391862012-10-23 Joseph Myers <joseph@codesourcery.com>
39187
03ac099f
JM
39188 * Makeconfig (run-built-tests): New variable.
39189 * Rules [$(cross-compiling) = yes]: Change condition to
39190 [$(run-built-tests) = no].
39191 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39192 to [$(run-built-tests) = yes].
39193 * elf/Makefile [$(cross-compiling) = no]: Likewise
39194 * grp/Makefile [$(cross-compiling) = no]: Likewise.
39195 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39196 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39197 * intl/Makefile [$(cross-compiling) = no]: Likewise.
39198 * io/Makefile [$(cross-compiling) = no]: Likewise.
39199 * libio/Makefile [$(cross-compiling) = no]: Likewise.
39200 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39201 * misc/Makefile [$(cross-compiling) = no]: Likewise.
39202 * posix/Makefile [$(cross-compiling) = no]: Likewise.
39203 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39204 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39205 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39206 * string/Makefile [$(cross-compiling) = no]: Likewise.
39207
ebfd1bbd
JM
39208 * posix/Makefile ($(objpfx)globtest.out): Pass
39209 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39210 $(rtld-installed-name).
39211 * posix/globtest.sh (elf_objpfx): Remove variable.
39212 (rtld_installed_name): Likewise.
39213 (library_path): Likewise.
39214 (run_program_prefix): New variable. Use for running globtest
39215 binary.
39216
166bca24
JB
392172012-10-23 Jim Blandy <jimb@codesourcery.com>
39218 Joseph Myers <joseph@codesourcery.com>
39219
39220 * Makeconfig (host-built-program-cmd): New variable.
39221 * elf/Makefile (tst-stackguard1-ARGS): Use
39222 $(host-built-program-cmd).
39223 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39224 (tst-spawn-ARGS): Likewise.
39225 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39226
88866099
JM
392272012-10-23 Joseph Myers <joseph@codesourcery.com>
39228 Jim Blandy <jimb@codesourcery.com>
39229
39230 * Makeconfig (run-via-rtld-prefix): New variable.
39231 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39232 (built-program-cmd): Likewise.
39233
b4b4c296
AJ
392342012-10-22 Andreas Jaeger <aj@suse.de>
39235
39236 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39237 __O_RSYNC if it exists, otherwise to O_SYNC.
39238
6fb54a22
JB
392392012-10-22 Jim Blandy <jimb@codesourcery.com>
39240 Joseph Myers <joseph@codesourcery.com>
39241
39242 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39243 /dev/null.
39244 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39245 from /dev/null
39246 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39247 /dev/null.
39248
481b90b9
AJ
392492012-10-22 Andreas Jaeger <aj@suse.de>
39250
2a0e2669
AJ
39251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39252 Define always.
39253 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39254
76e38f9a
AJ
39255 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39256 bits/fcntl-linux.h.
39257
7cd37b43
AJ
39258 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39259 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39260
481b90b9
AJ
39261 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39262 to __O_LARGEFILE.
39263 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39264 to __O_LARGEFILE.
39265
aba75984
JB
392662012-10-21 Jim Blandy <jimb@codesourcery.com>
39267 Joseph Myers <joseph@codesourcery.com>
39268
39269 * config.make.in (NM): New variable.
39270
88d4247f
AJ
392712012-10-21 Andreas Jaeger <aj@suse.de>
39272
39273 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39274 definitions and declarations that are provided by
39275 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39276
f2eed205
L
392772012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39278
39279 [BZ #14683]
39280 * elf/Makefile (tests-static): Add tst-leaks1-static.
39281 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39282 ($(objpfx)tst-leaks1-static): New rule.
39283 ($(objpfx)tst-leaks1-static-mem): Likewise.
39284 (tst-leaks1-static-ENV): New macro.
39285 * elf/dl-open.c (dl_open_worker): Check the main application
39286 only if SHARED is defined.
39287 * elf/tst-leaks1-static.c: New file.
39288
335e6931
AJ
392892012-10-20 Andreas Jaeger <aj@suse.de>
39290
39291 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39292 generic values for Linux.
39293 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39294 and declarations that are provided by <bits/fcntl-linux.h> and
39295 include <bits/fcntl-linux.h>.
39296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39297 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39298
ac5c94d3
RM
392992012-10-20 Roland McGrath <roland@hack.frob.com>
39300
39301 * io/fcntl.h: Move include of <bits/types.h> to the top and
39302 include it unconditionally.
39303
de54b33a
L
393042012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39305
228cfb01
L
39306 * wcsmbs/Makefile (tests-ifunc): New variable.
39307 (tests): Add $(tests-ifunc).
39308 * wcsmbs/test-wcschr-ifunc.c: New file.
39309 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39310 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39311 * wcsmbs/test-wcslen-ifunc.c: Likewise.
39312 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39313 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39314
69f07e5f
L
39315 * string/Makefile (tests-ifunc): New variable.
39316 (tests): Add $(tests-ifunc).
39317 * string/test-memccpy.c (TEST_NAME): New macro.
39318 * string/test-memchr.c (TEST_NAME): Likewise.
39319 * string/test-memcmp.c (TEST_NAME): Likewise.
39320 * string/test-memcpy.c (TEST_NAME): Likewise.
39321 * string/test-memmem.c (TEST_NAME): Likewise.
39322 * string/test-memmove.c (TEST_NAME): Likewise.
39323 * string/test-memset.c (TEST_NAME): Likewise.
39324 * string/test-rawmemchr.c (TEST_NAME): Likewise.
39325 * string/test-stpcpy.c (TEST_NAME): Likewise.
39326 * string/test-stpncpy.c (TEST_NAME): Likewise.
39327 * string/test-strcasecmp.c (TEST_NAME): Likewise.
39328 * string/test-strcasestr.c (TEST_NAME): Likewise.
39329 * string/test-strcat.c (TEST_NAME): Likewise.
39330 * string/test-strchr.c (TEST_NAME): Likewise.
39331 * string/test-strcmp.c(TEST_NAME): Likewise.
39332 * string/test-strcpy.c (TEST_NAME): Likewise.
39333 * string/test-strcspn.c (TEST_NAME): Likewise.
39334 * string/test-strlen.c (TEST_NAME): Likewise.
39335 * string/test-strncasecmp.c (TEST_NAME): Likewise.
39336 * string/test-strncmp.c (TEST_NAME): Likewise.
39337 * string/test-strncpy.c (TEST_NAME): Likewise.
39338 * string/test-strnlen.c (TEST_NAME): Likewise.
39339 * string/test-strpbrk.c (TEST_NAME): Likewise.
39340 * string/test-strrchr.c (TEST_NAME): Likewise.
39341 * string/test-strspn.c (TEST_NAME): Likewise.
39342 * string/test-strstr.c (TEST_NAME): Likewise.
39343 * string/test-bcopy-ifunc.c: New file.
39344 * string/test-bzero-ifunc.c: Likewise.
39345 * string/test-memccpy-ifunc.c: Likewise.
39346 * string/test-memchr-ifunc.c: Likewise.
39347 * string/test-memcmp-ifunc.c: Likewise.
39348 * string/test-memcpy-ifunc.c: Likewise.
39349 * string/test-memmem-ifunc.c: Likewise.
39350 * string/test-memmove-ifunc.c: Likewise.
39351 * string/test-mempcpy-ifunc.c: Likewise.
39352 * string/test-memset-ifunc.c: Likewise.
39353 * string/test-rawmemchr-ifunc.c: Likewise.
39354 * string/test-stpcpy-ifunc.c: Likewise.
39355 * string/test-stpncpy-ifunc.c: Likewise.
39356 * string/test-strcasecmp-ifunc.c: Likewise.
39357 * string/test-strcasestr-ifunc.c: Likewise.
39358 * string/test-strcat-ifunc.c: Likewise.
39359 * string/test-strchr-ifunc.c: Likewise.
39360 * string/test-strchrnul-ifunc.c: Likewise.
39361 * string/test-strcmp-ifunc.c: Likewise.
39362 * string/test-strcpy-ifunc.c: Likewise.
39363 * string/test-strcspn-ifunc.c: Likewise.
39364 * string/test-strlen-ifunc.c: Likewise.
39365 * string/test-strncasecmp-ifunc.c: Likewise.
39366 * string/test-strncat-ifunc.c: Likewise.
39367 * string/test-strncmp-ifunc.c: Likewise.
39368 * string/test-strncpy-ifunc.c: Likewise.
39369 * string/test-strnlen-ifunc.c: Likewise.
39370 * string/test-strpbrk-ifunc.c: Likewise.
39371 * string/test-strrchr-ifunc.c: Likewise.
39372 * string/test-strspn-ifunc.c: Likewise.
39373 * string/test-strstr-ifunc.c: Likewise.
39374
de54b33a
L
39375 * debug/Makefile (tests-ifunc): New variable.
39376 (tests): Add $(tests-ifunc).
39377 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39378 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39379 * debug/test-stpcpy_chk-ifunc.c: New file.
39380 * debug/test-strcpy_chk-ifunc.c: Likewise.
39381
88481c16
SP
393822012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39383
39384 [BZ #13601]
39385 * elf/dl-load.c (open_verify): Retry read if the entire ELF
39386 header is not read in.
39387
135948bd
JM
393882012-10-19 Joseph Myers <joseph@codesourcery.com>
39389
89f1c388
JM
39390 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
39391 script to $(SHELL) as $<. Pass $(common-objpfx) to script
39392 directly. Pass built executable to script as
39393 $(built-program-cmd).
39394 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
39395 $testprogram without using LD_LIBRARY_PATH and $ldso.
39396
e40a0d21
JM
39397 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39398 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39399 $(rtld-installed-name).
39400 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39401 (rtld_installed_name): Likewise.
39402 (library_path): Likewise.
39403 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
39404 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39405 $(run-program-prefix) to tst-tables.sh.
39406 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
39407 it to run tst-table-from and tst-table-to.
39408 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39409 Pass it to tst-table.sh.
39410 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39411 $(run-program-prefix) to tst-gettext.sh.
39412 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39413 tst-translit.sh.
39414 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39415 tst-gettext2.sh.
39416 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
39417 to run tst-gettext.
39418 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
39419 to run tst-gettext2.
39420 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
39421 to run tst-translit.
39422 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39423 $(run-program-prefix) to tst-mtrace.sh.
39424 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
39425 to run tst-mtrace.
39426 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39427 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39428 $(rtld-installed-name).
39429 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39430 (rtld_installed_name): Likewise.
39431 (run_program_prefix): New variable. Use it to run wordexp-test.
39432
728e272a
JM
39433 * Makeconfig (ARCH): Remove all definitions.
39434 (machine): Likewise.
39435 [ARCH]: Remove conditional code.
39436 [!objdir]: Give error.
39437 [!objdir] (objpfx): Remove.
39438 [!objdir] (common-objpfx): Likewise.
39439 [!objdir] (common-objdir): Likewise.
39440 * configure.in (config_makefile): Remove. Hardcode Makefile in
39441 AC_CONFIG_FILES call.
39442 * configure: Regenerated.
39443
d528cdcf
JM
39444 [BZ #13888]
39445 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
39446 or TMPDIR.
39447 (testout): Likewise.
39448
135948bd
JM
39449 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
39450 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
39451 $(rtld-installed-name).
39452 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
39453 (rtld_installed_name): Likwise.
39454 (runit): Remove function.
39455 (run_getconf): New variable, Use it for running getconf binary.
39456
38c78296
L
394572012-10-18 H.J. Lu <hongjiu.lu@intel.com>
39458
39459 [BZ #14716]
39460 * string/test-memmem.c (check_result): New function.
39461 (do_one_test): Use it.
39462 (check1): New function.
39463 (test_main): Use it.
39464
d077f65f
MT
394652012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
39466
39467 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
39468
ced52c71
JM
394692012-10-18 Joseph Myers <joseph@codesourcery.com>
39470
39471 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
39472 (_G_LSEEK64): Likewise.
39473 (_G_MMAP64): Likewise.
39474 (_G_FSTAT64): Likewise.
39475 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
39476 (_G_LSEEK64): Likewise.
39477 (_G_MMAP64): Likewise.
39478 (_G_FSTAT64): Likewise.
39479 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
39480 unconditional. Call __mmap64 directly.
39481 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
39482 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
39483 __lseek64 directly.
39484 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
39485 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
39486 __mmap64 directly.
39487 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
39488 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
39489 __lseek64 directly.
39490 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
39491 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
39492 __lseek64 directly.
39493 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
39494 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
39495 __lseek64 directly.
39496 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
39497 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
39498 __fxstat64 directly.
39499 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
39500 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
39501 unconditional.
39502 (freopen64) [!_G_OPEN64]: Remove conditional code.
39503 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
39504 unconditional.
39505 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
39506 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
39507 unconditional.
39508 (ftello64) [!_G_LSEEK64]: Remove conditional code.
39509 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
39510 unconditional.
39511 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39512 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
39513 unconditional.
39514 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
39515 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
39516 unconditional.
39517 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39518 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
39519 unconditional.
39520 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39521 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
39522 unconditional.
39523 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39524
b741de23
SP
395252012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39526
39527 [BZ #12140]
39528 * manual/memory.texi (Malloc Tunable Parameters): Add note
39529 about free list pointers overwriting some perturb bytes.
39530 Wording suggested by Roland McGrath.
39531
f9b9d9c9
JM
395322012-10-17 Joseph Myers <joseph@codesourcery.com>
39533
39534 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
39535 (lgamma_test): Likewise.
39536 (tgamma_test): Likewise.
39537
172a631a
FW
395382012-10-16 Florian Weimer <fweimer@redhat.com>
39539
39540 [BZ #14700]
39541 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
39542 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
39543
e9f37252
MK
395442012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
39545
39546 * NEWS: Mention BZ #14716.
39547 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
39548 when removing AVAILABLE1_USES_J macro.
39549
d394eb74
L
395502012-10-12 H.J. Lu <hongjiu.lu@intel.com>
39551
39552 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
39553 (__bswap_64): __uint64_t for unsigned 64-bit int.
39554
ca38dc17
AS
395552012-10-12 Andreas Schwab <schwab@linux-m68k.org>
39556
39557 * include/string.h (memmem): Declare libc hidden alias.
39558 * string/memmem.c (memmem): Define libc hidden alias.
39559 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
39560 __read, __close instead of open, read, close.
39561
9a387d1f
L
395622012-10-11 H.J. Lu <hongjiu.lu@intel.com>
39563
ac49ecaf
L
39564 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
39565 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
39566 global and hidden.
39567 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
39568 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
39569 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
39570 Likewise.
39571 (__rawmemchr_sse2): Likewise.
39572 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
39573 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
39574 (__strchr_sse2): Likewise.
39575 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
39576 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
39577 (__strcasecmp_sse2): Likewise.
39578 (__strncasecmp_sse2): Likewise.
39579 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
39580 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
39581 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
39582 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
39583 (__strrchr_sse2): Likewise.
39584 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
39585 ifunc-impl-list.c.
39586 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39587 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39588 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39589 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39590 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39591 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39592 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39593 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39594 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
39595 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
39596 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
39597 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
39598 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
39599 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39600 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39601 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39602 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39603 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39604 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
39605 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
39606 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
39607 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
39608 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
39609 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39610 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
39611 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39612 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39613 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39614 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39615 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39616
b090e8ea
L
39617 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
39618 global and hidden.
39619 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
39620 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
39621 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
39622 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
39623 Likewise.
39624 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
39625 Likewise.
39626 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
39627 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
39628 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
39629 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
39630 ifunc-impl-list.c.
39631 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39632 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39633 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39634 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39635 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39636 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39637 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39638 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39639 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39640 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39641 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39642 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39643 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39644 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
39645 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
39646 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39647 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
39648 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
39649 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39650 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39651 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39652 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39653 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39654 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39655 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39656 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
39657 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
39658 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
39659 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
39660 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39661 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
39662 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39663 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39664 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
39665 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39666 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39667 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39668 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39669 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39670 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39671 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
39672
11dd4af6
L
39673 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
39674 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
39675 * include/ifunc-impl-list.h: New file.
39676 * misc/ifunc-impl-list.c: Likewise.
39677 * misc/Makefile (routines): Add ifunc-impl-list.
39678 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
39679 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
39680 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
39681 TEST_NAME]: New variables.
11dd4af6
L
39682 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
39683 are defined.
39684 (test_init): Call __libc_ifunc_impl_list to initialize
39685 func_list if TEST_IFUNC and TEST_NAME are defined.
39686
9a387d1f
L
39687 * string/Makefile (strop-tests): Add bcopy and bzero.
39688 * string/test-bcopy.c: New file.
39689 * string/test-bzero.c: Likewise.
39690 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
39691 defined.
39692 * string/test-memset.c: Support bzero test if TEST_BZERO is
39693 defined.
39694 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
39695 __libc_memmove.
39696 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
39697 __libc_memset.
39698 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
39699 of memset.
39700
472371b9
JM
397012012-10-10 Joseph Myers <joseph@codesourcery.com>
39702
1e4a9536
JM
39703 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
39704 * configure: Regenerated.
39705
d173d12e
JM
39706 * Makeconfig (+link-static-before-libc): Don't include
39707 $(link-static-libc).
39708
472371b9
JM
39709 * libio/libio.h (_IO_pos_t): Remove.
39710
89a3ad0b
AO
397112012-10-10 Alexandre Oliva <aoliva@redhat.com>
39712
39713 * NEWS: Add note about FIPS mode. Wording suggested by Roland
39714 McGrath.
39715
e7451425
AO
397162012-10-10 Alexandre Oliva <aoliva@redhat.com>
39717
39718 * crypt/crypt-entry.c: Include fips-private.h.
39719 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
39720 * crypt/md5c-test.c (main): Tolerate disabled MD5.
39721 * sysdeps/unix/sysv/linux/fips-private.h: New file.
39722 * sysdeps/generic/fips-private.h: New file, dummy fallback.
39723
4ba74a35
AO
397242012-10-10 Alexandre Oliva <aoliva@redhat.com>
39725
39726 * crypt/crypt-private.h: Include stdbool.h.
39727 (_ufc_setup_salt_r): Return bool.
39728 * crypt/crypt-entry.c: Include errno.h.
39729 (__crypt_r): Return NULL with EINVAL for bad salt.
39730 * crypt/crypt_util.c (bad_for_salt): New.
39731 (_ufc_setup_salt_r): Check that salt is long enough and within
39732 the specified alphabet.
39733 * crypt/badsalttest.c: New file.
39734 * crypt/Makefile (tests): Add it.
39735 ($(objpfx)badsalttest): New.
39736
f96f1242
MK
397372012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
39738
39739 * NEWS: Add entry for BZ #14602.
39740
0e8e0c1c
JM
397412012-10-09 Joseph Myers <joseph@codesourcery.com>
39742
39743 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
39744 type-generic.
39745 * math/libm-test.inc: Update comment listing what functions and
39746 macros are tested.
39747 (isgreater_test): New function.
39748 (isgreaterequal_test): Likewise.
39749 (isless_test): Likewise.
39750 (islessequal_test): Likewise.
39751 (islessgreater_test): Likewise.
39752 (isunordered_test): Likewise.
39753 (main): Call the new functions.
39754
273edc5e
RM
397552012-10-09 Roland McGrath <roland@hack.frob.com>
39756
b8493de0
RM
39757 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
39758 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
39759 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
39760 * sysdeps/i386/configure: Regenerated.
39761 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
39762 * sysdeps/mach/configure: Regenerated.
39763 * sysdeps/mach/hurd/configure: Regenerated.
39764 * sysdeps/powerpc/configure: Regenerated.
39765 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39766 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39767 * sysdeps/s390/s390-32/configure: Regenerated.
39768 * sysdeps/s390/s390-64/configure: Regenerated.
39769 * sysdeps/sh/configure: Regenerated.
39770 * sysdeps/sparc/configure: Regenerated.
39771 * sysdeps/unix/sysv/linux/configure: Regenerated.
39772 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
39773 * sysdeps/x86_64/configure: Regenerated.
39774
273edc5e
RM
39775 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
39776 defined. Don't check if MAP is NULL.
39777
c8450f70
JM
397782012-10-09 Joseph Myers <joseph@codesourcery.com>
39779
39780 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
39781 (_G_stat64): Likewise.
39782 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
39783 (_G_stat64): Likewise.
39784 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
39785 instead of struct _G_stat64.
39786 * libio/fileops.c (mmap_remap_check): Likewise.
39787 (decide_maybe_mmap): Likewise.
39788 (_IO_new_file_seekoff): Likewise.
39789 (_IO_file_stat): Likewise.
39790 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
39791 _G_off64_t.
39792 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
39793 instead of struct _G_stat64.
39794 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39795
57e605ba
MK
397962012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
39797
39798 [BZ #14602]
39799 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39800 Replace with ...
39801 (CHECK_EOL): New macro.
39802 (two_way_short_needle): Check beginning of haystack for EOL. Use
39803 CHECK_EOL.
39804 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39805 Replace with CHECK_EOL.
39806 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39807 Replace with CHECK_EOL.
39808
ef1bb361
JM
398092012-10-08 Joseph Myers <joseph@codesourcery.com>
39810
39811 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
39812 type-generic.
39813 * math/libm-test.inc: Update comment listing what functions and
39814 macros are tested.
39815 (finite_test): New function.
39816 (isinf_test): Likewise.
39817 (isnan_test): Likewise.
39818 (fpclassify_test): Test subnormal input.
39819 (isfinite_test): Likewise.
39820 (isnormal_test): Likewise.
39821 (main): Call the new functions.
39822
55f11534
JN
398232012-10-08 Jonathan Nieder <jrnieder@gmail.com>
39824
39825 [BZ #14660]
39826 * Makerules (%.dynsym): Force C locale when running
39827 $(OBJDUMP) --dynamic-syms.
39828
1ab29350
AS
398292012-10-08 Andreas Schwab <schwab@linux-m68k.org>
39830
39831 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
39832 <stdint.h>.
39833
f1ecb7ef
DM
398342012-10-06 David S. Miller <davem@davemloft.net>
39835
39836 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
39837 upper 32-bits of the length value in %o2 since we use branch-on-register
39838 tests which consider the entire 64-bit register.
39839
5d41d91a
L
398402012-10-06 H.J. Lu <hongjiu.lu@intel.com>
39841
39842 * string/test-strstr.c (check2): Add a test for page boundary.
39843
3baddb72
DM
398442012-10-05 David S. Miller <davem@davemloft.net>
39845
39846 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
39847 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
39848 file.
39849 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39850 sysdep_routines.
39851 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39852 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
39853 and bzero when HWCAP_SPARC_CRYPTO is present.
39854
9cee5585
L
398552012-10-05 H.J. Lu <hongjiu.lu@intel.com>
39856
d7e0dab9
L
39857 [BZ #14602]
39858 * string/test-strstr.c (check2): New function.
39859 (test_main): Call check2.
39860
03759f47
L
39861 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
39862 and bug-strchr1.
39863 * string/bug-strcasestr1.c (do_test): Moved to ...
39864 * string/test-strcasestr.c (check1): Here. New function.
39865 (do_one_test): Break out result checking code into ...
39866 (check_result): This. New function.
39867 (do_one_test): Call check_result.
39868 (test_main): Call check1.
39869 * string/bug-strchr1.c (do_test): Moved to ...
39870 * string/test-strchr.c (check1): Here. New function.
39871 (do_one_test): Break out result checking code into ...
39872 (check_result): This. New function.
39873 (do_one_test): Call check_result.
39874 (test_main): Call check1.
39875 * string/bug-strstr1.c (main): Moved to ...
046f153e 39876 * string/test-strstr.c (check1): Here. New function.
03759f47
L
39877 (do_one_test): Break out result checking code into ...
39878 (check_result): This. New function.
39879 (do_one_test): Call check_result.
39880 (test_main): Call check1.
39881 * string/bug-strcasestr1.c: Removed.
39882 * string/bug-strchr1.c: Likewise.
39883 * string/bug-strstr1.c: Likewise.
39884
53cea63e
L
39885 * elf/Makefile (dl-routines): Add hwcaps.
39886 * elf/dl-support.c (_dl_important_hwcaps): Removed.
39887 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
39888 (_dl_important_hwcaps): Moved to ...
39889 * elf/dl-hwcaps.c: Here. New file.
39890 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
39891
9cee5585 39892 [BZ #14557]
bb859b06
L
39893 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
39894 if IS_IN_rtld isn't defined.
39895
9cee5585
L
39896 * elf/dl-support.c (_dl_sysinfo_map): New.
39897 Include "get-dynamic-info.h" and "setup-vdso.h".
39898 (_dl_non_dynamic_init): Call setup_vdso.
39899 * elf/dynamic-link.h: Don't include <assert.h>.
39900 (elf_get_dynamic_info): Moved to ...
39901 * elf/get-dynamic-info.h: Here. New file.
39902 * elf/dynamic-link.h: Include "get-dynamic-info.h".
39903 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
39904 * elf/setup-vdso.h: Here. New file.
39905 * elf/rtld.c: Include "setup-vdso.h".
39906 (dl_main): Call setup_vdso.
39907
23c31b76
JM
399082012-10-05 Joseph Myers <joseph@codesourcery.com>
39909
28234b07
JM
39910 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
39911 creal in comment listing functions tested. List finite, isinf,
39912 isnan, isless, islessequal, isgreater, isgreaterequal,
39913 islessgreater, isunordered, lgamma_r and pow10 as functions and
39914 macros not tested. Mention which functions not tested are aliases
39915 for other functions. Fix typo. Note that signs of NaNs are not
39916 tested.
39917
23c31b76
JM
39918 * scripts/config.guess: Update from config.git.
39919 * scripts/config.sub: Likewise.
39920
9043e228
RM
399212012-10-04 Roland McGrath <roland@hack.frob.com>
39922
39923 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
39924 * misc/madvise.c (madvise): Renamed to __madvise.
39925 Make madvise a weak alias.
39926 * include/sys/mman.h: Declare __madvise.
39927 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
39928 * sysdeps/unix/syscalls.list
39929 (madvise): Make __madvise the strong name, and madvise a weak alias.
39930 * sysdeps/unix/sysv/linux/syscalls.list
39931 (madvise, mmap): Remove redundant entries.
39932 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
39933 * malloc/malloc.c (mtrim): Likewise.
39934 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
39935
f57f8055
RM
399362012-10-03 Roland McGrath <roland@hack.frob.com>
39937
39938 * sysdeps/mach/hurd/dl-cache.c: File removed.
39939 * config.h.in (USE_LDCONFIG): New #undef.
39940 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
39941 * configure: Regenerated.
39942 * elf/Makefile (dl-routines): Add dl-cache only under
39943 [$(use-ldconfig) = yes].
39944 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
39945 cache on [USE_LDCONFIG].
39946 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
39947 [USE_LDCONFIG].
39948 * elf/rtld.c (dl_main): Likewise.
39949
5bb0c10a
PT
399502012-10-03 Pino Toscano <toscano.pino@tiscali.it>
39951
39952 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
39953 _SC_LEVEL4_CACHE_LINESIZE.
39954
010188c6
RM
399552012-10-03 Roland McGrath <roland@hack.frob.com>
39956
39957 * sysdeps/unix/bsd/confstr.h: File removed.
39958
b6c5ec07
AO
399592012-10-02 Alexandre Oliva <aoliva@redhat.com>
39960
39961 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
39962 sys/sdt-config.h.
39963
408223d4
RM
399642012-10-02 Roland McGrath <roland@hack.frob.com>
39965
39966 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
39967 Make 'mapoff' field ElfW(Off) rather than off_t.
39968
bb9510dc
DL
399692012-10-02 Dmitry V. Levin <ldv@altlinux.org>
39970
fc997c6e
DL
39971 * nscd/Makefile: Remove nscd-cflags and all its users.
39972 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
39973 (CFLAGS-nonlib): Add compiler flags for nscd modules.
39974
bb9510dc
DL
39975 [BZ #10631]
39976 * malloc.c (malloc_printerr): Clarify error message.
39977
05699367
L
399782012-10-02 H.J. Lu <hongjiu.lu@intel.com>
39979
39980 [BZ #14648]
39981 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39982 Set bit_FMA_Usable if FMA is supported.
39983 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
39984 macro.
39985 (bit_FMA4_Usable): Updated.
39986 (index_FMA_Usable): New macro.
39987 (CPUID_FMA): Likewise
39988 (HAS_FMA): Defined with bit_FMA_Usable.
39989
51367701
RM
399902012-10-01 Roland McGrath <roland@hack.frob.com>
39991
39992 * bits/types.h (__swblk_t): Type removed.
39993 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
39994 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
39995 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39996 (__SWBLK_T_TYPE): Likewise.
39997 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39998 (__SWBLK_T_TYPE): Likewise.
39999 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40000 (__SWBLK_T_TYPE): Likewise.
40001 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40002 (__SWBLK_T_TYPE): Likewise.
40003
4d57bf63 400042012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 40005 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
40006
40007 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40008 (xdr_mapname): Use YPMAXMAP as maxsize.
40009 (xdr_peername): Use YPMAXPEER as maxsize.
40010 (xdr_keydat): Use YPAXRECORD as maxsize.
40011 (xdr_valdat): Use YPMAXRECORD as maxsize.
40012
93c65d43
RM
400132012-10-01 Roland McGrath <roland@hack.frob.com>
40014
497a03d6
RM
40015 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40016
93c65d43
RM
40017 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40018 * csu/init-first.c: ... here.
40019 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40020 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40021 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40022 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40023 * sysdeps/i386/init-first.c: File removed.
40024 * sysdeps/sh/init-first.c: File removed.
40025
bec749fd
JM
400262012-10-01 Joseph Myers <joseph@codesourcery.com>
40027
40028 [BZ #14645]
40029 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
40030 if x * y might underflow to zero and z is zero.
40031 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40032 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40033 * math/libm-test.inc (min_subnorm_value): New variable.
40034 (fma_test): Add more tests.
40035 (fma_test_towardzero): Likewise.
40036 (fma_test_downward): Likewise
40037 (fma_test_upward): Likewise.
40038 (initialize): Set min_subnorm_value.
40039
8ec5b013
JM
400402012-09-29 Joseph Myers <joseph@codesourcery.com>
40041
40042 [BZ #14638]
40043 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
40044 0 + 0.
40045 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
40046 mode for addition resulting in exact zero.
40047 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
40048 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
40049 exact 0 + 0.
40050 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40051 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40052 * math/libm-test.inc (fma_test): Add more tests.
40053 (fma_test_towardzero): New function.
40054 (fma_test_downward): Likewise.
40055 (fma_test_upward): Likewise.
40056 (main): Call the new functions.
40057
b1fa802e
DM
400582012-09-28 David S. Miller <davem@davemloft.net>
40059
40060 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
40061
d3b9fd9e
RM
400622012-09-28 Roland McGrath <roland@hack.frob.com>
40063
ea4d37b3
RM
40064 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
40065 instead of SIGALRM.
40066
ac51c949
RM
40067 * sysdeps/gnu/_G_config.h: Moved to ...
40068 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
40069 * sysdeps/mach/hurd/_G_config.h: Moved to ...
40070 * sysdeps/generic/_G_config.h: ... here.
40071
28c195f7
RM
40072 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
40073
848917f9
RM
40074 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
40075
6bacf05b
RM
40076 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
40077 Conditionalize target on [libnss_test1.so-version].
40078
91363dbb
RM
40079 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
40080
cc87f7d8
RM
40081 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
40082 (elfobjdir): Move out of conditionals.
40083
b1c608fe
RM
40084 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
40085 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
40086 (__nss_lookup_function): Conditionalize label remove_from_tree on
40087 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 40088
1d9a6d96
DM
400892012-09-28 David S. Miller <davem@davemloft.net>
40090
40091 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
40092 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
40093 file.
40094 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40095 sysdep_routines.
40096 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40097 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
40098 when HWCAP_SPARC_CRYPTO is present.
40099
72581615
PT
401002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40101
40102 * io/tst-mknodat.c: Create a FIFO instead of a socket.
40103
715a900c
JL
401042012-09-28 Andreas Schwab <schwab@linux-m68k.org>
40105
40106 [BZ #6530]
40107 * stdio-common/vfprintf.c (process_string_arg): Revert
40108 2000-07-22 change.
40109
401102011-09-28 Jonathan Nieder <jrnieder@gmail.com>
40111
40112 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
40113 for testcase.
40114 * stdio-common/tst-sprintf.c: Include <locale.h>
40115 (main): Test sprintf's handling of incomplete multibyte
40116 characters.
40117
9bac1d86
L
401182012-09-28 H.J. Lu <hongjiu.lu@intel.com>
40119
40120 * elf/dl-runtime.c (VERSYMIDX): Removed.
40121 * elf/dl-version.c (VERSYMIDX): Likewise.
40122 * elf/do-rel.h (VERSYMIDX): Likewise.
40123 (VALIDX): Likewise.
40124 * elf/dynamic-link.h (VERSYMIDX): Likewise.
40125 * elf/rtld.c (VALIDX): Likewise.
40126 (ADDRIDX): Likewise.
9bac1d86
L
40127 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
40128 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
40129 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
40130 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40131 (VALIDX): Likewise.
40132 (ADDRIDX): Likewise.
9bac1d86 40133
b31606c0
PT
401342012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40135
40136 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
40137
11541177
JL
401382012-09-28 Dmitry V. Levin <ldv@altlinux.org>
40139
40140 [BZ #11438]
40141 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40142 to global scope.
40143 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
40144 addresses are in the same scope as 192.0.2/24.
40145 * posix/gai.conf: Document new scope table defaults.
40146
adb26fae
SP
401472012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40148
40149 [BZ #5298]
40150 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
40151 for ftell. Compute offsets from write pointers instead.
40152 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40153
4573c6b0
SP
401542012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40155
40156 [BZ #14543]
40157 * libio/Makefile (tests): New test case tst-fseek.
40158 * libio/tst-fseek.c: New test case to verify that fseek/ftell
40159 combination works in wide mode.
40160 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
40161 state when the external buffer state changes.
40162
aa9bbfe6
DM
401632012-09-27 David S. Miller <davem@davemloft.net>
40164
40165 [BZ #14376]
40166 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
40167 pass reloc->r_addend in as the 'high' argument to
40168 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
40169
784421e7
DM
40170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40171
c39bc8b8
PT
401722012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40173
40174 * rt/tst-aio2.c: Include <pthread.h>.
40175 * rt/tst-aio3.c: Likewise.
40176
1ccc2399
SE
401772012-09-27 Steve Ellcey <sellcey@mips.com>
40178
40179 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
40180
31ed4153
L
401812012-09-27 H.J. Lu <hongjiu.lu@intel.com>
40182
25f5f885
L
40183 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
40184 contents on [SHARED].
31ed4153 40185
b7bfe116
MP
401862012-09-26 Marek Polacek <polacek@redhat.com>
40187
40188 [BZ #14530]
40189 [BZ #13741]
40190 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40191 for C++ and GCC <4.3 as well as for non GCC compilers.
40192
43c4edba
MT
401932012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
40194
40195 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40196
6a1bf82f
RM
401972012-09-25 Roland McGrath <roland@hack.frob.com>
40198
40199 * Makefile.in (all, install): Declare with .PHONY.
40200 Reported by Michael Hope <michael.hope@linaro.org>.
40201
8ad11b9a
TMQMF
402022012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40203
40204 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40205 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40206 system header.
40207 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40208 Likewise.
40209 (sydep_routines): Add the new and the internal functions.
40210 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40211 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40213 (GLIBC_2.17): Add the new function.
40214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40215 (GLIBC_2.17): Likewise.
40216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40217 (GLIBC_2.17): Likewise.
40218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40219 (GLIBC_2.17): Likewise.
40220 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40221
7e2fca8d
AM
402222012-09-25 Alan Modra <amodra@gmail.com>
40223
40224 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40225 Add release barrier before setting once_control to say
40226 initialisation is done. Add hints on lwarx. Use macro in
40227 place of isync.
40228 (clear_once_control): Add release barrier.
40229
b87c4b24
JM
402302012-09-25 Joseph Myers <joseph@codesourcery.com>
40231
d032e0d2
JM
40232 [BZ #13629]
40233 * math/s_clog.c (__clog): Handle more values close to |z| = 1
40234 specially.
40235 * math/s_clog10.c (__clog10): Likewise.
40236 * math/s_clog10f.c (__clog10f): Likewise.
40237 * math/s_clog10l.c (__clog10l): Likewise.
40238 * math/s_clogf.c (__clogf): Likewise.
40239 * math/s_clogl.c (__clogl): Likewise.
40240 * math/Makefile (libm-calls): Add x2y2m1.
40241 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40242 (__x2y2m1): Likewise.
40243 (__x2y2m1l): Likewise.
40244 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40245 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40246 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40247 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40248 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40249 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40250 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40251 * sysdeps/i386/fpu/libm-test-ulps: Update.
40252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40253
b87c4b24
JM
40254 [BZ #14621]
40255 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40256 int as type of variable DEPTH.
40257 (glob): Use size_t instead of int as type of variables NEWCOUNT
40258 and OLD_PATHC.
40259
6d3bf199
LD
402602012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40261
22bf5c17
LD
40262 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40263 Add s_sincosf-sse2.
40264 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40265 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40266 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40267 macros for using routine as __sincosf_ia32.
40268 Use macro for function declaration and weak_alias.
40269 * sysdeps/i386/fpu/libm-test-ulps: Update.
40270
40271 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40272 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40273
40274 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
40275 subnormal argument.
40276 * math/s_cexpf.c (__cexpf): Likewise.
40277 * math/s_csinf.c (__csinf): Likewise.
40278 * math/s_csinhf.c (__csinhf): Likewise.
40279 * math/s_ctanf.c (__ctanf): Likewise.
40280 * math/s_ctanhf.c (__ctanhf): Likewise.
40281 * math/s_ccosh.c (__ccoshf): Likewise.
40282 * math/s_cexp.c (__cexpl): Likewise.
40283 * math/s_csin.c (__csin): Likewise.
40284 * math/s_csinh.c (__csinh): Likewise.
40285 * math/s_ctan.c (__ctan): Likewise.
40286 * math/s_ctanh.c (ctanh): Likewise.
40287 * math/s_ccoshl.c (__ccoshl): Likewise.
40288 * math/s_cexpl.c (__cexpl): Likewise.
40289 * math/s_csinl.c (__csinl): Likewise.
40290 * math/s_csinhl.c (__csinhl): Likewise.
40291 * math/s_ctanl.c (__ctanl): Likewise.
40292 * math/s_ctanhl.c (__ctanhl): Likewise.
40293
203e5603
JM
402942012-09-25 Joseph Myers <joseph@codesourcery.com>
40295
40296 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40297 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40298 (_IO_off_t): Define to __off_t, not _G_off_t.
40299 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40300 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40301 (_IO_wint_t): Define to wint_t, not _G_wint_t.
40302 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40303 type of __dummy and __dummy2 fields.
40304 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40305 (_G_ssize_t): Likewise.
40306 (_G_off_t): Likewise.
40307 (_G_pid_t): Likewise.
40308 (_G_uid_t): Likewise.
40309 (_G_wchar_t): Likewise.
40310 (_G_wint_t): Likewise.
40311 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40312 (_G_ssize_t): Likewise.
40313 (_G_off_t): Likewise.
40314 (_G_pid_t): Likewise.
40315 (_G_uid_t): Likewise.
40316 (_G_wchar_t): Likewise.
40317 (_G_wint_t): Likewise.
40318 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40319 (_G_ssize_t): Likewise.
40320 (_G_off_t): Likewise.
40321 (_G_pid_t): Likewise.
40322 (_G_uid_t): Likewise.
40323 (_G_wchar_t): Likewise.
40324 (_G_wint_t): Likewise.
40325
9fab36eb
SP
403262012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40327
40328 * malloc/arena.c: Include malloc-sysdep.h.
40329 (shrink_heap): Use check_may_shrink_heap to decide if madvise
40330 is sufficient to shrink the heap or an unmap is needed.
40331 * sysdeps/generic/malloc-sysdep.h: New file. Define
40332 new function check_may_shrink_heap.
40333 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
40334 new function check_may_shrink_heap.
40335
2b4f00d1
SP
403362012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40337
40338 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40339 comments.
40340
9a9028b1
DL
403412012-09-24 Dmitry V. Levin <ldv@altlinux.org>
40342
57c69bef
DL
40343 * catgets/test-gencat.sh: Add "set -e".
40344 * elf/tst-pathopt.sh: Likewise.
40345 * grp/tst_fgetgrent.sh: Likewise.
40346 * iconvdata/run-iconv-test.sh: Likewise.
40347 * intl/tst-gettext.sh: Likewise.
40348 * intl/tst-gettext2.sh: Likewise.
40349 * intl/tst-gettext4.sh: Likewise.
40350 * intl/tst-gettext6.sh: Likewise.
40351 * intl/tst-translit.sh: Likewise.
40352 * io/ftwtest-sh: Likewise.
40353 * libio/test-freopen.sh: Likewise.
40354 * malloc/tst-mtrace.sh: Likewise.
40355 * posix/globtest.sh: Likewise.
40356 * posix/tst-getconf.sh: Likewise.
40357 * posix/wordexp-tst.sh: Likewise.
40358 * stdio-common/tst-printf.sh: Likewise.
40359 * stdio-common/tst-unbputc.sh: Likewise.
40360 * stdlib/tst-fmtmsg.sh: Likewise.
40361 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40362 * catgets/Makefile: Do not specify -e option when running
40363 testsuite shell scripts.
40364 * elf/Makefile: Likewise.
40365 * grp/Makefile: Likewise.
40366 * iconvdata/Makefile: Likewise.
40367 * intl/Makefile: Likewise.
40368 * io/Makefile: Likewise.
40369 * libio/Makefile: Likewise.
40370 * malloc/Makefile: Likewise.
40371 * posix/Makefile: Likewise.
40372 * stdio-common/Makefile: Likewise.
40373 * stdlib/Makefile: Likewise.
40374 * sysdeps/x86_64/Makefile: Likewise.
40375
9a9028b1
DL
40376 * io/ftwtest-sh: Add copyright header.
40377 * posix/globtest.sh: Likewise.
40378 * posix/tst-getconf.sh: Likewise.
40379 * posix/wordexp-tst.sh: Likewise.
40380 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40381
ced6f16e
L
403822012-09-24 H.J. Lu <hongjiu.lu@intel.com>
40383
94b32c39
L
40384 [BZ #13679]
40385 * Makeconfig (+link): Defined as $(+link-static) if
40386 $(build-shared) isn't yes.
40387 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40388 isn't yes.
40389 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40390
189e935b
L
40391 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40392
ced6f16e
L
40393 [BZ #14562]
40394 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40395 new chunk size with MALLOC_ALIGN_MASK.
40396
a9f8e53a
JM
403972012-09-24 Joseph Myers <joseph@codesourcery.com>
40398
40399 [BZ #5044]
40400 * stdio-common/printf_fphex.c: Include <stdbool.h> and
40401 <rounding-mode.h>.
40402 (__printf_fphex): Determine rounding using get_rounding_mode and
40403 round_away.
40404 * stdio-common/tst-printf-round.c (struct hex_test): New
40405 structure.
40406 (hex_tests): New variable.
40407 (test_hex_in_one_mode): New function.
40408 (do_test): Also run tests for hex float output.
40409
43153109
JM
404102012-09-21 Joseph Myers <joseph@codesourcery.com>
40411
40412 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40413 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40414 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40415 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40416 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40417 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40418 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40419 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40420
8a26625d
JM
404212012-09-20 Joseph Myers <joseph@codesourcery.com>
40422
40423 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40424 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40425 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40426 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40427
f3fd569c
DL
404282012-09-19 Dmitry V. Levin <ldv@altlinux.org>
40429
40430 [BZ #14579]
40431 * elf/rtld.c (dl_main): Limit the check for self loading to normal
40432 mode only.
40433 * elf/tst-rtld-load-self.sh: New test.
40434 * elf/Makefile: Run it.
40435
63bbedd4
JM
404362012-09-18 Joseph Myers <joseph@codesourcery.com>
40437
40438 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
40439 (tst-writev-ENV): Remove.
40440 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
40441
626f8b6a
CM
404422012-09-17 Chris Metcalf <cmetcalf@tilera.com>
40443
40444 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
40445
b7aaa4d6
JM
404462012-09-17 Joseph Myers <joseph@codesourcery.com>
40447
40448 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
40449 unconditional.
40450 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
40451 Likewise.
40452 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
40453 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
40454 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
40455 Likewise.
40456
65513990
L
404572012-09-14 H.J. Lu <hongjiu.lu@intel.com>
40458
40459 [BZ #14587]
40460 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
40461 * config.make.in (have-cpp-asm-debuginfo): Removed.
40462 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
40463 * configure: Regenerated.
40464
784761be
JM
404652012-09-14 Joseph Myers <joseph@codesourcery.com>
40466
40467 [BZ #5044]
40468 * stdio-common/printf_fp.c: Include <stdbool.h> and
40469 <rounding-mode.h>.
40470 (___printf_fp): Determine rounding using get_rounding_mode and
40471 round_away.
40472 * stdio-common/tst-printf-round.c: New file.
40473 * stdio-common/Makefile (tests): Add tst-printf-round.
40474 (link-libm): New variable.
40475 ($(objpfx)tst-printf-round): Depend in $(link-libm).
40476
9503345f
L
404772012-09-13 H.J. Lu <hongjiu.lu@intel.com>
40478
40479 [BZ #14576]
40480 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
40481 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
40482 Likewise.
40483 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
40484 Likewise.
40485
ad35fc00
JM
404862012-09-13 Joseph Myers <joseph@codesourcery.com>
40487
40488 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
40489 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40490 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40491 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40492
6c9b0f68
JM
404932012-09-12 Joseph Myers <joseph@codesourcery.com>
40494
40495 [BZ #14518]
40496 * include/rounding-mode.h: New file.
40497 * sysdeps/generic/get-rounding-mode.h: Likewise.
40498 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
40499 * stdlib/strtod_l.c: Include <rounding-mode.h>.
40500 (MAX_VALUE): New macro.
40501 (MIN_VALUE): Likewise.
40502 (overflow_value): New function.
40503 (underflow_value): Likewise.
40504 (round_and_return): Use overflow_value and underflow_value to
40505 determine return values in overflow and underflow cases. Use
40506 round_away to determine rounding depending on rounding mode.
40507 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
40508 determine return values in overflow and underflow cases.
40509 * stdlib/tst-strtod-round.c: Include <fenv.h>.
40510 (struct test_results): New structure.
40511 (struct test): Use struct test_results to store expected results
40512 for all rounding modes.
40513 (TEST): Include expected results for all rounding modes.
40514 (test_in_one_mode): New function.
40515 (do_test): Use test_in_one_mode to compute and check results.
40516 Check results for all rounding modes.
40517 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
40518 $(link-libm).
40519
19fcedd5
AM
405202012-12-09 Allan McRae <allan@archlinux.org>
40521
1e9d84cd 40522 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 40523
8bbfd2f1
JM
405242012-09-11 Joseph Myers <joseph@codesourcery.com>
40525
40526 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
40527 (_G_int32_t): Likewise.
40528 (_G_uint16_t): Likewise.
40529 (_G_uint32_t): Likewise.
40530 (_G_HAVE_BOOL): Likewise.
40531 (_G_HAVE_ATEXIT): Likewise.
40532 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40533 (_G_HAVE_IO_FILE_OPEN): Likewise.
40534 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
40535 (_G_int32_t): Likewise.
40536 (_G_uint16_t): Likewise.
40537 (_G_uint32_t): Likewise.
40538 (_G_HAVE_BOOL): Likewise.
40539 (_G_HAVE_ATEXIT): Likewise.
40540 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40541 (_G_HAVE_IO_FILE_OPEN): Likewise.
40542 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
40543 (_G_int32_t): Likewise.
40544 (_G_uint16_t): Likewise.
40545 (_G_uint32_t): Likewise.
40546 (_G_HAVE_BOOL): Likewise.
40547 (_G_HAVE_ATEXIT): Likewise.
40548 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40549 (_G_HAVE_IO_FILE_OPEN): Likewise.
40550
b1dc5912
L
405512012-09-11 H.J. Lu <hongjiu.lu@intel.com>
40552
40553 * csu/libc-tls.c: Update copyright years.
40554
0e886ef9
JM
405552012-09-10 Joseph Myers <joseph@codesourcery.com>
40556
28361c5e
JM
40557 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
40558 [!_G_USING_THUNKS]: Remove conditional code.
40559 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
40560 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
40561
0e886ef9
JM
40562 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
40563 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
40564 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40565 (_G_VTABLE_LABEL_PREFIX): Likewise.
40566 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40567 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40568 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40569 (_G_VTABLE_LABEL_PREFIX): Likewise.
40570 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40571 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40572 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40573 (_G_VTABLE_LABEL_PREFIX): Likewise.
40574 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40575
bcba7aa2
L
405762012-09-10 H.J. Lu <hongjiu.lu@intel.com>
40577
40578 * libio/Makefile: Include ../Makeconfig before tests.
40579 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
40580 only if $(build-shared) is yes.
40581
06585ee8
L
40582 * iconv/gconv_db.c: Update copyright years.
40583
80ccd52c
LD
405842012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40585
40586 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
40587 unwind info if defined PIC. Fix special cases description.
40588 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
40589
40590 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
40591 DP_HI_MASK entry.
40592 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
40593
691bc9c1
L
405942012-09-07 H.J. Lu <hongjiu.lu@intel.com>
40595
3d9b46b3
L
40596 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
40597
de2139a9
L
40598 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
40599 is NULL.
40600
5ca78dd0
L
40601 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
40602 (LDLIBS-tst-chk4): This.
40603 (LDFLAGS-tst-chk5): Renamed to ...
40604 (LDLIBS-tst-chk5): This.
40605 (LDFLAGS-tst-chk6): Renamed to ...
40606 (LDLIBS-tst-chk6): This.
40607 (LDFLAGS-tst-lfschk4): Renamed to ...
40608 (LDLIBS-tst-lfschk4): This.
40609 (LDFLAGS-tst-lfschk5): Renamed to ...
40610 (LDLIBS-tst-lfschk5): This.
40611 (LDFLAGS-tst-lfschk6): Renamed to ...
40612 (LDLIBS-tst-lfschk6): This.
40613
691bc9c1
L
40614 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
40615 on $(common-objpfx)soversions.mk.
40616
65cafb1c
JM
406172012-09-07 Joseph Myers <joseph@codesourcery.com>
40618
40619 [BZ #10014]
40620 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
40621 example host name.
40622
c78ab094
SP
406232012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
40624
40625 * malloc/arena.c (arena_get_retry): New function that gets
40626 another arena for the caller to try its request on.
40627 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
40628 current arena cannot fulfill the request.
40629 (__libc_memalign): Likewise.
40630 (__libc_memalign): Likewise.
40631 (__libc_pvalloc): Likewise.
40632 (__libc_calloc): Likewise.
40633
01f49f59
JT
406342012-09-05 John Tobey <john.tobey@gmail.com>
40635
40636 [BZ #13542]
40637 * manual/arith.texi (Operations on Complex): Fix description
40638 of carg branch cut.
40639
4c23fed5
JM
406402012-09-06 Joseph Myers <joseph@codesourcery.com>
40641
1d3c8572
JM
40642 [BZ #10014]
40643 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
40644 host name.
40645
4c23fed5
JM
40646 [BZ #10038]
40647 * manual/memory.texi (Memory): Make order of menu items match
40648 order of sections.
40649
04570aaa
L
406502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40651
40652 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
40653 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
40654 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
40655
b80af2f4
L
406562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40657
40658 * csu/libc-tls.c (static_dtv): Renamed to ...
40659 (_dl_static_dtv): This. Make it global.
40660 (_dl_initial_dtv): Removed.
40661 (__libc_setup_tls): Updated.
40662 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
40663 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
40664 DL_INITIAL_DTV.
40665
2abe9f15
PM
406662012-09-06 Petr Machata <pmachata@redhat.com>
40667
40668 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
40669 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
40670 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
40671 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
40672
0948c3af
L
406732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40674
40675 [BZ #14545]
40676 * csu/libc-tls.c (_dl_initial_dtv): New variable.
40677 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
40678 freeing dtv[-1].
40679
a5055ad1
L
406802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40681
40682 [BZ #14544]
40683 * Makeconfig (link-static-before-libc): Replace $(+prector)
40684 with $(+prectorT).
40685 (link-static-after-libc): Replace $(+postctor) with
40686 $(+postctorT).
40687 (link-bounded): Replace $(+prector)/$(+postctor) with
40688 $(+prectorT)/$(+postctorT).
40689 (+prectorT): New macro.
40690 (+postctorT): Likewise.
40691
ed8c2ecd
JM
406922012-09-06 Joseph Myers <joseph@codesourcery.com>
40693
40694 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
40695 (round_str): Handle values above the maximum for IBM long double
40696 as inexact.
40697 * stdlib/tst-strtod-round.c (tests): Regenerated.
40698
14c996c8
AK
406992012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40700
40701 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
40702 assembler flag.
40703 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
40704 zarch_nohighgprs around the zarch optimized routines.
40705 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40706 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40707 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
40708 for zarch.
40709
430d6ce6
DM
407102012-09-05 David S. Miller <davem@davemloft.net>
40711
40712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40713
57f41c40
AS
40714 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
40715 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
40716 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
40717 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40718 entries.
40719
24d4e01b
AO
407202012-09-05 Alexandre Oliva <aoliva@redhat.com>
40721
40722 * malloc/arena.c: Fold copyright years.
40723 * malloc/mcheck.c, malloc/memusage.c: Likewise.
40724
61d58174
AO
407252012-09-05 Alexandre Oliva <aoliva@redhat.com>
40726
40727 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
40728
20196a5e
AO
407292012-09-05 Alexandre Oliva <aoliva@redhat.com>
40730
40731 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
40732
5c447383
AO
407332012-09-05 Alexandre Oliva <aoliva@redhat.com>
40734
40735 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
40736 change internal state upon failure.
40737
fad64255
AO
407382012-09-05 Alexandre Oliva <aoliva@redhat.com>
40739
40740 * malloc/mcheck.c (mcheck_check_all): Fix typo.
40741 * malloc/memusage.c (mmap): Likewise.
40742 (mmap64, mremap): Likewise. Adjust name in comment.
40743
1ffb8c90
SP
407442012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40745
40746 * libio/fileops.c: Fix typos in comments.
40747 * libio/oldfileops.c: Likewise.
40748 * libio/wfileops.c: Likewise.
40749
6ef9cc37
SP
407502012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40751
40752 [BZ #1349]
40753 * malloc/Makefile (tests): Add tst-malloc-usable test case.
40754 (tst-malloc-usable-ENV): Set environment for test case.
40755 * malloc/hooks.c (malloc_check_get_size): New function to get
40756 requested size.
40757 * malloc/malloc.c (musable): Use malloc_check_get_size.
40758 * malloc/tst-malloc-usable.c: New test case.
40759
4d038ae3
AS
407602012-09-05 Andreas Schwab <schwab@linux-m68k.org>
40761
40762 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
40763
c4e85184
AM
407642012-09-05 Allan McRae <allan@archlinux.org>
40765
b9dafc56 40766 [BZ #13966]
c4e85184
AM
40767 * configure.in (CXX_SYSINCLUDES): Use compiler output to
40768 determine header location.
40769 * configure: Regenerated.
40770
e1343020
AS
407712012-09-05 Andreas Schwab <schwab@linux-m68k.org>
40772
40773 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
40774 float format.
40775 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
40776 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
40777 format.
e1343020
AS
40778 (test): Regenerate.
40779
0a9f1987
DM
407802012-09-04 David S. Miller <davem@davemloft.net>
40781
40782 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
40783 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
40784 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
40785
29237804
FW
407862012-09-04 Florian Weimer <fweimer@redhat.com>
40787
40788 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
40789 failures.
40790
edb3cb88
FW
40791 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
40792
60160d83
JM
407932012-09-04 Joseph Myers <joseph@codesourcery.com>
40794
40795 [BZ #9914]
40796 * libio/iogetdelim.c: Include <limits.h>.
40797 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
40798 + len + 1 would overflow.
40799
bcd6c8dc
AJ
408002012-09-03 Andreas Jaeger <aj@suse.de>
40801
40802 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40803 * sysdeps/i386/fpu/libm-test-ulps: Update.
40804
4ffffbd2
LD
408052012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40806
40807 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40808 Add s_sinf-sse2, s_conf-sse2.
40809
40810 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
40811 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
40812 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
40813 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
40814
40815 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
40816 for using routine as __sinf_ia32.
40817 Use macro for function declaration and weak_alias.
40818 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
40819 for using routine as __cosf_ia32.
40820 Use macro for function declaration and weak_alias.
40821
40822 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
40823 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
40824
40825 * sysdeps/x86_64/fpu/s_sinf.S: New file.
40826 * sysdeps/x86_64/fpu/s_cosf.S: New file.
40827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40828
40829 * math/libm-test.inc (cos_test): Add more test cases.
40830 (sin_test): Likewise.
40831 (sincos_test): Likewise.
40832
511fa286
AK
408332012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40834
40835 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40836 (IFUNC_RESOLVE): Make pointers to the specialized implementations
40837 hidden.
40838 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40839
5f30cfec
L
408402012-09-02 H.J. Lu <hongjiu.lu@intel.com>
40841
40842 [BZ #14538]
40843 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
40844 first element of the GOT.
40845 (elf_machine_load_address): Return the difference between
40846 the runtime address of _DYNAMIC and elf_machine_dynamic ().
40847
0786794f
AM
408482012-09-01 Allan McRae <allan@archlinux.org>
40849
5f30cfec
L
40850 [BZ #13412]
40851 * configure.in (AWK): Require gawk version 3.0 or later.
40852 * configure: Regenerated.
0786794f 40853
26889eac
JM
408542012-09-01 Joseph Myers <joseph@codesourcery.com>
40855
40856 * sysdeps/unix/sysv/linux/kernel-features.h
40857 (__ASSUME_POSIX_CPU_TIMERS): Remove.
40858 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40859 [__NR_clock_getres]: Make code unconditional.
40860 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
40861 (clock_getcpuclockid): Remove code left unreachable by removal of
40862 conditionals.
40863 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
40864 code unconditional.
40865 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40866 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40867 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
40868 Make code unconditional.
40869 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40870 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40871 * sysdeps/unix/sysv/linux/clock_settime.c
40872 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
40873 conditional code.
40874 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
40875 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40876
d22e28b0
L
408772012-08-29 H.J. Lu <hongjiu.lu@intel.com>
40878
40879 [BZ #14476]
40880 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
40881 scripts/test-installation.pl.
40882
40883 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
40884 and $ld_so_version if it is set.
40885
050af9c4
SP
408862012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
40887
40888 [BZ #14516]
40889 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
40890 failure if reading from procfs failed.
40891 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
40892
ad845c0b
JM
408932012-08-27 Joseph Myers <joseph@codesourcery.com>
40894
40895 * sysdeps/unix/sysv/linux/kernel-features.h
40896 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
40897 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40898 Remove conditional code.
40899 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40900 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
40901 Remove conditional code.
40902 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40903 * sysdeps/unix/sysv/linux/i386/fxstat.c
40904 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40905 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40906 * sysdeps/unix/sysv/linux/i386/fxstatat.c
40907 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40908 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40909 * sysdeps/unix/sysv/linux/i386/lxstat.c
40910 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40911 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40912 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
40913 Remove conditional code.
40914 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40915 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40916 Remove conditional code.
40917 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40918 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
40919 <kernel-features.h>.
40920 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
40921 Remove.
40922 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
40923 Remove conditional code.
40924 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40925 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
40926 Remove conditional.
40927
5dbf56af
MF
409282012-08-27 Mike Frysinger <vapier@gentoo.org>
40929
40930 [BZ #5400]
40931 * NEWS: Add fixed bug number.
40932
d6e70f43
JM
409332012-08-27 Joseph Myers <joseph@codesourcery.com>
40934
7efb4737
JM
40935 [BZ #14519]
40936 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
40937 underflowing exponent in case of negative sign.
40938 * stdlib/tst-strtod-round-data: Add more tests.
40939 * stdlib/tst-strtod-round.c (tests): Regenerated.
40940
af92131a
JM
40941 [BZ #3479]
40942 * stdlib/strtod_l.c (NDIG): Remove.
40943 (HEXNDIG): Likewise.
40944 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
40945 smallest representable value.
40946 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
40947 lie within an exact representation of 1/2 ulp of the result.
40948 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
40949 unconditionally.
40950 (TENS_P9_IDX): Define unconditionally.
40951 (TENS_P9_SIZE): Likewise.
40952 (TENS_P10_IDX): Likewise.
40953 (TENS_P10_SIZE): Likewise.
40954 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
40955 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
40956 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
40957 entries for 10^2^13 and 10^2^14.
40958 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
40959 (TENS_P13_IDX): Define.
40960 (TENS_P13_SIZE): Likewise.
40961 (TENS_P14_IDX): Likewise.
40962 (TENS_P14_SIZE): Likewise.
40963 (_fpioconst_pow10): Change array size to
40964 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
40965 unconditional.
40966 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
40967 1024]: Add entries for 10^2^13 and 10^2^14.
40968 [LAST_POW10 > _LAST_POW10]: Remove #error.
40969 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
40970 (_fpioconst_pow10): Change array size to
40971 FPIOCONST_POW10_ARRAY_SIZE.
40972 * stdlib/gen-fpioconst.c: New file.
40973 * stdlib/gen-tst-strtod-round.c: Likewise.
40974 * stdlib/tst-strtod-round-data: Likewise.
40975 * stdlib/tst-strtod-round.c: Likewise.
40976 * stdlib/Makefile (tests): Add tst-strtod-round.
40977
d6e70f43
JM
40978 [BZ #14459]
40979 * stdlib/strtod_l.c: Include <stdint.h>.
40980 (NDEBUG): Do not define.
40981 (round_and_return): Change EXPONENT parameter to type intmax_t.
40982 Rearrange calculations to avoid internal overflow possibilities.
40983 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
40984 Rearrange calculations to avoid internal overflow possibilities.
40985 Assert that number fits inside MPNSIZE limbs.
40986 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
40987 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
40988 calculations and add assertions to avoid internal overflow
40989 possibilities. Add casts to avoid signed/unsigned operations.
40990 * stdlib/tst-strtod-overflow.c: New file.
40991 * stdlib/Makefile (tests): Add tst-strtod-overflow.
40992
1f529f7d
MP
409932012-08-25 Marek Polacek <polacek@redhat.com>
40994
40995 * time/time.h: Fix some typos in comments.
40996
59a629f1
RM
409972012-08-23 Roland McGrath <roland@hack.frob.com>
40998
40999 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41000 * posix/tst-rfc3484-2.c: Likewise.
41001 * posix/tst-rfc3484-3.c: Likewise.
41002
d3bafbc9
SM
410032012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
41004
41005 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41006 (EF_ARM_ABI_FLOAT_HARD): Likewise.
41007
4efcc022
JM
410082012-08-23 Joseph Myers <joseph@codesourcery.com>
41009
41010 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41011 #include of fxstatat64.c.
41012
3cc3ef96
RM
410132012-08-22 Roland McGrath <roland@hack.frob.com>
41014
f04e2132
RM
41015 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41016 * shadow/getspent_r.c: Likewise.
41017 * shadow/getspnam.c: Likewise.
41018 * shadow/getspnam_r.c: Likewise.
41019 * gshadow/getsgent.c: Likewise.
41020 * gshadow/getsgent_r.c: Likewise.
41021 * gshadow/getsgnam.c: Likewise.
41022 * gshadow/getsgnam_r.c: Likewise.
41023 * inet/getnetbyad.c: Likewise.
41024 * inet/getnetbyad_r.c: Likewise.
41025 * inet/getnetbynm.c: Likewise.
41026 * inet/getnetbynm_r.c: Likewise.
41027 * inet/getnetent.c: Likewise.
41028 * inet/getnetent_r.c: Likewise.
41029 * inet/getproto.c: Likewise.
41030 * inet/getproto_r.c: Likewise.
41031 * inet/getprtent.c: Likewise.
41032 * inet/getprtent_r.c: Likewise.
41033 * inet/getprtname.c: Likewise.
41034 * inet/getprtname_r.c: Likewise.
41035 * inet/getrpcbyname.c: Likewise.
41036 * inet/getrpcbyname_r.c: Likewise.
41037 * inet/getrpcbynumber.c: Likewise.
41038 * inet/getrpcbynumber_r.c: Likewise.
41039 * inet/getrpcent.c: Likewise.
41040 * inet/getrpcent_r.c: Likewise.
41041 * inet/getaliasent.c: Likewise.
41042 * inet/getaliasent_r.c: Likewise.
41043 * inet/getaliasname.c: Likewise.
41044 * inet/getaliasname_r.c: Likewise.
41045 * nscd/getgrgid_r.c: Likewise.
41046 * nscd/getgrnam_r.c: Likewise.
41047 * nscd/gethstbyad_r.c: Likewise.
41048 * nscd/gethstbynm3_r.c: Likewise.
41049 * nscd/getpwnam_r.c: Likewise.
41050 * nscd/getpwuid_r.c: Likewise.
41051 * nscd/getsrvbynm_r.c: Likewise.
41052 * nscd/getsrvbypt_r.c: Likewise.
41053 * nscd/gai.c: Likewise.
41054
c53d909c
RM
41055 * configure.in (build_nscd): New substituted variable, set
41056 by --disable-build-nscd and defaults to $use_nscd.
41057 * configure: Regenerated.
41058 * config.make.in (build-nscd): New substituted variable.
41059 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
41060 Change conditional to require [$(build-nscd) = yes] as well.
41061 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
41062
3cc3ef96
RM
41063 [BZ# 13696]
41064 * configure.in (use_nscd): New substituted variable, set by
41065 --disable-nscd. If enabled, define USE_NSCD.
41066 * configure: Regenerated.
41067 * config.h.in: Add USE_NSCD.
41068 * config.make.in (use-nscd): New substituted variable.
41069 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
41070 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
41071 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
41072 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
41073 (CFLAGS-getgrnam_r.c): Likewise.
41074 (CFLAGS-initgroups.c): Likewise.
41075 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
41076 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
41077 Variables removed.
41078 * inet/getnetgrent_r.c
41079 (nscd_setnetgrent): New function, broken out of ...
41080 (setnetgrent): ... here. Call it.
41081 (innetgr): Conditionalize nscd bits on [USE_NSCD].
41082 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
41083 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
41084 * nscd/Makefile (routines, aux): Move definitions after include of
41085 Makeconfig. Conditionalize on [$(use-nscd) != no].
41086 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
41087 Conditionalize on [USE_NSCD].
41088 (is_nscd, nscd_init_cb): Likewise.
41089 (nss_load_library): Conditionalize init callback on [USE_NSCD].
41090 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
41091 * nss/nss_db/db-init.c: Likewise.
41092 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41093 [USE_NSCD].
41094 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
41095 (make_request): Use it.
41096 (cache_valid_p): New function.
41097 (__check_pf): Use it.
41098 * NEWS: Add item for --disable-nscd.
41099
07e51550
DL
411002012-08-22 Dmitry V. Levin <ldv@altlinux.org>
41101
41102 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
41103 to support sed >= 4.2.1-20-ga9bf076.
41104 * configure: Regenerated.
41105
35a5b08b
RM
411062012-08-22 Roland McGrath <roland@hack.frob.com>
41107
41108 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
41109 Conditionalize whole body on [IREL].
41110
8479f23a
JL
411112012-08-22 Jeff Law <law@redhat.com>
41112
41113 [BZ #14505]
41114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
41115 if the family is PF_UNSPEC.
41116
48da0b21
MF
411172012-08-22 Mike Frysinger <vapier@gentoo.org>
41118
41119 * Makerules (lib-version): Rename from V.
41120 (install-lib-nosubdir): Change V to lib-version.
41121
15d0da8c
WS
411222012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
41123
41124 [BZ #14252]
41125 * powerpc32/power6/wcschr.c: New file.
41126 * powerpc32/power6/wcscpy.c: New file.
41127 * powerpc32/power6/wcsrchr.c: New file.
41128 * powerpc64/power6/wcschr.c: New file.
41129 * powerpc64/power6/wcscpy.c: New file.
41130 * powerpc64/power6/wcsrchr.c: New file.
41131
bcca0895
MK
411322012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41133
41134 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41135 (two_way_short_needle): Use it.
5a4aaa33
RM
41136 * string/strstr.c (AVAILABLE1_USES_J): Define.
41137 * string/strcasestr.c: Likewise.
99677e57
MK
41138
41139 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
41140 array references.
41141 * string/strcasestr.c (TOLOWER): Make side-effect safe.
41142
400726de
MK
41143 [BZ #11607]
41144 * NEWS: Add an entry.
41145 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41146 define their defaults.
41147 (two_way_short_needle): Detect end-of-string on-the-fly.
41148 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
41149 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
41150 * string/bug-strcasestr1.c: New test.
41151 * string/Makefile: Run it.
41152
20a71f2c
MK
411532012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41154
41155 [BZ #11607]
41156 * string/str-two-way.h (two_way_short_needle): Optimize matching of
41157 the first character.
41158
21ad0558
RM
411592012-08-21 Roland McGrath <roland@hack.frob.com>
41160
41161 * csu/elf-init.c (__libc_csu_irel): Function removed.
41162 * csu/libc-start.c (apply_irel): New function.
41163 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
41164
0e1d9911
JM
411652012-08-21 Joseph Myers <joseph@codesourcery.com>
41166
41167 * sysdeps/unix/sysv/linux/kernel-features.h
41168 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
41169 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41170 <kernel-features.h>.
41171 [__NR_fadvise64_64]: Make code unconditional.
41172 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
41173 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41174 !__NR_fadvise64_64)]: Likewise.
41175 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41176 !__NR_fadvise64_64))]: Likewise.
41177 [__NR_fadvise64]: Make code unconditional.
41178 [!__NR_fadvise64]: Remove conditional code.
41179 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
41180 <kernel-features.h>.
41181 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41182 unconditional.
41183 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41184 conditional code.
41185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41186 not include <kernel-features.h>.
41187 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41188 unconditional.
41189 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41190 conditional code.
41191 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41192 include <kernel-features.h>.
41193 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41194 unconditional.
41195 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41196 conditional code.
41197
14a50c9d
WS
411982012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41199
41200 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41201 slight instruction rearrangements per scrollpipe analysis.
41202 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41203
c0f4faf0
RM
412042012-08-20 Roland McGrath <roland@hack.frob.com>
41205
696da859
RM
41206 * manual/syslog.texi (syslog; vsyslog, closelog):
41207 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41208 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41209
c0f4faf0
RM
41210 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41211 DSOCAPS to match condition on defining it.
41212
348363b2
JM
412132012-08-20 Joseph Myers <joseph@codesourcery.com>
41214
a35cbf28
JM
41215 * sysdeps/unix/sysv/linux/kernel-features.h
41216 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41218 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41219 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41221 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41222 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41224 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41225 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41226
445f7ecd
JM
41227 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41228 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41229
348363b2
JM
41230 * sysdeps/unix/sysv/linux/kernel-features.h
41231 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41232 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41233 unconditional.
41234 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41235 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41236 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41237 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41238 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41239 Make code unconditional.
41240 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41241 (__mmap64) [!__NR_mmap2]: Likewise.
41242 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41243 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41244 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41245 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41246 [__NR_mmap2]: Make code unconditional.
41247 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41248 (__mmap64) [!__NR_mmap2]: Likewise.
41249
bc5bc0e5
AK
412502012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41251
41252 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41253
88d506de
AJ
412542012-08-18 Andreas Jaeger <aj@suse.de>
41255
41256 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41257
493387d2
MF
412582012-08-18 Mike Frysinger <vapier@gentoo.org>
41259
41260 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41261 * include/unistd.h (__have_sock_cloexec): Likewise.
41262 (__have_pipe2): Likewise.
41263 (__have_dup3): Likewise.
41264
a277af22
MF
412652012-08-18 Mike Frysinger <vapier@gentoo.org>
41266
41267 [BZ #9685]
41268 * include/unistd.h (__have_pipe2): Change define into an extern int.
41269 (__have_dup3): Likewise.
41270 * socket/have_sock_cloexec.c: Include fcntl.h.
41271 (__have_pipe2): New variable.
41272 (__have_dup3): Likewise.
41273
fdab8fd3
MF
412742012-08-17 Mike Frysinger <vapier@gentoo.org>
41275
41276 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41277
31035e80
MP
412782012-08-17 Marek Polacek <polacek@redhat.com>
41279
41280 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41281 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41282
3bd9e993
RM
412832012-08-17 Roland McGrath <roland@hack.frob.com>
41284
c91c505f
RM
41285 * configure.in: Add AC_SUBST for sysheaders.
41286 * configure: Regenerated.
41287 * config.make.in (sysheaders): New substituted variable.
41288
7c6f9d53
RM
41289 * sysdeps/unix/mkfifo.c: Moved ...
41290 * sysdeps/posix/mkfifo.c: ... here.
41291 * sysdeps/unix/mkfifoat.c: Moved ...
41292 * sysdeps/posix/mkfifoat.c: ... here.
41293
41294 * sysdeps/unix/utime.c: Moved ...
41295 * sysdeps/posix/utime.c: ... here.
41296
41297 * sysdeps/unix/time.c: Moved ...
41298 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
41299 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41300 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
41301
41302 * sysdeps/unix/nice.c: Moved ...
41303 * sysdeps/posix/nice.c: ... here.
41304
41305 * sysdeps/unix/alarm.c: Moved ...
41306 * sysdeps/posix/alarm.c: ... here.
41307
3bd9e993
RM
41308 * intl/Makefile ($(codeset_mo)): Depend on the input file.
41309
d1f09384
JL
413102012-08-17 Jeff Law <law@redhat.com>
41311
41312 * intl/Makefile (codeset_mo): New variable.
41313 ($(codeset_mo)): New target.
41314 (tst-codeset.out): Depend on that. Remove explicit rule.
41315 (tst-gettext3.out, tst-gettext5.out): Likewise.
41316 (LOCPATH-ENV, tst-codeset-ENV): New variables.
41317 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41318 * intl/tst-codeset.sh: Remove.
41319 * intl/tst-gettext3.sh: Likewise.
41320 * intl/tst-gettext5.sh: Likewise.
41321
2ae1ae5c
RM
413222012-08-17 Roland McGrath <roland@hack.frob.com>
41323
c31fdb83
RM
41324 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
41325 * sysdeps/unix/syscalls.list: ... here.
41326
a0844057
RM
41327 * sysdeps/posix/getaddrinfo.c
41328 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41329 (gaiconf_init, gaiconf_reload): Use them.
41330 [!_STATBUF_ST_NSEC]
41331 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41332 Define using time_t rather than struct timespec.
41333
750c1f2a
RM
41334 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41335 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41336 Macros removed.
41337 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41338 [!NO_THREADS].
41339 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41340 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41341 Likewise.
41342
2ae1ae5c
RM
41343 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41344 __libc_cleanup_push argument.
41345
e66a42f5
RM
41346 * bits/param.h: New file.
41347 * misc/sys/param.h: New file.
41348 * include/sys/param.h: New file.
41349 * misc/Makefile (headers): Add bits/param.h.
41350 * sysdeps/generic/sys/param.h: File removed.
41351 * sysdeps/unix/sysv/linux/bits/param.h: New file.
41352 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41353 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 41354 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 41355
b7c08a66
RM
41356 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41357 last change.
41358
b2e1c562
RM
41359 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41360 [_IO_MTSAFE_IO].
41361 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41362 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41363 New macros.
41364
c75ccd4c
RM
41365 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41366 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41367 rather than -D_IO_MTSAFE_IO conditionally.
41368 * stdio-common/Makefile (CPPFLAGS): Likewise.
41369 * wcsmbs/Makefile (CPPFLAGS): Likewise.
41370 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41371 Use $(libio-mtsafe).
41372 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41373 of -D_IO_MTSAFE_IO.
41374 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41375 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41376 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41377 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41378 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41379 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41380 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41381 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41382 (CFLAGS-fread_u_chk.c): Likewise.
41383 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41384 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41385 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41386 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41387 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41388 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41389 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41390 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41391 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41392
41393 * libio/Makefile: Test [$(libc-reentrant) = yes]
41394 instead of [$(filter %REENTRANT, $(defines)) nonempty].
41395
41396 * Makeconfig
41397 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41398 * sysdeps/pthread/configure: File removed.
41399 * sysdeps/pthread/Makeconfig: New file.
41400 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41401 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41402
d9195db8
GB
414032012-08-16 Gary Benson <gbenson@redhat.com>
41404
41405 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41406 unmapping the first object in a namespace.
41407
86466cd9
RM
414082012-08-16 Roland McGrath <roland@hack.frob.com>
41409
41410 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41411 (__internal_setnetgrent): ... this. Add internal_function to
41412 definition. Add libc_hidden_def.
41413 (setnetgrent): Update caller.
41414 (internal_endnetgrent): Renamed to ...
41415 (__internal_endnetgrent): ... this. Add internal_function to
41416 definition. Add libc_hidden_def.
41417 (endnetgrent): Update caller.
41418 (internal_getnetgrent_r): Renamed to ...
41419 (__internal_getnetgrent_r): ... this. Add internal_function to
41420 definition. Add libc_hidden_def.
41421 (__getnetgrent_r): Update caller.
41422 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
41423
c3c8283c
JM
414242012-08-16 Joseph Myers <joseph@codesourcery.com>
41425
41426 * stdlib/longlong.h: Update from GCC.
41427
db1ee0a8
RM
414282012-08-16 Roland McGrath <roland@hack.frob.com>
41429
41430 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41431 on _QL, which is set by umul_ppmm but never used.
41432 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
41433 variables, which are set by GMP macros but never used.
41434 * stdio-common/_itowa.c (_itowa): Likewise.
41435 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
41436 * stdlib/mod_1.c (mpn_mod_1): Likewise.
41437
30f69637
CD
414382012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
41439
41440 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
41441 struct La_sh_regs is not constant.
41442 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
41443 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
41444 and struct La_sparc64_regs are not constant.
41445
93a78ac4
JM
414462012-08-16 Joseph Myers <joseph@codesourcery.com>
41447
41448 * sysdeps/unix/sysv/linux/kernel-features.h
41449 (__ASSUME_POSIX_TIMERS): Remove.
41450 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41451 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41452 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
41453 Make code unconditional.
41454 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41455 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
41456 Make code unconditional.
41457 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41458 * sysdeps/unix/sysv/linux/clock_nanosleep.c
41459 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
41460 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41461 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
41462 Make code unconditional.
41463 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41464 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
41465 (__libc_missing_posix_timers): Remove.
41466
dd924cd7
RM
414672012-08-15 Roland McGrath <roland@hack.frob.com>
41468
4b4f2771
RM
41469 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
41470 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
41471
601c888b
RM
41472 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
41473
176790a7
RM
41474 * elf/dl-sym.c: Include <stdlib.h>.
41475
329bc018
RM
41476 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
41477 constants, which avoids warnings in 32-bit builds.
41478
e04e272d
RM
41479 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
41480 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
41481
952bf94a
RM
41482 * misc/lseek.c: File moved to ...
41483 * io/lseek.c: ... here.
41484
7c99b50a
RM
41485 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
41486
dd924cd7
RM
41487 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
41488 shifting LEN more than 31 bits at once.
41489
b3f479a8
LD
414902012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41491
41492 [BZ #14195]
8c4ae0d4
RM
41493 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
41494 segmentation fault for a case of two empty input strings.
b3f479a8
LD
41495 * string/test-strncasecmp.c (check1): Renamed to...
41496 (bz12205): ...this.
41497 (bz14195): Add new testcase for two empty input strings and N > 0.
41498 (test_main): Call new testcase, adapt for renamed function.
41499
9c55864e
AJ
415002012-08-15 Andreas Jaeger <aj@suse.de>
41501
41502 [BZ #14090]
41503 * crypt/md5test2.c: New test, based on test supplied by Serge
41504 Belyshev <belyshev@depni.sinp.msu.ru>.
41505 * crypt/Makefile (xtests): Add md5test-giant..
41506 * crypt/Makefile ($(objpfx)md5test-giant): Add.
41507
02dcb6c5
PE
415082012-08-15 Paul Eggert <eggert@cs.ucla.edu>
41509
41510 [BZ #14090]
41511 * crypt/md5.c (md5_process_block): Don't assume the buffer
41512 length is less than 2**32.
41513 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
41514 length is less than 2**64.
41515
a3f95dcc
RM
415162012-08-15 Roland McGrath <roland@hack.frob.com>
41517
be75d758
RM
41518 * string/str-two-way.h: Include <sys/param.h>.
41519 (MAX): Macro removed.
41520
7312ca90
RM
41521 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
41522 Move #define and #undef of memmove to just before and after
41523 including <string.h>.
41524
9a0a5486
RM
41525 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
41526 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
41527 and after including <string.h>. Move declarations of
41528 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
41529 to before #include "string/memmove.c".
41530
67cc348d
RM
41531 * include/dirent.h: Declare __getdirentries.
41532
a3f95dcc
RM
41533 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
41534 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
41535
ca98e171
MF
415362012-08-14 Mike Frysinger <vapier@gentoo.org>
41537
41538 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
41539 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
41540 * sysdeps/i386/configure: Regenerated.
41541 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
41542 STABS_CURRENT_FILE, and STABS_FUN.
41543 (END): Remove call to STABS_FUN_END.
41544 (STABS_CURRENT_FILE1): Delete.
41545 (STABS_CURRENT_FILE): Likewise.
41546 (STABS_FUN): Likewise.
41547 (STABS_FUN_END): Likewise.
41548 (STABS_FUN2): Likewise.
41549 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
41550 * sysdeps/x86_64/configure: Regenerated.
41551
5908bf46
RM
415522012-08-14 Roland McGrath <roland@hack.frob.com>
41553
41554 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 41555 * elf/dl-lookup.c: Likewise.
5908bf46 41556
f2c05b9e
JM
415572012-08-14 Joseph Myers <joseph@codesourcery.com>
41558
41559 * sysdeps/unix/sysv/linux/kernel-features.h
41560 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
41561 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
41562 unconditionally.
41563 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
41564 unconditionally.
41565 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
41566 condition on __ASSUME_CLONE_THREAD_FLAGS.
41567
e11f5155
AJ
415682012-08-14 Andreas Jaeger <aj@suse.de>
41569
41570 * sysdeps/i386/fpu/libm-test-ulps: Update.
41571
51a9ba86
MK
415722012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
41573
2fdd4f78
AJ
41574 * include/atomic.h (atomic_exchange_and_add): Split into ...
41575 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
41576 New atomic macros.
51a9ba86 41577
ba6cba9e
MT
415782012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
41579
41580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41581
42443a47
JL
415822012-08-13 Jeff Law <law@redhat.com>
41583
41584 * manual/stdio.texi (snprintf): Clarify handling of the trailing
41585 null byte in the output string.
41586
121dce05
JM
415872012-08-10 Joseph Myers <joseph@codesourcery.com>
41588
41589 * sysdeps/unix/sysv/linux/kernel-features.h
41590 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
41591 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
41592 (__ASSUME_ARG_MAX_STACK_BASED): Define.
41593 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41594 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
41595 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
41596 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
41597
bf51f568
JL
415982012-08-09 Jeff Law <law@redhat.com>
41599
41600 [BZ #13939]
41601 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
41602 When avoid_arena is set, don't retry in the that arena. Pick the
41603 next one, whatever it might be.
41604 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
41605 (arena_lock): Pass in new parameter to arena_get2.
41606 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
41607 arena_get2.
41608 (__libc_malloc): Unify retrying after main arena failure with
41609 __libc_memalign version.
41610 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
41611
f85fa270
L
416122012-08-09 H.J. Lu <hongjiu.lu@intel.com>
41613
41614 [BZ #14166]
41615 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
41616 to __redirect_strstr.
41617 (__strstr_sse42): Use typeof __redirect_strstr.
41618 (__strstr_ia32): Likewise.
41619 (__libc_strstr): New prototype.
41620 (strstr): Renamed to ...
41621 (__libc_strstr): This.
41622 (strstr): New strong alias of __libc_strstr.
41623 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41624 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
41625 __redirect_time.
41626 Include <time.h>.
41627 (__libc_time): New prototype.
41628 (time_ifunc): Replace time with __libc_time.
41629 (time): New strong alias and hidden definition of __libc_time.
41630 (__GI_time): Remove strong alias.
41631 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
41632 Include <stddef.h>.
41633 (memmove): Redefined to __redirect_memmove.
41634 (__memmove_sse2): Use typeof __redirect_memmove.
41635 (__memmove_ssse3): Likewise.
41636 (__memmove_ssse3_back): Likewise.
41637 (__libc_memmove): New prototype.
41638 (memmove): Renamed to ...
41639 (__libc_memmove): This.
41640 (memmove): New strong alias of __libc_memmove.
41641
33b4a91e
MS
416422012-08-08 Mark Salter <msalter@redhat.com>
41643
41644 * elf/elf.h
41645 (R_MN10300_TLS_GD): Define.
41646 (R_MN10300_TLS_LD): Likewise.
41647 (R_MN10300_TLS_LDO): Likewise.
41648 (R_MN10300_TLS_GOTIE): Likewise.
41649 (R_MN10300_TLS_IE): Likewise.
41650 (R_MN10300_TLS_LE): Likewise.
41651 (R_MN10300_TLS_DTPMOD): Likewise.
41652 (R_MN10300_TLS_DTPOFF): Likewise.
41653 (R_MN10300_TLS_TPOFF): Likewise.
41654 (R_MN10300_SYM_DIFF): Likewise.
41655 (R_MN10300_ALIGN): Likewise.
41656 (R_MN10300_NUM): Update.
41657
b36137f1
JM
416582012-08-08 Joseph Myers <joseph@codesourcery.com>
41659
41660 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
41661 Remove.
41662
cdd915fd
RM
416632012-08-08 Roland McGrath <roland@hack.frob.com>
41664
a2433aac
RM
41665 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
41666
cdd915fd
RM
41667 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
41668 sysdeps/unix -> sysdeps/posix move.
41669 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41670
bf9b740a
AM
416712012-08-07 Allan McRae <allan@archlinux.org>
41672
41673 [BZ #14303]
41674 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
41675 (SUNOS_CPP): Likewise.
41676 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
41677 not found.
41678 (open_input): Call CPP using execvp.
41679
93df14ee
JM
416802012-08-07 Joseph Myers <joseph@codesourcery.com>
41681
41682 * sysdeps/unix/sysv/linux/kernel-features.h
41683 (__ASSUME_PROT_GROWSUPDOWN): Remove.
41684 (__ASSUME_NO_CLONE_DETACHED): Likewise.
41685 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41686 (__ASSUME_WAITID_SYSCALL): Likewise.
41687 * sysdeps/unix/sysv/linux/dl-execstack.c
41688 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
41689 code unconditional.
41690 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
41691 conditional code.
41692 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
41693 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
41694 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
41695 code.
41696 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
41697 unconditional.
41698 [__ASSUME_WAITID_SYSCALL]: Likewise.
41699 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
41700
d34689de
RM
417012012-08-07 Roland McGrath <roland@hack.frob.com>
41702
a281decc
RM
41703 * sysdeps/unix/closedir.c: Renamed to ...
41704 * sysdeps/posix/closedir.c: ... here.
41705 * sysdeps/unix/dirfd.c: Renamed to ...
41706 * sysdeps/posix/dirfd.c: ... here.
41707 * sysdeps/unix/dirstream.h: Renamed to ...
41708 * sysdeps/posix/dirstream.h: ... here.
41709 * sysdeps/unix/fdopendir.c: Renamed to ...
41710 * sysdeps/posix/fdopendir.c: ... here.
41711 * sysdeps/unix/opendir.c: Renamed to ...
41712 * sysdeps/posix/opendir.c: ... here.
41713 * sysdeps/unix/readdir.c: Renamed to ...
41714 * sysdeps/posix/readdir.c: ... here.
41715 * sysdeps/unix/readdir_r.c: Renamed to ...
41716 * sysdeps/posix/readdir_r.c: ... here.
41717 * sysdeps/unix/rewinddir.c: Renamed to ...
41718 * sysdeps/posix/rewinddir.c: ... here.
41719 * sysdeps/unix/seekdir.c: Renamed to ...
41720 * sysdeps/posix/seekdir.c: ... here.
41721 * sysdeps/unix/telldir.c: Renamed to ...
41722 * sysdeps/posix/telldir.c: ... here.
41723 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
41724 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
41725 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
41726 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
41727
22895b47
RM
41728 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
41729 * bits/fcntl.h: ... here.
41730
707a53b6
RM
41731 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
41732 not 0.
41733 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
41734 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
41735 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
41736 (struct flock): Move l_start, l_len to the beginning.
41737 Use __pid_t for l_pid.
41738 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
41739 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
41740 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
41741 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
41742 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
41743 [__USE_LARGEFILE64] (struct flock64): New type.
41744 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
41745
f0bd3e25
RM
41746 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
41747 * bits/dirent.h: ... here.
41748
d34689de
RM
41749 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
41750 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
41751
6dad2c06
JM
417522012-08-07 Joseph Myers <joseph@codesourcery.com>
41753
41754 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41755 Change from 2.6.0 to 2.6.16.
41756 * sysdeps/unix/sysv/linux/configure: Regenerated.
41757 * sysdeps/unix/sysv/linux/kernel-features.h
41758 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
41759 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
41760 version.
41761 (__ASSUME_UTIMES): Likewise.
41762 (__ASSUME_CLONE_STOPPED): Remove.
41763 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
41764 architectures, not kernel version.
41765 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
41766 (__ASSUME_NO_CLONE_DETACHED): Likewise.
41767 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41768 (__ASSUME_WAITID_SYSCALL): Likewise.
41769 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
41770 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
41771 * README: State 2.6.16 as minimum Linux kernel version. Do not
41772 refer to older versions.
41773
03af9520
RM
417742012-08-06 Roland McGrath <roland@hack.frob.com>
41775
8e49df1d
RM
41776 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
41777 Define alphasort64 as an alias.
41778 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
41779 Define versionsort64 as an alias.
41780 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
41781 Define scandir64 as an alias.
41782 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
41783 Define scandirat64 as an alias.
41784 * dirent/alphasort64.c (alphasort64):
41785 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
41786 * dirent/versionsort64.c: Likewise.
41787 * dirent/scandir64.c: Likewise.
41788 * dirent/scandirat64.c: Likewise.
41789 * sysdeps/wordsize-64/alphasort.c: File removed.
41790 * sysdeps/wordsize-64/alphasort64.c: File removed.
41791 * sysdeps/wordsize-64/scandir.c: File removed.
41792 * sysdeps/wordsize-64/scandir64.c: File removed.
41793 * sysdeps/wordsize-64/scandirat.c: File removed.
41794 * sysdeps/wordsize-64/scandirat64.c: File removed.
41795 * sysdeps/wordsize-64/versionsort.c: File removed.
41796 * sysdeps/wordsize-64/versionsort64.c: File removed.
41797 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
41798 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
41799 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
41800 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
41801 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
41802 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
41803 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
41804 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
41805
41806 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
41807 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41808 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
41809 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41810 [defined __arch64__ || defined __sparcv9]
41811 (__INO_T_MATCHES_INO64_T): New macro.
41812 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41813 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
41814 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
41815 * sysdeps/unix/sysv/linux/bits/dirent.h
41816 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
41817 (_DIRENT_MATCHES_DIRENT64): New macro.
41818
03af9520
RM
41819 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
41820 Define lockf64 as an alias.
41821 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
41822 Define fseeko64 as an alias.
41823 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
41824 Define ftello64 as an alias.
41825 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
41826 Define _IO_fgetpos64 and fgetpos64 as aliases.
41827 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
41828 Define _IO_fsetpos64 and fsetpos64 as aliases.
41829 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
41830 Conditionalize body on this.
41831 * libio/fseeko64.c: Likewise.
41832 * libio/ftello64.c: Likewise.
41833 * libio/iofgetpos64.c: Likewise.
41834 * libio/iofsetpos64.c: Likewise.
41835 * sysdeps/wordsize-64/lockf.c: File removed.
41836 * sysdeps/wordsize-64/lockf64.c: File removed.
41837 * sysdeps/wordsize-64/fseeko.c: File removed.
41838 * sysdeps/wordsize-64/fseeko64.c: File removed.
41839 * sysdeps/wordsize-64/ftello.c: File removed.
41840 * sysdeps/wordsize-64/ftello64.c: File removed.
41841 * sysdeps/wordsize-64/iofgetpos.c: File removed.
41842 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
41843 * sysdeps/wordsize-64/iofsetpos.c: File removed.
41844 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
41845 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
41846 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
41847 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
41848 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
41849 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
41850 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
41851 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
41852 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
41853 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
41854 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
41855
41856 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41857 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41858 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
41859 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41860 [defined __arch64__ || defined __sparcv9]
41861 (__OFF_T_MATCHES_OFF64_T): New macro.
41862 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41863 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41864 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41865 (__OFF_T_MATCHES_OFF64_T): New macro.
41866
c5757acd
L
418672012-08-06 H.J. Lu <hongjiu.lu@intel.com>
41868
41869 * stdlib/secure-getenv.c (__secure_getenv): Replace
41870 GLIBC_2_16 with GLIBC_2_17.
41871
3a31811e
L
418722012-08-06 H.J. Lu <hongjiu.lu@intel.com>
41873
41874 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
41875 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41876
faa2bccb
DM
418772012-08-03 David S. Miller <davem@davemloft.net>
41878
41879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41880
85fe1997
JM
418812012-08-03 Joseph Myers <joseph@codesourcery.com>
41882
41883 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
41884 Remove.
41885 (__ASSUME_CORRECT_SI_PID): Likewise.
41886 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
41887 (__ASSUME_TMPFS_NAME): Likewise.
41888 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
41889 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
41890 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
41891 (HAVE_AUX_SECURE): Make definition unconditional.
41892 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
41893 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
41894
4f75b7a0
RM
418952012-08-03 Roland McGrath <roland@hack.frob.com>
41896
41897 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
41898 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
41899 * sysdeps/mach/hurd/eloop-threshold.h: New file.
41900 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41901 __eloop_threshold instead of SYMLOOP_MAX.
41902
41903 * sysdeps/generic/eloop-threshold.h: New file.
41904 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
41905 of MAXSYMLINKS.
41906 * elf/chroot_canon.c (chroot_canon): Likewise.
41907
7aab07e4
JM
419082012-08-03 Joseph Myers <joseph@codesourcery.com>
41909
41910 [BZ #13717]
41911 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41912 Change to 2.6.0 everywhere.
41913 * sysdeps/unix/sysv/linux/configure: Regenerated.
41914 * sysdeps/unix/sysv/linux/kernel-features.h
41915 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
41916 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
41917 kernel versions.
41918 (__ASSUME_POSIX_TIMERS): Define unconditionally.
41919 (__ASSUME_FUTEX_REQUEUE): Remove.
41920 (__ASSUME_STATFS64): Define unconditionally.
41921 (__ASSUME_AT_SECURE): Likewise.
41922 (__ASSUME_CORRECT_SI_PID): Likewise.
41923 (__ASSUME_TGKILL): Define without depending on kernel version for
41924 i386.
41925 (__ASSUME_UTIMES): Likewise.
41926 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
41927 kernel version.
41928 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
41929 (__ASSUME_TMPFS_NAME): Likewise.
41930 * README: Update reference to Linux kernel versions.
41931
b67e9372
MP
419322012-08-02 Marek Polacek <polacek@redhat.com>
41933
1f529f7d 41934 [BZ# 14150]
b67e9372
MP
41935 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
41936 libc_cv_asm_type_prefix with %.
41937 * configure: Regenerated.
d2441631
RM
41938 * include/libc-symbols.h: Remove comment about
41939 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
41940 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
41941 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
41942 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
41943 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
41944 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41945 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
41946 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
41947 * elf/tst-unique2mod1.c: Likewise.
41948 * elf/tst-unique1mod2.c: Likewise.
41949 * elf/tst-unique1mod1.c: Likewise.
41950 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
41951 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
41952 Replace ASM_TYPE_DIRECTIVE with .type.
41953 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41954 * sysdeps/i386/sysdep.h: Likewise.
41955 * sysdeps/x86_64/sysdep.h: Likewise.
41956 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
41957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41958 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 41959 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
41960 * sysdeps/powerpc/powerpc32/sysdep.h:
41961 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
41962 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41963 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41964 * sysdeps/i386/fpu/e_powf.S: Likewise.
41965 * sysdeps/i386/fpu/e_expl.S: Likewise.
41966 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41967 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41968 * sysdeps/i386/fpu/e_pow.S: Likewise.
41969 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41970 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41971 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41972 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41973 * sysdeps/i386/fpu/e_log2.S: Likewise.
41974 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41975 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41976 * sysdeps/i386/fpu/e_powl.S: Likewise.
41977 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41978 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41979 * sysdeps/i386/fpu/e_logl.S: Likewise.
41980 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41981 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41982 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41983 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41984 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41985 * sysdeps/i386/fpu/e_log.S: Likewise.
41986 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41987 * sysdeps/i386/fpu/e_logf.S: Likewise.
41988 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41989 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41990 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41991 * sysdeps/i386/fpu/e_log10.S: Likewise.
41992 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41993 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41994 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41995 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41996 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41997 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
41998 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41999 * sysdeps/i386/i686/strtok.S: Likewise.
42000 * sysdeps/i386/i386-mcount.S: Likewise.
42001 * sysdeps/i386/strtok.S: Likewise.
42002 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42003 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42004 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42005 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42006 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42007 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42008 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42009 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42010 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42011 * sysdeps/x86_64/_mcount.S: Likewise.
42012 * sysdeps/x86_64/strtok.S: Likewise.
42013 * sysdeps/sh/_mcount.S: Likewise.
42014
2747bf9a
RM
420152012-08-01 Roland McGrath <roland@hack.frob.com>
42016
42017 * libio/iofopen.c: Include <fcntl.h>.
42018 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42019 (_IO_fopen64, fopen64): Define as aliases.
42020 * libio/iofopen64.c: Include <fcntl.h>.
42021 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42022 Conditionalize body on this.
42023 * sysdeps/wordsize-64/iofopen.c: File removed.
42024 * sysdeps/wordsize-64/iofopen64.c: File removed.
42025
3fb791b8
MP
420262012-08-01 Marek Polacek <polacek@redhat.com>
42027
42028 * libc/Makeconfig: Use elf in place of binfmt-subdir.
42029 Use dlfcn directly instead of a variable.
42030 (binfmt-subdir): Do not define.
42031 (dlfcn): Likewise.
42032
a9f1039f
JM
420332012-08-01 Joseph Myers <joseph@codesourcery.com>
42034
23bddc06
JM
42035 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
42036 Remove all definitions.
42037 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
42038 <kernel-features.h>.
42039 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42040 (miss_F_GETOWN_EX): Remove all definitions.
42041 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
42042 macro definition.
42043 [!__ASSUME_FCNTL64]: Remove conditional code.
42044 [__ASSUME_FCNTL64]: Make code unconditional.
42045 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
42046 <kernel-features.h>.
42047 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42048 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
42049 (lockf64) [__NR_fcntl64]: Make code unconditional.
42050 (lockf64) [__ASSUME_FCNTL64]: Likewise.
42051
a9f1039f
JM
42052 * sysdeps/unix/sysv/linux/kernel-features.h
42053 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
42054 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
42055 Make code unconditional.
42056 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42057 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
42059 [__NR_vfork]: Make code unconditional.
42060 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42061 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
42063 [__NR_vfork]: Make code unconditional.
42064 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42065 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42066
09c0ee5f
RM
420672012-08-01 Roland McGrath <roland@hack.frob.com>
42068
48aec5b9
RM
42069 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
42070 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
42071
cd97c966
RM
42072 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42073 Define mkstemp64 as an alias.
3f55550c
RM
42074 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42075 Define mkstemps64 as an alias.
cd97c966
RM
42076 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42077 Define mkostemp64 as an alias.
b8625cfc
RM
42078 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42079 Define mkostemps64 as an alias.
cd97c966
RM
42080 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
42081 Conditionalize body on this.
42082 * misc/mkostemp64.c: Likewise.
b8625cfc 42083 * misc/mkostemps64.c: Likewise.
3f55550c 42084 * misc/mkstemps64.c: Likewise.
cd97c966
RM
42085 * sysdeps/wordsize-64/mkstemp64.c: File removed.
42086 * sysdeps/wordsize-64/mkostemp64.c: File removed.
42087 * sysdeps/wordsize-64/mkostemp.c: File removed.
42088 * sysdeps/wordsize-64/mkstemp.c: File removed.
42089 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
42090 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
42091 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
42092 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
42093
09c0ee5f
RM
42094 [BZ #14138]
42095 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
42096 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
42097 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
42098 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
42099
42100 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
42101 compat_symbol macros from <shlib-compat.h> rather than the underlying
42102 default_symbol_version and symbol_version macros, so that DEFAULT
42103 lines in shlib-versions are respected.
42104 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
42105
7e66ee51
FW
421062012-08-01 Florian Weimer <fweimer@redhat.com>
42107
42108 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
42109 Declare with warn_unused_result.
42110 (setgid, setregid, setegid, setresgid): Likewise.
42111 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
42112 Likewise.
42113 * WUR-REPORT: Remove set*id functions.
42114
d2a54255
PT
421152012-07-31 Pino Toscano <toscano.pino@tiscali.it>
42116
42117 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
42118
7ecdb005
RM
421192012-07-31 Roland McGrath <roland@hack.frob.com>
42120
b4180a5e 42121 [BZ #10191]
789bd351
RM
42122 * include/sys/socket.h (__libc_accept, __libc_accept4):
42123 Add attribute_hidden.
42124 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
42125
40ce302d
RM
42126 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
42127 use of PTR_MANGLE.
42128 * inet/getnetgrent_r.c (setup): Likewise.
42129
7ecdb005
RM
42130 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42131
e2eabb2c
DM
421322012-07-31 David S. Miller <davem@davemloft.net>
42133
42134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42135
d0419dbf
JM
421362012-07-31 Joseph Myers <joseph@codesourcery.com>
42137
42138 [BZ #13629]
42139 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
42140 value between 1.0 and 2.0 and smaller part has absolute value less
42141 than 1.0.
42142 * math/s_clog10.c (__clog10): Likewise.
42143 * math/s_clog10f.c (__clog10f): Likewise.
42144 * math/s_clog10l.c (__clog10l): Likewise.
42145 * math/s_clogf.c (__clogf): Likewise.
42146 * math/s_clogl.c (__clogl): Likewise.
42147 * math/libm-test.inc (clog_test): Add more tests.
42148 (clog10_test): Likewise.
42149 * sysdeps/i386/fpu/libm-test-ulps: Update.
42150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42151
2bc13872
FW
421522012-07-31 Florian Weimer <fweimer@redhat.com>
42153
42154 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
42155 Exit with zero in case no suitable GID is found, and write a
42156 message to standard error.
42157
bea9b193
RM
421582012-07-30 Roland McGrath <roland@hack.frob.com>
42159
42160 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
42161 rather than to 1.
42162 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
42163 (MAXPATHLEN): Removed.
42164 (NOGROUP, NODEV): New macros.
42165 (setbit, clrbit, isset, isclr): New macros.
42166 (howmany, roundup, powerof2): New macros.
42167 (DEV_BSIZE): New macro.
42168
42169 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
42170 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
42171
42172 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
42173 definition on [!__NO_LONG_DOUBLE_MATH].
42174
42175 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
42176 PTR_MANGLE and PTR_DEMANGLE.
42177
42178 * socket/accept4.c (accept4): Rename to __libc_accept4.
42179 Define accept4 as a weak alias.
42180
42181 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
42182 on [_DIRENT_HAVE_D_TYPE].
42183 * io/ftw.c (ftw_dir): Likewise.
42184
42185 * io/xmknod.c (__xmknod): Don't check PATH for being null.
42186
42187 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42188
42189 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42190 Use the BSD numbers rather than the arbitrary ones we had.
42191 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42192 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42193 (SIGXCPU, SIGXFSZ): New macros.
42194 (_NSIG): Now 32.
42195
42196 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42197 initializer on [_LIBC_REENTRANT].
42198
42199 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42200 definitions inside [_POSIX_MAPPED_FILES].
42201
42202 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42203
42204 * dirent/opendir.c: Include <fcntl.h>.
42205
42206 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42207 (__libc_getspecific): Likewise.
42208 (__libc_key_create): Likewise.
42209
42210 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42211 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42212 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42213 (tmpfile64): Define as alias.
42214 * sysdeps/wordsize-64/tmpfile.c: File removed.
42215 * sysdeps/wordsize-64/tmpfile64.c: File removed.
42216 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42217 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42218
42219 * stdio-common/vfscanf.c: Include <stdbool.h>.
42220 * nss/makedb.c: Likewise.
42221 * stdio-common/_i18n_number.h: Likewise.
42222 * argp/argp-help.c: Likewise.
42223 * posix/wordexp.c: Likewise.
42224 * sysdeps/posix/spawni.c: Likewise.
42225 * nss/nss_files/files-initgroups.c: Likewise.
42226 * stdio-common/reg-modifier.c: Include <stdlib.h>.
42227 * nss/nss_files/files-initgroups.c: Likewise.
42228 * nss/nss_db/db-netgrp.c: Likewise.
42229 * nss/nss_db/db-initgroups.c: Likewise.
42230 * io/fchmodat.c: Include <sys/stat.h>.
42231
42232 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42233 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42234
42235 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42236 [HAVE_MMAP].
42237
42238 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42239 Add multiple inclusion protection.
42240
e5abc686
DM
422412012-07-27 David S. Miller <davem@davemloft.net>
42242
42243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42244
815e6fa3
GB
422452012-07-27 Gary Benson <gbenson@redhat.com>
42246
42247 [BZ #14298]
42248 * elf/rtld.c: Include <stap-probe.h>.
42249 (dl_main): Added static probes "init_start" and "init_complete".
42250 * elf/dl-load.c: Include <stap-probe.h>.
42251 (lose): Take new parameter "nsid".
42252 Added static probe "map_failed".
42253 (_dl_map_object_from_fd): Pass namespace id to lose.
42254 Added static probe "map_start".
42255 (open_verify): Pass namespace id to lose.
42256 * elf/dl-open.c: Include <stap-probe.h>.
42257 (dl_open_worker) Added static probes "map_complete", "reloc_start"
42258 and "reloc_complete".
42259 * elf/dl-close.c: Include <stap-probe.h>.
42260 (_dl_close_worker): Added static probes "unmap_start" and
42261 "unmap_complete".
42262 * elf/rtld-debugger-interface.txt: New file documenting the above.
42263
9f98c16c
RM
422642012-07-26 Roland McGrath <roland@hack.frob.com>
42265
42266 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42267 rather than a string variable.
42268 * sunrpc/rpc_main.c (h_output): Likewise.
42269 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42270
f3c22df3
PT
422712012-07-26 Pino Toscano <toscano.pino@tiscali.it>
42272
42273 * inet/check_native.c: New file.
42274
3129cfc6
JM
422752012-07-26 Joseph Myers <joseph@codesourcery.com>
42276
da865e95
JM
42277 [BZ #13629]
42278 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42279 if larger part has absolute value 1.0.
42280 * math/s_clog10.c (__clog10): Likewise.
42281 * math/s_clog10f.c (__clog10f): Likewise.
42282 * math/s_clog10l.c (__clog10l): Likewise.
42283 * math/s_clogf.c (__clogf): Likewise.
42284 * math/s_clogl.c (__clogl): Likewise.
42285 * math/libm-test.inc (clog_test): Add more tests.
42286 (clog10_test): Likewise.
42287 * sysdeps/i386/fpu/libm-test-ulps: Update.
42288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42289
3129cfc6
JM
42290 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42291 (pltexit): Likewise.
42292 (La_regs): Likewise.
42293 (La_retval): Likewise.
42294 (int_retval): Likewise.
42295 Update #error for removed macros to refer only to definitions in
42296 tst-audit.h.
42297 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42298 macro.
42299 (pltexit): Likewise.
42300 (La_regs): Likewise.
42301 (La_retval): Likewise.
42302 (int_retval): Likewise.
42303 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42304 macro.
42305 (pltexit): Likewise.
42306 (La_regs): Likewise.
42307 (La_retval): Likewise.
42308 (int_retval): Likewise.
42309 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42310 macro.
42311 (pltexit): Likewise.
42312 (La_regs): Likewise.
42313 (La_retval): Likewise.
42314 (int_retval): Likewise.
42315 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42316 macro.
42317 (pltexit): Likewise.
42318 (La_regs): Likewise.
42319 (La_retval): Likewise.
42320 (int_retval): Likewise.
42321 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42322 macro.
42323 (pltexit): Likewise.
42324 (La_regs): Likewise.
42325 (La_retval): Likewise.
42326 (int_retval): Likewise.
42327 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42328 macro.
42329 (pltexit): Likewise.
42330 (La_regs): Likewise.
42331 (La_retval): Likewise.
42332 (int_retval): Likewise.
42333 * sysdeps/generic/tst-audit.h: Update comment to refer only to
42334 macro definitions in tst-audit.h.
42335 * sysdeps/i386/tst-audit.h: New file.
42336 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42337 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42338 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42339 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42340 * sysdeps/sh/tst-audit.h: Likewise.
42341 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42342 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42343 * sysdeps/x86_64/tst-audit.h: Likewise.
42344
bfc07087
AJ
423452012-07-26 Andreas Jaeger <aj@suse.de>
42346
b1b2aaf8
AJ
42347 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42348 ptrace.
42349
42350 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42351 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42352 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42353 PTRACE_O_MASK.
42354 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42355 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42356 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42357
bfc07087
AJ
42358 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42359 value.
42360
42361 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42362 _sigsys.
42363 (si_call_addr, si_syscall, si_arch): Define new macro.
42364 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42365 _sigsys.
42366 (si_call_addr, si_syscall, si_arch): Define new marcro.
42367 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42368 _sigsys.
42369 (si_call_addr, si_syscall, si_arch): Define new macro.
42370 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42371 _sigsys.
42372 (si_call_addr, si_syscall, si_arch): Define new macro.
42373
89b4b02f
JM
423742012-07-25 Joseph Myers <joseph@codesourcery.com>
42375
42376 [BZ #13717]
42377 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42378 Change to 2.4.21 where previously 2.4.1.
42379 * sysdeps/unix/sysv/linux/configure: Regenerated.
42380 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42381 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42382 Linux kernel version.
42383 (__ASSUME_STD_AUXV): Remove.
42384 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42385 kernel version.
42386 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42387 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42388 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42389 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42390 (__ASSUME_NETLINK_SUPPORT): Likewise.
42391 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42392 (__no_netlink_support): Remove conditional definition.
42393 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42394 Remove.
42395 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42396 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42397 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42398 (if_nameindex_ioctl): Remove.
42399 (if_nameindex_netlink): Do not handle __no_netlink_support.
42400 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42401 code.
42402 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42403 Remove conditional code.
42404 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42405 code.
42406 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42407 unconditional.
42408 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42409 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42410 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42411 Remove.
42412 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42413 [!__ASSUME_STD_AUXV]: Remove conditional code.
42414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42415 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42416 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42418 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42419 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42420 code.
42421 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42423 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42424 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42425 conditional code.
42426 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42428 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42429 code.
42430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42431 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42432 conditional code.
42433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
42434 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42435 code unconditional.
42436 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42437 conditional code.
42438 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42439 unconditional.
42440 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42441 conditional code.
42442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42443 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42444 unconditional.
42445 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42446 conditional code.
42447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
42448 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42449 code unconditional.
42450 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42451 conditional code.
42452 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42453 unconditional.
42454 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42455 conditional code.
42456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
42457 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42458 code unconditional.
42459 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42460 conditional code.
42461 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42462 unconditional.
42463 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42464 conditional code.
42465
842a39cd
AS
424662012-07-25 Andreas Schwab <schwab@linux-m68k.org>
42467
42468 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
42469 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
42470 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42471 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
42472 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
42473 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42474 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42475 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
42476 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
42477 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
42478 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
42479 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
42480 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
42481 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42482 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
42483 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
42484 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
42485 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
42486 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
42487 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
42488 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
42489 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
42490 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42491
84b3fd84
FW
424922012-07-25 Florian Weimer <fweimer@redhat.com>
42493
42494 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
42495 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
42496 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
42497 Introduce __libc_secure_getenv.
0c7936d5
FW
42498 * stdlib/Versions (2.17): Add secure_getenv
42499 (GLIBC_PRIVATE): Add __libc_secure_getenv.
42500 * stdlib/secure-getenv.c: Rename __secure_getenv to
42501 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
42502 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
42503 * stdlib/tst-secure-getenv.c: New.
42504 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
42505 * manual/startup.texi (Environment Access): Document
42506 secure_getenv.
84b3fd84
FW
42507 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
42508 __libc_secure_getenv.
42509 * inet/ruserpass.c (ruserpass): Likewise.
42510 * malloc/mtrace.c (mtrace): Likewise.
42511 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 42512 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
42513 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
42514 * sysdeps/posix/tempname.c: Likewise. Evaluate
42515 HAVE_SECURE_GETENV.
42516 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 42517 __secure_getenv to __libc_secure_getenv.
84b3fd84 42518 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
42519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42520 Likewise.
42521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42522 Likewise.
42523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42525 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 42530
56e49b71
JM
425312012-07-25 Joseph Myers <joseph@codesourcery.com>
42532
42533 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
42534 (struct La_i86_retval): Likewise.
42535 (struct La_x86_64_regs): Likewise.
42536 (struct La_x86_64_retval): Likewise.
42537 (struct La_x32_regs): Likewise.
42538 (struct La_x32_retval): Likewise.
42539 (struct La_ppc32_regs): Likewise.
42540 (struct La_ppc32_retval): Likewise.
42541 (struct La_ppc64_regs): Likewise.
42542 (struct La_ppc64_retval): Likewise.
42543 (struct La_sh_regs): Likewise.
42544 (struct La_sh_retval): Likewise.
42545 (struct La_s390_32_regs): Likewise.
42546 (struct La_s390_32_retval): Likewise.
42547 (struct La_s390_64_regs): Likewise.
42548 (struct La_s390_64_retval): Likewise.
42549 (struct La_sparc32_regs): Likewise.
42550 (struct La_sparc32_retval): Likewise.
42551 (struct La_sparc64_regs): Likewise.
42552 (struct La_sparc64_retval): Likewise.
42553 (struct audit_ifaces): Remove architecture-specific pltenter and
42554 pltexit members.
42555 * sysdeps/i386/ldsodefs.h: New file.
42556 * sysdeps/powerpc/ldsodefs.h: Likewise.
42557 * sysdeps/s390/ldsodefs.h: Likewise.
42558 * sysdeps/sh/ldsodefs.h: Likewise.
42559 * sysdeps/sparc/ldsodefs.h: Likewise.
42560 * sysdeps/x86_64/ldsodefs.h: Likewise.
42561
354691b7
MP
425622012-07-25 Marek Polacek <polacek@redhat.com>
42563
42564 [BZ #6808]
42565 * math/libm-test.inc (yn_test): Add another test.
42566 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
42567 to ERANGE when the result is +-Inf.
42568 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42569 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
42570 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
42571 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
42572
bf9e2071
JM
425732012-07-24 Joseph Myers <joseph@codesourcery.com>
42574
42575 * conform/data/time.h-data (NULL): Use macro-constant. Require
42576 equal to 0.
42577 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
42578 clock_t.
42579 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
42580
57633811
TS
425812012-07-23 Thomas Schwinge <thomas@codesourcery.com>
42582
42583 * configure.in <sysdeps resolving>: Correct printing
42584 Implies_before.
42585 * configure: Regenerate.
42586
c23c33b0
TS
425872012-07-22 Thomas Schwinge <thomas@codesourcery.com>
42588
42589 * math/w_ilogb.c: Include <limits.h>.
42590 * math/w_ilogbl.c: Likewise.
42591
b5982523
JM
425922012-07-20 Joseph Myers <joseph@codesourcery.com>
42593
42594 * manual/lang.texi (__va_copy): Document primarily as ISO C99
42595 va_copy. Document allowing for unavailable va_copy only as
42596 pre-C99 compatibility.
42597 * manual/string.texi (Copying and Concatenation): Use va_copy
42598 instead of __va_copy in concat example.
42599
ac4ea442
PT
426002012-07-20 Pino Toscano <toscano.pino@tiscali.it>
42601
42602 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
42603 (__sendto): Use create_address_port. Initialize APORT and deallocate
42604 it if not null.
42605
f98eafbd
PT
42606 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
42607 with O_NOLINK passed to __file_name_lookup.
42608
898c7aab
PT
42609 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
42610 with O_NOLINK passed to __file_name_lookup.
42611
0ced335a
PT
42612 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
42613 negative N or less than NGIDS.
42614
b3404dbd
PT
42615 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
42616 type to string_t. Set ERANGE as errno and return it if NAME is not big
42617 enough. Use memcpy instead of strncpy.
42618
0f48659e
JM
426192012-07-20 Joseph Myers <joseph@codesourcery.com>
42620
42621 * elf/Makefile (check-data): Remove.
42622 (localplt.data): New vpath directive.
42623 ($(objpfx)check-localplt.out): Use localplt.data from vpath
42624 instead of $(check-data).
42625 * scripts/data/localplt-generic.data: Move to ...
42626 * sysdeps/generic/localplt.data: ... here.
42627 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
42628 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
42629 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
42630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42631 ... here.
42632 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
42633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42634 ... here.
42635 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
42636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
42637 ... here.
42638 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
42639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42640 ... here.
42641 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
42642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
42643 ... here.
42644 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
42645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
42646 ... here.
42647
d37cbdaa
AZ
426482012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42649
42650 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
42651 PPC32 and PPC64 files.
42652 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
42653 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
42654
46f85fc2
AK
426552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42656
42657 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
42658 __makecontext_ret to ...
42659 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
42660 ... here and call exit if uc_link is NULL. New file.
42661 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
42662 __makecontext_ret.S.
42663 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
42664 __makecontext_ret to ...
42665 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
42666 ... here and call exit if uc_link is NULL. New file.
42667 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
42668 __makecontext_ret.S.
42669
08f43f9b
AK
426702012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42671
42672 * elf/elf.h (R_390_IRELATIVE): New definition.
42673 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
42674 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
42675 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
42676 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42677 (elf_machine_lazy_rel): Likewise.
42678 * sysdeps/s390/dl-irel.h: New file.
42679 * sysdeps/s390/s390-64/memcpy.S: New asm code.
42680 * sysdeps/s390/s390-64/memset.S: New asm code.
42681 * sysdeps/s390/s390-64/memcmp.S: New asm code.
42682 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
42683 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
42684 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
42685 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
42686 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
42687 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
42688 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
42689 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
42690 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
42691 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
42692 * sysdeps/s390/s390-32/memcpy.S: New asm code.
42693 * sysdeps/s390/s390-32/memset.S: New asm code.
42694 * sysdeps/s390/s390-32/memcmp.S: New asm code.
42695
3b05db33
MP
426962012-07-17 Marek Polacek <polacek@redhat.com>
42697
42698 [BZ #14349]
42699 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
42700 * sysdeps/s390/s390-64/configure.in: Likewise.
42701 * sysdeps/sparc/configure.in: Likewise.
42702 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
42703 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
42704 * sysdeps/i386/configure.in: Likewise.
42705 * sysdeps/x86_64/configure.in: Likewise.
42706 * sysdeps/sh/configure.in: Likewise.
42707 * sysdeps/s390/s390-32/configure: Regenerated.
42708 * sysdeps/s390/s390-64/configure: Likewise.
42709 * sysdeps/x86_64/configure: Likewise.
42710 * sysdeps/sh/configure: Likewise.
42711 * sysdeps/powerpc/powerpc64/configure: Likewise.
42712 * sysdeps/powerpc/powerpc32/configure: Likewise.
42713 * sysdeps/sparc/configure: Likwise.
42714 * sysdeps/i386/configure: Likewise.
42715
a66877c6
MP
42716 * elf/dl-open.c: Comment fixes.
42717
cfc82fd8
JM
427182012-07-17 Joseph Myers <joseph@codesourcery.com>
42719
bd29910a
JM
42720 * Makefile [CXX] (check-data): Remove.
42721 [CXX] (c++-types.data): New vpath directive.
42722 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
42723 vpath. Do not allow for C++ type data being missing.
42724 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
42725 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
42726 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
42727 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
42728 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
42729 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
42730 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
42731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42732 ... here.
42733 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
42734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42735 ... here.
42736 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
42737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
42738 ... here.
42739 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
42740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
42741 ... here.
42742 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
42743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
42744 ... here.
42745 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
42746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
42747 ... here.
42748 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
42749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
42750 ... here.
42751 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
42752 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
42753
cfc82fd8
JM
42754 * elf/tls-macros.h (TLS_LE): Move architecture-specific
42755 definitions to architecture-specific files.
42756 (TLS_IE): Likewise.
42757 (TLS_LD): Likewise.
42758 (TLS_GD): Likewise.
42759 * sysdeps/i386/tls-macros.h: New file.
42760 * sysdeps/powerpc/tls-macros.h: Likewise.
42761 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
42762 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
42763 * sysdeps/sh/tls-macros.h: Likewise.
42764 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
42765 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
42766 * sysdeps/x86_64/tls-macros.h: Likewise.
42767
f7db3170
TS
427682012-07-17 Thomas Schwinge <thomas@codesourcery.com>
42769
07cbfc23
TS
42770 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
42771 zero value for regular exit case.
42772
f7db3170
TS
42773 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
42774 (__start_context): Preserve zero value for regular exit case.
42775
dc97c227
TS
427762012-07-17 Thomas Schwinge <thomas@codesourcery.com>
42777 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42778
42779 * manual/setjmp.texi (setcontext): Clarify normal process
42780 termination when uc_link is the null pointer.
42781 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
42782 exit call.
42783
d0cd7d02
AS
427842012-07-16 Andreas Schwab <schwab@linux-m68k.org>
42785
42786 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
42787 preprocessor. Test for each exception mask separately.
42788
dd318934
AJ
427892012-07-16 Andreas Jaeger <aj@suse.de>
42790
42791 * po/ru.po: Update from translation team.
42792
8048311a
JM
427932012-07-15 Joseph Myers <joseph@codesourcery.com>
42794
42795 * conform/data/string.h-data (NULL): Use macro-constant. Require
42796 equal to 0.
42797 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42798 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42799 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
42800 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
42801 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42802
b637d46e
AJ
428032012-07-13 Andreas Jaeger <aj@suse.de>
42804
42805 * po/fr.po: Update from translation team.
42806
541428fe
MP
428072012-07-12 Marek Polacek <polacek@redhat.com>
42808
42809 [BZ #14173]
42810 * math/libm-test.inc (yn_test): Add test for BZ #14173.
42811 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
42812 loop condition.
42813
ec332e94
JM
428142012-07-12 Joseph Myers <joseph@codesourcery.com>
42815
42816 [BZ #13717]
42817 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42818 Change to 2.4.1 where previously 2.4.0.
42819 * sysdeps/unix/sysv/linux/configure: Regenerated.
42820 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
42821 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
42822 version.
42823 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
42824 (__ASSUME_AT_CLKTCK): Remove.
42825 (__ASSUME_AT_PAGESIZE): Likewise.
42826 (__ASSUME_AT_XID): Likewise.
42827 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
42828 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
42829 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
42830 unconditionally.
42831 (HAVE_AUX_PAGESIZE): Likewise.
42832 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
42833 [__ASSUME_AT_CLKTCK]: Make code unconditional.
42834 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
42835
7b6e99be
JB
428362012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
42837
42838 [BZ #14307]
42839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
42840 the temporary buffer used to invoke __gethostbyname2_r,
42841 __gethostbyaddr_r and gethostbyname4_r to make room for struct
42842 host_data / struct gaih_addrtuple.
42843 * resolv/nss_dns/dns-host.c (global scope): Move definition of
42844 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
42845 header file nss/nsswitch.h.
42846 * nss/nsswitch.h (global scope): Add definition of implementation
42847 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
42848 resolv/nss_dns/dns-host.c).
42849
608404eb
AJ
428502012-07-11 Andreas Jaeger <aj@suse.de>
42851
42852 * po/fr.po: Update from translation team.
42853
71220aca
AJ
42854 * po/sv.po: Update from translation team
42855 * po/fr.po: Another update from translation team.
42856
28cfe843
AZ
428572012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42858
42859 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
42860 for subnormals or multiply small sinh result by itself.
42861 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42863
6b90f981
DM
428642012-07-11 David S. Miller <davem@davemloft.net>
42865
42866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42867
c6825772
AS
428682012-07-10 Andreas Schwab <schwab@linux-m68k.org>
42869
42870 [BZ #14347]
42871 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
42872 (INTERNAL_MARK): Shift it here.
42873
7b8e0d49
MP
428742012-07-10 Marek Polacek <polacek@redhat.com>
42875
42876 [BZ #14151]
42877 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
42878 libc_cv_asm_global_directive with .globl.
42879 * configure: Regenerated.
42880 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
42881 with .globl.
42882 * sysdeps/i386/configure: Regenerated.
42883 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
42884 with .globl.
42885 * sysdeps/x86_64/configure: Regenerated.
42886 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
42887 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
42888 * elf/tst-unique2mod2.c: Likewise.
42889 * elf/tst-unique2mod1.c: Likewise.
42890 * elf/tst-unique1mod2.c: Likewise.
42891 * elf/tst-unique1mod1.c: Likewise.
42892 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42893 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42894 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42895 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42896 * sysdeps/mach/sysdep.h: Likewise.
42897 * sysdeps/i386/sysdep.h: Likewise.
42898 * sysdeps/i386/i386-mcount.S: Likewise.
42899 * sysdeps/x86_64/_mcount.S: Likewise.
42900 * sysdeps/x86_64/sysdep.h: Likewise.
42901 * sysdeps/sh/_mcount.S: Likewise.
42902 * sysdeps/sh/sysdep.h: Likewise.
42903 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
42904 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
42905 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
42906 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42907 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
42908 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
42909 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
42910 * locale/localeinfo.h: Likewise.
42911 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
42912 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
42913
6c55cda3
RM
429142012-07-09 Roland McGrath <roland@hack.frob.com>
42915
42916 [BZ #14336]
42917 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
42918 system".
42919 * manual/message.texi (The Uniforum approach): Likewise.
42920 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
42921 (glibc iconv Implementation): Likewise.
42922
638a572e
JM
429232012-07-09 Joseph Myers <joseph@codesourcery.com>
42924
42925 [BZ #14337]
42926 * math/s_clog.c (__clog): Avoid scaling a value down where that
42927 could result in underflow.
42928 * math/s_clog10.c (__clog10): Likewise.
42929 * math/s_clog10f.c (__clog10f): Likewise.
42930 * math/s_clog10l.c (__clog10l): Likewise.
42931 * math/s_clogf.c (__clogf): Likewise.
42932 * math/s_clogl.c (__clogl): Likewise.
42933 * math/libm-test.inc (clog_test): Add more tests.
42934 (clog10_test): Likewise.
42935 * sysdeps/i386/fpu/libm-test-ulps: Update.
42936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42937
261f4859
AS
429382012-07-06 Andreas Schwab <schwab@linux-m68k.org>
42939
0abaf3e4
AS
42940 [BZ #14283]
42941 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
42942 by 7 not 8 to examine high bit of fractional part.
42943
261f4859
AS
42944 [BZ #14042]
42945 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
42946 for call to __mcount_internal.
42947 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
42948 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
42949 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
42950
f17ac40d
JM
429512012-07-06 Joseph Myers <joseph@codesourcery.com>
42952
9ad63c23
JM
42953 [BZ #14154]
42954 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
42955 approximation for values within 0x1p-13f of an odd multiple of
42956 pi/4.
42957 * math/libm-test.inc (tan_test): Do not allow spurious underflow
42958 exception. Add more tests.
42959 * sysdeps/i386/fpu/libm-test-ulps: Update.
42960
f17ac40d
JM
42961 [BZ #6778]
42962 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
42963 inputs and return -1 for them. Do not check for +Inf in case not
42964 reachable for +Inf.
42965 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42966 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
42967 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42968 and return -1 for them. Do not check for +Inf in case not
42969 reachable for +Inf.
42970 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
42971 define.
42972 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42973 and return -1 for them. Do not check for +Inf in case not
42974 reachable for +Inf.
42975 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
42976 spurious underflow.
42977 * sysdeps/i386/fpu/libm-test-ulps: Update.
42978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42979
fb21f89b
MF
429802012-07-06 Mike Frysinger <vapier@gentoo.org>
42981
42982 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
42983
cdfe2c5e
JM
429842012-07-05 Joseph Myers <joseph@codesourcery.com>
42985
42986 [BZ #14157]
42987 [BZ #14331]
42988 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
42989 could result in spurious underflow. Scale down values above
42990 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
42991 * math/s_csqrtf.c (__csqrtf): Likewise.
42992 * math/s_csqrtl.c (__csqrtl): Likewise.
42993 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
42994 spurious underflow.
42995 * sysdeps/i386/fpu/libm-test-ulps: Update.
42996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42997
70d35b67
AS
429982012-07-04 Andreas Schwab <schwab@linux-m68k.org>
42999
704bc459
AS
43000 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43001 xopen-msg.sed.
43002 * catgets/xopen-msg.awk: New file.
43003 * catgets/xopen-msg.sed: Removed.
43004
70d35b67
AS
43005 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43006 po2text.sed.
43007 * intl/po2test.awk: New file.
43008 * intl/po2test.sed: Removed.
43009
ca61cf32
JM
430102012-07-04 Joseph Myers <joseph@codesourcery.com>
43011
43012 [BZ #14328]
43013 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43014 or multiply small sinh result by itself.
43015 * math/s_ctanf.c (__ctanf): Likewise.
43016 * math/s_ctanh.c (__ctanh): Likewise.
43017 * math/s_ctanhf.c (__ctanhf): Likewise.
43018 * math/s_ctanhl.c (__ctanhl): Likewise.
43019 * math/s_ctanl.c (__ctanl): Likewise.
43020 * math/libm-test.inc (ctan_test_tonearest): New function.
43021 (ctan_test_towardzero): Likewise.
43022 (ctan_test_downward): Likewise.
43023 (ctan_test_upward): Likewise.
43024 (ctanh_test_tonearest): Likewise.
43025 (ctanh_test_towardzero): Likewise.
43026 (ctanh_test_downward): Likewise.
43027 (ctanh_test_upward): Likewise.
43028 (main): Call these new functions.
43029 * sysdeps/i386/fpu/libm-test-ulps: Update.
43030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43031
ca48a46a
MF
430322012-07-03 Mike Frysinger <vapier@gentoo.org>
43033
43034 * .gitignore: Delete /ports entry.
43035
9d63d37d
AJ
430362012-07-03 Andreas Jaeger <aj@suse.de>
43037
43038 * po/bg.po: Update from translation team.
43039 * po/cs.po: Likewise.
43040 * po/de.po: Likewise.
43041 * po/hr.po: Likewise.
43042 * po/nl.pl: Likewise.
43043 * po/pl.po: Likewise.
43044 * po/vi.po: Likewise.
43045
370ca3d2
JM
430462012-07-03 Joseph Myers <joseph@codesourcery.com>
43047
95f5a9a8
JM
43048 * Makeconfig [!+link] (+link-before-libc): New variable.
43049 [!+link] (+link-after-libc): Likewise.
43050 [!+link] (+link-tests): Likewise.
43051 [!+link] (+link): Define in terms of $(+link-before-libc) and
43052 $(+link-after-libc).
43053 [!+link-static] (+link-static-before-libc): New variable.
43054 [!+link-static] (+link-static-after-libc): Likewise.
43055 [!+link-static] (+link-static-tests): Likewise.
43056 [!+link-static] (+link-static): Define in terms of
43057 $(+link-static-before-libc) and $(+link-static-after-libc).
43058 [build-shared] (link-libc-before-gnulib): New variable.
43059 [build-shared] (link-libc-tests): Likewise.
43060 [build-shared] (link-libc): Define in terms of
43061 $(link-libc-before-gnulib).
43062 [!build-shared] (link-libc-tests): New variable.
43063 (link-libc-static-tests): New variable.
43064 [!gnulib] (gnulib-arch): New variable.
43065 [!gnulib] (gnulib-tests): Likewise.
43066 [!gnulib] (static-gnulib-arch): Likewise.
43067 [!gnulib] (static-gnulib-tests): Likewise.
43068 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
43069 Define with "=" instead of ":=".
43070 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
43071 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
43072 * Rules (binaries-all-notests): New variable.
43073 (binaries-all-tests): Likewise.
43074 (binaries-static-notests): Likewise.
43075 (binaries-static-tests): Likewise.
43076 (binaries-all): Define using $(binaries-all-notests) and
43077 $(binaries-all-tests).
43078 (binaries-static): Define using $(binaries-static-notests) and
43079 $(binaries-static-tests).
43080 (binaries-shared-tests): New variable.
43081 (binaries-shared-notests): Likewise.
43082 (binaries-shared): Remove variable.
43083 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
43084 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
43085 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
43086 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
43087 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
43088 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
43089 * elf/Makefile (sln-modules): New variable.
43090 (extra-objs): Add $(sln-modules:=.o).
43091 (ldconfig-modules): Add static-stubs.
43092 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
43093 * elf/static-stubs.c: New file.
43094
7a845b2c
JM
43095 [BZ #14283]
43096 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
43097 by 7 not 8 to examine high bit of fractional part. Use volatile
43098 variables when splitting into final array of floats if
43099 __FLT_EVAL_METHOD__ != 0.
43100 * math/libm-test.inc (cos_test): Add another test.
43101 (sin_test): Likewise.
43102 * sysdeps/i386/fpu/libm-test-ulps: Update.
43103
e2283f38
JM
43104 [BZ #14273]
43105 * math/libm-test.inc (cosh_test): Add more tests.
43106
370ca3d2
JM
43107 * version.h (RELEASE): Set to "development".
43108 (VERSION): Set to "2.16.90".
43109
ee9247c3
CD
431102012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
43111
43112 * NEWS: Update copyright. Remove last-updated date.
43113 Mention math library bug fixes and timezone data changes.
43114 * README: Mention GNU/Hurd, x32, and HPPA support status.
43115
4648c381
TS
431162012-06-28 Thomas Schwinge <thomas@codesourcery.com>
43117
43118 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
43119
aac78a43
AJ
431202012-06-27 Andreas Jaeger <aj@suse.de>
43121
43122 * manual/contrib.texi (Contributors): Add Samuel Thibault.
43123
ed3dbfad
AJ
431242012-06-25 Andreas Jaeger <aj@suse.de>
43125
43126 * sysdeps/s390/fpu/libm-test-ulps: Update.
43127
4d0ee855
AS
431282012-06-23 Andreas Schwab <schwab@linux-m68k.org>
43129 Thomas Schwinge <thomas@codesourcery.com>
43130
43131 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43132 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43133 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43134 fanotify_mark.
43135
af1bce34
TS
431362012-06-23 Thomas Schwinge <thomas@codesourcery.com>
43137
a9fa33ba
TS
43138 * sysdeps/mach/start.c: Remove file.
43139 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
43140 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
43141 * sysdeps/sh/init-first.c: Likewise.
43142
58f902b8
TS
43143 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43144 registers for frame unwinding purposes, add CFI directives.
43145 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43146 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
43147 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
43148 Likewise.
43149
1518f58b
TS
43150 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
43151 __fortify_fail returning.
43152 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43153
db9b5059
TS
43154 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
43155 sysdeps/sh/____longjmp_chk.S.
43156 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
43157 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
43158 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
43159 (gen-as-const-headers): Append sigaltstack-offsets.sym.
43160
967705fe
TS
43161 * sysdeps/sh/abort-instr.h: New file.
43162 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
43163 process in case exit returns.
43164
a9def8c4
TS
43165 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43166 initialize the GOT register before use.
43167
2a649725
TS
43168 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
43169 calculation of ARGC > 4.
43170
af1bce34
TS
43171 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
43172 meaningful names to some local labels.
43173
d230f50a
KK
431742012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43175 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43176
43177 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43178 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
43179 (__arch_compare_and_exchange_val_16_acq): Likewise.
43180 (__arch_compare_and_exchange_val_32_acq): Likewise.
43181 (atomic_exchange_and_add): Fix gUSA sequence.
43182 (atomic_add): Likewise.
43183 (atomic_add_negative): Likewise.
43184 (atomic_add_zero): Likewise.
43185 (atomic_bit_test_set): Likewise.
43186
0479b305
AS
431872012-06-22 Andreas Schwab <schwab@redhat.com>
43188
43189 [BZ #13579]
43190 * include/link.h (struct link_map): Add l_free_initfini.
43191 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43192 l_initfini.
43193 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43194 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43195 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43196 set.
43197
0e3933b9
CD
431982012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
43199
43200 * configure.in: Use AC_LANG_SOURCE.
43201 * configure: Regenerate.
43202
4248b1b1
RM
432032012-06-22 Roland McGrath <roland@hack.frob.com>
43204
43205 * configure.in (libc_cv_localstatedir): New substituted variable.
43206 * configure: Regenerated.
43207 * config.make.in (localstatedir): New variable, substituted from
43208 libc_cv_localstatedir.
43209 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43210 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43211 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43212 * sysdeps/gnu/configure: Regenerated.
43213
006dd861
JL
432142012-06-21 Jeff Law <law@redhat.com>
43215
43216 [BZ #14277]
43217 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43218 free. Simplify list management for _LIBC case.
43219
79662d42
JM
432202012-06-21 Joseph Myers <joseph@codesourcery.com>
43221
b7abb4bf
JM
43222 [BZ #14273]
43223 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43224 Clear sign bit of 64-bit integer value before comparing against
43225 overflow value.
43226
79662d42
JM
43227 * sysdeps/mach/configure: Regenerated.
43228
1f150908
L
432292012-06-21 H.J. Lu <hongjiu.lu@intel.com>
43230
43231 [BZ #14278]
43232 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43233
28363bbf
JL
432342012-06-21 Jeff Law <law@redhat.com>
43235
43236 [BZ #13882]
43237 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
43238 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 43239 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
43240 * elf/dl-open.c (dl_open_worker): Likewise.
43241
09615db4
CD
432422012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
43243
43244 * scripts/list-sources.sh: Scan PORTS for translations.
43245 * po/libc.pot: Regenerated.
43246
2174c6dd
AJ
432472012-06-21 Andreas Jaeger <aj@suse.de>
43248
43249 [BZ #12194]
43250 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43251 warning.
43252 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43253 * bits/byteswap-16.h (__bswap_16): Likewise.
43254 * bits/byteswap.h (__bswap_constant_16): Likewise.
43255
3ee947b1
L
432562012-06-18 H.J. Lu <hongjiu.lu@intel.com>
43257
43258 [BZ #14117]
a2f34833
L
43259 * sysdeps/i386/fpu_control.h: Removed.
43260 * sysdeps/x86_64/fpu_control.h: Moved to ...
43261 * sysdeps/x86/fpu_control.h: Here.
43262
3ee947b1
L
43263 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43264 (_FPU_SETCW): Likewise.
43265
ed1825f8
L
432662012-06-15 H.J. Lu <hongjiu.lu@intel.com>
43267
25f1282a
L
43268 [BZ #14117]
43269 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43270 * sysdeps/x86/fpu/bits/mathinline.h: This.
43271 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43272
ed1825f8
L
43273 [BZ #14050]
43274 [BZ #14117]
43275 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43276 functions if __x86_64__ is defined.
43277
36d54b74
CLT
432782012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
43279
43280 * string/endian.h: Add !__ASSEMBLER__ condition for including
43281 conversion interfaces.
43282
10285c21
JM
432832012-06-15 Joseph Myers <joseph@codesourcery.com>
43284
43285 [BZ #14241]
43286 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43287 of ABS(x) in calculating zero to negative powers other than odd
43288 integers.
43289 * math/libm-test.inc (pow_test): Add more tests.
43290
06c5abbd
AJ
432912012-06-15 Andreas Jaeger <aj@suse.de>
43292
43293 * manual/contrib.texi (Contributors): Update entry of Liubov
43294 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43295 Machado Filho.
43296
a3aeac40
CH
432972012-06-15 Cyril Hrubis <metan@ucw.cz>
43298
43299 * string/string.h: Add __wur to GNU version of strerror_r.
43300
49bdf4c1
L
433012012-06-14 H.J. Lu <hongjiu.lu@intel.com>
43302
43303 [BZ #14229]
43304 * string/Makefile (tests): Add tst-strtok_r.
43305 * string/tst-strtok_r.c: New file.
43306 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43307 RAX_LP/RDX_LP on SAVE_PTR.
43308
834f9b8d
RM
433092012-06-14 Roland McGrath <roland@hack.frob.com>
43310
43311 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43312
75fa1921
JM
433132012-06-14 Joseph Myers <joseph@codesourcery.com>
43314
43315 * libm_test.inc (csqrt_test): Allow more spurious underflow
43316 exceptions.
43317 (j0_test): Likewise.
43318 (j1_test): Likewise.
43319 (y0_test): Likewise.
43320 (y1_test): Likewise.
43321
771766df
CD
433222012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
43323
43324 * po/Makefile (libc.pot): Use UTF-8 charset.
43325
ceb9e56b
PP
433262012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
43327
43328 [BZ #14210]
43329 Suppress sign-conversion warning from FD_SET.
43330 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43331 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43332 not unsigned long int.
43333 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43334
ddb28975
L
433352012-06-12 H.J. Lu <hongjiu.lu@intel.com>
43336
43337 [BZ #14050]
43338 [BZ #14117]
43339 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43340 __extern_always_inline instead of __extern_inline.
43341 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43342 (__signbit): Likewise.
43343 (__signbitl): Support C++ namespace.
43344 (lrintf): New inline function.
43345 (lrint): Likewise.
43346 (llrintf): Likewise.
43347 (llrint): Likewise.
43348 (fmaxf): Likewise.
43349 (fmax): Likewise.
43350 (fminf): Likewise.
43351 (fmin): Likewise.
43352 (rint): Likewise.
43353 (rintf): Likewise.
43354 (ceil): Likewise.
43355 (ceilf): Likewise.
43356 (floor): Likewise.
43357 (floorf): Likewise.
43358 (nearbyint): Likewise.
43359 (nearbyintf): Likewise.
43360
d7b4fb26
TS
433612012-06-12 Thomas Schwinge <thomas@codesourcery.com>
43362
43363 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43364 non-default versions.
43365
eb55f5c2
RM
433662012-06-11 Roland McGrath <roland@hack.frob.com>
43367
43368 [BZ #14218]
43369 * manual/argp.texi (Argp): Reword argp_parse description slightly.
43370
366af02c
TS
433712012-06-09 Thomas Schwinge <thomas@codesourcery.com>
43372
99ff6e5c
TS
43373 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43374 (FE_UPWARD, FE_DOWNWARD): Don't define.
43375 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43376 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43377
366af02c
TS
43378 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43379 reading it.
43380 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43381 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43382
793ea851
KK
433832012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43384
43385 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43386 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43387 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43388 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43389
a728a38f
L
433902012-06-06 H.J. Lu <hongjiu.lu@intel.com>
43391
43392 [BZ #14117]
c08010c7
L
43393 * sysdeps/i386/fpu/bits/fenv.h: Removed.
43394 * sysdeps/i386/fpu/Implies: New file.
43395 * sysdeps/x86_64/fpu/Implies: Likewise.
43396 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43397 * sysdeps/x86/fpu/bits/fenv.h: This.
43398
a728a38f
L
43399 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43400 __SSE_MATH__.
43401
6e230d11
SP
434022012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43403
43404 [BZ #14134]
43405 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43406 character 0xffff that matches the last element of the
43407 conversion table.
43408
1b671feb
AZ
434092012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43410
43411 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43412 fmodl commit.
43413
6043738b
AZ
434142012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43415
43416 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43417 values higher than 25.6283.
43418
34ae0b32
AZ
434192012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43420
43421 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43422 subnormal exponent extraction and add some __builtin_expect.
43423 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43424 Fix for subnormal mantissa calculation.
43425
1214ec8f
MF
434262012-06-04 Mike Frysinger <vapier@gentoo.org>
43427
43428 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43429 cpu2 is -1 and errno is not ENOSYS.
43430
f3d1f93c
L
434312012-06-04 H.J. Lu <hongjiu.lu@intel.com>
43432
43433 [BZ #14117]
0e4a3cd7
L
43434 * sysdeps/i386/i486/bits/string.h: Renamed to ...
43435 * sysdeps/x86/bits/string.h: This.
43436 * sysdeps/x86_64/bits/string.h: Removed.
43437
6704c645
L
43438 * sysdeps/i386/i486/bits/string.h: Define inline functions only
43439 if not compiling for x86-64, but compiling for >= i486.
43440
48495318
L
43441 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
43442 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43443
14adcbfc
L
43444 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
43445 New macro from Linux kernel 3.4.0.
43446 (FP_XSTATE_MAGIC2): Likewise.
43447 (FP_XSTATE_MAGIC2_SIZE): Likewise.
43448 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
43449 (struct _fpx_sw_bytes): New struct.
43450 (struct _xsave_hdr): Likewise.
43451 (struct _ymmh_state): Likewise.
43452 (struct _xstate): Likewise.
43453
68e408ab
L
43454 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
43455 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
43456 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
43457 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
43458 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
43459 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
43460
f3d1f93c
L
43461 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
43462 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
43463 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
43464 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
43465 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
43466 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
43467
d9dc34cd
TMQMF
434682012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43469
43470 [BZ #13743]
43471 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
43472 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
43473 (sysdep_headers): Include sys/platform/ppc.h.
43474 * sysdeps/powerpc/test-gettimebase.c: Test for
43475 __ppc_get_timebase() to catch future ISA opcode/insn changes.
43476 * manual/Makefile (appendices): Include platform.texi.
43477 * manual/contrib.texi (Contributors): Update @node pointers.
43478 * manual/maint.texi (Maintenance): Likewise.
43479 (Platform): New node.
43480 * manual/platform.texi: New file. Document the new features.
43481
4af3879c
SP
434822012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43483 Jakub Jelinek <jakub@redhat.com>
43484
43485 [BZ #14188]
43486 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
43487 where __builtin_expect is unavailable.
43488
2fd6ff13
DM
434892012-06-03 David S. Miller <davem@davemloft.net>
43490
43491 * stdlib/longlong.h: Updated from GCC.
43492
173f7220
AS
434932012-06-02 Andreas Schwab <schwab@linux-m68k.org>
43494
43495 [BZ #14042]
43496 * sysdeps/powerpc/powerpc32/mcount.c: New file.
43497 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
43498 __mcount_internal.
43499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43500 (GLIBC_2.16): Likewise.
43501
f34a1c6f
L
435022012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43503
43504 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
43505
88a4576f
JM
435062012-06-01 Joseph Myers <joseph@codesourcery.com>
43507
ea32bcdd
JM
43508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
43509 (default-abi): New variable.
43510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
43511 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
43512 variable.
43513 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
43514 Likewise.
43515 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
43516 Likewise.
43517 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
43518 Likewise.
43519
88a4576f
JM
43520 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
43521 definition. Document in comment.
43522
402fe938
DM
435232012-06-01 David S. Miller <davem@davemloft.net>
43524
43525 * stdlib/longlong.h: Updated from GCC.
43526
3553723f
L
435272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43528
43529 [BZ #14117]
3bd872c4
L
43530 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
43531 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
43532 sys/debugreg.h sys/io.h here.
43533 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
43534 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
43535 sys/io.h.
43536 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
43537 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
43538 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
43539 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
43540 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
43541 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
43542
3553723f
L
43543 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
43544 Define only if __x86_64__ is defined.
43545
4842e4fe
JM
435462012-06-01 Joseph Myers <joseph@codesourcery.com>
43547
c5bfe3d5
JM
43548 [BZ #14048]
43549 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
43550 Use int64_t for variable i.
43551 * math/libm-test.inc (fmod_test): Add more tests.
43552
4842e4fe
JM
43553 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
43554 z computation is not scheduled after fetestexcept.
43555 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
43556 Use math_force_eval instead of asm to ensure calculation scheduled
43557 before exception test.
43558 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
43559 Ensure a1 + u.d computation is not scheduled after fetestexcept.
43560
efb73488
AJ
435612012-06-01 Aurelien Jarno <aurelien@aurel32.net>
43562
43563 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
43564 computation is not scheduled after fetestexcept.
43565
29bcce7c
L
435662012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43567
43568 [BZ #14117]
43569 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
43570 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
43571
73a68f94
AZ
435722012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43573
43574 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
43575 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43576
67b6df78
L
435772012-05-31 H.J. Lu <hongjiu.lu@intel.com>
43578
edf2933a 43579 [BZ #14117]
ebc64a18
L
43580 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
43581 <bits/wordsize.h>.
43582 (__WCHAR_MIN): Support __WORDSIZE == 64.
43583 (__WCHAR_MAX): Likewise.
43584
edf2933a
L
43585 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
43586 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
43587
57c6cf40
L
43588 [BZ #14183]
43589 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
43590 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
43591
67b6df78 43592 [BZ #14117]
8eb6281e
L
43593 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
43594 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
43595
aac639f4
L
43596 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
43597 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
43598
67b6df78
L
43599 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
43600 Defined to 1 if __x86_64__ isn't defined.
43601 (_STAT_VER_LINUX_OLD): New.
43602 (st_atime): Remove duplicate.
43603 (st_mtime): Likewise.
43604 (st_ctime): Likewise.
43605
1c2cfe81
DM
436062012-05-31 David S. Miller <davem@davemloft.net>
43607
43608 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
43609 entries.
43610
5be8418c
AS
436112012-06-01 Andreas Schwab <schwab@linux-m68k.org>
43612
e7725326
AS
43613 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
43614 gen-libm-test.pl.
43615
5be8418c
AS
43616 [BZ #14132]
43617 * elf/dl-reloc.c: Include <_itoa.h>.
43618 (_dl_reloc_bad_type): Remove use of INTUSE.
43619 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
43620 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
43621 * stdio-common/psiginfo.c (psiginfo): Likewise.
43622 * stdio-common/psignal.c (psignal): Likewise.
43623 * string/strsignal.c (strsignal): Likewise.
43624 * include/signal.h (_sys_siglist): Declare hidden proto.
43625 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
43626 INTVARDEF with libc_hidden_data_def.
43627 * stdio-common/itoa-udigits.c: Likewise.
43628 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
43629 (_itoa_lower_digits_internal): Remove declaration.
43630 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
43631 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
43632 (_sys_sigabbrev_internal): Remove aliases.
43633 (_sys_siglist): Define hidden alias.
43634
507352f1
MT
436352012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
43636
43637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43638 bits/sysctl.h.
43639
42bbb1c3
L
436402012-05-31 H.J. Lu <hongjiu.lu@intel.com>
43641
43642 [BZ #14117]
6bd784b6
L
43643 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
43644 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
43645
8bca20f0
L
43646 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
43647 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
43648 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
43649 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
43650 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
43651 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
43652
f9e890a9
L
43653 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
43654 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
43655 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
43656
471101a1
L
43657 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
43658 with __addr.
43659 (insw): Likewise.
43660 (insl): Likewise.
43661 (outsb): Likewise.
43662 (outsw): Likewise.
43663 (outsl): Likewise.
43664
6451c862
L
43665 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
43666 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
43667 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
43668
a254b8c9
L
43669 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
43670 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
43671 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
43672 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
43673 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
43674 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
43675
b8dfdd92
L
43676 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
43677 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
43678
578cd270
L
43679 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
43680 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
43681
de662f5f
L
43682 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
43683 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
43684 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
43685
25653439
L
43686 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
43687 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
43688 to ...
43689 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
43690
6bad24a0
L
43691 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
43692 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
43693 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
43694
42bbb1c3
L
43695 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
43696 for x86-64.
43697 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
43698
2d10d547
JM
436992012-05-31 Joseph Myers <joseph@codesourcery.com>
43700
43701 * math/math.h (M_El): Use two more decimal places.
43702 (M_LOG2El): Likewise.
43703 (M_LOG10El): Likewise.
43704 (M_LN2l): Likewise.
43705 (M_LN10l): Likewise.
43706 (M_PIl): Likewise.
43707 (M_PI_2l): Likewise.
43708 (M_PI_4l): Likewise.
43709 (M_1_PIl): Likewise.
43710 (M_2_PIl): Likewise.
43711 (M_2_SQRTPIl): Likewise.
43712 (M_SQRT2l): Likewise.
43713 (M_SQRT1_2l): Likewise.
43714
f230c29b
DM
437152012-05-31 David S. Miller <davem@davemloft.net>
43716
43717 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
43718 values between float registers.
43719 * sysdeps/sparc/sparc64/memset.S: Likewise.
43720 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43721
fed806c3
MF
437222012-05-31 Mike Frysinger <vapier@gentoo.org>
43723
43724 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
43725 -D_FORTIFY_SOURCE=1.
43726 (CPPFLAGS-tst-longjmp_chk.c): Define.
43727 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
43728 (CPPFLAGS-tst-longjmp_chk2.c): Define.
43729 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
43730 CFLAGS-tst-wchar-h.c.
43731
30917259
MP
437322012-05-31 Marek Polacek <polacek@redhat.com>
43733
43734 [BZ #14132]
43735 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
43736 __endmntent_internal): Remove declaration.
43737 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
43738 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
43739 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
43740
1c58d5dc
DM
437412012-05-30 David S. Miller <davem@davemloft.net>
43742
43743 * sysdeps/sparc/sparc32/soft-fp/q_util.c
43744 (___Q_simulate_exceptions): Use real FP ops rather than writing
43745 into the %fsr.
43746 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
43747 Likewise.
43748
7dc00e0d
L
437492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43750
43751 [BZ #14117]
0bd53985
L
43752 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
43753 * sysdeps/x86/bits/xtitypes.h: This.
43754
3a257e66
L
43755 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
43756 * sysdeps/x86/bits/wordsize.h: This.
43757
62f62904
L
43758 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
43759 * sysdeps/x86/bits/huge_vall.h: This.
43760
404fe9d9
L
43761 * sysdeps/i386/bits/select.h: Removed.
43762 * sysdeps/x86_64/bits/select.h: Renamed to ...
43763 * sysdeps/x86/bits/select.h: This.
43764
d48d0446
L
43765 * sysdeps/i386/bits/setjmp.h: Removed.
43766 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
43767 * sysdeps/x86/bits/setjmp.h: This.
43768
7dc00e0d
L
43769 * sysdeps/i386/bits/mathdef.h: Removed.
43770 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
43771 * sysdeps/x86/bits/mathdef.h: This.
43772
03277f8f
AS
437732012-05-30 Andreas Schwab <schwab@linux-m68k.org>
43774
43775 [BZ #14132]
43776 * include/sys/socket.h (__connect_internal)
43777 (__libc_sa_len_internal): Remove declaration.
43778 (__connect, __libc_sa_len): Declare hidden_proto.
43779 (SA_LEN): Remove use of INTUSE.
43780 * socket/connect.c: Add libc_hidden_def.
43781 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
43782 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
43783 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
43784 alias.
43785 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43786 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
43787 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
43788 of adding _internal alias.
43789
13764867
L
437902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43791
43792 [BZ #14117]
6bd97696
L
43793 * sysdeps/i386/bits/link.h: Removed.
43794 * sysdeps/i386/bits/linkmap.h: Likewise.
43795 * sysdeps/x86_64/bits/link.h: Renamed to ...
43796 * sysdeps/x86/bits/link.h: This.
43797 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
43798 * sysdeps/x86/bits/linkmap.h: This.
43799
f726f0bb
L
43800 * sysdeps/i386/bits/endian.h: Removed.
43801 * sysdeps/x86_64/bits/endian.h: Renamed to ...
43802 * sysdeps/x86/bits/endian.h: This.
43803
13764867
L
43804 * sysdeps/i386/bits/byteswap.h: Removed.
43805 * sysdeps/i386/bits/byteswap-16.h: Likewise.
43806 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
43807 * sysdeps/x86/bits/byteswap.h: This.
43808 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
43809 * sysdeps/x86/bits/byteswap-16.h: This.
43810 * sysdeps/i386/Implies: Add x86.
43811 * sysdeps/x86_64/Implies: Likewise.
43812
ae251b0b
DM
438132012-05-30 David S. Miller <davem@davemloft.net>
43814
43815 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
43816 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
43817 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43818 (FP_TRAPPING_EXCEPTIONS): Define.
43819 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43820 (FP_TRAPPING_EXCEPTIONS): Define.
43821 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
43822 subnormals only when inexact has been signalled or underflow
43823 exceptions are enabled.
43824 (_FP_PACK_CANONICAL): Likewise.
43825
d5c90867
L
438262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43827
43828 [BZ #14183]
43829 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
43830 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
43831
63f1549e
RH
438322012-05-30 Richard Henderson <rth@twiddle.net>
43833
8d8f2279
RH
43834 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
43835 with #ifndef NOT_IN_libc.
43836
63f1549e
RH
43837 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
43838 marked to avoid plt entry.
43839
0ab0291b
L
438402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43841
43842 [BZ #14112]
43843 * Makeconfig (default-abi): New macro.
43844 (abi-includes): Likewise.
43845 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
43846 $(abi-$(default-abi)-lib-soname) for soname if defined.
43847 ($(common-objpfx)gnu/lib-names.stmp): Generate from
43848 abi-variants.
43849 * Makefile (installed-stubs): Likewise.
43850 * include/stubs-biarch.h: Removed.
43851 * scripts/lib-names.awk: Only handle one library at a time.
43852 * scripts/soversions.awk: Remove WORDSIZE support.
43853 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
43854 entries.
43855 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
43856 Removed.
43857 (syscall-list-default-condition): Likewise.
43858 (syscall-list-default-condition): Likewise.
43859 (syscall-list-includes): Likewise.
43860 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
43861 syscall-list-* with abi-*. Handle undefined abi-variants.
43862 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
43863 * sysdeps/unix/sysv/linux/i386/Implies: New file.
43864 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
43865 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
43866 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
43867 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
43868 Removed.
43869 (syscall-list-32-options): Likewise.
43870 (syscall-list-32-condition): Likewise.
43871 (syscall-list-64-options): Likewise.
43872 (syscall-list-64-condition): Likewise.
43873 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
43874 macro.
43875 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
43876 Renamed to ...
43877 (abi-*): This.
43878 (abi-64-ld-soname): New macro.
43879 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
43880 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
43881 Renamed to ...
43882 (abi-*): This.
43883 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
43884 * sysdeps/x86_64/x32/shlib-versions: Likewise.
43885
4da0431d
JM
438862012-05-30 Joseph Myers <joseph@codesourcery.com>
43887
3a85279c
JM
43888 * sysdeps/unix/sysv/linux/kernel-features.h
43889 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
43890 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
43891 include <kernel-features.h>.
43892 [!__NR_ftruncate64]: Remove conditional code.
43893 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43894 [__NR_ftruncate64]: Make code unconditional.
43895 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43896 * sysdeps/unix/sysv/linux/truncate64.c: Do not
43897 include <kernel-features.h>.
43898 [!__NR_ftruncate64]: Remove conditional code.
43899 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43900 [__NR_ftruncate64]: Make code unconditional.
43901 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
43903 include <kernel-features.h>.
43904 [!__NR_ftruncate64]: Remove conditional code.
43905 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43906 [__NR_ftruncate64]: Make code unconditional.
43907 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
43909 include <kernel-features.h>.
43910 [!__NR_ftruncate64]: Remove conditional code.
43911 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43912 [__NR_ftruncate64]: Make code unconditional.
43913 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43914
4da0431d
JM
43915 * configure.in (libc_cv_fpie): Weaken to a compile test using
43916 LIBC_TRY_CC_OPTION.
43917 * configure: Regenerated.
43918
11ef492c
AK
439192012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43920
43921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
43922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
43923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
43924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43925 Refreshed.
43926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
43927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
43928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
43929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
43930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
43931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43932 Refreshed.
43933
d66ef399
DM
439342012-05-27 David S. Miller <davem@davemloft.net>
43935
43936 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
43937 (___Q_zero): New.
43938 (__Q_simulate_exceptions): Return void. Change to simulate
43939 exceptions by writing into the %fsr.
43940 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
43941 (__Qp_handle_exceptions): Likewise.
43942 (numbers): Delete.
43943 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
43944 __Qp_handle_exceptions.
43945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
43946 __Qp_handle_exceptions.
43947 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43948 as unused and give dummy FP_RND_NEAREST initializer.
43949 (FP_INHIBIT_RESULTS): Define.
43950 (___Q_simulate_exceptions): Update declaration.
43951 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
43952 formatting.
43953 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43954 as unused and give dummy FP_RND_NEAREST initializer.
43955 (__Qp_handle_exceptions): Update declaration.
43956 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
43957 formatting.
43958
04fb54b5
TS
439592012-05-27 Thomas Schwinge <thomas@codesourcery.com>
43960
43961 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
43962 the temporary FPU control word.
43963 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
43964 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
43965 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
43966 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43967 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43968 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
43969 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
43970 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43971 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
43972 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
43973 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43974
3f99608f
KK
439752012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43976
43977 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
43978 fields.
43979
65a4de4e
CLT
439802012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
43981
43982 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
43983 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
43984 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
43985 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
43986 Likewise.
43987 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
43988 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
43989 Likewise.
43990
15749d40
UD
439912012-05-27 Ulrich Drepper <drepper@gmail.com>
43992
43993 * po/h.po: Update from translation team.
43994
25dbcb27
AS
439952012-05-26 Andreas Schwab <schwab@linux-m68k.org>
43996
3d3f8e55
AS
43997 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
43998
25dbcb27
AS
43999 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44000 handling of denormals.
44001 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44002 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44003 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44004 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44005 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44006 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44007 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44008 Likewise.
44009
7ad47a80 440102012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
44011
44012 [BZ #14152]
44013 * math/libm-test.inc (fma_test): Don't always expect underflow
44014 exception.
44015
9c6ea9fa
SP
440162012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44017
44018 [BZ #12416]
44019 * elf/tst-execstack.c: Include stackinfo.h.
44020 (do_test): Adjust test case to ensure that pthread_getattr_np
44021 behaviour remains the same after marking stack executable.
44022
a8239222
JM
440232012-05-25 Joseph Myers <joseph@codesourcery.com>
44024
44025 * sysdeps/unix/sysv/linux/kernel-features.h
44026 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44027 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44028 kernel-features.h.
44029 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44030 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44031 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
44032 kernel-features.h.
44033 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44034 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44035
918b5606
L
440362012-05-25 H.J. Lu <hongjiu.lu@intel.com>
44037
44038 * configure.in: Define the default includes to being none.
44039 * configure: Regenerated.
44040
3a097cc7
RM
440412012-05-25 Roland McGrath <roland@hack.frob.com>
44042
8422c9a5
RM
44043 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
44044 * sysdeps/x86_64/setjmp.S: Likewise.
44045 * sysdeps/i386/bsd-setjmp.S: Likewise.
44046 * sysdeps/i386/bsd-_setjmp.S: Likewise.
44047 * sysdeps/i386/setjmp.S: Likewise.
44048 * sysdeps/i386/__longjmp.S: Likewise.
44049 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44050 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
44051
3a097cc7
RM
44052 * include/stap-probe.h: New file.
44053 * configure.in: Handle --enable-systemtap.
44054 * configure: Regenerated.
44055 * config.h.in (USE_STAP_PROBE): New #undef.
44056 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
44057 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
44058 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44059
21708942
JM
440602012-05-25 Joseph Myers <joseph@codesourcery.com>
44061
44062 [BZ #13717]
44063 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44064 to 2.4.0 where earlier.
44065 * sysdeps/unix/sysv/linux/configure: Regenerated.
44066 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44067 <kernel-features.h>.
44068 [__ASSUME_32BITUIDS]: Make code unconditional.
44069 [!__ASSUME_32BITUIDS]: Remove conditional code.
44070 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
44071 <kernel-features.h>.
44072 [__ASSUME_32BITUIDS]: Make code unconditional.
44073 [!__ASSUME_32BITUIDS]: Remove conditional code.
44074 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
44075 [__ASSUME_32BITUIDS]: Make code unconditional.
44076 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
44077 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
44078 <kernel-features.h>.
44079 [__ASSUME_32BITUIDS]: Make code unconditional.
44080 [!__ASSUME_32BITUIDS]: Remove conditional code.
44081 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
44082 <kernel-features.h>.
44083 [__ASSUME_32BITUIDS]: Make code unconditional.
44084 [!__ASSUME_32BITUIDS]: Remove conditional code.
44085 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
44086 <kernel-features.h>.
44087 [__ASSUME_32BITUIDS]: Make code unconditional.
44088 [!__ASSUME_32BITUIDS]: Remove conditional code.
44089 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
44090 <kernel-features.h>.
44091 [__ASSUME_32BITUIDS]: Make code unconditional.
44092 [!__ASSUME_32BITUIDS]: Remove conditional code.
44093 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44094 <kernel-features.h>.
44095 [__ASSUME_32BITUIDS]: Make code unconditional.
44096 [!__ASSUME_32BITUIDS]: Remove conditional code.
44097 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44098 <kernel-features.h>.
44099 [__ASSUME_32BITUIDS]: Make code unconditional.
44100 [!__ASSUME_32BITUIDS]: Remove conditional code.
44101 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
44102 <kernel-features.h>.
44103 [__ASSUME_32BITUIDS]: Make code unconditional.
44104 [!__ASSUME_32BITUIDS]: Remove conditional code.
44105 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44106 <kernel-features.h>.
44107 [__ASSUME_32BITUIDS]: Make code unconditional.
44108 [!__ASSUME_32BITUIDS]: Remove conditional code.
44109 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44110 <kernel-features.h>.
44111 [__ASSUME_32BITUIDS]: Make code unconditional.
44112 [!__ASSUME_32BITUIDS]: Remove conditional code.
44113 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
44114 <kernel-features.h>.
44115 [__ASSUME_32BITUIDS]: Make code unconditional.
44116 [!__ASSUME_32BITUIDS]: Remove conditional code.
44117 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
44118 <kernel-features.h>.
44119 [__NR_setresgid] (__setresgid): Do not declare.
44120 [__ASSUME_32BITUIDS]: Make code unconditional.
44121 [!__ASSUME_32BITUIDS]: Remove conditional code.
44122 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
44123 <kernel-features.h>.
44124 [__NR_setresuid] (__setresuid): Do not declare.
44125 [__ASSUME_32BITUIDS]: Make code unconditional.
44126 [!__ASSUME_32BITUIDS]: Remove conditional code.
44127 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
44128 <kernel-features.h>.
44129 [__ASSUME_32BITUIDS]: Make code unconditional.
44130 [!__ASSUME_32BITUIDS]: Remove conditional code.
44131 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
44132 <kernel-features.h>.
44133 [__ASSUME_32BITUIDS]: Make code unconditional.
44134 [!__ASSUME_32BITUIDS]: Remove conditional code.
44135 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
44136 <kernel-features.h>.
44137 [__ASSUME_32BITUIDS]: Make code unconditional.
44138 [!__ASSUME_32BITUIDS]: Remove conditional code.
44139 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
44140 <kernel-features.h>.
44141 [__ASSUME_32BITUIDS]: Make code unconditional.
44142 [!__ASSUME_32BITUIDS]: Remove conditional code.
44143 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
44144 <kernel-features.h>.
44145 [__ASSUME_32BITUIDS]: Make code unconditional.
44146 [!__ASSUME_32BITUIDS]: Remove conditional code.
44147 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
44148 <kernel-features.h>.
44149 [__ASSUME_32BITUIDS]: Make code unconditional.
44150 [!__ASSUME_32BITUIDS]: Remove conditional code.
44151 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
44152 <kernel-features.h>.
44153 [__ASSUME_32BITUIDS]: Make code unconditional.
44154 [!__ASSUME_32BITUIDS]: Remove conditional code.
44155 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
44156 <kernel-features.h>.
44157 [__ASSUME_32BITUIDS]: Make code unconditional.
44158 [!__ASSUME_32BITUIDS]: Remove conditional code.
44159 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
44160 <kernel-features.h>.
44161 [__ASSUME_32BITUIDS]: Make code unconditional.
44162 [!__ASSUME_32BITUIDS]: Remove conditional code.
44163 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44164 <kernel-features.h>.
44165 [__ASSUME_32BITUIDS]: Make code unconditional.
44166 [!__ASSUME_32BITUIDS]: Remove conditional code.
44167 * sysdeps/unix/sysv/linux/kernel-features.h
44168 (__ASSUME_SETRESUID_SYSCALL): Remove.
44169 (__ASSUME_SETRESGID_SYSCALL): Likewise.
44170 (__ASSUME_32BITUIDS): Likewise.
44171 (__ASSUME_LDT_WORKS): Likewise.
44172 (__ASSUME_O_DIRECTORY): Likewise.
44173 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
44174 architecture but not kernel version.
44175 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44176 (__ASSUME_MMAP2_SYSCALL): Likewise.
44177 (__ASSUME_STAT64_SYSCALL): Likewise.
44178 (__ASSUME_IPC64): Likewise.
44179 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
44180 <kernel-features.h>.
44181 [__ASSUME_32BITUIDS]: Make code unconditional.
44182 [!__ASSUME_32BITUIDS]: Remove conditional code.
44183 * sysdeps/unix/sysv/linux/opendir.c: Do not include
44184 <kernel-features.h>.
44185 [__ASSUME_O_DIRECTORY]: Make code unconditional.
44186 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44187 132096]: Remove conditional code.
44188 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44189 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44190 <kernel-features.h>.
44191 [__ASSUME_32BITUIDS]: Make code unconditional.
44192 [!__ASSUME_32BITUIDS]: Remove conditional code.
44193 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44194 <kernel-features.h>.
44195 [__ASSUME_32BITUIDS]: Make code unconditional.
44196 [!__ASSUME_32BITUIDS]: Remove conditional code.
44197 * sysdeps/unix/sysv/linux/setegid.c: Do not include
44198 <kernel-features.h>.
44199 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44200 unconditional.
44201 (__setresgid): Do not declare.
44202 [__ASSUME_32BITUIDS]: Make code unconditional.
44203 [!__ASSUME_32BITUIDS]: Remove conditional code.
44204 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44205 <kernel-features.h>.
44206 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44207 unconditional.
44208 (__setresuid): Do not declare.
44209 [__ASSUME_32BITUIDS]: Make code unconditional.
44210 [!__ASSUME_32BITUIDS]: Remove conditional code.
44211 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44212 <kernel-features.h>.
44213 [__ASSUME_32BITUIDS]: Make code unconditional.
44214 [!__ASSUME_32BITUIDS]: Remove conditional code.
44215 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44216 <kernel-features.h>.
44217 [__ASSUME_32BITUIDS]: Make code unconditional.
44218 [!__ASSUME_32BITUIDS]: Remove conditional code.
44219
a386f1cc
RH
442202012-05-25 Richard Henderson <rth@twiddle.net>
44221
44222 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44223 dl_hwcap to ifunc resolver.
44224 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44225 elf_ifunc_invoke.
44226 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44227 dl_hwcap to ifunc resolver.
44228 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44229
b6550497
JM
442302012-05-24 Joseph Myers <joseph@codesourcery.com>
44231
44232 [BZ #14153]
44233 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44234 for |x| <= 2**-26, not 2**-57.
44235 * math/libm-test.inc (acos_test): Do not allow spurious underflow
44236 exception.
44237
b0bc23a1
JL
442382012-05-24 Jeff Law <law@redhat.com>
44239
44240 * stdio-common/Makefile (tests): Add bug25.
44241 * stdio-common/bug25.c: New test.
44242
347c92e9
L
442432012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44244
44245 [BZ #13576]
44246 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44247 multiple of MALLOC_ALIGNMENT in size.
44248 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44249
6bcc8b3f
JM
442502012-05-24 Joseph Myers <joseph@codesourcery.com>
44251
44252 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44253 Require >= 256.
44254 (FILENAME_MAX): Use macro-int-constant.
44255 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
44256 (_IOFBF): Use macro-int-constant.
44257 (_IOLBF): Likewise.
44258 (_IONBF): Likewise.
44259 (SEEK_CUR): Likewise.
44260 (SEEK_END): Likewise.
44261 (SEEK_SET): Likewise.
44262 (TMP_MAX): Likewise.
44263 (EOF): Use macro-int-constant. Require < 0.
44264 (NULL): Use macro-constant. Require == 0.
44265 (stdin): Require type to be FILE *.
44266 (stdout): Likewise.
44267 (stderr): Likewise.
44268 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44269 macro-int-constant.
44270 (EXIT_SUCCESS): Likewise.
44271 (NULL): Use macro-constant. Require == 0.
44272 (RAND_MAX): Use macro-int-constant.
44273 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44274 [C99-based standards] (strtof): Require function.
44275 [C99-based standards] (strtold): Likewise.
44276 [C99-based standards] (strtoll): Likewise.
44277 [C99-based standards] (strtoull): Likewise.
44278 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44279 [ISO || ISO99 || ISO11] (limits.h): Likewise.
44280 [ISO || ISO99 || ISO11] (math.h): Likewise.
44281 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44282 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44283 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44284
d18ea0c5
AS
442852012-05-24 Andreas Schwab <schwab@linux-m68k.org>
44286
44287 [BZ #14132]
56d25bb8
AS
44288 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44289 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44290 * intl/dgettext.c (DCGETTEXT): Likewise.
44291 * intl/gettext.c (DCGETTEXT): Likewise.
44292 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44293 * posix/regex_internal.h (gettext): Likewise.
44294 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44295 Remove declaration.
44296 * include/argz.h (__argz_count_internal)
44297 (__argz_stringify_internal): Remove declaration.
44298 (__argz_count, __argz_stringify): Declare hidden proto.
44299 * intl/dcgettext.c: Remove use of INTDEF.
44300 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44301 * string/argz-stringify.c: Likewise.
44302 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44303 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44304 Declare hidden proto.
d18ea0c5
AS
44305 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44306 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44307 Declare hidden proto.
44308 * include/stdio.h (__asprintf_internal): Don't declare.
44309 (__asprintf): Don't define as macro. Declare hidden proto.
44310 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44311 (__fsetlocking): Declare hidden proto.
44312 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44313 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44314 hidden proto.
44315 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44316 (_IO_setlinebuf): Remove use of INTUSE.
44317 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44318 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44319 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44320 Remove declaration.
44321 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44322 (_IO_do_flush): Remove use of INTUSE.
44323 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44324 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44325 (_IO_adjust_column, _IO_least_wmarker)
44326 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44327 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44328 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44329 (_IO_default_doallocate, _IO_wdefault_doallocate)
44330 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44331 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44332 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44333 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44334 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44335 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44336 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44337 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44338 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44339 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44340 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44341 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44342 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44343 proto.
44344 (_IO_flush_all_internal, _IO_adjust_column_internal)
44345 (_IO_default_uflow_internal, _IO_default_finish_internal)
44346 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44347 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44348 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44349 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44350 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44351 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44352 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44353 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44354 (_IO_file_close_internal, _IO_file_close_it_internal)
44355 (_IO_file_underflow_internal, _IO_file_overflow_internal)
44356 (_IO_file_init_internal, _IO_file_attach_internal)
44357 (_IO_file_fopen_internal, _IO_file_read_internal)
44358 (_IO_file_sync_internal, _IO_file_seek_internal)
44359 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44360 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44361 (_IO_str_underflow_internal, _IO_str_overflow_internal)
44362 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44363 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44364 (_IO_list_all_internal, _IO_link_in_internal)
44365 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44366 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44367 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44368 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44369 (_IO_do_write_internal, _IO_padn_internal)
44370 (_IO_getline_info_internal, _IO_getline_internal)
44371 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44372 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44373 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44374 (_IO_vfscanf_internal, _IO_vfprintf_internal)
44375 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44376 (_IO_init_internal, _IO_un_link_internal): Don't declare.
44377 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44378 with libc_hidden_ver, remove use of INTUSE.
44379 * libio/genops.c: Likewise.
44380 * libio/freopen.c: Likewise.
44381 * libio/freopen64.c: Likewise.
44382 * libio/iofclose.c: Likewise.
44383 * libio/iofdopen.c: Likewise.
44384 * libio/iofflush.c: Likewise.
44385 * libio/iofflush_u.c: Likewise.
44386 * libio/iofgets.c: Likewise.
44387 * libio/iofgets_u.c: Likewise.
44388 * libio/iofopen.c: Likewise.
44389 * libio/iofopncook.c: Likewise.
44390 * libio/iofread.c: Likewise.
44391 * libio/iofread_u.c: Likewise.
44392 * libio/ioftell.c: Likewise.
44393 * libio/iofwrite.c: Likewise.
44394 * libio/iogetline.c: Likewise.
44395 * libio/iogets.c: Likewise.
44396 * libio/iogetwline.c: Likewise.
44397 * libio/iopadn.c: Likewise.
44398 * libio/iopopen.c: Likewise.
44399 * libio/ioseekoff.c: Likewise.
44400 * libio/ioseekpos.c: Likewise.
44401 * libio/iosetbuffer.c: Likewise.
44402 * libio/iosetvbuf.c: Likewise.
44403 * libio/ioungetc.c: Likewise.
44404 * libio/ioungetwc.c: Likewise.
44405 * libio/iovdprintf.c: Likewise.
44406 * libio/iovsprintf.c: Likewise.
44407 * libio/iovsscanf.c: Likewise.
44408 * libio/memstream.c: Likewise.
44409 * libio/obprintf.c: Likewise.
44410 * libio/oldfileops.c: Likewise.
44411 * libio/oldiofclose.c: Likewise.
44412 * libio/oldiofdopen.c: Likewise.
44413 * libio/oldiofopen.c: Likewise.
44414 * libio/oldiopopen.c: Likewise.
44415 * libio/oldstdfiles.c: Likewise.
44416 * libio/putc.c: Likewise.
44417 * libio/setbuf.c: Likewise.
44418 * libio/setlinebuf.c: Likewise.
44419 * libio/stdfiles.c: Likewise.
44420 * libio/strops.c: Likewise.
44421 * libio/vasprintf.c: Likewise.
44422 * libio/vscanf.c: Likewise.
44423 * libio/vsnprintf.c: Likewise.
44424 * libio/vswprintf.c: Likewise.
44425 * libio/wfiledoalloc.c: Likewise.
44426 * libio/wfileops.c: Likewise.
44427 * libio/wgenops.c: Likewise.
44428 * libio/wmemstream.c: Likewise.
44429 * libio/wstrops.c: Likewise.
44430 * libio/__fpurge.c: Likewise.
44431 * libio/__fsetlocking.c: Likewise.
44432 * assert/assert.c: Likewise.
44433 * debug/fgets_chk.c: Likewise.
44434 * debug/fgets_u_chk.c: Likewise.
44435 * debug/fread_chk.c: Likewise.
44436 * debug/fread_u_chk.c: Likewise.
44437 * debug/gets_chk.c: Likewise.
44438 * debug/obprintf_chk.c: Likewise.
44439 * debug/vasprintf_chk.c: Likewise.
44440 * debug/vdprintf_chk.c: Likewise.
44441 * debug/vsnprintf_chk.c: Likewise.
44442 * debug/vsprintf_chk.c: Likewise.
44443 * malloc/mtrace.c: Likewise.
44444 * misc/error.c: Likewise.
44445 * misc/syslog.c: Likewise.
44446 * stdio-common/asprintf.c: Likewise.
44447 * stdio-common/fxprintf.c: Likewise.
44448 * stdio-common/getw.c: Likewise.
44449 * stdio-common/isoc99_fscanf.c: Likewise.
44450 * stdio-common/isoc99_scanf.c: Likewise.
44451 * stdio-common/isoc99_vfscanf.c: Likewise.
44452 * stdio-common/isoc99_vscanf.c: Likewise.
44453 * stdio-common/isoc99_vsscanf.c: Likewise.
44454 * stdio-common/printf-prs.c: Likewise.
44455 * stdio-common/printf_fp.c: Likewise.
44456 * stdio-common/printf_fphex.c: Likewise.
44457 * stdio-common/printf_size.c: Likewise.
44458 * stdio-common/putw.c: Likewise.
44459 * stdio-common/scanf.c: Likewise.
44460 * stdio-common/sprintf.c: Likewise.
44461 * stdio-common/tmpfile.c: Likewise.
44462 * stdio-common/vfprintf.c: Likewise.
44463 * stdio-common/vfscanf.c: Likewise.
44464 * stdlib/strfmon_l.c: Likewise.
44465 * sunrpc/openchild.c: Likewise.
44466 * sunrpc/xdr_stdio.c: Likewise.
44467 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
44468 * sysdeps/mach/hurd/tmpfile.c: Likewise.
44469
d6c33fda
RM
444702012-05-24 Roland McGrath <roland@hack.frob.com>
44471
c1487492
RM
44472 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44473
44474 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
44475 in the third column, to generate for the shared library an IFUNC
44476 that uses _dl_vdso_vsym.
44477 * Makerules (COMPILE.c, compile-stdin.c): New variables.
44478 * Makeconfig (object-suffixes-noshared): New variable.
44479
44480 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
44481 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
44482 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
44483 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
44484
d6c33fda
RM
44485 [BZ #14132]
44486 * include/sys/time.h (__gettimeofday): Remove macro.
44487 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
44488 * time/gettimeofday.c (__gettimeofday): Remove #undef.
44489 Remove INTDEF.
44490 (__gettimeofday): Add libc_hidden_def.
44491 (gettimeofday): Add libc_hidden_weak.
44492 * sysdeps/mach/gettimeofday.c: Likewise.
44493 * sysdeps/posix/gettimeofday.c: Likewise.
44494 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
44495 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
44496 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
44497 (__gettimeofday_internal): Remove strong_alias.
44498 (__gettimeofday): Add libc_hidden_def.
44499 (gettimeofday): Add libc_hidden_weak.
44500 * sysdeps/unix/syscalls.list (gettimeofday):
44501 Remove __gettimeofday_internal alias.
44502
b5a2bbe6
L
445032012-05-24 Daniel Jacobowitz <drow@false.org>
44504 H.J. Lu <hongjiu.lu@intel.com>
44505
44506 [BZ #12495]
44507 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
44508 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
44509 (largebin_index_32_big): New.
44510 (largebin_index): Use it for 16-byte alignment.
44511 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
44512 correction with front_misalign.
44513
cfba4fda
L
445142012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44515
7f907421
L
44516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
44517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44518 Likewise.
44519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
44520 Likewise.
44521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44522 Likewise.
44523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
44524 Likewise.
44525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
44526 Likewise.
44527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
44528 Likewise.
44529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
44530 Likewise.
44531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44532 Likewise.
44533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
44534 Likewise.
44535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
44536 Likewise.
44537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44538 Likewise.
44539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
44540 Likewise.
44541
cfba4fda
L
44542 * scripts/data/c++-types-x32-linux-gnu.data: New file.
44543 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
44544
80bad0cc
JM
445452012-05-24 Joseph Myers <joseph@codesourcery.com>
44546
7a25eb06
JM
44547 [BZ #10846]
44548 [BZ #14036]
44549 * math/libm-test.inc (exp_test): Add test from bug 14036.
44550 (pow_test): Add test from bug 10846.
44551
795405f9
JM
44552 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
44553 and other flags.
44554 (special_function): Do not include flags in test name.
44555 (parse_args): Likewise.
44556 * sysdeps/i386/fpu/libm-test-ulps: Update.
44557 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44558 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44559 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44561
80bad0cc
JM
44562 * math/gen-libm-test.pl (%beautify): Add entries for underflow
44563 exceptions.
44564 * math/libm-test.inc ("Philosophy"): Update comment about
44565 exception testing.
44566 (UNDERFLOW_EXCEPTION): New macro.
44567 (UNDERFLOW_EXCEPTION_OK): Likewise.
44568 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
44569 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
44570 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
44571 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
44572 (INVALID_EXCEPTION_OK): Update value.
44573 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44574 (OVERFLOW_EXCEPTION_OK): Likewise.
44575 (IGNORE_ZERO_INF_SIGN): Likewise.
44576 (test_exceptions): Handle underflow exceptions.
44577 (acos_test): Update for underflow exception expectations.
44578 (cexp_test): Likewise.
44579 (clog_test): Likewise.
44580 (clog10_test): Likewise.
44581 (csqrt_test): Likewise.
44582 (ctan_test): Likewise.
44583 (ctanh_test): Likewise.
44584 (exp_test): Likewise.
44585 (exp10_test): Likewise.
44586 (exp2_test): Likewise.
44587 (expm1_test): Likewise.
44588 (fma_test): Likewise.
44589 (j0_test): Likewise.
44590 (jn_test): Likewise.
44591 (nexttoward_test): Likewise.
44592 (pow_test): Likewise.
44593 (scalbn_test): Likewise.
44594 (scalbln_test): Likewise.
44595 (tan_test): Likewise.
44596 (y1_test): Likewise.
44597 * sysdeps/i386/fpu/libm-test-ulps: Update.
44598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44599
9e0e3d0b
DM
446002012-05-23 David S. Miller <davem@davemloft.net>
44601
44602 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44603 (__libc_sigaction): Remove unused local variables.
44604
ccd0a08f
L
446052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44606
44607 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
44608
62bdf9a6
PE
446092012-05-23 Paul Eggert <eggert@cs.ucla.edu>
44610
f8591f80
PE
44611 mktime: avoid signed integer overflow
44612 * time/mktime.c (__mktime_internal): Do not mishandle the case
44613 where diff == INT_MIN.
44614
94c7d826
PE
44615 mktime: simplify computation of average
44616 * time/mktime.c (ranged_convert): Use new time_t_avg function
44617 instead of rolling our own (probably-slower) code.
44618
ce73d683
PE
44619 mktime: do not assume signed right shift propagates sign bit
44620 * time/mktime.c (isdst_differ): New static function.
44621 (__mktime_internal): No need to normalize tm_isdst now.
44622 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
44623 tm_isdst values.
44624
72a22e59
PE
44625 mktime: merge another wrapv change from gnulib
44626 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
44627 from some compilers.
44628
68605433
PE
44629 mktime: remove incorrect attempt at unusual arithmetics
44630 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
44631 The code didn't really work on such machines anyway.
44632 (TYPE_MINIMUM): Assume two's complement.
44633 (twos_complement_arithmetic): Verify that long_int and time_t
44634 are two's complement (or unsigned, in the latter case).
44635
03cf7fe3
PE
44636 mktime: check signed shifts on long_int and time_t, too
44637 * time/mktime.c (SHR): Check that shifts work as desired
44638 on the types long_int and time_t too, as SHR is used on
44639 such types.
44640
f04dfbc2
PE
44641 mktime: do not assume 'long' is wide enough
44642 * time/mktime.c (verify): Move decl up.
44643 (long_int): New type.
44644 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
44645 to remove assumption in the code that 'long' is wide enough to
44646 store year values. This assumption is not true on x32 and on
44647 some non-glibc platforms.
44648
62bdf9a6
PE
44649 mktime: merge wrapv change from gnulib
44650 * time/mktime.c (WRAPV): New macro.
44651 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
44652 (guess_time_tm, __mktime_internal): Do not assume that signed
44653 integer overflow wraps around; modern compilers generate code
44654 where this assumption is no longer valid.
44655
5e292e4f
L
446562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44657
44658 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44659 Replace "jmp L(pseudo_end)" with "ret".
44660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
44661 Likewise.
44662
8caf8c87
AJ
446632012-05-23 Andreas Jaeger <aj@suse.de>
44664
44665 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
44666 * sysdeps/unix/sysv/linux/poll.c: Remove file.
44667
1a09dc56
AJ
446682012-05-23 Andreas Jaeger <aj@suse.de>
44669 Maximilian Attems <max@stro.at>
44670
44671 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
44672 New macros.
44673
1c87aba0
L
446742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44675
44676 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
44677 code so that pseudo_end is just ret and the stack pointer is
44678 correct also for static library in error case.
44679
40e45bd5
JM
446802012-05-23 Joseph Myers <joseph@codesourcery.com>
44681
c2670533
JM
44682 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
44683 move to syscalls.list.
44684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44688
40e45bd5
JM
44689 * manual/install.texi (Running make install): Do not mention Linux
44690 kernel version for which pt_chown is not needed.
44691 (Linux): Do not mention problems with nscd with 2.0 kernels.
44692 * INSTALL: Regenerated.
44693
be08eda5
AJ
446942012-05-23 Andreas Jaeger <aj@suse.de>
44695
44696 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
44697 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
44698 macro.
44699 * sysdeps/unix/sysv/linux/s390/bits/mman.h
44700 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44701 * sysdeps/unix/sysv/linux/sh/bits/mman.h
44702 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44703 * sysdeps/unix/sysv/linux/i386/bits/mman.h
44704 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44705 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
44706 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44707 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
44708 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44709 * sysdeps/unix/sysv/linux/bits/in.h
44710 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
44711
a6a056bb
RM
447122012-05-22 Roland McGrath <roland@hack.frob.com>
44713
44714 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
44715 (PREPARE_VERSION): Just use assert instead, it will be elided
44716 under [NDEBUG] anyway.
44717
c9009328
L
447182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44719
44720 * sysdeps/unix/sysv/linux/Makefile: Include
44721 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 44722 (sysdep_routines): Remove sysctl.
c9009328
L
44723 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
44724 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
44725 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
44726 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
44727 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
44728
73338355
AJ
447292012-05-22 Andreas Jaeger <aj@suse.de>
44730
44731 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
44732 that pseudo_end is just ret and the stack pointer is correct also
44733 for static library in error case.
44734
d44638b0
PP
447352012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
44736
44737 [BZ #14122]
44738 * nss/nsswitch.c (defconfig_entries): New variable.
44739 (__nss_database_lookup): Don't leak defconfig entries.
44740 (nss_parse_service_list): Don't leak on error paths.
44741 (free_database_entries): New function.
44742 (free_defconfig): New function.
44743 (free_mem): Move common code to free_database_entries.
44744
31a39bd8
L
447452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44746
da0331a8
L
44747 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
44748 Add arch_prctl.
44749 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
44750
31a39bd8
L
44751 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44752 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
44753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
44754 New macro.
44755 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
44756 (INTERNAL_SYSCALL_TYPES): Likewise.
44757 (LOAD_ARGS_TYPES_[1-6]): Likewise.
44758 (LOAD_REGS_TYPES_[1-6]): Likewise.
44759 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
44760 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
44761
45470df3
AZ
447622012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44763
44764 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
44765 copysignl for GLIBC_2_0.
44766 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
44767 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
44768 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
44769 logbl for GLIBC_2_0.
44770 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
44771 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
44772
98a61bcb
L
447732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44774
a4f6e481
L
44775 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
44776 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44777
f63d5db6
L
44778 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44779 Use "neg %eax".
44780
98a61bcb
L
44781 * time/mktime.c: Update copyright years.
44782
95770f14
PE
447832012-05-22 Paul Eggert <eggert@cs.ucla.edu>
44784
6226efbd
PE
44785 mktime: merge comment-quoting-style change from gnulib
44786 * time/mktime.c: Quote 'like this' in comments.
44787 The GNU coding standards suggest that we no longer quote `like this',
44788 as "`" and "'" are typically rendered asymmetrically nowadays.
44789 The typical gnulib style is to quote 'like this' when quoting
44790 code, and "like this" when quoting English.
44791
b99e4f78
PE
44792 * time/mktime.c (compile-command): Add "-I.".
44793
643e01e6
PE
44794 mktime: merge mktime-internal.h change from gnulib
44795 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
44796
2554247d
PE
44797 mktime: merge time_r change from gnulib
44798 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
44799
826dd0ab
PE
44800 mktime: merge DEBUG change from gnulib
44801 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
44802 case system <time.h> has a #define.
44803
bd83aabe
PE
44804 mktime: merge <sys/types.h> change from gnulib
44805 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
44806 since <time.t> is now guaranteed to define time_t.
44807
95770f14
PE
44808 mktime: merge HAVE_CONFIG_H change from gnulib
44809 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
44810
5e1a27a9
L
448112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44812
0e44a77e
L
44813 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44814 Use "neg %eax".
44815
5e1a27a9
L
44816 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
44817 __rlim_t cast.
44818 (struct rusage): Use anonymous union to pad each field to
44819 __syscall_slong_t.
44820
46259bec
DM
448212012-05-21 David S. Miller <davem@davemloft.net>
44822
44823 * Makefules (o-iterator): Remove .s cases.
44824 (compile-command.s): Delete.
44825 (COMPILE.s): Delete.
44826 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
44827
59f0c22e
JM
448282012-05-21 Joseph Myers <joseph@codesourcery.com>
44829
44830 * configure.in (libc_cv_predef_stack_protector): Only consider
44831 "foobar" and "__stack_chk_fail" lines in libc_undefs.
44832 * configure: Regenerated.
44833
20c07380
L
448342012-05-21 H.J. Lu <hongjiu.lu@intel.com>
44835
bbb3154b
L
44836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44837 New macro. Use R*LP on int and pointer.
44838 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
44839 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
44840 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
44841 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
44842
20c07380
L
44843 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
44844 [__WORDSIZE_TIME64_COMPAT32] instead of
44845 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
44846 (struct utmp): Likewise.
44847 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
44848 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
44849 Renamed to ...
44850 (__WORDSIZE_TIME64_COMPAT32): This.
44851 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
44852 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
44853 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
44854 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
44855 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
44856 (__WORDSIZE_TIME64_COMPAT32): New macro.
44857
d8d1017e
AJ
448582012-05-21 Andreas Jaeger <aj@suse.de>
44859
44860 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
44861 only if [SHARED]. Add prototype for __wcschr_ia32.
44862
6c7fb145
RM
448632012-05-21 Roland McGrath <roland@hack.frob.com>
44864
44865 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
44866 of %rbp unmolested in the jmp_buf while mangling the low bits.
44867 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
44868 unmolested high bits of %rbp while demangling the low bits.
44869 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44870
66274218
AJ
448712012-05-21 Andreas Jaeger <aj@suse.de>
44872
07c58f8f
AJ
44873 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
44874 * sunrpc/svc_simple.c: Use it for registerrpc.
44875 * sunrpc/xcrypt.c: Use it for passwd2des.
44876
66274218
AJ
44877 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
44878
61f65140
L
448792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
44880
44881 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
44882 Don't define if [__SYSCALL_WORDSIZE != 32].
44883 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
44884 New macro.
44885
5fefb436
AJ
448862012-05-21 Bruno Haible <bruno@clisp.org>
44887 Andreas Jaeger <aj@suse.de>
44888
44889 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
44890 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
44891 inptr and inend for must_buffer_ch.
44892 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
44893 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
44894 * stdio-common/Makefile (tests): Remove bug15.
44895 (bug15-ENV): Remove macro.
44896 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
44897 anymore.
44898
d8e272ab
AJ
448992012-05-19 Andreas Jaeger <aj@suse.de>
44900 Roland McGrath <roland@hack.frob.com>
44901
44902 * manual/contrib.texi: Completely rewritten. It contains now an
44903 alphabetical list of contributors and their contributions.
44904
4a56a162
RH
449052012-05-21 Richard Henderson <rth@twiddle.net>
44906
44907 * misc/getauxval.c (__getauxval): Use unsigned long int.
44908 * misc/sys/auxv.h: Include <sys/cdefs.h>.
44909 (getauxval): Use unsigned long int.
44910
d024d23c
L
449112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
44912
44913 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44914
cbc00a03
RM
449152012-05-21 Roland McGrath <roland@hack.frob.com>
44916
44917 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
44918 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
44919 __alignof__ (long double).
44920
478143fa
AZ
449212012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44922
44923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44924
c7683a6d
RH
449252012-05-20 Richard Henderson <rth@twiddle.net>
44926
44927 * misc/getauxval.c: New file.
44928 * misc/sys/auxv.h: New file.
44929 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
44930 (routines): Add getauxval.
44931 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
44932 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
44933 * elf/dl-sysdep.c (_dl_auxv): Remove.
44934 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
44935 * elf/dl-support.c (_dl_auxv): New variable.
44936 (_dl_aux_init): Initialize it.
44937 * manual/startup.texi (Auxiliary Vector): New node.
44938 * sysdeps/generic/bits/hwcap.h: New file.
44939 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
44940 * sysdeps/powerpc/sysdep.h: ... here. Include it.
44941 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
44942 * sysdeps/sparc/sysdep.h: ... here. Include it.
44943 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
44944 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
44945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44946 Update.
c7683a6d
RH
44947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
44948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
44949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
44950 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
44951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
44954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
44955
a6f1845d
AZ
449562012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44957
44958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44959
cbcbe830
DM
449602012-05-19 David S. Miller <davem@davemloft.net>
44961
44962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44963
e0b16cc2
JM
449642012-05-19 Joseph Myers <joseph@codesourcery.com>
44965
44966 [BZ #14123]
44967 * math/s_ccosh.c: Include <float.h>
44968 (__ccosh): Avoid internal overflow calculating sinh and cosh
44969 values before multiplying by sin and cos values.
44970 * math/s_ccoshf.c: Likewise.
44971 * math/s_ccoshl.c: Likewise.
44972 * math/s_csin.c: Likewise.
44973 * math/s_csinf.c: Likewise.
44974 * math/s_csinl.c: Likewise.
44975 * math/s_csinh.c: Likewise.
44976 * math/s_csinhf.c: Likewise.
44977 * math/s_csinhl.c: Likewise.
44978 * math/libm-test.inc (ccos_test): Add more tests.
44979 (ccosh_test): Likewise.
44980 (csin_test): Likewise.
44981 (csinh_test): Likewise.
44982 * sysdeps/i386/fpu/libm-test-ulps: Update.
44983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44984
6ad13e08
L
449852012-05-19 H.J. Lu <hongjiu.lu@intel.com>
44986
f66f0ce8
L
44987 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
44988 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
44989
6ad13e08
L
44990 * sysdeps/x86_64/x32/_itoa.h: Add comment.
44991
b1d072a7
JM
449922012-05-19 Joseph Myers <joseph@codesourcery.com>
44993
44994 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
44995 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
44996 * sysdeps/powerpc/soft-fp/Versions: Likewise.
44997 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
44998 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
44999 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45000 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45001 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45002 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45003 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45004 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45005 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45006 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45007 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45008 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45009 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45010 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45011 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45012 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45013 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45014 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45015 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45016 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45017 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45018 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45019 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45020 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45021 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45022 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45023 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45024 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45025
9eae47cb
AJ
450262012-05-18 Andreas Jaeger <aj@suse.de>
45027
45028 * csu/.gitignore: Delete.
45029
bb07f69f
L
450302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45031
45032 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
45033 (timex): Use __syscall_slong_t.
45034
e6bdb741
AJ
450352012-05-18 Andreas Jaeger <aj@suse.de>
45036 Carlos O'Donell <carlos_odonell@mentor.com>
45037
45038 * manual/install.texi (Configuring and compiling): Update
45039 description about files modified in the source directory.
d6c33fda 45040 * INSTALL: Regenerated.
e6bdb741 45041
1b74487e
L
450422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45043
45044 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
45045 value. Use "or" to set return value to -1.
45046 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
45047 negate return value.
45048
a88b64b9
TMQMF
450492012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45050
57f41c40
AS
45051 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
45052 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
45053 failure if the compiler has Graphite support disabled.
45054 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
45055 Likewise.
57f41c40
AS
45056 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
45057 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
45058 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
45059 Likewise.
45060
3707636e
L
450612012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45062
610b8622
L
45063 * sysdeps/x86_64/x32/_itoa.h: New file.
45064
7cd195df
L
45065 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
45066 getdents system call only if kernel and user dirents have the
45067 same d_ino and d_off.
45068
94b07d20
L
45069 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45070 LLONG_MAX != LONG_MAX.
45071 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45072 (_fitoa_word): Likewise.
45073
18298070
L
45074 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
45075 years.
45076 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
45077 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
45078 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
45079
553c7ea4
L
45080 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
45081 include <bits/wordsize.h>. Check __x86_64__ instead of
45082 __WORDSIZE.
45083 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
45084 if __x86_64__ is defined. Use anonymous union on fpstate.
45085
3707636e
L
45086 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
45087 anonymous union.
45088
b53ef01a
AS
450892012-05-18 Andreas Schwab <schwab@linux-m68k.org>
45090
37fb1dc0
AS
45091 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45092 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45093 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
45094 Refer to _rtld_local_ro instead of _rtld_global_ro.
45095 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
45096 Likewise.
45097 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
45098 Likewise.
45099 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
45100 Likewise.
45101 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
45102 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
45103 of _rtld_global, and rtld_progname instead of _dl_argv[0].
45104
b53ef01a
AS
45105 * sysdeps/powerpc/powerpc32/dl-machine.c
45106 (__elf_machine_runtime_setup) [PROF]: Don't reference
45107 _dl_prof_resolve.
45108
7a185db2
AJ
451092012-05-18 Andreas Jaeger <aj@suse.de>
45110
45111 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
45112 function only available for GCCs before 3.4 since GCC 3.4
45113 introduced a builtin.
45114 (lrint): Likewise.
45115 (llrintf): Likewise.
45116 (llrint): Likewise.
45117 (fmaxf): Likewise.
45118 (fmax): Likewise.
45119 (fminf): Likewise.
45120 (fmin): Likewise.
45121 (rint): Likewise.
45122 (rintf): Likewise.
45123 (nearbyint): Likewise.
45124 (nearbyintf): Likewise.
45125 (ceil): Likewise.
45126 (ceilf): Likewise.
45127 (floor): Likewise.
45128 (floorf): Likewise.
45129
3e5aef87
L
451302012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45131
428bd707
L
45132 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45133 on both fields and cast pointer to __syscall_ulong_t.
45134
3e5aef87
L
45135 * bits/types.h (__fsword_t): New type.
45136 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
45137 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
45138 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45139 (__FSWORD_T_TYPE): Likewise.
45140 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45141 (__FSWORD_T_TYPE): Likewise.
45142 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45143 (__FSWORD_T_TYPE): Likewise.
45144 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
45145 (__FSWORD_T_TYPE): Likewise.
45146 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
45147 __SWORD_TYPE with __fsword_t.
45148 (statfs64): Likewise.
45149
1ba7c3dc
DM
451502012-05-17 David S. Miller <davem@davemloft.net>
45151
45152 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
45153
59910343
AJ
451542012-05-17 Andreas Jaeger <aj@suse.de>
45155
45156 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
45157 warning.
45158
2e4c1e9e
L
451592012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45160
45161 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
45162
de7f5ce7
AJ
451632012-05-17 Andreas Jaeger <aj@suse.de>
45164
45165 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
45166 when it is used.
45167
286abc3d
CM
451682012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45169
45170 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
45171
477cc68e
L
451722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45173
45174 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
45175 * sysdeps/x86_64/tst-mallocalign1.c: New file.
45176
1a0994f5
CD
451772012-05-17 Andreas Jaeger <aj@suse.de>
45178 Carlos O'Donell <carlos_odonell@mentor.com>
45179
45180 [BZ #14059]
45181 * sysdeps/x86_64/multiarch/init-arch.h
45182 (bit_YMM_Usable): Rename to...
45183 (bit_AVX_Usable): ... this.
45184 (bit_FMA4_Usable): New macro.
45185 (bit_XMM_state): New macro.
45186 (bit_YMM_state): New macro.
45187 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45188 [__ASSEMBLER__] (index_AVX_Usable): ... this.
45189 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45190 (CPUID_OSXSAVE): New macro.
45191 (CPUID_AVX): New macro.
45192 (CPUID_FMA4): New macro.
45193 (index_YMM_Usable): Rename to...
45194 (index_AVX_Usable): ... this.
45195 (HAS_AVX): Use HAS_ARCH_FEATURE.
45196 (HAS_FMA4): Likewise.
45197 (HAS_YMM_USABLE): Remove.
45198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45199 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45200 are present.
45201 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45202 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45203 * sysdeps/x86_64/multiarch/Makefile: Likewise.
45204 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45205 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45206
0af797de
CM
452072012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45208
45209 * math/libm-test.c: Support platforms without multiple rounding modes.
45210 * math/bug-nextafter.c: Support platforms without FP exceptions.
45211 * math/bug-nexttoward.c: Likewise.
45212 * math/test-fenv.c: Likewise.
45213 * math/test-misc.c: Likewise.
45214 * stdlib/bug-getcontext.c: Likewise.
45215
e39745ff
AJ
452162012-05-17 Andreas Jaeger <aj@suse.de>
45217
45218 * manual/examples/search.c (critter_cmp): Change signature to
45219 avoid warnings.
45220 * manual/string.texi (Collation Functions): Likewise.
45221
48970aba
L
452222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45223
45224 * bits/types.h: Fold copyright years.
45225 * bits/typesizes.h: Likewise.
45226 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45227 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45228 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45229 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45230 * time/time.h: Likewise.
45231
bedee953
PP
452322012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
45233
45234 [BZ #208]
45235 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45236 in instead of returning them. Return void.
45237 (__libc_mallinfo): Accumulate over all arenas.
45238 (__malloc_stats): Adjust for change in int_mallinfo interface.
45239
61653dfb
RM
452402012-05-16 Roland McGrath <roland@hack.frob.com>
45241
30b99d79
RM
45242 [BZ #10375]
45243 * configure.in (NM): Add AC_CHECK_TOOL for it.
45244 (libc_extra_cflags): New substituted variable.
45245 Check for -fstack-protector being used implicitly.
45246 * configure: Regenerated.
45247 * config.make.in (config-extra-cflags): New variable,
45248 gets @libc_extra_cflags@.
45249 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45250
61653dfb
RM
45251 [BZ #10375]
45252 * configure.in: Check for _FORTIFY_SOURCE being predefined.
45253 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45254 * configure: Regenerated.
45255 * config.make.in (CPPUNDEFS): New substituted variable.
45256 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45257 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45258 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45259
661768bb
L
452602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45261
45262 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45263 (mq_attr): Use __syscall_slong_t.
45264
d4261567
L
452652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45266
45267 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45268 Check __x86_64__ instead of __WORDSIZE.
45269 (_STAT_VER_LINUX): Likewise.
45270 (stat): Check __x86_64__ instead of __WORDSIZE. Use
45271 __syscall_ulong_t and __syscall_slong_t.
45272 (stat64): Likewise.
45273
cf3ff365
L
452742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45275
45276 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45277
76cf3e4d
L
452782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45279
45280 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45281
a637753a
L
452822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45283
45284 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45285 __syscall_ulong_t.
45286
d5e05119
L
45287 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45288 include <bits/wordsize.h>. Check __x86_64__ instead of
45289 __WORDSIZE.
45290 (greg_t): Use "__extension__ long long int" if __x86_64__ is
45291 defined.
45292 (mcontext_t): Replace "unsigned long" with "unsigned long long".
45293
f62ee380
L
45294 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45295 include <bits/wordsize.h>. Check __x86_64__ instead of
45296 __WORDSIZE.
45297 (user_regs_struct): Use "__extension__ unsigned long long"
45298 instead of "unsigned long" if __x86_64__ is defined.
45299 (user): Likewise. Pad after pointer field if __ILP32__ is
45300 defined.
45301
4e124ced
JM
453022012-05-16 Joseph Myers <joseph@codesourcery.com>
45303
6a3951a0
JM
45304 * configure.in (makeinfo): Require version 4.5 or later. Allow
45305 versions 5 to 9.
45306 * configure: Regenerated.
45307 * manual/install.texi (texinfo): Increase version requirement to
45308 4.5 or later.
45309 * INSTALL: Regenerated.
45310
4e124ced
JM
45311 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45312
953ca31a
L
453132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45314
45315 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45316
617aca05
L
45317 * sysdeps/x86_64/x32/ffs.c: New file.
45318
5762f7ae
L
45319 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45320 __syscall_ulong_t.
45321 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45322 defined. Use __syscall_ulong_t.
45323 (shminfo): Use __syscall_ulong_t.
45324 (shm_info): Likewise.
45325
a26b6856
L
45326 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45327 __syscall_ulong_t.
45328
cb2b9ef7
L
45329 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45330 <bits/wordsize.h>.
45331 (msgqnum_t): Use __syscall_ulong_t.
45332 (msglen_t): Likewise.
45333 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
45334 __syscall_ulong_t.
45335
34683bb0
L
45336 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45337 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45338
84a68786
L
45339 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45340
48baa5f1
L
45341 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45342 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45343
180be88b
L
45344 * sysvipc/sys/msg.h (msgbuf): Replace long int with
45345 __syscall_slong_t.
45346
5e90c8ad
L
45347 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45348 include <bits/wordsize.h>. Check __x86_64__ instead of
45349 __WORDSIZE.
45350
23dfb58b
L
45351 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45352 "unsigned long long int" if __x86_64__ is defined.
45353 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45354
ce5d54b0
L
45355 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45356 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45357 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45358
13dc9eac
L
45359 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45360 <stdint.h>.
45361 (GET_PC): Cast to uintptr_t first.
45362 (GET_FRAME): Likewise.
45363 (GET_STACK): Likewise.
45364
a7895d15
L
45365 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45366 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45367 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45368 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45369 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45370 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45371 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45372 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45373 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45374 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45375 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45376 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45377 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45378 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45379 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45380 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45381 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45382 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45383 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45384 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45385 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45386 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45387 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45388 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45389 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45390 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45391 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45392 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45393 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45394
656416c9
AS
453952012-05-16 Andreas Schwab <schwab@linux-m68k.org>
45396
5bd66283
AS
45397 * Makerules (+depfiles): Also collect depfiles from .oS in
45398 $(extra-objs).
45399 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45400 .oS, $(libnldbl-routines)).
45401
656416c9
AS
45402 * Makerules (native-compile-mkdep-flags): Define.
45403 * sunrpc/Makefile (extra-objs): Add $(addprefix
45404 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45405 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45406 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
45407 calling $(make-target-directory).
45408
a46f2169
L
454092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45410
45411 * bits/types.h (__snseconds_t): Removed.
45412 * time/time.h (struct timespec): Replace __snseconds_t with
45413 __syscall_slong_t.
45414 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45415 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45416 Likewise.
45417 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45418 (__SNSECONDS_T_TYPE): Likewise.
45419 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45420 (__SNSECONDS_T_TYPE): Likewise.
45421 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45422 (__SNSECONDS_T_TYPE): Likewise.
45423
6af6528b
L
454242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45425
45426 * sysdeps/mach/hurd/bits/typesizes.h
45427 (__SYSCALL_SLONG_TYPE): New macro.
45428 (__SYSCALL_ULONG_TYPE): Likewise.
45429
de986b56
L
454302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45431
45432 * bits/types.h (__syscall_slong_t): New type.
45433 (__syscall_ulong_t): Likewise.
45434
45435 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
45436 (__SYSCALL_ULONG_TYPE): Likewise.
45437 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45438 (__SYSCALL_SLONG_TYPE): Likewise.
45439 (__SYSCALL_ULONG_TYPE): Likewise.
45440 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45441 (__SYSCALL_SLONG_TYPE): Likewise.
45442 (__SYSCALL_ULONG_TYPE): Likewise.
45443 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45444 (__SYSCALL_SLONG_TYPE): Likewise.
45445 (__SYSCALL_ULONG_TYPE): Likewise.
45446
85736dc7
L
454472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45448
45449 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
45450 Add sigaltstack-offsets.sym.
45451 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
45452 <sigaltstack-offsets.h>.
45453 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
45454 longjmp_msg pointer.
45455 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
45456 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
45457 signal stack.
45458 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
45459
cc03b296
JM
454602012-05-15 Joseph Myers <joseph@codesourcery.com>
45461
a9538892
JM
45462 * elf/stackguard-macros.h: Remove file.
45463 * sysdeps/generic/stackguard-macros.h: New file.
45464 * sysdeps/i386/stackguard-macros.h: Likewise.
45465 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45466 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45467 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45468 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45469 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45470 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45471 * sysdeps/x86_64/stackguard-macros.h: Likewise.
45472 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
45473 <elf/stackguard-macros.h>.
45474
cc03b296
JM
45475 [BZ #14109]
45476 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
45477 __aligned__ in attribute.
45478 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
45479 (gregset_t): Likewise.
45480
93171016
L
454812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45482
45483 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
45484 * sysdeps/x86_64/64/Implies-after: Here. New file.
45485 * sysdeps/x86_64/x32/Implies-after: New file.
45486
d86813a0
L
454872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45488
45489 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
45490 and access return value for _dl_profile_fixup. Use R10_LP to
45491 load frame size.
45492
2953ec75
L
454932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45494
45495 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
45496
3b550e9e
L
454972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45498
45499 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
45500 * sysdeps/x86_64/x32/sysdep.h: New file.
45501
eda41706
L
455022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45503
45504 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
45505 * sysdeps/x86_64/setjmp.S: Likewise.
45506
9ea01d93
AZ
455072012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45508
45509 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
45510 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
45511 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
45512 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
45513 remove unused global constant.
45514
02a91938
CM
455152012-05-15 Chris Metcalf <cmetcalf@tilera.com>
45516
45517 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
45518 include of <not-cancel.h>.
45519
6540185f
RM
455202012-05-15 Roland McGrath <roland@hack.frob.com>
45521
45522 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
45523
509072a0
AJ
455242012-05-15 Jeff Law <law@redhat.com>
45525 Andreas Jaeger <aj@suse.de>
45526
45527 [BZ #13594]
45528 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
45529 out from...
45530 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
45531 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
45532 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
45533 code changing __hst_map_handle.map.
45534
ba75122d
RM
455352012-05-15 Roland McGrath <roland@hack.frob.com>
45536
45537 * configure.in (sysnames): Look for Implies-before and Implies-after
45538 files.
45539 * configure: Regenerated.
45540
890d8bd8
L
455412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45542
45543 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
45544 8-byte data alignment with LP_SIZE alignment.
45545
f6ee6623
L
455462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45547
45548 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
45549 into R10_LP.
45550
ea2626f6
L
455512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45552
45553 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
45554
085f715e
L
455552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45556
45557 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
45558 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
45559 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
45560 Likewise.
45561 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45562
be8498fc
L
455632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45564
45565 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
45566 (stackinfo_sub_sp): Likewise.
45567
70bc83b9
L
455682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45569
45570 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
45571 RAX_LP.
45572
9bc0b730
L
455732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45574
45575 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
45576 into R*_LP.
45577
6d2850e7
L
455782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45579
45580 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
45581 sizes into R*_LP.
45582
3cb84561
L
455832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45584
45585 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
45586
54e2ed81
L
455872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45588
45589 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
45590 into R11_LP and load __x86_64_shared_cache_size_half into
45591 R8_LP.
45592
8a17f349
L
455932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45594
45595 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
45596 R8_LP.
45597
777b1eea
AZ
455982012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45599
45600 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
45601 logb for POWER7.
45602 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
45603 logbf for POWER7.
45604 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
45605 logbl for POWER7.
45606 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
45607 powerpc32/power7/fpu/s_logb.c via #include.
45608 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
45609 powerpc32/power7/fpu/s_logbf.c via #include.
45610 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
45611 powerpc32/power7/fpu/s_logbl.c via #include.
45612
d20d4ac2
JM
456132012-05-15 Joseph Myers <joseph@codesourcery.com>
45614
45615 * README.libm: Remove file.
45616
6cdef1ab
L
456172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45618
45619 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
45620 count for x32. Use R*_LP and omit operand-size suffix.
45621
0b254d8f
L
456222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45623
45624 * shlib-versions: Move x86_64-.*-linux.* entries to ...
45625 * sysdeps/x86_64/64/shlib-versions: Here. New file.
45626 * sysdeps/x86_64/x32/shlib-versions: New file.
45627
ceb809dc
RM
456282012-05-14 Roland McGrath <roland@hack.frob.com>
45629
45630 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
45631 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
45632 Use _dl_fatal_printf instead.
45633
37f1abd4
JM
456342012-05-14 Joseph Myers <joseph@codesourcery.com>
45635
45636 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
45637 set if not set by the user. Do not allow for being unset.
45638 * sysdeps/unix/sysv/linux/configure: Regenerated.
45639
11de3a33
L
456402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45641
45642 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
45643 the `q' suffix from lea and replace .quad with ASM_ADDR.
45644
e02f153a
L
456452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45646
45647 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
45648 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
45649 instead of $17.
45650 (PTR_DEMANGLE): Likewise.
45651
520ae0fd
L
456522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45653
45654 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
45655 (LP_OP): Likewise.
45656 (ASM_ADDR): Likewise.
45657 (RAX_LP): Likewise.
45658 (RBP_LP): Likewise.
45659 (RBX_LP): Likewise.
45660 (RCX_LP): Likewise.
45661 (RDI_LP): Likewise.
45662 (RSI_LP): Likewise.
45663 (RSP_LP): Likewise.
45664 (R8_LP): Likewise.
45665 (R9_LP): Likewise.
45666 (R10_LP): Likewise.
45667 (R10_LP): Likewise.
45668 (R11_LP): Likewise.
45669 (R12_LP): Likewise.
45670 (R13_LP): Likewise.
45671 (R14_LP): Likewise.
45672 (R15_LP): Likewise.
45673
b985be81
L
456742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45675
45676 * sysdeps/x86_64/x32/dl-machine.h: New file.
45677
6a4888ff
AJ
456782012-05-14 Andreas Jaeger <aj@suse.de>
45679
45680 * manual/Makefile (subdir): Remove export of subdir.
45681 (all): Remove target.
45682 (.PHONY): Remove all from list.
45683 (mkinstalldirs): Remove.
45684 (.PHONY): Remove installdirs from list.
45685 ($(inst_infodir)/libc.info): Use make-target-directory.
45686 (installdirs): Remove.
45687 (subdir_%): Remove.
45688 (glibc-targets): Remove.
45689 (lib): Remove.
45690 (stubs): Remove.
45691 ($(objpfx)stubs ../po/manual.pot): Remove.
45692 ($(objpfx)stamp%): Remove.
45693 (make-target-directory): Remove.
45694 (subdir_install): Remove.
45695 (routines): Remove.
45696 (aux): Remove.
45697 (sources): Remove.
45698 (objects): Remove.
45699 (headers): Remove.
45700
45701 [BZ #13750]
45702 * manual/.gitignore: Remove, it's not needed anymore.
45703 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
45704 all files in it.
45705 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
45706 directory.
45707 (texis): Renamed to $(objpfx)texis.
45708 (texis-path): New, contains path to generated files.
45709 (chapters.%): Use texis-path for complete path, add extra argument
45710 libc-texinfo.sh.
45711 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
45712 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
45713 (summary,texi, stamp-summary): Use complete path of
45714 files. Generate files in build dir.
45715 (dir-add.texi): Build in build dir.
45716 (libm-err.texi,stamp-libm-err): Likewise.
45717 (version.texi, stamp-version): Likewise.
45718 (.%c.texi): Likewise.
45719 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
45720 (mostlyclean): Remove target.
45721 (realclean): Remove target.
45722 (generated): Add new variable with contents from mostlyclean and
45723 realclean, remove entries duplicated in common-mostlyclean, add
45724 stamp-libm-err and stamp-version.
45725 (generated-dirs): Add libc directory.
45726 ($(inst_infodir)/libc.info): Install files from build dir.
45727
45728 * manual/install.texi (Configuring and compiling): Adjust since
45729 the info files are not part of the tar ball anymore.
45730
7ac77294
AJ
457312012-05-14 Andreas Jaeger <aj@suse.de>
45732
45733 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
45734 variable.
45735
ffb7875d
JM
457362012-05-14 Joseph Myers <joseph@codesourcery.com>
45737
45738 [BZ #13717]
45739 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45740 to 2.2.0 where earlier.
45741 * sysdeps/unix/sysv/linux/configure: Regenerated.
45742 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
45743 Remove conditional code.
45744 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
45745 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
45746 Remove conditional code.
45747 [!__NR_lchown]: Likewise.
45748 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45749 [__NR_lchown]: Likewise.
45750 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
45751 comment referencing __ASSUME_LCHOWN_SYSCALL.
45752 * sysdeps/unix/sysv/linux/i386/sigaction.c
45753 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45754 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45755 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
45756 Remove conditional code.
45757 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
45758 (__protocol_available): Remove #if 0 code.
45759 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
45760 conditional code.
45761 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
45762 * sysdeps/unix/sysv/linux/kernel-features.h
45763 (__ASSUME_GETCWD_SYSCALL): Don't define.
45764 (__ASSUME_REALTIME_SIGNALS): Likewise.
45765 (__ASSUME_PREAD_SYSCALL): Likewise.
45766 (__ASSUME_PWRITE_SYSCALL): Likewise.
45767 (__ASSUME_POLL_SYSCALL): Likewise.
45768 (__ASSUME_LCHOWN_SYSCALL): Likewise.
45769 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
45770 non-SPARC.
45771 (__ASSUME_SIOCGIFNAME): Don't define.
45772 (__ASSUME_MSG_NOSIGNAL): Likewise.
45773 (__ASSUME_SENDFILE): Define unconditionally.
45774 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
45775 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
45776 conditional code.
45777 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
45778 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
45779 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45780 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45781 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
45782 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45783 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
45785 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
45788 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45789 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
45791 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
45794 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45795 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
45797 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45798 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
45800 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45801 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
45803 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45804 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
45806 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45807 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45808 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
45809 Remove conditional code.
45810 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45811 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45812 Remove conditional code.
45813 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45814 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
45815 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
45816 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45817 Remove conditional code.
45818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45819 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
45820 Remove conditional code.
45821 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45822 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
45823 Remove conditional code.
45824 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45825 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45826 Remove conditional code.
45827 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45828 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45829 Remove conditional code.
45830 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45831 * sysdeps/unix/sysv/linux/sh/pwrite64.c
45832 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45833 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45834 * sysdeps/unix/sysv/linux/sigaction.c
45835 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45836 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45837 * sysdeps/unix/sysv/linux/sigpending.c
45838 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45839 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45840 * sysdeps/unix/sysv/linux/sigprocmask.c
45841 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45842 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45843 * sysdeps/unix/sysv/linux/sigsuspend.c
45844 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45845 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45846 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45847 (__libc_missing_rt_sigs): Remove.
45848 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
45849 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
45850 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
45851 Remove conditional code.
45852 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
45853 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
45854 return 1.
45855 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
45856 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
45857 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
45858 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
45859
1bfb7291
AJ
458602012-05-14 Andreas Jaeger <aj@suse.de>
45861
caae5a81
AJ
45862 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
45863 it's not used in glibc.
45864 (__coshm1): Likewise.
45865 (__acosh1p): Likewise.
45866 (__sgn): Likewise.
45867
1bfb7291
AJ
45868 * manual/string.texi (Copying and Concatenation): Add missing
45869 variable in concat example.
45870 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
45871
c044d724
L
458722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45873
144c5467 45874 [BZ #14103]
c044d724
L
45875 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
45876 __builtin_clzl with __builtin_clzll.
45877
2523c62b
L
458782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45879
45880 [BZ #14104]
45881 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
45882 libc_freeres_ptr.
45883
d7bb4c42
LD
458842012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45885
45886 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
45887 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
45888 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
45889 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
45890
9dc4e1fb
MF
458912012-05-14 Mike Frysinger <vapier@gentoo.org>
45892
45893 * NEWS: Update ia64 info.
45894
c7df0112
AS
458952012-05-12 Andreas Schwab <schwab@linux-m68k.org>
45896
45897 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
45898 used as bcopy.
45899
dc70356c
TS
459002012-05-12 Thomas Schwinge <thomas@codesourcery.com>
45901
45902 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
45903 * sysdeps/unix/syscalls.list (dup3): Likewise.
45904 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
45905 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
45906
9fb1a21f
L
459072012-05-11 H.J. Lu <hongjiu.lu@intel.com>
45908
45909 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
45910 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
45911
4822a2a5
L
459122012-05-11 H.J. Lu <hongjiu.lu@intel.com>
45913
45914 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
45915 thread pointer.
45916 (TLS_IE): Use mov/add instead of movq/addq to load thread
45917 pointer.
45918 (TLS_GD_PREFIX): New.
45919 (TLS_GD): Use it.
45920
842b81d6
DM
459212012-05-11 David S. Miller <davem@davemloft.net>
45922
45923 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
45924 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
45925 (_FPU_SETCW): Likewise.
45926
1cf463cd
L
459272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45928
45929 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
45930 is 32-byte aligned.
45931
60cc4a18
AS
459322012-05-11 Andreas Schwab <schwab@linux-m68k.org>
45933
45934 [BZ #11837]
45935 * iconvdata/gb18030.c: Update tables.
45936 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
45937 characters specially.
45938 (BODY for TO_LOOP): Add encoding of missing ranges.
45939
febb44a4
TS
459402012-05-11 Thomas Schwinge <thomas@codesourcery.com>
45941
45942 [BZ #13673]
45943 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
45944 * sysdeps/mach/hurd/dup3.c: Likewise.
45945 * sysdeps/mach/hurd/readlinkat.c: Likewise.
45946 * sysdeps/powerpc/memmove.c:: Likewise.
45947
0a10fb9e
L
459482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45949
45950 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
45951 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
45952
df8a552f
L
459532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45954
45955 * elf/elf.h (R_X86_64_RELATIVE64): New.
45956 (R_X86_64_NUM): Updated.
45957 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
45958 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
45959 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
45960 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
45961 tst-quad1pie tst-quad2pie
45962 (modules-names): Add tst-quadmod1 tst-quadmod2.
45963 ($(objpfx)tst-quad1): New dependency.
45964 ($(objpfx)tst-quad2): Likewise.
45965 ($(objpfx)tst-quad1pie): Likewise.
45966 ($(objpfx)tst-quad2pie): Likewise.
45967 * sysdeps/x86_64/tst-quad1.c: New file.
45968 * sysdeps/x86_64/tst-quad1pie.c: New file.
45969 * sysdeps/x86_64/tst-quad2.c: Likewise.
45970 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
45971 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
45972 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
45973 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
45974 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
45975
f34d6f84
ST
459762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
45977
f42d41d1
ST
45978 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
45979 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
45980 * streams/stropts.h (t_scalar_t): Define type.
45981
3c3571fc
ST
45982 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
45983 (_PATH_PRESERVE): Set to "/var/lib".
45984 (_PATH_RWHODIR): Set to "/var/spool/rwho".
45985
61f06bd3
ST
45986 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
45987 instead of int.
45988
918d4d71
ST
45989 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
45990 if __dir_mkfile succeeded.
45991
f34d6f84
ST
45992 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
45993 checking for _hurd_dtablesize. Unlock it right after having
45994 finished _hurd_dtable allocation.
45995
10589b4a
TS
459962012-05-10 Thomas Schwinge <thomas@schwinge.name>
45997
674cdbc7
TS
45998 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
45999 * sysdeps/mach/hurd/configure: Regenerated.
46000 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46001 special-casing to...
46002 * sysdeps/gnu/configure.in: ... this new file.
46003 * sysdeps/unix/sysv/linux/configure: Regenerated.
46004 * sysdeps/gnu/configure: New generated file.
46005
8e41b99f
TS
46006 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46007 for Linux: use nsec instead of usec, as well as:
46008 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46009 members of type struct timespec.
46010 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46011 New macros.
46012 (struct stat64): Likewise.
46013 (_STATBUF_ST_NSEC): New macro.
46014 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46015
10589b4a
TS
46016 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46017 __strtoul_internal rather than strtoul.
46018
63643c85
PT
460192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46020
46021 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46022 and reject them.
46023
3faebe6a
ST
460242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46025
46026 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46027 which preserves existing values.
46028 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
46029
c6474b07
PT
460302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46031
46032 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
46033 TIMEOUT values. Return EINVAL for NFDS values either negative or
46034 greater than FD_SETSIZE.
46035
1043890b
ST
460362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46037
46038 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
46039 allocated, call __vm_protect to finish enabling the existing space, and
46040 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46041 allocate the remainder.
46042
37ed8b9b
PT
460432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46044
46045 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
46046 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
46047
db653660
ST
460482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46049
37ed8b9b
PT
46050 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
46051 sysdeps/mach/hurd/readlink.c.
b29d4053 46052
db653660
ST
46053 * posix/tst-sysconf.c (posix_options): Only use
46054 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
46055 _POSIX_SYNCHRONIZED_IO when they are defined
46056 * sysdeps/mach/hurd/bits/posix_opt.h:
46057 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
46058 (_XOPEN_REALTIME): Undefine macro.
46059 (_XOPEN_REALTIME_THREADS): Undefine macro.
46060 (_XOPEN_SHM): Undefine macro.
46061 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
46062 macro to -1.
46063 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
46064 macro to -1.
46065 (_POSIX_ASYNC_IO): Undefine macro.
46066 (_POSIX_PRIORITIZED_IO): Undefine macro.
46067 (_POSIX_SPIN_LOCKS): Define macro to -1.
46068
ee16e894
ST
46069 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
46070 SA_NODEFER, SA_RESETHAND.
46071 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
46072 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
46073 F_DUPFD_CLOEXEC.
46074
6103ae3b
TS
460752012-05-10 Thomas Schwinge <thomas@schwinge.name>
46076
46077 * elf/Makefile (pldd-modules): Define unconditionally.
46078
80b4e5f3
TS
460792012-05-10 Thomas Schwinge <thomas@schwinge.name>
46080
46081 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
46082
edadcbd6
ST
460832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46084
46085 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
46086 Return ENOENT when name is empty.
46087 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
46088
80694780
TS
460892012-05-10 Thomas Schwinge <thomas@schwinge.name>
46090
1792c087
TS
46091 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
46092
80694780
TS
46093 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
46094
6b645f0d
ST
460952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46096
80694780
TS
46097 Fix mlock in all cases except non-readable pages.
46098 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
46099 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 46100
6b645f0d
ST
46101 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
46102 (__mkdir): When path is `/', just fail with EEXIST.
46103 * sysdeps/mach/hurd/mkdirat.c: Likewise.
46104
e468f8a3
TS
461052012-05-10 Thomas Schwinge <thomas@schwinge.name>
46106
46107 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
46108 <sys/uio.h> (for writev).
46109 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
46110 and <sys/param.h> (for MIN).
46111
a4186cff
PT
461122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46113
46114 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
46115 REQUESTED_TIME. Properly set the remaining time and return EINTR
46116 if interrupted.
46117
510bbf14
TS
461182012-05-10 Thomas Schwinge <thomas@schwinge.name>
46119
46120 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
46121 Depend on against $(link-rpcuserlibs).
46122
5d5722e8
ST
461232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46124
a4186cff
PT
46125 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
46126 (__libc_stack_end): Do not use attribute_relro.
46127 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46128 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 46129 to libthread-provided value.
a4186cff
PT
46130 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46131 attribute_relro.
5d5722e8 46132
37233df9
TS
461332012-05-10 Thomas Schwinge <thomas@schwinge.name>
46134
be971a2b
TS
46135 [BZ #3748]
46136 * bits/libc-lock.h (__libc_once_get): New macro.
46137 * sysdeps/mach/bits/libc-lock.h: Likewise.
46138 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
46139 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46140 instead of using implementation details.
46141
37233df9
TS
46142 * libio/fileops.c: Unconditionally include <kernel-features.h>.
46143 * libio/freopen.c: Likewise.
46144 * libio/freopen64.c: Likewise.
46145 * misc/syslog.c: Likewise.
46146 * nscd/connections.c: Likewise.
46147 * nscd/netgroupcache.c: Likewise.
46148 * sysdeps/posix/getcwd.c: Likewise.
46149
38de94a5
RM
461502012-05-10 Roland McGrath <roland@hack.frob.com>
46151
46152 * math/w_ilogbf.c: Add #include <limits.h>.
46153
67530489
ST
461542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46155
a4186cff 46156 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
46157 path instead of returning without unlocking.
46158
67530489
ST
46159 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
46160 immediate-write ioctls.
46161 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
46162
5aa3a74a
TS
461632012-05-10 Thomas Schwinge <thomas@schwinge.name>
46164
18bad2ae
TS
46165 * sysdeps/mach/hurd/i386/init-first.c (init): Use
46166 __builtin_frame_address instead of making assumptions about the
46167 location of the return address relative to DATA. Force early load of
46168 the return address.
46169 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
46170 __builtin_frame_address.
46171
5aa3a74a
TS
46172 dup3 for GNU Hurd.
46173 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
46174 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
46175 implement dup3 and do some further code clean-ups.
46176 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
46177 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
46178
ecd0de9a
ST
461792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46180
cd9fa985
ST
46181 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
46182
a4186cff
PT
46183 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
46184 HURD_CRITICAL_END around holding _hurd_dtable_lock.
46185 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46186 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46187 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46188 d->port.lock.
802ca5a5 46189
a4186cff
PT
46190 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46191 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
46192 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 46193
bcf55240
TS
461942012-05-10 Thomas Schwinge <thomas@schwinge.name>
46195
6960eb42
TS
46196 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46197 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46198 definitions.
46199
eb43375f
TS
46200 accept4 for GNU Hurd.
46201 * include/sys/socket.h (__libc_accept4): New prototype.
46202 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
46203 to implement __libc_accept4.
46204 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46205 __libc_accept4.
46206 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46207
bcf55240
TS
46208 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46209 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46210 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46211 signal-defines.sym.
46212
6178c55b
ST
462132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46214
a4186cff 46215 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 46216
6f080c2f
TS
462172012-05-10 Thomas Schwinge <thomas@schwinge.name>
46218
46219 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46220 assertion on O_CLOEXEC flag.
46221 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46222 * hurd/intern-fd.c: Likewise.
46223 * hurd/port2fd.c: Likewise.
46224
bcfe3a54
ST
462252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46226
46227 [BZ #3906]
46228 * bits/in.h (IPV6_PKTINFO): Define new macro.
46229 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46230
89c9aa49
AZ
462312012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46232
46233 [BZ #13954]
46234 [BZ #13955]
46235 [BZ #13956]
46236 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46237 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46238 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46239 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46240 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46241 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46242 * math/libm-test.inc (logb_test) : Additional logb tests.
46243
021db4be
AJ
462442012-05-09 Andreas Schwab <schwab@linux-m68k.org>
46245 Andreas Jaeger <aj@suse.de>
46246
46247 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46248 * configure: Regenerated.
46249 * config.h.in (LINK_OBSOLETE_RPC): New macro.
46250 * config.make.in (link-obsolete-rpc): New substituted variable.
46251 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46252 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46253 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46254 (shared-only-routines): Don't set it under [link-obsolete-rpc],
46255 so that libc.a contains the symbols.
46256 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46257 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46258 * sunrpc/auth_none.c: Likewise.
46259 * sunrpc/auth_unix.c: Likewise.
46260 * sunrpc/authdes_prot.c: Likewise.
46261 * sunrpc/authuxprot.c: Likewise.
46262 * sunrpc/clnt_gen.c: Likewise.
46263 * sunrpc/clnt_perr.c: Likewise.
46264 * sunrpc/clnt_raw.c: Likewise.
46265 * sunrpc/clnt_simp.c: Likewise.
46266 * sunrpc/clnt_tcp.c: Likewise.
46267 * sunrpc/clnt_udp.c: Likewise.
46268 * sunrpc/clnt_unix.c: Likewise.
46269 * sunrpc/des_crypt.c: Likewise.
46270 * sunrpc/des_soft.c: Likewise.
46271 * sunrpc/get_myaddr.c: Likewise.
46272 * sunrpc/key_call.c: Likewise.
46273 * sunrpc/key_prot.c: Likewise.
46274 * sunrpc/netname.c: Likewise.
46275 * sunrpc/pm_getmaps.c: Likewise.
46276 * sunrpc/pm_getport.c: Likewise.
46277 * sunrpc/pmap_clnt.c: Likewise.
46278 * sunrpc/pmap_prot.c: Likewise.
46279 * sunrpc/pmap_prot2.c: Likewise.
46280 * sunrpc/pmap_rmt.c: Likewise.
46281 * sunrpc/publickey.c: Likewise.
46282 * sunrpc/rpc_cmsg.c: Likewise.
46283 * sunrpc/rpc_common.c: Likewise.
46284 * sunrpc/rpc_dtable.c: Likewise.
46285 * sunrpc/rpc_prot.c: Likewise.
46286 * sunrpc/rpc_thread.c: Likewise.
46287 * sunrpc/rtime.c: Likewise.
46288 * sunrpc/svc.c: Likewise.
46289 * sunrpc/svc_auth.c: Likewise.
46290 * sunrpc/svc_raw.c: Likewise.
46291 * sunrpc/svc_run.c: Likewise.
46292 * sunrpc/svc_tcp.c: Likewise.
46293 * sunrpc/svc_udp.c: Likewise.
46294 * sunrpc/svc_unix.c: Likewise.
46295 * sunrpc/svcauth_des.c: Likewise.
46296 * sunrpc/xcrypt.c: Likewise.
46297 * sunrpc/xdr.c: Likewise.
46298 * sunrpc/xdr_array.c: Likewise.
46299 * sunrpc/xdr_float.c: Likewise.
46300 * sunrpc/xdr_intXX_t.c: Likewise.
46301 * sunrpc/xdr_mem.c: Likewise.
46302 * sunrpc/xdr_rec.c: Likewise.
46303 * sunrpc/xdr_ref.c: Likewise.
46304 * sunrpc/xdr_sizeof.c: Likewise.
46305 * sunrpc/xdr_stdio.c: Likewise.
46306
b5c086a2
RM
463072012-05-10 Roland McGrath <roland@hack.frob.com>
46308
46309 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46310 change. Update copyright years.
46311
6d74dd09
JM
463122012-05-10 Joseph Myers <joseph@codesourcery.com>
46313
46314 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46315
28e72501
MK
463162012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
46317 Joseph Myers <joseph@codesourcery.com>
46318 Paul Pluzhnikov <ppluzhnikov@google.com>
46319
46320 [BZ #14012]
46321 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46322 requiring rpcgen.
46323 [cross-compiling] (extra-libs): Likewise.
46324 [cross-compiling] (extra-libs-others): Likewise.
46325 [cross-compiling] (librpcsvc-routines): Likewise.
46326 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46327 [cross-compiling] (omit-deps): Likewise.
46328 (sunrpc-CPPFLAGS): New variable.
46329 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46330 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46331 (cross-rpcgen-objs): New variable.
46332 (extra-objs): Append $(cross-rpcgen-objs).
46333 ($(cross-rpcgen-objs)): New rule.
46334 ($(objpfx)cross-rpcgen): Likewise.
46335 (rpcgen-cmd): Define to use $(built-program-file). Expand
46336 comment.
46337 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46338 ($(objpfx)x%.stmp): Likewise.
46339 * sunrpc/proto.h [IS_IN_build] (_): Define.
46340 [IS_IN_build] (_libc_intl_domainname): Likewise.
46341
c8c59454
L
463422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46343
46344 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46345 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46346 and R_X86_64_TPOFF64.
46347
6f27cd16
JM
463482012-05-10 Joseph Myers <joseph@codesourcery.com>
46349
46350 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46351 sysdeps/unix/sysv/syscalls.list.
46352 (stime): Likewise.
46353 (utime): Likewise.
46354 * sysdeps/unix/sysv/syscalls.list: Remove file.
46355
02467e1c
PE
463562012-05-10 Paul Eggert <eggert@cs.ucla.edu>
46357
46358 [BZ #3440]
46359 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46360 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46361 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46362 (__LC_IDENTIFICATION): Make these macros useful in #if
46363 expressions, as required by C99.
46364
da392631
AS
463652012-05-10 Andreas Schwab <schwab@linux-m68k.org>
46366
46367 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46368 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
46369 after this.
46370
8115f29b
L
463712012-05-09 H.J. Lu <hongjiu.lu@intel.com>
46372
46373 * stdlib/longlong.h: Updated from GCC.
46374
bdd74070
AJ
463752012-05-09 Andreas Jaeger <aj@suse.de>
46376
edfe0dbe
AJ
46377 * nscd/nscd.c (run_modes): Make named enum, reorder so that
46378 default is first entry.
46379 (run_mode): Set type.
46380 (main): Remove informal message about syslog.
46381 (options): Fix typo.
46382
bcfe3a54
ST
46383 [BZ #14053]
46384 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 46385 to asm.
bcfe3a54
ST
46386 (lrint): Likewise.
46387 (llrintf): Likewise.
46388 (llrint): Likewise.
46389 (rint): Likewise.
46390 (rintf): Likewise.
46391 (nearbyint): Likewise.
46392 (nearbyintf): Likewise.
bdd74070 46393
91d8d69e
AJ
463942012-05-09 Andreas Jaeger <aj@suse.de>
46395 Pedro Alves <palves@redhat.com>
46396
46397 * nscd/nscd.c (run_mode): Use enum.
46398 (main): Cleanup coding style issue.
46399
bb90b80b
AJ
464002012-05-09 Alexandre Oliva <aoliva@redhat.com>
46401 Andreas Jaeger <aj@suse.de>
46402
bcfe3a54
ST
46403 * nscd/nscd.c (go_background): Replaced with...
46404 (run_mode): ... this.
bb90b80b 46405 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
46406 (options): Add -F --foreground.
46407 (main): Implement it.
46408 (parse_opt): Parse it.
bb90b80b 46409
1a4b75a1
AJ
464102012-05-09 Andreas Jaeger <aj@suse.de>
46411
46412 [BZ #14083]
46413 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46414 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46415 -Wconversion warning.
46416 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46417 Likewise.
46418
b1cc2472
JM
464192012-05-09 Joseph Myers <joseph@codesourcery.com>
46420
46421 * conform/data/locale.h-data (NULL): Use macro-constant. Require
46422 == 0.
46423 (LC_ALL): Use macro-int-constant.
46424 (LC_COLLATE): Likewise.
46425 (LC_CTYPE): Likewise.
46426 (LC_MESSAGES): Likewise.
46427 (LC_MONETARY): Likewise.
46428 (LC_NUMERIC): Likewise.
46429 (LC_TIME): Likewise.
46430 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46431 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46432 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46433 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
46434 Specify type.
46435 [C99-based standards] (float_t): Expect type.
46436 [C99-based standards] (double_t): Expect type.
46437 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
46438 type.
46439 [C99-based standards] (HUGE_VALL): Likewise.
46440 [C99-based standards] (INFINITY): Likewise.
46441 [C99-based standards] (NAN): Likewise.
46442 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
46443 [C99-based standards] (FP_NAN): Likewise.
46444 [C99-based standards] (FP_NORMAL): Likewise.
46445 [C99-based standards] (FP_SUBNORMAL): Likewise.
46446 [C99-based standards] (FP_ZERO): Likewise.
46447 [C99-based standards] (FP_FAST_FMA): Use
46448 optional-macro-int-constant. Specify type. Require == 1.
46449 [C99-based standards] (FP_FAST_FMAF): Likewise.
46450 [C99-based standards] (FP_FAST_FMAL): Likewise.
46451 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
46452 [C99-based standards] (FP_ILOGBNAN): Likewise.
46453 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46454 Specify type.
46455 [C99-based standards] (MATH_ERREXCEPT): Likewise.
46456 [C99-based standards] (math_errhandling): Specify type.
46457 [ISO99 || ISO11] (signgam): Do not allow.
46458 [non-C99-based standards] (copysignf): Do not allow.
46459 [non-C99-based standards] (exp2f): Likewise.
46460 [non-C99-based standards] (log2f): Likewise.
46461 [non-C99-based standards] (modff): Allow.
46462 [non-C99-based standards] (erff): Do not allow.
46463 [non-C99-based standards] (erfcf): Likewise.
46464 [non-C99-based standards] (gammaf): Likewise.
46465 [non-C99-based standards] (hypotf): Likewise.
46466 [non-C99-based standards] (j0f): Likewise.
46467 [non-C99-based standards] (j1f): Likewise.
46468 [non-C99-based standards] (jnf): Likewise.
46469 [non-C99-based standards] (lgammaf): Likewise.
46470 [non-C99-based standards] (tgammaf): Likewise.
46471 [non-C99-based standards] (y0f): Likewise.
46472 [non-C99-based standards] (y1f): Likewise.
46473 [non-C99-based standards] (ynf): Likewise.
46474 [non-C99-based standards] (isnanf): Likewise.
46475 [non-C99-based standards] (acoshf): Likewise.
46476 [non-C99-based standards] (asinhf): Likewise.
46477 [non-C99-based standards] (atanhf): Likewise.
46478 [non-C99-based standards] (cbrtf): Likewise.
46479 [non-C99-based standards] (expm1f): Likewise.
46480 [non-C99-based standards] (ilogbf): Likewise.
46481 [non-C99-based standards] (log1pf): Likewise.
46482 [non-C99-based standards] (logbf): Likewise.
46483 [non-C99-based standards] (nextafterf): Likewise.
46484 [non-C99-based standards] (remainderf): Likewise.
46485 [non-C99-based standards] (rintf): Likewise.
46486 [non-C99-based standards] (scalbf): Likewise.
46487 [non-C99-based standards] (copysignl): Likewise.
46488 [non-C99-based standards] (exp2l): Likewise.
46489 [non-C99-based standards] (log2l): Likewise.
46490 [non-C99-based standards] (modfl): Allow.
46491 [non-C99-based standards] (erfl): Do not allow.
46492 [non-C99-based standards] (erfcl): Likewise.
46493 [non-C99-based standards] (gammal): Likewise.
46494 [non-C99-based standards] (hypotl): Likewise.
46495 [non-C99-based standards] (j0l): Likewise.
46496 [non-C99-based standards] (j1l): Likewise.
46497 [non-C99-based standards] (jnl): Likewise.
46498 [non-C99-based standards] (lgammal): Likewise.
46499 [non-C99-based standards] (tgammal): Likewise.
46500 [non-C99-based standards] (y0l): Likewise.
46501 [non-C99-based standards] (y1l): Likewise.
46502 [non-C99-based standards] (ynl): Likewise.
46503 [non-C99-based standards] (isnanl): Likewise.
46504 [non-C99-based standards] (acoshl): Likewise.
46505 [non-C99-based standards] (asinhl): Likewise.
46506 [non-C99-based standards] (atanhl): Likewise.
46507 [non-C99-based standards] (cbrtl): Likewise.
46508 [non-C99-based standards] (expm1l): Likewise.
46509 [non-C99-based standards] (ilogbl): Likewise.
46510 [non-C99-based standards] (log1pl): Likewise.
46511 [non-C99-based standards] (logbl): Likewise.
46512 [non-C99-based standards] (nextafterl): Likewise.
46513 [non-C99-based standards] (remainderl): Likewise.
46514 [non-C99-based standards] (rintl): Likewise.
46515 [non-C99-based standards] (scalbl): Likewise.
46516 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46517 [non-C99-based standards] (FP_*): Do not allow.
46518 [C99-based standards] (FP_*): Change to
46519 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46520 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46521 allow.
46522 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
46523 (SIG_ERR): Likewise.
46524 [X/Open-based standards] (SIG_HOLD): Likewise.
46525 (SIG_IGN): Likewise.
46526 (SIGABRT): Use macro-int-constant. Specify type. Require
46527 positive value.
46528 (SIGFPE): Likewise.
46529 (SIGILL): Likewise.
46530 (SIGINT): Likewise.
46531 (SIGSEGV): Likewise.
46532 (SIGTER): Likewise.
46533 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
46534 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
46535 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
46536 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
46537 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
46538 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
46539 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
46540 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
46541 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
46542 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
46543 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
46544 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
46545 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
46546 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
46547 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
46548 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
46549 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
46550 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
46551 [X/Open-based standards] (SIGTRAP): Likewise.
46552 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
46553 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
46554 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
46555 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
46556 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46557 allow.
46558
b9f1922d
IW
465592012-05-08 Ian Wienand <ianw@vmware.com>
46560
46561 [BZ #14080]
46562 * time/tzset.c (__tzset_parse_tz): Update default rules for
46563 daylight time changes in the Energy Policy Act of 2005.
46564
1db86e88
AJ
465652012-05-09 Andreas Jaeger <aj@suse.de>
46566
46567 [BZ #13983]
46568 * elf/ldconfig.c (parse_conf): Change string to make clear that
46569 ldconfig only issued a warning if ld.so.conf does not exist.
46570
dee4a4e3
DM
465712012-05-08 David S. Miller <davem@davemloft.net>
46572
ee0db190
DM
46573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
46574 movxtod instead of popping the value on the stack.
46575
dee4a4e3
DM
46576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46577
6a43ec98
CD
465782012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
46579
46580 * config.h.in: Add HAVE_ARM_PCS_VFP.
46581
05c2c961
RMG
465822012-05-08 Roland Mc Grath <roland@hack.frob.com>
46583
bcfe3a54
ST
46584 [BZ #13979]
46585 * include/features.h: Warn if user requests __FORTIFY_SOURCE
46586 checking but the checks are disabled for any reason.
05c2c961 46587
4b30f61a
L
465882012-05-08 H.J. Lu <hongjiu.lu@intel.com>
46589
46590 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
46591 and ELF64_R_TYPE with ELFW(R_TYPE).
46592
eee2bc67
JM
465932012-05-08 Joseph Myers <joseph@codesourcery.com>
46594
7ea5391a
JM
46595 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
46596 (ulimit): Likewise.
46597
eee2bc67
JM
46598 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
46599 (settimeofday): Likewise.
46600
abb66a67
MF
466012012-05-08 Mike Frysinger <vapier@gentoo.org>
46602
46603 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
46604 a struct th_u2 inside the union, and move tu_block/tu_code into
46605 a new th_u3 union of tu_block/tu_code inside of that. Move
46606 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
46607 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
46608 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
46609 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
46610 (th_stuff): Change to th_u1.tu_stuff.
46611 (th_data): Define.
46612 (th_msg): Change to th_u1.th_u2.tu_data.
46613
7f18b530
DM
466142012-05-07 David S. Miller <davem@davemloft.net>
46615
05760585
DM
46616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46617
7f18b530
DM
46618 [BZ #14074]
46619 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
46620 (SETUP_PIC_REG): Use it.
46621 (SETUP_PIC_REG_LEAF): Use it.
46622
495fd99f
JM
466232012-05-07 Joseph Myers <joseph@codesourcery.com>
46624
46625 [BZ #13885]
46626 [BZ #13923]
46627 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46628 USE_AS_EXPM1L.
46629 (EXPL_FINITE): Likewise.
46630 (FLDLOG): Likewise.
46631 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46632 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46633 e_expl.S.
46634 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46635 USE_AS_EXPM1L.
46636 (EXPL_FINITE): Likewise.
46637 (FLDLOG): Likewise.
46638 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46639 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46640 e_expl.S.
46641 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
46642 test of -max_value argument for long double.
46643 * sysdeps/i386/fpu/libm-test-ulps: Update.
46644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46645
6693d694
DM
466462012-05-06 David S. Miller <davem@davemloft.net>
46647
46648 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
46649 quad soft-float symbols whose references which are compiler
46650 generated.
46651 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46652
6c23e11c
JM
466532012-05-06 Joseph Myers <joseph@codesourcery.com>
46654
d8b82cad
JM
46655 [BZ #13884]
46656 [BZ #13914]
46657 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46658 USE_AS_EXP10L.
46659 (EXPL_FINITE): Likewise.
46660 (FLDLOG): Likewise.
46661 (c0): Likewise.
46662 (c1): Likewise.
46663 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
46664 Adjust comments for base varying.
46665 (__expl_finite): Change alias to EXPL_FINITE.
46666 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
46667 e_expl.S.
46668 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
46669 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
46670 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46671 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
46672 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46673 USE_AS_EXP10L.
46674 (EXPL_FINITE): Likewise.
46675 (FLDLOG): Likewise.
46676 (c0): Likewise.
46677 (c1): Likewise.
46678 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
46679 Adjust comments for base varying.
46680 (__expl_finite): Change alias to EXPL_FINITE.
46681 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
46682 tests for bugs.
46683 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46684
6c23e11c
JM
46685 [BZ #14064]
46686 * math/libm-test.inc (check_float_internal): Correct ulp
46687 calculation for subnormal expected results.
46688
29ba805c
AJ
466892012-05-06 Andreas Jaeger <aj@suse.de>
46690
46691 * Makeconfig (+math-flags): New, set to -frounding-math.
46692 (+cflags): Add +math-flags so that all of glibc gets compiled with
46693 it.
46694
46695 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
46696
7b17aeda
JM
466972012-05-05 Joseph Myers <joseph@codesourcery.com>
46698
5779f134
JM
46699 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
46700 Disable one test.
46701
41498f4d
JM
46702 [BZ #13787]
46703 [BZ #13922]
46704 [BZ #14036]
46705 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
46706 (__ieee754_expl): Allow for and saturate large arguments.
46707 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
46708 (u_threshold): Likewise.
46709 (__exp): Call __ieee754_exp before checking for overflow and
46710 underflow.
46711 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
46712 (u_threshold): Likewise.
46713 (__expf): Call __ieee754_expf before checking for overflow and
46714 underflow.
46715 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
46716 (u_threshold): Likewise.
46717 (__expl): Call __ieee754_expl before checking for overflow and
46718 underflow.
46719 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
46720 (__ieee754_expl): Allow for and saturate large arguments.
46721 * math/libm-test.inc (exp_test): Add another test. Do not allow
46722 missing overflow exception on overflow.
46723 (expm1_test): Do not allow missing overflow exception on overflow.
46724
6698b8bf
JM
46725 * sysdeps/i386/fpu/e_expl.c: Move to ...
46726 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
46727 rather than using inline asm.
46728 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
46729 * sysdeps/x86_64/fpu/e_expl.S: Copy from
46730 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
46731
7b17aeda
JM
46732 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
46733 (nice): Likewise.
46734 (poll): Likewise.
46735 (signal): Likewise.
46736 (time): Likewise.
46737 (times): Likewise.
46738
f7c85819
JM
467392012-05-04 Joseph Myers <joseph@codesourcery.com>
46740
46741 * sysdeps/unix/syscalls.list (adjtime): Add entry from
46742 sysdeps/unix/common/syscalls.list.
46743 (fchmod): Likewise.
46744 (fchown): Likewise.
46745 (ftruncate): Likewise.
46746 (getrusage): Likewise.
46747 (gettimeofday): Likewise.
46748 (setpgid): Likewise.
46749 (setregid): Likewise.
46750 (setreuid): Likewise.
46751 (sigaction): Likewise.
46752 (truncate): Likewise.
46753 (vhangup): Likewise.
46754 * sysdeps/unix/common/syscalls.list: Remove file.
46755 * sysdeps/unix/bsd/Implies: Don't include unix/common.
46756 * sysdeps/unix/sysv/linux/Implies: Likewise.
46757
336270d0
L
467582012-05-04 H.J. Lu <hongjiu.lu@intel.com>
46759
46760 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
46761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
46762 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
46763 Moved to ...
46764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46765 Here.
46766 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
46767 to ...
46768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
46769 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
46770 to ...
46771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
46772 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
46773 to ...
46774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
46775 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
46776 to ...
46777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
46778 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
46779 to ...
46780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
46781 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
46782 to ...
46783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
46784 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
46785 to ...
46786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46787 Here.
46788 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
46789 to ...
46790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
46791 Here.
46792 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
46793 to ...
46794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
46795 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
46796 Moved to ...
46797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
46798 Here.
46799 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
46800 to ...
46801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
46802
d128e450
JM
468032012-05-04 Joseph Myers <joseph@codesourcery.com>
46804
fa8ee516
JM
46805 * sysdeps/unix/common/bits/dirent.h: Remove file.
46806 * sysdeps/unix/common/bits/fcntl.h: Likewise.
46807
d128e450
JM
46808 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
46809 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
46810 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
46811 * sysdeps/unix/bsd/isatty.c: Likewise.
46812 * sysdeps/unix/bsd/tcdrain.c: Likewise.
46813 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
46814 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
46815
ff8faaf0 468162012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 46817
62881be4 46818 [BZ #13563]
31dc8730
AZ
46819 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
46820 long double comparison inaccuracies.
46821 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46823
6fef930c
AS
468242012-05-04 Andreas Schwab <schwab@linux-m68k.org>
46825
46826 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
46827 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
46828
8f203e6c
JM
468292012-05-04 Joseph Myers <joseph@codesourcery.com>
46830
46831 [BZ #14049]
46832 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
46833 nonzero digits before rounding a hex value.
46834 * stdlib/tst-strtod.c (tests): Add another test.
46835
5197d9c2
AK
468362012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46837
46838 * sysdeps/s390/fpu/libm-test-ulps: Update.
46839
f0c1dedf
AJ
468402012-05-03 Andreas Jaeger <aj@suse.de>
46841
46842 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
46843 does not get optimized out.
46844 (malloc_opt_barrier): New.
46845
a65ef2ae 468462012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 46847 Roland McGrath <roland@hack.frob.com>
a65ef2ae 46848
2b942cb7 46849 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 46850 intermediate file deletion.
2b942cb7 46851 (generated): Add .symlist files.
a65ef2ae 46852
54b71e02
JM
468532012-05-03 Joseph Myers <joseph@codesourcery.com>
46854
46855 [BZ #13775]
46856 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
46857 Redirect under this condition.
46858 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46859 [__USE_GNU] (__dprintf_chk): Not under this condition.
46860 [__USE_GNU] (__vdprintf_chk): Likewise.
46861 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
46862 under this condition.
46863 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46864 [__USE_XOPEN2K8] (dprintf): Define under this condition.
46865 [__USE_XOPEN2K8] (vdprintf): Likewise.
46866 [__USE_GNU] (__dprintf_chk): Not under this condition.
46867 [__USE_GNU] (__vdprintf_chk): Likewise.
46868 [__USE_GNU] (dprintf): Likewise.
46869 [__USE_GNU] (vdprintf): Likewise.
46870
d3dfcc41
RM
468712012-05-03 Roland McGrath <roland@hack.frob.com>
46872
46873 * elf/Makefile (common-generated): Set this instead of generated for
46874 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
46875 $(all-built-dso)-derived lists.
46876
7ac30cc5
AJ
468772012-05-03 Andreas Jaeger <aj@suse.de>
46878
0c51e550
AJ
46879 * sysdeps/i386/fpu/libm-test-ulps: Update.
46880
7ac30cc5
AJ
46881 * FAQ: Removed.
46882 * FAQ.in: Likewise.
46883 * scripts/gen-FAQ.pl: Likewise.
46884 * manual/install.texi (Installation): Point to online location of
46885 FAQ.
46886 * Makefile (files-for-dist): Remove FAQ.
46887 (FAQ): Remove.
46888
d4c2917f
AM
468892012-05-02 Allan McRae <allan@archlinux.org>
46890
46891 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
46892 (LDFLAGS-reldepmod5.so): Likewise.
46893 (LDFLAGS-reldep6mod1.so): Likewise.
46894 (LDFLAGS-reldep6mod4.so): Likewise.
46895 (LDFLAGS-reldep8mod3.so): Likewise.
46896 (LDFLAGS-unload4mod1.so): Likewise.
46897 (LDFLAGS-unload4mod2.so): Likewise.
46898 (LDFLAGS-tst-initorder): Likewise.
46899 (LDFLAGS-tst-initordera2.so): Likewise.
46900 (LDFLAGS-tst-initordera3.so): Likewise.
46901 (LDFLAGS-tst-initordera4.so): Likewise.
46902 (LDFLAGS-tst-initorderb2.so): Likewise.
46903 (LDFLAGS-noload): Likewise.
46904 (LDFLAGS-next): Likewise.
46905 (LDFLAGS-order2mod1.so): Likewise.
46906 (LDFLAGS-order2mod2.so): Likewise.
46907 (LDFLAGS-tst-initorder2): Likewise.
46908 (LDFLAGS-tst-initorder2a.so): Likewise.
46909 (LDFLAGS-tst-initorder2b.so): Likewise.
46910 (LDFLAGS-tst-initorder2c.so): Likewise.
46911 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
46912
d77f993f
DM
469132012-05-02 David S. Miller <davem@davemloft.net>
46914
46915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46916
171a70b4
PP
469172012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
46918
46919 [BZ #14055]
46920 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
46921
0be196ad
AJ
469222012-05-02 Andreas Jaeger <aj@suse.de>
46923
46924 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
46925 since we manipulate rounding mode.
46926 (CPPFLAGS-test-idouble.c): Likewise.
46927 (CPPFLAGS-test-ifloat.c): Likewise.
46928 (CFLAGS-test-ldouble.c): Likewise.
46929 (CFLAGS-test-double.c): Likewise.
46930 (CFLAGS-test-float.c): Likewise.
46931 (CFLAGS-test-misc.c): Likewise.
46932 (CFLAGS-test-test-fenv.c): Likewise.
46933
4f9d04aa
AZ
469342012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46935
2b942cb7
RM
46936 [BZ #2550]
46937 [BZ #2570]
46938 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
46939 comparisons to determine direction to adjust input.
4f9d04aa 46940
82a79e7d
RM
469412012-05-01 Roland McGrath <roland@hack.frob.com>
46942
f5a01ca9
RM
46943 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
46944 output to the target.
46945
90fe4186
RM
46946 * scripts/localplt.awk: New file.
46947 * elf/Makefile ($(objpfx)check-localplt): Target removed.
46948 (check-localplt-CFLAGS): Variable removed.
46949 ($(all-built-dso:=.jmprel)): New static pattern rule.
46950 (generated): Add those targets.
46951 (localplt-built-dso): New variable.
46952 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
46953
46954 * elf/check-localplt.c: File removed.
46955
82397ed6
RM
46956 * scripts/check-execstack.awk: New file.
46957 * elf/Makefile ($(objpfx)check-execstack): Target removed.
46958 (check-execstack-CFLAGS): Variable removed.
46959 ($(objpfx)check-execstack.h): Target removed.
46960 ($(objpfx)execstack-default): New target.
46961 (generated): Add that instead of check-execstack.h.
46962 ($(all-built-dso:=.phdr)): New static pattern rule.
46963 (generated): Add those targets.
46964 * elf/check-execstack.c: File removed.
46965
82a79e7d
RM
46966 * scripts/check-textrel.awk: New file.
46967 * elf/Makefile ($(objpfx)check-textrel): Target removed.
46968 (check-textrel-CFLAGS): Variable removed.
46969 (all-built-dso): Use := to define.o
46970 ($(all-built-dso:=.dyn)): New static pattern rule.
46971 (generated): Add those targets.
46972 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
46973 * config.make.in (READELF): New substituted variable.
46974 * elf/check-textrel.c: File removed.
46975
62fde54f 469762012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 46977
615605c9
JM
46978 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46979 allow.
46980 * conform/data/ctype.h-data [C99-based standards] (isblank):
46981 Expect function.
46982 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
46983 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
46984 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46985 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
46986 Specify type. Require positive value.
46987 (EILSEQ): Likewise.
46988 (ERANGE): Likewise.
46989 [ISO || POSIX] (EILSEQ): Do not expect.
46990 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
46991 Specify type. Require positive value.
46992 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
46993 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
46994 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
46995 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
46996 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
46997 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
46998 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
46999 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47000 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47001 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47002 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47003 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47004 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47005 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47006 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47007 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47008 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47009 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47010 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47011 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47012 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47013 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47014 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47015 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47016 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47017 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47018 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47019 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47020 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47021 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47022 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47023 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47024 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47025 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47026 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47027 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47028 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47029 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
47030 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
47031 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
47032 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
47033 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
47034 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
47035 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
47036 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
47037 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
47038 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
47039 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
47040 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
47041 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
47042 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
47043 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
47044 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
47045 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
47046 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
47047 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
47048 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
47049 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
47050 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
47051 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
47052 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
47053 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
47054 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
47055 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
47056 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
47057 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
47058 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
47059 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
47060 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
47061 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
47062 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
47063 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
47064 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
47065 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
47066 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
47067 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
47068 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
47069 Require >= 2.
47070 (FLT_ROUNDS): Expect as macro, not constant.
47071 (FLT_MANT_DIG): Use macro-int-constant.
47072 (DBL_MANT_DIG): Likewise.
47073 (LDBL_MANT_DIG): Likewise.
47074 (FLT_DIG): Likewise.
47075 (DBL_DIG): Likewise.
47076 (LDBL_DIG): Likewise.
47077 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
47078 (DBL_MIN_EXP): Likewise.
47079 (LDBL_MIN_EXP): Likewise.
47080 (FLT_MAX_EXP): Use macro-int-constant.
47081 (DBL_MAX_EXP): Likewise.
47082 (LDBL_MAX_EXP): Likewise.
47083 (FLT_MAX_10_EXP): Likewise.
47084 (DBL_MAX_10_EXP): Likewise.
47085 (LDBL_MAX_10_EXP): Likewise.
47086 (FLT_MAX): Use macro-constant.
47087 (DBL_MAX): Likewise.
47088 (LDBL_MAX): Likewise.
47089 (FLT_EPSILON): Use macro-constant. Give upper bound.
47090 (DBL_EPSILON): Likewise.
47091 (LDBL_EPSILON): Likewise.
47092 (FLT_MIN): Likewise.
47093 (DBL_MIN): Likewise.
47094 (LDBL_MIN): Likewise.
47095 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
47096 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
47097 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
47098 [ISO11] (FLT_HAS_SUBNORM): Likewise.
47099 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
47100 [ISO11] (DBL_DECIMAL_DIG): Likewise.
47101 [ISO11] (FLT_DECIMAL_DIG): Likewise.
47102 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
47103 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
47104 [ISO11] (FLT_TRUE_MIN): Likewise.
47105 [ISO11] (LDBL_TRUE_MIN): Likewise.
47106 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47107 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
47108 (SCHAR_MIN): Use macro-int-constant. Specify type.
47109 (SCHAR_MAX): Likewise.
47110 (UCHAR_MAX): Likewise.
47111 (CHAR_MIN): Likewise.
47112 (CHAR_MAX): Likewise.
47113 (MB_LEN_MAX): Use macro-int-constant.
47114 (SHRT_MIN): Use macro-int-constant. Specify type.
47115 (SHRT_MAX): Likewise.
47116 (USHRT_MAX): Likewise.
47117 (INT_MAX): Likewise.
47118 (INT_MIN): Use macro-int-constant. Specify type. Make upper
47119 bound negative.
47120 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
47121 bound with "U".
47122 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47123 bound with "L".
47124 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
47125 bound negative. Suffix upper bound with "L".
47126 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47127 bound with "UL".
47128 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
47129 Specify type.
47130 [C99-based standards] (LLONG_MAX): Likewise.
47131 [C99-based standards] (ULLONG_MAX): Likewise.
47132 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
47133 == 0.
47134 [ISO11] (max_align_t): Require type.
47135 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47136
c9140a62
JM
47137 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
47138 from $CFLAGS, without defining away __attribute__ calls.
47139 (checknamespace): Use $CFLAGS_namespace.
47140
9af0bf29
JM
47141 * conform/conformtest.pl (@keywords): Only include C99 keywords
47142 for standards based on C99 or C11.
47143
343222a2
JM
47144 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
47145 Disable tests.
47146 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
47147 UNIX98]: Likewise.
47148
661f8cf0
JM
47149 * conform/conformtest.pl: Handle "macro-int-constant" and test for
47150 usability of symbols in #if.
47151
ee74b9cb
JM
47152 * conform/conformtest.pl: If macro or constant types start
47153 "promoted:", expect the symbol to be of the following type
47154 promoted by the integer promotions.
62fde54f 47155
aafc49b3
JM
47156 * conform/conformtest.pl: Parse all "constant" and "macro" lines
47157 in one place. Also handle "macro-constant".
47158
fefdf574
JM
47159 * conform/conformtest.pl: Only accept expected macro values with
47160 "==". Parse all "macro" lines in one place.
47161 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
47162
f2d922fe
JM
47163 * conform/conformtest.pl: Handle braced types on "constant" lines
47164 instead of handling "typed-constant".
47165 * conform/data/signal.h-data: Use "constant" instead of
47166 "typed-constant".
47167
d22956c9
JM
47168 * conform/conformtest.pl: Handle "optional-" at start of lines in
47169 one place rather than duplicating several cases. Handle each
47170 format of "macro" line with initial "optional-".
47171
028e2e38
JM
47172 * conform/conformtest.pl: Only accept expected constant or
47173 optional-constant values with "==". Parse all "constant" lines in
47174 one place. Parse all "optional-constant" lines in one place.
47175 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
47176 * conform/data/fmtmsg.h-data: Likewise.
47177 * conform/data/netinet/in.h-data: Likewise.
47178 * conform/data/tar.h-data: Likewise.
47179 * conform/data/limits.h-data: Use "==" form on "constant" and
47180 "optional-constant" lines.
47181
1b8f2850
JM
47182 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
47183 Use -std=c99 for XOPEN2K.
47184 (@knownproblems): Remove.
47185 (newtoken): Don't check %isknown.
47186
a05a144b
JM
47187 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47188 Do not expect macro.
47189 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47190 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47191 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47192 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47193 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47194 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47195 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47196 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47197 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47198 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47199 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47200 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47201 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47202 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47203 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47204 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47205 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47206 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47207 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47208 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47209 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47210 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47211 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47212 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47213 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47214 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47215 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47216 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47217 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47218 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47219 [XPG3] (acosh): Likewise.
47220 [XPG3] (asinh): Likewise.
47221 [XPG3] (atanh): Likewise.
47222 [XPG3] (cbrt): Likewise.
47223 [XPG3] (expm1): Likewise.
47224 [XPG3] (ilogb): Likewise.
47225 [XPG3] (log1p): Likewise.
47226 [XPG3] (logb): Likewise.
47227 [XPG3] (nextafter): Likewise.
47228 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47229 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47230 [XPG3] (remainder): Likewise.
47231 [XPG3] (rint): Likewise.
47232 [XPG3 || XPG4 || UNIX98] (round): Likewise.
47233 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47234 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47235 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47236 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47237 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47238 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47239 [UNIX98 || XOPEN2K] (scalb): Expect.
47240 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47241 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47242 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47243 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47244 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47245 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47246 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47247 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47248 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47249 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47250 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47251 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47252 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47253 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47254 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47255 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47256 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47257 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47258 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47259 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47260 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47261 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47262 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47263 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47264 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47265 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47266 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47267 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47268 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47269 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47270 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47271 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47272 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47273 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47274 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47275 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47276 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47277 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47278 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47279 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47280 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47281 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47282 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47283 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47284 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47285 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47286 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47287 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47288 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47289 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47290 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47291 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47292 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47293 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47294 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47295 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47296 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47297 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47298 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47299 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47300 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47301 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47302 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47303 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47304 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47305 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47306 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47307 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47308 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47309 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47310 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47311 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47312 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47313 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47314 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47315 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47316 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47317 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47318 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47319 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47320 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47321 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47322 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47323 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47324 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47325 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47326 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47327 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47328 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47329 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47330 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47331 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47332 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47333 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47334 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47335 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47336 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47337 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47338 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47339 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47340 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47341 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47342 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47343 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47344 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47345 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47346 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47347 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47348 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47349 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47350 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47351 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47352 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47353 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47354 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47355 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47356 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47357 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47358 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47359 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47360 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47361 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47362 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47363 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47364 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47365 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47366 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47367 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47368 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47369 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47370 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47371 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47372 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47373 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47374 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47375 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47376 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47377
73c5ebe3
JM
47378 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47379 _XOPEN_SOURCE_EXTENDED for XPG4.
47380
39c33b6c
JM
47381 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47382
62fde54f
JM
47383 * Makeconfig (localtime): Remove variable.
47384 (inst_localtime-file): Likewise.
47385
0741d64c
AS
473862012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47387
47388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47389 Update.
47390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47391 Update.
47392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47393 Update.
47394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47395 Update.
47396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47397 Update.
47398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47399 Update.
47400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47401 Update.
47402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47403 Update.
47404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47405 Update.
47406
7cb029ee
JM
474072012-05-01 Joseph Myers <joseph@codesourcery.com>
47408
47409 [BZ #2550]
47410 [BZ #2570]
47411 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47412 comparisons to determine direction to adjust input.
47413 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47414 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47415 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47416 Likewise.
47417 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47418 Likewise.
47419 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47420 Likewise.
47421 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47422 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47423 Likewise.
47424 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47425 Likewise.
47426 * math/libm-test.inc (nexttoward_test): Add more tests.
47427
412bd966
AS
474282012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47429
47430 [BZ #14040]
47431 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47432 in version GLIBC_2.1, not GLIBC_2.0.
47433 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
47434 Likewise.
47435
9568c0c2
JM
474362012-04-30 Joseph Myers <joseph@codesourcery.com>
47437
adfbc8ac
JM
47438 [BZ #13942]
47439 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
47440 (1 - x) * (1 + x).
47441 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47442 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
47443 * math/libm-test.inc (acos_test): Add more tests.
47444 (asin_test): Likewise.
47445 * sysdeps/i386/fpu/libm-test-ulps: Update.
47446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47447
5ba3cc69
JM
47448 [BZ #14034]
47449 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
47450 of square root.
47451 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
47452 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47453 * math/libm-test.inc (acos_test_tonearest): New function.
47454 (acos_test_towardzero): Likewise.
47455 (acos_test_downward): Likewise.
47456 (acos_test_upward): Likewise.
47457 (asin_test_tonearest): Likewise.
47458 (asin_test_towardzero): Likewise.
47459 (asin_test_downward): Likewise.
47460 (asin_test_upward): Likewise.
47461 (main): Call the new functions.
47462 * sysdeps/i386/fpu/libm-test-ulps: Update.
47463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47464
9568c0c2
JM
47465 [BZ #13884]
47466 [BZ #13924]
47467 * math/e_exp10.c: Include <float.h>.
47468 (__ieee754_exp10): Handle underflow here rather than multiplying
47469 large negative argument by M_LN10.
47470 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
47471 of __ieee754_expf.
47472 * math/e_exp10l.c: Include <float.h>.
47473 (__ieee754_exp10l): Handle underflow here rather than multiplying
47474 large negative argument by M_LN10l.
47475 * math/libm-test.inc (exp10_test): Add another test. Do not allow
47476 spurious overflow exception on underflow.
47477
5ac3ea17
MP
474782012-04-29 Marek Polacek <polacek@redhat.com>
47479
47480 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
47481 (__fortify_function): New macro.
47482 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
47483 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
47484 __extern_always_inline.
47485 * libio/bits/stdio2.h: Likewise.
47486 * libio/bits/stdio.h: Likewise.
47487 * string/string.h: Likewise.
47488 * string/bits/string3.h: Likewise.
47489 * include/stdio.h: Likewise.
47490 * stdlib/bits/stdlib.h: Likewise.
47491 * stdlib/stdlib.h: Likewise.
47492 * rt/bits/mqueue2.h: Likewise.
47493 * rt/mqueue.h: Likewise.
47494 * posix/bits/unistd.h: Likewise.
47495 * posix/unistd.h: Likewise.
47496 * io/bits/poll2.h: Likewise.
47497 * io/bits/fcntl2.h: Likewise.
47498 * io/fcntl.h: Likewise.
47499 * io/sys/poll.h: Likewise.
47500 * misc/bits/syslog.h: Likewise.
47501 * misc/bits/syslog-ldbl.h: Likewise.
47502 * misc/sys/syslog.h: Likewise.
47503 * socket/bits/socket2.h: Likewise.
47504 * socket/sys/socket.h: Likewise.
47505 * debug/tst-chk1.c: Likewise.
47506 * wcsmbs/bits/wchar2.h: Likewise.
47507 * wcsmbs/bits/wchar-ldbl.h: Likewise.
47508 * wcsmbs/wchar.h: Likewise.
47509
ecf0ebfb
AJ
475102012-04-29 Andreas Jaeger <aj@suse.de>
47511
47512 * Makerules (tests): Remove enable-check-abi protection.
47513 (check-abi-warn): Remove.
47514 (check-abi-%): Remove check-abi-warn usage.
47515
47516 * configure.in: Remove check-abi configure option.
47517 * configure: Regenerated.
47518 * config.make.in (enable-check-abi): Remove.
47519
6d5c57fa
AS
475202012-04-28 Andreas Schwab <schwab@linux-m68k.org>
47521
24c5d07e 47522 [BZ #14033]
ded5180a
AS
47523 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
47524 double functions to double *_finite functions.
47525
7e0d315d
AS
47526 [BZ #13941]
47527 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
47528 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
47529 LDBL_MIN_EXP.
47530 * stdio-common/Makefile (tests): Add tst-sprintf3.
47531 * stdio-common/tst-sprintf3.c: New file.
47532
6d5c57fa
AS
47533 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
47534 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
47535
0749ff8b
JM
475362012-04-28 Joseph Myers <joseph@codesourcery.com>
47537
47538 * conform/conformtest.pl: Remove duplicate typed-constant
47539 handling.
47540
8dbd5d7b
DM
475412012-04-28 David S. Miller <davem@davemloft.net>
47542
47543 * Makerules (%.abilist): Add vpath on sysdep_dirs.
47544 (check-abi-%): Remove AWK script prerequisite and explicit
47545 abilist directory.
47546 (check-abi): Rewrite to just diff the symlist with the abilist.
47547 (config-tls, config-abi-config): Delete, no longer used.
47548 (update-abi-%): Remove AWK script and explicit abilist directory.
47549 (update-abi): Rewrite to simply compare and conditionally copy the
47550 symlist and the sysdep abilist file. Remove update-abi-config
47551 checks.
47552 * abilist/ld.abilist: Remove.
47553 * abilist/libBrokenLocale.abilist: Remove.
47554 * abilist/libanl.abilist: Remove.
47555 * abilist/libcrypt.abilist: Remove.
47556 * abilist/libdl.abilist: Remove.
47557 * abilist/librt.abilist: Remove.
47558 * abilist/libthread_db.abilist: Remove.
47559 * abilist/libutil.abilist: Remove.
47560 * scripts/extract-abilist.awk: Remove.
47561 * scripts/merge-abilist.awk: Remove.
47562 * sysdeps/generic/libcidn.abilist: New file.
47563 * sysdeps/generic/libnss_compat.abilist: New file.
47564 * sysdeps/generic/libnss_db.abilist: New file.
47565 * sysdeps/generic/libnss_dns.abilist: New file.
47566 * sysdeps/generic/libnss_files.abilist: New file.
47567 * sysdeps/generic/libnss_hesiod.abilist: New file.
47568 * sysdeps/generic/libnss_nis.abilist: New file.
47569 * sysdeps/generic/libnss_nisplus.abilist: New file.
47570 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
47571 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
47572 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
47573 file.
47574 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
47575 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
47576 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
47577 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
47578 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
47579 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
47580 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
47581 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
47582 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
47583 file.
47584 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
47585 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
47586 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
47587 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
47588 file.
47589 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
47590 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
47591 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
47592 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
47593 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
47594 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
47595 file.
47596 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
47597 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
47598 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
47599 file.
47600 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
47601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
47602 New file.
47603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
47604 New file.
47605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
47606 New file.
47607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
47608 New file.
47609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
47610 New file.
47611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
47612 New file.
47613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
47614 New file.
47615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
47616 New file.
47617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
47618 New file.
47619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
47620 New file.
47621 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
47622 New file.
47623 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
47624 New file.
47625 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
47626 New file.
47627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
47628 file.
47629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47630 New file.
47631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47632 New file.
47633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
47634 file.
47635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47636 New file.
47637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47638 New file.
47639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
47640 file.
47641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47642 New file.
47643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47644 New file.
47645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47646 New file.
47647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47648 New file.
47649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47650 New file.
47651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47652 New file.
47653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
47654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
47655 file.
47656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47657 New file.
47658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
47659 file.
47660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
47661 file.
47662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
47663 file.
47664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
47665 file.
47666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
47667 file.
47668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47669 New file.
47670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
47671 file.
47672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
47673 file.
47674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47675 New file.
47676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
47677 file.
47678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
47679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
47680 file.
47681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47682 New file.
47683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
47684 file.
47685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
47686 file.
47687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
47688 file.
47689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
47690 file.
47691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
47692 file.
47693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47694 New file.
47695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
47696 file.
47697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
47698 file.
47699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47700 New file.
47701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
47702 file.
47703 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47704 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
47705 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
47706 file.
47707 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
47708 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
47709 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
47710 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
47711 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
47712 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
47713 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
47714 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
47715 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
47716 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
47717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
47718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
47719 file.
47720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47721 New file.
47722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
47723 file.
47724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
47725 file.
47726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
47727 file.
47728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
47729 file.
47730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
47731 file.
47732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47733 New file.
47734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47735 New file.
47736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
47737 file.
47738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47739 New file.
47740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
47741 file.
47742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
47743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
47744 file.
47745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47746 New file.
47747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
47748 file.
47749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
47750 file.
47751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
47752 file.
47753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
47754 file.
47755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
47756 file.
47757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47758 New file.
47759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47760 New file.
47761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
47762 file.
47763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47764 New file.
47765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
47766 file.
47767
41d73a1b
JM
477682012-04-28 Joseph Myers <joseph@codesourcery.com>
47769
47770 * conform/conformtest.pl: Fix typo in handling typed-constant from
47771 allow-header.
47772
28aeeda4
JM
477732012-04-27 Joseph Myers <joseph@codesourcery.com>
47774
adae8f5e
JM
47775 * README: Cut down references to pre-2.6 Linux kernels and
47776 Linuxthreads. Update lists of configurations in libc and ports
47777 and sort alphabetically. Say "or newer" with Linux kernel version
47778 requirements.
47779
28aeeda4
JM
47780 * config.h.in [IS_IN_build]: Allow compiling without optimization.
47781
a462cb63
RA
477822012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47783
47784 [BZ #887]
47785 * math/libm-test.inc (logb_test_downward): New test to expose
47786 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
47787 rounding mode.
47788
6ad3493e
JM
477892012-04-27 Joseph Myers <joseph@codesourcery.com>
47790
47791 [BZ #14027]
47792 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
47793 to be done.
47794 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
47795 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
47796
2ce4f015
JM
477972012-04-26 Joseph Myers <joseph@codesourcery.com>
47798
5aeb141a
JM
47799 * sysdeps/unix/i386/brk.S: Remove file.
47800 * sysdeps/unix/i386/dl-brk.S: Likewise.
47801 * sysdeps/unix/i386/pipe.S: Likewise.
47802 * sysdeps/unix/i386/sigreturn.S: Likewise.
47803 * sysdeps/unix/i386/syscall.S: Likewise.
47804 * sysdeps/unix/i386/vfork.S: Likewise.
47805 * sysdeps/unix/i386/wait.S: Likewise.
47806
7143acae
JM
47807 * sysdeps/unix/common/tcsendbrk.c: Move to ...
47808 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
47809
2ce4f015
JM
47810 * configure.in (arm*-none*): Do not allow without
47811 --enable-hacker-mode.
47812 (netbsd*): Remove case setting base_os.
47813 (386bsd*): Likewise.
47814 (freebsd*): Likewise.
47815 (bsdi*): Likewise.
47816 (osf*): Likewise.
47817 (sunos*): Likewise.
47818 (ultrix*): Likewise.
47819 (newsos*): Likewise.
47820 (dynix*): Likewise.
47821 (*bsd*): Likewise.
47822 (sysv*): Likewise.
47823 (isc*): Likewise.
47824 (esix*): Likewise.
47825 (sco*): Likewise.
47826 (minix*): Likewise.
47827 (irix4*): Likewise.
47828 (irix6*): Likewise.
47829 (solaris[2-9]*): Likewise.
47830 (none): Likewise.
47831 * configure: Regenerated.
47832
0ac229c8
AZ
478332012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47834
47835 [BZ #11521]
47836 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
47837 overflow or cancellation in calculating denominator.
47838 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
47839 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
47840 down expression to avoid unexpected rounding in newer GCCs.
47841 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
47842
33f244f4
DM
478432012-04-26 David S. Miller <davem@davemloft.net>
47844
47845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
47846 long-double compat symbols.
47847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
47851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
47853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
47854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
47855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
47856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
47857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
47858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
47859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47860
cfa1f3e8
DM
478612012-04-25 David S. Miller <davem@davemloft.net>
47862
47863 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
47864 HWCAP_* values only after the memory barriers have been defined.
47865 (atomic_full_barrier): Define.
47866 (atomic_read_barrier): Define.
47867 (atomic_write_barrier): Define.
47868
6e236b92
SP
478692012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
47870
47871 * shlib-versions: Add libgcc_s version information.
47872 * sysdeps/generic/libgcc_s.h: Remove.
47873 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
47874 libgcc_s.h.
47875 * sysdeps/gnu/unwind-resume.c: Likewise.
47876 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
47877
aab39a09
DM
478782012-04-25 David S. Miller <davem@davemloft.net>
47879
47880 * sysdeps/unix/sparc/brk.S: Delete.
47881 * sysdeps/unix/sparc/dl-brk.S: Delete.
47882 * sysdeps/unix/sparc/pipe.S: Delete.
47883 * sysdeps/unix/sparc/sysdep.S: Delete.
47884 * sysdeps/unix/sparc/sysdep.h: Delete.
47885 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
47886 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
47887 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
47888 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
47889 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
47890 (JUMPTARGET): Remove.
47891 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
47892 sysdeps/unix/sparc/sysdep.h
47893 (ENTRY, END): Remove.
47894 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47895
a3cc4f48
JM
478962012-04-25 Joseph Myers <joseph@codesourcery.com>
47897
2ed8cda2
JM
47898 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
47899 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
47900 -DIS_IN_build.
47901
35d76d59
JM
47902 * timezone/README: Update upstream location and email address for
47903 tzcode and tzdata.
47904 * timezone/zdump.c: Update from tzcode 2012b.
47905 * timezone/zic.c: Likewise.
47906
a3cc4f48
JM
47907 * configure.in (libc_cv_as_needed): Remove test.
47908 * configure: Regenerated.
47909 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
47910 conditional definition.
47911 [$(have-as-needed) != yes] (no-as-needed): Likewise.
47912 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
47913 * config.make.in (have-as-needed): Remove variable.
47914
ceab42c3
SP
479152012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47916 Paul Pluzhnikov <ppluzhnikov@google.com>
47917
47918 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
47919 strings correctly.
47920
3ce2865f
CLT
479212012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
47922
47923 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
47924 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
47925 * sysdeps/sh/strlen.S: Likewise.
47926
f37e0d68
JM
479272012-04-24 Joseph Myers <joseph@codesourcery.com>
47928
ae186e9a
JM
47929 * sysdeps/unix/fork.S: Remove file.
47930 * sysdeps/unix/i386/fork.S: Likewise.
47931 * sysdeps/unix/sparc/fork.S: Likewise.
47932
b96914af
JM
47933 * sysdeps/unix/system.c: Remove file.
47934 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
47935
f37e0d68
JM
47936 * sysdeps/unix/getegid.S: Remove file.
47937 * sysdeps/unix/geteuid.S: Likewise.
47938
87ef29ca
RM
479392012-04-24 Roland McGrath <roland@hack.frob.com>
47940
83bcd236
RM
47941 * scripts/check-localplt.awk: New file.
47942 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
47943 of diff.
47944 * scripts/data/localplt-generic.data: Add a comment.
47945
87ef29ca
RM
47946 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
47947 NODE when __dir_mkfile failed.
47948 * sysdeps/mach/hurd/symlinkat.c: Likewise.
47949 Reported by Ludovic Courtès <ludo@gnu.org>.
47950
e5a6e567
AJ
479512012-04-24 Andreas Jaeger <aj@suse.de>
47952
47953 * Makerules (common-clean): Also remove gen-as-const-headers
47954 files.
47955
c1820385
JM
479562012-04-24 Joseph Myers <joseph@codesourcery.com>
47957
47958 * Makerules (native-compile): Do not change working directory for
47959 build. Use $(OUTPUT_OPTION) in command.
47960 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
47961
94e02fc4
AZ
479622012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47963
47964 [BZ #13886]
47965 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
47966 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
47967 * math/libm-test.inc (floor_test): Add more tests.
47968 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
47969
3a533ca3
JM
479702012-04-24 Joseph Myers <joseph@codesourcery.com>
47971
940ab4b3
JM
47972 * sysdeps/unix/getdents.c: Remove file.
47973 * sysdeps/unix/sysv/getdents.c: Likewise.
47974 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
47975
90e037bd
JM
47976 * sysdeps/unix/syscalls.list (madvise): Add syscall from
47977 sysdeps/unix/mman/syscalls.list.
47978 (mmap): Likewise.
47979 (mprotect): Likewise.
47980 (msync): Likewise.
47981 (munmap): Likewise.
47982 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
47983 * sysdeps/unix/mman/syscalls.list: Remove.
47984 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
47985
3a533ca3
JM
47986 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
47987 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
47988 * configure: Regenerated.
47989 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
47990 $(libgcc_s_suffix).
47991 * config.make.in (libgcc_s_suffix): Remove variable.
47992
1ad743de
JM
479932012-04-23 Joseph Myers <joseph@codesourcery.com>
47994
4ad451e2
JM
47995 * sysdeps/unix/sysv/gethostname.c: Move to ...
47996 * sysdeps/posix/gethostname.c: ... here.
47997
5e37ce39
JM
47998 * sysdeps/unix/execve.S: Remove file.
47999
1ad743de
JM
48000 * sysdeps/unix/_exit.S: Remove file.
48001
4e681b5b
AJ
480022012-04-23 Andreas Jaeger <aj@suse.de>
48003
48004 [BZ #13739]
48005 * manual/Makefile: Remove make dist support, there's no
48006 need for a stand-alone documentation tar ball.
48007 (TEXI2DVI): Define always, it's not in Makeconfig.
48008 (dist): Removed.
48009 (tar-it): Removed.
48010 (edition): Removed.
48011 (glibc-doc-$(edition).tar): Removed
48012 (%.Z): Removed.
48013 (%.gz): Removed.
48014 (%.uu): Removed.
48015 (ETAGS): Remove, it's in Makeconfig.
48016 (move-if-change): Remove, it's in Makeconfig.
48017
38686a03 480182012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
48019
48020 [BZ #13970]
48021 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48022 (strtod, strtof, strtold, strtol, strtoul, strtoq)
48023 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48024 (strtod_l, strtof_l, strtold_l): Remove __wur.
48025 It is not necessarily an error to ignore strtol's return value.
48026 One can reliably look at the stored endptr to decide whether
48027 the number had valid syntax.
48028
7c0616fa
AJ
480292012-04-21 Andreas Jaeger <aj@suse.de>
48030
803cb6b7 48031 [BZ #13739]
7c0616fa
AJ
48032 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
48033
b0fe253f
JM
480342012-04-21 Joseph Myers <joseph@codesourcery.com>
48035
48036 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
48037 * sysdeps/unix/sysv/Versions: Remove file.
48038
8280f22d
MT
480392012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
48040
48041 [BZ #13927]
48042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48043
75ce411f 480442012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
48045
48046 [BZ #7064]
48047 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
48048 version from __vm86.
48049
097d59fa
JM
480502012-04-20 Joseph Myers <joseph@codesourcery.com>
48051
a90f3bcb
JM
48052 * sysdeps/unix/common/lxstat.c: Remove file.
48053 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
48054
edc7ea78
JM
48055 * sysdeps/unix/sysv/Makefile: Remove file.
48056
cb78c221
JM
48057 * sysdeps/unix/sysv/direct.h: Remove file.
48058
efa6a45f
JM
48059 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
48060 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
48061 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
48062 * sysdeps/unix/sysv/bits/signum.h: Likewise.
48063 * sysdeps/unix/sysv/bits/stat.h: Likewise.
48064 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48065 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
48066
9c9f2d0c
JM
48067 * sysdeps/unix/sysv/setrlimit.c: Remove file.
48068
4541c83b
JM
48069 * sysdeps/unix/xmknod.c: Remove file.
48070 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
48071
f5d153a0
JM
48072 * sysdeps/unix/sysv/settimeofday.c: Remove file.
48073
aa746595
JM
48074 * sysdeps/unix/sysv/i386/time.S: Remove file.
48075
cce5905e
JM
48076 * sysdeps/unix/fxstat.c: Remove file.
48077 * sysdeps/unix/xstat.c: Likewise.
48078 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
48079
37fa3841
JM
48080 * sysdeps/unix/sysv/sigaction.c: Remove file.
48081
ff1962a3
JM
48082 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
48083 (sysdep_headers): Remove variable.
48084 [termio.h not in sysdep_headers] (generated): Likewise.
48085 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48086 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
48087 * sysdeps/unix/sysv/tcdrain.c: Likewise.
48088 * sysdeps/unix/sysv/tcflow.c: Likewise.
48089 * sysdeps/unix/sysv/tcflush.c: Likewise.
48090 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
48091 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
48092 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
48093 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
48094 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
48095
e7740d31
JM
48096 * sysdeps/unix/siglist.c: Remove file.
48097
ee06f18b
JM
48098 * sysdeps/unix/getppid.S: Remove file.
48099
097d59fa
JM
48100 * sysdeps/unix/mkdir.c: Remove file.
48101 * sysdeps/unix/rmdir.c: Likewise.
48102
ff3d51ec
AS
481032012-04-19 Andreas Schwab <schwab@linux-m68k.org>
48104
48105 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
48106 ERR_MAX value.
48107 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
48108 errlist-compat value.
48109
50f81fd7
DM
481102012-04-18 David S. Miller <davem@davemloft.net>
48111
48112 * sysdeps/generic/memcopy.h (reg_char): Delete.
48113 * debug/strcat_chk.c: Use char, not reg_char.
48114 * debug/strcpy_chk.c: Likewise.
48115 * debug/strncat_chk.c: Likewise.
48116 * debug/strncpy_chk.c: Likewise.
48117 * string/memchr.c: Likewise.
48118 * string/memrchr.c: Likewise.
48119 * string/rawmemchr.c: Likewise.
48120 * string/strcat.c: Likewise.
48121 * string/strchr.c: Likewise.
48122 * string/strchrnul.c: Likewise.
48123 * string/strcmp.c: Likewise.
48124 * string/strcpy.c: Likewise.
48125 * string/strncat.c: Likewise.
48126 * string/strncmp.c: Likewise.
48127 * string/strncpy.c: Likewise.
48128
8ff41c46
WS
481292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48130
48131 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48132 __builtin_memcopy is called when src and dest ranges are known to not
48133 overlap.
48134
6b652f46
WS
481352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48136
48137 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
48138 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
48139 fwd_align_merge macro call.
48140 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48141 bwd_align_merge macro call.
48142 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48143
b282631e
WS
481442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48145
48146 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
48147 bwd_align_merge macros.
48148 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
48149 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
48150 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48151
95aa737c
DM
481522012-04-18 David S. Miller <davem@davemloft.net>
48153
48154 * sysdeps/sparc/sparc64/memcopy.h: Delete.
48155
7a99a614
AJ
481562012-04-18 Andreas Jaeger <aj@suse.de>
48157
48158 [BZ# 6794]
48159 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
48160 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
48161 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48162
48163 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
48164 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
48165 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48166
48167 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
48168 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
48169 Adjust for changed ldbl-128 files.
48170
48171 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
48172 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
48173 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48174
e5270c23
DM
481752012-04-17 David S. Miller <davem@davemloft.net>
48176
48177 * sysdeps/sparc/sparc32/memcopy.h: Delete.
48178
fb5e92c9
AS
481792012-04-17 Andreas Schwab <schwab@linux-m68k.org>
48180
48181 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
48182 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
48183 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
48184 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
48185 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48186 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48187
76da7265
AZ
481882012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48189
48190 [BZ #6794]
48191 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48192 * math/libm-test.inc: Add ilogb errno and exception tests.
48193 * math/w_ilogb.c: New file: ilogb wrapper.
48194 * math/w_ilogbf.c: New file: ilogbf wrapper.
48195 * math/w_ilogbl.c: New file: ilogbl wrapper.
48196 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48197 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48198 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48199 exception being thrown with 0.0 as argument.
48200 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48201 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48202 exception being thrown with 0.0 as argument.
48203 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48204 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48205 exception being thrown with 0.0 as argument.
48206 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48207 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48208 exception being thrown with 0.0 as argument.
48209 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48210 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 48211 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
48212 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48213 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48214 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48215 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48216 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48217 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48218
0396e69d
PB
482192012-04-17 Petr Baudis <pasky@ucw.cz>
48220
48221 * include/sys/uio.h: Change __vector to __iovec to avoid clash
48222 with altivec.
48223
750b5926
MP
482242012-04-16 Marek Polacek <polacek@redhat.com>
48225
48226 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48227
751728a1
MP
482282012-04-16 Marek Polacek <polacek@redhat.com>
48229
48230 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48231 operands of fdivp instruction.
48232
34a27407
L
482332012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48234
48235 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48236 * elf/tst-auditmod3b.c: Likewise.
48237 * elf/tst-auditmod4b.c: Likewise.
48238 * elf/tst-auditmod5b.c: Likewise.
48239 * elf/tst-auditmod6b.c: Likewise.
48240 * elf/tst-auditmod6c.c: Likewise.
48241 * elf/tst-auditmod7b.c: Likewise.
48242 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48243 * sysdeps/x86_64/preconfigure.in: Likewise.
48244 * sysdeps/x86_64/preconfigure: Regenerated.
48245
7e73e17d
L
482462012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48247
48248 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48249 __ILP32__.
48250
c7a6ab72
AB
482512012-04-13 Antoine Balestrat <merkil33@gmail.com>
48252
48253 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48254 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48255
a9e8e0e0
CL
482562012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
48257
48258 [BZ #13973]
48259 * locale/iso-639.def: Fix gl language name. Spotted by
48260 Yaron Shahrabani.
48261
ec98af7d
RM
482622012-04-12 Roland McGrath <roland@hack.frob.com>
48263
48264 [BZ #2074]
48265 * libio/libio.h (__io_write_fn): Update comment.
48266
247c3ede
PB
482672012-04-12 Petr Baudis <pasky@ucw.cz>
48268
48269 [BZ #2074]
48270 * stdio.texi (Hook Functions): The user provided writer function
48271 is not allowed to return -1.
48272
55939d6d
DM
482732012-04-11 David S. Miller <davem@davemloft.net>
48274
48275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48276
90020f5a
MF
482772012-04-11 Mike Frysinger <vapier@gentoo.org>
48278
48279 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48280 Add a leading slash to rtkaio.
48281
288f9098
JM
482822012-04-11 Jim Meyering <meyering@redhat.com>
48283
90020f5a
MF
48284 [BZ #11959]
48285 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48286 It is not necessarily an error to ignore fwrite's return
48287 value. One can reliably use ferror to test for errors after
48288 the fact.
288f9098 48289
4be2b570
L
482902012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48291
48292 * bits/types.h (__snseconds_t): New type.
48293 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48294
48295 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48296 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48297 (__SNSECONDS_T_TYPE): Likewise.
48298 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48299 (__SNSECONDS_T_TYPE): Likewise.
48300 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48301 (__SNSECONDS_T_TYPE): Likewise.
48302
288f9098 483032012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
48304
48305 [BZ #2636]
48306 * manual/time.texi (Processor Time): Return type of times is
48307 elapsed real time since an arbitrary point in the past.
48308 (CPU Time): Move CLK_TCK from here...
48309 (Processor Time): ...to here. Correct description.
48310 * manual/conf.texi (Constants for Sysconf): Correct description of
48311 _SC_CLK_TCK.
48312
d7dd4413
DM
483132012-04-10 David S. Miller <davem@davemloft.net>
48314
48315 [BZ #13967]
48316 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48317 where the is a gap between DT_REL(A) and DT_JMPREL.
48318
b46068fc
L
483192012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48320
48321 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48322 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48323 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48324
73d65cc3
SP
483252012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48326
48327 * elf/dl-support.c (_dl_inhibit_cache): New variable.
48328 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48329 (dl_main): Handle --inhibit-cache.
48330 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48331 _dl_inhibit_cache.
48332 * elf/dl-load.c (_dl_map_object): Use it.
48333 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48334
bcc8d661
JM
483352012-04-09 Joseph Myers <joseph@codesourcery.com>
48336
8f9a2fae
JM
48337 [BZ #13872]
48338 * sysdeps/i386/fpu/e_powl.S (p78): New object.
48339 (__ieee754_powl): Saturate large exponents rather than testing for
48340 overflow of y*log2(x).
48341 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48342 * math/libm-test.inc (pow_test): Do not permit spurious overflow
48343 exceptions.
48344
bcc8d661
JM
48345 [BZ #11521]
48346 * math/s_ctan.c: Include <float.h>.
48347 (__ctan): Avoid internal overflow or cancellation in calculating
48348 denominator.
48349 * math/s_ctanf.c: Likewise.
48350 * math/s_ctanl.c: Likewise.
48351 * math/s_ctanh.c: Likewise.
48352 * math/s_ctanhf.c: Likewise.
48353 * math/s_ctanhl.c: Likewise.
48354 * math/libm-test.inc (ctan_test): Add more tests.
48355 (ctanh_test): Likewise.
48356 * sysdeps/i386/fpu/libm-test-ulps: Update.
48357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48358
823fbbb4
AJ
483592012-04-09 Andreas Jaeger <aj@suse.de>
48360
03879793
AJ
48361 [BZ #6894]
48362 * manual/filesys.texi (Directory Entries): Mention that d_namlen
48363 is an optional BSD extension.
48364
823fbbb4
AJ
48365 [BZ #10254]
48366 * manual/stdio.texi (Opening Streams): Document additional fopen
48367 parameters.
48368
8de131cb
RM
483692012-04-09 Roland McGrath <roland@hack.frob.com>
48370
48371 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48372 %eax without telling the compiler.
48373
c0ed9d7d
CD
483742012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
48375
48376 [BZ # 13963]
48377 * manual/install.texi: Use sourceware.org.
48378
c483f6b4
JM
483792012-04-09 Joseph Myers <joseph@codesourcery.com>
48380
d7dd9453
JM
48381 [BZ #13873]
48382 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48383 (__ieee754_pow): Generate overflow and underflow using huge*huge
48384 and tiny*tiny rather than just returning constant infinity or zero
48385 for large exponents.
48386 * math/libm-test.inc (pow_test): Require overflow exceptions for
48387 applicable cases of large exponents.
48388
c483f6b4
JM
48389 [BZ #706]
48390 * sysdeps/i386/fpu/e_pow.S (p10): New object.
48391 (__ieee754_pow): Use iterative multiplication algorithm only for
48392 integer exponents with absolute value below 1024. Check for odd
48393 integer exponents when using algorithm for real exponents.
48394 * math/libm-test.inc (pow_test): Add more tests.
48395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48396
d2de7579
JM
483972012-04-08 Joseph Myers <joseph@codesourcery.com>
48398
48399 [BZ #13705]
48400 * math/libm-test.inc (exp_test): Do not allow overflow exception
48401 on underflow test.
48402
f77f1232
AJ
484032012-04-08 Aurelien Jarno <aurelien@aurel32.net>
48404
48405 [BZ #13705]
48406 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48407 instead of __kernel_standard_f.
48408
3884932b
MF
484092012-04-08 Mike Frysinger <vapier@gentoo.org>
48410
48411 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48412 * sysdeps/x86_64/memset_chk.S: Likewise.
48413
54472e9c
AJ
484142012-04-08 Andreas Jaeger <aj@suse.de>
48415
6ab0fbfc
AJ
48416 [BZ #10153]
48417 * manual/startup.texi (Environment Access): Describe return value
48418 for putenv and setenv.
48419
61efba8c
AJ
48420 [BZ #6895]
48421 * manual/filesys.texi (Directory Entries): Add description for
48422 DT_LNK.
48423
95c3f29a
AJ
48424 [BZ #6890]
48425 * manual/filesys.texi (Directory Entries): Clarify that it's file
48426 system not operating system in the description of DT_UNKNOWN.
48427
54472e9c
AJ
48428 [BZ #6578]
48429 * manual/syslog.texi (closelog): Fix reference, it's openlog.
48430
624254b1
SC
484312012-04-08 Stephen Compall <s11@member.fsf.org>
48432
48433 [BZ #6649]
48434 * manual/llio.texi (Opening and Closing Files): Add cross
48435 reference to explain mode argument.
48436
1e4920e0
MF
484372012-04-07 Mike Frysinger <vapier@gentoo.org>
48438
48439 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
48440 * sysdeps/x86_64/memset_chk.S: Likewise.
48441
5ed848f3
DM
484422012-04-07 David S. Miller <davem@davemloft.net>
48443
48444 * elf/elf.h (R_SPARC_WDISP10): Define.
48445 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
48446 R_SPARC_SIZE32.
48447 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
48448 R_SPARC_SIZE64 and R_SPARC_H34.
48449
96154cd8
CD
484502012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
48451
48452 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
48453 conditions and remove no longer applicable assertion.
48454
9904dc47
L
484552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48456
48457 * bits/byteswap.h: Include <features.h>.
48458 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48459 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48460
f8887d0a
L
484612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48462
48463 * bits/byteswap.h (__bswap_16): Removed.
48464 Include <bits/byteswap-16.h> to get __bswap_16.
48465 * sysdeps/i386/bits/byteswap.h: Likewise.
48466 * sysdeps/s390/bits/byteswap.h: Likewise.
48467 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48468 * bits/byteswap-16.h: New file.
48469 * sysdeps/i386/bits/byteswap-16.h: Likewise.
48470 * sysdeps/s390/bits/byteswap-16.h: Likewise.
48471 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
48472 * string/Makefile (headers): Add bits/byteswap-16.h.
48473
62470f60
PP
484742012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48475
48476 [BZ #13895]
48477 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
48478 extra indirection.
48479 * nss/Makefile (tests-static, tests): Add tst-nss-static.
48480 * nss/tst-nss-static.c: New.
48481
4dad7bab
RM
484822012-04-06 Robert Millan <rmh@gnu.org>
48483
48484 [BZ #6486]
48485 * manual/llio.texi (File Position Primitive): lseek
48486 refers to WHENCE when it really means OFFSET.
48487
e9142a17
AJ
484882012-04-06 Andreas Jaeger <aj@suse.de>
48489
2c040eff
AJ
48490 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
48491 strncmp declarations.
48492
e9142a17
AJ
48493 * abilist/libc.abilist: Add __poll and __ppoll.
48494
ff9f1c5f
DM
484952012-04-05 David S. Miller <davem@davemloft.net>
48496
dcd2ae90
DM
48497 * scripts/check-local-headers.sh: Accept a host triplet in the
48498 path matched by the exclude regexp.
48499
993eb054
DM
48500 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
48501 definition.
48502 * sysdeps/powerpc/powerpc32/dl-machine.h
48503 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
48504 * sysdeps/s390/s390-32/dl-machine.h
48505 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48506 * sysdeps/sparc/sparc32/dl-machine.h
48507 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48508 * sysdeps/sparc/sparc64/dl-machine.h
48509 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48510
ff9f1c5f
DM
48511 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
48512 lazy binding.
48e2e132 48513 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
48514 undefined symbol errors.
48515
48e2e132 48516 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
48517 DT_NEEDED entries.
48518
e80d6f94
MM
485192012-04-05 Michael Matz <matz@suse.de>
48520
48521 [BZ #13592]
48522 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
48523
349fa79f
AJ
485242012-04-05 Andreas Jaeger <aj@suse.de>
48525
48526 [BZ #13908]
48527 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
48528 comment.
48529
f402708f
KK
485302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48531
48532 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
48533 which ROUND is no valid rounding mode.
48534
2ecccfc9
KK
485352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48536
48537 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
48538 read again.
48539 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
48540
8a53f50f
KK
485412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48542
48543 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
48544 an exception using FPU order intentionally.
48545
485462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48547
48548 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
48549 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
48550 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
48551 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
48552
d653abb7
SJ
485532012-04-05 Simon Josefsson <simon@josefsson.org>
48554
48555 [BZ #12340]
48556 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
48557 EINVAL when BUFLEN is too smal.
48558
c3b1bf7d
TS
485592012-04-05 Thomas Schwinge <thomas@codesourcery.com>
48560
48561 [BZ #13553]
48562 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
48563 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
48564
b1aa60f3
AJ
485652012-04-03 Andreas Jaeger <aj@suse.de>
48566
c3b1bf7d 48567 [BZ #13938]
67f60a26
AJ
48568 * manual/setjmp.texi (System V contexts): Fix sentence.
48569
b1aa60f3
AJ
48570 [BZ #13926]
48571 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
48572 New macro for this case.
48573 [!__GNUC__] (__bswap_64): New inline function for this case.
48574 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48575 * bits/byteswap.h: Likewise.
48576 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
48577 ull, guard with __GLIBC_HAVE_LONG_LONG.
48578
48579 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
48580 __GLIBC_HAVE_LONG_LONG.
48581
48582 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
48583 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
48584
39c59c35
TMQMF
485852012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48586
48587 [BZ #13691]
48588 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
48589 inptr and inend, rather than using last_ch.
48590
135ffda8
DM
485912012-04-02 David S. Miller <davem@davemloft.net>
48592
48593 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
48594 * stdio-common/printf-parse.h (read_int): Change return type to
48595 'int', return -1 on INT_MAX overflow.
48596 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
48597 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
48598 overflows INT_MAX. Check for overflow of in-format-string precision
48599 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
48600 SIZE_MAX not INT_MAX for integer overflow test.
48601 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
48602 skip the construct in the format string but do not record anything.
48603 * stdio-common/bug22.c: Adjust to test both width/prevision
48604 INT_MAX overflow as well as total length INT_MAX overflow. Check
48605 explicitly for proper errno values.
48606
228c019e
TS
486072012-04-02 Thomas Schwinge <thomas@codesourcery.com>
48608
302cadd3
TS
48609 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
48610 CHAR_MAX.
48611 * string/test-strcmp.c [! WIDE]: Likewise.
48612 * time/tst-mktime2.c: Likewise for INT_MAX.
48613 * string/test-string.h: #include <sys/param.h> for MIN.
48614
228c019e
TS
48615 * csu/init-first.c (__libc_init_first): Call __ctype_init.
48616 * sysdeps/i386/init-first.c (init): Likewise.
48617 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
48618 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
48619 * sysdeps/sh/init-first.c (init): Likewise.
48620
cfa633f5
UD
486212012-04-01 Ulrich Drepper <drepper@gmail.com>
48622
48623 * po/ru.po: Update from translation team.
d1635ef8 48624 * po/vi.po: Likewise.
cfa633f5 48625
6cd0a5ea
SP
486262012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
48627
48628 * resolv/nss_dns/dns-host.c: Merge copyright years.
48629
4b43400f
LD
486302012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48631
48632 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48633 Optimize memcpy with prefetch if
48634 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
48635 src, dst pointers have unequal 16 byte alignments.
48636
48c41d04
SP
486372012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
48638
48639 [BZ #13928]
48640 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
48641 from a CNAME entry and return the minimum ttl for the query.
48642 (gaih_getanswer_slice): Likewise.
48643
b8dc394d
JL
486442012-03-30 Jeff Law <law@redhat.com>
48645
48646 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
48647 due to long keys.
48648 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
48649 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
48650
2f5a5ed0
JL
48651 * resolv/nss_dns/dns-host.c: Update copyright year.
48652
1d39e359
UD
486532012-03-30 Ulrich Drepper <drepper@gmail.com>
48654
c030f70c 48655 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 48656 requests to save a system call. Fix check that all bytes are sent.
c030f70c 48657
1d39e359
UD
48658 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
48659 comments for sendmmsg.
48660
486612012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
48662
48663 [BZ #13691]
48664 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
48665 with only 1 character between 0x0041 and 0x01b0.
48666 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
48667 * wcsmbs/tst-mbsnrtowcs.c: New file.
48668
20fde227
DM
486692012-03-29 David S. Miller <davem@davemloft.net>
48670
48671 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
48672 small copies by hand.
48673
984a4237
JL
486742012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48675
48676 [BZ #13761]
57f41c40
AS
48677 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
48678 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
48679 group memberships.
984a4237 48680
18c9d62b
DM
486812012-03-28 David S. Miller <davem@davemloft.net>
48682
88d85d4f
DM
48683 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
48684 that branches into memcpy.
48685 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48686 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
48687 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48688 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
48689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
48690 bits.
48691 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
48692 implementation too.
48693 * sysdeps/sparc/mempcpy.S: New file.
48694
e5aa83e1
DM
48695 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
48696 the IFUNC routine in the libc case.
48697 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48698
88570753
DM
48699 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
48700 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
48701 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
48702 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
48703 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
48704 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
48705 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
48706 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
48707
249d7567
DM
48708 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
48709 loop to 256 bytes instead of 64 bytes and fix test signedness.
48710
18c9d62b
DM
48711 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
48712 * sysdeps/sparc/sparc32/Makefile: rather than here...
48713 * sysdeps/sparc/sparc64/Makefile: and here.
48714
05f3d1f6
UD
487152012-03-28 Ulrich Drepper <drepper@gmail.com>
48716
48717 * malloc/mallocbug.c: Avoid warnings about unused variables.
48718
86ae07a8
JL
487192012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
48720
48721 [BZ #13760]
48722 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
48723 in the right place. Discard and retry query if response is
48724 larger than input buffer size.
48725
41bf21a1
JM
487262012-03-28 Joseph Myers <joseph@codesourcery.com>
48727
d6270972
JM
48728 [BZ #369]
48729 [BZ #2678]
48730 [BZ #3866]
48731 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
48732 x for large integer exponent.
48733 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48734 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
48735 sign of result as needed afterwards.
48736 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48737 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
48738 result for underflowing pow the same as for overflow.
48739 (__kernel_standard_l): Handle powl overflow and underflow here
48740 rather than calling __kernel_standard.
48741 * math/libm-test.inc (pow_test): Add more tests.
48742
414fca03 48743 [BZ #3868]
41bf21a1
JM
48744 [BZ #13879]
48745 [BZ #13910]
48746 [BZ #13911]
48747 [BZ #13912]
48748 [BZ #13913]
48749 [BZ #13915]
48750 [BZ #13916]
48751 [BZ #13917]
48752 [BZ #13918]
48753 [BZ #13919]
48754 [BZ #13920]
48755 [BZ #13921]
48756 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
48757 * sysdeps/ieee754/k_standard.c: Include <float.h>.
48758 (__kernel_standard_l): New function.
48759 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
48760 __kernel_standard.
48761 * math/w_acosl.c (__acosl): Likewise.
48762 * math/w_asinl.c (__asinl): Likewise.
48763 * math/w_atan2l.c (__atan2l): Likewise.
48764 * math/w_atanhl.c (__atanhl): Likewise.
48765 * math/w_coshl.c (__coshl): Likewise.
48766 * math/w_exp10l.c (__exp10l): Likewise.
48767 * math/w_exp2l.c (__exp2l): Likewise.
48768 * math/w_fmodl.c (__fmodl): Likewise.
48769 * math/w_hypotl.c (__hypotl): Likewise.
48770 * math/w_j0l.c (__j0l, __y0l): Likewise.
48771 * math/w_j1l.c (__j1l, __y1l): Likewise.
48772 * math/w_jnl.c (__jnl, __ynl): Likewise.
48773 * math/w_lgammal.c (__lgammal): Likewise.
48774 * math/w_log10l.c (__log10l): Likewise.
48775 * math/w_log2l.c (__log2l): Likewise.
48776 * math/w_logl.c (__logl): Likewise.
48777 * math/w_powl.c (__powl): Likewise.
48778 * math/w_remainderl.c (__remainderl): Likewise.
48779 * math/w_scalbl.c (sysv_scalbl): Likewise.
48780 * math/w_sinhl.c (__sinhl): Likewise.
48781 * math/w_sqrtl.c (__sqrtl): Likewise.
48782 * math/w_tgammal.c (__tgammal): Likewise.
48783 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
48784 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
48785 * math/libm-test.inc (acos_test): Add more tests.
48786 (acosh_test): Likewise.
48787 (asin_test): Likewise.
48788 (atanh_test): Likewise.
48789 (exp_test): Likewise.
48790 (exp10_test): Likewise.
48791 (exp2_test): Likewise.
48792 (expm1_test): Likewise.
48793 (lgamma_test): Likewise.
48794 (log_test): Likewise.
48795 (log10_test): Likewise.
48796 (log1p_test): Likewise.
48797 (log2_test): Likewise.
48798 (pow_test): Do not allow some spurious overflow exceptions.
48799 (sqrt_test): Add more tests.
48800 (tgamma_test): Likewise.
48801 (y0_test): Likewise.
48802 (y1_test): Likewise.
48803 (yn_test): Likewise.
48804
dd62fda6
AB
488052012-03-27 Anton Blanchard <anton@samba.org>
48806
48807 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
48808 MAP_HUGETLB.
48809 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48810 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48811 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48812
1e3cdfda
AJ
488132012-03-27 David S. Miller <davem@davemloft.net>
48814
b855ab85
DM
48815 * conform/Makefile: Run run-conformtest.sh using $(BASH).
48816
1e3cdfda
AJ
48817 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
48818 have-as-vis3 check.
48819
488202012-03-27 Andreas Jaeger <aj@suse.de>
48821
48822 * sysdeps/x86_64/elf/configure.in: Moved to ...
48823 * sysdeps/x86_64/configure.in: ... here.
48824 * sysdeps/x86_64/elf/start.S: Moved to ...
48825 * sysdeps/x86_64/start.S: ... here.
48826 * sysdeps/x86_64/elf/configure: Delete.
48827
48828 * sysdeps/x86_64/configure.in: Merge contents from
48829 sysdeps/i386/configure.in (without i686 check).
48830
48831 * sysdeps/i386/elf/Versions: Merge into ...
48832 * sysdeps/i386/Versions: ... this.
48833 * sysdeps/i386/elf/Versions: Delete file.
48834 * sysdeps/i386/elf/start.S: Moved to ...
48835 * sysdeps/i386/start.S: ...here.
48836 * sysdeps/i386/elf/configure.in: Merge into...
48837 * sysdeps/i386/configure.in: ...here.
48838 * sysdeps/i386/elf/configure.in: Delete file.
48839 * sysdeps/i386/elf/configure: Delete file.
48840
48841 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
48842 * debug/backtracesyms.c: ... here.
48843 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
48844 * debug/backtracesymsfd.c: ... here.
48845 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
48846 * sysdeps/generic/ifunc-sel.h: ... here.
48847
48848 * sysdeps/unix/i386/start.c: Delete file.
48849 * sysdeps/unix/sparc/start.c: Delete file.
48850 * sysdeps/unix/start.c: Delete file.
48851
48852 * sysdeps/sh/elf/configure.in: Moved to ...
48853 * sysdeps/sh/configure.in: ... here.
48854 * sysdeps/sh/elf/start.S: Moved to ...
48855 * sysdeps/sh/start.S: ... here.
48856 * sysdeps/sh/elf/configure: Delete file.
48857
48858 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
48859 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
48860 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
48861 * sysdeps/powerpc/powerpc64/entry.h: ... here.
48862 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
48863 * sysdeps/powerpc/powerpc64/start.S: here.
48864 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
48865 * sysdeps/powerpc/powerpc64/Makefile: ... this.
48866 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
48867 * sysdeps/powerpc/powerpc64/configure.in: ... this.
48868 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
48869
48870 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
48871 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
48872 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
48873 * sysdeps/powerpc/powerpc32/start.S: ... here.
48874 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
48875 * sysdeps/powerpc/powerpc32/configure.in: ... this.
48876 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
48877
48878 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
48879 * sysdeps/powerpc/ifunc-sel.h: ... here.
48880 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
48881 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
48882
48883 * sysdeps/sparc/elf/configure.in: Moved to ...
48884 * sysdeps/sparc/configure.in: ... here.
48885 * sysdeps/sparc/elf/configure: Delete file.
48886 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
48887 * sysdeps/sparc/sparc32/start.S: ... here.
48888 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
48889 * sysdeps/sparc/sparc64/start.S: ... here.
48890 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
48891 * sysdeps/sparc/sparc32/Makefile: ... this.
48892 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
48893 * sysdeps/sparc/sparc64/Makefile: ... this.
48894
48895 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
48896 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
48897 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
48898 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
48899 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
48900 * sysdeps/s390/s390-32/setjmp.S: ... here.
48901 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
48902 * sysdeps/s390/s390-32/configure.in: ... here.
48903 * sysdeps/s390/s390-32/elf/configure: Delete file.
48904 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
48905 * sysdeps/s390/s390-32/start.S: ... here.
48906
48907 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
48908 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
48909 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
48910 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
48911 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
48912 * sysdeps/s390/s390-64/setjmp.S: ... here.
48913 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
48914 * sysdeps/s390/s390-64/configure.in: ... here
48915 * sysdeps/s390/s390-64/elf/configure: Delete file.
48916 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
48917 * sysdeps/s390/s390-64/start.S: ... here.
48918 * sysdeps/s390/s390-64/elf/configure: Delete.
48919
48920 * configure.in: Remove support for elf directories in sysdeps.
48921
48922 * configure: Regenerated.
48923 * sysdeps/i386/configure: Regenerated.
48924 * sysdeps/powerpc/powerpc32/configure: Regenerated.
48925 * sysdeps/powerpc/powerpc64/configure: Regenerated.
48926 * sysdeps/s390/s390-32/configure: Regenerated.
48927 * sysdeps/s390/s390-64/configure: Regenerated.
48928 * sysdeps/sh/configure: Regenerated.
48929 * sysdeps/sparc/configure: Regenerated.
48930 * sysdeps/x86_64/configure: Regenerated.
48931
a3f61311
AS
489322012-03-26 Andreas Schwab <schwab@linux-m68k.org>
48933
c876e002
AS
48934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48935
a3f61311
AS
48936 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
48937 denormal result into account.
48938
ac4c54f0
RM
489392012-03-25 Roland McGrath <roland@hack.frob.com>
48940
48941 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
48942 Reported by Allan McRae <allan@archlinux.org>.
48943
6a9b9c02
JL
489442012-03-23 Jeff Law <law@redhat.com>
48945
48946 * nss/getnssent.c (__nss_getent): Fix typo.
48947
4c42a0c1
DM
489482012-03-23 David S. Miller <davem@davemloft.net>
48949
48950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48951
1532c7ac
L
489522012-03-23 H.J. Lu <hongjiu.lu@intel.com>
48953
48954 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
48955 to pad to uint64_t for each field.
48956 (dl_tls_index): Replace unsigned long with uint64_t.
48957
3ff42526
PP
489582012-03-23 Daniel Jacobowitz <dmj@google.com>
48959 Paul Pluzhnikov <ppluzhnikov@google.com>
48960
48961 [BZ #6528]
48962 * grp/Makefile (otherlibs): Don't set it.
48963 * inet/Makefile (otherlibs): Likewise.
48964 * login/Makefile (otherlibs): Likewise.
48965 * nscd/Makefile (otherlibs): Likewise.
48966 * posix/Makefile (otherlibs): Likewise.
48967 * pwd/Makefile (otherlibs): Likewise.
48968 * rt/Makefile (otherlibs): Likewise.
48969 * sunrpc/Makefile (otherlibs): Likewise.
48970 * nss/Makefile (otherlibs): Likewise.
48971 Add libnss_files to routines and static-only-routines.
48972 ($(objpfx)getent): Remove rule.
48973 * resolv/Makefile: Add libnss_dns and libresolv to routines and
48974 static-only-routines.
48975
7c69cd14
JM
489762012-03-22 Joseph Myers <joseph@codesourcery.com>
48977
48978 [BZ #13892]
48979 * math/s_cexp.c: Include <float.h>.
48980 (__cexp): Handle exp result overflowing not necessarily
48981 overflowing both real and imaginary parts of result.
48982 * math/s_cexpf.c: Likewise.
48983 * math/s_cexpl.c: Likewise.
48984 * math/libm-test.inc (cexp_test): Add more tests.
48985 * sysdeps/i386/fpu/libm-test-ulps: Update.
48986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48987
81b035fe
L
489882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48989
48990 * include/link.h (ELFW): New macro.
48991 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
48992 Replace ELF64_R_TYPE with ELFW(R_TYPE).
48993
1da7940c
L
489942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
48995
48996 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
48997 with uint64_t.
48998
b749dbb9
L
489992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49000
49001 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49002 declaration.
49003 (struct La_x32_retval): Likewise.
49004
2ff87f3f
L
490052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49006
49007 * sysdeps/x86_64/preconfigure.in: New file.
49008 * sysdeps/x86_64/preconfigure: New generated file.
49009
c0df8e69
JM
490102012-03-22 Joseph Myers <joseph@codesourcery.com>
49011
48e44791
JM
49012 [BZ #13824]
49013 * math/e_exp2l.c: Include <float.h>.
49014 (__ieee754_exp2l): Handle overflow and underflow cases
49015 separately. Only pass fractional part of argument to
49016 __ieee754_expl.
49017 * math/libm-test.inc (exp2_test): Add more tests.
49018
c0df8e69
JM
49019 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49020 negating x to take absolute value.
49021 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49022 Likewise.
49023 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49024 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49025 Likewise.
49026 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49027 computing low part if x was negated.
49028 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49029
c8e43ba7
L
490302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49031
49032 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
49033 la_x32_gnu_pltexit.
49034 (pltexit): Cast int_retval to ptrdiff_t.
49035 * elf/tst-auditmod3b.c: Likewise.
49036 * elf/tst-auditmod4b.c: Likewise.
49037 * elf/tst-auditmod5b.c: Likewise.
49038 * elf/tst-auditmod6b.c: Likewise.
49039 * elf/tst-auditmod6c.c: Likewise.
49040 * elf/tst-auditmod7b.c: Likewise.
49041
49042 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
49043 and x32_gnu_pltexit.
49044
49045 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
49046 __ELF_NATIVE_CLASS.
49047 (La_x32_regs): New macro.
49048 (La_x32_retval): Likewise.
49049 (la_x32_gnu_pltenter): New function prototype.
49050 (la_x32_gnu_pltexit): Likewise.
49051
7998fa78
AS
490522012-03-21 Andreas Schwab <schwab@linux-m68k.org>
49053
dcb33988
AS
49054 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
49055 exponent.
49056
233fc563
AS
49057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49058
7998fa78
AS
49059 * configure.in (libc_cv_cc_nofma): Check for option to disable
49060 generation of FMA instructions.
49061 * configure: Regenerate.
49062 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
49063 * sysdeps/ieee754/dbl-64/Makefile: New file.
49064 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
49065 Remove brandred-fma4.
49066 (CFLAGS-brandred-fma4.c): Remove.
49067 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
49068 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
49069 define.
49070 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
49071 define.
49072
8e95c99a
L
490732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49074
49075 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49076 LLONG_MAX != LONG_MAX.
49077 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49078 (_fitoa_word): Likewise.
49079 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
49080 LLONG_MAX != LONG_MAX.
49081 * stdio-common/_itowa.h: Include <_itoa.h>.
49082 (_itowa_word): Use _ITOA_WORD_TYPE on value.
49083 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
49084 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
49085 only if not defined.
49086 (_ITOA_WORD_TYPE): Likewise.
49087 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49088 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
49089
6f4db457
DM
490902012-03-21 David S. Miller <davem@davemloft.net>
49091
49092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49093
7785fe5a
L
490942012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49095
49096 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
49097 of x86_64 when setting libc_cv_slibdir, libdir and
49098 libc_cv_localedir.
49099 * sysdeps/unix/sysv/linux/configure: Regenerated.
49100
4535cd55
JM
491012012-03-21 Joseph Myers <joseph@codesourcery.com>
49102
49103 * manual/lang.texi (Old Varargs): Remove section.
49104 (How Variadic): Update menu.
49105 (va_start): Do not mention varargs.h.
49106
17228132
TS
491072012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49108 Joseph Myers <joseph@codesourcery.com>
49109
49110 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
49111 link test.
49112 * configure: Regenerated.
49113
8149f976
TS
491142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49115
05f3d1f6
UD
49116 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
49117 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
49118 conformtest.pl
8149f976 49119
1a4ac776
JM
491202012-03-21 Joseph Myers <joseph@codesourcery.com>
49121
be22ce65
JM
49122 * NOTES: Remove.
49123 * Makefile (files-for-dist): Remove NOTES.
49124 (NOTES): Remove rule.
49125 * README: Don't refer to NOTES.
49126 * manual/creature.texi: Don't include macros.texi.
49127 * manual/intro.texi (creature.texi): Remove comment referring to
49128 NOTES.
49129
40b601fb
JM
49130 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49131 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49132 * configure: Regenerated.
49133 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49134 LIBC_TRY_CC_OPTION.
49135 (libc_cv_as_i686): Likewise.
49136 (libc_cv_cc_avx): Likewise.
49137 (libc_cv_cc_sse2avx): Likewise.
49138 (libc_cv_cc_fma4): Likewise.
49139 (libc_cv_cc_novzeroupper): Likewise.
49140 * sysdeps/i386/configure: Regenerated.
49141
1a4ac776
JM
49142 [BZ #13883]
49143 * sysdeps/i386/fpu/s_cexp.S: Remove.
49144 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49145 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49146 * math/libm-test.inc (cexp_test): Add more tests.
49147 * sysdeps/i386/fpu/libm-test-ulps: Update.
49148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49149
a458e7fe
AM
491502012-03-21 Allan McRae <allan@archlinux.org>
49151
49152 * timezone/Makefile: Do not install iso3166.tab and zone.tab
49153
0cb7efc5
JM
491542012-03-21 Joseph Myers <joseph@codesourcery.com>
49155
49156 [BZ #13871]
49157 * math/w_exp2.c: Do not include <float.h>.
49158 (o_threshold, u_threshold): Remove.
49159 (__exp2): Calculate result before checking finiteness and calling
49160 __kernel_standard.
49161 * math/w_exp2f.c: Likewise.
49162 * math/w_exp2l.c: Likewise.
49163 * math/libm-test.inc (exp2_test): Require overflow exception for
49164 1e6 input.
2460d3aa
JM
49165
49166 [BZ #3866]
49167 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
49168 range of signed 64-bit integers before using fistpll. Remove
49169 checks for whether integers fit in mantissa bits.
49170 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
49171 the range of signed 32-bit integers before using fistpl. Remove
49172 checks for whether integers fit in mantissa bits.
49173 * sysdeps/i386/fpu/e_powl.S (p64): New object.
49174 (__ieee754_powl): Test for y outside the range of signed 64-bit
49175 integers before using fistpll. Reduce 64-bit values to 63-bit
49176 ones as needed.
49177 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
49178 divide-by-zero is raised for zero to large negative powers.
49179 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
49180 (__ieee754_powl): Test for y outside the range of signed 64-bit
49181 integers before using fistpll. Reduce 64-bit values to 63-bit
49182 ones as needed.
49183 * math/libm-test.inc (pow_test): Add more tests.
49184
eb96ffb0
L
491852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49186
49187 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49188 <stdio-common/_itoa.h>.
49189 * debug/segfault.c: Likewise.
49190 * elf/dl-cache.c: Likewise.
49191 * elf/dl-minimal.c: Likewise.
49192 * elf/dl-misc.c: Likewise.
49193 * elf/dl-sysdep.c: Likewise.
49194 * elf/dl-version.c: Likewise.
49195 * elf/rtld.c: Likewise.
49196 * hurd/hurdsock.c: Likewise.
49197 * hurd/lookup-retry.c: Likewise.
49198 * malloc/malloc.c: Likewise.
49199 * malloc/mtrace.c: Likewise.
49200 * nscd/nscd_getgr_r.c: Likewise.
49201 * nscd/nscd_getpw_r.c: Likewise.
49202 * nscd/nscd_getserv_r.c: Likewise.
49203 * posix/getopt_init.c: Likewise.
49204 * posix/wordexp.c: Likewise.
49205 * stdio-common/_itoa.c: Likewise.
49206 * stdio-common/printf_fphex.c: Likewise.
49207 * stdio-common/vfprintf.c: Likewise.
49208 * string/_strerror.c: Likewise.
49209 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49210 * sysdeps/i386/i686/hp-timing.h: Likewise.
49211 * sysdeps/mach/_strerror.c: Likewise.
49212 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49213 * sysdeps/mach/hurd/sethostid.c: Likewise.
49214 * sysdeps/mach/hurd/xmknodat.c: Likewise.
49215 * sysdeps/mach/xpg-strerror.c: Likewise.
49216 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49217 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49218 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49219 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49220 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49221 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49222 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49223 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49224 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49225 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49226 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49227 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49228 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49229 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49230 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49231 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49232 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49233 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49234 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49235 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49236 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49237
49238 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49239
49240 * stdio-common/_itoa.h: Moved to ...
49241 * sysdeps/generic/_itoa.h: Here.
49242
49243 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49244
49245 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49246 instead of "_itoa.h" and "_itowa.h".
49247 * stdio-common/vfprintf.: Likewise.
49248
d1af992d
L
492492012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49250
49251 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49252 <bits/wordsize.h>.
49253 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49254 (__signbit): Likwise.
49255 (llrintf): Likwise.
49256 (llrint): Likwise.
49257
114883e0
L
492582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49259
49260 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49261 __WORDSIZE != 64.
49262
c135cc1b
JM
492632012-03-20 Joseph Myers <joseph@codesourcery.com>
49264
49265 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49266 OVERFLOW_EXCEPTION_OK.
49267 * math/libm-test.inc ("Philosophy"): Update comment about
49268 exception testing.
49269 (OVERFLOW_EXCEPTION): Define.
49270 (OVERFLOW_EXCEPTION_OK): Likewise.
49271 (INVALID_EXCEPTION_OK): Renumber.
49272 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49273 (IGNORE_ZERO_INF_SIGN): Likewise.
49274 (test_exceptions): Handle FE_OVERFLOW.
49275 (exp10_test): Expect overflow exceptions.
49276 (exp2_test): Likewise.
49277 (expm1_test): Likewise.
49278 (nextafter_test): Likewise.
49279 (pow_test): Likewise.
49280 (scalbn_test): Likewise.
49281 (scalbln_test): Likewise.
49282
95443d88
L
492832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49284
49285 * sysdeps/x86_64/bits/atomic.h
49286 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49287 64bit integer.
49288 (atomic_exchange_acq): Likewise.
49289 (__arch_exchange_and_add_body): Likewise.
49290 (__arch_add_body): Likewise.
49291 (atomic_add_negative): Likewise.
49292 (atomic_add_zero): Likewise.
49293
490df6c4
L
492942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49295
c2722551 49296 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
49297 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49298
5e52b189
L
492992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49300
49301 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49302 Check __x86_64__ instead of __WORDSIZE.
49303
a9879d4c
L
493042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49305
49306 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49307
5df98260
DM
493082012-03-19 David S. Miller <davem@davemloft.net>
49309
e1497744
DM
49310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49311
5df98260
DM
49312 * sysdeps/sparc/fpu/fenv_private.h: New file.
49313 * sysdeps/sparc/fpu/math_private.h: Use it.
49314 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49315 Remove.
57f41c40 49316 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
49317 (libc_feholdexcept_setroundl): Remove.
49318 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49319 Remove.
49320 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49321 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49322
b4c35121
L
493232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49324
49325 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49326 int64_t instead of long int.
49327 (INSERT_WORDS64): Likwise.
49328
56965fd7
L
493292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49330
49331 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49332 _Unwind_GetCFA return to _Unwind_Ptr first.
49333
83d1aec8
JM
493342012-03-19 Joseph Myers <joseph@codesourcery.com>
49335
1897ad44
JM
49336 [BZ #13629]
49337 * math/s_clog.c: Include <float.h>.
49338 (__clog): Scale large or subnormal inputs.
49339 * math/s_clogf.c: Likewise.
49340 * math/s_clogl.c: Likewise.
49341 * math/s_clog10.c: Include <float.h>.
49342 (M_LOG10_2): Define.
49343 (__clog10): Scale large or subnormal inputs.
49344 * math/s_clog10f.c: Likewise.
49345 * math/s_clog10l.c: Likewise.
49346 * math/libm-test.inc (clog_test): Add more tests.
49347 (clog10_test): Likewise.
49348 * sysdeps/i386/fpu/libm-test-ulps: Update.
49349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49350
7726d6a9
JM
49351 [BZ #11451]
49352 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49353 x and y.
49354 * math/libm-test.inc (atan2_test): Add another test.
49355
83d1aec8
JM
49356 * Makerules (common-objdir-compile): Remove.
49357 * sysdeps/unix/Makefile (config-generated): Do not add
49358 $(unix-generated) to variable.
49359 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49360 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49361 Remove rule.
49362 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49363 Likewise.
49364 [generic bits/local_lim.h] (before-compile): Do not append to
49365 variable.
49366 [generic bits/local_lim.h] (common-generated): Likewise.
49367 [generic sys/param.h] (before-compile): Do not append to variable.
49368 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49369 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49370 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49371 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49372 include.
49373 [generic sys/param.h] (sys/param.h-includes): Remove variable.
49374 [generic sys/param.h] (sys/param.h-includes): Remove rule.
49375 [generic sys/param.h] ($(addprefix
49376 $(common-objpfx),$(sys/param.h-includes))): Likewise.
49377 [generic sys/param.h] (common-generated): Do not append to
49378 variable.
49379 [generic sys/param.h] (sysdep_headers): Likewise.
49380 [generic bits/errno.h] (before-compile): Do not append to
49381 variable.
49382 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49383 rule.
49384 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49385 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49386 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49387 [generic bits/errno.h] (common-generated): Do not append to
49388 variable.
49389 [generic bits/ioctls.h] (before-compile): Do not append to
49390 variable.
49391 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49392 rule.
49393 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49394 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49395 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49396 rule.
49397 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49398 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49399 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49400 [generic bits/ioctls.h] (common-generated): Do not append to
49401 variable.
49402 [generic sys/syscall.h] (syscall.h): Remove variable.
49403 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49404 rule.
49405 [generic sys/syscall.h] (before-compile): Do not append to
49406 variable.
49407 [generic sys/syscall.h] (common-generated): Likewise.
49408 * sysdeps/unix/errnos-tmpl.c: Remove file.
49409 * sysdeps/unix/errnos.awk: Likewise.
49410 * sysdeps/unix/ioctls-tmpl.c: Likewise.
49411 * sysdeps/unix/ioctls.awk: Likewise.
49412 * sysdeps/unix/mk-local_lim.c: Likewise.
49413 * sysdeps/unix/snarf-ioctls: Likewise.
49414
4851a949
RH
494152012-03-19 Richard Henderson <rth@twiddle.net>
49416
bd37f2ee
RH
49417 * sysdeps/i386/fpu/fenv_private.h: New file.
49418 * sysdeps/i386/fpu/math_private.h: Use it.
49419 (math_opt_barrier, math_force_eval): Remove.
49420 (libc_feholdexcept_setround_53bit): Remove.
49421 (libc_feupdateenv_53bit): Remove.
49422 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49423 (math_opt_barrier, math_force_eval): Remove.
49424 (libc_feholdexcept): Remove.
49425 (libc_feholdexcept_setround): Remove.
49426 (libc_fetestexcept, libc_fesetenv): Remove.
49427 (libc_feupdateenv_test): Remove.
49428 (libc_feupdateenv, libc_feholdsetround): Remove.
49429 (libc_feresetround): Remove.
49430
d0adc922
RH
49431 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49432 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
49433
0fe0f1f8
RH
49434 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
49435 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
49436 (libc_feupdateenv_testl): New.
49437 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
49438 (libc_feupdateenv_testf): New.
49439 (libc_feupdateenv): Use libc_feupdateenv_test.
49440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
49441 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
49442
eb92c487
RH
49443 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
49444 (libc_feholdsetroundf, libc_feholdsetroundl): New.
49445 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
49446 (libc_feresetround_noex): New.
49447 (libc_feresetround_noexf): New.
49448 (libc_feresetround_noexl): New.
49449 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
49450 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
49451 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
49452 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
49453 SET_RESTORE_ROUND.
49454 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49455 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
49456 (__cos): Likewise.
49457 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
49458 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
49459 SET_RESTORE_ROUND_NOEX.
49460 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
49461 SET_RESTORE_ROUND_NOEXF.
49462 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
49463 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
49464 (libc_feholdsetroundf): New.
49465 (libc_feresetround, libc_feresetroundf): New.
49466
7d2e8012
RH
49467 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
49468 (libc_feholdexcept_setround_53bit): Convert from macro to function.
49469 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
49470
b4dabbb4
RH
49471 * sysdeps/generic/math_private.h: Include <fenv.h>.
49472 (default_libc_feholdexcept): New.
49473 (default_libc_feholdexcept_setround): New.
49474 (default_libc_fesetenv, default_libc_feupdateenv): New.
49475 (libc_feholdexcept): Only define if undefined.
49476 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
49477 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
49478 (libc_feholdexcept_setroundl): Likewise.
49479 (libc_feholdexcept_setround_53bit): Likewise.
49480 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
49481 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
49482 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
49483 (libc_feupdateenv_53bit): Likewise.
49484 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
49485 (libc_feholdexcept): Convert from macro to inline function.
49486 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
49487 (libc_fesetenv, libc_feupdateenv): Likewise.
49488
4851a949
RH
49489 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
49490 not previously defined.
49491 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
49492 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
49493 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
49494 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
49495 * sysdeps/ieee754/flt-32/math_private.h: New file.
49496 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
49497 math_private.h below SET_FLOAT_WORD.
49498 (__isnan, __isinf_ns, __finite): Remove.
49499 (__isnanf, __isinf_nsf, __finitef): Remove.
49500
e79d442e
AS
495012012-03-18 Andreas Schwab <schwab@linux-m68k.org>
49502
49503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49504
90b80344
DM
495052012-03-17 David S. Miller <davem@davemloft.net>
49506
49507 [BZ #6471]
49508 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
49509 for 2.16.
49510
edc21804
DM
495112012-03-16 David S. Miller <davem@davemloft.net>
49512
77e927af
DM
49513 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
49514 warnings.
49515
374976dd
DM
49516 [BZ #6471]
49517 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
49518 properly.
49519 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
49520 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
49521 sysdep_routines when subdir is sysvipc.
49522 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
49523 __getshmlba helper.
49524
edc21804
DM
49525 * sysdeps/sparc/fpu/libm-test/ulps: Update.
49526
473c3ef3
L
495272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49528
49529 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
49530 [__LP64__].
49531
eb0f39b6
L
495322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49533
49534 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
49535 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
49536 (__lround): Renamed to ...
49537 (__llround): This. Replace long int with long long int.
49538 Define lround functions as aliases of llround functions.
49539 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
49540
6b6cd74b
L
495412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49542
49543 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
49544 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
49545 adresses to uintptr_t. Replace "long int" and "unsigned long
49546 int" with "greg_t" on va_arg.
49547
f1a77b01
L
495482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49549
49550 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
49551 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
49552
49553 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
49554 Move e_machine check before EI_CLASS check. Handle x32
49555 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
49556 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
49557 SKIP_EM_IA_64 and include
49558 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
49559
49560 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
49561 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
49562 (add_system_dir): New macro.
49563
49564 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
49565 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
49566
11b90b9f
JM
495672012-03-16 Joseph Myers <joseph@codesourcery.com>
49568
c36e1d23
JM
49569 [BZ #2551]
49570 [BZ #2552]
49571 [BZ #2553]
49572 [BZ #2554]
49573 [BZ #2562]
49574 [BZ #2563]
49575 [BZ #2565]
49576 [BZ #2566]
49577 [BZ #2576]
49578 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
49579 (y0): Likewise.
49580 * math/w_j0f.c (j0f): Likewise.
49581 (y0f): Likewise.
49582 * math/w_j0l.c (__j0l): Likewise.
49583 (__y0l): Likewise.
49584 * math/w_j1.c (j1): Likewise.
49585 (y1): Likewise.
49586 * math/w_j1f.c (j1f): Likewise.
49587 (y1f): Likewise.
49588 * math/w_j1l.c (__j1l): Likewise.
49589 (__y1l): Likewise.
49590 * math/w_jn.c (jn): Likewise.
49591 (yn): Likewise.
49592 * math/w_jnf.c (jnf): Likewise.
49593 (ynf): Likewise.
49594 * math/w_jnl.c (__jnl): Likewise.
49595 (__ynl): Likewise.
49596 * math/libm-test.inc (j0_test): Add more tests.
49597 (j1_test): Likewise.
49598 (jn_test): Likewise. Add trailing semicolon to existing test.
49599 (y0_test): Likewise.
49600 (y1_test): Likewise.
49601 * sysdeps/i386/fpu/libm-test-ulps: Update.
49602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49603
11b90b9f
JM
49604 [BZ #13851]
49605 [BZ #13854]
49606 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
49607 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
49608 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
49609 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
49610 (__tanl): Set errno for infinite argument.
49611 * sysdeps/i386/fpu/mptan.c: Remove.
49612 * sysdeps/i386/fpu/s_tan.S: Likewise.
49613 * sysdeps/i386/fpu/s_tanl.S: Likewise.
49614 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
49615 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
49616 * math/libm-test.inc (tan_test): Add more tests and enable more
49617 tests for double and long double.
49618 * sysdeps/i386/fpu/libm-test-ulps: Update.
49619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49620
6a1bd2a1
JK
496212012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
49622
49623 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
49624 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
49625
10a803e0
RM
496262012-03-16 Roland McGrath <roland@hack.frob.com>
49627
49628 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
49629 * configure.in: Use it for both main tree and add-ons.
49630 * configure: Regenerated.
49631
f196c7f7
L
496322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49633
49634 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
49635
8848d99d
JM
496362012-03-16 Joseph Myers <joseph@codesourcery.com>
49637
96cbe7f4
JM
49638 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
49639 in comment.
49640
8848d99d
JM
49641 [BZ #13851]
49642 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
49643 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
49644 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
49645 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
49646 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
49647 infinite argument.
49648 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
49649 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
49650 != 0 for prec == 2.
49651 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
49652 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
49653 * sysdeps/i386/fpu/s_cosl.S: Likewise.
49654 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
49655 * sysdeps/i386/fpu/s_sinl.S: Likewise.
49656 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
49657 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
49658 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
49659 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
49660 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
49661 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
49662 * math/libm-test.inc (cos_test): Add more tests and enable more
49663 tests for long double.
49664 (sin_test): Likewise.
49665 (sincos_test): Likewise.
49666 * sysdeps/i386/fpu/libm-test-ulps: Update.
49667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49668
dd7f4703
DM
496692012-03-16 David S. Miller <davem@davemloft.net>
49670
49671 * sysdeps/sparc/fpu/math_private.h: New file.
49672
006f1daa
DM
496732012-03-15 David S. Miller <davem@davemloft.net>
49674
c0c83bc8
DM
49675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
49676 file.
e6a62e18 49677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
49678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
49679 file.
e6a62e18
DM
49680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
49681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
49682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
49683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
49684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
49685 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
49686 sysdep routines.
49687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49688
88cb87d9
DM
49689 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
49690 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
49691
006f1daa 49692 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
49693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
49694 sparc-ifunc.h
006f1daa 49695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
49696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
49697 Likewise.
49698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
49699 Likewise.
006f1daa
DM
49700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
49701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
49702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
49703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49704 Likewise.
006f1daa
DM
49705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
49707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
49709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
49710 Likewise.
49711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
49712 Likewise.
006f1daa
DM
49713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
49715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
49716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
49717 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49718 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49719 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
49720 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
49721 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
49724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
49725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
49726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
49727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
49728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
49729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
49730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
49731 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
49732 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
49733 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
49734 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
49735 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
49736 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
49737
11e0098e
AS
497382012-03-15 Andreas Schwab <schwab@linux-m68k.org>
49739
49740 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
49741 scaling.
49742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49743
e85b09d0
AJ
497442012-03-15 Andreas Jaeger <aj@suse.de>
49745
49746 [BZ #13852]
49747 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
49748 ieee754/flt-32 implementation for sin, cos and sincos.
49749 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
49750 * sysdeps/i386/fpu/s_cosf.S: Likewise.
49751 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
49752 * sysdeps/i386/fpu/s_sinf.S: Likewise.
49753 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
49754 ieee754/flt-32 implementation for tan.
49755
49756 * math/libm-test.inc (cos_test): Enable some large input tests for
49757 float as well
49758 (sin_test): Likewise.
49759 (sincos_test): Likewise.
49760 (tan_test): Add tests for large input.
49761
49762 * sysdeps/i386/fpu/libm-test-ulps: Update.
49763
81c64153
AJ
497642012-03-15 Andreas Jaeger <aj@suse.de>
49765
49766 [BZ #13658]
49767 * math/libm-test.inc (cos_test): Add more test cases.
49768 (sin_test): Likewise.
49769 (sincos_test): Likewise.
49770
7bbfa5c6
AJ
497712012-03-15 Andreas Jaeger <aj@suse.de>
49772
49773 [BZ #13837]
49774 * math/libm-test.inc (cos_test): Add a test case for large input
49775 value.
49776 (sin_test): Likewise.
49777 (sincos_test): Likewise.
49778
57f41c40
AS
497792012-03-15 Andreas Jaeger <aj@suse.de>
49780 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
49781
49782 [BZ #13658]
0671f479 49783 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
49784 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
49785 * sysdeps/i386/fpu/branred.c: Likewise.
49786 * sysdeps/i386/fpu/dosincos.c: Likewise.
49787 * sysdeps/i386/fpu/mpa.c: Likewise.
49788 * sysdeps/i386/fpu/s_cos.S: Likewise.
49789 * sysdeps/i386/fpu/s_sin.S: Likewise.
49790 * sysdeps/i386/fpu/s_sincos.S: Likewise.
49791 * sysdeps/i386/fpu/sincos32.c: Likewise.
49792
49793 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
49794 Define.
49795 (libc_feupdateenv_53bit): Define.
49796 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
49797 Define.
49798 (libc_feupdateenv_53bit): Define.
49799
49800 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
49801 53 bit (without extend i386 double precision).
49802
49803 * math/libm-test.inc (sincos_test): Add tests for large input.
49804 (sin): Likewise.
49805 (cos): Likewise.
49806
49807 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
49808
9cad04ea
AS
498092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
49810
49811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49812
f7062b9a
DM
498132012-03-15 David S. Miller <davem@davemloft.net>
49814
49815 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
49816 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
49817 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
49818 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
49819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
49820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
49821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
49822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
49823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
49824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
49825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
49826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
49827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
49828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
49829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
49830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
49831 file.
f7062b9a 49832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
49833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
49834 file.
f7062b9a 49835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
49836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
49837 file.
f7062b9a 49838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
49839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
49840 file.
f7062b9a
DM
49841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
49842 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
49843 fmin/fmax sysdep routines.
49844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49845
7bd951ff
DM
498462012-03-14 David S. Miller <davem@davemloft.net>
49847
559398ab
DM
49848 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
49849 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
49850 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
49851 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
49852 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
49853 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
49854 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
49855 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
49856 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
49857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
49858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
49859 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
49860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
49861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
49862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
49863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
49864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
49865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
49866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
49867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
49868 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
49869 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
49870 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
49871 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
49872 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
49873 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
49874 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
49875 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
49876 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
49877 routines.
49878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
49879 file.
559398ab 49880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
49881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
49882 file.
559398ab 49883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
49884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
49885 file.
559398ab 49886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
49887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
49888 file.
559398ab 49889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
49890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
49891 file.
559398ab 49892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
49893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
49894 file.
49895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
49896 file.
49897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
49898 file.
49899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
49900 file.
49901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
49902 New file.
49903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
49904 file.
49905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
49906 file.
559398ab 49907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
49908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
49909 file.
559398ab 49910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
49911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
49912 file.
559398ab 49913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
49914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
49915 file.
559398ab 49916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
49917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
49918 VIS3 routines.
559398ab
DM
49919
49920 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49921 New file.
49922
5a1c1e32
DM
49923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49924
eae47a36
DM
49925 * sysdeps/sparc/configure.in: New file.
49926 * sysdeps/sparc/configure: Generate.
49927 * configure.in (libc_cv_sparc_as_vis3): Substitute.
49928 * configure: Regenerate.
49929 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
49930 * config.make.in (have-as-vis3): New.
49931 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
49932 available use -Av9d instead of -Av9a.
49933 * sysdeps/sparc/sparc64/Makefile: Likewise.
49934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
49935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
49936 New file.
49937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
49938 file.
49939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
49940 New file.
49941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
49942 file.
eae47a36
DM
49943 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
49944 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
49945 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
49946 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
49947 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
49948
c0c83bc8
DM
49949 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
49950 fzeros/fnegs to load 0x80000000 into a float register instead of
49951 using the stack.
7bd951ff
DM
49952 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
49953
bd951ccb
JM
499542012-03-14 Joseph Myers <joseph@codesourcery.com>
49955
49956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49957 bits/syscall.h.
49958 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
49959 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
49960 ($(inst_includedir)/bits/syscall.h): Remove rule.
49961 ($(objpfx)bits/syscall.d): Include instead of
49962 $(objpfx)syscall-list.d.
49963 (generated): Change syscall-list.h and syscall-list.d to
49964 bits/syscall.h and bits/syscall.d.
49965
bb4e6db2
RM
499662012-03-14 Roland McGrath <roland@hack.frob.com>
49967
49968 [BZ #13846]
49969 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
49970
aa4a2ae1
JM
499712012-03-14 Joseph Myers <joseph@codesourcery.com>
49972
e456826d
JM
49973 [BZ #13841]
49974 * math/s_csqrt.c: Include <float.h>.
49975 (__csqrt): Scale large or subnormal inputs.
49976 * math/s_csqrtf.c: Likewise.
49977 * math/s_csqrtl.c: Likewise.
49978 * math/libm-test.inc (csqrt_test): Add more tests.
49979 * sysdeps/i386/fpu/libm-test-ulps: Update.
49980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49981
aa4a2ae1
JM
49982 [BZ #13840]
49983 * math/libm-test.inc (hypot_test): Add more tests.
49984
7c10fd35
DM
499852012-03-13 David S. Miller <davem@davemloft.net>
49986
49987 [BZ #13840]
49988 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
49989 double-precision for the calculation instead of scaling.
49990
f453b98b
JM
499912012-03-13 Joseph Myers <joseph@codesourcery.com>
49992
49993 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
49994 manipulate bits before adding and subtracting TWO52[sx].
49995 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
49996 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
49997 Likewise.
49998 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
49999
09a3453f
DM
500002012-03-13 David S. Miller <davem@davemloft.net>
50001
8e59da90
DM
50002 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50003 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50004 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50005 rtld-global-offsets.h
50006 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50007
2a8ab7f2
DM
50008 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50009 large parameters.
50010
10f62770
DM
50011 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50012
5f0bdb18
DM
50013 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50014 'err' in the ifdef scope in which it is actually used.
50015
09a3453f
DM
50016 * nss/nss_db/db-init.c: Include string.h
50017
b4b2eb5e
DM
500182012-03-12 David S. Miller <davem@davemloft.net>
50019
98bb2f1c
DM
50020 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50021 masking out of the most significant byte of random value used.
50022 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50023 Fix coding style in previous change.
50024
b4b2eb5e
DM
50025 * sysdeps/unix/sysv/linux/kernel-features.h
50026 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50027 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50028 expression.
50029 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
50030 later.
50031
6e226b09
DM
500322012-03-11 David S. Miller <davem@davemloft.net>
50033
a1bcbd40
DM
50034 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50035 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
50036 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
50037 for 'resultvar' otherwise things get truncated on 64-bit.
50038
cb9d6174
DM
50039 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50040 Fix masking out of the most significant byte of random value used.
50041
6e226b09
DM
50042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50043
058c132d
AS
500442012-03-10 Andreas Schwab <schwab@linux-m68k.org>
50045
50046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50047
2d2cd515
DM
500482012-03-09 David S. Miller <davem@davemloft.net>
50049
50050 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
50051 variables with appropriate CPP guards.
57f41c40
AS
50052 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
50053 from the frame pointer, not the stack pointer. Correct layout
50054 comments. Fix test on resulting framesize and the management of
50055 the outregs buffer for pltexit. Preserve floating point return
50056 values across _dl_call_pltexit call.
2d2cd515
DM
50057 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
50058 framesize and the management of the outregs buffer for pltexit.
50059 Preserve floating point return values across _dl_call_pltexit
50060 call.
57f41c40
AS
50061 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
50062 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
50063 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
50064 (print_exit): Fix format string for return register value.
50065
9a07f9d0
JM
500662012-03-10 Joseph Myers <joseph@codesourcery.com>
50067
50068 * sunrpc/Makefile (others): Add rpcgen.
50069 ($(objpfx)rpcgen): Remove special build rule and dependency on
50070 libc.
50071 * sunrpc/rpcgen.c: New file.
50072
547b5e30
PE
500732012-03-09 Paul Eggert <eggert@cs.ucla.edu>
50074
c524201a
PE
50075 [BZ #13673]
50076 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
50077 * stdio-common/bug-vfprintf-nargs.c: Likewise.
50078 * sysdeps/i386/crti.S: Likewise.
50079 * sysdeps/i386/crtn.S: Likewise.
50080 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
50081 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
50082 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
50083 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
50084 * sysdeps/sh/crti.S: Likewise.
50085 * sysdeps/sh/crtn.S: Likewise.
50086 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50087
7b6235f2
PE
50088 [BZ #13673]
50089 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
50090 with URL.
50091 * locale/programs/locfile-kw.gperf: Likewise.
50092 * locale/programs/charmap-kw.h: Regenerated.
50093 * locale/programs/locfile-kw.h: Likewise.
50094
547b5e30
PE
50095 [BZ #13673]
50096 * intl/plural.y: Replace FSF snail mail address with URL.
50097 * intl/plural.c: Regenerated.
50098
5f0a5dae
RH
500992012-03-09 Richard Henderson <rth@twiddle.net>
50100
50101 * include/math_private.h: Remove file.
50102 * math/math_private.h: Move file ...
50103 * sysdeps/generic/math_private.h: ... here.
50104
b8c03620
RH
50105 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
50106 * sysdeps/powerpc/fpu/math_private.h: Likewise.
50107 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50108
4e234f5d 50109 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
50110 and <math_private.h>.
50111 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50112 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50113 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50114 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50115 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50116 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
50117 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50118 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50119 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50120 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50121 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50122 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50123 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50124 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50125 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50126 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50127 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50128 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50129 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50130 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50131 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50132 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50133 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50134 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50135 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50136 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50137 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50138 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50139 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50140 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50141 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50142 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50143 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50144 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50145 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50146 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50147 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50148 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50149 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50150 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50151 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
50152 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50153 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50154 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50155 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50156 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50157 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
50158 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50159 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50160 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50161 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50162 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
50163 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50164 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50165 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50166 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50167 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50168 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50169 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50170 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
50171 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50172 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50173 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50174 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50175 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
50176 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50177 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50178 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50179 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
50180 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
50181 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50182 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50183 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50184 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50185 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50186 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50188 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50189 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50190 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50191 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50192 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50193 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50194 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50195 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50196 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50197 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50198 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50199 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50200 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50201 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50202 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50203 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50204 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50205 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50206 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50207 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50208 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50209 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50210 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50211 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50212 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50213 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50214 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50215 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50216 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50217 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50218 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50219 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50220 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50221 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50222 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50223 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50224 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50225 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50226 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50227 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50228 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50229 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50230 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50231 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50232 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50233 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50234 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50235 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50236 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50237 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50238 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50239 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50240 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50241 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50242 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50243 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50244 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50245 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50246 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50247 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50248 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50249 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50250 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50251 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50252 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50253 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50254 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50255 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50256 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50257 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50258 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50259 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50260 * sysdeps/ieee754/k_standard.c: Likewise.
50261 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50262 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50263 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50264 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50265 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50266 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50267 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50268 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50269 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50270 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50271 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50272 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50273 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50274 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50275 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50276 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50277 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50278 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50279 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50280 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50281 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50282 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50283 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50284 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50285 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50286 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50287 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50288 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50289 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50290 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50291 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50292 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50293 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50294 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50295 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50296 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50297 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50298 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50299 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50300 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50301 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50302 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50303 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50304 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50305 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50306 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50307 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50308 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50309 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50310 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50311 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50312 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50313 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50314 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50315 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50316 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50317 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50318 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50319 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50320 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50321 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50322 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50323 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50324 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50325 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50326 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50327 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50328 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50329 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50330 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50331 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50332 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50333 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50334 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50335 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50336 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50337 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50338 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50339 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50340 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50341 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50342 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50343 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50344 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50345 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50346 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50347 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50348 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50349 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50350 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50351 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50352 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50353 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50354 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50355 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50356 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50357 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50358 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50359 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50360 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50361 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50362 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50363 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50364 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50365 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50366 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50367 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50368 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50369 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50370 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50371 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50372 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50373 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50374 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50375 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50376 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50377 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50378 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50379 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50380 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50381 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50382 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50383 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50384 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50385 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50386 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50387 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50388 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50389 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50390 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50391 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50392 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50393 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50394 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50395 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50396 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50397 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50398 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50399 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50400 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50401 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50402 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50403 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50404 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50405 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50406 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50407 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50408 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50409 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50410 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50411 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50412 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50413 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50414 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50415 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50416 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50417 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50418 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50419 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50420 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50421 * sysdeps/ieee754/s_lib_version.c: Likewise.
50422 * sysdeps/ieee754/s_matherr.c: Likewise.
50423 * sysdeps/ieee754/s_signgam.c: Likewise.
50424 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50425 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50426 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50427 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50428 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50429 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50430 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50431 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50432 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
50433 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
50434 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50435 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
50436 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50437 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50438 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
50439 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50440 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50441 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50442 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50443 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50444 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 50445
1991fa03
JM
504462012-03-09 Joseph Myers <joseph@codesourcery.com>
50447
50448 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
50449 * sunrpc/rpc_main.c: Likewise.
50450 * sunrpc/rpc_svcout.c: Likewise.
50451
60d6f5a6
DM
504522012-03-09 David S. Miller <davem@davemloft.net>
50453
50454 * include/math_private.h: New file.
50455
4962050e
JM
504562012-03-09 Joseph Myers <joseph@codesourcery.com>
50457
02a6f887
JM
50458 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
50459 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
50460 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
50461 from <bits/socket_type.h>.
50462 (enum __socket_type): Don't define here.
50463 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
50464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50465 bits/socket_type.h.
50466
c6e013c1
JM
50467 [BZ #13566]
50468 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
50469 checking __USE_GNU.
50470
4962050e
JM
50471 * Makerules ($(inst_includedir)/%.h): New rule.
50472 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
50473 (install-others): Remove variable setting.
50474 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
50475
38842f45
RH
504762012-03-08 Richard Henderson <rth@twiddle.net>
50477
67bb6da6
RH
50478 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
50479 from macro to inline function; merge with the
50480 !__LIBC_INTERNAL_MATH_INLINES version.
50481 (__ieee754_sqrtf): Likewise.
50482
15194b4b
RH
50483 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
50484 to inline function.
50485 (__rintf, __floor, __floorf): Likewise.
50486
64e21ede
RH
50487 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
50488 macro to inline function.
50489 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
50490
38842f45
RH
50491 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
50492 not <math/math_private.h>.
50493
c64bf5fe
DM
504942012-03-08 David S. Miller <davem@davemloft.net>
50495
50496 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
50497 copyright year.
50498 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
50499
82d86f28
TS
505002012-03-08 Thomas Schwinge <thomas@codesourcery.com>
50501
50502 * resolv/gai_misc.c (handle_requests): Fix struct timespec
50503 normalization.
50504 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
50505 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
50506
aea5d727
UD
505072012-03-08 Ulrich Drepper <drepper@gmail.com>
50508
50509 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
50510 be defined individually, they must be defined as a block. Define
50511 S for printing a string instead of hidint the different by using a
50512 macro for adding the 'l'.
50513 * stdio-common/tst-fphex-wide.c: Adjust.
50514
70bca0a3
MP
505152012-03-07 Marek Polacek <polacek@redhat.com>
50516
50517 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
50518
65b81130
MP
505192012-03-08 Marek Polacek <polacek@redhat.com>
50520
50521 [BZ #13806]
50522 * stdio-common/Makefile (tests): Add tst-fphex-wide.
50523 * stdio-common/tst-fphex.c: Define a few macros to make the
50524 test reusable. Use them.
50525 * stdio-common/tst-fphex-wide.c: New file.
50526
07037eeb
JM
505272012-03-08 Joseph Myers <joseph@codesourcery.com>
50528
a7a93d50
JM
50529 [BZ #6911]
50530 * manual/macros.texi (gnusystems): New macro.
50531 (nongnusystems): Likewise.
50532 (gnulinuxhurdsystems): Likewise.
50533 (gnuhurdsystems): Likewise..
50534 (gnulinuxsystems): Likewise.
50535 * manual/charset.texi: Use new macros or @theglibc{} to refer to
50536 variants of the GNU system, not "GNU system".
50537 * manual/conf.texi: Likewise.
50538 * manual/errno.texi: Likewise. Update example of errno macro
50539 expansion.
50540 * manual/filesys.texi: Likewise.
50541 (getumask): Document as specific to GNU/Hurd.
50542 * manual/install.texi: Likewise. Reword some references to
50543 GNU/Linux.
50544 * manual/intro.texi: Likewise.
50545 * manual/io.texi: Likewise.
50546 (File Name Portability): Detail which constraints are inapplicable
50547 to all GNU systems and which are only inapplicable to GNU/Hurd.
50548 * manual/job.texi: Likewise.
50549 * manual/llio.texi: Likewise.
50550 (O_NOCTTY): Document as present on GNU/Linux.
50551 * manual/maint.texi: Likewise.
50552 * manual/memory.texi: Likewise.
50553 * manual/pattern.texi: Likewise.
50554 * manual/pipe.texi: Likewise.
50555 * manual/process.texi: Likewise.
50556 * manual/resource.texi: Likewise.
50557 (RUSAGE_CHILDREN): Remove statement about specifying a particular
50558 child on GNU/Hurd.
50559 * manual/setjmp.texi: Likewise.
50560 * manual/signal.texi: Likewise.
50561 * manual/startup.texi: Likewise.
50562 * manual/stdio.texi: Likewise.
50563 * manual/terminal.texi: Likewise.
50564 (ONLCR): Document as POSIX.
50565 (OXTABS): Document availability on GNU/Linux as XTABS.
50566 (ONOEOT): Document availability separately from other bits.
50567 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
50568 * manual/time.texi: Likewise.
50569 * manual/users.texi: Likewise.
50570 * INSTALL: Regenerated.
50571 * sysdeps/gnu/errlist.c: Regenerated.
50572
07037eeb
JM
50573 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
50574 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
50575 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
50576 puts.
50577 * configure: Regenerated.
50578
d1d3431a
JM
505792012-03-07 Joseph Myers <joseph@codesourcery.com>
50580
af6a1e37
JM
50581 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
50582 default includes instead of AC_HEADER_CHECK.
50583 * sysdeps/i386/configure: Regenerated.
50584
d1d3431a
JM
50585 [BZ #10716]
50586 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
50587 * math/s_cacoshf.c (__cacoshf): Likewise.
50588 * math/s_cacoshl.c (__cacoshl): Likewise.
50589 * math/s_casinh.c (__casinh): Set signs of result from argument.
50590 * math/s_casinhf.c (__casinhf): Likewise.
50591 * math/s_casinhl.c (__casinhl): Likewise.
50592 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
50593 (casinh_test): Add more tests.
50594 * sysdeps/i386/fpu/libm-test-ulps: Update.
50595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50596
482ff4da
UD
505972012-03-07 Ulrich Drepper <drepper@gmail.com>
50598
872fda05
UD
50599 * po/zh_TW.po: Update from translation team.
50600
a4300c7a
UD
50601 * login/Makefile (distribute): Remove variable.
50602 * catgets/Makefile: Likewise.
50603 * mach/Makefile: Likewise.
50604 * malloc/Makefile: Likewise.
50605 * misc/Makefile: Likewise.
50606 * iconv/Makefile: Likewise.
50607 * nscd/Makefile: Likewise.
50608 * hurd/Makefile: Likewise.
50609 * manual/Makefile: Likewise.
50610 * locale/Makefile: Likewise.
50611 * intl/Makefile: Likewise.
50612 * conform/Makefile: Likewise.
50613 * nss/Makefile: Likewise.
50614 * time/Makefile: Likewise.
50615 * soft-fp/Makefile: Likewise.
50616 * dirent/Makefile: Likewise.
50617 * gmon/Makefile: Likewise.
50618 * po/Makefile: Likewise.
50619 * rt/Makefile: Likewise.
50620 * socket/Makefile: Likewise.
50621 * math/Makefile: Likewise.
50622 * signal/Makefile: Likewise.
50623 * debug/Makefile: Likewise.
50624 * elf/Makefile: Likewise.
50625 * timezone/Makefile: Likewise.
50626 * stdlib/Makefile: Likewise.
50627 * iconvdata/Makefile: Likewise.
50628 * sunrpc/Makefile: Likewise.
50629 * io/Makefile: Likewise.
50630 * argp/Makefile: Likewise.
50631 * inet/Makefile: Likewise.
50632 * hesiod/Makefile: Likewise.
50633 * grp/Makefile: Likewise.
50634 * csu/Makefile: Likewise.
50635 * wctype/Makefile: Likewise.
50636 * crypt/Makefile: Likewise.
50637 * libio/Makefile: Likewise.
50638 * string/Makefile: Likewise.
50639 * nis/Makefile: Likewise.
50640 * resolv/Makefile: Likewise.
50641 * stdio-common/Makefile: Likewise.
50642 * wcsmbs/Makefile: Likewise.
50643 * dlfcn/Makefile: Likewise.
50644 * posix/Makefile: Likewise.
50645
3b7c4e74 50646 [BZ #6959]
482ff4da
UD
50647 * timezone/Makefile: Don't install timezone files, just the programs
50648 and scripts.
50649
f72ed77d
UD
506502012-03-06 Ulrich Drepper <drepper@gmail.com>
50651
a000466f
UD
50652 * nss/databases.def: Add missing gshadow entry.
50653
f72ed77d
UD
50654 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
50655
a53b7a4e
MP
506562012-03-06 Marek Polacek <polacek@redhat.com>
50657
50658 [BZ #13726]
50659 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
50660 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50661 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
50662 * stdio-common/tst-long-dbl-fphex.c: New file.
50663
e9258400
DM
506642012-03-06 David S. Miller <davem@davemloft.net>
50665
50666 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50667 (set_obp_int): New function.
50668 (get_obp_int): New function.
50669 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
50670 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
50671 Avoid unused variable warnings on 'val' and use builtin_expect.
50672 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
50673 __builtin_expect.
e9258400
DM
50674 (INLINE_CLONE_SYSCALL): Likewise.
50675
3bd2c723
DM
506762012-03-05 David S. Miller <davem@davemloft.net>
50677
50678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50679
bbb78d03
AS
506802012-03-05 Andreas Schwab <schwab@linux-m68k.org>
50681
884c5db4
AS
50682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50683
bbb78d03
AS
50684 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
50685 only for |x| >= 40.
50686 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50687
1c9f702a 506882012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
50689
50690 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
50691 Replace gettimeofday with __vdso_gettimeofday.
50692
7be16f82
RM
50693 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50694 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
50695 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
50696
50697 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
50698 time with __vdso_time.
50699
ed58a00f
JM
507002012-03-05 Joseph Myers <joseph@codesourcery.com>
50701
50702 * manual/lang.texi (size_t): Note types to which size_t may be
50703 equivalent with the GNU C Library, but do not describe when
50704 differences between them are significant.
50705
30ee4ced
AJ
507062012-03-05 Andreas Jaeger <aj@suse.de>
50707
50708 * sysdeps/i386/fpu/libm-test-ulps: Update.
50709
b7cd39e8
JM
507102012-03-05 Joseph Myers <joseph@codesourcery.com>
50711
50712 [BZ #3976]
50713 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
50714 (__ieee754_pow): Save and restore rounding mode and use
50715 round-to-nearest for main computations.
50716 * math/libm-test.inc (pow_test_tonearest): New function.
50717 (pow_test_towardzero): Likewise.
50718 (pow_test_downward): Likewise.
50719 (pow_test_upward): Likewise.
50720 (main): Call the new functions.
50721 * sysdeps/i386/fpu/libm-test-ulps: Update.
50722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
50723
50724 [BZ #3976]
50725 * math/libm-test.inc (cosh_test_tonearest): New function.
50726 (cosh_test_towardzero): Likewise.
50727 (cosh_test_downward): Likewise.
50728 (cosh_test_upward): Likewise.
50729 (sinh_test_tonearest): Likewise.
50730 (sinh_test_towardzero): Likewise.
50731 (sinh_test_downward): Likewise.
50732 (sinh_test_upward): Likewise.
50733 (main): Call the new functions.
50734 * sysdeps/i386/fpu/libm-test-ulps: Update.
50735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50736
6c6a98c9
TV
507372012-03-05 Tom de Vries <tom@codesourcery.com>
50738
50739 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
50740 default stack guard is set in last bytes.
50741 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
50742
21bb2d2e 507432012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 50744
21bb2d2e 50745 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 50746
21bb2d2e
AJ
50747 [BZ #13656]
50748 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
50749 possibly allocate from heap instead of stack.
50750 * stdio-common/bug-vfprintf-nargs.c: New file.
50751 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 50752
c6922934
AS
507532012-03-03 Andreas Schwab <schwab@linux-m68k.org>
50754
50755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50756
bc957d53
MP
507572012-03-03 Marek Polacek <polacek@redhat.com>
50758
50759 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
50760 * math/math_private.h: Likewise.
50761 * stdlib/tst-strtod.c: Likewise.
50762 * sysdeps/i386/i486/bits/atomic.h: Likewise.
50763 * sysdeps/x86_64/bits/atomic.h: Likewise.
50764
6358490d
DM
507652012-03-02 David S. Miller <davem@davemloft.net>
50766
50767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
50768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
50769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
50770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
50771 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
50772 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
50773 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
50774 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
50775
01ae168d
RM
507762012-03-02 Roland McGrath <roland@hack.frob.com>
50777
d9a17c07
RM
50778 [BZ #13792]
50779 * manual/examples/README: New file, says the example source files
50780 can be used under GPL>=2.
50781 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
50782 line containing just "*/".
50783 * manual/examples/add.c: Add copyright header (GPL>=2).
50784 * manual/examples/argp-ex1.c: Likewise.
50785 * manual/examples/argp-ex2.c: Likewise.
50786 * manual/examples/argp-ex3.c: Likewise.
50787 * manual/examples/argp-ex4.c: Likewise.
50788 * manual/examples/atexit.c: Likewise.
50789 * manual/examples/db.c: Likewise.
50790 * manual/examples/dir.c: Likewise.
50791 * manual/examples/dir2.c: Likewise.
50792 * manual/examples/execinfo.c: Likewise.
50793 * manual/examples/filecli.c: Likewise.
50794 * manual/examples/filesrv.c: Likewise.
50795 * manual/examples/fmtmsgexpl.c: Likewise.
50796 * manual/examples/genpass.c: Likewise.
50797 * manual/examples/inetcli.c: Likewise.
50798 * manual/examples/inetsrv.c: Likewise.
50799 * manual/examples/isockad.c: Likewise.
50800 * manual/examples/longopt.c: Likewise.
50801 * manual/examples/memopen.c: Likewise.
50802 * manual/examples/memstrm.c: Likewise.
50803 * manual/examples/mkfsock.c: Likewise.
50804 * manual/examples/mkisock.c: Likewise.
50805 * manual/examples/mygetpass.c: Likewise.
50806 * manual/examples/pipe.c: Likewise.
50807 * manual/examples/popen.c: Likewise.
50808 * manual/examples/rprintf.c: Likewise.
50809 * manual/examples/search.c: Likewise.
50810 * manual/examples/select.c: Likewise.
50811 * manual/examples/setjmp.c: Likewise.
50812 * manual/examples/sigh1.c: Likewise.
50813 * manual/examples/sigusr.c: Likewise.
50814 * manual/examples/stpcpy.c: Likewise.
50815 * manual/examples/strdupa.c: Likewise.
50816 * manual/examples/strftim.c: Likewise.
50817 * manual/examples/strncat.c: Likewise.
50818 * manual/examples/subopt.c: Likewise.
50819 * manual/examples/swapcontext.c: Likewise.
50820 * manual/examples/termios.c: Likewise.
50821 * manual/examples/testopt.c: Likewise.
50822 * manual/examples/testpass.c: Likewise.
50823 * manual/examples/timeval_subtract.c: Likewise.
50824
01ae168d
RM
50825 [BZ #13792]
50826 * manual/time.texi (Elapsed Time): Move timeval_subtract example
50827 function to ...
50828 * manual/timeval_subtract.c.texi: ... here, new file.
50829
49efa33d
DM
508302012-03-02 David S. Miller <davem@davemloft.net>
50831
50832 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
50833
28afd92d
JM
508342012-03-02 Joseph Myers <joseph@codesourcery.com>
50835
804360ed
JM
50836 [BZ #3976]
50837 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
50838 (__sin): Save and restore rounding mode and use round-to-nearest
50839 for all computations.
50840 (__cos): Save and restore rounding mode and use round-to-nearest
50841 for all computations.
50842 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
50843 <fenv.h>.
50844 (tan): Save and restore rounding mode and use round-to-nearest for
50845 all computations.
50846 * math/libm-test.inc (cos_test_tonearest): New function.
50847 (cos_test_towardzero): Likewise.
50848 (cos_test_downward): Likewise.
50849 (cos_test_upward): Likewise.
50850 (sin_test_tonearest): Likewise.
50851 (sin_test_towardzero): Likewise.
50852 (sin_test_downward): Likewise.
50853 (sin_test_upward): Likewise.
50854 (tan_test_tonearest): Likewise.
50855 (tan_test_towardzero): Likewise.
50856 (tan_test_downward): Likewise.
50857 (tan_test_upward): Likewise.
50858 (main): Call the new functions.
50859 * sysdeps/i386/fpu/libm-test-ulps: Update.
50860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50861
a6d06d7b
JM
50862 [BZ #10135]
50863 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
50864 small n, then large n, before computing and testing k+n.
50865 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50866 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
50867 Likewise.
50868 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
50869 Likewise.
50870 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
50871 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
50872 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
50873 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
50874 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50875 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50876 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
50877 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
50878 * math/libm-test.inc (scalbn_test): Add more tests.
50879 (scalbln_test): Likewise.
50880
07e12bb3
JM
50881 * manual/filesys.texi (mode_t): Describe constraints on size and
50882 signedness, not exact equivalence to a particular type.
50883 (ino_t): Likewise.
50884 (ino64_t): Likewise.
50885 (dev_t): Likewise.
50886 (nlink_t): Likewise.
50887 (blkcnt_t): Likewise.
50888 (blkcnt64_t): Likewise.
50889 * manual/llio.texi (off_t): Likewise.
50890
28afd92d
JM
50891 [BZ #3976]
50892 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
50893 (__ieee754_exp): Save and restore rounding mode and use
50894 round-to-nearest for all computations.
50895 * math/libm-test.inc (exp_test_tonearest): New function.
50896 (exp_test_towardzero): Likewise.
50897 (exp_test_downward): Likewise.
50898 (exp_test_upward): Likewise.
50899 (main): Call the new functions.
50900 * sysdeps/i386/fpu/libm-test-ulps: Update.
50901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50902
b1eeb65d
CD
509032012-03-01 Chris Demetriou <cgd@google.com>
50904
50905 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
50906 have predictable order.
50907
53362a4b
DM
509082012-03-01 David S. Miller <davem@davemloft.net>
50909
3c969083
DM
50910 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
50911
759707de
DM
50912 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
50913 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
50914 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
50915 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
50916
dfdb8ff2
DM
50917 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
50918 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
50919 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
50920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
50921 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
50922 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
50923 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
50924 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
50925 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
50926
ead89f96
DM
50927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50928
7f66bd07
DM
50929 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
50930 * sysdeps/sparc/fpu/libm-test-ulps: to here.
50931 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
50932
53362a4b
DM
50933 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
50934 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50935 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50936 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
50937 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
50938 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
50939 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
50940 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50941 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50942 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
50943 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
50944 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50946 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50947 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50948 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50949 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
50950 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
50951 * sysdeps/sparc/elf/configure: Regenerated.
50952
7b1902cb
JM
509532012-03-01 Joseph Myers <joseph@codesourcery.com>
50954
bec039bc
JM
50955 * configure.in (AS, LD): Require binutils 2.20 or later.
50956 * configure: Regenerated.
50957 * manual/install.texi (Tools for Compilation): Give binutils 2.20
50958 as required minimum version.
50959 * INSTALL: Regenerated.
50960
7b1902cb
JM
50961 [BZ #2541]
50962 [BZ #4108]
50963 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
50964 before squaring exponent.
50965 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
50966 bottom long double and 27 bits of top long double before squaring
50967 exponent.
50968 * math/libm-test.inc (erfc_test): Add more tests.
50969 * sysdeps/i386/fpu/libm-test-ulps: Update.
50970 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50972
f775c276
KT
509732012-03-01 Kai Tietz <ktietz@redhat.com>
50974
50975 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
50976 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
50977 containing bit-fields.
50978 * soft-fp/extended.h (_FP_UNION_E): Likewise.
50979 * soft-fp/single.h (_FP_UNION_S): Likewise.
50980 * soft-fp/double.h (_FP_UNION_D): Likewise.
50981
5b8a4d4a
JM
509822012-02-29 Joseph Myers <joseph@codesourcery.com>
50983
0bab47b6
JM
50984 [BZ #13786]
50985 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
50986 not include ../strcmp.S.
50987 [USE_AS_STRNCASECMP_L]: Likewise.
50988 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
50989 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
50990 * sysdeps/i386/i686/multiarch/strncase_l-c.c
50991 (__strncasecmp_l_ia32): Define as alias to
50992 __strncasecmp_l_nonascii.
50993
0fcad3e2
JM
50994 [BZ #5794]
50995 * math/libm-test.inc (expm1_test): Add test for bug 5794.
50996 * sysdeps/i386/fpu/libm-test-ulps: Update.
50997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50998
5b8a4d4a
JM
50999 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51001
8fdceb2e
JL
510022012-02-29 Jeff Law <law@redhat.com>
51003
51004 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51005 out of bounds read.
51006
1f393a11
MP
510072012-02-29 Marek Polacek <polacek@redhat.com>
51008
51009 [BZ #13706]
51010 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51011 * elf/Makefile: Add rules to run tst-unused-dep.out.
51012
8847f037
DM
510132012-02-28 David S. Miller <davem@davemloft.net>
51014
51015 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51016 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51017 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51018 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51019 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51020 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51021
169d7f11
JM
510222012-02-29 Joseph Myers <joseph@codesourcery.com>
51023
51024 * math/libm-test.inc (llround_test): Move one test from
51025 lround_test. Use TEST_f_L in moved test.
51026 (lround_test): Move misplaced test to llround_test. Add testcase
51027 from bug 2561.
51028
39adf059
UD
510292012-02-28 Ulrich Drepper <drepper@gmail.com>
51030
51031 * sysdeps/x86_64/fpu/e_expf.S: New file.
51032 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
51033
71b5d1c5
SB
510342012-02-28 Stanislav Brabec <sbrabec@suse.cz>
51035
51036 [BZ #13637]
51037 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
51038 of remain_len that may cause incomplete multi-byte character and
51039 false match.
51040 * posix/bug-regex33.c: New file.
51041 * posix/Makefile (tests): Add bug-regex33.
51042
1f77f049
JM
510432012-02-28 Joseph Myers <joseph@codesourcery.com>
51044
51045 * manual/macros.texi: New file.
51046 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
51047 * manual/libc.texinfo: Include macros.texi.
51048 * manual/creatute.texi: Likewise.
51049 * manual/install.texi: Likewise.
51050 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
51051 @glibcadj{} in references to the GNU C Library.
51052 * manual/charset.texi: Likewise.
51053 * manual/conf.texi: Likewise.
51054 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
51055 when not using those macros.
51056 * manual/creature.texi: Likewise.
51057 * manual/crypt.texi: Likewise.
51058 * manual/errno.texi: Likewise.
51059 * manual/filesys.texi: Likewise.
51060 * manual/header.texi: Likewise.
51061 * manual/install.texi: Likewise.
51062 * manual/intro.texi: Likewise.
51063 * manual/io.texi: Likewise.
51064 * manual/job.texi: Likewise.
51065 * manual/lang.texi: Likewise.
51066 * manual/libc.texiinfo: Likewise.
51067 * manual/llio.texi: Likewise.
51068 * manual/locale.texi: Likewise.
51069 * manual/maint.texi: Likewise.
51070 * manual/math.texi: Likewise.
51071 * manual/memory.texi: Likewise.
51072 * manual/message.texi: Likewise.
51073 * manual/nss.texi: Likewise.
51074 * manual/pattern.texi: Likewise.
51075 * manual/process.texi: Likewise.
51076 * manual/resource.texi: Likewise.
51077 * manual/search.texi: Likewise.
51078 * manual/setjmp.texi: Likewise.
51079 * manual/signal.texi: Likewise.
51080 * manual/socket.texi: Likewise.
51081 * manual/startup.texi: Likewise.
51082 * manual/stdio.texi: Likewise.
51083 * manual/string.texi: Likewise.
51084 * manual/sysinfo.texi: Likewise.
51085 * manual/syslog.texi: Likewise.
51086 * manual/terminal.texi: Likewise.
51087 * manual/time.texi: Likewise.
51088 * manual/users.texi: Likewise.
51089 * INSTALL: Regenerated.
51090 * NOTES: Regenerated.
d40c5d54 51091 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 51092
450bf206
AS
510932012-02-28 Andreas Schwab <schwab@linux-m68k.org>
51094
51095 * include/dirent.h: Include <dirstream.h> before
51096 <dirent/dirent.h>.
51097
741a235b
DM
510982012-02-28 David S. Miller <davem@davemloft.net>
51099
51100 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
51101 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
51102 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
51103 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
51104
d6b5aa58
DM
511052012-02-27 David S. Miller <davem@davemloft.net>
51106
1aff59a3
DM
51107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
51108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
51109 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
51110 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
51111
d6b5aa58
DM
51112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
51113 frame pointer instead of stack pointer relative arg slot.
51114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51115 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51116 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51117
433f48bf
CD
511182012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
51119
51120 [BZ #3992]
51121 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
51122
d674b76d
DM
511232012-02-27 David S. Miller <davem@davemloft.net>
51124
51125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
51126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
51129 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51130 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51131 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51132 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51133
0e7727f7
JM
511342012-02-27 Joseph Myers <joseph@codesourcery.com>
51135
51136 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
51137 later. Allow versions 5-9.
43be4ca2 51138 * configure: Regenerated.
0e7727f7
JM
51139 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
51140 required minimum version and 4.6 as recommended version. Do not
51141 mention bugs in GCC 2.7 and 2.8.
43be4ca2 51142 * INSTALL: Regenerated.
0e7727f7 51143
a78bc654
DM
511442012-02-27 David S. Miller <davem@davemloft.net>
51145
428d5830
DM
51146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
51147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
51148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
51149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
51150 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
51151 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
51152 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
51153 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
51154
a78bc654
DM
51155 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
51156 manipulate bits before adding and subtracting TWO112[sx].
51157 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51158
4579f81c
RM
511592012-02-27 Roland McGrath <roland@hack.frob.com>
51160
36c8acb4
RM
51161 [BZ #13775]
51162 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
51163 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
51164 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
51165 being in POSIX, because they are in 1003.1-2008.
51166
84ad622b
RM
51167 * rt/tst-aio.c: Include <fcntl.h>.
51168 * rt/tst-aio7.c: Likewise.
51169 * rt/tst-aio64.c: Likewise.
51170
4579f81c
RM
51171 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
51172
abd923db
JM
511732012-02-27 Joseph Myers <joseph@codesourcery.com>
51174
51175 * manual/install.texi (--with-headers): Describe headers as
51176 interface headers, not private headers.
51177 (Specific advice for GNU/Linux systems): Describe use of headers
51178 from "make headers_install", not private headers from older
51179 kernels.
43be4ca2 51180 * INSTALL: Regenerated.
abd923db
JM
51181 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
51182 Change to 2.6.19.
51183 * sysdeps/unix/sysv/linux/configure: Regenerated.
51184
6664049b
JM
51185 * manual/llio.texi (fclean): Remove documentation.
51186
bb8b6697
JM
51187 * manual/Makefile (libc-texi-generated): New variable. Include
51188 version.texi.
51189 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51190 $(libc-texi-generated), not duplicated list of files.
51191 (version.texi, stamp-version): New rules.
51192 (realclean): Remove $(libc-texi-generated), not individual files
51193 from that list. Do not remove dir-add.texinfo.
51194 * manual/libc.texinfo: Comment out uses of edition numbers and
51195 references to printed manual. Remove last-updated dates.
51196 (EDITION): Comment out.
51197 (ISBN): Likewise.
51198 (VERSION, UPDATED): Remove.
51199 (version.texi): Include.
51200
12e5c3b9
AS
512012012-02-27 Andreas Schwab <schwab@linux-m68k.org>
51202
51203 * sysdeps/posix/spawni.c: Include <signal.h>.
51204 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51205 * sysdeps/pthread/aio_fsync.c: Likewise.
51206
4efeffc1 512072012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 51208
ba63ba08
UD
51209 * conform/Makefile (tests): Run only when not cross-compiling and
51210 when fast-check is not defined.
51211
d94a4670
UD
51212 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51213 * conform/data/limits.h-data: Fixes for POSIX2008.
51214 * conform/run-conformtest.sh: Run all tests.
51215 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51216 headers.
51217 * include/bits/dlfcn.h: Likewise.
51218 * include/langinfo.h: Likewise.
51219 * include/monetary.h: Likewise.
51220 * include/sys/poll.h: Likewise.
51221
51222 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51223 for __USE_GNU.
51224 * posix/spawn.h: Define __need_sigset_t.
51225 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51226 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51227 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
51228 to get sigevent_t only.
51229 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51230 only for __USE_GNU.
51231 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51232 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51233 process_vm_writev only for __USE_GNU.
51234 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
51235
51236 * conform/Makefile: For now ignore errors from run-conformtest.
51237 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
51238 POSIX to avoid namespace pollution. Don't prepend headers.
51239 * conform/data/aio.h-data: Fixes for POSIX testing.
51240 * conform/data/fcntl.h-data: Likewise.
51241 * conform/data/glob.h-data: Likewise.
51242 * conform/data/grp.h-data: Likewise.
51243 * conform/data/pthread.h-data: Likewise.
51244 * conform/data/pwd.h-data: Likewise.
51245 * conform/data/signal.h-data: Likewise.
51246 * conform/data/spawn.h-data: Likewise.
51247 * conform/data/stdio.h-data: Likewise.
51248 * conform/data/stdlib.h-data: Likewise.
51249 * conform/data/stropts.h-data: Likewise.
51250 * conform/data/sys/mman.h-data: Likewise.
51251 * conform/data/sys/stat.h-data: Likewise.
51252 * conform/data/sys/types.h-data: Likewise.
51253 * conform/data/sys/wait.h-data: Likewise.
51254 * conform/data/time.h-data: Likewise.
51255 * conform/data/unistd.h-data: Likewise.
51256 * conform/data/utime.h-data: Likewise.
51257
51258 * io/sys/stat.h: fchmod was always in POSIX.
51259 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51260 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51261 * rt/aio.h: Define __need_timespec before including <time.h>.
51262 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51263 struct. Add forward declaration of pthread_attr_t and use it in
51264 sigevent.
51265 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51266 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51267 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51268 always remove CLK_TCK definition.
51269
c20105c3
AS
512702012-02-26 Andreas Schwab <schwab@linux-m68k.org>
51271
51272 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51273
7a270350
UD
512742012-02-25 Ulrich Drepper <drepper@gmail.com>
51275
31341567
UD
51276 * conform/run-conformtest.sh: New file.
51277 * conform/Makefile: Run run-conformtest for tests.
51278 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
51279 support.
51280
51281 * conform/data/uchar.h-data: New file.
51282 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51283 * conform/data/arpa/inet.h-data: Likewise.
51284 * conform/data/assert.h-data: Likewise.
51285 * conform/data/complex.h-data: Likewise.
51286 * conform/data/cpio.h-data: Likewise.
51287 * conform/data/ctype.h-data: Likewise.
51288 * conform/data/dirent.h-data: Likewise.
51289 * conform/data/dlfcn.h-data: Likewise.
51290 * conform/data/errno.h-data: Likewise.
51291 * conform/data/fcntl.h-data: Likewise.
51292 * conform/data/float.h-data: Likewise.
51293 * conform/data/fmtmsg.h-data: Likewise.
51294 * conform/data/fnmatch.h-data: Likewise.
51295 * conform/data/ftw.h-data: Likewise.
51296 * conform/data/glob.h-data: Likewise.
51297 * conform/data/grp.h-data: Likewise.
51298 * conform/data/iconv.h-data: Likewise.
51299 * conform/data/inttypes.h-data: Likewise.
51300 * conform/data/langinfo.h-data: Likewise.
51301 * conform/data/libgen.h-data: Likewise.
51302 * conform/data/limits.h-data: Likewise.
51303 * conform/data/locale.h-data: Likewise.
51304 * conform/data/math.h-data: Likewise.
51305 * conform/data/monetary.h-data: Likewise.
51306 * conform/data/mqueue.h-data: Likewise.
51307 * conform/data/ndbm.h-data: Likewise.
51308 * conform/data/net/if.h-data: Likewise.
51309 * conform/data/netdb.h-data: Likewise.
51310 * conform/data/netinet/in.h-data: Likewise.
51311 * conform/data/nl_types.h-data: Likewise.
51312 * conform/data/poll.h-data: Likewise.
51313 * conform/data/pthread.h-data: Likewise.
51314 * conform/data/pwd.h-data: Likewise.
51315 * conform/data/regex.h-data: Likewise.
51316 * conform/data/sched.h-data: Likewise.
51317 * conform/data/search.h-data: Likewise.
51318 * conform/data/semaphore.h-data: Likewise.
51319 * conform/data/setjmp.h-data: Likewise.
51320 * conform/data/signal.h-data: Likewise.
51321 * conform/data/spawn.h-data: Likewise.
51322 * conform/data/stdarg.h-data: Likewise.
51323 * conform/data/stdio.h-data: Likewise.
51324 * conform/data/stdlib.h-data: Likewise.
51325 * conform/data/string.h-data: Likewise.
51326 * conform/data/strings.h-data: Likewise.
51327 * conform/data/stropts.h-data: Likewise.
51328 * conform/data/sys/ipc.h-data: Likewise.
51329 * conform/data/sys/mman.h-data: Likewise.
51330 * conform/data/sys/msg.h-data: Likewise.
51331 * conform/data/sys/resource.h-data: Likewise.
51332 * conform/data/sys/select.h-data: Likewise.
51333 * conform/data/sys/sem.h-data: Likewise.
51334 * conform/data/sys/shm.h-data: Likewise.
51335 * conform/data/sys/socket.h-data: Likewise.
51336 * conform/data/sys/stat.h-data: Likewise.
51337 * conform/data/sys/statvfs.h-data: Likewise.
51338 * conform/data/sys/time.h-data: Likewise.
51339 * conform/data/sys/timeb.h-data: Likewise.
51340 * conform/data/sys/times.h-data: Likewise.
51341 * conform/data/sys/types.h-data: Likewise.
51342 * conform/data/sys/uio.h-data: Likewise.
51343 * conform/data/sys/un.h-data: Likewise.
51344 * conform/data/sys/utsname.h-data: Likewise.
51345 * conform/data/sys/wait.h-data: Likewise.
51346 * conform/data/syslog.h-data: Likewise.
51347 * conform/data/tar.h-data: Likewise.
51348 * conform/data/termios.h-data: Likewise.
51349 * conform/data/utime.h-data: Likewise.
51350 * conform/data/utmpx.h-data: Likewise.
51351 * conform/data/varargs.h-data: Likewise.
51352 * conform/data/wchar.h-data: Likewise.
51353 * conform/data/wctype.h-data: Likewise.
51354 * conform/data/wordexp.h-data: Likewise.
51355
51356 * include/stropts.h: New file.
51357 * include/uchar.h: New file.
51358 * include/aio.h: Changes to allow conformtest.pl to use the headers.
51359 * include/assert.h: Likewise.
51360 * include/ctype.h: Likewise.
51361 * include/dirent.h: Likewise.
51362 * include/dlfcn.h: Likewise.
51363 * include/fcntl.h: Likewise.
51364 * include/fnmatch.h: Likewise.
51365 * include/glob.h: Likewise.
51366 * include/grp.h: Likewise.
51367 * include/libio.h: Likewise.
51368 * include/locale.h: Likewise.
51369 * include/math.h: Likewise.
51370 * include/net/if.h: Likewise.
51371 * include/netdb.h: Likewise.
51372 * include/netinet/in.h: Likewise.
51373 * include/pthread.h: Likewise.
51374 * include/pwd.h: Likewise.
51375 * include/regex.h: Likewise.
51376 * include/sched.h: Likewise.
51377 * include/search.h: Likewise.
51378 * include/setjmp.h: Likewise.
51379 * include/signal.h: Likewise.
51380 * include/stdio.h: Likewise.
51381 * include/stdlib.h: Likewise.
51382 * include/string.h: Likewise.
51383 * include/sys/cdefs.h: Likewise.
51384 * include/sys/mman.h: Likewise.
51385 * include/sys/msg.h: Likewise.
51386 * include/sys/resource.h: Likewise.
51387 * include/sys/select.h: Likewise.
51388 * include/sys/socket.h: Likewise.
51389 * include/sys/stat.h: Likewise.
51390 * include/sys/statvfs.h: Likewise.
51391 * include/sys/time.h: Likewise.
51392 * include/sys/times.h: Likewise.
51393 * include/sys/uio.h: Likewise.
51394 * include/sys/utsname.h: Likewise.
51395 * include/sys/wait.h: Likewise.
51396 * include/termios.h: Likewise.
51397 * include/time.h: Likewise.
51398 * include/ulimit.h: Likewise.
51399 * include/unistd.h: Likewise.
51400 * include/utime.h: Likewise.
51401 * include/wchar.h: Likewise.
51402 * include/wctype.h: Likewise.
51403 * include/wordexp.h: Likewise.
51404
51405 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51406
7a270350
UD
51407 * time/time.h: TIME_UTC must be a macro.
51408 Make timespec_get available for ISO C11 only as well.
51409
7724defc
UD
514102012-02-24 Ulrich Drepper <drepper@gmail.com>
51411
51412 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51413 Reported by Peng Haitao <penght@cn.fujitsu.com>.
51414
6b1d1d46
JM
514152012-02-24 Joseph Myers <joseph@codesourcery.com>
51416
51417 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 51418
0f8bbd69
JM
514192012-02-24 Joseph Myers <joseph@codesourcery.com>
51420
51421 * manual/texinfo.tex: Update to version 2012-01-19.16.
51422
66ab80bc
JM
514232012-02-24 Joseph Myers <joseph@codesourcery.com>
51424
51425 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51426
74981cc5
RM
514272012-02-24 Roland McGrath <roland@hack.frob.com>
51428
ee968201
RM
51429 [BZ #13738]
51430 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51431 * manual/fdl-1.3.texi: New file.
51432 * manual/fdl-1.1.texi: File removed.
51433
74981cc5
RM
51434 [BZ #13738]
51435 * manual/libc.texinfo (FDL_VERSION): New @set.
51436 Use it for mention of FDL in cover text.
51437 (Documentation License): Use it in @include file name.
51438
7bb764bc
JM
514392012-02-22 Joseph Myers <joseph@codesourcery.com>
51440 Roland McGrath <roland@hack.frob.com>
51441
51442 [BZ #5461]
57f41c40
AS
51443 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
51444 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
51445 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
51446 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
51447 name.
51448 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
51449
6cbeae47
JM
514502012-02-22 Joseph Myers <joseph@codesourcery.com>
51451
51452 [BZ #2547]
51453 [BZ #11365]
51454 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
51455 manipulate bits before adding and subtracting TWO23[sx].
51456 * math/libm-test.inc (nearbyint_test): Add more tests.
51457
fe45ce09
JM
514582012-02-22 Joseph Myers <joseph@codesourcery.com>
51459
51460 [BZ #2548]
51461 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
51462 bits before adding and subtracting TWO23[sx].
51463 * math/libm-test.inc (rint_test): Add more tests.
51464 (rint_test_tonearest): Likewise.
51465 (rint_test_towardzero): Likewise.
51466 (rint_test_downward): Likewise.
51467 (rint_test_upward: Likewise.
51468
ff3b3d82
JM
514692012-02-22 Joseph Myers <joseph@codesourcery.com>
51470
51471 [BZ #10110]
51472 * include/stdc-predef.h: New file. Extracted from features.h.
51473 * include/features.h: Include stdc-predef.h.
51474 * Makefile (headers): Add stdc-predef.h.
51475 * CONFORMANCE (Compiler limitations): Update.
51476
ef0aab35
JM
514772012-02-22 Joseph Myers <joseph@codesourcery.com>
51478
51479 * manual/libc.texinfo (VERSION, UPDATED): Revert.
51480
58639409
DM
514812012-02-21 David S. Miller <davem@davemloft.net>
51482
51483 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
51484 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51485
c0e70b25
DM
514862012-02-20 David S. Miller <davem@davemloft.net>
51487
51488 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
51489 using a normal save/restore sequence, rather than allocating a
51490 dummy stack frame just to store a frame pointer and restore.
51491 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51492
fb06851d
JM
514932012-02-21 Joseph Myers <joseph@codesourcery.com>
51494
51495 * manual/install.texi: Fix stray word in line-wrapped comment.
51496
7a8b71c3
DM
514972012-02-20 David S. Miller <davem@davemloft.net>
51498
d510c123
DM
51499 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
51500 both binutils and gcc support GOTDATA.
51501
0722d7c2
DM
51502 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
51503 "rd %pc" in the PIC register setup sequences.
51504
3d2b3019
DM
51505 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
51506 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
51507 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51508 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
51509 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51511 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51512 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51513 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
51514 (SYSCALL_ERROR_HANDLER): Likewise.
51515 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51516 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
51518 (SYSCALL_ERROR_HANDLER): Likewise.
51519
c80098a9
DM
51520 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
51521 (HAVE_GCC_GOTDATA): New.
51522 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
51523 relocation support in both binutils and gcc.
51524 * sysdeps/sparc/elf/configure: Regenerate.
51525
3a2545a0
DM
51526 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
51527 * sysdeps/sparc/sparc32/elf/configure: Delete.
51528 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
51529 * sysdeps/sparc/sparc64/elf/configure: Delete.
51530 * sysdeps/sparc/elf/configure.in: New file.
51531 * sysdeps/sparc/elf/configure: Generate.
51532
7a8b71c3
DM
51533 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
51534 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
51535 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51536 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
51537 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
51538
f1e86fca
JM
515392012-02-21 Joseph Myers <joseph@codesourcery.com>
51540
51541 * manual/install.texi: Do not mention specific glibc version
51542 numbers.
51543 * manual/libc.texinfo (VERSION, UPDATED): Update.
51544 (@copying): Use @copyright{} and range of years.
51545
0e7dfaef
JM
515462012-02-21 Joseph Myers <joseph@codesourcery.com>
51547
51548 [BZ #13695]
51549 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
51550 [crti.S not in sysdirs] (generated): Do not append.
51551 [crti.S not in sysdirs] (omit-deps): Likewise.
51552 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
51553 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
51554 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
51555 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
51556 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
51557 Likewise.
51558 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
51559 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
51560 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
51561 * csu/defs.awk: Remove file.
51562 * sysdeps/generic/initfini.c: Likewise.
51563 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
51564 variable.
51565 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
51566 Likewise.
51567
599af3ca
JM
515682012-02-20 Joseph Myers <joseph@codesourcery.com>
51569
51570 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
51571 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
51572 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
51573 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
51574 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51575 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
51576 <bits/epoll.h>.
51577 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
51578 (__EPOLL_PACKED): Define to empty if not defined by
51579 <bits/epoll.h>.
51580 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
51581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51582 bits/epoll.h.
51583
0e499750
JM
515842012-02-20 Joseph Myers <joseph@codesourcery.com>
51585
51586 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
51587 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
51588 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
51589 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
51590 <bits/timerfd.h>.
51591 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
51592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51593 bits/timerfd.h.
51594
5ad91f6e
JM
515952012-02-20 Joseph Myers <joseph@codesourcery.com>
51596
51597 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
51598 in C locale.
51599 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51600 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51601 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
51602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51603
06b99b02
AJ
516042012-02-20 Aurelien Jarno <aurelien@aurel32.net>
51605
51606 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51607 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51608
7638c0fd
AS
516092012-02-19 Andreas Schwab <schwab@linux-m68k.org>
51610
51611 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
51612 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
51613 defined.
51614 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
51615 Likewise.
51616 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
51617 entry for 2.16.
51618
92221550
AJ
516192012-02-19 Aurelien Jarno <aurelien@aurel32.net>
51620
51621 * math/w_acos.c: Use non-signaling floating-point comparisons.
51622 * math/w_acosf.c: Likewise.
51623 * math/w_acosh.c: Likewise.
51624 * math/w_acoshf.c: Likewise.
51625 * math/w_acoshl.c: Likewise.
51626 * math/w_acosl.c: Likewise.
51627 * math/w_asin.c: Likewise.
51628 * math/w_asinf.c: Likewise.
51629 * math/w_asinl.c: Likewise.
51630 * math/w_atanh.c: Likewise.
51631 * math/w_atanhf.c: Likewise.
51632 * math/w_atanhl.c: Likewise.
51633 * math/w_exp2.c: Likewise.
51634 * math/w_exp2f.c: Likewise.
51635 * math/w_exp2l.c: Likewise.
51636 * math/w_j0.c: Likewise.
51637 * math/w_j0f.c: Likewise.
51638 * math/w_j0l.c: Likewise.
51639 * math/w_j1.c: Likewise.
51640 * math/w_j1f.c: Likewise.
51641 * math/w_j1l.c: Likewise.
51642 * math/w_jn.c: Likewise.
51643 * math/w_jnf.c: Likewise.
51644 * math/w_log.c: Likewise.
51645 * math/w_log10.c: Likewise.
51646 * math/w_log10f.c: Likewise.
51647 * math/w_log10l.c: Likewise.
51648 * math/w_log2.c: Likewise.
51649 * math/w_log2f.c: Likewise.
51650 * math/w_log2l.c: Likewise.
51651 * math/w_logf.c: Likewise.
51652 * math/w_logl.c: Likewise.
51653 * math/w_sqrt.c: Likewise.
51654 * math/w_sqrtf.c: Likewise.
51655 * math/w_sqrtl.c: Likewise.
51656 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51657 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
51658 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51659 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51660 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51661
ebaf36eb
JM
516622012-02-19 Joseph Myers <joseph@codesourcery.com>
51663
51664 [BZ #9739]
51665 * manual/string.texi (strnlen): Use correct parameter name in
51666 equivalent expression.
51667
71c254a6
JM
516682012-02-19 Joseph Myers <joseph@codesourcery.com>
51669
51670 [BZ #11174]
51671 * manual/users.texi (seteuid): Consistently use neweuid for
51672 argument name.
51673
16d2c631
JM
516742012-02-19 Joseph Myers <joseph@codesourcery.com>
51675
51676 [BZ #13704]
51677 * manual/nss.texi (Services in the NSS configuration): Correct
51678 list of services in example configuration file.
51679
cd837b09
NB
516802012-02-19 Nick Bowler <nbowler@draconx.ca>
51681
51682 [BZ #11322]
51683 * manual/arith.texi: Remove statements about negative zero
51684 behaving identically to zero.
51685
02c4bbad
JM
516862012-02-18 Joseph Myers <joseph@codesourcery.com>
51687
51688 [BZ #5993]
51689 * manual/install.texi: Do not document upgrading from libc5.
51690
366842e7
JM
516912012-02-18 Joseph Myers <joseph@codesourcery.com>
51692
51693 [BZ #4596]
51694 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
51695
dd54084d
DM
516962012-02-18 David S. Miller <davem@davemloft.net>
51697
51698 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
51699 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
51700 %o7 across the call.
51701 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
51702 instead.
51703 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
51704 SETUP_PIC_REG_LEAF.
51705 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51706 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
51707 * sysdeps/sparc/crtn.S: Likewise.
51708
2bcc53a3
UD
517092012-02-17 Ulrich Drepper <drepper@gmail.com>
51710
51711 * aout/Makefile: Remove.
51712
09c093b5
RK
517132012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
51714
51715 [BZ #13058]
51716 * manual/examples/argp-ex1.c (main): Format definition in GNU
51717 style.
51718 * manual/examples/argp-ex2.c (main): Likewise.
51719 * manual/examples/argp-ex3.c (main): Likewise.
51720 * manual/examples/argp-ex4.c (main): Likewise.
51721 * manual/examples/longopt.c (main): Use new-style prototype
51722 definition.
51723 * manual/examples/strncat.c (main): Specify return type and use
51724 (void) for arguments.
51725 * manual/examples/subopt.c (main): Use char **argv argument.
51726
2ee633a2
JM
517272012-02-17 Joseph Myers <joseph@codesourcery.com>
51728
51729 [BZ #5077]
51730 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
51731 rounding modes.
51732
0520adde
FB
517332012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
51734
51735 [BZ #6907]
51736 * manual/string.texi (strchr): Change when strchrnul is
51737 recommended.
51738
3f4081cd
DGM
517392012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
51740
51741 [BZ #174]
51742 * manual/locale.texi (setlocale): Document LOCPATH.
51743
d1b10e78
JM
517442012-02-17 Joseph Myers <joseph@codesourcery.com>
51745
51746 [BZ #10210]
51747 * manual/process.texi (execle): Move @dots{} before last argument.
51748
79c6869c
PB
517492012-02-17 Paul Bolle <pebolle@tiscali.nl>
51750
51751 [BZ #12047]
51752 * manual/charset.texi (Generic Charset Conversion): Fix typo
51753 (LC_TYPE -> LC_CTYPE).
51754
cc6e48bc
NB
517552012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
51756
51757 [BZ #5805]
51758 * manual/arith.texi (scalbn): Use @var{} on parameter names.
51759 (scalbnf): Likewise.
51760 (scalbnl): Likewise.
51761 (scalbln): Likewise.
51762 (scalblnf): Likewise.
51763 (scalblnl): Likewise.
51764 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
51765 (vwarnx): Likewise.
51766 (verr): Likewise.
51767 (verrx): Likewise.
51768 * manual/filesys.texi (telldir): Use braces around return type.
51769 * manual/llio.texi (mmap): Add space after comma.
51770 (mmap64): Likewise.
51771 * manual/math.texi (jn): Use @var{} on parameter names.
51772 (jnf): Likewise.
51773 (jnl): Likewise.
51774 (yn): Likewise.
51775 (ynf): Likewise.
51776 (ynl): Likewise.
51777 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
51778 line.
51779 * manual/resource.texi (ulimit): Use @dots{} instead of literal
51780 "...".
51781 (sched_get_priority_min): Remove semicolon on @deftypefun line.
51782 (sched_get_priority_max): Likewise.
51783 * manual/signal.texi (sigvec): Add space after comma.
51784 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
51785 names.
51786 (if_indextoname): Likewise.
51787 (if_freenameindex): Likewise.
51788 (sendto): Use ',' instead of '.' in prototype.
51789 * manual/startup.texi (syscall): Use @dots{} instead of literal
51790 "...".
51791 * manual/stdio.texi (__fpending): Separate initial words of
51792 paragraph from @deftypefun line.
51793 * manual/syslog.texi (syslog): Use @dots{} instead of literal
51794 "...".
51795 (vsyslog): Use @var{} on parameter names.
51796 * manual/terminal.texi (stty): Use @var{} on parameter names.
51797 * manual/users.texi (getutmp): Use @var{} on parameter names.
51798 (getutmpx): Likewise.
51799
5b23062f
JM
518002012-02-17 Joseph Myers <joseph@codesourcery.com>
51801
51802 [BZ #6884]
51803 * manual/stdio.texi (fopen): Fix typos in description of
51804 ",ccs=STRING".
51805
8dee4833
AJ
518062012-02-17 Aurelien Jarno <aurelien@aurel32.net>
51807
51808 [BZ #4026]
51809 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
51810 get clock_id definition.
51811
9078ce93
TS
518122012-02-17 Thomas Schwinge <thomas@schwinge.name>
51813
51814 [BZ #4822]
51815 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
51816 (madvise): Cast every argument to void on its own.
51817
3835c55f
JM
518182012-02-17 Joseph Myers <joseph@codesourcery.com>
51819
51820 [BZ #9902]
51821 * manual/startup.texi (Exit Status): Fix typo.
51822
35c47e37
JM
518232012-02-17 Joseph Myers <joseph@codesourcery.com>
51824
51825 [BZ #10140]
51826 * manual/examples/argp-ex1.c: Include <stdlib.h>.
51827 * manual/examples/argp-ex2.c: Likewise.
51828 * manual/examples/argp-ex3.c: Likewise.
51829
e3b69ca7
RH
518302012-02-16 Richard Henderson <rth@redhat.com>
51831
51832 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
51833 * sysdeps/s390/s390-32/initfini.c: Remove.
51834 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
51835 * sysdeps/s390/s390-64/initfini.c: Remove.
51836
df83af67
KK
518372012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
51838
51839 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
51840 compiler output for sysdeps/generic/initfini.c.
51841 * sysdeps/sh/elf/initfini.c: Remove file.
51842
f63f3380
DM
518432012-02-16 David S. Miller <davem@davemloft.net>
51844
fb59b3a4
DM
51845 [BZ #11494]
51846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
51847
f63f3380
DM
51848 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
51849 * sysdeps/sparc/crti.S: New file.
51850 * sysdeps/sparc/crtn.S: New file.
51851 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
51852 * sysdeps/sparc/sparc64/Makefile: Likewise.
51853
df6a4a4a
MF
518542012-02-15 Mike Frysinger <vapier@gentoo.org>
51855
6dd8f3dc 51856 [BZ #3335]
df6a4a4a
MF
51857 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
51858
1cac7236
RM
518592012-02-15 Roland McGrath <roland@hack.frob.com>
51860
d2c736f8
RM
51861 [BZ #4822]
51862 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
51863
1cac7236
RM
51864 * mach/devstream.c (cookie_io_functions_t): Macro removed.
51865 (write, read, close): Likewise.
51866 Patch by Aurelien Jarno <aurelien@aurel32.net>.
51867
8e475601
JM
518682012-02-15 Joseph Myers <joseph@codesourcery.com>
51869
51870 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
51871 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
51872 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
51873 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
51874 <bits/signalfd.h>.
51875 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
51876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51877 bits/signalfd.h.
51878
ed656b40
MP
518792012-02-14 Marek Polacek <polacek@redhat.com>
51880
51881 * sysdeps/x86_64/crti.S: New file.
51882 * sysdeps/x86_64/crtn.S: New file.
51883 * sysdeps/x86_64/elf/initfini.c: Remove file.
51884
2a979d3a
JM
518852012-02-13 Joseph Myers <joseph@codesourcery.com>
51886
51887 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
51888 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
51889 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
51890 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
51891 <bits/inotify.h>.
51892 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
51893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51894 bits/inotify.h.
51895
2a418ac3
JM
518962012-02-13 Joseph Myers <joseph@codesourcery.com>
51897
51898 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
51899 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
51900 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
51901 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
51902 <bits/eventfd.h>.
51903 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
51904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51905 bits/eventfd.h.
51906
fb779be7
TS
519072012-02-10 Thomas Schwinge <thomas@codesourcery.com>
51908
e19e83c5
RM
51909 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
51910 __feraiseexcept instead of feraiseexcept.
7c35ffed 51911
fb779be7
TS
51912 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
51913 nanosleep invocations.
51914 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
51915 strings, and add error checking for a nanosleep invocations.
51916
59ba27a6
PE
519172012-02-09 Paul Eggert <eggert@cs.ucla.edu>
51918
51919 Replace FSF snail mail address with URLs, as per GNU coding standards.
51920 Most of the snail mail addresses were wrong anyway, and omitting
51921 them makes the source code easier to maintain. Almost all of the
51922 changes are to license notices and to locale LC_IDENTIFICATION
51923 addresses, except for this one:
51924 * manual/libc.texinfo: In "Published by", give the FSF's URL,
51925 not its snail mail address.
51926
57b957eb
RH
519272012-02-09 Richard Henderson <rth@twiddle.net>
51928
af850b1c
RH
51929 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
51930 of kernel-features.h.
51931
57b957eb
RH
51932 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
51933
6b73181a
MP
519342012-02-08 Marek Polacek <polacek@redhat.com>
51935
51936 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
51937 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
51938 * sysdeps/gnu/_G_config.h: Likewise.
51939 * sysdeps/generic/_G_config.h: Likewise.
51940
26ecc33a
AS
519412012-02-08 Andreas Schwab <schwab@linux-m68k.org>
51942
6c6dbc63
AS
51943 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
51944 tests.
51945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51946
e216c012
AS
51947 * sysdeps/powerpc/powerpc32/crti.S: New file.
51948 * sysdeps/powerpc/powerpc32/crtn.S: New file.
51949 * sysdeps/powerpc/powerpc64/crti.S: New file.
51950 * sysdeps/powerpc/powerpc64/crtn.S: New file.
51951
26ecc33a
AS
51952 * Makeconfig (have-initfini): Don't set.
51953 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
51954 * configure.in (nopic_initfini): Don't substitute.
51955 * config.h.in (HAVE_INITFINI): Don't #undef.
51956 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
51957 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
51958
3add8e13
JM
519592012-02-08 Joseph Myers <joseph@codesourcery.com>
51960
51961 Support crti.S and crtn.S provided directly by architectures.
51962 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
51963 [crti.S in sysdirs] (omit-deps): Likewise.
51964 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
51965 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
51966 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
51967 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
51968 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
51969 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
51970 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
51971 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
51972 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
51973 compiler output for sysdeps/generic/initfini.c.
51974 * sysdeps/i386/elf/Makefile: Remove file.
51975 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
51976
a22f12b4
MP
519772012-02-07 Marek Polacek <polacek@redhat.com>
51978
51979 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
51980 * sysdeps/gnu/_G_config.h: Likewise.
51981 * sysdeps/mach/hurd/_G_config.h: Likewise.
51982
148cf100
MP
519832012-02-07 Marek Polacek <polacek@redhat.com>
51984
51985 * math/Makefile (tests): Add tst-CMPLX2.
51986 * math/tst-CMPLX2.c: New file.
51987
cfdc0dd7
AS
519882012-02-07 Andreas Schwab <schwab@linux-m68k.org>
51989
84ba42c4
AS
51990 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51991
cfdc0dd7
AS
51992 * math/libm-test.inc (jn_test): Add missing L suffix.
51993
622c86f4
MP
519942012-02-06 Marek Polacek <polacek@redhat.com>
51995
51996 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
51997 * sysdeps/i386/fpu/e_powf.S: Likewise.
51998 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51999 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52000 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52001 * sysdeps/i386/fpu/e_pow.S: Likewise.
52002 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52003 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52004 * sysdeps/i386/fpu/s_expm1.S: Likewise.
52005 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52006 * sysdeps/i386/fpu/e_log2.S: Likewise.
52007 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52008 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52009 * sysdeps/i386/fpu/e_powl.S: Likewise.
52010 * sysdeps/i386/fpu/s_log1p.S: Likewise.
52011 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52012 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52013 * sysdeps/i386/fpu/e_logl.S: Likewise.
52014 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52015 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52016 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52017 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52018 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52019 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52020 * sysdeps/i386/fpu/e_log.S: Likewise.
52021 * sysdeps/i386/fpu/s_cexp.S: Likewise.
52022 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52023 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52024 * sysdeps/i386/fpu/e_logf.S: Likewise.
52025 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52026 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52027 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52028 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52029 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52030 * sysdeps/i386/fpu/e_log10.S: Likewise.
52031 * sysdeps/i386/fpu/s_frexp.S: Likewise.
52032 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52033 * sysdeps/i386/fpu/s_asinh.S: Likewise.
52034 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52035 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52036 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52037 * sysdeps/i386/asm-syntax.h: Likewise.
52038 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52039 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52040 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52041 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
52042 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
52043 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52044 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52045 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52046 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52047 * sysdeps/powerpc/sysdep.h: Likewise.
52048 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
52049 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52050
d4a54ac6
JM
520512012-02-06 Joseph Myers <joseph@codesourcery.com>
52052
52053 [BZ #411]
52054 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
52055
314054ea
JM
520562012-02-06 Joseph Myers <joseph@codesourcery.com>
52057
52058 * sysdeps/i386/sysdep.h: Include <features.h>.
52059 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
52060 version.
52061
d8e0ca50
JM
520622012-02-05 Joseph Myers <joseph@codesourcery.com>
52063
52064 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
52065 Define.
52066 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
52067 LOAD_PIC_REG_STR.
52068
b1da7dd9
JM
520692012-02-03 Joseph Myers <joseph@codesourcery.com>
52070
52071 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
52072 (SETUP_PIC_REG): Use GET_PC_THUNK.
52073 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
52074 macro.
52075
9a1d9254
JM
520762012-02-03 Joseph Myers <joseph@codesourcery.com>
52077
52078 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
52079 for non-PIC compilation.
52080 (SETUP_PIC_REG): Add .p2align directive.
52081 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
52082 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
52083 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52084 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52085 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52086 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52087 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
52088 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52089 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52090 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52091 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52092 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52093 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52094 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52095 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52096 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52097 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52098 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52099 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52100 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52101 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52102 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52103 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52104 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52105 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52106 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52107 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52108 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52109 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52110 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52111 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52112 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52113 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52114 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52115 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52116 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52117 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52118 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52119 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52120 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52121 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52122
65dc3b75
JM
521232012-02-03 Joseph Myers <joseph@codesourcery.com>
52124
52125 * math/tst-CMPLX.c: Include <stdio.h>.
52126
d55bf177
JM
521272012-01-31 Joseph Myers <joseph@codesourcery.com>
52128
52129 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52130 float.
52131 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52132 * sysdeps/sparc/bits/mathdef.h: Likewise.
52133
69db4f8f
MP
521342012-01-31 Marek Polacek <polacek@redhat.com>
52135
52136 * libio/libio.h: Don't define _PARAMS.
52137 * locale/programs/config.h: Don't define PARAMS.
52138 * stdlib/strtol_l.c: Likewise.
52139 (__strtol_l): Remove PARAMS from the prototype.
52140
41b81892
UD
521412012-01-31 Ulrich Drepper <drepper@gmail.com>
52142
3b49edc0
UD
52143 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
52144 names. Just use the correct names. Remove unnecessary wrapper
52145 functions.
52146 * malloc/arena.c: Likewise.
52147 * malloc/hooks.c: Likewise.
52148
41b81892
UD
52149 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
52150 ARENA_TEST says not to. Simplify test for creation of a new arena.
52151 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
52152
27a25b6e
UD
521532012-01-30 Ulrich Drepper <drepper@gmail.com>
52154
52155 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
52156 into tail calls.
52157 (update_get_addr): New function.
52158 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
52159 GET_ADDR_MODULE parameter.
52160
c8a89e7d
JM
521612012-01-30 Joseph Myers <joseph@codesourcery.com>
52162
52163 * crypt/cert.c: Remove __STDC__ conditionals.
52164 * crypt/crypt-entry.c: Likewise.
52165 * crypt/crypt_util.c: Likewise.
52166 * libio/filedoalloc.c: Likewise.
52167 * libio/fileops.c: Likewise.
52168 * libio/genops.c: Likewise.
52169 * libio/iofclose.c: Likewise.
52170 * libio/iofdopen.c: Likewise.
52171 * libio/iofopen.c: Likewise.
52172 * libio/iofopen64.c: Likewise.
52173 * libio/iogetdelim.c: Likewise.
52174 * libio/iopopen.c: Likewise.
52175 * libio/obprintf.c: Likewise.
52176 * libio/oldfileops.c: Likewise.
52177 * libio/oldiofclose.c: Likewise.
52178 * libio/oldiofdopen.c: Likewise.
52179 * libio/oldiofopen.c: Likewise.
52180 * libio/oldiopopen.c: Likewise.
52181 * libio/wfiledoalloc.c: Likewise.
52182 * libio/wgenops.c: Likewise.
52183 * locale/programs/xmalloc.c: Likewise.
52184 * misc/syslog.c: Likewise.
52185 * stdio-common/xbug.c: Likewise.
52186 * string/memchr.c: Likewise.
52187 * string/memcmp.c: Likewise.
52188 * string/memrchr.c: Likewise.
52189 * string/rawmemchr.c: Likewise.
52190 * sysdeps/posix/getcwd.c: Likewise.
52191 * time/strftime_l.c: Likewise.
52192
3b100462
JM
521932012-01-30 Joseph Myers <joseph@codesourcery.com>
52194
52195 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
52196 * config.make.in (config-cflags-sse2avx): Define.
52197 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52198 Fix typo.
52199
607998af
CM
522002012-01-29 Chris Metcalf <cmetcalf@tilera.com>
52201
52202 * scripts/config.guess: Update from upstream config git repository.
52203 * scripts/config.sub: Likewise.
52204
3601428f
CM
522052012-01-28 Chris Metcalf <cmetcalf@tilera.com>
52206
3ac8b282
CM
52207 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52208 (EM_NUM): Update.
52209 (R_TILEPRO_*, R_TILEGX_*): New macros.
52210
e034841e
CM
52211 * scripts/firstversions.awk: Fix bug in version range handling.
52212
540d7568
CM
52213 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52214
3601428f
CM
52215 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52216
463de862
CM
52217 * include/sys/epoll.h: New file.
52218 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52219 libc_hidden_def.
52220
73139a76
UD
522212012-01-28 Ulrich Drepper <drepper@gmail.com>
52222
96bc5b45
UD
52223 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52224 Avoid unnecessary __WORDSIZE == 64 test.
52225 (fmaxf): Use VEX format if possible.
52226 (fmax): Likewise.
52227 (fminf): Likewise.
52228 (fmin): Likewise.
52229
56f6f6a2
UD
52230 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52231 * math/math_private.h: Remove libc_fegetround* and
52232 libc_fesetround*.
52233 * sysdeps/i386/configure.in: Check for -msse2avx.
52234 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52235 also if SSE2AVX is defined.
52236 Remove libc_fegetround* and libc_fesetround*.
52237 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52238 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
52239 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52240 of HAS_YMM_USABLE.
52241 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52242 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52243 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52244 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52245 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52246
73139a76
UD
52247 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52248
d73f93a4
AZ
522492012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52250
52251 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52252 size is not set.
52253 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52254
6ee65ed6
UD
522552012-01-27 Ulrich Drepper <drepper@gmail.com>
52256
52257 [BZ #13618]
52258 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52259 relocation.
52260 * Makeconfig (libm): Define.
52261 * elf/Makefile: Add rules to build and run tst-relsort1.
52262 * elf/tst-relsort1.c: New file.
52263 * elf/tst-relsort1mod1.c: New file.
52264 * elf/tst-relsort1mod2.c: New file.
52265
8db21882
JM
522662012-01-27 Joseph Myers <joseph@codesourcery.com>
52267
52268 * math/s_ldexp.c: Remove __STDC__ conditionals.
52269 * math/s_ldexpf.c: Likewise.
52270 * math/s_ldexpl.c: Likewise.
52271 * math/s_nextafter.c: Likewise.
52272 * math/s_nexttowardf.c: Likewise.
52273 * math/s_significand.c: Likewise.
52274 * math/s_significandf.c: Likewise.
52275 * math/s_significandl.c: Likewise.
52276 * math/w_jnl.c: Likewise.
52277 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52278 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52279 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52280 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52281 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52282 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52283 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52284 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52285 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52286 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52287 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52288 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52289 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52290 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52291 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52292 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52293 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52294 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52295 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52296 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52297 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52298 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52299 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52300 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52301 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52302 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52303 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52304 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52305 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52306 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52307 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52308 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52309 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52310 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52311 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52312 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52313 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52314 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52315 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52316 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52317 * sysdeps/ieee754/k_standard.c: Likewise.
52318 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52319 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52320 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52321 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52322 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52323 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52324 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52325 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52326 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52327 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52328 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52329 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52330 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52331 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52332 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52333 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52334 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52335 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52336 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52337 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52338 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52339 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52340 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52341 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52342 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52343 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52344 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52345 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52346 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52347 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52348 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52349 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52350 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52351 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52352 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52353 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52354 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52355 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52356 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52357 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52358 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52359 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52360 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52361 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52362 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52363 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52364 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52365 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52366 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52367 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52368 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52369 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52370 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52371 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52372 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52373 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52374 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52375 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52376 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52377 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52378 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52379 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52380 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52381 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52382 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52383 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52384 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52385 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52386 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52387 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52388 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52389 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52390 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52391 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52392 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52393 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52394 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52395 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52396 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52397 * sysdeps/ieee754/s_matherr.c: Likewise.
52398 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52399 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52400 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52401 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52402
965a54a4
JM
524032012-01-26 Joseph Myers <joseph@codesourcery.com>
52404
52405 * crypt/md5.h: Remove __STDC__ conditionals.
52406 * libio/libioP.h: Likewise.
52407 * locale/programs/config.h: Likewise.
52408 * sysdeps/generic/sysdep.h: Likewise.
52409 * sysdeps/i386/asm-syntax.h: Likewise.
52410 * sysdeps/s390/asm-syntax.h: Likewise.
52411 * sysdeps/unix/sysdep.h: Likewise.
52412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52414
7071ad79
JM
524152012-01-26 Joseph Myers <joseph@codesourcery.com>
52416
52417 * libio/libio.h: Remove __STDC__ conditionals.
52418 * malloc/obstack.h: Likewise.
52419 * math/complex.h: Likewise.
52420 * math/math.h: Likewise.
52421 * sysdeps/generic/_G_config.h: Likewise.
52422 * sysdeps/gnu/_G_config.h: Likewise.
52423 * sysdeps/mach/hurd/_G_config.h: Likewise.
52424 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52425 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52426 * sysdeps/sparc/bits/mathdef.h: Likewise.
52427
afc5ed09
UD
524282012-01-26 Ulrich Drepper <drepper@gmail.com>
52429
52430 [BZ #13583]
52431 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 52432 Clean up HAS_* macros.
afc5ed09 52433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
52434 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
52435 possible.
52436 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
52437 HAS_AVX.
52438 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52439 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52440 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52441 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52442 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 52443
bdb6de1d
JM
524442012-01-25 Joseph Myers <joseph@codesourcery.com>
52445
52446 * elf/tst-unique3.cc (gets): Remove declaration.
52447 * elf/tst-unique3lib.cc (gets): Likewise.
52448 * elf/tst-unique3lib2.cc (gets): Likewise.
52449 * elf/tst-unique4.cc (gets): Likewise.
52450
b15549e6
UD
524512012-01-24 Ulrich Drepper <drepper@gmail.com>
52452
52453 * include/stdio.h: Add C++ protection. Add gets declarations and
52454 definitions.
52455 * debug/tst-chk1.c: Don't declare gets here.
52456 * stdio-common/tst-gets.c: Likewise.
52457
a037381f
JM
524582012-01-24 Joseph Myers <joseph@codesourcery.com>
52459
52460 * posix/glob: Remove directory.
52461
f1d4aa75
JM
524622012-01-24 Joseph Myers <joseph@codesourcery.com>
52463
52464 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
52465
81c0c964
PT
524662012-01-22 Pino Toscano <toscano.pino@tiscali.it>
52467
52468 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
52469 of the non-standard EPFNOSUPPORT.
52470
0ea698ae
ST
524712011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
52472
52473 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
52474 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
52475 ANYWHERE set to 1 only on KERN_NO_SPACE error.
52476
d220b117
UD
524772012-01-21 Ulrich Drepper <drepper@gmail.com>
52478
52479 * wcsmbs/uchar.h: Test __STDC_VERSION__.
52480
3e1aa84e
UD
524812012-01-20 Ulrich Drepper <drepper@gmail.com>
52482
52483 * nscd/aicache.c (addhstaiX): Do not cache negative results of
52484 transient errors.
52485 * nscd/grpcache.c (cache_addgr): Likewise.
52486 * nscd/hstcache.c (cache_addhst): Likewise.
52487 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52488 * nscd/pwdcache.c (cache_addpw): Likewise.
52489 * nscd/servicescache.c (cache_addserv): Likewise.
52490
400aa020
UD
524912012-01-16 Ulrich Drepper <drepper@gmail.com>
52492
d77e7869
UD
52493 * malloc/malloc.c: Various cleanups.
52494 * malloc/hooks.c: Likewise.
52495
400aa020
UD
52496 * stdlib/Makefile (tests): Add bug-fmtmsg1.
52497 * stdlib/bug-fmtmsg1.c: New file.
52498
52499 * stdlib/fmtmsg.c (init): Add missing unlock.
52500 Patch by Peng Haitao <penght@cn.fujitsu.com>.
52501
e0a309cf
MP
525022012-01-12 Marek Polacek <polacek@redhat.com>
52503
52504 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
52505 and _GNU_SOURCE.
52506
929d11c7
WS
525072012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52508
52509 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
52510 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
52511 macro to ensure uniqueness of label name.
52512 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52513 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52514
41d0e869
UD
525152012-01-11 Ulrich Drepper <drepper@gmail.com>
52516
0cc5ed3b
UD
52517 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
52518
41d0e869
UD
52519 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
52520 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52521 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52522 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
52523
a47a831a
UD
525242012-01-10 Ulrich Drepper <drepper@gmail.com>
52525
daa891c0
UD
52526 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
52527
52528 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
52529 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52530 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52531
e58ef0f2
UD
52532 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
52533
a47a831a 52534 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
52535 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52536 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 52537 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
52538
52539 * math/bits/math-finite.h: Add ldexp support.
52540
a0bfc9c7
MP
525412012-01-10 Marek Polacek <polacek@redhat.com>
52542
52543 * locale/programs/localedef.h (show_archive_content): Add noreturn
52544 attribute.
52545
d6e97a1d
UD
525462012-01-09 Ulrich Drepper <drepper@gmail.com>
52547
52548 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
52549
d5835c26
UD
525502012-01-08 Ulrich Drepper <drepper@gmail.com>
52551
e5f484c6
UD
52552 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
52553
d5835c26
UD
52554 * io/Makefile (headers): Add bits/poll2.h.
52555
d1f741e9
WS
525562011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
52557
52558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
52559 typo #include statement.
52560
ec09c1c4
UD
525612012-01-08 Ulrich Drepper <drepper@gmail.com>
52562
52563 * include/sys/cdefs.h: Define __attribute_alloc_size.
52564 * catgets/gencat.c: Add alloc_size attribute and apply consistently
52565 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
52566 * elf/pldd.c: Likewise.
52567 * iconv/iconv_charmap.c: Likewise.
52568 * iconv/iconvconfig.c: Likewise.
52569 * iconv/strtab.c: Likewise.
52570 * locale/programs/locale.c: Likewise.
52571 * locale/programs/localedef.h: Likewise.
52572 * locale/programs/simple-hash.c: Likewise.
52573 * nscd/nscd.h: Likewise.
52574 * nss/makedb.c: Likewise.
52575 * sysdeps/generic/ldconfig.h: Likewise.
52576 * locale/programs/localedef.c: Remove xmalloc prototype.
52577 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
52578
20b38e03
PP
525792012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52580
52581 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
52582 appropriate.
52583
a0da5fe1
UD
525842012-01-08 Ulrich Drepper <drepper@gmail.com>
52585
1d5a644a 52586 * math/Makefile (tests): Add tst-CMPLX.
669704fd 52587 * math/tst-CMPLX.c: New file.
1d5a644a 52588
8784a6db
UD
52589 * math/complex.h (CMPLXL): Fix typo.
52590
d9a216c0
UD
52591 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
52592 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
52593 GLIBC_2.16.
52594 * debug/tst-chk1.c: Add poll and ppoll tests.
52595 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
52596 * include/sys/poll.h: Add hidden proto for ppoll.
52597 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
52598 * sysdeps/mach/hurd/ppoll.c: Likewise.
52599 * io/ppoll.c: Likewise.
52600 * debug/poll_chk.c: New file.
52601 * debug/ppoll_chk.c: New file.
52602 * include/bits/poll2.h: New file.
52603 * io/bits/poll2.h: New file.
52604
ac097f5c
UD
52605 [BZ #1350]
52606 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
52607
2119dcfa
UD
52608 * configure.in: static is always set to yes. Remove.
52609 * config.make.in: Don't set build-static.
52610 * Makeconfig: Remove use of build-static.
52611 * dlfcn/Makefile: Likewise.
52612 * elf/Makefile: Likewise.
52613 * math/Makefile: Likewise.
52614 * misc/Makefile: Likewise.
52615 * nptl/Makefile: Likewise.
52616 * sysdeps/mach/hurd/Makefile: Likewise.
52617
121766a9
UD
52618 * configure.in: PWD_P is not used anymore.
52619 * config.make.in: Remove PWD_P entry.
52620
51a1d39c 52621 * configure.in: Remove last remnants of RANLIB.
8720d066 52622 No need to check for signed size_t anymore.
215f4bdc
UD
52623 Don't set libc_commonpagesize and libc_relro_required here for Alpha
52624 and IA-64.
3857022a 52625 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
52626 * aclocal.m4: Likewise.
52627
d3ed7225
UD
52628 * wcsmbs/mbrtoc16.c: Implement using towc function.
52629 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
52630 * wcsmbs/wcsmbsload.c: Likewise.
52631 * iconv/gconv_simple.c: Likewise.
52632 * iconv/gconv_int.h: Likewise.
52633 * iconv/gconv_builtin.h: Likewise.
52634 * iconv/iconv_prog.c: Remove CHAR16 handling.
52635
52636 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
52637
52638 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
52639
a0da5fe1
UD
52640 * configure.in: Remove --with-elf and --enable-bounded options.
52641 Dont set base_machine for ia64. More non-ELF conditions removed.
52642 Remove testing and setting of leading underscore information.
52643 * config.make.in (build-bounded): Set to no.
52644 * config.h.in: Remove NO_UNDERSCORES entry.
52645 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
52646 them.
52647 * csu/start.c: Remove !NO_UNDERSCORE code.
52648 * locale/localeinfo.h: Likewise.
52649 * sysdeps/generic/machine-gmon.h: Likewise.
52650 * sysdeps/generic/sysdep.h: Likewise.
52651 * sysdeps/i386/sysdep.h: Likewise.
52652 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52653 * sysdeps/mach/sysdep.h: Likewise.
52654 * sysdeps/s390/s390-32/sysdep.h: Likewise.
52655 * sysdeps/s390/s390-64/sysdep.h: Likewise.
52656 * sysdeps/sh/sysdep.h: Likewise.
52657 * sysdeps/sparc/sparc32/alloca.S: Likewise.
52658 * sysdeps/unix/i386/sysdep.S: Likewise.
52659 * sysdeps/unix/sparc/start.c: Likewise.
52660 * sysdeps/unix/sparc/sysdep.S: Likewise.
52661 * sysdeps/unix/sparc/sysdep.h: Likewise.
52662 * sysdeps/unix/start.c: Likewise.
52663 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52664 * sysdeps/x86_64/sysdep.h: Likewise.
52665
df78418a
UD
526662012-01-07 Ulrich Drepper <drepper@gmail.com>
52667
a784e502
UD
52668 [BZ #13553]
52669 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
52670 for non-gcc.
52671 * argp/argp-fmtstream.h: Use const instead __const.
52672 * argp/argp.h: Likewise.
52673 * assert/assert.h: Likewise.
52674 * bits/fenv.h: Likewise.
52675 * bits/sched.h: Likewise.
52676 * bits/sigset.h: Likewise.
52677 * bits/sigthread.h: Likewise.
52678 * catgets/nl_types.h: Likewise.
52679 * conform/data/pthread.h-data: Likewise.
52680 * crypt/crypt-private.h: Likewise.
52681 * crypt/crypt.h: Likewise.
52682 * crypt/crypt_util.c: Likewise.
52683 * ctype/ctype.h: Likewise.
52684 * debug/execinfo.h: Likewise.
52685 * debug/mbsnrtowcs_chk.c: Likewise.
52686 * debug/mbsrtowcs_chk.c: Likewise.
52687 * debug/wcsnrtombs_chk.c: Likewise.
52688 * debug/wcsrtombs_chk.c: Likewise.
52689 * debug/wcstombs_chk.c: Likewise.
52690 * dirent/dirent.h: Likewise.
52691 * dlfcn/dlfcn.h: Likewise.
52692 * elf/neededtest4.c: Likewise.
52693 * grp/grp.h: Likewise.
52694 * gshadow/gshadow.h: Likewise.
52695 * iconv/gconv.h: Likewise.
52696 * iconv/gconv_int.h: Likewise.
52697 * iconv/gconv_simple.c: Likewise.
52698 * iconv/iconv.h: Likewise.
52699 * iconv/loop.c: Likewise.
52700 * iconv/skeleton.c: Likewise.
52701 * include/aio.h: Likewise.
52702 * include/aliases.h: Likewise.
52703 * include/argz.h: Likewise.
52704 * include/arpa/inet.h: Likewise.
52705 * include/assert.h: Likewise.
52706 * include/dirent.h: Likewise.
52707 * include/dlfcn.h: Likewise.
52708 * include/execinfo.h: Likewise.
52709 * include/fcntl.h: Likewise.
52710 * include/fenv.h: Likewise.
52711 * include/glob.h: Likewise.
52712 * include/grp.h: Likewise.
52713 * include/libintl.h: Likewise.
52714 * include/mntent.h: Likewise.
52715 * include/netdb.h: Likewise.
52716 * include/pwd.h: Likewise.
52717 * include/rpc/netdb.h: Likewise.
52718 * include/sched.h: Likewise.
52719 * include/search.h: Likewise.
52720 * include/shadow.h: Likewise.
52721 * include/signal.h: Likewise.
52722 * include/stdio.h: Likewise.
52723 * include/stdlib.h: Likewise.
52724 * include/string.h: Likewise.
52725 * include/sys/socket.h: Likewise.
52726 * include/sys/stat.h: Likewise.
52727 * include/sys/statfs.h: Likewise.
52728 * include/sys/statvfs.h: Likewise.
52729 * include/sys/syslog.h: Likewise.
52730 * include/sys/time.h: Likewise.
52731 * include/sys/uio.h: Likewise.
52732 * include/time.h: Likewise.
52733 * include/unistd.h: Likewise.
52734 * include/utmp.h: Likewise.
52735 * include/wchar.h: Likewise.
52736 * include/wctype.h: Likewise.
52737 * inet/aliases.h: Likewise.
52738 * inet/arpa/inet.h: Likewise.
52739 * inet/netinet/ether.h: Likewise.
52740 * inet/netinet/in.h: Likewise.
52741 * intl/libintl.h: Likewise.
52742 * io/bits/fcntl2.h: Likewise.
52743 * io/fcntl.h: Likewise.
52744 * io/ftw.h: Likewise.
52745 * io/sys/poll.h: Likewise.
52746 * io/sys/stat.h: Likewise.
52747 * io/sys/statfs.h: Likewise.
52748 * io/sys/statvfs.h: Likewise.
52749 * io/utime.h: Likewise.
52750 * libio/bits/stdio.h: Likewise.
52751 * libio/bits/stdio2.h: Likewise.
52752 * libio/libio.h: Likewise.
52753 * libio/libioP.h: Likewise.
52754 * libio/stdio.h: Likewise.
52755 * locale/lc-ctype.c: Likewise.
52756 * locale/locale.h: Likewise.
52757 * login/utmp.h: Likewise.
52758 * malloc/arena.c: Likewise.
52759 * malloc/malloc.c: Likewise.
52760 * malloc/malloc.h: Likewise.
52761 * malloc/mcheck.c: Likewise.
52762 * malloc/mtrace.c: Likewise.
52763 * math/bits/mathcalls.h: Likewise.
52764 * math/fenv.h: Likewise.
52765 * math/math_private.h: Likewise.
52766 * misc/bits/error.h: Likewise.
52767 * misc/bits/syslog.h: Likewise.
52768 * misc/err.h: Likewise.
52769 * misc/error.h: Likewise.
52770 * misc/fstab.h: Likewise.
52771 * misc/mntent.h: Likewise.
52772 * misc/regexp.h: Likewise.
52773 * misc/search.h: Likewise.
52774 * misc/sgtty.h: Likewise.
52775 * misc/sys/mman.h: Likewise.
52776 * misc/sys/syslog.h: Likewise.
52777 * misc/sys/uio.h: Likewise.
52778 * misc/sys/xattr.h: Likewise.
52779 * misc/ttyent.h: Likewise.
52780 * nis/rpcsvc/ypclnt.h: Likewise.
52781 * nss/nss.h: Likewise.
52782 * posix/bits/unistd.h: Likewise.
52783 * posix/fnmatch.h: Likewise.
52784 * posix/glob.h: Likewise.
52785 * posix/sched.h: Likewise.
52786 * posix/spawn.h: Likewise.
52787 * posix/sys/wait.h: Likewise.
52788 * posix/unistd.h: Likewise.
52789 * posix/wordexp.h: Likewise.
52790 * pwd/pwd.h: Likewise.
52791 * resolv/netdb.h: Likewise.
52792 * resource/sys/resource.h: Likewise.
52793 * rt/aio.h: Likewise.
52794 * rt/bits/mqueue2.h: Likewise.
52795 * rt/mqueue.h: Likewise.
52796 * shadow/shadow.h: Likewise.
52797 * signal/signal.h: Likewise.
52798 * socket/send.c: Likewise.
52799 * socket/sendto.c: Likewise.
52800 * socket/sys/socket.h: Likewise.
52801 * stdio-common/printf.h: Likewise.
52802 * stdlib/bits/stdlib.h: Likewise.
52803 * stdlib/fmtmsg.h: Likewise.
52804 * stdlib/monetary.h: Likewise.
52805 * stdlib/stdlib.h: Likewise.
52806 * stdlib/ucontext.h: Likewise.
52807 * streams/stropts.h: Likewise.
52808 * string/argz.h: Likewise.
52809 * string/bits/string2.h: Likewise.
52810 * string/string.h: Likewise.
52811 * string/strings.h: Likewise.
52812 * sunrpc/rpc/auth.h: Likewise.
52813 * sunrpc/rpc/auth_des.h: Likewise.
52814 * sunrpc/rpc/clnt.h: Likewise.
52815 * sunrpc/rpc/netdb.h: Likewise.
52816 * sunrpc/rpc/pmap_clnt.h: Likewise.
52817 * sunrpc/rpc/xdr.h: Likewise.
52818 * sysdeps/generic/inttypes.h: Likewise.
52819 * sysdeps/generic/net/if.h: Likewise.
52820 * sysdeps/generic/sys/swap.h: Likewise.
52821 * sysdeps/gnu/net/if.h: Likewise.
52822 * sysdeps/gnu/utmpx.h: Likewise.
52823 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
52824 * sysdeps/i386/i486/bits/string.h: Likewise.
52825 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
52826 * sysdeps/s390/bits/string.h: Likewise.
52827 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
52828 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
52829 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
52830 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
52831 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
52832 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
52833 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
52834 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
52835 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
52836 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
52837 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
52838 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52839 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
52840 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52841 * sysdeps/unix/sysv/linux/readv.c: Likewise.
52842 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
52843 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52844 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52845 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
52846 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
52847 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52848 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
52849 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
52850 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
52851 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
52852 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
52853 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
52854 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52855 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
52856 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
52857 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
52858 * sysvipc/sys/ipc.h: Likewise.
52859 * sysvipc/sys/msg.h: Likewise.
52860 * sysvipc/sys/sem.h: Likewise.
52861 * sysvipc/sys/shm.h: Likewise.
52862 * termios/termios.h: Likewise.
52863 * time/sys/time.h: Likewise.
52864 * time/time.h: Likewise.
52865 * wcsmbs/bits/wchar2.h: Likewise.
52866 * wcsmbs/uchar.h: Likewise.
52867 * wcsmbs/wchar.h: Likewise.
52868 * wctype/wctype.h: Likewise.
52869
0269750c
UD
52870 [BZ #13551]
52871 * Makeconfig: Remove all but ELF support including AIX support.
52872 * Makerules: Likewise.
52873 * config.h.in: Likewise.
52874 * config.make.in: Likewise.
52875 * configure: Likewise.
52876 * configure.in: Likewise.
52877 * csu/Makefile: Likewise.
52878 * csu/version.c: Likewise.
52879 * debug/Makefile: Likewise.
52880 * dlfcn/Makefile: Likewise.
52881 * elf/Makefile: Likewise.
52882 * extra-lib.mk: Likewise.
52883 * iconv/Makefile: Likewise.
52884 * include/libc-symbols.h: Likewise.
52885 * include/shlib-compat.h: Likewise.
52886 * resolv/Makefile: Likewise.
52887 * resolv/res_libc.c: Likewise.
52888 * rt/Makefile: Likewise.
52889 * sysdeps/i386/asm-syntax.h: Likewise.
52890 * sysdeps/i386/sysdep.h: Likewise.
52891 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52892 * sysdeps/mach/sysdep.h: Likewise.
52893 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
52894 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
52895 * sysdeps/s390/asm-syntax.h: Likewise.
52896 * sysdeps/s390/s390-32/sysdep.h: Likewise.
52897 * sysdeps/s390/s390-64/sysdep.h: Likewise.
52898 * sysdeps/sh/sysdep.h: Likewise.
52899 * sysdeps/unix/sparc/sysdep.h: Likewise.
52900 * sysdeps/wordsize-32/divdi3.c: Likewise.
52901 * sysdeps/x86_64/sysdep.h: Likewise.
52902
00bbd29b
UD
52903 * argp/Versions: Remove _argp_unlock_xxx.
52904
52905 [BZ #13559]
52906 * abilist/ld.abilist: Update. Adjust for removal of tls option.
52907 * abilist/libBrokenLocale.abilist: Likewise.
52908 * abilist/libanl.abilist: Likewise.
52909 * abilist/libc.abilist: Likewise.
52910 * abilist/libcrypt.abilist: Likewise.
52911 * abilist/libdl.abilist: Likewise.
52912 * abilist/libm.abilist: Likewise.
52913 * abilist/libnsl.abilist: Likewise.
52914 * abilist/libpthread.abilist: Likewise.
52915 * abilist/libresolv.abilist: Likewise.
52916 * abilist/librt.abilist: Likewise.
52917 * abilist/libthread_db.abilist: Likewise.
52918 * abilist/libutil.abilist: Likewise.
52919 * abilist/libnss_db.abilist: New file.
52920
52921 * scripts/abilist.awk: Add support for indirect functions.
52922
a2693a0e
UD
52923 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
52924
3f05895f
UD
52925 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
52926
ecb6fb48
UD
52927 * shlib-versions: Remove entries for ports architectures.
52928
664f8cb9
UD
52929 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
52930 files in ports.
52931 * elf/stackguard-macros.h: Remove support for IA-64.
52932 * elf/tst-auditmod1.c: Likewise.
52933 * sysdeps/generic/ldsodefs.h: Likewise.
52934
7ae81d88
UD
52935 * sysdeps/unix/sysv/linux/configure.in: Ports should define
52936 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
52937 configure files.
52938
bdeba135
UD
52939 [BZ #13552]
52940 * configure.in: Remove --enable-omitfp support.
52941 * FAQ.in: Adjust.
52942 * config.make.in: Likewise.
52943 * Makeconfig: Likewise.
52944 * manual/install.texi: Likewise.
52945
d75a0a62
UD
52946 In case anyone cares, the IA-64 architecture could move to ports.
52947 * sysdeps/ia64/*: Removed.
52948 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 52949 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 52950
dcc9756b
UD
52951 [BZ #13555]
52952 * configure.in: Remove entries for unsupported architectures.
52953
d3761ebc 52954 [BZ #13533]
9954432e
UD
52955 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
52956 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
52957 routines.
52958 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
52959 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
52960 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
52961 fall back to using wcrtomb.
52962 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
52963 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
52964 renaming.
52965 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
52966 * wcsmbs/tst-c16c32-1.c: New file.
52967
52968 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
52969 local variable.
52970
c3a87236
UD
52971 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
52972
28926a1b
UD
52973 * elf/tst-unique3.cc: Add explicit declaration of gets.
52974 * elf/tst-unique3lib.cc: Likewise.
52975 * elf/tst-unique3lib2.cc: Likewise.
52976 * elf/tst-unique4.cc: Likewise.
52977
df78418a
UD
52978 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
52979
8ecd6b2a
JM
529802012-01-06 Joseph Myers <joseph@codesourcery.com>
52981
52982 [BZ #13566]
52983 * assert/assert.h (static_assert): Don't define for C++.
52984 * libio/stdio.h (gets): Do declare for C++ <= C++11.
52985 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
52986
9f115170
UD
529872012-01-03 Ulrich Drepper <drepper@gmail.com>
52988
5e0d0300
UD
52989 * iconv/loop.c (single loop): Fix assertion in storing of
52990 remaining bytes.
52991
9f115170
UD
52992 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
52993
81fb02b0
UD
529942012-01-01 Ulrich Drepper <drepper@gmail.com>
52995
52996 * posix/getconf.c: Update copyright year.
52997 * nss/getent.c: Likewise.
a316c1f6 52998 * nss/makedb.c: Likewise.
81fb02b0
UD
52999 * iconv/iconvconfig.c: Likewise.
53000 * iconv/iconv_prog.c: Likewise.
53001 * elf/ldconfig.c: Likewise.
a316c1f6
UD
53002 * elf/pldd.c: Likewise.
53003 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
53004 * catgets/gencat.c: Likewise.
53005 * csu/version.c: Likewise.
53006 * elf/ldd.bash.in: Likewise.
53007 * elf/sprof.c (print_version): Likewise.
53008 * locale/programs/locale.c: Likewise.
53009 * locale/programs/localedef.c: Likewise.
a316c1f6 53010 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
53011 * nscd/nscd.c (print_version): Likewise.
53012 * debug/xtrace.sh: Likewise.
53013 * malloc/memusage.sh: Likewise.
53014 * malloc/mtrace.pl: Likewise.
53015 * debug/catchsegv.sh: Likewise.
53016
2ba92745
JJ
530172011-12-30 Jakub Jelinek <jakub@redhat.com>
53018
53019 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53020 pure attribute.
53021
dadebdae
UD
530222011-12-24 Ulrich Drepper <drepper@gmail.com>
53023
d3761ebc 53024 [BZ #13533]
db6af3eb
UD
53025 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53026 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53027 transformations.
53028 * iconv/gconv_int.h: Likewise.
53029 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
53030 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
53031 from libc for GLIBC_2.16.
53032 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
53033 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
53034 * wcsmbs/uchar.h: Really define mbstate_t.
53035 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
53036 * wcsmbs/c16rtomb.c: New file.
53037 * wcsmbs/mbrtoc16.c: New file.
53038 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
53039 for C/POSIX locale.
53040 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
53041 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
53042
dadebdae
UD
53043 * wcsmbs/wchar.h: Add missing __restrict.
53044
67371b56
UD
530452011-12-23 Ulrich Drepper <drepper@gmail.com>
53046
74033a25
UD
53047 [BZ #13532]
53048 * time/Makefile (routines): Add timespec_get.
53049 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
53050 * time/time.h: Define TIME_UTC and declare timespec_get. Define
53051 timespec for ISO C11.
53052 * time/timespec_get.c: New file.
53053 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
53054 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
53055
380d7e87
UD
53056 [BZ #13531]
53057 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
53058 * stdlib/stdlib.h: Declare aligned_alloc.
53059 * Versions.def: Add GLIBC_2.16 for libc.
53060 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
53061
4e9e7a35
UD
53062 [BZ 13527]
53063 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
53064 ISO C11.
53065
380d7e87 53066 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
53067 code.
53068
03a71829
UD
53069 [BZ #13528]
53070 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
53071
839e283e
UD
53072 [BZ #13529]
53073 * assert/assert.h (static_assert): Define.
53074
ce5294e2 53075 * version.h: Update for 2.16 development version.
90fa7312 53076
8d44e150 53077 [BZ #13526]
d7809905
UD
53078 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
53079 _ISOC11_SOURCE.
53080
c0da14cd
UD
53081 * version.h (RELEASE): Bump for 2.15 release.
53082 * include/features.h (__GLIBC_MINOR__): Bump to 15.
53083
530a3249
MP
53084 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
53085 Patch by Marek Polacek <mpolacek@redhat.com>.
53086
67371b56
UD
53087 * bits/byteswap.h: Protect long long constants with __extension__.
53088 * sysdeps/i386/bits/byteswap.h: Likewise.
53089 * sysdeps/ia64/bits/byteswap.h: Likewise.
53090 * sysdeps/s390/bits/byteswap.h: Likewise.
53091 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53092
15db4de1
LD
530932011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53094
53095 [BZ #13540]
bbe315ea
LD
53096 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
53097 destination buffer.
15db4de1
LD
53098 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
53099
2b2596b1
MP
531002011-12-23 Marek Polacek <polacek@redhat.com>
53101
53102 * elf/dl-addr.c (determine_info): Add inline keyword.
53103 * elf/tst-auditmod4b.c (check_avx): Likewise.
53104 * elf/tst-auditmod6b.c (check_avx): Likewise.
53105 * elf/tst-auditmod6c.c (check_avx): Likewise.
53106 * elf/tst-auditmod7b.c (check_avx): Likewise.
53107
70c6c246
UD
531082011-12-23 Ulrich Drepper <drepper@gmail.com>
53109
53110 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
53111 !__SSE_MATH__.
53112
c044cf14
LD
531132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53114
15db4de1 53115 [BZ #13540]
c044cf14
LD
53116 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
53117 processing for last bytes.
53118
6b13d9d9
BH
531192011-08-06 Bruno Haible <bruno@clisp.org>
53120
d455f537
BH
53121 [BZ #13061]
53122 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
53123 U+0385, not to U+1FEE.
53124
6b13d9d9
BH
53125 [BZ #13062]
53126 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
53127 entry for U+00A5 U+0301.
53128
db910efd
UD
531292011-12-22 Ulrich Drepper <drepper@gmail.com>
53130
27deeafc
UD
53131 [BZ #13166]
53132 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53133 buffer for the output is too small.
53134
aed9d171
UD
53135 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
53136 optimization.
53137
db910efd
UD
53138 [BZ #13185]
53139 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
53140 SSE flags if possible.
53141
2bd779ae
LD
531422011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53143
e7f9dac3 53144 [BZ #13540]
2bd779ae
LD
53145 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
53146 processing for last bytes.
53147
154bfc16
JM
531482011-12-22 Joseph Myers <joseph@codesourcery.com>
53149
53150 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
53151 (syscall-list-default-options, syscall-list-default-condition)
53152 (syscall-list-includes): Define.
53153 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
53154 list of ABIs and options and #if conditions for each ABI. Do not
53155 handle common syscalls between ABIs specially.
53156 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
53157 Remove.
53158 (syscall-list-variants, syscall-list-32bit-options)
53159 (syscall-list-32bit-condition, syscall-list-64bit-options)
53160 (syscall-list-64bit-condition): Define.
53161 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
53162 (syscall-list-variants, syscall-list-32bit-options)
53163 (syscall-list-32bit-condition, syscall-list-64bit-options)
53164 (syscall-list-64bit-condition): Define.
53165 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53166 Remove.
53167 (syscall-list-variants, syscall-list-32bit-options)
53168 (syscall-list-32bit-condition, syscall-list-64bit-options)
53169 (syscall-list-64bit-condition): Define.
53170 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
53171 Remove.
53172 (syscall-list-variants, syscall-list-32bit-options)
53173 (syscall-list-32bit-condition, syscall-list-64bit-options)
53174 (syscall-list-64bit-condition): Define.
53175
21eaf3a5
UD
531762011-12-22 Ulrich Drepper <drepper@gmail.com>
53177
16c6f992
UD
53178 * locale/iso-639.def: Add brx entry.
53179
41043168
UD
53180 [BZ #13328]
53181 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
53182 Proposed by Mariusz_Cukr <marcukr@op.pl>.
53183
21eaf3a5
UD
53184 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
53185 __feraiseexcept_renamed.
53186
e3a851a2
UD
531872011-12-21 Ulrich Drepper <drepper@gmail.com>
53188
4920765e
UD
53189 [BZ #13538]
53190 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53191 EPOLLET with unsigned values.
53192 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53193 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53194
e3a851a2
UD
53195 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53196 to large cancellation.
53197 * math/s_cacoshf.c: Likewise.
53198 * math/s_cacoshl.c: Likewise.
53199
b27e24b8
RK
532002011-11-18 Richard B. Kreckel <kreckel@ginac.de>
53201
53202 [BZ #13305]
aebefeee 53203 [BZ #12786]
b27e24b8
RK
53204 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53205 * math/s_cacoshf.c: Likewise.
53206 * math/s_cacoshl.c: Likewise.
53207
ee190f67
UD
532082011-12-21 Ulrich Drepper <drepper@gmail.com>
53209
53210 [BZ #13439]
53211 * iconv/gconv.h: Define __GCONV_SWAP.
53212 * iconvdata/unicode.c: The swap bit must be stored in __flags.
53213 * iconvdata/utf-16.c: Likewise.
53214 * iconvdata/utf-32.c: Likewise.
53215
707f25df
AS
532162011-12-21 Andreas Schwab <schwab@linux-m68k.org>
53217
53218 [BZ #13524]
53219 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53220 numerator after shifting it by one limb.
53221
d2daaa1e
RÁE
532222011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
53223
53224 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53225 under [__USE_EXTERN_INLINES].
53226
a4647e72
UD
532272011-12-17 Ulrich Drepper <drepper@gmail.com>
53228
53229 [BZ #13446]
53230 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53231
f0b264f1
AZ
532322011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53233
53234 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53235 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53236 optimized code.
53237 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53238 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53239 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53240 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53241 for strncasecmp/strncasecmp_l compilation.
53242 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53243 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53244
8ef4f244
MP
532452011-12-08 Marek Polacek <mpolacek@redhat.com>
53246
53247 [BZ #13484]
53248 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53249 of __asm__.
53250
97ac2654
UD
532512011-12-17 Ulrich Drepper <drepper@gmail.com>
53252
53253 [BZ #13506]
53254 * time/tzfile.c (__tzfile_read): Check values from file header.
53255
91d2a845
WS
532562011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
53257
53258 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53259 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53260 * powerpc/powerpc32/dl-start.S: Likewise.
53261 * powerpc/powerpc32/elf/start.S: Likewise.
53262 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53263 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53264 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53265 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53266 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53267 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53268 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53269 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53270 * powerpc/powerpc32/fpu/s_round.S: Likewise.
53271 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53272 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53273 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53274 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53275 * powerpc/powerpc32/memset.S: Likewise.
53276 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53277 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53278 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53279 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53280 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53281 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53282 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53283 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53284 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53285 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53286 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53287 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53288 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53289
a1267ba1
AZ
532902011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53291
53292 * math/libm-test.inc: Added more nearbyint tests.
53293 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53294 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53295 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53296 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53297
ad8ac1bd
RL
532982011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
53299
53300 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53301 FD_CLOEXEC.
53302
1d3e4b61
UD
533032011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53304
53305 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53306 Add wcscpy-ssse3 wcscpy-c.
53307 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53308 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53309 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53310 * sysdeps/x86_64/wcschr.S: New file.
53311 * sysdeps/x86_64/wcsrchr.S: New file.
53312 * string/test-strcmp.c: Remove checking of wcscmp function for
53313 wrong alignments.
53314 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53315 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53316 wcsrchr-sse2 wcsrchr-c.
53317 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53318 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53319 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53320 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53321 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53322 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53323 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53324 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53325 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53326 * wcsmbc/wcschr.c (WCSCHR): New macro.
53327
5b330a2d
UD
533282011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53329
53330 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53331 * wcsmbs/test-wcsrchr.c: New file.
53332 * string/test-strrchr.c: Add wcsrchr support.
53333 (WIDE): New macro.
53334 * wcsmbs/test-wcscpy.c: New file.
53335 * string/test-strcpy.c: Add wcscpy support.
53336 (WIDE): New macro.
26428b7c 53337
f039c043
UD
533382011-12-10 Ulrich Drepper <drepper@gmail.com>
53339
53340 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53341 the inner loop.
53342
850fb039
AS
533432011-12-06 Andreas Schwab <schwab@linux-m68k.org>
53344
53345 [BZ #13472]
53346 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53347
4efbd5cb
UD
533482011-12-04 Ulrich Drepper <drepper@gmail.com>
53349
52ff5dd0 53350 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 53351 Minor optimizations.
52ff5dd0 53352
4efbd5cb
UD
53353 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53354 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53355 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53356
8a426e12
UD
533572011-12-03 Ulrich Drepper <drepper@gmail.com>
53358
aff2453d
UD
53359 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53360 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53361 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53362 for gcc to avoid warnings.
53363 * inet/Makefile (tests): Add tst-checks.
53364 * inet/tst-checks.c: New file.
53365
53366 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53367 warning.
53368
53369 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53370 __wmemcmp_sse2.
53371
53372 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53373 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53374
8a426e12
UD
53375 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53376
9bea3473
UD
533772011-12-02 Ulrich Drepper <drepper@gmail.com>
53378
3a965496
UD
53379 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53380 problem.
53381
9bea3473
UD
53382 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53383
f101631b
UD
533842011-11-29 Joseph Myers <joseph@codesourcery.com>
53385
53386 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53387 conditional on GCC version.
53388 (__arch_compare_and_exchange_val_8_acq)
53389 (__arch_compare_and_exchange_val_16_acq)
53390 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53391 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53392 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53393
a98275aa
UD
533942011-12-02 Joseph Myers <joseph@codesourcery.com>
53395
53396 * sysdeps/sh/backtrace.c: New file.
53397
d4cc29a2
AS
533982011-12-02 Andreas Schwab <schwab@redhat.com>
53399
53400 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
53401 parenthesis.
53402
6257af2d
AS
534032011-12-01 Andreas Schwab <schwab@redhat.com>
53404
53405 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53406 falling back to utime.
53407
b5f44c1a
AS
534082011-11-30 Andreas Schwab <schwab@redhat.com>
53409
53410 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53411 expectations for float.
53412
f3a6cc0a
AS
534132011-11-29 Andreas Schwab <schwab@redhat.com>
53414
53415 * locale/weight.h (findidx): Add parameter len.
53416 * locale/weightwc.h (findidx): Likewise.
53417 * posix/fnmatch_loop.c (FCT): Adjust caller.
53418 * posix/regcomp.c (build_equiv_class): Likewise.
53419 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53420 * posix/regexec.c (check_node_accept_bytes): Likewise.
53421 * string/strcoll_l.c (STRCOLL): Likewise.
53422 * string/strxfrm_l.c (STRXFRM): Likewise.
53423
9d65ea3a
UD
534242011-11-17 Ulrich Drepper <drepper@gmail.com>
53425
53426 * Makefile.in: Remove CVSOPT handling.
53427 * configure.in: Remove use of AC_REVISION.
53428 * iconvdata/Makefile (distribute): No need to filter out CVS.
53429 * scripts/list-sources.sh: Remove CVS, subversion and monotone
53430 handling.
53431
5583a086
AS
534322011-11-16 Andreas Schwab <schwab@redhat.com>
53433
53434 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
53435 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
53436 [USE_AS_STRNCASECMP_L]: Likewise.
53437 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
53438 NO_TLS_DIRECT_SEG_REFS.
53439 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
53440 Fix argument offsets for non-PIC.
53441 [USE_AS_STRNCASECMP_L]: Likewise.
53442 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
53443 NO_TLS_DIRECT_SEG_REFS.
53444
d62a8200
UD
534452011-11-15 Ulrich Drepper <drepper@gmail.com>
53446
9d65ea3a 53447 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
53448 O_CLOEXEC.
53449 * locale/loadlocale.c (_nl_load_locale): Likewise.
53450
09f93bd3
AS
534512011-11-15 Andreas Schwab <schwab@redhat.com>
53452
446514f9
AS
53453 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
53454 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
53455 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
53456 (SYSCALL_GETTIME): Set errno on error.
53457
09f93bd3
AS
53458 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
53459 count references to noai6ai_cached.
53460
312be3f9
UD
534612011-11-15 Ulrich Drepper <drepper@gmail.com>
53462
53463 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
53464
53465 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
53466 FD_CLOEXEC for /proc/self/maps.
53467
53468 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
53469 FD_CLOEXEC for /proc/meminfo.
53470
53471 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
53472 gai.conf.
53473
53474 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
53475 FD_CLOEXEC for given file.
53476
53477 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
53478
53479 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
53480 FD_CLOEXEC for /etc/hosts.
53481 (_gethtent): Likewise.
53482
53483 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
53484
53485 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
53486 cancellation and set FD_CLOEXEC for /etc/netgroup.
53487
53488 * nss/nss_files/files-key.c (search): Don't allow cancellation when
53489 reading /etc/publickey.
53490
53491 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
53492 allow cancellation when reading /etc/group.
53493
53494 * nss/nss_files/files-alias.c (internal_setent): Don't allow
53495 cancellation.
53496 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
53497
53498 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
53499 when using data file.
53500
53501 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
53502
53503 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
53504 (write_nis_obj): Use "c" and "e" in fopen.
53505
53506 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
53507
53508 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
53509
53510 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
53511
53512 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
53513
53514 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
53515 locale.alias.
53516
53517 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
53518
53519 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
53520
53521 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
53522
53523 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
53524 file parsing and set FD_CLOEXEC.
53525
82af0fa8
UD
535262011-11-14 Ulrich Drepper <drepper@gmail.com>
53527
53528 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
53529
a5fb313c
AS
535302011-11-14 Andreas Schwab <schwab@redhat.com>
53531
53532 * malloc/arena.c (arena_get2): Don't call reused_arena when
53533 _int_new_arena failed.
53534
6abf3465
UD
535352011-11-14 Ulrich Drepper <drepper@gmail.com>
53536
53537 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
53538 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
53539 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
53540 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53541 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53542 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
53543 to compile strcasecmp and strncasecmp.
53544 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
53545 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
53546
53547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
53548
76e3966e
UD
535492011-11-13 Ulrich Drepper <drepper@gmail.com>
53550
53551 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
53552 locale-defines.sym to gen-as-const-headers.
53553 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
53554 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
53555 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
53556 to compile strcasecmp and strncasecmp.
53557 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
53558 strcasecmp_l and strncasecmp_l.
53559 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
53560 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
53561 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
53562 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
53563 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
53564 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
53565 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
53566 * sysdeps/i386/i686/multiarch/strncase.S: New file.
53567 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
53568 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
53569 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
53570
ab26144e
UD
535712011-11-12 Ulrich Drepper <drepper@gmail.com>
53572
7edb22ef
UD
53573 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
53574 result of SYSDEP_GETTIME_CPU to retval.
53575 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
53576 parameter list to macro. Remove trailing semicolon. Adjust users.
53577
9694fc44
UD
53578 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
53579 variable.
53580
8ad89ef8
UD
53581 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
53582 mantissa words.
53583 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
53584
0c822ef9
UD
53585 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
53586 from unused variable.
53587
874e0564
UD
53588 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
53589 DWARF definitions.
53590 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
53591 for assembling.
53592
3a2edc79
UD
53593 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
53594 over namespaces.
53595
f3c2577f
UD
53596 * sunrpc/rpc_prot.c (rejected): Fix case value.
53597
294ce126
UD
53598 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
53599 unsigned long long int to avoid warnings in shift.
53600
5e2b63c6
UD
53601 * posix/regex_internal.c (re_string_reconstruct): Actually use result
53602 of use of trans.
53603 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
53604 variable tmp.
53605
e7f4b08e
UD
53606 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
53607 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
53608 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
53609
ab26144e
UD
53610 * nis/nis_table.c (nis_list): Use variable of correct type for
53611 result of __follow_path call.
53612
8a6d5255
AZ
536132011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53614
53615 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
53616 of math functions ceil, trunc, floor, round, and sqrt, when
53617 avaliable on the platform.
53618 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
53619 name clash.
53620 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53621 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53622 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53623
aaddc98c
MP
536242011-10-30 Marek Polacek <mpolacek@redhat.com>
53625
53626 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
53627 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53628
95b7042b
RM
536292011-11-11 Roland McGrath <roland@hack.frob.com>
53630
53631 * include/unistd.h: Fix __readlink return type.
53632 Reported by Chris Metcalf <cmetcalf@tilera.com>.
53633
57769839
UD
536342011-11-11 Ulrich Drepper <drepper@gmail.com>
53635
53636 * stdlib/ucontext.h: Undo last change for makecontext.
53637
edc5984d
AS
536382011-11-11 Andreas Schwab <schwab@redhat.com>
53639
98591e58
AS
53640 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
53641
edc5984d
AS
53642 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
53643 * setjmp/setjmp.h: Mark functions as non-leaf.
53644 * setjmp/bits/setjmp2.h: Likewise.
53645 * stdlib/ucontext.h: Likewise.
53646
77cdc054
AS
536472011-11-10 Andreas Schwab <schwab@redhat.com>
53648
53649 * malloc/arena.c (_int_new_arena): Don't increment narenas.
53650 (reused_arena): Don't check arena limit.
53651 (arena_get2): Atomically check arena limit.
53652
fe72eebd
UD
536532011-11-08 Ulrich Drepper <drepper@gmail.com>
53654
5f078c32
UD
53655 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
53656 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
53657
fe72eebd
UD
53658 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
53659 instructions.
53660
ae1bc2fa
AS
536612011-11-07 Andreas Schwab <schwab@redhat.com>
53662
7583a88d
AS
53663 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
53664 handler when locking.
53665
ae1bc2fa
AS
53666 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53667 Fix size of allocated buffer.
53668
10fb0bfa
AS
536692011-11-04 Andreas Schwab <schwab@redhat.com>
53670
998832a4
AS
53671 [BZ #10103]
53672 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
53673 declarations for long double functions.
53674 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
53675
10fb0bfa
AS
53676 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
53677
3d7ba52b
AS
536782011-11-03 Andreas Schwab <schwab@redhat.com>
53679
a9ae54a1
AS
53680 * nscd/nscd.c (main): Don't start AVC thread until credentials are
53681 installed.
53682
3d7ba52b
AS
53683 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
53684 is disabled.
53685
bc8db248
ST
536862011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
53687
53688 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
53689
45b96dd6
AS
536902011-11-01 Andreas Schwab <schwab@linux-m68k.org>
53691
647776f6
AS
53692 * include/alloca.h (stackinfo_alloca_round): Define.
53693 (extend_alloca): Use it.
53694 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
53695 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
53696 here.
53697
d91a8b93
AS
53698 * scripts/check-local-headers.sh: Ignore libaudit.h.
53699
45b96dd6
AS
53700 * nscd/Makefile (extra-objs): Make recursively expanded.
53701
432d41ce
UD
537022011-11-01 Ulrich Drepper <drepper@gmail.com>
53703
34372fc6
UD
53704 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
53705 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53706
fadb59f8
UD
53707 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
53708 * posix/tst-rfc3484-2.c: Likewise.
53709 * posix/tst-rfc3484-3.c: Likewise.
53710
78239589
UD
53711 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53712 process_vm_writev.
53713 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
53714 process_vm_writev.
53715 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
53716 process_vm_writev from libc using GLIBC_2.15 version.
53717
432d41ce
UD
53718 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
53719
02f9c6cf
PP
537202011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
53721
53722 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
53723 stack usage.
53724
3a2c0242
UD
537252011-10-31 Ulrich Drepper <drepper@gmail.com>
53726
f4ec4833
UD
53727 [BZ #13367]
53728 * nss/getent.c (initgroups_keys): Show error message in case no group
53729 names are given.
53730
3a2c0242
UD
53731 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
53732 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
53733 __bump_nl_timestamp.
53734 * nscd/connections (nscd_init): When host database is served open
53735 netlink socket and request notification about configuration changes.
53736 (main_loop_poll): Track netlink file descriptor and bump timestamp
53737 in case data becomes available.
53738 (main_loop_epoll): Likewise.
53739 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
53740 (database_pers_head): Add extra_data fileds.
53741 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
53742 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
53743 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
53744 Adjust caller.
53745 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
53746 in6ai data, call __free_in6ai.
53747 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
53748 Add -DHAVE_NETLINK.
53749 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
53750 interface information. Reuse previous data if netlink timestamp
53751 is not changed.
53752 (__bump_nl_timestamp): New function.
53753 (__free_in6ai): New function.
53754
636064eb
UD
537552011-10-30 Ulrich Drepper <drepper@gmail.com>
53756
53757 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
53758 close_not_cancel_no_status here.
53759 (__check_pf): Reorganize code a bit to not call close twice if OOM.
53760
9beb2334
UD
537612011-10-29 Ulrich Drepper <drepper@gmail.com>
53762
6ef76f3b
UD
53763 [BZ #13276]
53764 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
53765 return value.
53766
0ffc4f3e 53767 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
53768 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
53769 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
53770
cb95113e
UD
537712011-07-03 Andreas Jaeger <aj@suse.de>
53772
53773 [BZ #10709]
53774 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
53775 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
53776 * math/libm-test.inc (sin_test): Add test case.
53777
a1b560ff
UD
537782011-10-29 Ulrich Drepper <drepper@gmail.com>
53779
c9aaface
UD
53780 [BZ #13337]
53781 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
53782 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53783
d272e7f1
UD
53784 * elf/chroot_canon.c (chroot_canon): Cleanups.
53785
1bc33071
UD
53786 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
53787
1760874d
TJ
53788 [BZ #13335]
53789 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
53790 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53791
51d91b18
UD
53792 * string/test-strchr.c: Make usable for strchrnul testing.
53793 * string/test-strchrnul.c: New file.
53794 * string/Makefile (strop-tests): Add strchrnul.
53795
a1b560ff 53796 * po/it.po: Update from translation team.
b611fb81 53797 * po/es.po: Likewise.
a1b560ff 53798
a5b81e1f
UD
537992011-10-28 Ulrich Drepper <drepper@gmail.com>
53800
fd52bc6d
UD
53801 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
53802 the three constants needed as parameters. Drop the others.
53803 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
53804 __m128i_strloadu_tolower.
52e4b9eb
UD
53805 Create and initialize variable zero and use it in all the places
53806 where _mm_setzero_si128 was used.
fd52bc6d 53807
a5b81e1f
UD
53808 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
53809 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
53810 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
53811 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
53812 anymore.
53813 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
53814 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
53815 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
53816 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
53817 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
53818 __mpranred, __mptan.
53819 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
53820 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
53821 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
53822 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
53823 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
53824 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
53825 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
53826 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
53827 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
53828
b4343346
AS
538292011-10-28 Andreas Schwab <schwab@redhat.com>
53830
0c92d8a8
AS
53831 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
53832 redefine if SHARED.
53833 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
53834
b4343346
AS
53835 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
53836 wide char related routines to wcsmbs subdir.
53837
3871f58f
AS
538382011-10-27 Andreas Schwab <schwab@redhat.com>
53839
53840 [BZ #13344]
53841 * misc/sys/cdefs.h (__THROWNL): Define.
53842 * posix/unistd.h: Use __THREADNL instead of __THREAD
53843 for memory synchronization functions.
53844
94d44d9f
RM
538452011-10-26 Roland McGrath <roland@hack.frob.com>
53846
21b64b15 53847 [BZ #13349]
94d44d9f
RM
53848 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
53849 doesn't exist.
53850 * manual/stdio.texi (Obstack Streams): Node removed.
53851
f6ce9294
AS
538522011-10-26 Andreas Schwab <schwab@redhat.com>
53853
80479147
AS
53854 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
53855 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53856 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53857
f6ce9294
AS
53858 * math/math_private.h (math_force_eval): Allow non-addressable
53859 arguments.
53860 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
53861
618280a1
UD
538622011-10-25 Ulrich Drepper <drepper@gmail.com>
53863
e0016b11
UD
53864 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
53865 file is not needed.
53866
53867 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
53868 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
53869 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53870 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53871 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53872 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53873 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53874 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
53875 Add AVX variants.
53876 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
53877 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
53878 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
53879 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
53880 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
53881 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
53882 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
53883 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
53884 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
53885 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
53886 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
53887 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
53888 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
53889 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
53890 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
53891 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
53892 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
53893 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
53894 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
53895
53896 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
53897 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
53898
618280a1
UD
53899 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
53900 place. Use VEX encoding when compiling for AVX.
53901
37822576
AS
539022011-10-25 Andreas Schwab <schwab@redhat.com>
53903
1f1e1947
AS
53904 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
53905 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
53906
37822576
AS
53907 * string/test-strchr.c (do_test): Don't generate NUL bytes.
53908
31ea014d
UD
539092011-10-25 Ulrich Drepper <drepper@gmail.com>
53910
d7826aa1 53911 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 53912 useless if() expression.
d7826aa1
UD
53913 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53914 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53915 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53916 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53917 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53918 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53919 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53920 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53921 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53922 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53923 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53924 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53925 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53926 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53927 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53928 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53929 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53930 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53931 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53932
31ea014d
UD
53933 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
53934
16437fec
AS
539352011-10-25 Andreas Schwab <schwab@redhat.com>
53936
53937 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
53938 condition.
53939 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53940
31d3cc00
UD
539412011-10-25 Ulrich Drepper <drepper@gmail.com>
53942
53943 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
53944 .text section. Avoid duplicate constants.
53945 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53946 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53947 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53948 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53949 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53950 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53951 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53952 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53953 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53954 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
53955 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53956 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53957 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53958 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53959 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53960 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53961 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53962 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53963 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53964 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53965 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53966 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53967 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53968 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
53969 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
53970 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
53971 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
53972 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
53973 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
53974 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
53975 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
53976 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
53977 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53978 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
53979 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
53980 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
53981 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
53982 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
53983 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
53984 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
53985 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
53986 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
53987 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
53988 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
53989 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
53990
58985aa9
UD
539912011-10-24 Ulrich Drepper <drepper@gmail.com>
53992
202c9deb
UD
53993 * sysdeps/x86_64/dla.h: Move to ...
53994 * sysdeps/x86_64/fpu/dla.h: ...here.
53995 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
53996 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 53997
af968f62
UD
53998 * config.make.in: Add have-mfma4 entry.
53999 * configure.in: Substitute libc_cv_cc_fma4.
54000 * math/Makefile (dbl-only-routines): Add sincostab.
54001 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54002 Use __sincostab not sincos.
54003 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54004 name is a macro.
54005 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54006 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54007 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
54009 using __copysign.
54010 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
54011 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
54012 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54013 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54014 and __inv.
54015 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54016 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54017 __copysign.
54018 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
54019 define aliases when function name is a macro.
54020 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54021 sysdeps/ieee754/dbl-64/sincos.tbl.
54022 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54023 fma4-enabled routines.
54024 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54025 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54026 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54027 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54028 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54029 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
54030 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
54031 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
54032 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
54033 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
54034 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
54035 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
54036 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
54037 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
54038 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
54039 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
54040 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
54041 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
54042 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
54043 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
54044 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
54045 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
54046 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
54047 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
54048 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
54049 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
54050 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
54051 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
54052 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
54053 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
54054
58985aa9
UD
54055 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
54056 rename.
54057 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54058 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54060 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54061 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54062 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54063 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54064 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54065
a201fbcf
AS
540662011-10-24 Andreas Schwab <schwab@redhat.com>
54067
54068 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
54069
fc2ee42a
LD
540702011-10-23 Ulrich Drepper <drepper@gmail.com>
54071
bb3129bd
UD
54072 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
54073
0275fff8
UD
54074 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
54075 prediction.
54076 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
54077
2fa2ae85
UD
54078 * string/strnlen.c: Don't define STRNLEN, reverse logic.
54079 Remove unused variable magic_bits.
54080 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
54081
fc2ee42a
LD
54082 * string/strnlen.c: Define and use STRNLEN macro.
54083 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
54084 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
54085 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
54086 * wcsmbs/wcslen.c: Define and use WCSLEN.
54087 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
54088 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
54089 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
54090 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
54091 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
54092 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
54093 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54094
ce7dd29f
LD
540952011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54096
54097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54098 strnlen-sse2-no-bsf.
54099 Rename strlen-no-bsf to strlen-sse2-no-bsf.
54100 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
54101 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
54102 Add strnlen support.
54103 (USE_AS_STRNLEN): New macro.
54104 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
54105 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
54106 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
54107 * sysdeps/x86_64/wcslen.S: New file.
54108
979c70a3
MZ
541092011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
54110
54111 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54112 XMM-moves are used for copying on small sizes.
54113
2d09f82f
LD
541142011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54115
54116 * wcsmbs/Makefile (strop-tests): Add wcschr.
54117 * wcsmbs/test-wcschr.c: New file.
54118 * string/test-strchr.c: Update.
54119 Add wcschr support.
54120 (WIDE): New macro.
54121
619fccca
LD
541222011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54123
2d09f82f 54124 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
54125 * wcsmbs/test-wcslen.c: New file.
54126 * string/test-strlen.c: Update.
54127 Add wcslen support.
54128 (WIDE): New macro.
54129
09f699ea
UD
541302011-10-23 Ulrich Drepper <drepper@gmail.com>
54131
54132 * po/it.po: Update from translation team.
54133
95584d3b
LD
541342011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54135
54136 * sysdeps/x86_64/wcscmp.S: Update.
54137 Fix wrong comparison semantics.
54138 wcscmp shall use signed comparison not unsigned.
54139 Don't use substraction to avoid overflow bug.
54140 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
54141 * wcsmbc/wcscmp.c: Likewise.
54142 * string/test-strcmp.c: Likewise.
54143 Add new tests to check cases with negative values.
54144
c8b3296b
UD
541452011-10-23 Ulrich Drepper <drepper@gmail.com>
54146
54147 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
54148 * sysdeps/x86_64/dla.h: ...here. New file.
54149 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
54150 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54152 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54153 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54154 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54155 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54156 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54157 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54158
246ad57a
AS
541592011-10-23 Andreas Schwab <schwab@linux-m68k.org>
54160
54161 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
54162 __ynl_finite aliases.
54163
a1a87169
UD
541642011-10-22 Ulrich Drepper <drepper@gmail.com>
54165
0d355eb7
UD
54166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54167
a1a87169
UD
54168 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
54169 define DLA_FMA.
54170 [DLA_FMA] (EMULV): Use DLA_FMA.
54171 [DLA_FMA] (MUL12): Use EMULV.
54172 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
54173 that are not needed.
54174 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54175 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54176 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54177 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54179 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54180 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54181
ee2aafe0
AS
541822011-10-22 Andreas Schwab <schwab@linux-m68k.org>
54183
54184 * math/s_nan.c: Undef __nan.
54185 * math/s_nanf.c: Undef __nanf.
54186 * math/s_nanl.c: Undef __nanl.
54187 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54188 "math_private.h".
54189
bc62c2fb
UD
541902011-10-22 Ulrich Drepper <drepper@gmail.com>
54191
77425c63
UD
54192 * math/s_catan.c: Add branch predictions.
54193 * math/s_catanf.c: Likewise.
54194 * math/s_catanh.c: Likewise.
54195 * math/s_catanhf.c: Likewise.
54196 * math/s_catanhl.c: Likewise.
54197 * math/s_catanl.c: Likewise.
54198 * math/s_cexp.c: Likewise.
54199 * math/s_cexpf.c: Likewise.
54200 * math/s_cexpl.c: Likewise.
54201 * math/s_clog.c: Likewise.
54202 * math/s_clog10.c: Likewise.
54203 * math/s_clog10f.c: Likewise.
54204 * math/s_clog10l.c: Likewise.
54205 * math/s_clogf.c: Likewise.
54206 * math/s_clogl.c: Likewise.
54207 * math/s_csqrt.c: Likewise.
54208 * math/s_csqrtf.c: Likewise.
54209 * math/s_csqrtl.c: Likewise.
54210 * math/s_ctanf.c: Likewise.
54211 * math/s_ctanh.c: Likewise.
54212 * math/s_ctanhf.c: Likewise.
54213 * math/s_ctanhl.c: Likewise.
54214 * math/s_ctanl.c: Likewise.
54215
bc62c2fb
UD
54216 * math/math_private.h: Define __nan, __nanf, __nanl.
54217 * math/s_cacosh.c: Include <math_private.h>.
54218 * math/s_cacoshl.c: Likewise.
54219 * math/s_casinh.c: Likewise.
54220 * math/s_casinhf.c: Likewise.
54221 * math/s_casinhl.c: Likewise.
54222 * math/s_ccos.c: Rely entire on ccosh.
54223 * math/s_ccosf.c: Rely entire on ccoshf.
54224 * math/s_ccosl.c: Rely entirely on ccoshl.
54225 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
54226 Remove tests for FE_INVALID.
54227 * math/s_ccoshf.c: Likewise.
54228 * math/s_ccoshl.c: Likewise.
54229 * math/s_csin.c: Likewise.
54230 * math/s_csinf.c: Likewise.
54231 * math/s_csinh.c Likewise.
54232 * math/s_csinhf.c: Likewise.
54233 * math/s_csinhl.c: Likewise.
54234 * math/s_csinl.c: Likewise.
54235 * math/s_ctan.c: Likewise.
54236 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54237 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54238 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54239
8ec250a4
UD
542402011-10-21 Ulrich Drepper <drepper@gmail.com>
54241
c196fed8
UD
54242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54243 compilation problems.
54244
8ec250a4
UD
54245 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54246 __builtin_expect.
54247
8d4f46c6
UD
542482011-10-20 Ulrich Drepper <drepper@gmail.com>
54249
ed72b654
UD
54250 * sysdeps/i386/configure.in: Test for -mfma4 option.
54251 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54252 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54253 COMMON_CPUID_INDEX_80000001.
54254 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54255 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54256 use it if FMA3 is not supported.
54257 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54258
8d4f46c6
UD
54259 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54260 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54261
d45c60c2
AS
542622011-10-20 Andreas Schwab <schwab@redhat.com>
54263
54264 [BZ #12892]
54265 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54266 it would create a cycle with a link time dependency.
54267
d9a4d2ab
UD
542682011-10-19 Ulrich Drepper <drepper@gmail.com>
54269
855d1560
UD
54270 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54271 instruction.
54272 * string/Makefile (strop-tests): Add rawmemchr.
54273 * string/test-rawmemchr.c: New file.
54274
d9a4d2ab
UD
54275 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54276 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
54277 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
54278 when compiling str{,n}casecmp and when AVX is available. Hook up
54279 new optimized code in initializers.
54280
8f3b1ffe
AS
542812011-10-19 Andreas Schwab <schwab@redhat.com>
54282
54283 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54284 __feraiseexcept instead of feraiseexcept.
54285
d38f1dba
UD
542862011-10-18 Ulrich Drepper <drepper@gmail.com>
54287
d9a8d0ab
UD
54288 * math/math_private.h: Define defaults for libc_fetestexcept and
54289 libc_feupdateenv.
54290 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54291 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54292 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54293 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54294 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54295 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54296 libc_fetestexcept and libc_feupdateenv.
54297
4855e3dd
UD
54298 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54299 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54300 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54301 * sysdeps/x86_64/fpu/math_private.h: Define special version of
54302 libc_feholdexcept_setround.
54303
581d30e3
UD
54304 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54305 Add s_nearbyint-c and s_nearbyintf-c.
54306 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54307 nearbyintf inlines.
54308 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54309 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54310 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54311 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54312
d38f1dba
UD
54313 * math/math_private.h: Define defaults for libc_fegetround,
54314 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54315 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54316 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54317 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54318 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54319 standard functions.
54320 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54321 Remove comments and hacks for old compiler versions.
54322 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54323 libc_fegetround, libc_fesetround, libc_feholdexcept, and
54324 libc_feholdexceptl.
54325
caa6c9d8
AS
543262011-10-18 Andreas Schwab <schwab@redhat.com>
54327
54328 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
54329 (__feraiseexcept_renamed): Add __NTH.
54330 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
54331 namespace violations.
54332
97c066e6
UD
543332011-10-17 Ulrich Drepper <drepper@gmail.com>
54334
99ce7b04
UD
54335 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54336
1004d182
UD
54337 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54338
228a984d
UD
54339 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54340 recently added interfaces.
54341 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54342
c8553a6a
UD
54343 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54344 about macro parameter expansion.
54345
ed22dcf6
UD
54346 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54347 __NO_MATH_INLINES is defined. Cleanups.
54348
54349 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54350 and __floorf is target has SSE4.1.
54351 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54352 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54353 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54354 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54355
b171c137
UD
54356 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54357 name.
54358 (floorf): Likewise.
54359
97c066e6
UD
54360 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54361
629f62ef
AS
543622011-10-17 Andreas Schwab <schwab@redhat.com>
54363
49a43d80
AS
54364 * misc/sys/cdefs.h: Fix last change.
54365
629f62ef
AS
54366 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54367 database lookup.
54368
e453f6cd
UD
543692011-10-16 Ulrich Drepper <drepper@gmail.com>
54370
aa78043a
UD
54371 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54372
ad0f5cad
UD
54373 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54374 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54375 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54376 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54377 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54378 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54379 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54380 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54381 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54382 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54383 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54384 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54385 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54386 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54387 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54388 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54389 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54390 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54391 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54392 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54393 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54394 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54395
54396 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54397 ceil, ceilf, floor, floorf.
54398
54399 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54400 Perform IRELATIVE relocations last.
54401
e453f6cd
UD
54402 * elf/do-rel.h: Add another parameter nrelative, replacing the
54403 local variable with the same name. Change name of the function
54404 to end in Rel or Rela (uppercase).
54405 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54406 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
54407 elf_dynamic_do_##reloc function.
54408
fd5bdc09
UD
544092011-10-15 Ulrich Drepper <drepper@gmail.com>
54410
79b195b5
UD
54411 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54412 is sufficient, at least on modern CPUs.
54413
d4a28569
UD
54414 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54415
b61099b5
UD
54416 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54417 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54418
bcf01e6d
UD
54419 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54420 __expl_finite.
54421 * math/bits/math-finite.h: Add entries for exp.
54422 * math/e_expl.c: Add __*_finite alias.
54423 * sysdeps/i386/fpu/e_exp.S: Likewise.
54424 * sysdeps/i386/fpu/e_expf.S: Likewise.
54425 * sysdeps/i386/fpu/e_expl.c: Likewise.
54426 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54427 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54428 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54429 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54430 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54431 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54432 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54433
ba1a0d59
UD
54434 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
54435 is sufficient, at least on modern CPUs.
54436
fd5bdc09
UD
54437 * ctype/ctype-info.c (__ctype_init): Define.
54438 * include/ctype.h (__ctype_init): Declare.
54439 (__ctype_b_loc): The variable is always initialized.
54440 (__ctype_toupper_loc): Likewise.
54441 (__ctype_tolower_loc): Likewise.
54442 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
54443 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
54444
7872cfb0
AS
544452011-10-15 Andreas Schwab <schwab@linux-m68k.org>
54446
b468825a
AS
54447 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
54448
7872cfb0
AS
54449 * configure.in: Also look in $cxxmachine/include for C++ system
54450 headers.
54451
be13f7bf
LD
544522011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54453
54454 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
54455 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
54456 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
54457 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
54458 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
54459 (USE_AS_WMEMCMP): New macro.
54460 Fixing indents.
54461 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
54462 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
54463 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
54464 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
54465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54466 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
54467 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
54468 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
54469 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
54470 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
54471 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
54472 (USE_AS_WMEMCMP): New macro.
54473 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
54474 * sysdeps/string/test-memcmp.c: Update.
54475 Fix simple_wmemcmp.
54476 Add new tests.
54477 * wcsmbs/wmemcmp.c: Update.
54478 (WMEMCMP): New macro.
54479 Fix overflow bug.
54480
556a2007
AJ
544812011-10-12 Andreas Jaeger <aj@suse.de>
54482
54483 [BZ #13268]
54484 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
54485
538faaa7
UD
544862011-10-15 Ulrich Drepper <drepper@gmail.com>
54487
ab6737ff
UD
54488 * libio/iofwide.c (do_length): Avoid warning.
54489
538faaa7
UD
54490 * ctype/ctype.h (__isctype_f): Add missing __THROW.
54491
396a21b1
UD
544922011-10-14 Ulrich Drepper <drepper@gmail.com>
54493
cdf2901f
UD
54494 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
54495
38ad40ce
UD
54496 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
54497 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
54498 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
54499 * sysdeps/i386/i686/fpu/e_log.S: New file.
54500 * sysdeps/i386/i686/fpu/e_logf.S: New file.
54501 * sysdeps/i386/i686/fpu/e_logl.S: New file.
54502
396a21b1
UD
54503 * ctype/ctype.h: Add support for inlined isXXX functions when
54504 compiling C++ code.
54505
6b1f68c9
AS
545062011-10-14 Andreas Schwab <schwab@redhat.com>
54507
349290c0
AS
54508 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54509
6b1f68c9
AS
54510 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
54511
f2282d42
RM
545122011-10-13 Roland McGrath <roland@hack.frob.com>
54513
54514 [BZ #13291]
54515 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
54516
5298ffa8
AS
545172011-10-13 Andreas Schwab <schwab@redhat.com>
54518
714fad23
AS
54519 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
54520 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
54521 feraiseexcept.
54522
81dcc7fb
AS
54523 * sysdeps/x86_64/memrchr.S: Check for zero size.
54524
5298ffa8
AS
54525 * string/stratcliff.c: Add memrchr tests.
54526
951fbcec
LD
545272011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54528
54529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54530 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
54531 rawmemchr-sse2 rawmemchr-sse2-bsf.
54532 * sysdeps/i386/i686/multiarch/memchr.S: New file.
54533 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
54534 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
54535 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
54536 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
54537 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
54538 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
54539 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
54540 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
54541 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
54542 * string/memrchr.c (MEMRCHR): New macro.
54543
0ac5ae23
UD
545442011-10-12 Ulrich Drepper <drepper@gmail.com>
54545
54546 Add integration with gcc's -ffinite-math-only and optimize wrapper
54547 functions in libm.
54548 * Versions.def: Define GLIBC_2.15 version for libm.
54549 * math/Makefile (headers): Add bits/math-finite.h.
54550 * math/bits/math-finite.h: New file.
54551 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
54552 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
54553 * math/e_acoshl.c: Add __*_finite alias.
54554 * math/e_acosl.c: Likewise.
54555 * math/e_asinl.c: Likewise.
54556 * math/e_atan2l.c: Likewise.
54557 * math/e_atanhl.c: Likewise.
54558 * math/e_coshl.c: Likewise.
54559 * math/e_exp10.c: Likewise.
54560 * math/e_exp10f.c: Likewise.
54561 * math/e_exp10l.c: Likewise.
54562 * math/e_exp2l.c: Likewise.
54563 * math/e_fmodl.c: Likewise.
54564 * math/e_gammal_r.c: Likewise.
54565 * math/e_hypotl.c: Likewise.
54566 * math/e_j0l.c: Likewise.
54567 * math/e_j1l.c: Likewise.
54568 * math/e_jnl.c: Likewise.
54569 * math/e_lgammal_r.c: Likewise.
54570 * math/e_log10l.c: Likewise.
54571 * math/e_log2l.c: Likewise.
54572 * math/e_logl.c: Likewise.
54573 * math/e_powl.c: Likewise.
54574 * math/e_sinhl.c: Likewise.
54575 * math/e_sqrtl.c: Likewise.
54576 * math/e_scalb.c: Completely rewritten and optimized.
54577 * math/e_scalbf.c: Likewise.
54578 * math/e_scalbl.c: Likewise.
54579 * math/w_acos.c: Likewise.
54580 * math/w_acosf.c: Likewise.
54581 * math/w_acosl.c: Likewise.
54582 * math/w_acosh.c: Likewise.
54583 * math/w_acoshf.c: Likewise.
54584 * math/w_acoshl.c: Likewise.
54585 * math/w_asin.c: Likewise.
54586 * math/w_asinf.c: Likewise.
54587 * math/w_asinl.c: Likewise.
54588 * math/w_atan2.c: Likewise.
54589 * math/w_atan2f.c: Likewise.
54590 * math/w_atan2l.c: Likewise.
54591 * math/w_atanh.c: Likewise.
54592 * math/w_atanhf.c: Likewise.
54593 * math/w_atanhl.c: Likewise.
54594 * math/w_exp10.c: Likewise.
54595 * math/w_exp10f.c: Likewise.
54596 * math/w_exp10l.c: Likewise.
54597 * math/w_fmod.c: Likewise.
54598 * math/w_fmodf.c: Likewise.
54599 * math/w_fmodl.c: Likewise.
54600 * math/w_j0.c: Likewise.
54601 * math/w_j0f.c: Likewise.
54602 * math/w_j0l.c: Likewise.
54603 * math/w_j1.c: Likewise.
54604 * math/w_j1f.c: Likewise.
54605 * math/w_j1l.c: Likewise.
54606 * math/w_jn.c: Likewise.
54607 * math/w_jnf.c: Likewise.
54608 * math/w_log.c: Likewise.
54609 * math/w_logf.c: Likewise.
54610 * math/w_logl.c: Likewise.
54611 * math/w_log10.c: Likewise.
54612 * math/w_log10f.c: Likewise.
54613 * math/w_log10l.c: Likewise.
54614 * math/w_log2.c: Likewise.
54615 * math/w_log2f.c: Likewise.
54616 * math/w_log2l.c: Likewise.
54617 * math/w_pow.c: Likewise.
54618 * math/w_powf.c: Likewise.
54619 * math/w_powl.c: Likewise.
54620 * math/w_remainder.c: Likewise.
54621 * math/w_remainderf.c: Likewise.
54622 * math/w_remainderl.c: Likewise.
54623 * math/w_scalb.c: Likewise.
54624 * math/w_scalbf.c: Likewise.
54625 * math/w_scalbl.c: Likewise.
54626 * math/w_sqrt.c: Likewise.
54627 * math/w_sqrtf.c: Likewise.
54628 * math/w_sqrtl.c: Likewise.
54629 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
54630 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
54631 used.
54632 * math/math_private.h: Declare __kernel_standard_f.
54633 * math/w_cosh.c: Remove cruft and optimize a bit.
54634 * math/w_coshf.c: Likewise.
54635 * math/w_coshl.c: Likewise.
54636 * math/w_exp2.c: Likewise.
54637 * math/w_exp2f.c: Likewise.
54638 * math/w_exp2l.c: Likewise.
54639 * math/w_hypot.c: Likewise.
54640 * math/w_hypotf.c: Likewise.
54641 * math/w_hypotl.c: Likewise.
54642 * math/w_lgamma.c: Likewise.
54643 * math/w_lgamma_r.c: Likewise.
54644 * math/w_lgammaf.c: Likewise.
54645 * math/w_lgammaf_r.c: Likewise.
54646 * math/w_lgammal.c: Likewise.
54647 * math/w_lgammal_r.c: Likewise.
54648 * math/w_sinh.c: Likewise.
54649 * math/w_sinhf.c: Likewise.
54650 * math/w_sinhl.c: Likewise.
54651 * math/w_tgamma.c: Likewise.
54652 * math/w_tgammaf.c: Likewise.
54653 * math/w_tgammal.c: Likewise.
54654 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54655 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54656 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
54657 Minor optimizations. Pretty printing. Remove cruft.
54658 * sysdeps/i386/fpu/e_acosf.S: Likewise.
54659 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54660 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54661 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54662 * sysdeps/i386/fpu/e_acosl.c: Likewise.
54663 * sysdeps/i386/fpu/e_asin.S: Likewise.
54664 * sysdeps/i386/fpu/e_asinf.S: Likewise.
54665 * sysdeps/i386/fpu/e_atan2.S: Likewise.
54666 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
54667 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
54668 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54669 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54670 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54671 * sysdeps/i386/fpu/e_exp10.S: Likewise.
54672 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
54673 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
54674 * sysdeps/i386/fpu/e_exp2.S: Likewise.
54675 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
54676 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
54677 * sysdeps/i386/fpu/e_fmod.S: Likewise.
54678 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
54679 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
54680 * sysdeps/i386/fpu/e_hypot.S: Likewise.
54681 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
54682 * sysdeps/i386/fpu/e_log.S: Likewise.
54683 * sysdeps/i386/fpu/e_log10.S: Likewise.
54684 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54685 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54686 * sysdeps/i386/fpu/e_log2.S: Likewise.
54687 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54688 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54689 * sysdeps/i386/fpu/e_logf.S: Likewise.
54690 * sysdeps/i386/fpu/e_logl.S: Likewise.
54691 * sysdeps/i386/fpu/e_pow.S: Likewise.
54692 * sysdeps/i386/fpu/e_powf.S: Likewise.
54693 * sysdeps/i386/fpu/e_powl.S: Likewise.
54694 * sysdeps/i386/fpu/e_remainder.S: Likewise.
54695 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
54696 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
54697 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54698 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54699 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54700 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
54701 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
54702 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
54703 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54704 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54705 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54706 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54707 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54708 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54709 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54710 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54711 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54712 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54713 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54714 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54716 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54717 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54719 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54720 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54721 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54722 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54723 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54724 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54725 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54726 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54727 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54728 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54729 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54730 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54731 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
54732 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54733 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54734 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54735 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54736 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54737 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54738 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54739 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54740 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54741 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54742 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54743 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54744 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54745 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54746 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54747 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54748 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54749 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54750 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54751 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54752 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
54753 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54754 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54755 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54756 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54757 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54758 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54759 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54760 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54761 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54762 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54763 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54764 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54765 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54766 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54767 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54768 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54769 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54770 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54771 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
54772 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54773 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54774 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54775 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54776 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54777 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54778 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54779 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54780 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54781 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54782 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54783 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54784 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54785 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
54786 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54787 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54788 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54789 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54790 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54791 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54792 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54793 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54794 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54795 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54796 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54797 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54798 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54799 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54800 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
54801 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
54802 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
54803 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
54804 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
54805 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
54806 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
54807 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54808 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54809 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54810 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54811 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
54812 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54813 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
54814 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
54815 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
54816 (__isnanf): Likewise.
54817 (__isinf_ns): Likewise.
54818 (__isinf_nsf): Likewise.
54819 (__finite): Likewise.
54820 (__finitef): Likewise.
54821 (__ieee754_sqrt): Define as macro.
54822 (__ieee754_sqrtf): Define as macro.
54823 (__ieee754_sqrtl): Define as macro.
54824 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
54825 inlined copy.
54826 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
54827 __FINITE_MATH_ONLY__ consistent.
54828 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
54829
12cc2fcd
AS
548302011-10-10 Andreas Schwab <schwab@linux-m68k.org>
54831
a843a204
AS
54832 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
54833 of rawmemchr.
54834
12cc2fcd
AS
54835 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
54836
c853acd5
UD
548372011-10-09 Ulrich Drepper <drepper@gmail.com>
54838
54839 * po/ja.po: Update from translation team.
54840
c658d255
RM
548412011-10-08 Roland McGrath <roland@hack.frob.com>
54842
110946e4
RM
54843 * locale/programs/locarchive.c (prepare_address_space): New function.
54844 (create_archive, enlarge_archive, open_archive): Use it.
54845
50604220
RM
54846 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
54847 inside [SHARED], where it is used.
54848
c658d255
RM
54849 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
54850
54851 * nss/getent.c (netgroup_keys): Remove unused variable.
54852 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54853
6a621eb7
UD
548542011-10-08 Ulrich Drepper <drepper@gmail.com>
54855
7edb55ce
UD
54856 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
54857 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
54858 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
54859 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
54860 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
54861 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
54862 * math/Makefile (libm-calls): Add s_isinf_ns.
54863 * math/divtc3.c: Use __isinf_nsl instead of isinf.
54864 * math/multc3.c: Likewise.
54865 * math/s_casin.c: Likewise.
54866 * math/s_casinf.c: Likewise.
54867 * math/s_casinl.c: Likewise.
54868 * math/s_ccos.c: Likewise.
54869 * math/s_ccosf.c: Likewise.
54870 * math/s_ccosl.c: Likewise.
54871 * math/s_ctan.c: Likewise.
54872 * math/s_ctanf.c: Likewise.
54873 * math/s_ctanh.c: Likewise.
54874 * math/s_ctanhf.c: Likewise.
54875 * math/s_ctanhl.c: Likewise.
54876 * math/s_ctanl.c: Likewise.
54877 * math/w_fmod.c: Likewise.
54878 * math/w_fmodf.c: Likewise.
54879 * math/w_fmodl.c: Likewise.
54880 * math/w_remainder.c: Likewise.
54881 * math/w_remainderf.c: Likewise.
54882 * math/w_remainderl.c: Likewise.
54883 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
54884 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
54885 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
54886 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
54887 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
54888 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
54889 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
54890 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
54891
187da0ae
UD
54892 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
54893 of the number.
54894 * stdio-common/printf_fphex.c: Likewise.
54895 * stdio-common/printf_size.c: Likewise.
54896
9277c064
UD
54897 * math/e_exp10.c: Include math_private.h using <...> not "...".
54898 * math/e_exp10f.c: Likewise.
54899 * math/e_exp10l.c: Likewise.
54900 * math/e_exp2l.c: Likewise.
54901 * math/e_j0l.c: Likewise.
54902 * math/e_j1l.c: Likewise.
54903 * math/e_jnl.c: Likewise.
54904 * math/e_lgammal_r.c: Likewise.
54905 * math/e_rem_pio2l.c: Likewise.
54906 * math/e_scalb.c: Likewise.
54907 * math/e_scalbf.c: Likewise.
54908 * math/e_scalbl.c: Likewise.
54909 * math/k_cosl.c: Likewise.
54910 * math/k_sinl.c: Likewise.
54911 * math/k_tanl.c: Likewise.
54912 * math/s_cacoshf.c: Likewise.
54913 * math/s_catan.c: Likewise.
54914 * math/s_catanf.c: Likewise.
54915 * math/s_catanh.c: Likewise.
54916 * math/s_catanhf.c: Likewise.
54917 * math/s_catanhl.c: Likewise.
54918 * math/s_catanl.c: Likewise.
54919 * math/s_ccosh.c: Likewise.
54920 * math/s_ccoshf.c: Likewise.
54921 * math/s_ccoshl.c: Likewise.
54922 * math/s_cexp.c: Likewise.
54923 * math/s_cexpf.c: Likewise.
54924 * math/s_cexpl.c: Likewise.
54925 * math/s_clog.c: Likewise.
54926 * math/s_clog10.c: Likewise.
54927 * math/s_clog10f.c: Likewise.
54928 * math/s_clog10l.c: Likewise.
54929 * math/s_clogf.c: Likewise.
54930 * math/s_clogl.c: Likewise.
54931 * math/s_csin.c: Likewise.
54932 * math/s_csinf.c: Likewise.
54933 * math/s_csinh.c: Likewise.
54934 * math/s_csinhf.c: Likewise.
54935 * math/s_csinhl.c: Likewise.
54936 * math/s_csinl.c: Likewise.
54937 * math/s_csqrt.c: Likewise.
54938 * math/s_csqrtf.c: Likewise.
54939 * math/s_csqrtl.c: Likewise.
54940 * math/s_ctan.c: Likewise.
54941 * math/s_ctanf.c: Likewise.
54942 * math/s_ctanh.c: Likewise.
54943 * math/s_ctanhf.c: Likewise.
54944 * math/s_ctanhl.c: Likewise.
54945 * math/s_ctanl.c: Likewise.
54946 * math/s_ldexp.c: Likewise.
54947 * math/s_ldexpf.c: Likewise.
54948 * math/s_ldexpl.c: Likewise.
54949 * math/s_significand.c: Likewise.
54950 * math/s_significandf.c: Likewise.
54951 * math/s_significandl.c: Likewise.
54952 * math/w_acos.c: Likewise.
54953 * math/w_acosf.c: Likewise.
54954 * math/w_acosh.c: Likewise.
54955 * math/w_acoshf.c: Likewise.
54956 * math/w_acoshl.c: Likewise.
54957 * math/w_acosl.c: Likewise.
54958 * math/w_asin.c: Likewise.
54959 * math/w_asinf.c: Likewise.
54960 * math/w_asinl.c: Likewise.
54961 * math/w_atan2.c: Likewise.
54962 * math/w_atan2f.c: Likewise.
54963 * math/w_atan2l.c: Likewise.
54964 * math/w_atanh.c: Likewise.
54965 * math/w_atanhf.c: Likewise.
54966 * math/w_atanhl.c: Likewise.
54967 * math/w_cosh.c: Likewise.
54968 * math/w_coshf.c: Likewise.
54969 * math/w_coshl.c: Likewise.
54970 * math/w_dremf.c: Likewise.
54971 * math/w_exp10.c: Likewise.
54972 * math/w_exp10f.c: Likewise.
54973 * math/w_exp10l.c: Likewise.
54974 * math/w_exp2.c: Likewise.
54975 * math/w_exp2f.c: Likewise.
54976 * math/w_fmod.c: Likewise.
54977 * math/w_fmodf.c: Likewise.
54978 * math/w_fmodl.c: Likewise.
54979 * math/w_hypot.c: Likewise.
54980 * math/w_hypotf.c: Likewise.
54981 * math/w_hypotl.c: Likewise.
54982 * math/w_j0.c: Likewise.
54983 * math/w_j0f.c: Likewise.
54984 * math/w_j0l.c: Likewise.
54985 * math/w_j1.c: Likewise.
54986 * math/w_j1f.c: Likewise.
54987 * math/w_j1l.c: Likewise.
54988 * math/w_jn.c: Likewise.
54989 * math/w_jnf.c: Likewise.
54990 * math/w_jnl.c: Likewise.
54991 * math/w_lgamma.c: Likewise.
54992 * math/w_lgamma_r.c: Likewise.
54993 * math/w_lgammaf.c: Likewise.
54994 * math/w_lgammaf_r.c: Likewise.
54995 * math/w_lgammal.c: Likewise.
54996 * math/w_lgammal_r.c: Likewise.
54997 * math/w_log.c: Likewise.
54998 * math/w_log10.c: Likewise.
54999 * math/w_log10f.c: Likewise.
55000 * math/w_log10l.c: Likewise.
55001 * math/w_log2.c: Likewise.
55002 * math/w_log2f.c: Likewise.
55003 * math/w_log2l.c: Likewise.
55004 * math/w_logf.c: Likewise.
55005 * math/w_logl.c: Likewise.
55006 * math/w_pow.c: Likewise.
55007 * math/w_powf.c: Likewise.
55008 * math/w_powl.c: Likewise.
55009 * math/w_remainder.c: Likewise.
55010 * math/w_remainderf.c: Likewise.
55011 * math/w_remainderl.c: Likewise.
55012 * math/w_scalb.c: Likewise.
55013 * math/w_scalbf.c: Likewise.
55014 * math/w_scalbl.c: Likewise.
55015 * math/w_sinh.c: Likewise.
55016 * math/w_sinhf.c: Likewise.
55017 * math/w_sinhl.c: Likewise.
55018 * math/w_sqrt.c: Likewise.
55019 * math/w_sqrtf.c: Likewise.
55020 * math/w_sqrtl.c: Likewise.
55021 * math/w_tgamma.c: Likewise.
55022 * math/w_tgammaf.c: Likewise.
55023 * math/w_tgammal.c: Likewise.
55024
6a621eb7
UD
55025 * po/ja.po: Update from translation team.
55026
bf582445
AJ
550272011-09-29 Andreas Jaeger <aj@suse.de>
55028
f9efbf3a
AJ
55029 [BZ #13179]
55030 * sunrpc/netname.c (netname2host): Fix logic.
55031
bf582445
AJ
55032 [BZ #6779]
55033 [BZ #6783]
55034 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
55035 correctly.
55036 * math/w_remainder.c (__remainder): Likewise.
55037 * math/w_remainderf.c (__remainderf): Likewise.
55038 * math/libm-test.inc (remainder_test): Add test cases.
55039
48693bea
AK
550402011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55041
55042 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
55043 sdiv_qrnnd.
55044
42622229
LD
550452011-10-07 Ulrich Drepper <drepper@gmail.com>
55046
55047 * string/test-memcmp.c: Avoid unncessary #defines.
55048 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55049
093ecf92
LD
550502011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55051
55052 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
55053 Use new sse2 version for core i3 - i7 as it's faster
55054 than sse42 version.
55055 (bit_Prefer_PMINUB_for_stringop): New.
55056 * sysdeps/x86_64/rawmemchr.S: Update.
55057 Replace with faster SSE2 version.
55058 * sysdeps/x86_64/memrchr.S: New file.
55059 * sysdeps/x86_64/memchr.S: Update.
55060 Replace with faster SSE2 version.
55061
fde56e5c
MP
550622011-09-12 Marek Polacek <mpolacek@redhat.com>
55063
55064 * elf/dl-load.c (lose): Add cast to avoid warning.
55065
21fd49a9
UD
550662011-10-07 Ulrich Drepper <drepper@gmail.com>
55067
5a06e643
UD
55068 * po/ca.po: Update from translation team.
55069
684ae515
UD
55070 * inet/getnetgrent_r.c: Hook up nscd.
55071 * nscd/Makefile (routines): Add nscd_netgroup.
55072 (nscd-modules): Add netgroupcache.
55073 (CFLAGS-netgroupcache.c): Define.
55074 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
55075 (cache_search): Add const to second parameter.
55076 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
55077 INNETGR.
55078 (dbs): Add netgrdb entry.
55079 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
55080 (verify_persistent_db): Handle netgrdb.
55081 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
55082 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
55083 GETFDNETGR.
55084 (netgroup_response_header): Define.
55085 (innetgroup_response_header): Define.
55086 (datahead): Add netgroup_response_header and innetgroup_response_header
55087 elements.
55088 * nscd/nscd.conf: Add entries for netgroup cache.
55089 * nscd/nscd.h (dbtype): Add netgrdb.
55090 (_PATH_NSCD_NETGROUP_DB): Define.
55091 (netgroup_iov_disabled): Declare.
55092 (xmalloc, xcalloc, xrealloc): Move declarations here.
55093 (cache_search): Adjust prototype.
55094 Add netgroup-related prototypes.
55095 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
55096 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
55097 (__nscd_innetgr): Declare.
55098 * nscd/selinux.c (perms): Use access_vector_t as element type and
55099 add netgroup-related initializers.
55100 * nscd/netgroupcache.c: New file.
55101 * nscd/nscd_netgroup.c: New file.
55102 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
55103 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
55104 For four parameters use innetgr.
55105 * nss/nss_files/files-init.c: Add definition and callback for netgr.
55106 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
55107 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
55108 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
55109
21fd49a9
UD
55110 * nscd/connections.c (register_traced_file): Don't register file
55111 for disabled databases.
55112
054c0457
UD
551132011-10-06 Ulrich Drepper <drepper@gmail.com>
55114
32b63198
UD
55115 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
55116
054c0457
UD
55117 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
55118 from tree and freeing node.
55119
64031225
JO
551202011-09-25 Jiri Olsa <jolsa@redhat.com>
55121
55122 * nss/nsswitch.c (__nss_database_lookup): Handle
55123 nss_parse_service_list out of memory case.
55124
0490345c
JO
551252011-09-15 Jiri Olsa <jolsa@redhat.com>
55126
55127 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
55128 out of memory case.
55129
3a62d00d
AS
551302011-10-04 Andreas Schwab <schwab@redhat.com>
55131
55132 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55133 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55134 pass it down.
55135 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55136 elf_machine_rela, elf_machine_lazy_rel.
55137 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
55138 (ELF_DYNAMIC_DO_REL): Likewise.
55139 (ELF_DYNAMIC_DO_RELA): Likewise.
55140 (ELF_DYNAMIC_RELOCATE): Likewise.
55141 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
55142 to ELF_DYNAMIC_DO_REL.
55143 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
55144 (dl_main): In trace mode always set __RTLD_NOIFUNC.
55145 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
55146 elf_machine_rela.
55147 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
55148 skip_ifunc, don't call ifunc function if non-zero.
55149 (elf_machine_rela): Likewise.
55150 (elf_machine_lazy_rel): Likewise.
55151 (elf_machine_lazy_rela): Likewise.
55152 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
55153 (elf_machine_lazy_rel): Likewise.
55154 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
55155 Likewise.
55156 (elf_machine_lazy_rel): Likewise.
55157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55158 Likewise.
55159 (elf_machine_lazy_rel): Likewise.
55160 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
55161 (elf_machine_lazy_rel): Likewise.
55162 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
55163 (elf_machine_lazy_rel): Likewise.
55164 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55165 (elf_machine_lazy_rel): Likewise.
55166 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
55167 (elf_machine_lazy_rel): Likewise.
55168 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55169 (elf_machine_lazy_rel): Likewise.
55170 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55171 (elf_machine_lazy_rel): Likewise.
55172
68577918
UD
551732011-09-28 Ulrich Drepper <drepper@gmail.com>
55174
55175 * nss/nss_files/files-init.c (_nss_files_init): Use static
55176 initialization for all the *_traced_file variables.
55177
68822d74
AS
551782011-09-28 Andreas Schwab <schwab@redhat.com>
55179
55180 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55181
2056100b
RM
551822011-09-27 Roland McGrath <roland@hack.frob.com>
55183
55184 [BZ #13226]
55185 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55186
32c76b63
AS
551872011-09-27 Andreas Schwab <schwab@redhat.com>
55188
55189 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55190 Reread the line before reparsing it.
55191
bf972c9d
AS
551922011-09-26 Andreas Schwab <schwab@redhat.com>
55193
55194 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55195
e057a1b5
JM
551962011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
55197 Maxim Kuvyrkov <maxim@codesourcery.com>
55198 Joseph Myers <joseph@codesourcery.com>
55199
55200 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55201 if needed for __stack_chk_guard.
55202
bc7e1c36
RM
552032011-09-19 Roland McGrath <roland@hack.frob.com>
55204
ecb1482f
RM
55205 * sysdeps/posix/spawni.c (script_execute): Always define it.
55206 It will be optimized away if unused.
55207 (maybe_script_execute): New function.
55208 (__spawni): Call it.
55209
bc7e1c36
RM
55210 * Makerules: Don't include tls.make.
55211 (config-tls): Always set to thread.
55212 * tls.make.c: File removed.
55213
1c3b002b
MF
552142011-09-19 Mike Frysinger <vapier@gentoo.org>
55215
55216 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55217 * config.make.in (CPPFLAGS-config): New substituted variable.
55218
2840865d
UD
552192011-09-15 Ulrich Drepper <drepper@gmail.com>
55220
88738eb6
UD
55221 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55222
cbf645a6 55223 [BZ #13192]
2840865d
UD
55224 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55225 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55226
b402e91a
RM
552272011-09-15 Roland McGrath <roland@hack.frob.com>
55228
55229 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55230 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55231 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55232 (CALL_FAIL): Likewise.
55233 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55234 (CALL_FAIL): Macro removed.
55235 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55236
4c1a1f71
UD
552372011-09-15 Ulrich Drepper <drepper@gmail.com>
55238
55239 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55240 for __FINITE_MATH_ONLY__ == 1.
55241
edc121be
AS
552422011-09-15 Andreas Schwab <schwab@redhat.com>
55243
55244 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55245 __ieee754_sqrt instead of sqrt.
55246 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55247 __ieee754_sqrtf instead of sqrtf.
55248 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55249 __floorf instead of floorf.
55250 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55251 __floorf, __truncf instead of floorf, truncf.
55252
cd205654
UD
552532011-09-14 Ulrich Drepper <drepper@gmail.com>
55254
ee4d0315
UD
55255 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55256
cd205654
UD
55257 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55258 __extern_always_inline.
55259 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55260 32-bit.
55261
48b67d71
AS
552622011-09-14 Andreas Schwab <schwab@redhat.com>
55263
55264 * elf/rtld.c (dl_main): Also relocate in dependency order when
55265 doing symbol dependency testing.
55266
1ae12c75
AS
552672011-09-13 Andreas Schwab <schwab@linux-m68k.org>
55268
55269 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55270 Always define `refsym'.
55271
995a80df
AS
552722011-09-13 Andreas Schwab <schwab@redhat.com>
55273
e529793b
AS
55274 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55275 (__FD_ELT): Renamed from __FDELT.
55276 * misc/bits/select2.h (__FD_ELT): Likewise.
55277 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55278 __FD_MASK instead of __FDELT, __FDMASK.
55279 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55280 Likewise.
55281 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55282 Likewise.
55283
52d4fef8
AS
55284 * elf/Makefile (gen-ldd): Fix pattern.
55285
995a80df
AS
55286 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55287 (init_tls): Likewise.
55288
8682f8b0
UD
552892011-09-12 Ulrich Drepper <drepper@gmail.com>
55290
55291 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55292
de82006d
AS
552932011-09-12 Andreas Schwab <schwab@redhat.com>
55294
a7c8e6a1
AS
55295 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55296 `struct cmsghdr *' instead of `void *'.
55297 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55298 Likewise.
55299
0f31fe77
AS
553002011-09-11 Andreas Schwab <schwab@linux-m68k.org>
55301
55302 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55303 if non-absolute.
55304 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55305 ldd_rewrite_script.
0f31fe77 55306
32b4c839
UD
553072011-09-11 Ulrich Drepper <drepper@gmail.com>
55308
83cd1420
UD
55309 * configure.in: Remove --with-tls option.
55310 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55311 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55312 out in case it is missing.
55313 * sysdeps/ia64/elf/configure.in: Likewise.
55314 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55315 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55316 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55317 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55318 * sysdeps/sh/elf/configure.in: Likewise.
55319 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55320 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55321 * sysdeps/x86_64/elf/configure.in: Likewise.
55322 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55323 * sysdeps/mach/hurd/tls.h: Likewise.
55324
633f745d
UD
55325 [BZ #13067]
55326 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55327
f318beb8
UD
55328 [BZ #13090]
55329 * configure.in: Fix use of AC_INIT.
55330
32b4c839
UD
55331 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55332
3ce1f295
UD
553332011-09-10 Ulrich Drepper <drepper@gmail.com>
55334
bb016596
UD
55335 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55336 __set_errno.
8e58439c
UD
55337 * malloc/hooks.c: Likewise.
55338
aebae053 55339 [BZ #11929]
02d46fc4
UD
55340 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
55341 variables statically.
55342 (narenas): Initialize.
55343 (list_lock): Initialize.
bb016596
UD
55344 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
55345 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
55346 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55347 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
55348 Add initializers to main_arena and mp_.
55349 (malloc_state): Remove pagesize member. Change all users to use
55350 GLRO(dl_pagesize).
55351
55352 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55353 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
55354 is always initialized.
55355
22a89187
UD
55356 * malloc/malloc.c: Removed unused configurations and dead code.
55357 * malloc/arena.c: Likewise.
55358 * malloc/hooks.c: Likewise.
02d46fc4 55359 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 55360
d063d164
UD
55361 * include/tls.h: Removed. USE___THREAD must always be defined.
55362 * bits/libc-tsd.h: Don't handle !USE___THREAD.
55363 * elf/dl-libc.c: Likewise.
55364 * elf/dl-tsd.c: Likewise.
55365 * include/errno.h: Likewise.
55366 * include/netdb.h: Likewise.
55367 * include/resolv.h: Likewise.
55368 * inet/herrno-loc.c: Likewise.
55369 * inet/herrno.c: Likewise.
55370 * malloc/arena.c: Likewise.
55371 * malloc/hooks.c: Likewise.
55372 * malloc/malloc.c: Likewise.
55373 * resolv/res-state.c: Likewise.
55374 * resolv/res_libc.c: Likewise.
55375 * sysdeps/i386/dl-machine.h: Likewise.
55376 * sysdeps/ia64/dl-machine.h: Likewise.
55377 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55378 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55379 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55380 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55381 * sysdeps/sh/dl-machine.h: Likewise.
55382 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55383 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55384 * sysdeps/unix/i386/sysdep.S: Likewise.
55385 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55386 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55387 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55388 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55389 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55390 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55391 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55392 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55393 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55395 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55396 * sysdeps/x86_64/dl-machine.h: Likewise.
55397 * tls.make.c: Likewise.
55398
3ce1f295
UD
55399 * configure.in: Remove --with-__thread option. Make tests for
55400 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55401 tls_model attribute fail if no support is available. Remove
55402 USE_IN_LIBIO.
55403 * Makeconfig: Adjust for dropped configure option. All features are
55404 now mandatory.
55405 * Makerules: Likewise.
55406 * Versions.def: Likewise.
55407 * argp/argp-fmtstream.c: Likewise.
55408 * argp/argp-fmtstream.h: Likewise.
55409 * argp/argp-help.c: Likewise.
55410 * assert/assert.c: Likewise.
55411 * config.h.in: Likewise.
55412 * config.make.in: Likewise.
55413 * configure: Likewise.
55414 * configure.in: Likewise.
55415 * csu/Versions: Likewise.
55416 * csu/init.c: Likewise.
55417 * elf/tst-audit2.c: Likewise.
55418 * elf/tst-tls10.c: Likewise.
55419 * elf/tst-tls10.h: Likewise.
55420 * elf/tst-tls11.c: Likewise.
55421 * elf/tst-tls12.c: Likewise.
55422 * elf/tst-tls14.c: Likewise.
55423 * elf/tst-tlsmod11.c: Likewise.
55424 * elf/tst-tlsmod12.c: Likewise.
55425 * elf/tst-tlsmod13.c: Likewise.
55426 * elf/tst-tlsmod13a.c: Likewise.
55427 * elf/tst-tlsmod14a.c: Likewise.
55428 * elf/tst-tlsmod15b.c: Likewise.
55429 * elf/tst-tlsmod16a.c: Likewise.
55430 * elf/tst-tlsmod16b.c: Likewise.
55431 * elf/tst-tlsmod7.c: Likewise.
55432 * elf/tst-tlsmod8.c: Likewise.
55433 * elf/tst-tlsmod9.c: Likewise.
55434 * gmon/gmon.c: Likewise.
55435 * grp/fgetgrent_r.c: Likewise.
55436 * grp/putgrent.c: Likewise.
55437 * hurd/fopenport.c: Likewise.
55438 * include/libc-symbols.h: Likewise.
55439 * include/tls.h: Likewise.
55440 * intl/gettextP.h: Likewise.
55441 * intl/loadinfo.h: Likewise.
55442 * locale/global-locale.c: Likewise.
55443 * locale/localeinfo.h: Likewise.
55444 * mach/devstream.c: Likewise.
55445 * malloc/arena.c: Likewise.
55446 * malloc/set-freeres.c: Likewise.
55447 * misc/err.c: Likewise.
55448 * misc/getttyent.c: Likewise.
55449 * misc/mntent_r.c: Likewise.
55450 * posix/getopt.c: Likewise.
55451 * posix/wordexp.c: Likewise.
55452 * pwd/fgetpwent_r.c: Likewise.
55453 * resolv/Versions: Likewise.
55454 * resolv/res_hconf.c: Likewise.
55455 * shadow/fgetspent_r.c: Likewise.
55456 * shadow/putspent.c: Likewise.
55457 * stdio-common/printf_fphex.c: Likewise.
55458 * stdio-common/tmpfile.c: Likewise.
55459 * stdlib/abort.c: Likewise.
55460 * stdlib/fmtmsg.c: Likewise.
55461 * sunrpc/auth_unix.c: Likewise.
55462 * sunrpc/clnt_perr.c: Likewise.
55463 * sunrpc/clnt_tcp.c: Likewise.
55464 * sunrpc/clnt_udp.c: Likewise.
55465 * sunrpc/clnt_unix.c: Likewise.
55466 * sunrpc/openchild.c: Likewise.
55467 * sunrpc/svc_simple.c: Likewise.
55468 * sunrpc/svc_tcp.c: Likewise.
55469 * sunrpc/svc_udp.c: Likewise.
55470 * sunrpc/svc_unix.c: Likewise.
55471 * sunrpc/xdr.c: Likewise.
55472 * sunrpc/xdr_array.c: Likewise.
55473 * sunrpc/xdr_rec.c: Likewise.
55474 * sunrpc/xdr_ref.c: Likewise.
55475 * sunrpc/xdr_stdio.c: Likewise.
55476
1248c1c4
PB
554772011-09-09 Ulrich Drepper <drepper@gmail.com>
55478
55479 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55480
554812011-07-03 Andreas Jaeger <aj@suse.de>
55482
55483 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
55484 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
55485 regenerate with gen-libm-tests.pl.
55486
554872010-05-12 Petr Baudis <pasky@suse.cz>
55488
55489 [BZ #11589]
55490 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
55491 around j0() zero points by switching to j1().
55492 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55493 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55494 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55495 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55496
f22e1074
UD
554972011-09-09 Ulrich Drepper <drepper@gmail.com>
55498
f19009c1
UD
55499 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
55500 instead of 0.
55501 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 55502 instead of 0.
f19009c1
UD
55503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55504 Patch in part by Pavel Roskin <proski@gnu.org>.
55505
3f8cc204
UD
55506 [BZ #13138]
55507 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
55508 realloc.
55509 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
55510 Free memory block if necessary.
55511
f22e1074
UD
55512 [BZ #12847]
55513 * libio/genops.c (INTDEF): For string streams the _lock pointer can
55514 be NULL. Don't lock in this case.
55515
0a2349f9
RM
555162011-09-09 Roland McGrath <roland@hack.frob.com>
55517
55518 * elf/elf.h (ELFOSABI_GNU): New macro.
55519 (ELFOSABI_LINUX): Define to that.
55520
f3cdd467
DZ
555212011-07-29 Denis Zaitceff <zaitceff@gmail.com>
55522
55523 * string/strncat.c (strncat): Undef the symbol in case it has been
55524 defined in bits/string.h.
55525
74718d13
UD
555262011-09-09 Ulrich Drepper <drepper@gmail.com>
55527
633e9e0f
UD
55528 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
55529
0a2349f9 55530 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
55531 link map.
55532
f9924780
AJ
555332011-08-17 Andreas Jaeger <aj@suse.de>
55534
55535 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
55536
7f5517aa
PP
555372011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
55538 Ian Lance Taylor <iant@google.com>
55539
55540 * math/libm-test.inc (lround_test): New testcase.
55541 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
55542
762011fe
UD
555432011-09-08 Ulrich Drepper <drepper@gmail.com>
55544
92963737
UD
55545 * Makefile: Remove support for automatic cvs check-ins.
55546 * Makerules: Likewise.
55547 * config.make.in: Likewise.
55548 * configure.in: Likewise.
55549 * intl/Makefile: Likewise.
55550 * locale/Makefile: Likewise.
55551 * po/Makefile: Likewise.
55552 * posix/Makefile: Likewise.
55553 * sysdeps/gnu/Makefile: Likewise.
55554 * sysdeps/mach/hurd/Makefile: Likewise.
55555 * sysdeps/sparc/sparc32/Makefile: Likewise.
55556
b0727fd8
JS
55557 [BZ #13118]
55558 * posix/Makefile (bug-regex32-ENV): Define.
55559 Patch by John Stanley <jpsinthemix@verizon.net>.
55560
a0f33f99
UD
55561 * misc/Makefile (headers): Add bits/select2.h.
55562 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
55563 * misc/bits/select2.h: New file.
55564 * include/bits/select2.h: New file.
55565 * debug/Makefile (routines): Add fdelt_chk.
55566 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
55567 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
55568 FD_ISSET.
55569 * debug/fdelt_chk.c: New file.
55570
762011fe
UD
55571 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
55572 * wcsmbs/test-wmemcmp.c: Likewise.
55573 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 55574 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
55575
555762011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55577
55578 * string/Makefile (strop-tests): Add memcmp.
55579 * string/test-wmemcmp.c: New file.
55580 * string/test-memcmp.c: Add wmemcmp support.
55581
7f513ec8
RM
555822011-09-08 Roland McGrath <roland@hack.frob.com>
55583
0442afb4
RM
55584 [BZ #13153]
55585 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
55586 2011-07-19 change.
55587
7f513ec8
RM
55588 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
55589 garbage value in a __mach_port_mod_refs call in the cases of the
55590 task-self and thread-self ports.
55591
a12b2239
ST
555922011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55593
55594 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
55595
610f9ab4
AS
555962011-09-08 Andreas Schwab <schwab@redhat.com>
55597
7f513ec8 55598 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 55599
48882a1a
LD
556002011-09-07 Ulrich Drepper <drepper@gmail.com>
55601
b49865be
UD
55602 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
55603
fdc86bc9
UD
55604 * elf/dl-libc.c (dlerror_run): Pass back error code from
55605 dl_catch_error.
55606
c966526a
UD
55607 [BZ #13123]
55608 * elf/dl-load.c (lose): Free l_origin if it is valid.
55609
48882a1a
LD
55610 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
55611 names.
55612 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
55613 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55614 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55615 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55616 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
55617 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
55618
77a2a8b4
AZ
556192011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55620
55621 * sysdeps/powerpc/fpu/e_hypot.c: New file.
55622 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
55623 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
55624 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
55625 * sysdeps/powerpc/fpu/k_cosf.c: New file.
55626 * sysdeps/powerpc/fpu/k_sinf.c: New file.
55627 * sysdeps/powerpc/fpu/s_cosf.c: New file.
55628 * sysdeps/powerpc/fpu/s_sinf.c: New file.
55629 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
55630 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
55631
24f579d8
AM
556322011-08-15 Alan Modra <amodra@gmail.com>
55633
55634 [BZ #13092]
55635 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
55636 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
55637 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
55638 ppc_mcount to static-only-routines.
55639 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
55640 __mcount_internal.
55641 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
55642 __mcount_internal with usual JUMPTARGET. Remove useless nop.
55643
3d4837df
UD
556442011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
55645
55646 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
55647 for finite and infinity parameters.
55648
22700377
WS
556492011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
55650
55651 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
55652 and add nop instructions for throughput optimization.
55653 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55654
5025581e
WS
556552011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
55656
55657 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
55658 aligned copy for power7 with vector-scalar instructions.
55659 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55660
08a300c9
L
556612011-07-24 H.J. Lu <hongjiu.lu@intel.com>
55662
55663 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
55664 AVX check.
55665
59178ef9
AS
556662011-09-07 Andreas Schwab <schwab@redhat.com>
55667
55668 [BZ #13144]
55669 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
55670 last change.
55671
e38ba7ab
UD
556722011-09-07 Ulrich Drepper <drepper@gmail.com>
55673
55674 * sysdeps/unix/sysv/linux/x86_64/init-first.c
55675 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
55676 syscall wrapper around clock_gettime in __vdso_clock_gettime.
55677 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
55678 clock_gettime.
55679
d53a73ac
UD
556802011-09-06 Ulrich Drepper <drepper@gmail.com>
55681
fc8bffcc
UD
55682 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
55683 Forgot to demangle the pointer.
55684
ceaa0c5d
UD
55685 * sysdeps/i386/sysdep.h: Define atom_text_section.
55686 * sysdeps/x86_64/sysdep.h: Likewise.
55687 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
55688 section with atom_text_section.
55689 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55690 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55691 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
55692 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55693 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
55694
a77d3c17
UD
55695 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
55696 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
55697 already be defined. Change to take two parameters and don't assign
55698 result to variable. Adjust all users.
55699 Define INTERNAL_GETTIME if not already defined.
55700 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
55701 call.
55702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
55703 HAVE_CLOCK_GETTIME_VSYSCALL.
55704 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
55705
d53a73ac
UD
55706 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
55707 gettimeofday vsyscall, just use time.
55708
a8f84144
AS
557092011-09-06 Andreas Schwab <schwab@redhat.com>
55710
55711 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
55712 <errno.h>.
55713
ef606249
UD
557142011-09-06 Ulrich Drepper <drepper@gmail.com>
55715
55716 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
55717 syscall on x86-64.
55718 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
55719 syscall.
55720 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
55721 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
55722 syscall if possible.
55723
6585cb60
UD
557242011-09-05 Ulrich Drepper <drepper@gmail.com>
55725
55726 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
55727 e_ident. Don't pass to find_mapsXX.
55728 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
55729
a5f524e4
LD
557302011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55731
55732 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55733 strchr-sse2-no-bsf strrchr-sse2-no-bsf
55734 * sysdeps/x86_64/multiarch/strchr.S: Update.
55735 Check bit_slow_BSF bit.
55736 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55737 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
55738 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
55739
554881ef
UD
557402011-09-05 Ulrich Drepper <drepper@gmail.com>
55741
d96de963
UD
55742 [BZ #13134]
55743 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
55744 before glibc 2.15.
55745 (tryshell): Define.
55746 (__spawni): Change last parameter to be flag. Test
55747 SPAWN_XFLAGS_USE_PATH flag to use path or not.
55748 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
55749 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
55750 * posix/spawni.c: Likewise.
55751 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
55752 * posix/spawnp.c: Likewise. Change normal version to use
55753 SPAWN_XFLAGS_USE_PATH.
55754 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
55755 SPAWN_XFLAGS_TRY_SHELL.
55756
d48e5868
UD
55757 [BZ #13150]
55758 * posix/glob.h: Remove gcc 1.x support.
55759
554881ef
UD
55760 [BZ #13068]
55761 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
55762
693fb948
LD
557632011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55764
55765 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55766 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
55767 strrchr-sse2-bsf
55768 * sysdeps/i386/i686/multiarch/strchr.S: New file.
55769 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
55770 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
55771 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
55772 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
55773 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
55774
1b48c537
UD
557752011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55776
49d42c37
UD
55777 * sysdeps/x86_64/wcscmp.S: New file.
55778
1b48c537
UD
55779 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
55780 wcscmp-c wcscmp-sse2
55781 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
55782 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
55783 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
55784 * wcsmbs/wcscmp.c: Allow renaming.
55785
15c95c5d
DM
557862011-09-05 David S. Miller <davem@davemloft.net>
55787
55788 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
55789 stack slot, rather than the struct return pointer slot.
55790 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
55791 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
55792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
55793 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
55794
2f0ad8f3
UD
557952011-09-05 Ulrich Drepper <drepper@gmail.com>
55796
d88ae418
UD
55797 * po/ja.po: Update from translation team.
55798
2f0ad8f3
UD
55799 [BZ #13144]
55800 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
55801 kernel in 64-bit binaries.
55802
5f4318d1
DM
558032011-09-01 David S. Miller <davem@davemloft.net>
55804
55805 * elf/elf.h (HWCAP_SPARC_*): Move to..
55806 * sysdeps/sparc/sysdep.h: this new file and add new values.
55807 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
55808 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
55809 _DL_HWCAP_COUNT to 24.
55810 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55811 entries.
55812 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
55813 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
55814 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
55815 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
55816 instead of magic constants.
55817 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55818
3ba57516
DM
558192011-08-31 David S. Miller <davem@davemloft.net>
55820
55821 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
55822 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
55823 Reimplement to do errno handling inline.
55824 (SYSCALL_ERROR_HANDLER): New macro.
55825 (__SYSCALL_STRING): Do not do errno handling in asm.
55826 (__CLONE_SYSCALL_STRING): Delete.
55827 (__INTERNAL_SYSCALL_STRING): Delete.
55828 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
55829 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
55830 (PSEUDO): Reimplement to do errno handling inline.
55831 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
55832 (SYSCALL_ERROR_HANDLER): New macro.
55833 (__SYSCALL_STRING): Do not do errno handling in asm.
55834 (__CLONE_SYSCALL_STRING): Delete.
55835 (__INTERNAL_SYSCALL_STRING): Delete.
55836 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
55837 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
55838 i386.
55839 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
55840 (inline_syscall*): Add 'err' argument.
55841 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
55842 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
55843 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
55844 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
55845
55846 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
55847 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
55848
2bc17433
AS
558492011-08-30 Andreas Schwab <schwab@redhat.com>
55850
55851 * elf/rtld.c (dl_main): Relocate objects in dependency order.
55852
fbeb5f4d
JO
558532011-08-29 Jiri Olsa <jolsa@redhat.com>
55854
55855 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
55856 directive.
55857
ad69cc26
DM
558582011-08-24 David S. Miller <davem@davemloft.net>
55859
55860 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
55861
39dd69df
AS
558622011-08-24 Andreas Schwab <schwab@redhat.com>
55863
55864 * elf/Makefile: Add rules to build and run unload8 test.
55865 * elf/unload8.c: New file.
55866 * elf/unload8mod1.c: New file.
55867 * elf/unload8mod1x.c: New file.
55868 * elf/unload8mod2.c: New file.
55869 * elf/unload8mod3.c: New file.
55870
55871 * elf/dl-close.c (_dl_close_worker): Reset private search list if
55872 it wasn't used.
55873
2c0b250a
DM
558742011-08-23 David S. Miller <davem@davemloft.net>
55875
55876 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
55877 subtract stack bias.
55878 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
55879 %sp not %fp in calculations.
55880 (_JMPBUF_UNWINDS_ADJ): Likewise.
55881
22044b48
DM
55882 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
55883 (aio_suspend): Call it to force an exception region around the
55884 AIO_MISC_WAIT() invocation.
55885
2cae4995
AS
558862011-08-23 Andreas Schwab <schwab@redhat.com>
55887
55888 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
55889 backslash.
55890
873a772e
AJ
558912011-07-04 Aurelien Jarno <aurelien@aurel32.net>
55892
55893 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
55894 protection macro.
55895 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
55896 and <dl-machine.h>.
55897 (Elf64_FuncDesc): Remove.
55898
25ad0df1
DM
558992011-08-22 David S. Miller <davem@davemloft.net>
55900
55901 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
55902 sigaltstack check, add missing cfi directives.
55903 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
55904 missing cfi directives, and sigaltstack handling.
55905
e888bcbe
AS
559062011-08-16 Andreas Schwab <schwab@redhat.com>
55907
55908 [BZ #11724]
55909 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
55910 object is seen twice.
55911 * elf/dl-fini.c (_dl_sort_fini): Likewise.
55912
55913 * elf/Makefile (distribute): Add tst-initorder2.c.
55914 (tests): Add tst-initorder2.
55915 (modules-names): Add tst-initorder2a tst-initorder2b
55916 tst-initorder2c tst-initorder2d. Add rules to build them.
55917 ($(objpfx)tst-initorder2.out): New rule.
55918 * elf/tst-initorder2.c: New file.
55919 * elf/tst-initorder2.exp: New file.
55920
87162f46
AS
559212011-08-22 Andreas Schwab <schwab@redhat.com>
55922
70538b7f
AS
55923 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
55924
f55ffe58
AS
55925 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
55926 dependencies back to end of function.
55927
87162f46
AS
55928 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55929 $(elfobjdir)/ld.so.
55930
91b392a4
UD
559312011-08-21 Ulrich Drepper <drepper@gmail.com>
55932
55933 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
55934 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
55935 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
55936 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
55937 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
55938 of __vdso_gettimeofday.
55939 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
55940 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
55941 attribute_hidden.
55942 (_libc_vdso_platform_setup): Remove initialization of
55943 __vdso_gettimeofday and __vdso_time.
55944
5c43483f
UD
559452011-08-20 Ulrich Drepper <drepper@gmail.com>
55946
775a77e7
UD
55947 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
55948 and fgetc_unlocked.
55949 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
55950 getc_unlocked.
89f447ed 55951
49c74ba9
UD
55952 * elf/dl-open.c (add_to_global): Report additions to the global scope
55953 for LD_DEBUG=scopes.
55954 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 55955 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 55956
5c43483f
UD
55957 [BZ #13114]
55958 * stdio-common/Makefile (tests): Add bug24.
55959 * stdio-common/bug24.c: New file.
55960
a101b025
AJ
559612011-08-19 Andreas Jaeger <aj@suse.de>
55962
55963 [BZ #13114]
55964 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
55965 non-existant file when using close-on-exec mode.
55966
c88f1766
UD
559672011-08-20 Ulrich Drepper <drepper@gmail.com>
55968
0276a718
UD
55969 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
55970 the very first instruction.
55971
c88f1766
UD
55972 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
55973 the CFI state in the end.
55974 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
55975 inclusion of dl-trampoline.h.
55976 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
55977
51ccffa0
AS
559782011-08-19 Andreas Schwab <schwab@redhat.com>
55979
94d7165f
AS
55980 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
55981 expectations for long double.
55982
51ccffa0
AS
55983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
55984 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
55985
fd708658 559862011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
55987
55988 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
55989 artificual limit depends upon the system page size.
55990
44f0a71e
UD
559912011-08-17 Ulrich Drepper <drepper@gmail.com>
55992
55993 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
55994 * resolv/Makefile: Define CFLAGS-libresolv.
55995
8de79a24
AS
559962011-08-17 Andreas Schwab <schwab@redhat.com>
55997
55998 * nss/makedb.c (compute_tables): Make variables used in nested
55999 function static.
56000
27724598
UD
560012011-08-17 Ulrich Drepper <drepper@gmail.com>
56002
c5305d88
UD
56003 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56004 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56005 if buffer was too small.
56006
27724598
UD
56007 * elf/pldd.c (main): Attach to all threads in the process.
56008 Rewrite /proc handling to use *at functions.
56009
076fe015
UD
560102011-08-16 Ulrich Drepper <drepper@gmail.com>
56011
174baab3
UD
56012 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56013 specifies first scope to show.
56014 (dl_open_worker): Update callers. Move printing scope of new
56015 object to before the relocation.
44f0a71e 56016 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
56017 * sysdeps/generic/ldsodefs.h: Update declaration.
56018
076fe015
UD
56019 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56020 string for the scope number.
56021
a60df2c3
UD
560222011-08-14 Ulrich Drepper <drepper@gmail.com>
56023
56024 * nscd/servicescache.c (cache_addserv): Make sure written is always
56025 initialized.
56026
5e4287d1
RM
560272011-08-14 Roland McGrath <roland@hack.frob.com>
56028
85ae0589
RM
56029 * sysdeps/i386/i486/bits/atomic.h
56030 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
56031 statement expression, so as to suppress "set but not used" warning.
56032 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
56033
69f63097
RM
56034 * string/strncat.c (STRNCAT): Use prototype definition.
56035
675456ef
RM
56036 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
56037 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
56038 -Iprograms here.
56039 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
56040 (localedef-modules): Add localedef.
56041 (locale-modules): Add locale.
56042
5e4287d1
RM
56043 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
56044 * elf/rtld.c (dl_main): Invert order of assignment in last change,
56045 to avoid a warning.
56046
9c96ff23
DM
560472011-08-14 David S. Miller <davem@davemloft.net>
56048
56049 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
56050 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
56051
f9ddf089
UD
560522011-08-13 Ulrich Drepper <drepper@gmail.com>
56053
44f0a71e 56054 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
56055 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
56056 * elf/rtld.c (dl_main): Set l_name of vDSO.
56057 Call _dl_show_scope when DL_DEBUG_SCOPES.
56058 (process_dl_debug): Recognize scopes flag and also set it for all.
56059 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
56060 Declare _dl_show_scope.
56061
1dc27704
UD
56062 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
56063 (do_dlopen): Pass caller_dlopen to dl_open.
56064 (__libc_dlopen_mode): Initialize caller_dlopen.
56065
f9ddf089
UD
56066 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
56067 of libc. Make tolower call locale-independent. Optimize a bit by
56068 using isdigit instead of isalnum.
56069 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
56070
9ac533d3
UD
560712011-08-12 Ulrich Drepper <drepper@gmail.com>
56072
56073 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
56074 was a dependency or dynamically loaded.
56075
89edf2e9
UD
560762011-08-11 Ulrich Drepper <drepper@gmail.com>
56077
8e999d29
UD
56078 * intl/l10nflist.c: Allow architecture-specific pop function.
56079 * sysdeps/x86_64/l10nflist.c: New file.
56080
89edf2e9
UD
56081 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
56082 classification.
56083
14d96785
AS
560842011-08-10 Andreas Schwab <schwab@redhat.com>
56085
56086 * include/dirent.h: Add libc_hidden_proto for scandirat and
56087 scandirat64. Don't declare __scandirat64.
56088 * dirent/scandirat.c: Add libc_hidden_def.
56089 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
56090 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
56091
6761ac04
DM
560922011-08-10 David S. Miller <davem@davemloft.net>
56093
56094 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
56095 enum.
56096 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56097 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56098 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56099
c55fbd1e
UD
561002011-08-09 Ulrich Drepper <drepper@gmail.com>
56101
56102 * Versions.def [libc]: Add GLIBC_2.15.
56103 * dirent/Makefile (routines): Add scandirat and scandirat64.
56104 * dirent/Versions [libc]: Export scandirat and scandirat64 for
56105 GLIBC_2.15.
56106 * dirent/dirent.h: Declare scandirat and scandirat64.
56107 * dirent/scandirat.c: New file.
56108 * dirent/scandirat64.c: New file.
56109 * sysdeps/wordsize-64/scandirat.c: New file.
56110 * sysdeps/wordsize-64/scandirat64.c: New file.
56111 * dirent/opendir.c: Define opendirat.
56112 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
56113 using scandirat.
56114 * dirent/scandir64.c: Adjust for scandir.c change.
56115 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
56116 __scandirat64, and __scandir_cancel_handler.
56117 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
56118 additional parameter and use openat instead of open (outside of ld.so).
56119 Add new __opendir as wrapper around __opendirat.
56120 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
56121 here without requiring old scandirat implementation.
56122
879165f2
UD
561232011-08-08 Ulrich Drepper <drepper@gmail.com>
56124
56125 * dirent/scandir.c (cancel_handler): Renamed to
56126 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
56127 defined. Adjust users.
56128 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
56129 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56130
cb7e923b
UD
561312011-08-04 Ulrich Drepper <drepper@gmail.com>
56132
16292edd
UD
56133 * string/test-string.h (IMPL): Use __STRING to expand name and then
56134 stringify it.
56135
cb7e923b
UD
56136 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
56137 of cleanups.
56138
cff82933
LD
561392011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56140
56141 * string/Makefile: Update.
56142 (strop-tests): Append strncat.
56143 * string/test-wcscmp.c: New file.
56144 New comprehensive test for wcscmp.
56145 * string/test-strcmp.c: Update.
56146 (WIDE): New define.
56147
9be9bfcc
AS
561482011-07-22 Andreas Schwab <schwab@redhat.com>
56149
56150 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
56151 line.
56152
2e96f1c7
AS
561532011-07-26 Andreas Schwab <schwab@redhat.com>
56154
56155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56156 encoding to ACE if AI_IDN.
56157
85188888
JJ
561582011-08-01 Jakub Jelinek <jakub@redhat.com>
56159
56160 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
56161 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
56162
5fa16e9b
LD
561632011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56164
56165 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
56166 Fix overflow bug in strncat.
56167 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
56168
56169 * string/test-strncat.c: Update.
56170 Add new tests for checking overflow bugs.
56171
561722011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56173
56174 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56175 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
56176 * sysdeps/i386/i686/multiarch/strcat.S: New file.
56177 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
56178 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
56179 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
56180 * sysdeps/i386/i686/multiarch/strncat.S: New file.
56181 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
56182 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
56183
56184 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
56185 (USE_AS_STRCAT): Define.
56186 Add strcat and strncat support.
56187 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56188
8c1a459f
AS
561892011-07-25 Andreas Schwab <schwab@redhat.com>
56190
56191 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56192 __n bigger than INT_MAX+1.
56193 (__strncmp_g): Likewise.
56194
bba33c28
UD
561952011-07-23 Ulrich Drepper <drepper@gmail.com>
56196
798be72d
UD
56197 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56198 * libio/stido.h: Likewise.
56199
8accd4dc
UD
56200 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56201 (AF_NFC): Define.
56202 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56203 (AF_NFC): Define.
56204
cbff0d96
UD
56205 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56206 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56207 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56208 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56209 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56210
9191c04a
UD
56211 [BZ #13021]
56212 * scripts/test-installation.pl: Don't expect libnss_test1 to be
56213 installed.
56214
bba33c28
UD
56215 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56216 typo.
56217 (_dl_x86_64_save_sse): Likewise.
56218
90f139dd
UD
562192011-07-22 Ulrich Drepper <drepper@gmail.com>
56220
1aae088a
UD
56221 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56222 OSXSAVE.
56223 (_dl_x86_64_save_sse): Likewise.
56224
8e2045f5
UD
56225 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56226
90f139dd
UD
56227 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56228
1d002f25
AS
562292011-07-21 Andreas Schwab <schwab@redhat.com>
56230
56231 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56232 change.
56233 (_dl_x86_64_save_sse): Use correct AVX check.
56234
21137f89
UD
562352011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56236
56237 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56238 bug in strncpy/strncat.
56239 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56240
a65c0b7a
UD
562412011-07-21 Ulrich Drepper <drepper@gmail.com>
56242
56243 * string/tester.c (test_strcat): Add tests for different alignments
56244 of source and destination.
56245 (test_strncat): Likewise.
56246
6986b98a
UD
562472011-07-20 Ulrich Drepper <drepper@gmail.com>
56248
90bb2039
UD
56249 [BZ #12852]
56250 * posix/glob.c (glob): Check passed in values before using them in
56251 expressions to avoid some overflows.
56252 (glob_in_dir): Likewise.
56253
5644ef54
UD
56254 [BZ #13007]
56255 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56256 check for AVX enablement so that we don't crash with old kernels and
56257 new hardware.
56258 * elf/tst-audit4.c: Add same checks here.
56259 * elf/tst-audit6.c: Likewise.
56260
56261 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 56262
bfc9dc9b
AS
562632011-07-09 Andreas Schwab <schwab@linux-m68k.org>
56264
56265 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56266
702e64bb
UD
562672011-07-20 Ulrich Drepper <drepper@gmail.com>
56268
56269 * po/cs.po: Update from translation team.
56270 * po/bg.po: Likewise.
56271
295e904f
MP
562722011-07-12 Marek Polacek <mpolacek@redhat.com>
56273
56274 * misc/sys/cdefs.h: Add support for const attribute.
56275 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56276 to gnu_dev_{major,minor,makedev} functions.
56277
3ff94596
MP
562782011-07-20 Marek Polacek <mpolacek@redhat.com>
56279
56280 * intl/dcigettext.c (get_output_charset): Add missing bracket.
56281
28b59fca
AS
562822011-07-20 Andreas Schwab <schwab@redhat.com>
56283
56284 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56285 strlen results.
56286
19df733e
AK
562872011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56288
56289 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56290 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56291 register in order to avoid conflicts with the soft frame pointer
56292 being held in r11 when necessary.
56293 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56294 (INTERNAL_VSYSCALL_NCS): Likewise.
56295
c8835729
MP
562962011-07-14 Marek Polacek <mpolacek@redhat.com>
56297
56298 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56299 * elf/dl-fini.c (_dl_fini): Adjust caller.
56300 * elf/dl-close.c (_dl_close_worker): Likewise.
56301 * sysdeps/generic/ldsodefs.h: Adjust declaration.
56302
b902330c
MP
563032011-07-15 Marek Polacek <mpolacek@redhat.com>
56304
8991e135
MP
56305 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56306 "aux_cache->nlibs < 0".
56307
b902330c
MP
56308 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56309 in the reload-count case.
56310
99710781
LD
563112011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56312
56313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56314 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56315 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56316 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56317 * sysdeps/x86_64/multiarch/strcat.S: New file.
56318 * sysdeps/x86_64/multiarch/strncat.S: New file.
56319 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56320 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56321 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56322 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56323 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56324 (USE_AS_STRCAT): Define.
56325 Add strcat and strncat support.
56326 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56327 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56328 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56329 * string/strncat.c: Update.
56330 (USE_AS_STRNCAT): Define.
56331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56332 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56333 and i7.
56334 * sysdeps/x86_64/multiarch/init-arch.h
56335 (bit_Prefer_PMINUB_for_stringop): New.
56336 (index_Prefer_PMINUB_for_stringop): Likewise.
56337 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56338 bit_Prefer_PMINUB_for_stringop.
56339
7dc6bd90
UD
563402011-07-19 Ulrich Drepper <drepper@gmail.com>
56341
56342 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56343 buffer64.
56344 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56345 of casting of buffer.
56346 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56347 buffer32 and buffer64.
56348 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56349 writes instead of casting of buffer.
56350 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56351 buffer32.
56352 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56353 casting of buffer.
56354
e0e72284
AS
563552011-07-19 Andreas Schwab <schwab@redhat.com>
56356
56357 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56358
feb1eb0b
UD
563592011-07-19 Ulrich Drepper <drepper@gmail.com>
56360
56361 * nscd/nscd.c (termination_handler): Don't do anything for a database
56362 if it has not yet been initialized.
56363
298711ff
UD
563642011-07-18 Ulrich Drepper <drepper@gmail.com>
56365
56366 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56367
563682011-07-15 Marek Polacek <mpolacek@redhat.com>
56369
56370 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56371
f9d68389
UD
563722011-07-18 Ulrich Drepper <drepper@gmail.com>
56373
56374 * po/nl.po: Update from translation team.
56375 * po/sv.po: Likewise.
56376
db290cf5
RM
563772011-07-16 Roland McGrath <roland@hack.frob.com>
56378
56379 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56380 now disallowed by GCC.
5c550700 56381
fd5e21c7
RM
56382 * configure.in (use-default-link): Default to yes if a test -shared
56383 link meets our qualifications.
56384 * configure: Regenerated.
56385
5c550700
RM
56386 * config.make.in (output-format): New variable.
56387 * configure.in: Check for ld --print-output-format support.
56388 * configure: Regenerated.
56389 * Makerules ($(common-objpfx)format.lds)
56390 [$(output-format) != unknown]: Just use $(output-format),
56391 instead of the linker-script munging.
56392
9fa2c032
RM
563932011-07-14 Roland McGrath <roland@hack.frob.com>
56394
a6928d51
RM
56395 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56396 of $(common-objpfx)shlib.lds.
56397 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56398
661607b3
RM
56399 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56400 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56401
9fa2c032
RM
56402 * configure.in (-z relro check): Adjust test code to add a large
56403 writable data section after it.
56404 * configure: Regenerated.
56405
defe9061
RM
564062011-07-11 Roland McGrath <roland@hack.frob.com>
56407
56408 * configure.in (-z relro check): Fix test code to make the variable
56409 truly const.
56410 * configure: Regenerated.
56411
319b9ad4
UD
564122011-07-11 Ulrich Drepper <drepper@gmail.com>
56413
56414 * nscd/nscd.h (struct traced_file): Define.
56415 (struct database_dyn): Remove inotify_descr, reset_res, and filename
56416 elements. Add traced_files.
56417 (inotify_fd): Declare.
56418 (register_traced_file): Declare.
56419 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56420 (inotify_fd): Export.
56421 (resolv_conf_descr): Remove.
56422 (nscd_init): Move inotify descriptor creation to main.
56423 Don't register files for notification here.
56424 (register_traced_file): New function.
56425 (invalidate_cache): Don't use reset_res to determine whether to call
56426 res_init, go through the list of registered files.
56427 (main_loop_poll): The inotify descriptors are now stored in the
56428 structures for the traced files.
56429 (main_loop_epoll): Likewise
56430 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
56431 to __nss_disable_nscd.
56432 * nscd/cache.c (prune_cache): There is no single inotify descriptor
56433 for a database anymore. Check the records for all the registered
56434 files instead.
56435 * nss/Makefile (libnss_files-routines): Add files-init.
56436 (libnss_db-routines): Add db-init.
56437 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
56438 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
56439 * nss/nss_db/db-init.c: New file.
56440 * nss/nss_files/files-init.c: New file.
56441 * nss/nsswitch.c (nss_load_library): New function. Broken out of
56442 __nss_lookup_function.
56443 (__nss_lookup_function): Call nss_load_library.
56444 (nss_load_all_libraries): New function.
56445 (__nss_disable_nscd): Take parameter with callback function for files
56446 to register. Set is_nscd. Load all the DSOs for the NSS modules
56447 used for the cached services.
56448 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
56449 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
56450 options for features to all the files in nscd.
56451
56452 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
56453
23bee3e8
RM
564542011-07-10 Roland McGrath <roland@hack.frob.com>
56455
56456 * csu/elf-init.c (__libc_csu_init): Comment typo.
56457
46a5b7f0
UD
564582011-07-09 Ulrich Drepper <drepper@gmail.com>
56459
56460 * po/pl.po: Update from translation team.
56461 * po/ja.po: Likewise.
56462 * po/ru.po: Likewise.
56463 * po/ko.po: Likewise.
56464 * po/fr.po: Likewise.
56465
d30cf5bb
RM
564662011-07-09 Roland McGrath <roland@hack.frob.com>
56467
113ddea4
RM
56468 * configure.in (.ctors/.dtors header and trailer check):
56469 Use an empirical test on a built program.
56470 * configure: Regenerated.
56471
574920b4
RM
56472 * configure.in (-z relro check): Use an empirical test on a built DSO.
56473 Detect, but do not require, on ia64.
56474 * configure: Regenerated.
56475
d30cf5bb
RM
56476 * configure.in (READELF): Find it with AC_CHECK_TOOL.
56477 Update tests that use readelf to use $READELF instead.
56478 * configure: Regenerated.
56479
8538fdb3
UD
564802011-07-08 Ulrich Drepper <drepper@gmail.com>
56481
56482 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
56483 if the result is not used.
56484
04d08991
AJ
564852011-07-05 Andreas Jaeger <aj@suse.de>
56486
56487 [BZ#9696]
56488 * stdlib/tst-strtod.c: Add testcase.
56489
de283087
AD
564902011-07-07 Ulrich Drepper <drepper@gmail.com>
56491
4e5f31c8 56492 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 56493 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
56494 The latter has a higher limit. Take additional parameter to pass to
56495 the new function.
56496 (__pathconf): Pass file to __statfs_link_max.
56497 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
56498 __statfs_link_max.
56499 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
56500 __statfs_link_max.
56501
de283087
AD
56502 [BZ #12868]
56503 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
56504 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56505 Handle Lustre.
56506 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
56507 (__statfs_filesize_max): Likewise.
56508 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
56509
c75fa153
AJ
565102011-07-05 Andreas Jaeger <aj@suse.de>
56511
56512 * resolv/res_comp.c (dn_skipname): Remove unused variable.
56513
1a544854
UD
565142011-07-06 Marek Polacek <mpolacek@redhat.com>
56515
56516 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
56517 `status' variable.
56518 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
56519 Likewise.
56520
6f0eec67
UD
565212011-07-04 H.J. Lu <hongjiu.lu@intel.com>
56522
56523 * Makefile (strop-tests): Add strncat.
56524 * string/test-strncat.c: New file.
56525
aae30307
UD
565262011-06-30 Marek Polacek <mpolacek@redhat.com>
56527
56528 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
56529
c0cfb5eb
UD
565302011-06-21 Andreas Jaeger <aj@suse.de>
56531
56532 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
56533 Copy rule from iconvdata/Makefile.
56534
01636b21
UD
565352011-07-06 Ulrich Drepper <drepper@gmail.com>
56536
56537 [BZ #12922]
56538 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
56539 but no long options are defined, just return 'W'.
56540
9895c8bc
UD
565412011-06-22 Marek Polacek <mpolacek@redhat.com>
56542
56543 [BZ #9696]
56544 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
56545
5d4cf042
UD
565462011-07-06 Ulrich Drepper <drepper@gmail.com>
56547
56548 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
56549 netgroups to read.
960e5535 56550 (innetgr): Likewise.
5d4cf042 56551
751eb97e
RM
565522011-07-05 Roland McGrath <roland@hack.frob.com>
56553
56554 * config.make.in (install_root): Default to $(DESTDIR).
56555
f15f1e45
UD
565562011-07-05 Ulrich Drepper <drepper@gmail.com>
56557
56558 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
56559
4e34ac6a
RM
565602011-07-02 Roland McGrath <roland@hack.frob.com>
56561
5e9b6af4
RM
56562 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
56563
84f9ea0f
RM
56564 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
56565 containing directory rather than embedding absolute directory names.
56566
ea5ee9f7
RM
56567 * scripts/check-local-headers.sh: Rewritten using awk.
56568 Match by word, not by line. Print error messages for matches.
56569 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
56570
1b74661a
RM
56571 * Makerules [shlib-lds-flags empty]:
56572 ($(common-objpfx)libc_pic.opts): New target.
56573 ($(common-objpfx)libc_pic.os.clean): New target.
56574 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
56575
56576 * config.make.in (OBJCOPY): New variable.
56577 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
56578 * configure: Regenerated.
56579
f781ef40
RM
56580 * config.make.in (use-default-link): New variable.
56581 * configure.in (use_default_link): Grok --with-default-link to set it.
56582 * configure: Regenerated.
56583 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
56584 (shlib-lds, shlib-lds-flags): Define to empty.
56585
2d4fa81e
RM
56586 * Makerules (shlib-lds): New variable.
56587 (shlib-lds-flags): New variable.
56588 (build-shlib, build-moduile, build-module-asneeded): Use it.
56589 ($(common-objpfx)libc.so): Use $(shlib-lds).
56590 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
56591 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
56592
31fffa6b
RM
56593 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
56594 DT_FLAGS/DT_FLAGS_1 with zero flags.
56595
4e34ac6a
RM
56596 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
56597 linker script munging.
56598
fcfc776b
UD
565992011-07-02 Ulrich Drepper <drepper@gmail.com>
56600
56601 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
56602 as 128-bit value.
56603 * crypt/sha512.c (sha512_process_block): Perform total addition using
56604 128-bit if possible.
56605 (__sha512_finish_ctx): Likewise.
56606 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
56607 as 64-bit value.
56608 * crypt/sha256.c (SWAP64): Define.
56609 (sha256_process_block): Perform total addition using 64-bit if
56610 possible.
56611 (__sha256_finish_ctx): Likewise.
56612
99231d9a
UD
566132011-07-01 Ulrich Drepper <drepper@gmail.com>
56614
56615 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
56616 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56617 * nscd/hstcache.c (cache_addhst): Likewise.
56618 * nscd/grpcache.c (cache_addgr): Likewise.
56619 * nscd/aicache.c (addhstaiX): Likewise
56620 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
56621
445b4a53
TK
566222011-07-01 Thorsten Kukuk <kukuk@suse.de>
56623
56624 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
56625 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56626 * nscd/hstcache.c (cache_addhst): Likewise.
56627 * nscd/grpcache.c (cache_addgr): Likewise.
56628 * nscd/aicache.c (addhstaiX): Likewise
56629
6d4d8e8e
AS
566302011-07-01 Andreas Schwab <schwab@redhat.com>
56631
56632 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
56633 domain only when needed.
56634
89f654c5
AS
566352011-06-30 Andreas Schwab <schwab@redhat.com>
56636
56637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
56638 is always restored.
56639
cf3b23ff
UD
566402011-06-29 Ulrich Drepper <drepper@gmail.com>
56641
56642 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
56643 are re-adding the entry.
56644 * nscd/servicescache.c (cache_addserv): Likewise.
56645
751626f9
AJ
566462011-06-30 Aurelien Jarno <aurelien@aurel32.net>
56647
56648 * sysdeps/generic/dl-irel.h: fix protection against multiple
56649 inclusions.
56650 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
56651
9113ea1f
UD
566522011-06-28 Ulrich Drepper <drepper@gmail.com>
56653
5c0b8d90
UD
56654 [BZ #12935]
56655 * malloc/memusage.sh: Fix quoting in message.
56656 * debug/xtrace.sh: Likewise.
56657
9113ea1f
UD
56658 * configure.in: Remove support for --experimental-malloc option, make
56659 it the default.
56660 * config.make.in: Likewise.
56661 * malloc/Makefile: Likewise.
56662
a4172181
AS
566632011-06-27 Andreas Schwab <schwab@redhat.com>
56664
56665 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
56666 two-byte characters.
56667
78a7eee7
RM
566682011-06-27 Roland McGrath <roland@hack.frob.com>
56669
62bede13
RM
56670 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
56671 AC_CACHE_CHECK invocation.
56672 * configure: Regenerated.
56673
78a7eee7
RM
56674 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
56675
5ce33a62
UD
566762011-06-27 Ulrich Drepper <drepper@gmail.com>
56677
034807a9
UD
56678 [BZ #12350]
56679 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
56680 bit from old_res_options.
56681
4902da17
UD
56682 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
56683
5ce33a62
UD
56684 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
56685 value type for setfct.
56686
c2344f56
L
566872011-06-23 H.J. Lu <hongjiu.lu@intel.com>
56688
56689 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56690 __gettimeofday instead of gettimeofday.
56691
68468076
UD
566922011-06-26 Ulrich Drepper <drepper@gmail.com>
56693
56694 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
56695
acb0d739
L
566962011-06-24 H.J. Lu <hongjiu.lu@intel.com>
56697
56698 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
56699
56700 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
56701 info.
56702
8912479f
L
567032011-06-22 H.J. Lu <hongjiu.lu@intel.com>
56704
56705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56706 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56707 strcpy-sse2-unaligned strncpy-sse2-unaligned
56708 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
56709 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
56710 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
56711 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
56712 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
56713 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
56714 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
56715 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
56716 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
56717 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
56718 (STRCPY): Support SSE2 and SSSE3 versions.
56719
d5495a11
UD
567202011-06-24 Ulrich Drepper <drepper@gmail.com>
56721
56722 [BZ #12874]
56723 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
56724 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
56725 kernels which artificially limit size of requests.
56726
0b1cbaae
L
567272011-06-22 H.J. Lu <hongjiu.lu@intel.com>
56728
56729 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56730 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56731 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
56732 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
56733 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
56734 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
56735 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
56736 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
56737 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
56738 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
56739 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
56740 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
56741 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
56742 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
56743 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
56744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56745 Enable unaligned load optimization for Intel Core i3, i5 and i7
56746 processors.
56747 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
56748 Define.
56749 (index_Fast_Unaligned_Load): Define.
56750 (HAS_FAST_UNALIGNED_LOAD): Define.
56751
07f494a0
MP
567522011-06-23 Marek Polacek <mpolacek@redhat.com>
56753
56754 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
56755
fa3fc0fe
UD
567562011-06-22 Ulrich Drepper <drepper@gmail.com>
56757
56758 [BZ #12907]
56759 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
56760 until it is clear that the information is realy needed.
56761 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
56762
e12df166
AS
567632011-06-22 Andreas Schwab <schwab@redhat.com>
56764
56765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
56766
852eb34d
UD
567672011-06-22 Ulrich Drepper <drepper@gmail.com>
56768
84e2a551
UD
56769 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56770 /sys/devices/system/cpu/online if it is usable.
56771
852eb34d
UD
56772 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
56773 reading the information from the /proc filesystem to once a second.
56774
6e502e19
UD
567752011-06-21 Andreas Jaeger <aj@suse.de>
56776
56777 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
56778 NULL after inclusion of kernel headers.
56779
75d39ff2
UD
567802011-06-21 Ulrich Drepper <drepper@gmail.com>
56781
51f9aa6a
UD
56782 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
56783 calls to internal_setent.
56784
c0244a9d
UD
56785 [BZ #12885]
56786 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
56787 addresses using gethostbyname4_r ignore IPv4 addresses.
56788
c5e3c2ae
UD
56789 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
56790 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
56791
75d39ff2
UD
56792 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
56793
42675c6f
DM
567942011-06-20 David S. Miller <davem@davemloft.net>
56795
56796 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
56797 inclusions.
56798 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
56799
56800 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
56801 (elf_irel): Use it.
56802 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
56803 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
56804 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
56805 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
56806 * sysdeps/x86_64/dl-irel.h: Likewise.
56807
56808 * elf/dl-runtime.c: Use elf_ifunc_invoke.
56809 * elf/dl-sym.c: Likewise.
56810
57912a71
UD
568112011-06-15 Ulrich Drepper <drepper@gmail.com>
56812
56813 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
56814 need to dereference resplen2.
56815
ee22793d
AS
568162011-06-14 Andreas Schwab <schwab@redhat.com>
56817
56818 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
56819
a9e836b0
UD
568202011-06-15 Ulrich Drepper <drepper@gmail.com>
56821
77fb9117
UD
56822 * Makeconfig: Define vardbdir and inst_vardbdir.
56823 * nss/Makefile: Add rules to install db-Makefile.
56824
40c1b22c
UD
56825 * nss/nss_db/db-XXX.c: Cleanup.
56826
9f2da732
UD
56827 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
56828 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
56829 GLIBC_PRIVATE.
56830 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
56831 * nss/makedb.c: Implement -g option to specify that value strings
56832 are generated and should not be added to table iterated over for
56833 get*ent calls.
56834 * nss/nss_db/db-initgroups.c: New file.
56835
82e9a1f7
UD
56836 * nss/getent.c: Add support for initgroups lookups through getgrouplist
56837 interface.
56838
c41af17e
UD
56839 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
56840 (internal_getgrouplist): Adjust to name change.
56841 Update use_initgroups_entry if this is not the first call.
56842 * nss/databases.def: Add initgroups entry.
56843
a9e836b0
UD
56844 * nss/makedb.c (compute_tables): Check result of multiple hash table
56845 sizes to minimize maximum chain length.
56846
2666d441
UD
568472011-06-14 Ulrich Drepper <drepper@gmail.com>
56848
56849 * Versions.def: Add entry for libnss_db.
56850 * shlib-versions: Likewise.
56851 * nss/Makefile: Add rules to build libnss_db.
56852 * nss/Versions: Add libnss_db information. Organize libnss_files
56853 entries better.
56854 * nss/db-Makefile: Add gshadow support. Change rules for the new
56855 makedb progra. Some minor improvements to generate smaller files.
56856 * nss/nss_db/nss_db.h: Move NSS database header data structures to
56857 here from...
56858 * nss/makedb.c: ...here.
56859 Improve database format to be smaller and require less memory at
56860 runtime.
56861 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
56862 db anymore.
56863 * nss/nss_db/db-netgrp.c: Likewise.
56864 * nss/nss_db/db-open.c: Likewise.
56865 * nss/nss_files/flies-XXX.x: Adjust comments.
56866 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
56867 * nss/nss_files/files-grp.c: Likewise.
56868 * nss/nss_files/files-hosts.c: Likewise.
56869 * nss/nss_files/files-network.c: Likewise.
56870 * nss/nss_files/files-proto.c: Likewise.
56871 * nss/nss_files/files-pwd.c: Likewise.
56872 * nss/nss_files/files-rpc.c: Likewise.
56873 * nss/nss_files/files-service.c: Likewise.
56874 * nss/nss_files/files-sgrp.c: Likewise.
56875 * nss/nss_files/files-spwd.c: Likewise.
56876 * nss/nss_db/db-alias.c: Removed.
56877 * nss/nss_db/dummy-db.h: Removed.
56878
9ee76b5a
UD
568792011-06-02 Ulrich Drepper <drepper@gmail.com>
56880
56881 * nss/makedb.c: Rewritten to not use database library.
56882 * nss/Makefile: Update to build new makedb program.
56883
c71ca1f8
AJ
568842011-06-14 Andreas Jaeger <aj@suse.de>
56885
56886 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
56887 memset declaration.
56888
3154bfb8
UD
568892011-06-10 Andreas Schwab <schwab@redhat.com>
56890
56891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
56892 tmpbuf.
56893
b350afab
RM
568942011-06-10 Roland McGrath <roland@hack.frob.com>
56895
decd4e50
RM
56896 * Makerules (shlib.lds): Fail if the linker script comes out empty.
56897 * elf/Makefile ($(objpfx)ld.so): Likewise.
56898
5615eaf2
RM
56899 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
56900 Don't list ld.so twice in dependencies.
56901
56902 * posix/bug-regex31.c: Include <stdlib.h>.
56903
56904 * nscd/hstcache.c (cache_addhst): Remove unused variable.
56905
56906 * nis/nss_compat/compat-spwd.c
56907 (getspent_next_nss_netgr): Remove unused variable.
56908 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
56909
56910 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
56911 nonmembers" output to use the right array.
56912
56913 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
56914
56915 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
56916
56917 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
56918 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
56919 * catgets/gencat.c (read_input_file): Likewise.
56920 * locale/programs/locarchive.c (enlarge_archive): Likewise.
56921
56922 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
56923 variable definition inside #if's controlling its use.
56924
56925 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
56926
56927 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
56928
56929 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
56930
56931 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
56932 unreachable code.
56933
56934 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
56935
b68e08db
RM
56936 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
56937 * configure: Regenerated.
56938
b350afab
RM
56939 * Makerules: Revert last change.
56940 * elf/Makefile: Likewise.
56941
28368601
RM
569422011-06-09 Roland McGrath <roland@hack.frob.com>
56943
56944 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
56945 * elf/Makefile ($(objpfx)librtld.os): Likewise.
56946 (reloc-link): Likewise.
56947
11988f8f
UD
569482011-06-09 Ulrich Drepper <drepper@gmail.com>
56949
56950 * elf/Makefile: Add rules to build pldd.
56951 * elf/pldd.c: New file.
56952 * elf/pldd-xx.c: New file.
56953
e80fab37
UD
569542011-06-07 Ulrich Drepper <drepper@gmail.com>
56955
56956 * version.h: Update for 2.15 development version.
56957
9b849836
DM
569582011-06-07 David S. Miller <davem@davemloft.net>
56959
56960 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
56961 ifuncs.
56962 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
56963 elf_machine_lazy_rel): Likewise.
56964 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56965 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
56966 elf_machine_lazy_rel): Likewise.
56967 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
56968 dl_hwcap via passed in argument.
56969 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
56970 Likewise.
56971
5a31b283
AK
569722011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56973
56974 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
56975
069e52f8
RM
569762011-06-06 Roland McGrath <roland@hack.frob.com>
56977
56978 [BZ #12849]
56979 * manual/fdl-1.1.texi: New file, verbatim from:
56980 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
56981 * manual/lgpl-2.1.texi: New file, verbatim from:
56982 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
56983 * manual/Makefile (licenses): New variable, list those new file names.
56984 (texis): Use it.
56985 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
56986
56987 * manual/fdl.texi: File removed.
56988 * manual/lesser.texi: File removed.
56989 * manual/libc.texinfo (Copying, Documentation License):
56990 Use new @include file names, put @appendix directive before @include.
56991
f16846a5
JJ
569922011-06-04 Jakub Jelinek <jakub@redhat.com>
56993
56994 [BZ #12841]
56995 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
56996 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
56997 (mq_open): Add __NTH.
56998
3d29045b
L
569992011-06-02 H.J. Lu <hongjiu.lu@intel.com>
57000
57001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57002 Assume Intel Core i3/i5/i7 processor if AVX is available.
57003
8c297311
UD
570042011-05-31 Ulrich Drepper <drepper@gmail.com>
57005
57006 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57007 typo.
57008
c8fc0c91
UD
570092011-05-31 Andreas Schwab <schwab@redhat.com>
57010
57011 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57012 memory. Use alloca_account. Fix memory leak when retrying.
57013
5b27a807
UD
570142011-05-31 Ulrich Drepper <drepper@gmail.com>
57015
356f8bc6
UD
57016 * version.h (RELEASE): Bump for 2.14 release.
57017 * include/features.h (__GLIBC_MINOR__): Bump to 14.
57018
5b27a807
UD
57019 * config.make.in (RANLIB): Remove entry.
57020
01f16ab0
UD
570212011-05-30 Ulrich Drepper <drepper@gmail.com>
57022
41fce8bd
UD
57023 * po/Makefile (po-sed-cmd): Add ksh to extensions.
57024 (libc.pot): Work around missing support for .ksh extension in xgettext.
57025
4769ae77
UD
57026 [BZ #12684]
57027 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57028 if both request failed.
57029 (send_dg): In case of server errors clear resplen or *resplen2.
57030
6b1e7d19
UD
57031 [BZ #12454]
57032 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
57033 when there are multiple maps.
57034 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
57035 (_dl_fini): Remove test here.
57036
01f16ab0
UD
57037 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
57038
b1ebd700
UD
570392011-05-29 Ulrich Drepper <drepper@gmail.com>
57040
7ae22829
UD
57041 [BZ #12350]
57042 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
57043 bit from old_res_options.
57044 (gaih_inet): Likewise.
57045
553149f6 57046 [BZ #11099]
18a84741 57047 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
57048 as signed.
57049
652ffab1
UD
57050 * resolv/res_init.c (res_setoptions): Make the code more compact.
57051
16985fd0
UD
57052 [BZ #11558]
57053 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
57054 set RES_USEVC.
57055
0464f746
UD
57056 [BZ #11634]
57057 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
57058
7d17596c
UD
57059 * malloc/malloc.h: Mark malloc hook variables as deprecated.
57060
cf6bbbd7
UD
57061 [BZ #11781]
57062 * malloc/malloc.h: Declare malloc hook variables as volatile.
57063
13f1ab36
UD
57064 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
57065 in last patch.
57066
b1ebd700
UD
57067 [BZ #11799]
57068 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 57069 raise in the comment.
80e2212d
UD
57070 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57071 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57072 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 57073
ce67228d
UD
570742011-05-28 Ulrich Drepper <drepper@gmail.com>
57075
8887a920
UD
57076 [BZ #12811]
57077 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
57078 grow the buffers more if it already has to be sufficient.
57079 (build_wcs_upper_buffer): Likewise.
57080 * posix/regexec.c (check_matching): Likewise.
57081 (clean_state_log_if_needed): Likewise.
57082 (extend_buffers): Don't enlarge buffers beyond size of the input
57083 buffer.
57084 Patches mostly by Emil Wojak <emil@wojak.eu>.
57085 * posix/bug-regex32.c: New file.
57086 * posix/Makefile (tests): Add bug-regex32.
57087
4f031072
UD
57088 * locale/findlocale.c (_nl_find_locale): Return right away if
57089 _nl_explode_name failed.
57090 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
57091
d0478f0c
UD
57092 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
57093
de81b246
UD
57094 * debug/xtrace.sh: Unify messages.
57095 * malloc/memusage.sh: Likewise.
57096
c738465a
UD
57097 [BZ #12813]
57098 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
57099 time symbol from vDSO. Substitute with vsyscall if not available.
57100 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
57101 __vdso_time.
57102
f1f929d7
UD
57103 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
57104 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
57105 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
57106 Add sendmmsg and internal_sendmmsg.
57107 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
57108 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
57109 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
57110
ce67228d
UD
57111 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
57112 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
57113 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
57114
e57420c6
UD
571152011-05-27 Ulrich Drepper <drepper@gmail.com>
57116
a8509ca5
UD
57117 [BZ #12813]
57118 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
57119 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
57120 available.
57121 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
57122 __vdso_getcpu.
57123
e57420c6
UD
57124 [BZ #12814]
57125 * iconvdata/Makefile (tests): Add bug-iconv9.
57126 * iconvdata/bug-iconv9.c: New file.
57127
4d07db15
AS
571282011-05-27 Andreas Schwab <schwab@redhat.com>
57129
57130 [BZ #12814]
57131 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57132
ea486f69
JJ
571332011-05-25 Jakub Jelinek <jakub@redhat.com>
57134
57135 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57136 (struct user_regs_struct): Change intcs field back to cs.
57137
6f038433
UD
571382011-05-25 Ulrich Drepper <drepper@gmail.com>
57139
57140 * po/ja.po: Update from translation team.
57141
67f86a25
UD
571422011-05-23 Ulrich Drepper <drepper@gmail.com>
57143
57144 [BZ #12795]
57145 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
57146 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
57147
def7fbd6
AS
571482011-05-20 Andreas Schwab <schwab@redhat.com>
57149
57150 * stdlib/longlong.h: Update from GCC.
57151
f50ef8f1
AS
571522011-05-23 Andreas Schwab <schwab@redhat.com>
57153
57154 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
57155 parameter name.
57156 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
57157 Add parameter name.
57158 (__sysconf): Pass it down.
57159
de7ce8f1
UD
571602011-05-22 Ulrich Drepper <drepper@gmail.com>
57161
f2962a71
UD
57162 [BZ #12671]
57163 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
57164 some situations.
57165 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57166 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
57167 add in in __libc_use_alloca calls. Adjust callers.
57168 (glob): Use malloc in some situations.
57169
de7ce8f1
UD
57170 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
57171 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
57172 pltexit.
57173
aec84f53
UD
571742011-05-21 Ulrich Drepper <drepper@gmail.com>
57175
05bb4a68
UD
57176 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
57177 and CLOCK_BOOTTIME_ALARM.
57178
7ea72f99
UD
57179 [BZ #12782]
57180 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
57181 is returned.
57182
7e4afad5
UD
57183 * string/_strerror.c (__strerror_r): Print negative errors as signed
57184 numbers.
57185
8e211fec
UD
57186 [BZ #12777]
57187 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57188 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57189 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57190
f7d82dc9
UD
57191 * configure.in: Fix typo in redirection and correct removal of test
57192 files in two cases.
57193
cc9e536d
UD
57194 [BZ #12788]
57195 * locale/setlocale.c (new_composite_name): Fix test to check for
57196 identical name of all categories.
57197
aec84f53
UD
57198 [BZ #12792]
57199 * libio/filedoalloc.c (local_isatty): New function.
57200 (_IO_file_doallocate): Use local_isatty.
57201 * stdio-common/perror.c (perror): In case a new stream is used
57202 forward the stream error.
57203 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57204 error flag.
57205
78e64fdc
RT
572062011-05-20 Ulrich Drepper <drepper@gmail.com>
57207
34a9094f
UD
57208 [BZ #11869]
57209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57210 alloca.
57211 * include/alloca.h (extend_alloca_account): Define.
57212
78e64fdc
RT
57213 [BZ #11857]
57214 * posix/regex.h: Fix comments with documentation of user-accessible
57215 fields after compilation and describe correct free'ing of pattern
57216 after re_compile_pattern.
57217 Patch by Reuben Thomas <rrt@sc3d.org>.
57218
457bddfc
RA
572192011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
57220
57221 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57222 and -mno-altivec to prevent the compiler from using Altivec and/or
57223 VSX instructions when the corresponding registers are not available.
57224
a4527b51
AS
572252011-05-19 Andreas Schwab <schwab@redhat.com>
57226
57227 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57228
ed690b2f
UD
572292011-05-19 Ulrich Drepper <drepper@gmail.com>
57230
57231 * libio/freopen.c (freopen): Use __dup2, not dup2.
57232 * libio/freopen64.c (freopen64): Likewise.
57233
8db73634
L
572342011-05-17 H.J. Lu <hongjiu.lu@intel.com>
57235
57236 [BZ #12775]
57237 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57238 * math/Makefile (tests): Add test-powl.
57239 (CFLAGS-test-powl.c): Define.
57240 * math/test-powl.c: New file.
57241
0a197a9d
L
572422011-05-16 H.J. Lu <hongjiu.lu@intel.com>
57243
57244 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57245
ee30c380
UD
572462011-05-17 Ulrich Drepper <drepper@gmail.com>
57247
57248 [BZ #11837]
57249 * iconvdata/gb18030.c: Update to GB18020-2005.
57250
6ce75379
UD
572512011-05-16 Ulrich Drepper <drepper@gmail.com>
57252
a4b89fd8
AR
57253 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57254 RE_SYNTAX_POSIX_AWK): Update to match recent development.
57255 Patch by Aharon Robbins <arnold@skeeve.com>.
57256
ea389b12
UD
57257 [BZ #11892]
57258 * stdlib/putenv.c (putenv): Don't always create copy of the variable
57259 on the stack.
57260
68a3f91f
UD
57261 [BZ #11895]
57262 * misc/pselect.c (__pselect): Handle timeout value errors hidden
57263 through underflows.
57264
15cc7dd1
UD
57265 [BZ #12766]
57266 * misc/error.c (error_at_line): Ensure file_name and old_file_name
57267 point to strings before performing equality test for error_one_per_line
57268 mode.
57269
f3799213
UD
57270 [BZ #11697]
57271 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57272
d79a9c94
UD
57273 [BZ #11820]
57274 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57275 (struct user_fpregs_struct): Avoid __uint*_t types.
57276
56e5eb46
UD
57277 [BZ #6420]
57278 * malloc/mtrace.c (tr_where): Add additional parameter to point to
57279 symbol info. Use it instead of calling _dl_addr locally.
57280 (lock_and_info): New function.
57281 (tr_freehook): Call lock_and_info and pass symbol info as additional
57282 parameter to tr_where.
57283 (tr_mallochook): Likewise.
57284 (tr_reallochook): Likewise.
57285 (tr_memalignhook): Likewise.
57286
6ce75379
UD
57287 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
57288 used and couldn't be at all thread-safe.
57289
f8a3b5bf
UD
572902011-05-15 Ulrich Drepper <drepper@gmail.com>
57291
94b7cc37
UD
57292 * libio/freopen.c (freopen): Don't close old file descriptor
57293 before the new one is opened. Instead dup the new file descriptor
57294 to the old one after the new stream is created.
57295 * libio/freopen64.c (freopen64): Likewise.
57296 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57297 * libio/fileops.c (_IO_new_file_close_it): Handle new
57298 _IO_FLAGS2_NOCLOSE flag.
57299 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57300 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57301 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57302 _IO_FLAGS2_NOCLOSE flag.
57303 * include/unistd.h: Add hidden_proto for dup3.
57304 Define __have_dup3.
57305 * io/dup3.c: Define hidden symbol.
57306 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57307
bd25564e
UD
57308 [BZ #7101]
57309 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57310 when an incomplete long option is used.
57311 * posix/tst-getopt_long1.c: New file.
57312 * posix/Makefile (tests): Add tst-getopt_long1.
57313
c84cfef4
UD
57314 [BZ #10138]
57315 * scripts/config.guess: Update from autoconf-2.68.
57316 * scripts/config.sub: Likewise.
57317
3b85df27
UD
57318 [BZ #10157]
57319 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57320 tests into ...
57321 (has_cpuclock): ...this. New function.
57322 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57323 macro here based on has_cpuclock code.
57324
15a856b1
UD
57325 [BZ #10149]
57326 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57327 First byte (not low byte) is now always NUL.
57328 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57329
05f399e6
UD
57330 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57331 Use non-cancelable interfaces.
57332
10a52685 57333 [BZ #9809]
94ecc67d
UD
57334 * locale/iso-639.def: Add entry for Sorani.
57335
f8a3b5bf
UD
57336 [BZ #11901]
57337 * include/stdlib.h: Move include protection to the right place.
57338 Define abort_msg_s. Declare __abort_msg with it.
57339 * stdlib/abort.c (__abort_msg): Adjust type.
57340 * assert/assert.c (__assert_fail_base): New function. Majority
57341 of code from __assert_fail. Allocate memory for __abort_msg with
57342 mmap.
57343 (__assert_fail): Now call __assert_fail_base.
57344 * assert/assert-perr.c: Remove bulk of implementation. Use
57345 __assert_fail_base.
57346 * include/assert.hL Declare __assert_fail_base.
57347 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57348 mmap.
57349 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57350
1af4e298
UD
573512011-05-14 Ulrich Drepper <drepper@gmail.com>
57352
f8a3b5bf 57353 [BZ #11952]
d26dfc60
MG
57354 [BZ #12453]
57355 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57356 until all modules are registered in the DTV.
57357 * elf/Makefile: Add rules to build and run tst-tls19.
57358 * elf/tst-tls19.c: New file.
57359 * elf/tst-tls19mod1.c: New file.
57360 * elf/tst-tls19mod2.c: New file.
57361 * elf/tst-tls19mod3.c: New file.
57362 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57363
2fc54d6f
UD
57364 [BZ #12083]
57365 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57366 correctly.
57367
98d76b46
UD
57368 [BZ #12601]
57369 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57370 two-byte sequence errors.
57371 * iconvdata/Makefile (tests): Add bug-iconv8.
57372 * iconvdata/bug-iconv8.c: New file.
57373
da3c19ef
UD
57374 [BZ #12626]
57375 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57376 buf2 definition.
57377
ca408c15
UD
57378 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57379
d6f67f7d
UD
57380 [BZ #12432]
57381 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57382 (dummy_getcfa): New function.
57383 (init): Get _Unwind_GetCFA address, use dummy if not found.
57384 (backtrace_helper): In recursion check, also check whether CFA changes.
57385 (__backtrace): Completely initialize arg.
57386
1af4e298 57387 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
57388 storing incomplete byte sequence in state object. Avoid testing for
57389 guaranteed too small input if we know there is enough data available.
1af4e298 57390
da62f81b
AS
573912011-05-11 Andreas Schwab <schwab@redhat.com>
57392
57393 * Makeconfig (+link-pie): Indent.
57394 * Rules (binaries-pie): Define if $(have-fpie) and
57395 $(build-shared).
57396 (binaries-shared): Also filter out $(binaries-pie).
57397 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57398 * nscd/Makefile (others-pie): Add nscd.
57399 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57400 ($(objpfx)nscd): Remove command override.
57401 * login/Makefile (others-pie): Add pt_chown.
57402 ($(objpfx)pt_chown): Remove command override.
57403 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57404 remove command overrides.
57405
fcabc0f8
UD
574062011-05-13 Ulrich Drepper <drepper@gmail.com>
57407
20030ae6
UD
57408 * libio/tst_putwc.c: Fix error messages.
57409
fcabc0f8
UD
57410 [BZ #12724]
57411 * libio/fileops.c (_IO_new_file_close_it): Always flush when
57412 currently writing and seek to current position when not.
57413 * libio/Makefile (tests): Add bug-fclose1.
57414 * libio/bug-fclose1.c: New file.
57415
320a5dc0
PB
574162011-05-12 Ulrich Drepper <drepper@gmail.com>
57417
57418 [BZ #12511]
57419 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57420 don't set DF_1_NODELETE here.
57421 (do_lookup_x): When entering new entry test for copy relocation
57422 and if necessary set DF_1_NODELETE flag.
57423 * elf/tst-unique4.cc: New file.
57424 * elf/tst-unique4.h: New file.
57425 * elf/tst-unique4lib.cc: New file.
57426 * elf/Makefile: Add rules to build and run tst-unique4.
57427 Patch by Piotr Bury <pbury@goahead.com>.
57428
22836f52
UD
574292011-05-11 Ulrich Drepper <drepper@gmail.com>
57430
f574184a
UD
57431 [BZ #12052]
57432 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
57433
e1fb097f
UD
57434 [BZ #12625]
57435 * misc/mntent_r.c (addmntent): Flush the stream after the output
57436
22836f52
UD
57437 [BZ #12393]
57438 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
57439 (is_trusted_path_normalize): Skip initial colon. Append slash
57440 to empty buffer. Duplicate is_trusted_path code but allow
57441 constructed patch to be prefix.
57442 (is_dst): Allow $ORIGIN followed by /.
57443 (_dl_dst_substitute): Correct clearing of check_for_trusted.
57444 Correct testing of result of is_trusted_path_normalize
57445 (decompose_rpath): Fix warning.
57446
7b3b0b2a
UD
574472011-05-10 Ulrich Drepper <drepper@gmail.com>
57448
57449 [BZ #11257]
57450 * grp/initgroups.c (internal_getgrouplist): When we found the service
57451 list through the initgroups entry in nsswitch.conf do not always
57452 continue on a successful lookup. Don't always use the
eac80ce2 57453 __nss_group_database value if it is set.
7b3b0b2a
UD
57454 * nss/nsswitch.conf (initgroups): Change action for successful db
57455 lookup to continue for compatibility.
57456
2a81eaa5
UD
574572011-05-09 Ulrich Drepper <drepper@gmail.com>
57458
be97a69e
UD
57459 [BZ #11532]
57460 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
57461 and CP774 modules.
57462 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
57463 and CP774 modules.
57464 * iconvdata/tst-tables.sh: Likewise.
57465 * iconvdata/cp770.c: New file.
57466 * iconvdata/cp771.c: New file.
57467 * iconvdata/cp772.c: New file.
57468 * iconvdata/cp773.c: New file.
57469 * iconvdata/cp774.c: New file.
57470 * iconvdata/testdata/CP770: New file.
57471 * iconvdata/testdata/CP770..UTF8: New file.
57472 * iconvdata/testdata/CP771: New file.
57473 * iconvdata/testdata/CP771..UTF8: New file.
57474 * iconvdata/testdata/CP772: New file.
57475 * iconvdata/testdata/CP772..UTF8: New file.
57476 * iconvdata/testdata/CP773: New file.
57477 * iconvdata/testdata/CP773..UTF8: New file.
57478 * iconvdata/testdata/CP774: New file.
57479 * iconvdata/testdata/CP774..UTF8: New file.
57480
57481 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
57482 END CHARMAP line.
57483 * iconvdata/gen-8bit-gap.sh: Likewise.
57484 * iconvdata/gen-8bit.sh: Likewise.
57485
c1e9e399
UD
57486 * locale/iso-639.def: Add ary entry.
57487
24c55fb3 57488 [BZ #11258]
96b4b1b0
UD
57489 * locale/C-translit.h.in: Add U20A1 transliteration.
57490
bdc2f971
KB
57491 [BZ #12178]
57492 * locale/iso-639.def: Add wae entry.
57493 Patch by Kevin Bortis <bortis@translate-wae.ch>.
57494
2952b117
UD
57495 [BZ #12545]
57496 * locale/programs/localedef.c (construct_output_path): Use ssize_t
57497 for n.
57498
2a81eaa5
UD
57499 [BZ #12711]
57500 * locale/C-translit.h.in: Add entry for U20B9.
57501 Patch by pravin.d.s@gmail.com.
57502
28377d1b
UD
575032011-05-08 Ulrich Drepper <drepper@gmail.com>
57504
7fb90fb8
UD
57505 [BZ #12713]
57506 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
57507 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
57508 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
57509 in rtld. Use *stat64.
7fb90fb8 57510 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 57511 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 57512 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
57513 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
57514 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
57515 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
57516 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
57517 __fstatat64 macros.
7fb90fb8
UD
57518 * include/dirent.h: Add libc_hidden_proto for rewinddir.
57519 * dirent/rewinddir.c: Add libc_hidden_def.
57520 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 57521 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 57522
28377d1b
UD
57523 * include/dirent.h (__alloc_dir): Add flags parameter.
57524 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
57525 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
57526 __alloc_dir.
57527 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
57528 from fdopendir if O_CLOEXEC is already set.
57529
66bdbaa4
AM
575302011-03-15 Alan Modra <amodra@gmail.com>
57531
57532 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
57533 l_tls_firstbyte_offset non-zero. Save padding offset in
57534 l_tls_firstbyte_offset for later use.
57535 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
57536 freeing static tls block.
57537
95721191
JN
575382011-03-05 Jonathan Nieder <jrnieder@gmail.com>
57539
57540 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
57541 where #ifdef was intended. The intent is to prevent ARG_MAX from
57542 being defined by the kernel headers.
57543
f87dfb1f
UD
575442011-05-07 Ulrich Drepper <drepper@gmail.com>
57545
57546 [BZ #12734]
57547 * resolv/resolv.h: Define RES_NOTLDQUERY.
57548 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
57549 no-tld-query and set RES_NOTLDQUERY.
57550 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
57551 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
57552 modern BIND to search name as TLD unless forbidden.
57553
47c3cd7a
UD
575542011-05-07 Petr Baudis <pasky@suse.cz>
57555 Ulrich Drepper <drepper@gmail.com>
57556
57557 [BZ #12393]
57558 * elf/dl-load.c (fillin_rpath): Move trusted path check...
57559 (is_trusted_path): ...to here.
c1e9ea35 57560 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 57561 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 57562 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 57563
8a35c912
PP
575642011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
57565
57566 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
57567 __BEGIN/__END_DECLS.
57568
acd41f47
UD
575692011-05-06 Ulrich Drepper <drepper@gmail.com>
57570
57571 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
57572 NSS_STATUS_NOTFOUND if no record was found.
57573
597df647
AS
575742011-05-05 Andreas Schwab <schwab@redhat.com>
57575
57576 * sunrpc/Makefile (headers): Add rpc/netdb.h.
57577 (headers-not-in-tirpc): Remove rpc/netdb.h
57578 * resolv/netdb.h: Revert last change.
57579
b9af1301
PP
575802011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
57581
57582 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
57583 circular dependency between libgcc.a and libc.a.
57584
4e34d5f5
AS
575852011-05-05 Andreas Schwab <schwab@redhat.com>
57586
57587 * resolv/netdb.h: Don't include <rpc/netdb.h>.
57588 * nis/Makefile: Don't install rpcsvc/*.
57589 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
57590 instead of <rpc/types.h>.
57591 (MAXHOSTNAMELEN): Define.
57592
00ee369c
AS
575932011-05-03 Andreas Schwab <schwab@redhat.com>
57594
57595 * elf/ldconfig.c (add_dir): Don't crash on empty path.
57596
0b592a30
MB
575972011-04-28 Maciej Babinski <mbabinski@google.com>
57598
57599 [BZ #12714]
57600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
57601 gethostbyname4_r when IPv6 results are possible.
57602
6e04cbbe
UD
576032011-05-02 Ulrich Drepper <drepper@gmail.com>
57604
57605 [BZ #12723]
57606 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
57607 _PC_PIPE_BUF handling.
57608
e4ecafe0
BH
576092011-04-30 Bruno Haible <bruno@clisp.org>
57610
57611 [BZ #12717]
57612 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
57613 * resolv/netdb.h (getnameinfo): Change type of flags parameter
57614 to 'int'.
57615 * inet/getnameinfo.c (getnameinfo): Likewise.
57616
125ee683
UD
576172011-04-29 Ulrich Drepper <drepper@gmail.com>
57618
57619 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
57620 to groups setting in database lookup.
57621 * nss/nsswitch.conf: Add initgroups entry.
57622
b722481a
EB
576232011-04-22 Ulrich Drepper <drepper@gmail.com>
57624
57625 [BZ #12685]
57626 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
57627 mode string.
57628 Patch by Eric Blake <eblake@redhat.com>.
57629
4df46dbd
L
576302011-04-20 H.J. Lu <hongjiu.lu@intel.com>
57631
57632 * sunrpc/Makefile (need-export-routines): Add svc_run.
57633 (routines): Remove svc_run.
57634 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
57635 * sunrpc/clnt_perr.c (clnt_perrno): Export.
57636 * sunrpc/svc_run.c (svc_run): Likewise.
57637 * sunrpc/svc_udp.c (svcudp_create): Likewise.
57638
e84142d2
UD
576392011-04-21 Ulrich Drepper <drepper@gmail.com>
57640
57641 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
57642 problem in reallocation in last patch.
57643
877175d8
UD
576442011-04-20 Ulrich Drepper <drepper@gmail.com>
57645
57646 * sunrpc/Makefile: Move inclusion of Rules.
57647
ab8eed78
UD
576482011-04-19 Ulrich Drepper <drepper@gmail.com>
57649
57650 * nss/nss_files/files-initgroups.c: New file.
57651 * nss/Makefile (libnss_files-routines): Add files-initgroups.
57652 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
57653 _nss_files_initgroups_dyn.
57654
e3d8f584
RS
576552011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
57656
57657 * elf/elf.h (R_ARM_IRELATIVE): Define.
57658
af190f45
UD
576592011-04-19 Ulrich Drepper <drepper@gmail.com>
57660
57661 * po/ru.po: Update from translation team.
57662
53cf59ef
UD
576632011-04-17 Ulrich Drepper <drepper@gmail.com>
57664
57665 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
57666 dependencies.
57667
4c559bcd
MF
576682011-02-06 Mike Frysinger <vapier@gentoo.org>
57669
57670 [BZ #12653]
57671 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
57672 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
57673 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57674 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57675 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57676
4420675c
AS
576772011-03-28 Andreas Schwab <schwab@linux-m68k.org>
57678
57679 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
57680 differing bytes.
57681 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57682 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57683 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57684
75ea32ab
UD
576852011-04-17 Ulrich Drepper <drepper@gmail.com>
57686
57687 [BZ #12420]
57688 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
57689 storing it.
57690 * stdlib/bug-getcontext.c: New file.
57691 * stdlib/Makefile: Add rules to build and run bug-getcontext.
57692
27390476
AK
576932011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57694
57695 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
57696 instructions into .machine "z9-109".
57697 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
57698 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
57699
10442705
AK
577002011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57701
57702 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
57703 between environment variables and auxiliary vector.
57704
7b57bfe5
UD
577052011-04-16 Ulrich Drepper <drepper@gmail.com>
57706
57707 * Makefile: Add rules to build linkobj/libc.so.
57708 * include/libc-symbols.h: Define libc_hidden_nolink.
57709 * include/rpc/auth.h: Mark functions which are to be hidden.
57710 * include/rpc/auth_des.h: Likewise.
57711 * include/rpc/auth_unix.h: Likewise.
57712 * include/rpc/clnt.h: Likewise.
57713 * include/rpc/des_crypt.h: Likewise.
57714 * include/rpc/key_prot.h: Likewise.
57715 * include/rpc/pmap_clnt.h: Likewise.
57716 * include/rpc/pmap_prot.h: Likewise.
57717 * include/rpc/pmap_rmt.h: Likewise.
57718 * include/rpc/rpc_msg.h: Likewise.
57719 * include/rpc/svc.h: Likewise.
57720 * include/rpc/svc_auth.h: Likewise.
57721 * include/rpc/xdr.h: Likewise.
57722 * nis/Makefile: Link all DSOs against linkobj/libc.so.
57723 * nss/Makefile: Likewise.
57724 * sunrpc/Makefile: Don't install headers. Build library with normal
57725 entry points. Don't build rpcinfo. Link RPC tests appropriately.
57726 * sunrpc/auth_des.c: Hide exported symbols by default, export some
57727 for the compat linking library. Remove use of INTDEF/INTUSE.
57728 * sunrpc/auth_none.c: Likewise.
57729 * sunrpc/auth_unix.c: Likewise.
57730 * sunrpc/authdes_prot.c: Likewise.
57731 * sunrpc/authuxprot.c: Likewise.
57732 * sunrpc/clnt_gen.c: Likewise.
57733 * sunrpc/clnt_perr.c: Likewise.
57734 * sunrpc/clnt_raw.c: Likewise.
57735 * sunrpc/clnt_simp.c: Likewise.
57736 * sunrpc/clnt_tcp.c: Likewise.
57737 * sunrpc/clnt_udp.c: Likewise.
57738 * sunrpc/clnt_unix.c: Likewise.
57739 * sunrpc/des_crypt.c: Likewise.
57740 * sunrpc/des_soft.c: Likewise.
57741 * sunrpc/get_myaddr.c: Likewise.
57742 * sunrpc/key_call.c: Likewise.
57743 * sunrpc/key_prot.c: Likewise.
57744 * sunrpc/netname.c: Likewise.
57745 * sunrpc/pm_getmaps.c: Likewise.
57746 * sunrpc/pm_getport.c: Likewise.
57747 * sunrpc/pmap_clnt.c: Likewise.
57748 * sunrpc/pmap_prot.c: Likewise.
57749 * sunrpc/pmap_prot2.c: Likewise.
57750 * sunrpc/pmap_rmt.c: Likewise.
57751 * sunrpc/publickey.c: Likewise.
57752 * sunrpc/rpc_cmsg.c: Likewise.
57753 * sunrpc/rpc_common.c: Likewise.
57754 * sunrpc/rpc_dtable.c: Likewise.
57755 * sunrpc/rpc_prot.c: Likewise.
57756 * sunrpc/rpc_thread.c: Likewise.
57757 * sunrpc/rtime.c: Likewise.
57758 * sunrpc/svc.c: Likewise.
57759 * sunrpc/svc_auth.c: Likewise.
57760 * sunrpc/svc_authux.c: Likewise.
57761 * sunrpc/svc_raw.c: Likewise.
57762 * sunrpc/svc_run.c: Likewise.
57763 * sunrpc/svc_simple.c: Likewise.
57764 * sunrpc/svc_tcp.c: Likewise.
57765 * sunrpc/svc_udp.c: Likewise.
57766 * sunrpc/svc_unix.c: Likewise.
57767 * sunrpc/svcauth_des.c: Likewise.
57768 * sunrpc/xcrypt.c: Likewise.
57769 * sunrpc/xdr.c: Likewise.
57770 * sunrpc/xdr_array.c: Likewise.
57771 * sunrpc/xdr_float.c: Likewise.
57772 * sunrpc/xdr_intXX_t.c: Likewise.
57773 * sunrpc/xdr_mem.c: Likewise.
57774 * sunrpc/xdr_rec.c: Likewise.
57775 * sunrpc/xdr_ref.c: Likewise.
57776 * sunrpc/xdr_sizeof.c: Likewise.
57777 * sunrpc/xdr_stdio.c: Likewise.
57778
e6c61494
UD
577792011-04-10 Ulrich Drepper <drepper@gmail.com>
57780
57781 [BZ #12650]
57782 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
57783 * sysdeps/ia64/dl-tls.h: Likewise.
57784 * sysdeps/powerpc/dl-tls.h: Likewise.
57785 * sysdeps/s390/dl-tls.h: Likewise.
57786 * sysdeps/sh/dl-tls.h: Likewise.
57787 * sysdeps/sparc/dl-tls.h: Likewise.
57788 * sysdeps/x86_64/dl-tls.h: Likewise.
57789 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
57790
34fe483e
AS
577912011-03-14 Andreas Schwab <schwab@redhat.com>
57792
57793 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
57794 rpath element also skip the following colon.
57795 (expand_dynamic_string_token): Add is_path parameter and pass
57796 down to DL_DST_REQUIRED and _dl_dst_substitute.
57797 (decompose_rpath): Call expand_dynamic_string_token with
57798 non-zero is_path. Ignore empty rpaths.
57799 (_dl_map_object_from_fd): Call expand_dynamic_string_token
57800 with zero is_path.
57801
f12a32e6
AS
578022011-04-08 Andreas Schwab <schwab@linux-m68k.org>
57803
57804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57805 Make cancelable.
57806
38a7d692
UD
578072011-04-09 Ulrich Drepper <drepper@gmail.com>
57808
57809 [BZ #12655]
57810 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
57811 Patch by Filipe David Manana <fdmanana@apache.org>.
57812
e451d22b
AS
578132011-04-07 Andreas Schwab <schwab@redhat.com>
57814
57815 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
57816 Maintain aligned stack.
57817 (CHECK_RSP): Remove unused macro.
57818
dedc7c7b
UD
578192011-04-03 Ulrich Drepper <drepper@gmail.com>
57820
57821 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
57822 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
57823
94521213
UD
578242011-04-02 Ulrich Drepper <drepper@gmail.com>
57825
57826 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
57827
8cb700c0 57828 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 57829
0354e355
L
578302011-03-26 H.J. Lu <hongjiu.lu@intel.com>
57831
57832 [BZ #12518]
57833 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
57834 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
57835 * sysdeps/x86_64/memmove.c: New file.
57836 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
57837 (memcpy): Renamed to ...
57838 (__new_memcpy): This.
57839 (memcpy): Provide GLIBC_2_14 memcpy.
57840 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
57841 (memcpy): Provide GLIBC_2_2_5 memcpy.
57842
8593482f
UD
578432011-04-01 Ulrich Drepper <drepper@gmail.com>
57844
57845 [BZ #12631]
57846 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
57847
81a5726b
AS
578482011-03-30 Andreas Schwab <schwab@redhat.com>
57849
57850 * misc/syncfs.c: New file.
57851 * misc/Makefile (routines): Add syncfs.
57852 * posix/unistd.h: Declare syncfs.
57853 * sysdeps/unix/syscalls.list: Add syncfs.
57854
00e5419f
AS
578552011-04-01 Andreas Schwab <schwab@redhat.com>
57856
57857 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
57858 open_by_handle_at.
57859 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57860 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57861 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57862 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57864 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
57865 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57866
748876bf
UD
578672011-04-01 Ulrich Drepper <drepper@gmail.com>
57868
658e451d
UD
57869 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
57870 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57871 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
57872 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57873 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57874 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57875 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57876
748876bf
UD
57877 * io/Makefile: Compile fallocate.c, fallocate64.c, and
57878 sync_file_range.c with -fexceptions.
57879 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
57880 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
57881 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
57882 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
57883 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
57884 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57885 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
57886 sync_file_range as cancellation point
57887 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
57888 now a wrapper around __call_sync_file_range with cancellation handling.
57889 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
57890 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
57891 function name to __call_sync_file_range.
57892 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
57893 Add call_sync_file_range.
748876bf 57894
6e63d5e1
AS
578952011-04-01 Andreas Schwab <schwab@redhat.com>
57896
57897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 57898 bits/timex.h.
6e63d5e1 57899
46998f74
UD
579002011-04-01 Ulrich Drepper <drepper@gmail.com>
57901
4c1423ed
UD
57902 * iconv/iconv.h: Fix typo in comment.
57903 * io/fcntl.h: Likewise.
57904 * libio/stdio.h: Likewise.
57905 * posix/spawn.h: Likewise.
57906 * posix/unistd.h: Likewise.
57907 * stdlib/stdlib.h: Likewise.
57908 * time/time.h: Likewise.
57909 * wcsmbs/wchar.h: Likewise.
57910
158648c0
UD
57911 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
57912 open_by_handle): Add.
57913 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
57914 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
57915 Augment a few comments.
57916 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57917 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57918 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57920 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57921 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
57922 open_by_handle.
57923
46998f74
UD
57924 * io/fcntl.h (AT_EMPTY_PATH): Define.
57925
83fe108b
UD
579262011-03-30 Ulrich Drepper <drepper@gmail.com>
57927
57928 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
57929 * sysdeps/unix/sysv/linux/bits/time.h: New file.
57930 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
57931 to...
57932 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
57933 * Versions.def: Add GLIBC_2.14.
57934 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
57935 Export.
83fe108b 57936
bb242059
UD
579372011-03-22 Ulrich Drepper <drepper@gmail.com>
57938
57939 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
57940 round counter.
57941 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57942
c97a1282
L
579432011-03-20 H.J. Lu <hongjiu.lu@intel.com>
57944
57945 [BZ #12597]
57946 * string/test-strncmp.c (do_page_test): New function.
57947 (check2): Likewise.
57948 (test_main): Call check2.
57949 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
57950
2a115601
UD
579512011-03-20 Ulrich Drepper <drepper@gmail.com>
57952
57953 [BZ #12587]
57954 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
57955 Handle cache information in CPU leaf 4.
57956 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57957
8126d904
UD
579582011-03-18 Ulrich Drepper <drepper@gmail.com>
57959
042c49c6 57960 [BZ #12583]
8126d904
UD
57961 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
57962 character representation.
57963 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
57964
ccfe366e
RA
579652011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
57966
57967 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
57968 END(__isnan) to END(__isnanf) to match function entry point/label
57969 EALIGN(__isnanf,...).
57970
c6e13027
JJ
579712011-03-10 Jakub Jelinek <jakub@redhat.com>
57972
57973 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
57974
33f85a3f
UD
579752011-03-10 Ulrich Drepper <drepper@gmail.com>
57976
028478fa
UD
57977 [BZ #12510]
57978 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
57979 copy from the symbol referenced in the relocation to initialize the
57980 used variable.
57981 Patch by Piotr Bury <pbury@goahead.com>.
57982 * elf/Makefile: Add rules to build and tst-unique3.
57983 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
57984 * elf/tst-unique3.cc: New file.
57985 * elf/tst-unique3.h: New file.
57986 * elf/tst-unique3lib.cc: New file.
57987 * elf/tst-unique3lib2.cc: New file.
57988
33f85a3f
UD
57989 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
57990
03592fc7
MF
579912011-03-10 Mike Frysinger <vapier@gentoo.org>
57992
57993 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
57994 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
57995 to _start.
03592fc7 57996
6a5ee102
UD
579972011-03-06 Ulrich Drepper <drepper@gmail.com>
57998
57999 * elf/dl-load.c (_dl_map_object): If we are looking for the first
58000 to-be-loaded object along a path to loader is ld.so.
58001
7e4ba49c
HJ
580022011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58003 Ulrich Drepper <drepper@gmail.com>
58004
58005 * sysdeps/x86_64/memset.S: After aligning destination, code
58006 branches to different locations depending on the value of
58007 misalignment, when multiarch is enabled. Fix this.
58008
580092011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58010
58011 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58012 Set _x86_64_preferred_memory_instruction for AMD processsors.
58013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58014 Set bit_Prefer_SSE_for_memop for AMD processors.
58015
13a804de
UD
580162011-03-04 Ulrich Drepper <drepper@gmail.com>
58017
58018 * libio/fmemopen.c (fmemopen): Optimize a bit.
58019
9d25c392
AS
580202011-03-03 Andreas Schwab <schwab@redhat.com>
58021
58022 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58023
a5543c6a
RM
580242011-03-03 Roland McGrath <roland@redhat.com>
58025
58026 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58027
012d35f7
DM
580282011-02-28 Aurelien Jarno <aurelien@aurel32.net>
58029
7e4ba49c 58030 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
58031 __bzero_ultra1 instead of __memset_ultra1.
58032
4bff6e01
AS
580332011-02-23 Andreas Schwab <schwab@redhat.com>
58034 Ulrich Drepper <drepper@gmail.com>
58035
58036 [BZ #12509]
58037 * include/link.h (struct link_map): Add l_orig_initfini.
58038 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
58039 returning unsuccessfully.
58040 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
58041 close of a file loaded at startup, restore the original l_initfini
58042 list.
58043 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
58044 list, store the pointer.
58045 * elf/Makefile ($(objpfx)noload-mem): New rule.
58046 (noload-ENV): Define.
58047 (tests): Add $(objpfx)noload-mem.
58048 * elf/noload.c: Include <memcheck.h>.
58049 (main): Call mtrace. Close all opened handles.
58050
f2092faf
AS
580512011-02-17 Andreas Schwab <schwab@redhat.com>
58052
58053 [BZ #12454]
58054 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
58055 dependencies are missing.
58056
6c8a2e88
ST
580572011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
58058
f2092faf 58059 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
58060 Hurd needs munmap.
58061 * sysdeps/mach/hurd/ifreq.h: New file.
58062
84a42118
PB
580632011-01-27 Petr Baudis <pasky@suse.cz>
58064 Ulrich Drepper <drepper@gmail.com>
58065
071f805e 58066 [BZ 12445]#
84a42118
PB
58067 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
58068 to extend_alloca().
58069 * stdio-common/bug23.c: New file.
58070 * stdio-common/Makefile (tests): Add bug23.
58071
e23fe25b
AS
580722010-09-28 Andreas Schwab <schwab@redhat.com>
58073 Ulrich Drepper <drepper@gmail.com>
58074
58075 [BZ #12489]
58076 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
58077 before performing relro protection. At old place add assertion
58078 to make sure nothing changed.
58079
d3f02e10
NS
580802011-02-17 Nathan Sidwell <nathan@codesourcery.com>
58081 Glauber de Oliveira Costa <glommer@gmail.com>
58082
58083 * elf/elf.h: Add new ARM TLS relocs.
58084
d55fd7a5
RA
580852011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
58086
58087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58088 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
58089 cast from r3.
58090 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
58091 'tests' variable.
58092 * sysdeps/wordsize-64/tst-writev.c: New file.
58093
2206397e
RA
580942011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
58095
58096 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
58097 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
58098 insns in _dl_start to prevent a TOC reference before relocs are
58099 resolved.
58100
e9433893
UD
581012011-02-15 Ulrich Drepper <drepper@gmail.com>
58102
58103 [BZ #12469]
58104 * Makeconfig: Remove RANLIB definition.
58105 * Makerules: Don't use RANLIB.
58106 * aclocal.m4: Remove ranlib test.
58107 * configure.in: No need to check for ranlib.
58108 * elf/rtld-Rules: Don't use RANLIB.
58109
f75286c6
ST
581102011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
58111
8e31c82d
ST
58112 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
58113 protection macro.
58114 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
58115 inclusion protection macro.
58116
f75286c6
ST
58117 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
58118 SIGRTMIN and SIGRTMAX and print information in that case only when
58119 SIGRTMIN is defined.
58120
c1d0e639
JJ
581212011-02-11 Jakub Jelinek <jakub@redhat.com>
58122
58123 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
58124 arginfo fn returning -1.
58125
58126 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
58127 and thousands string is zero terminated.
58128
edf9294e
AS
581292011-02-03 Andreas Schwab <schwab@redhat.com>
58130
58131 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58132 sysdeps/unix/sysv/linux/bits/socket.h.
58133
2b7e92df
ST
581342011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
58135
edf9294e
AS
58136 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
58137 (__CPU_COUNT): Remove old macros.
58138 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
58139 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
58140 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
58141 (__sched_cpualloc, __sched_cpufree): Add declarations.
58142
a4c7ea7b
UD
581432011-02-05 Ulrich Drepper <drepper@gmail.com>
58144
58145 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
58146 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
58147 * nscd/aicache.c (addhstaiX): Return timeout of added value.
58148 (readdhstai): Return value of addhstaiX call.
58149 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
58150 (addgrbyX): Return value returned by cache_addgr.
58151 (readdgrbyname): Return value returned by addgrbyX.
58152 (readdgrbygid): Likewise.
58153 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
58154 (addpwbyX): Return value returned by cache_addpw.
58155 (readdpwbyname): Return value returned by addhstbyX.
58156 (readdpwbyuid): Likewise.
58157 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
58158 (addservbyX): Return value returned by cache_addserv.
58159 (readdservbyname): Return value returned by addservbyX:
58160 (readdservbyport): Likewise.
58161 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
58162 (addhstbyX): Return value returned by cache_addhst.
58163 (readdhstbyname): Return value returned by addhstbyX.
58164 (readdhstbyaddr): Likewise.
58165 (readdhstbynamev6): Likewise.
58166 (readdhstbyaddrv6): Likewise.
58167 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
58168 (readdinitgroups): Return value returned by addinitgroupsX.
58169 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
58170 (prune_cache): Keep track of timeout value of re-added entries.
58171 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
58172 * nscd/nscd.h: Adjust prototypes of readd* functions.
58173
a0bf67cc
RM
581742011-02-04 Roland McGrath <roland@redhat.com>
58175
58176 * nis/nis_server.c (nis_servstate): Use the right name for 0.
58177 (nis_stats): Likewise.
58178 * nis/nis_modify.c (nis_modify): Likewise.
58179 * nis/nis_remove.c (nis_remove): Likewise.
58180 * nis/nis_add.c (nis_add): Likewise.
58181
58182 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
58183
58184 * posix/fnmatch_loop.c: Add some consts.
58185
58186 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58187
435b95eb
L
581882011-02-02 H.J. Lu <hongjiu.lu@intel.com>
58189
58190 [BZ #12460]
58191 * config.make.in (config-cflags-novzeroupper): Define.
58192 * configure.in: Substitute libc_cv_cc_novzeroupper.
58193 * elf/Makefile (AVX-CFLAGS): Define.
58194 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58195 (CFLAGS-tst-auditmod4a.c): Likewise.
58196 (CFLAGS-tst-auditmod4b.c): Likewise.
58197 (CFLAGS-tst-auditmod6b.c): Likewise.
58198 (CFLAGS-tst-auditmod6c.c): Likewise.
58199 (CFLAGS-tst-auditmod7b.c): Likewise.
58200 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58201
8517b15e
UD
582022011-02-02 Ulrich Drepper <drepper@gmail.com>
58203
58204 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58205 function to the callback.
58206 Patch partly by Jiri Olsa <jolsa@redhat.com>.
58207
10a656fe
AS
582082011-02-02 Andreas Schwab <schwab@redhat.com>
58209
58210 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58211 of errno.
58212
968dad0a
UD
582132011-01-19 Ulrich Drepper <drepper@gmail.com>
58214
9f94d2ea 58215 [BZ #11724]
968dad0a
UD
58216 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58217 of constructors.
58218 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58219 of destructors.
58220 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58221
58222 [BZ #11724]
58223 * elf/Makefile: Add rules to build and run new test.
58224 * elf/tst-initorder.c: New file.
58225 * elf/tst-initorder.exp: New file.
58226 * elf/tst-initordera1.c: New file.
58227 * elf/tst-initordera2.c: New file.
58228 * elf/tst-initordera3.c: New file.
58229 * elf/tst-initordera4.c: New file.
58230 * elf/tst-initorderb1.c: New file.
58231 * elf/tst-initorderb2.c: New file.
58232 * elf/tst-order-a1.c: New file.
58233 * elf/tst-order-a2.c: New file.
58234 * elf/tst-order-a3.c: New file.
58235 * elf/tst-order-a4.c: New file.
58236 * elf/tst-order-b1.c: New file.
58237 * elf/tst-order-b2.c: New file.
58238 * elf/tst-order-main.c: New file.
58239 New test case by George Gensure <werkt0@gmail.com>.
58240
86e92359
UD
582412010-10-01 Andreas Schwab <schwab@redhat.com>
58242
58243 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58244 decoding ACE if AI_CANONIDN.
58245
5d5732b0
UD
582462011-01-18 Ulrich Drepper <drepper@gmail.com>
58247
58248 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58249
a77e8cbc
UD
582502011-01-17 Ulrich Drepper <drepper@gmail.com>
58251
6392473f
UD
58252 * version.h (RELEASE): Bump for 2.13 release.
58253 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58254
620a0529
UD
58255 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58256
18ba70a5
UD
58257 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58258 MADV_NOHUGEPAGE.
32465c3e
UD
58259 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58260 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58261 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58262 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58263 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58264 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58265
c0dafcf1
UD
58266 * posix/getconf.c: Update copyright year.
58267 * catgets/gencat.c: Likewise.
58268 * csu/version.c: Likewise.
58269 * debug/catchsegv.sh: Likewise.
58270 * debug/xtrace.sh: Likewise.
58271 * elf/ldconfig.c: Likewise.
58272 * elf/ldd.bash.in: Likewise.
58273 * elf/sprof.c (print_version): Likewise.
58274 * iconv/iconv_prog.c: Likewise.
58275 * iconv/iconvconfig.c: Likewise.
58276 * locale/programs/locale.c: Likewise.
58277 * locale/programs/localedef.c: Likewise.
58278 * malloc/memusage.sh: Likewise.
58279 * malloc/mtrace.pl: Likewise.
58280 * nscd/nscd.c (print_version): Likewise.
58281 * nss/getent.c: Likewise.
58282
a77e8cbc
UD
58283 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58284 PF_CAIF, and PF_ALG.
58285 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58286
77e8bddf
AS
582872011-01-16 Andreas Schwab <schwab@linux-m68k.org>
58288
1f20b93a
AS
58289 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58290 (modules-names): Use them.
58291 (ifunc-test-modules, ifunc-pie-tests): Define.
58292 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58293 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58294 (test-extras): Likewise.
58295 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58296 $(compile-command.c).
58297 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58298 (all-built-dso): Define.
58299 (check-textrel.out, check-execstack.out): Depend on it.
58300
77e8bddf
AS
58301 * configure.in: Don't override --enable-multi-arch.
58302
bc425b33
UD
583032011-01-15 Ulrich Drepper <drepper@gmail.com>
58304
58305 [BZ #6812]
58306 * nscd/hstcache.c (tryagain): Define.
58307 (cache_addhst): Return tryagain not notfound for temporary errors.
58308 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58309 failed.
58310
794c3ad3
UD
583112011-01-14 Ulrich Drepper <drepper@gmail.com>
58312
70181fdd
UD
58313 [BZ #10563]
58314 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58315 to make the syscall.
58316 * sysdeps/unix/sysv/linux/setgroups.c: New file.
58317
794c3ad3
UD
58318 [BZ #12378]
58319 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58320 and fall back to matching as normal character if the string ends before
58321 the matching ']' is found. This is what POSIX requires.
58322 * posix/testfnm.c: Adjust test result.
58323 * posix/globtest.sh: Adjust test result. Add new test.
58324 * posix/tst-fnmatch.input: Likewise.
58325 * posix/tst-fnmatch2.c: Add new test.
58326
68dc9497
AS
583272010-12-28 Andreas Schwab <schwab@linux-m68k.org>
58328
58329 * elf/Makefile (check-execstack): Revert last change. Depend on
58330 check-execstack.h.
58331 (check-execstack.h): New target.
58332 (generated): Add check-execstack.h.
58333 * elf/check-execstack.c: Include "check-execstack.h".
58334 (main): Revert last change.
58335 (handle_file): Return zero if GNU_STACK is absent and
58336 DEFAULT_STACK_PERMS doesn't include PF_X.
58337
451f001b
UD
583382011-01-13 Ulrich Drepper <drepper@gmail.com>
58339
cfa28e56
UD
58340 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58341 in child fails because the descriptor is already closed.
8cf8ce17
UD
58342 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58343 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58344 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 58345
1086d70d
UD
58346 [BZ #12397]
58347 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58348 syscall.
58349
451f001b
UD
58350 [BZ #10484]
58351 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58352 temporary buffer used to handle multi lookups locally.
a85b5cb4 58353 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 58354
08769175
UD
583552011-01-12 Ulrich Drepper <drepper@gmail.com>
58356
58357 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58358 loader is ld.so.
58359
5e49c52e
UD
583602011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
58361
58362 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58363 alignment for SSE2.
58364
60522a5f
UD
583652011-01-12 Ulrich Drepper <drepper@gmail.com>
58366
58367 [BZ #12394]
58368 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58369 characters. When rounding increased number of integer digits recompute
58370 number of groups.
58371 * stdio-common/tst-grouping.c: New file.
58372 * stdio-common/Makefile: Add rules to build and run tst-grouping.
58373
f257bbd7
UD
583742011-01-09 Ulrich Drepper <drepper@gmail.com>
58375
58376 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58377 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
58378
58379 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58380 void.
58381 * bits/select.h: Likewise.
58382
fa9c15cb
UD
583832011-01-08 Ulrich Drepper <drepper@gmail.com>
58384
58385 * po/ja.po: Update from translation team.
58386
16c2895f
DM
583872011-01-04 David S. Miller <davem@sunset.davemloft.net>
58388
58389 [BZ #11155]
58390 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58391 implementation just like for lxstat, fxstatat, et al.
58392
2543fef2
JM
583932010-12-27 Jim Meyering <meyering@redhat.com>
58394
58395 [BZ #12348]
58396 * posix/regexec.c (build_trtable): Return failure indication upon
58397 calloc failure. Otherwise, re_search_internal could infloop on OOM.
58398
98727dbe
UD
583992010-12-25 Ulrich Drepper <drepper@gmail.com>
58400
5bd6dc5c
UD
58401 [BZ #12201]
58402 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58403 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58404 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58405 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58406
97983464
UD
58407 [BZ #12207]
58408 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58409
98727dbe
UD
58410 [BZ #12204]
58411 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58412 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58413
4a531bb0
L
584142010-12-15 H.J. Lu <hongjiu.lu@intel.com>
58415
58416 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58417 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58418 script has SORT_BY_INIT_PRIORITY.
58419 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58420 NO_CTORS_DTORS_SECTIONS is defined.
58421 * elf/soinit.c: Likewise.
58422 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58423 NO_CTORS_DTORS_SECTIONS is defined.
58424 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58425 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58426 * sysdeps/sh/init-first.c: Likewise.
58427 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58428
07eb4b71
UD
584292010-12-24 Ulrich Drepper <drepper@gmail.com>
58430
58431 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58432 always use the slow path.
58433
30950a5f
RA
584342010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
58435
58436 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
58437 similar rule which adds the sysdep directories to the header search in
58438 order to pick up the correct platform stackinfo.h.
58439 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
58440 perform test if it is, otherwise return successfully without testing.
58441 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
58442 DEFAULT_STACK_PERMS define in stackinfo.h.
58443 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
58444 defined in stackinfo.h.
58445 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
58446 DEFAULT_STACK_PERMS defined in stackinfo.h.
58447 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
58448 * sysdeps/ia64/stackinfo.h: Likewise.
58449 * sysdeps/s390/stackinfo.h: Likewise.
58450 * sysdeps/sh/stackinfo.h: Likewise.
58451 * sysdeps/sparc/stackinfo.h: Likewise.
58452 * sysdeps/x86_64/stackinfo.h: Likewise.
58453 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
58454 PF_X for powerpc64. Retain PF_X for powerpc32.
58455
db753e2c
UD
584562010-12-19 Ulrich Drepper <drepper@gmail.com>
58457
14b697f7
UD
58458 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
58459 accurately.
db753e2c
UD
58460 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
58461 GETDENTS_64BIT_ALIGNED.
58462
28300719
UD
584632010-12-14 Ulrich Drepper <dreper@gmail.com>
58464
14b697f7 58465 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 58466
4f197237
AS
584672010-12-10 Andreas Schwab <schwab@redhat.com>
58468
dbb0472f
AS
58469 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
58470 _GNU_SOURCE.
58471
4f197237
AS
58472 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
58473 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
58474 Remove __restrict.
58475 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
58476 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
58477
fb88ac72
UD
584782010-12-09 Ulrich Drepper <drepper@gmail.com>
58479
58480 [BZ #11655]
58481 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
58482 are initialized.
58483
42acbb92
JJ
584842010-12-09 Jakub Jelinek <jakub@redhat.com>
58485
58486 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
58487
c038d98d
UD
584882010-12-03 Ulrich Drepper <drepper@gmail.com>
58489
58490 * po/it.po: Update from translation team.
58491
3a4a2499
L
584922010-12-01 H.J. Lu <hongjiu.lu@intel.com>
58493
58494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
58495 unused codes.
58496
1e24cf6e
UD
584972010-11-30 Ulrich Drepper <drepper@gmail.com>
58498
58499 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
58500
a7690819
AS
585012010-11-24 Andreas Schwab <schwab@redhat.com>
58502
58503 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
58504 specially.
58505 (gaih_getanswer_slice): Likewise.
58506
3bf8d1b1
JJ
585072010-10-20 Jakub Jelinek <jakub@redhat.com>
58508
58509 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
58510
6db52fbb
PB
585112010-05-31 Petr Baudis <pasky@suse.cz>
58512
58513 [BZ #11149]
58514 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
58515 silently even in the chroot mode.
58516
eaca7569
UD
585172010-11-22 Ulrich Drepper <drepper@gmail.com>
58518
58519 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
58520 last patch a bit. Pretty printing
58521
3056dcdb
UD
585222010-05-31 Petr Baudis <pasky@suse.cz>
58523
58524 [BZ #10085]
58525 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
58526 initialization of skip_initgroups_dyn.
58527
cf7c9078
UD
585282010-11-19 Ulrich Drepper <drepper@gmail.com>
58529
58530 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
58531 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58532
a1fb5e3e
UD
585332010-11-16 Ulrich Drepper <drepper@gmail.com>
58534
58535 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
58536
3540d66b
AS
585372010-11-11 Andreas Schwab <schwab@redhat.com>
58538
58539 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
58540 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
58541 (tst-fnmatch-ENV): Set MALLOC_TRACE.
58542 ($(objpfx)tst-fnmatch-mem): New rule.
58543 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
58544 * posix/tst-fnmatch.c (main): Call mtrace.
58545
13b69574
L
585462010-11-11 H.J. Lu <hongjiu.lu@intel.com>
58547
58548 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58549 Support Intel processor model 6 and model 0x2c.
58550
da93d214
LM
585512010-11-10 Luis Machado <luisgpm@br.ibm.com>
58552
58553 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
58554 signed comparison.
58555
8ca52c6e
L
585562010-11-09 H.J. Lu <hongjiu.lu@intel.com>
58557
58558 [BZ #12205]
58559 * string/test-strncasecmp.c (check_result): New function.
58560 (do_one_test): Use it.
58561 (check1): New function.
58562 (test_main): Use it.
58563 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
58564 Support strcasecmp and strncasecmp.
58565
69da074d
UD
585662010-11-08 Ulrich Drepper <drepper@gmail.com>
58567
58568 [BZ #12194]
58569 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
58570 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58571
ff02d528
L
585722010-11-07 H.J. Lu <hongjiu.lu@intel.com>
58573
58574 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
58575 IFUNC support.
58576 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58577 memset-x86-64.
58578 * sysdeps/x86_64/multiarch/bzero.S: New file.
58579 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
58580 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
58581 * sysdeps/x86_64/multiarch/memset.S: New file.
58582 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
58583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58584 Set bit_Prefer_SSE_for_memop for Intel processors.
58585 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
58586 Define.
58587 (index_Prefer_SSE_for_memop): Define.
58588 (HAS_PREFER_SSE_FOR_MEMOP): Define.
58589
344d0b54
LM
585902010-11-04 Luis Machado <luisgpm@br.ibm.com>
58591
58592 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
58593 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
58594
c0dde15b
UD
585952010-11-03 H.J. Lu <hongjiu.lu@intel.com>
58596
58597 [BZ #12191]
58598 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58599 (__x86_64_raw_data_cache_size_half): Likewise.
58600 (__x86_64_raw_shared_cache_size): Likewise.
58601 (__x86_64_raw_shared_cache_size_half): Likewise.
58602
58603 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58604 (__x86_64_raw_data_cache_size_half): Likewise.
58605 (__x86_64_raw_shared_cache_size): Likewise.
58606 (__x86_64_raw_shared_cache_size_half): Likewise.
58607 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
58608 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
58609 and __x86_64_raw_shared_cache_size_half. Round
58610 __x86_64_data_cache_size_half, __x86_64_data_cache_size
58611 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
58612 to multiple of 256 bytes.
58613
0e516e0e
MS
586142010-11-03 Ulrich Drepper <drepper@gmail.com>
58615
58616 [BZ #12167]
58617 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
58618 of inacessible symlinks. Verify result of symlink before returning it.
58619 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
58620 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
58621
0e012e87
ER
586222010-10-28 Erich Ritz <erichritz@gmail.com>
58623
58624 * math/math.h (isinf): Fix typo in comment.
58625
de0ff7bc
UD
586262010-11-01 Ulrich Drepper <drepper@gmail.com>
58627
58628 * po/da.po: Update from translation team.
58629
fa41c84d
UD
586302010-10-26 Ulrich Drepper <drepper@gmail.com>
58631
58632 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
58633 is added to the list.
58634
f0967738
AK
586352010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58636 Ulrich Drepper <drepper@gmail.com>
58637
58638 * elf/dl-object.c (_dl_new_object): Don't append the new object to
58639 the global list here. Move code to...
58640 (_dl_add_to_namespace_list): ...here. New function.
58641 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
58642 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
58643 * elf/dl-load.c (lose): Don't remove the element from the list.
58644 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
58645 (_dl_map_object): Likewise.
58646
586472010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
58648
58649 [BZ #12159]
58650 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
58651 into all bytes of SSE register.
58652 Patch by Richard Li <richardpku@gmail.com>.
58653
f0967738 586542010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
58655
58656 [BZ #12140]
58657 * malloc/malloc.c (_int_free): Fill correct number of bytes when
58658 perturbing.
58659
d0b9e94f
MB
586602010-10-20 Michael B. Brutman <brutman@us.ibm.com>
58661
58662 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
58663 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
58664 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
58665 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
58667 submachine.
58668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
58669
8e9f92e9
AS
586702010-10-22 Andreas Schwab <schwab@redhat.com>
58671
58672 * include/dlfcn.h (__RTLD_SECURE): Define.
58673 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
58674 mode & __RTLD_SECURE instead.
58675 (open_path): Rename preloaded parameter to secure.
58676 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
58677 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
58678 * elf/dl-deps.c (openaux): Likewise.
58679 * elf/rtld.c (struct map_args): Remove is_preloaded.
58680 (map_doit): Don't use it.
58681 (dl_main): Likewise.
58682 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
58683 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
58684
bc96fbda
AS
586852010-09-09 Andreas Schwab <schwab@redhat.com>
58686
58687 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
58688 (sysd-rules-targets): Remove duplicates.
58689 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
58690 rtld-%.$o dependency.
58691
22cd1c9b
AS
586922010-10-18 Andreas Schwab <schwab@redhat.com>
58693
58694 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
58695 _dl_map_object do it.
58696
18edac48
UD
586972010-10-19 Ulrich Drepper <drepper@gmail.com>
58698
58699 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
58700 fast fma builtins, define the macros in the C99 standard.
58701 (FP_FAST_FMAF): Likewise.
58702 (FP_FAST_FMAL): Likewise.
58703 * sysdeps/x86_64/bits/mathdef.h: Likewise.
58704
58705 * bits/mathdef.h: Update copyright year.
58706 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58707
d2050124
MM
587082010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
58709
58710 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
58711 builtins, define the macros in the C99 standard.
58712 (FP_FAST_FMAF): Likewise.
58713 (FP_FAST_FMAL): Likewise.
58714 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
58715 multiply/add.
58716 (FP_FAST_FMAF): Likewise.
58717
475facd1
JJ
587182010-10-15 Jakub Jelinek <jakub@redhat.com>
58719
58720 [BZ #3268]
58721 * math/libm-test.inc (fma_test): Some new testcases.
58722 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
58723 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
58724 y and infinite z. Do multiplication by C already in long double.
58725 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
58726 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
58727 y and infinite z. Do bitwise or of inexact bit into u.d.
58728 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
58729 * sysdeps/i386/fpu/s_fmaf.S: Removed.
58730 * sysdeps/i386/fpu/s_fma.S: Removed.
58731 * sysdeps/i386/fpu/s_fmal.S: Removed.
58732
7c08a05c
JJ
587332010-10-16 Jakub Jelinek <jakub@redhat.com>
58734
58735 [BZ #3268]
58736 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
58737 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
58738 computation is not scheduled after fetestexcept. Fix value
58739 of minimum denormal long double.
58740
f3f7372d
JJ
587412010-10-14 Jakub Jelinek <jakub@redhat.com>
58742
58743 [BZ #3268]
58744 * math/libm-test.inc (fma_test): Add some more tests.
58745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
58746 correctly.
58747
14d43591
AS
587482010-10-15 Andreas Schwab <schwab@redhat.com>
58749
58750 * scripts/data/localplt-s390-linux-gnu.data: New file.
58751 * scripts/data/localplt-s390x-linux-gnu.data: New file.
58752
5e908464
JJ
587532010-10-13 Jakub Jelinek <jakub@redhat.com>
58754
58755 [BZ #3268]
58756 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
58757 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
58758 instead of dbl-64.
58759 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
58760 inlines.
58761 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
58762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
58763 if one of x and y is very large and the other is subnormal.
58764 * sysdeps/s390/fpu/s_fmaf.c: New file.
58765 * sysdeps/s390/fpu/s_fma.c: New file.
58766 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
58767 * sysdeps/powerpc/fpu/s_fma.S: New file.
58768 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
58769 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
58770 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
58771
587722010-10-12 Jakub Jelinek <jakub@redhat.com>
58773
58774 [BZ #3268]
58775 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
58776 fma tests.
58777 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
58778 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
58779 * sysdeps/i386/i686/multiarch/s_fma.c: Include
58780 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
58781 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
58782 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
58783 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
58784
b833d51f
UD
587852010-10-12 Ulrich Drepper <drepper@redhat.com>
58786
58787 [BZ #12078]
58788 * posix/regcomp.c (parse_branch): One more memory leak plugged.
58789 * posix/bug-regex31.input: Add test case.
58790
1751705d
UD
587912010-10-11 Ulrich Drepper <drepper@gmail.com>
58792
e9b9cbf5
UD
58793 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
58794 * posix/bug-regex31.input: New file.
58795
58796 [BZ #12078]
58797 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
58798 (parse_sub_exp): Fix last change, use postorder.
58799
ef06edbe
UD
58800 * posix/bug-regex31.c: New file.
58801 * posix/Makefile: Add rules to build and run bug-regex31.
58802
a129c80d
UD
58803 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
58804
58805 [BZ #12078]
58806 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
58807
b76b818e
UD
58808 [BZ #12108]
58809 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
58810 to have entries in sys_siglist.
58811
1751705d
UD
58812 [BZ #12093]
58813 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
58814 be NULL.
58815
9ff8d36f
JJ
588162010-10-07 Jakub Jelinek <jakub@redhat.com>
58817
58818 [BZ #3268]
58819 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
58820 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
58821 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
58822 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
58823 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58824 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
58825 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
58826 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
58827 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
58828 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
58829 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
58830 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
58831 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
58832 * math/ftestexcept.c (fetestexcept): Likewise.
58833 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
58834 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
58835 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
58836 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
58837 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
58838 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
58839 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58840
af325969
UD
588412010-10-11 Ulrich Drepper <drepper@gmail.com>
58842
c579b202 58843 [BZ #12107]
af325969
UD
58844 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
58845 newline.
58846
67a67b95
UD
588472010-10-06 Ulrich Drepper <drepper@gmail.com>
58848
58849 * string/bug-strstr1.c: New file.
58850 * string/Makefile: Add rules to build and run bug-strstr1.
58851
5fb308bc
EB
588522010-10-05 Eric Blake <eblake@redhat.com>
58853
58854 [BZ #12092]
58855 * string/str-two-way.h (two_way_long_needle): Always clear memory
58856 when skipping input due to the shift table.
58857
45db99c7
UD
588582010-10-03 Ulrich Drepper <drepper@gmail.com>
58859
3b111893
UD
58860 [BZ #12005]
58861 * malloc/mcheck.c: Handle large requests.
58862
45db99c7
UD
58863 [BZ #12077]
58864 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
58865 for strncmp and strncasecmp.
58866 * string/stratcliff.c: Add tests for strcmp and strncmp.
58867 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
58868
cf7a1eb8
NI
588692010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
58870
58871 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
58872 __set_fpscr.
58873
6484ba5e
AJ
588742010-09-30 Andreas Jaeger <aj@suse.de>
58875
58876 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
58877 (CGROUP_SUPER_MAGIC): Define.
58878 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58879 Handle btrfs and cgroup file systems.
58880 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58881 Likewise.
58882
91c42559
LM
588832010-09-27 Luis Machado <luisgpm@br.ibm.com>
58884
58885 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
58886 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
58887
87a97932
AK
588882010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58889
58890 [BZ #12067]
58891 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
58892 trying to locate the ELF header.
58893
c21cc9bc
AS
588942010-09-27 Andreas Schwab <schwab@redhat.com>
58895
58896 [BZ #11611]
58897 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
58898 Mask out sign-bit copies when constructing f_fsid.
58899
315970f6
PB
589002010-09-24 Petr Baudis <pasky@suse.cz>
58901
58902 * debug/stack_chk_fail_local.c: Add missing licence exception.
58903 * debug/warning-nop.c: Likewise.
58904
1ac7a2c7
JM
589052010-09-15 Joseph Myers <joseph@codesourcery.com>
58906
58907 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
58908 implementing getdents64 using getdents syscall, set d_type if
58909 __ASSUME_GETDENTS32_D_TYPE.
58910
56801c50
AS
589112010-09-16 Andreas Schwab <schwab@redhat.com>
58912
58913 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
58914 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
58915
dda51327
UD
589162010-09-21 Ulrich Drepper <drepper@redhat.com>
58917
58918 [BZ #12037]
58919 * posix/unistd.h: Undo change of feature selection for ftruncate from
58920 2010-01-11.
58921
8ffcee4a
UD
589222010-09-20 Ulrich Drepper <drepper@redhat.com>
58923
a545ecd9 58924 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
58925 detection.
58926
e24f0a8b
AS
589272010-09-20 Andreas Schwab <schwab@redhat.com>
58928
58929 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
58930 fanotify_mark.
58931 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58932
7291c56f
AS
589332010-09-14 Andreas Schwab <schwab@redhat.com>
58934
58935 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
58936 variables after CHECK_SP call.
58937 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
58938
bc5fb037
AS
589392010-09-13 Andreas Schwab <schwab@redhat.com>
58940 Ulrich Drepper <drepper@redhat.com>
58941
58942 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
58943 re-relocationg ld.so.
58944 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
58945 _dl_init_paths call.
58946 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
58947 here anymore.
58948
e66e7419
UD
589492010-09-14 Ulrich Drepper <drepper@redhat.com>
58950
58951 * resolv/res_init.c (__res_vinit): Count the default server we added.
58952
c044aa75
CLT
589532010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
58954 Ulrich Drepper <drepper@redhat.com>
58955
58956 [BZ #11968]
58957 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58958 (____longjmp_chk): Use %ebx for saving value across system call.
58959 Add unwind info.
58960
32cf4069
AS
589612010-09-06 Andreas Schwab <schwab@redhat.com>
58962
58963 * manual/Makefile: Don't mix pattern rules with normal rules.
58964
817328ee
AS
589652010-09-05 Andreas Schwab <schwab@linux-m68k.org>
58966
58967 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
58968 operation.
58969 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
58970 * libio/iofopncook.c (_IO_cookie_init): Likewise.
58971 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
58972 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
58973 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58974 Likewise.
58975
29fddf61
UD
589762010-09-04 Ulrich Drepper <drepper@redhat.com>
58977
58978 [BZ #11979]
58979 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
58980 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
58981
0959ffc9
UD
589822010-09-02 Ulrich Drepper <drepper@redhat.com>
58983
58984 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
58985 * sysdeps/x86_64/addmul_1.S: Likewise.
58986 * sysdeps/x86_64/lshift.S: Likewise.
58987 * sysdeps/x86_64/mul_1.S: Likewise.
58988 * sysdeps/x86_64/rshift.S: Likewise.
58989 * sysdeps/x86_64/sub_n.S: Likewise.
58990 * sysdeps/x86_64/submul_1.S: Likewise.
58991
ece29840
ST
589922010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
58993
0959ffc9
UD
58994 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
58995 Define __sched_param instead of SCHED_* and sched_param when
ece29840 58996 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 58997 * bits/sched.h [__need_schedparam]
ece29840 58998 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
58999 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59000 (__defined_schedparam): Define to 1.
ece29840
ST
59001 (__sched_param): New structure, identical to sched_param.
59002 (__need_schedparam): Undefine.
59003
e53a31fe
MF
590042010-08-31 Mike Frysinger <vapier@gentoo.org>
59005
fdc0c10d
MF
59006 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59007 (epoll_create1): Declare.
59008
e53a31fe
MF
59009 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59010
a726d796
AS
590112010-08-31 Andreas Schwab <schwab@redhat.com>
59012
59013 [BZ #7066]
59014 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59015 shifting retval into place.
59016
2f3e3dc7
UD
590172010-09-01 Ulrich Drepper <drepper@redhat.com>
59018
f2933da9
UD
59019 * nis/rpcsvc/nis.h: Update copyright notice.
59020 * nis/rpcsvc/nis.x: Likewise.
59021 * nis/rpcsvc/nis_callback.h: Likewise.
59022 * nis/rpcsvc/nis_callback.x: Likewise.
59023 * nis/rpcsvc/nis_object.x: Likewise.
59024 * nis/rpcsvc/nis_tags.h: Likewise.
59025 * nis/rpcsvc/yp.h: Likewise.
59026 * nis/rpcsvc/yp.x: Likewise.
59027 * nis/rpcsvc/ypupd.h: Likewise.
59028 * nis/yp_xdr.c: Likewise.
59029 * nis/ypupdate_xdr.c: Likewise.
59030
2f3e3dc7
UD
59031 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
59032 mainly the body of pmap_getport. Add parameters to specify timeouts.
59033 (pmap_getport): Use __libc_rpc_getport.
59034 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
59035 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
59036 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
59037
f3dcc2f9
AS
590382010-08-31 Andreas Schwab <schwab@linux-m68k.org>
59039
59040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
59041 fanotify_mark.
59042
6d34eb5b
RM
590432010-08-27 Roland McGrath <roland@redhat.com>
59044
59045 * sysdeps/i386/i686/multiarch/Makefile
59046 (CFLAGS-varshift.c): New variable.
59047
9ea3de11
UD
590482010-08-27 Ulrich Drepper <drepper@redhat.com>
59049
c96d23fc
UD
59050 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
59051 * sysdeps/i386/i686/multiarch/varshift.c: New file.
59052
9ea3de11
UD
59053 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
59054
59055 * sysdeps/x86_64/strlen.S: Minimal code improvement.
59056
623aac7f
L
590572010-08-26 H.J. Lu <hongjiu.lu@intel.com>
59058
59059 * sysdeps/x86_64/strlen.S: Unroll the loop.
59060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59061 strlen-sse2 strlen-sse2-bsf.
59062 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
59063 __strlen_no_bsf if bit_Slow_BSF is set.
59064 (__strlen_sse42): Removed.
59065 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
59066 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
59067
8b2b7715
RM
590682010-08-25 Roland McGrath <roland@redhat.com>
59069
59070 * sysdeps/x86_64/multiarch/varshift.S: File removed.
59071 * sysdeps/x86_64/multiarch/varshift.c: New file.
59072 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
59073 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
59074 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
59075 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59076
e73015f2
L
590772010-08-25 H.J. Lu <hongjiu.lu@intel.com>
59078
59079 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59080 strlen-sse2 strlen-sse2-bsf.
59081 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
59082 __strlen_sse2_bsf if bit_Slow_BSF is unset.
59083 (__strlen_sse2): Removed.
59084 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
59085 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
59086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59087 bit_Slow_BSF for Atom.
59088 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
59089 (index_Slow_BSF): Define.
59090 (HAS_SLOW_BSF): Define.
59091
df24a73e
UD
590922010-08-25 Ulrich Drepper <drepper@redhat.com>
59093
59094 [BZ #10851]
59095 * resolv/res_init.c (__res_vinit): When no server address at all
59096 is given default to loopback.
59097
f2ac4868
RM
590982010-08-24 Roland McGrath <roland@redhat.com>
59099
09055553
RM
59100 * configure.in: Remove config-name.h generation.
59101 * configure: Regenerated.
59102 * config-name.in: File removed.
59103 * scripts/config-uname.sh: New file.
59104 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
59105 ($(objdir)config-name.h): New target.
59106
f2ac4868
RM
59107 * sunrpc/rpc_parse.h: Avoid nested comment.
59108
73f27d5e
RH
591092010-08-24 Richard Henderson <rth@redhat.com>
59110 Ulrich Drepper <drepper@redhat.com>
59111 H.J. Lu <hongjiu.lu@intel.com>
59112
59113 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
59114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
59115 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
59116 Replace _mm_srli_si128 with __m128i_shift_right. Replace
59117 _mm_alignr_epi8 with _mm_loadu_si128.
59118 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
59119 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
59120 (__m128i_shift_right): Removed.
59121 * sysdeps/i386/i686/multiarch/varshift.h: New file.
59122 * sysdeps/i386/i686/multiarch/varshift.S: New file.
59123 * sysdeps/x86_64/multiarch/varshift.h: New file.
59124 * sysdeps/x86_64/multiarch/varshift.S: New file.
59125
84b9230c
MF
591262010-08-21 Mike Frysinger <vapier@gentoo.org>
59127
59128 * configure.in: Move assembler checks to before sysdep dir checking.
59129
9bbd0ddc
PB
591302010-08-20 Petr Baudis <pasky@suse.cz>
59131
59132 * LICENSES: Sync the sunrpc license.
59133
9da4bb31
UD
591342010-08-19 Ulrich Drepper <drepper@redhat.com>
59135
a7ab6ec8
UD
59136 * sunrpc/auth_des.c: Update copyright notice once again.
59137 * sunrpc/auth_none.c: Likewise.
59138 * sunrpc/auth_unix.c: Likewise.
59139 * sunrpc/authdes_prot.c: Likewise.
59140 * sunrpc/authuxprot.c: Likewise.
59141 * sunrpc/bindrsvprt.c: Likewise.
59142 * sunrpc/clnt_gen.c: Likewise.
59143 * sunrpc/clnt_perr.c: Likewise.
59144 * sunrpc/clnt_raw.c: Likewise.
59145 * sunrpc/clnt_simp.c: Likewise.
59146 * sunrpc/clnt_tcp.c: Likewise.
59147 * sunrpc/clnt_udp.c: Likewise.
59148 * sunrpc/clnt_unix.c: Likewise.
59149 * sunrpc/des_crypt.c: Likewise.
59150 * sunrpc/des_soft.c: Likewise.
59151 * sunrpc/get_myaddr.c: Likewise.
59152 * sunrpc/getrpcport.c: Likewise.
59153 * sunrpc/key_call.c: Likewise.
59154 * sunrpc/key_prot.c: Likewise.
59155 * sunrpc/openchild.c: Likewise.
59156 * sunrpc/pm_getmaps.c: Likewise.
59157 * sunrpc/pm_getport.c: Likewise.
59158 * sunrpc/pmap_clnt.c: Likewise.
59159 * sunrpc/pmap_prot.c: Likewise.
59160 * sunrpc/pmap_prot2.c: Likewise.
59161 * sunrpc/pmap_rmt.c: Likewise.
59162 * sunrpc/rpc/auth.h: Likewise.
59163 * sunrpc/rpc/auth_unix.h: Likewise.
59164 * sunrpc/rpc/clnt.h: Likewise.
59165 * sunrpc/rpc/des_crypt.h: Likewise.
59166 * sunrpc/rpc/key_prot.h: Likewise.
59167 * sunrpc/rpc/netdb.h: Likewise.
59168 * sunrpc/rpc/pmap_clnt.h: Likewise.
59169 * sunrpc/rpc/pmap_prot.h: Likewise.
59170 * sunrpc/rpc/pmap_rmt.h: Likewise.
59171 * sunrpc/rpc/rpc.h: Likewise.
59172 * sunrpc/rpc/rpc_des.h: Likewise.
59173 * sunrpc/rpc/rpc_msg.h: Likewise.
59174 * sunrpc/rpc/svc.h: Likewise.
59175 * sunrpc/rpc/svc_auth.h: Likewise.
59176 * sunrpc/rpc/types.h: Likewise.
59177 * sunrpc/rpc/xdr.h: Likewise.
59178 * sunrpc/rpc_clntout.c: Likewise.
59179 * sunrpc/rpc_cmsg.c: Likewise.
59180 * sunrpc/rpc_common.c: Likewise.
59181 * sunrpc/rpc_cout.c: Likewise.
59182 * sunrpc/rpc_dtable.c: Likewise.
59183 * sunrpc/rpc_hout.c: Likewise.
59184 * sunrpc/rpc_main.c: Likewise.
59185 * sunrpc/rpc_parse.c: Likewise.
59186 * sunrpc/rpc_parse.h: Likewise.
59187 * sunrpc/rpc_prot.c: Likewise.
59188 * sunrpc/rpc_sample.c: Likewise.
59189 * sunrpc/rpc_scan.c: Likewise.
59190 * sunrpc/rpc_scan.h: Likewise.
59191 * sunrpc/rpc_svcout.c: Likewise.
59192 * sunrpc/rpc_tblout.c: Likewise.
59193 * sunrpc/rpc_util.c: Likewise.
59194 * sunrpc/rpc_util.h: Likewise.
59195 * sunrpc/rpcinfo.c: Likewise.
59196 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59197 * sunrpc/rpcsvc/key_prot.x: Likewise.
59198 * sunrpc/rpcsvc/klm_prot.x: Likewise.
59199 * sunrpc/rpcsvc/mount.x: Likewise.
59200 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59201 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59202 * sunrpc/rpcsvc/rex.x: Likewise.
59203 * sunrpc/rpcsvc/rstat.x: Likewise.
59204 * sunrpc/rpcsvc/rusers.x: Likewise.
59205 * sunrpc/rpcsvc/sm_inter.x: Likewise.
59206 * sunrpc/rpcsvc/spray.x: Likewise.
59207 * sunrpc/rpcsvc/yppasswd.x: Likewise.
59208 * sunrpc/rtime.c: Likewise.
59209 * sunrpc/svc.c: Likewise.
59210 * sunrpc/svc_auth.c: Likewise.
59211 * sunrpc/svc_authux.c: Likewise.
59212 * sunrpc/svc_raw.c: Likewise.
59213 * sunrpc/svc_run.c: Likewise.
59214 * sunrpc/svc_simple.c: Likewise.
59215 * sunrpc/svc_tcp.c: Likewise.
59216 * sunrpc/svc_udp.c: Likewise.
59217 * sunrpc/svc_unix.c: Likewise.
59218 * sunrpc/svcauth_des.c: Likewise.
59219 * sunrpc/xcrypt.c: Likewise.
59220 * sunrpc/xdr.c: Likewise.
59221 * sunrpc/xdr_array.c: Likewise.
59222 * sunrpc/xdr_float.c: Likewise.
59223 * sunrpc/xdr_mem.c: Likewise.
59224 * sunrpc/xdr_rec.c: Likewise.
59225 * sunrpc/xdr_ref.c: Likewise.
59226 * sunrpc/xdr_sizeof.c: Likewise.
59227 * sunrpc/xdr_stdio.c: Likewise.
59228
9da4bb31
UD
59229 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59230 handling.
59231
bdaa77bc
AS
592322010-08-19 Andreas Schwab <schwab@redhat.com>
59233
59234 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59235
fe2f79db
LM
592362010-08-19 Luis Machado <luisgpm@br.ibm.com>
59237
59238 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59239 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59240 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59241 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59242 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59243 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59244 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59245 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59246 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59247 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59248 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59249 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59250 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59251 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59252
b9b42ee0
AB
592532010-07-26 Anton Blanchard <anton@samba.org>
59254
59255 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59256 * malloc/arena.c (heap_trim): Likewise.
59257
1c06ba31
UD
592582010-08-16 Ulrich Drepper <drepper@redhat.com>
59259
59260 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59261 here. Not...
59262 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59263 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59264
f8392f40
L
592652010-08-12 H.J. Lu <hongjiu.lu@intel.com>
59266
59267 * sysdeps/i386/elf/Makefile: New file.
59268
3162f12e
AS
592692010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59270
59271 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59272 from fanotify_init.
59273 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59274 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59275
28c90b2c
UD
592762010-08-15 Ulrich Drepper <drepper@redhat.com>
59277
59278 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59279 of strncasecmp_l.
1feccb6c 59280 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 59281
ca6bb004
UD
592822010-08-14 Ulrich Drepper <drepper@redhat.com>
59283
e9f82e0d
UD
59284 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59285 strncase_l-nonascii.
59286 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59287 Add strncase_l-ssse3.
59288 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59289 * sysdeps/x86_64/strcmp.S: Likewise.
59290 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59291 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59292 * sysdeps/x86_64/strncase.S: New file.
59293 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59294 * sysdeps/x86_64/strncase_l.S: New file.
59295 * string/Makefile (strop-tests): Add strncasecmp.
59296 * string/test-strncasecmp.c: New file.
59297
59298 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59299 warning.
59300
ca6bb004
UD
59301 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59302 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59303
052fa7b3
AS
593042010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59305
59306 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59307
962dba78
UD
593082010-08-12 Ulrich Drepper <drepper@redhat.com>
59309
59310 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59311 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59312 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59313
bebff237
AM
593142010-05-01 Alan Modra <amodra@gmail.com>
59315
59316 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59317 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59318 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59319 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59320 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59321 tidying. Don't tail-call __sigjmp_save for static lib.
59322 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59323 save location.
59324 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59325 (CALL_MCOUNT): Add eh info, and nop after bl.
59326 (TAIL_CALL_SYSCALL_ERROR): New macro.
59327 (PSEUDO_RET): Use it.
59328 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59329 Correct save location of integer regs and cr.
59330 (_dl_profile_resolve): Correct cr save location. Delete nops
59331 after bl when SHARED. Reduce cfi size a little by better
59332 placement of cfi directives.
59333 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59334 make a stack frame. Instead use parm save area as a temp.
59335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59336 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
59337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59338 Don't make a stack frame for parent, use parm save area.
59339 Increase child stack frame to 112 bytes. Don't save unused reg,
59340 and adjust reg usage. Set up cfi on error recovery and
59341 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59343 (__makecontext): Add dummy nop after jump to exit.
59344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59345 Use correct parm save area and cr save, reduce stack frame.
59346 Correct cfi for possible PSEUDO_RET frame setup.
59347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59348 Branch to local label emitted by PSEUDO_RET rather than
59349 __syscall_error.
59350
02637374
AS
593512010-08-12 Andreas Schwab <schwab@redhat.com>
59352
59353 [BZ #11904]
59354 * locale/programs/locale.c (print_assignment): New function.
59355 (show_locale_vars): Use it.
59356
c3e2f19b
UD
593572010-08-11 Ulrich Drepper <drepper@redhat.com>
59358
3cdaa6ad
UD
59359 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59360 field.
59361 (struct statfs64): Likewise.
59362 (_STATFS_F_FLAGS): Define.
59363 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59364 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59365 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59366 (ST_VALID): Define locally.
59367 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59368 __statvfs_getflags, use the provided value.
59369 * sysdeps/unix/sysv/linux/kernel-features.h: Define
59370 __ASSUME_STATFS_F_FLAGS.
59371
754f7da3
UD
59372 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59373
10b3bedc
UD
59374 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59375 Add sys/fanotify.h.
59376 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59377 fanotify_mask for GLIBC_2.13.
59378 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59379 fanotify_init and fanotify_mark.
59380 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59381 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59382
c08fb0d7
UD
59383 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59384 Add prlimit.
59385 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59386 prlimit64 for GLIBC_2.13.
59387 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59388 prlimit64.
59389 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59390 syscall.
59391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59392 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59393 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59394 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59395 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
59396 add prlimit alias.
59397 * sysdeps/unix/sysv/linux/prlimit.c: New file.
59398
15bac72b
UD
59399 [BZ #11903]
59400 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59401 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59402
c3e2f19b
UD
59403 * nss/Makefile: Add rules to build and run tst-nss-test1.
59404 * shlib-versions: Add entry for libnss_test1.
59405 * nss/nss_test1.c: New file.
59406 * nss/tst-nss-test1.c: New file.
59407
59408 * nss/nsswitch.c (__nss_database_custom): Define new variable.
59409 (__nss_configure_lookup): Set appropriate entry in
59410 __nss_configure_lookup to true.
59411 * nss/nsswitch.h: Define enum with indeces of databases in
59412 databases and __nss_database_custom arrays. Declare
59413 __nss_database_custom.
59414 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59415 to avoid using nscd when custom rules are installed.
59416 * nss/getXXbyYY_r.c: Likewise.
59417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59418
59419 * nss/nss_files/files-parse.c: Whitespace fixes.
59420
f15ce4d8
UD
594212010-08-09 Ulrich Drepper <drepper@redhat.com>
59422
59423 [BZ #11883]
59424 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59425 * posix/fnmatch_loop.c: Likewise.
59426
d22e4cc9
AK
594272010-07-17 Andi Kleen <ak@linux.intel.com>
59428
59429 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59430 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59431 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59432 * Versions.def [GLIBC_2.13]: Add.
59433
805bc17d
UD
594342010-08-06 Ulrich Drepper <drepper@redhat.com>
59435
59436 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59437 Also fail if tpwd after pwuid call is NULL.
59438
5a42321d
ST
594392010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
59440
59441 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
59442 when converting to ms.
59443
fd3ebeda
ST
594442010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
59445
59446 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
59447 EOPNOTSUPP errors with ENOTTY.
59448 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
59449 EOPNOTSUPP errors with ENOTTY.
59450
73507d3a
UD
594512010-07-31 Ulrich Drepper <drepper@redhat.com>
59452
59453 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59454 Add strcasecmp_l-ssse3.
59455 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
59456 strcasecmp.
59457 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
59458 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
59459 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
59460
fe36dd02
UD
594612010-07-30 Ulrich Drepper <drepper@redhat.com>
59462
66f6765a
UD
59463 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
59464
42e08a54
UD
59465 * string/Makefile (strop-tests): Add strcasecmp.
59466 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59467 strcasecmp_l-nonascii.
59468 (gen-as-const-headers): Add locale-defines.sym.
59469 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
59470 * sysdeps/x86_64/strcasecmp.S: New file.
59471 * sysdeps/x86_64/strcasecmp_l.S: New file.
59472 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
59473 * sysdeps/x86_64/locale-defines.sym: New file.
59474 * string/test-strcasecmp.c: New file.
59475
fe36dd02
UD
59476 * string/test-strcasestr.c: Test both ends of the range of characters.
59477 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
59478
48cbc0d6
RM
594792010-07-29 Roland McGrath <roland@redhat.com>
59480
76e6d6bc 59481 [BZ #11856]
48cbc0d6
RM
59482 * manual/locale.texi (Yes-or-No Questions): Fix example code.
59483
880113d9
UD
594842010-07-27 Ulrich Drepper <drepper@redhat.com>
59485
59486 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
59487 for ld.so.
59488
deb9cabb
AS
594892010-07-27 Andreas Schwab <schwab@redhat.com>
59490
59491 * manual/memory.texi (Malloc Tunable Parameters): Document
59492 M_PERTURB.
59493
1c7570ff
RM
594942010-07-26 Roland McGrath <roland@redhat.com>
59495
59496 [BZ #11840]
59497 * configure.in (-fgnu89-inline check): Set and substitute
59498 gnu89_inline, not libc_cv_gnu89_inline.
59499 * configure: Regenerated.
59500 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
59501
24fb0f88
UD
595022010-07-26 Ulrich Drepper <drepper@redhat.com>
59503
59504 * string/test-strnlen.c: New file.
59505 * string/Makefile (strop-tests): Add strnlen.
59506 * string/tester.c (test_strnlen): Add a few more test cases.
59507 * string/tst-strlen.c: Better error reporting.
59508
59509 * sysdeps/x86_64/strnlen.S: New file.
59510
8e96b93a
UD
595112010-07-24 Ulrich Drepper <drepper@redhat.com>
59512
59513 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
59514 lower-latency instructions.
59515
dbc676d4
UD
595162010-07-23 Ulrich Drepper <drepper@redhat.com>
59517
59518 * string/test-strcasestr.c: New file.
59519 * string/test-strstr.c: New file.
59520 * string/Makefile (strop-tests): Add strstr and strcasestr.
59521 * string/str-two-way.h: Don't undefine MAX.
59522 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
59523
f6a31e0e
AS
595242010-07-21 Andreas Schwab <schwab@redhat.com>
59525
59526 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59527 strcasestr-nonascii.
59528 (CFLAGS-strcasestr-nonascii.c): Define.
59529 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
59530 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
59531 Remove unused attribute.
59532
5dbc3b6c
RM
595332010-07-20 Roland McGrath <roland@redhat.com>
59534
59535 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
59536 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
59537 ld.so.cache was broken. With it, there is no way to disable dsocaps
59538 like LD_HWCAP_MASK can disable hwcaps.
59539
23d101d8
EPM
595402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
59541
59542 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
59543
cc9f2e47
UD
595442010-07-16 Ulrich Drepper <drepper@redhat.com>
59545
59546 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
59547 call in strcasestr.
59548 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
59549 __strcasestr_sse42_nonascii.
59550 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
59551 strcasestr-nonascii.c.
59552 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
59553
77c1b069
LM
595542010-06-15 Luis Machado <luisgpm@br.ibm.com>
59555
59556 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
59557 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
59558 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
59559 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
59560
440566c3
UD
595612010-07-09 Ulrich Drepper <drepper@redhat.com>
59562
59563 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
59564 fcntl.
59565
5be9d05d
AS
595662010-07-06 Andreas Schwab <schwab@redhat.com>
59567
c30b7ee2 59568 [BZ #11577]
5be9d05d
AS
59569 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
59570 dl_signal_cerror.
59571
8a492a67
UD
595722010-07-06 Ulrich Drepper <drepper@redhat.com>
59573
59574 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
59575 _PC_PIPE_BUF using F_GETPIPE_SZ.
59576
713df3d5
RM
595772010-07-05 Roland McGrath <roland@redhat.com>
59578
59579 * manual/arith.texi (Rounding Functions): Fix rint description
59580 implicit in round description.
59581
702e8f14
UD
595822010-07-02 Ulrich Drepper <drepper@redhat.com>
59583
59584 * elf/Makefile: Fix linking for a few tests to make recent linker
59585 happy.
59586
52ed8be9
AS
595872010-06-30 Andreas Schwab <schwab@redhat.com>
59588
59589 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59590 $(common-objpfx)libc_nonshared.a.
59591
f47c9a11
LM
595922010-06-21 Luis Machado <luisgpm@br.ibm.com>
59593
59594 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
59595 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
59596 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59597 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59598 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
59599 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
59600 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59601 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
59603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
59604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
59605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
59607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
59609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
59610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
59611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
59612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
59614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
59616 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
59617 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
59618 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
59619 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
59620 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
59621 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
59622 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
59623 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
59624 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
59625 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
59626 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
59627 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
59628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
59629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
59630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
59631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
59632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
59633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
59634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
59635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
59636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
59637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
59638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
59639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
59640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
59641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
59642
6fb8cbcb
L
596432010-06-25 H.J. Lu <hongjiu.lu@intel.com>
59644
59645 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
59646 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
59647 * string/memmove.c (memmove): Renamed to ...
59648 (MEMMOVE): ...this. Default to memmove.
59649 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
59650 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
59651 (END_CHK): Define.
59652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59653 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
59654 mempcpy-ssse3-back memmove-ssse3-back.
59655 * sysdeps/x86_64/multiarch/bcopy.S: New file .
59656 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
59657 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
59658 * sysdeps/x86_64/multiarch/memcpy.S: New file.
59659 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
59660 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
59661 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
59662 * sysdeps/x86_64/multiarch/memmove.c: New file.
59663 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
59664 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
59665 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
59666 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
59667 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
59668 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
59669 Define.
59670 (index_Fast_Copy_Backward): Define.
59671 (HAS_ARCH_FEATURE): Define.
59672 (HAS_FAST_REP_STRING): Define.
59673 (HAS_FAST_COPY_BACKWARD): Define.
59674
4e733bac 596752010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
59676
59677 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59678 Restore proper fallback handling.
59679
63c4ed22
UD
596802010-06-19 Ulrich Drepper <drepper@redhat.com>
59681
ac2b484c
UD
59682 [BZ #11701]
59683 * posix/group_member.c (__group_member): Correct checking loop.
59684
63c4ed22
UD
59685 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
59686 OOM in getpwuid_r correctly. Return error number when the caller
59687 should return, otherwise -1.
59688 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
59689 call returning > 0 value.
59690 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
59691
765ade4b
AS
596922010-06-07 Andreas Schwab <schwab@redhat.com>
59693
59694 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
59695 libc_nonshared.a from targets in modules-names.
59696
80da2e09
KS
596972010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
59698
59699 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
59700 requires it.
59701
158db122
LM
597022010-06-10 Luis Machado <luisgpm@br.ibm.com>
59703
59704 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
59705 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
59706 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
59707 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
59708
caa78cf8
AS
597092010-06-02 Andreas Schwab <schwab@redhat.com>
59710
59711 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
59712
b2ef2c01
UD
597132010-06-14 Ulrich Drepper <drepper@redhat.com>
59714
59715 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
59716 and F_GETPIPE_SZ.
59717 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59718 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59719 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59721 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59722 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
59723
fbd643b6
RM
597242010-06-14 Roland McGrath <roland@redhat.com>
59725
59726 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
59727
f32f2869
JJ
597282010-06-07 Jakub Jelinek <jakub@redhat.com>
59729
59730 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
59731 __REDIRECT followed by __THROW.
59732 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
59733 * posix/getopt.h (getopt): Likewise.
59734
2a50c078
EPM
597352010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
59736
59737 * hurd/lookup-at.c (__file_name_lookup_at): Accept
59738 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
59739 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
59740 in AT_FLAGS.
59741 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
59742 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
59743
eb5ad2eb
LM
597442010-05-28 Luis Machado <luisgpm@br.ibm.com>
59745
59746 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
59747
3c88fe1e
L
597482010-05-26 H.J. Lu <hongjiu.lu@intel.com>
59749
59750 [BZ #11640]
59751 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59752 Properly check family and model.
59753
d2f73151
TY
597542010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
59755
59756 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
59757
ebd2e13d
LM
597582010-05-24 Luis Machado <luisgpm@br.ibm.com>
59759
59760 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
59761
b32b8b45
UD
597622010-05-21 Ulrich Drepper <drepper@redhat.com>
59763
59764 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
59765 symbol reference.
59766
9acbe24d
AS
597672010-05-19 Andreas Schwab <schwab@redhat.com>
59768
59769 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
59770 symbol reference.
59771
f0ccf6ea
AS
597722010-05-21 Andreas Schwab <schwab@redhat.com>
59773
3d04ff3a
AS
59774 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
59775 and internal_recvmmsg.
59776 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
59777 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
59778 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
59779 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
59780
f0ccf6ea
AS
59781 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
59782 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59783 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59784
5b08ac57
AS
597852010-05-20 Andreas Schwab <schwab@redhat.com>
59786
59787 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
59788
4828935d
LM
597892010-05-17 Luis Machado <luisgpm@br.ibm.com>
59790
59791 POWER7 optimizations.
59792 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
59793 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
59794
373d545e
UD
597952010-05-19 Ulrich Drepper <drepper@redhat.com>
59796
59797 * version.h: Update for 2.13 development version.
59798
21a2b1ae
AS
597992010-05-12 Andrew Stubbs <ams@codesourcery.com>
59800
59801 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
59802 exceptions. Return 0.
59803
3f7dcb2b
RM
598042010-05-07 Roland McGrath <roland@redhat.com>
59805
59806 * elf/ldconfig.c (main): Add a const.
59807
5f24d53a 598082010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 59809
a160f8d8
UD
59810 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
59811 (args_options): Add no-idn option.
59812 (ahosts_keys_int): Add idn_flags to ai_flags.
59813 (parse_option): Handle 'i' option to clear idn_flags.
59814
5f24d53a
UD
59815 * malloc/malloc.c (_int_free): Possible race in the most recently
59816 added check. Only act on the data if no current modification
59817 happened.
265bb1ce
UD
59818
59819See ChangeLog.17 for earlier changes.