]> sourceware.org Git - glibc.git/blob - ChangeLog
Fix libm feupdateenv namespace (bug 17748).
[glibc.git] / ChangeLog
1 2015-01-07 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #17748]
4 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7 __feupdateenv and define as weak alias of __feupdateenv. Use
8 libm_hidden_weak.
9 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
10 libm_hidden_def.
11 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
12 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
13 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
14 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
15 libm_hidden_def.
16 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
17 __feupdateenv and define as weak alias of __feupdateenv. Use
18 libm_hidden_weak.
19 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
20 libm_hidden_def.
21 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
22 __feupdateenv and define as weak alias of __feupdateenv. Use
23 libm_hidden_weak.
24 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25 libm_hidden_def.
26 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28 (__feupdateenv): Likewise.
29 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
30 __feupdateenv and define as weak alias of __feupdateenv. Use
31 libm_hidden_weak.
32 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
34 libm_hidden_def.
35 * sysdeps/tile/math_private.h (__feupdateenv): New inline
36 function.
37 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
38 libm_hidden_def.
39 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
40 __feupdateenv instead of feupdateenv.
41 (default_libc_feupdateenv_test): Likewise.
42 (libc_feresetround_ctx): Likewise.
43
44 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45
46 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
47 prototype.
48
49 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
50
51 * posix/regcomp.c (parse_bracket_exp): Initialize type to
52 COLL_SYM in a couple of places to avoid uninitialized variable
53 wanings on tilegx gcc 4.8.2.
54
55 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
56
57 * sysdeps/aarch64/strcpy.S: New file.
58 * sysdeps/aarch64/stpcpy.S: New file.
59 * NEWS: Updated.
60
61 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
62
63 * sysdeps/aarch64/strrchr.S: New file.
64 * NEWS: Updated.
65
66 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
67
68 [BZ #17658]
69 * stdlib/setenv.c: Fix memory leak when setting large,
70 duplicate string.
71
72 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
73
74 [BZ #17273]
75 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
76 and tabs from buffer before parsing fstab entry.
77 * misc/tst-mntent.c (main): Add test for mount entry with
78 trailing spaces and tabs.
79
80 2015-01-06 Joseph Myers <joseph@codesourcery.com>
81
82 [BZ #17748]
83 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
84 * math/fesetround.c (fesetround): Rename to __fesetround and
85 define as weak alias of __fesetround. Use libm_hidden_weak.
86 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
87 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
88 * sysdeps/arm/fesetround.c (fesetround): Likewise.
89 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
90 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
91 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
92 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
93 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
94 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
95 __fesetround_inline.
96 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
97 __fesetround_inline instead of __fesetround.
98 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
99 __fesetround and define as weak alias of __fesetround. Use
100 libm_hidden_weak. Call __fesetround_inline instead of
101 __fesetround.
102 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
103 __fesetround and define as weak alias of __fesetround. Use
104 libm_hidden_weak.
105 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
106 Likewise.
107 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
108 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
109 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
110 * sysdeps/tile/math_private.h (__fesetround): New inline function.
111 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
112 __fesetround and define as weak alias of __fesetround. Use
113 libm_hidden_weak.
114 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
115 __fesetround instead of fesetround.
116 (default_libc_feholdexcept_setround): Likewise.
117 (libc_feholdsetround_ctx): Likewise.
118 (libc_feholdsetround_noex_ctx): Likewise.
119
120 [BZ #17748]
121 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
122 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
123 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
124 and define as weak alias of __fesetenv. Use libm_hidden_weak.
125 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
126 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
127 define as weak alias of __fesetenv. Use libm_hidden_weak.
128 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
129 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
130 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
131 define as weak alias of __fesetenv. Use libm_hidden_weak.
132 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
133 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
134 define as weak alias of __fesetenv. Use libm_hidden_weak.
135 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
136 libm_hidden_def.
137 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
138 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
139 Likewise.
140 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
141 define as weak alias of __fesetenv. Use libm_hidden_weak.
142 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
143 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
144 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
145 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
146 and define as weak alias of __fesetenv. Use libm_hidden_weak.
147 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
148 __fesetenv instead of fesetenv.
149 (libc_feresetround_noex_ctx): Likewise.
150 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
151 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
152 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
153 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
154 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
155 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
156 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
157 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
158 (__feupdateenv): Likewise.
159 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
160 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
161 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
162 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
163
164 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
165
166 [BZ #17806]
167 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
168 addresses have been freed.
169
170 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
171
172 * resolv/res_init.c (__res_vinit): Improve comments about nserv
173 and nservall.
174
175 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
176
177 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
178 Clean up check_pf allocation pattern. addresses
179
180 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
181
182 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
183 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
184 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
185 * nptl/pthread_exit.c (__pthread_exit): Likewise.
186 * nptl/pthread_join.c (pthread_join): Likewise.
187 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
188 * sysdeps/posix/waitid.c (__waitid): Likewise.
189 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
190 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
191 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
192 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
193 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
194 Likewise.
195 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
196 (__libc_pread64): Likewise.
197 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
198 (__libc_pwrite): Likewise.
199 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
200 (__libc_pwrite64): Likewsie.
201 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
202 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
203 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
204 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
205 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
206 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
207 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
209 Likewise.
210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
211 (__libc_pread64): Likewise.
212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
213 Likewise.
214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
215 (__libc_pwrite64): Likewise.
216 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
217 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
218 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
219 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
220 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
221 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
222 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
223 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
224 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
225 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
226 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
227 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
228 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
229 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
230 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
231 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
232 Likewise.
233
234 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
235
236 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
237 (CFLAGS-test-double.c): Likewise.
238 (CFLAGS-test-ldouble.c): Likewise.
239 (CPPFLAGS-test-ifloat.c): Likewise.
240 (CPPFLAGS-test-idouble.c): Likewise.
241 (CPPFLAGS-test-ildoubl.c): Likewise.
242 (CFLAGS-test-test-fenv.c): Remove variable.
243 (CFLAGS-test-misc.c): Likewise.
244
245 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
246
247 [BZ #17797]
248 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
249 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
250 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
251 CLOCKS_PER_SEC == 1000000.
252 * time/clocktest.c (main): Replace %ld with %jd and cast to
253 intmax_t.
254
255 2015-01-05 Roland McGrath <roland@hack.frob.com>
256
257 * sysdeps/generic/unwind-resume.h: New file.
258 * sysdeps/gnu/unwind-resume.c: Include it.
259 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
260 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
261 argument list.
262 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
263 global rather than static.
264 (_Unwind_Resume): Update user.
265 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
266 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
267 rather than static. Add __attribute__ ((cold)).
268 (_Unwind_Resume, __gcc_personality_v0): Update callers.
269 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
270 * sysdeps/arm/arm-unwind-resume.S: New file.
271 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
272 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
273 * sysdeps/arm/Makefile [$(subdir) = csu]
274 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
275 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
276 Add rt-arm-unwind-resume.
277 [$(subdir) = nptl]
278 (libpthread-sysdep_routines, libpthread-shared-only-routines):
279 Add pt-arm-unwind-resume.
280 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
281 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
282
283 2015-01-05 Joseph Myers <joseph@codesourcery.com>
284
285 [BZ #17748]
286 * include/fenv.h (__feholdexcept): Declare. Use
287 libm_hidden_proto.
288 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
289 define as weak alias of __feholdexcept. Use libm_hidden_weak.
290 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
291 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
292 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
293 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
294 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
295 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
296 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
297 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
298 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
299 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
300 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
301 (feholdexcept): Likewise.
302 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
303 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
304 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
305 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
306 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
307 __feholdexcept instead of feholdexcept.
308 (default_libc_feholdexcept_setround): Likewise.
309
310 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
311
312 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
313 to avoid using stl/str to align destination.
314
315 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
316
317 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
318
319 2015-01-05 Joseph Myers <joseph@codesourcery.com>
320
321 [BZ #17796]
322 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
323 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
324 Define as weak alias not strong alias.
325
326 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
327
328 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
329 bltzal with addiupc.
330 (RTLD_START): Ditto.
331
332 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
333
334 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
335 for __vdso_* functions in declarations.
336 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
337 definitions.
338 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
339 INTERNAL_VSYSCALL): Use struct return types to check for error.
340
341 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
342 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
343 function with cast from llround().
344 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
345 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
346 Define.
347
348 2015-01-05 Joseph Myers <joseph@codesourcery.com>
349
350 [BZ #17793]
351 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
352 Define as weak alias not strong alias.
353
354 [BZ #17635]
355 * ctype/ctype-c99.c: New file. isblank implementation moved from
356 ...
357 * ctype/ctype-extn.c: ... here.
358 (__isblank_l): Move to ...
359 * ctype/ctype-c99_l.c: ... here. New file.
360 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
361 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
362 Remove variable.
363 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
364 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
365 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
366 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
367 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
368
369 [BZ #17777]
370 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
371 (posix_fadvise64): Define as weak alias not strong alias.
372 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
373 (posix_fallocate64): Likewise.
374 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
375 Remove variable.
376 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
377 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
378 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
379 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
380 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
381
382 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
383
384 [BZ #16191]
385 * NEWS: Mention bug fix.
386 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
387 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
388 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
389 (HOST_STACK_END_ADDR): Likewise.
390
391 2015-01-02 Joseph Myers <joseph@codesourcery.com>
392
393 [BZ #17748]
394 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
395 * math/fegetround.c (fegetround): Rename to __fegetround and
396 define as weak alias of __fegetround. Use libm_hidden_weak.
397 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
398 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
399 * sysdeps/arm/fegetround.c (fegetround): Likewise.
400 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
401 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
402 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
403 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
404 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
405 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
406 Undefine after rather than before function definition; use
407 parentheses around function name in definition.
408 (__fegetround): Also undefine macro after function definition.
409 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
410 __fegetround and define as weak alias of __fegetround. Use
411 libm_hidden_weak. Do not undefine as macro.
412 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
413 Likewise.
414 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
415 __fegetround and define as weak alias of __fegetround. Use
416 libm_hidden_weak.
417 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
418 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
419 * sysdeps/tile/math_private.h (__fegetround): New inline function.
420 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
421 __fegetround and define as weak alias of __fegetround. Use
422 libm_hidden_weak.
423 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
424 __fegetround instead of fegetround.
425
426 [BZ #17782]
427 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
428 Condition macro definition on [__USE_MISC].
429
430 [BZ #17781]
431 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
432 (struct sigaction): Change type of sa_flags field to int.
433
434 [BZ #17780]
435 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
436 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
437 __glibc_reserved0.
438
439 * nptl/version.c (banner): Use single year in copyright notice.
440
441 * NEWS: Update copyright dates.
442 * catgets/gencat.c (print_version): Likewise.
443 * csu/version.c (banner): Likewise.
444 * debug/catchsegv.sh: Likewise.
445 * debug/pcprofiledump.c (print_version): Likewise.
446 * debug/xtrace.sh (do_version): Likewise.
447 * elf/ldconfig.c (print_version): Likewise.
448 * elf/ldd.bash.in: Likewise.
449 * elf/pldd.c (print_version): Likewise.
450 * elf/sotruss.sh: Likewise.
451 * elf/sprof.c (print_version): Likewise.
452 * iconv/iconv_prog.c (print_version): Likewise.
453 * iconv/iconvconfig.c (print_version): Likewise.
454 * locale/programs/locale.c (print_version): Likewise.
455 * locale/programs/localedef.c (print_version): Likewise.
456 * login/programs/pt_chown.c (print_version): Likewise.
457 * malloc/memusage.sh (do_version): Likewise.
458 * malloc/memusagestat.c (print_version): Likewise.
459 * malloc/mtrace.pl: Likewise.
460 * manual/libc.texinfo: Likewise.
461 * nptl/version.c (banner): Likewise.
462 * nscd/nscd.c (print_version): Likewise.
463 * nss/getent.c (print_version): Likewise.
464 * nss/makedb.c (print_version): Likewise.
465 * posix/getconf.c (main): Likewise.
466 * scripts/test-installation.pl: Likewise.
467 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
468
469 2015-01-02 Will Newton <will.newton@linaro.org>
470
471 * sysdeps/arm/armv7/configure: Removed.
472 * sysdeps/arm/armv7/configure.ac: Likewise.
473
474 2015-01-02 Joseph Myers <joseph@codesourcery.com>
475
476 * All files with FSF copyright notices: Update copyright dates
477 using scripts/update-copyrights.
478 * intl/plural.c: Regenerated.
479 * locale/programs/charmap-kw.h: Likewise.
480 * locale/programs/locfile-kw.h: Likewise.
481
482 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
483
484 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
485
486 2014-12-31 Joseph Myers <joseph@codesourcery.com>
487
488 [BZ #17748]
489 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
490 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
491 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
492 and define as weak alias of __fegetenv. Use libm_hidden_weak.
493 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
494 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
495 define as weak alias of __fegetenv. Use libm_hidden_weak.
496 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
497 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
498 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
499 define as weak alias of __fegetenv. Use libm_hidden_weak.
500 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
501 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
502 define as weak alias of __fegetenv. Use libm_hidden_weak.
503 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
504 libm_hidden_def.
505 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
506 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
507 Likewise.
508 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
509 define as weak alias of __fegetenv. Use libm_hidden_weak.
510 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
511 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
512 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
513 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
514 and define as weak alias of __fegetenv. Use libm_hidden_weak.
515 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
516 __fegetenv instead of fegetenv.
517 (libc_feholdsetround_noex_ctx): Likewise.
518
519 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
520
521 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
522 (Elf_MIPS_ABIFlags_v0): New structure.
523 (EF_MIPS_FP64): Define.
524 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
525 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
526 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
527 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
528 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
529 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
530 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
531 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
532 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
533 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
534 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
535 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
536 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
537 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
538 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
539 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
540 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
541 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
542 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
543 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
544 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
545 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
546 field.
547 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
548 EF_MIPS_FP64.
549 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
550 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
551 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
552 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
553 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
554 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
555 * sysdeps/mips/tst-abi-interlink.c: Likewise.
556 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
557 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
558 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
559 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
560 record the current FP ABI extension.
561 (mips-mode-switch): Define to show if kernel headers support mode
562 switching.
563 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
564 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
565 supported SYSV ABI version to 3.
566 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
567 feature.
568
569 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
570 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
571
572 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
573 path.
574 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
575
576 2014-12-31 Joseph Myers <joseph@codesourcery.com>
577
578 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
579 __fegetround and redefine to call __fegetround. Remove condition
580 on [!__NO_MATH_INLINES].
581 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
582 function.
583 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
584 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
585 Remove macro.
586 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
587 instead of <fenv_libc.h>.
588 (__llrintl): Call fegetround instead of __fegetround.
589 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
590 instead of <fenv_libc.h>.
591 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
592 (__lrintl): Call fegetround instead of __fegetround.
593 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
594 instead of <fenv_libc.h>.
595 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
596 (__rintl): Call fegetround instead of __fegetround.
597
598 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
599
600 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
601 arrays.
602
603 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
604
605 [BZ #17775]
606 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
607 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
608 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
609
610 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
611
612 * sysdeps/i386/tls-macros.h: Include <features.h>.
613 (TLS_LE): Use non-PIC version for GCC >= 5.0.
614 (TLS_IE): Likewise.
615 (TLS_LD): Likewise.
616 (TLS_GD): Likewise.
617 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
618 define for GCC >= 5.0.
619
620 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
621
622 * math/test-fenv.c (test_single_exception, set_single_exc,
623 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
624 feexcp_mask_test, feenable_test, fe_single_test): Add
625 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
626 case where they are not used.
627 * math/libm-test.inc: Likewise.
628 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
629 unused in the absence of FP rounding/exception support.
630 * stdio-common/tst-printf-round.c: Likewise.
631 * stdlib/tst-strtod-round.c: Likewise.
632 * stdlib/tst-strtod-underflow.c: Likewise.
633
634 2014-12-30 Joseph Myers <joseph@codesourcery.com>
635
636 [BZ #17723]
637 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
638 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
639 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
640 __feraiseexcept and define as weak alias of __feraiseexcept. Use
641 libm_hidden_weak.
642 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
643 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
644 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
645 libm_hidden_def.
646 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
647 __feraiseexcept and define as weak alias of __feraiseexcept. Use
648 libm_hidden_weak.
649 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
650 Likewise.
651 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
652 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
653 __feraiseexcept and define as weak alias of __feraiseexcept. Use
654 libm_hidden_weak.
655 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
656 libm_hidden_def.
657 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
658 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
659 (__feraiseexcept): Likewise.
660 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
661 __feraiseexcept and define as weak alias of __feraiseexcept. Use
662 libm_hidden_weak.
663 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
664 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
665 libm_hidden_def.
666 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
667 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
668 Use libm_hidden_def.
669 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
670 libm_hidden_def.
671 (feraiseexcept): Define as weak not strong alias. Use
672 libm_hidden_weak.
673 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
674 New inline function. Factored out of ...
675 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
676 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
677 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
678 feraiseexcept.
679 * math/w_acos.c (__acos): Likewise.
680 * math/w_asin.c (__asin): Likewise.
681 * math/w_ilogb.c (__ilogb): Likewise.
682 * math/w_j0.c (y0): Likewise.
683 * math/w_j1.c (y1): Likewise.
684 * math/w_jn.c (yn): Likewise.
685 * math/w_log.c (__log): Likewise.
686 * math/w_log10.c (__log10): Likewise.
687 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
688 * sysdeps/aarch64/fpu/math_private.h
689 (libc_feupdateenv_test_aarch64): Likewise.
690 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
691 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
692 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
693 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
694 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
695 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
696 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
697 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
698 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
699 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
700
701 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
702
703 [BZ #17732]
704 * io/test-utime.c (main): Replace %ld with %jd and cast to
705 intmax_t.
706 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
707 * nptl/tst-mutex5.c: Include <stdint.h>.
708 (do_test): Replace %ld with %jd and cast to intmax_t.
709 * posix/tst-regex.c (run_test): Likewise.
710 (run_test_backwards): Likewise.
711 * rt/tst-clock.c: Include <stdint.h>.
712 (clock_test): Replace %ld with %jd and cast to intmax_t.
713 * rt/tst-cpuclock1.c: Include <stdint.h>.
714 (do_test): Replace %lu with %ju and cast to uintmax_t.
715 * rt/tst-cpuclock2.c: Include <stdint.h>.
716 (do_test): Replace %lu with %ju and cast to uintmax_t.
717 * rt/tst-mqueue1.c: Include <stdint.h>.
718 (check_attrs): Replace %ld with %jd and cast to intmax_t.
719 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
720 intmax_t.
721 * rt/tst-mqueue4.c (do_test): Likewise.
722 * rt/tst-timer4.c: Include <stdint.h>.
723 (check_ts): Replace %ld with %jd and cast to intmax_t.
724 (do_test): Likewise.
725 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
726 and cast to intmax_t.
727 * sysdeps/pthread/tst-timer.c (main): Likewise.
728 * time/clocktest.c (main): Likewise.
729 * time/tst-posixtz.c (do_test): Likewise.
730 * timezone/tst-timezone.c (main): Likewise.
731
732 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
733 H.J. Lu <hongjiu.lu@intel.com>
734
735 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
736 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
737 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
738 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
739 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
740 version if bit_Fast_Unaligned_Load is set.
741 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
742 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
743 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
744 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
745 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
746 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
747 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
748 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
749 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
750 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
751 to 4.
752 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
753 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
754 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
755 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
756
757 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
758
759 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
760 instead of #if to avoid a Wundef warning.
761 * stdlib/tst-limits.c (do_test): Likewise.
762
763 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
764 parallel other exception macros.
765 (fegetenv): Convert from macro to extern inline so that it applies
766 retroactively to inline functions already seen by the compiler.
767 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
768
769 * posix/Makefile (before-compile): Use $(objpfx) for
770 posix-conf-vars-def.h.
771
772 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
773
774 * posix/getconf.c (main): Use size_t for type of I.
775 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
776 NSPEC.
777
778 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
779 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
780 * posix/posix-envs.def: Likewise.
781 * sysdeps/posix/sysconf.c: Likewise.
782 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
783 (specs): Remove array.
784 * scripts/gen-posix-conf-vars.awk: Support generation of specs
785 array.
786
787 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
788 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
789 (__sysconf): Use CONF_IS_* macros.
790
791 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
792 ($(objpfx)posix-conf-vars-def.h): New target.
793 * posix/posix-conf-vars.list: New file.
794 * posix/posix-conf-vars.h: New file.
795 * posix/confstr.c: Include posix-conf-vars.h.
796 (confstr): Use CONF_IS_* macros.
797 * posix/posix-envs.def: Include posix-conf-vars.h. Use
798 CONF_IS_* macros.
799 * scripts/gen-posix-conf-vars.awk: New file.
800
801 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
802
803 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
804 fegetround): Add no-op macros to avoid linknamespace issues.
805
806 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
807 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
808
809 * sysdeps/unix/sysv/linux/tile/sysdep.h
810 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
811 assembly-specific section to avoid a redefinition warning.
812
813 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
814 long before casting to pointer to avoid a cast warning.
815
816 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
817
818 * sysdeps/tile/tilegx/Implies: New file.
819
820 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
821
822 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
823
824 2014-12-23 Florian Weimer <fweimer@redhat.com>
825
826 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
827
828 2014-12-22 Joseph Myers <joseph@codesourcery.com>
829
830 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
831 not define.
832 * sysdeps/unix/sysv/linux/utimes.c: Do not include
833 <kernel-features.h>.
834 (__utimes) [__NR_utimes]: Make code unconditional.
835 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
836 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
837 (__ASSUME_UTIMES): Do not undefine.
838 * sysdeps/unix/sysv/linux/tile/kernel-features.h
839 (__ASSUME_UTIMES): Likewise.
840 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
841 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
842 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
843 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
844
845 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
846
847 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
848
849 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
850
851 [BZ #17747]
852 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
853 alias to weak alias for j0l, y0l.
854 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
855 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
856
857 [BZ #17746]
858 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
859 conversion.
860
861 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
862
863 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
864 to zero if not already defined.
865
866 2014-12-22 Joseph Myers <joseph@codesourcery.com>
867
868 [BZ #17724]
869 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
870 (__kernel_standard_f): Remove. Moved to k_standardf.c.
871 (__kernel_standard_l): Remove. Moved to k_standardl.c with
872 (char *) casts added.
873 * sysdeps/ieee754/k_standardf.c: New file.
874 * sysdeps/ieee754/k_standardl.c: Likewise.
875 * math/Makefile (libm-support): Remove k_standard.
876 (libm-calls): Add k_standard.
877
878 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
879
880 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
881 Optimize to avoid an unnecessary FPCR read.
882
883 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
884
885 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
886 Optimize to reduce FPCR/FPSR accesses.
887
888 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
889
890 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
891 Call libc_fetestexcept_aarch64.
892
893 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
894
895 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
896 Call libc_fesetround_aarch64.
897
898 2014-12-22 Joseph Myers <joseph@codesourcery.com>
899
900 [BZ #17733]
901 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
902 (__bind): Do not define as weak alias.
903 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
904 define.
905 (__getsockname): Do not define as weak alias.
906
907 2014-12-22 Will Newton <will.newton@linaro.org>
908
909 * manual/install.texi: Document that we require bison 2.7
910 or above.
911 * INSTALL: Regenerate.
912 * configure.ac: Use AC_CHECK_PROG_VER instead of
913 AC_PATH_PROG when checking for bison and check for
914 version 2.7 or above.
915 * configure: Regenerate.
916
917 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
918
919 [BZ #17745]
920 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
921 * sysdeps/tile/ffsll.c (ffsll): To here.
922
923 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
924
925 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
926
927 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
928 if not defined.
929 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
930 definition.
931 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
932 hidden ___tls_get_addr.
933 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
934 hidden __tls_get_addr.
935 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
936 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
937 Likewise.
938
939 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
940
941 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
942 _dl_init call.
943
944 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
945
946 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
947 from "call _dl_init@PLT".
948 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
949
950 2014-12-21 Anders Kaseorg <andersk@mit.edu>
951
952 * manual/search.texi: (Array Sort Function): Clarify stable sorting
953 guarantees.
954
955 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
956
957 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
958
959 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
960
961 [BZ #17744]
962 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
963 strnlen.
964
965 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
966
967 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
968 of multu on MIPSr6.
969 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
970 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
971 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
972 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
973 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
974
975 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
976
977 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
978 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
979 (PTR_SUBU): Use subu for mips32r6/mips64r6.
980 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
981 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
982 mips32r6/mips64r6.
983 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
984
985 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
986
987 * string/strncat.c (STRNCAT): Simplify implementation.
988
989 2014-12-19 David S. Miller <davem@davemloft.net>
990
991 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
992 access the quad as both a long double and as a series of 4 words.
993
994 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
995 link_map->l_info array access.
996
997 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
998
999 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1000
1001 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1002 * math/atest-exp2.c (TIMEOUT): Likewise.
1003 * math/atest-sincos.c (TIMEOUT): Likewise.
1004
1005 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1006
1007 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1008 -Wno-error with -fno-builtin-lround.
1009
1010 2014-12-19 Torvald Riegel <triegel@redhat.com>
1011
1012 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1013 Contains futex constants and functions moved over from ...
1014 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1015 <lowlevellock-futex.h>.
1016 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1017 (lll_timedwait_tid): Add comments and parentheses around macro
1018 arguments.
1019
1020 2014-12-19 Torvald Riegel <triegel@redhat.com>
1021
1022 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1023 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1024 (__lll_private_flag): Remove.
1025 (lll_futex_wait): Likewise.
1026 (lll_futex_timed_wait): Likewise.
1027 (lll_futex_wake): Likewise.
1028 (lll_futex_requeue): Likewise.
1029 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1030 (__lll_timedwait_tid): Spell out argument names.
1031 (lll_timedwait_tid): Add comments and parentheses around macro
1032 arguments.
1033 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1034 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1035
1036 2014-12-19 Torvald Riegel <triegel@redhat.com>
1037
1038 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1039 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1040 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1041 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1042 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1043 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1044 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1045 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1046 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1047 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1048 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1049 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1050 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1051 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1052 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1053 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1054 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1055 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1056 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1057
1058 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1059
1060 * sysdeps/x86_64/x32/Makefile: New file.
1061
1062 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1063
1064 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1065 1L with (mp_limb_t) 1.
1066
1067 2014-12-17 Roland McGrath <roland@hack.frob.com>
1068
1069 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1070 * nptl/libc_pthread_init.c: ... here.
1071 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1072 * nptl/register-atfork.c: ... here.
1073
1074 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1075 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1076 Use assert_perror to check its return value.
1077 (__gai_create_helper_thread): Likewise.
1078
1079 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1080
1081 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1082
1083 2014-12-17 Joseph Myers <joseph@codesourcery.com>
1084
1085 [BZ #17725]
1086 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1087 __profil_counter.
1088 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1089 Likewise.
1090 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1091 Likewise.
1092 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1093 Likewise.
1094 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1095 (profil_counter): Likewise.
1096 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1097 (profil_counter): Likewise.
1098 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1099 Likewise.
1100 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1101 Likewise.
1102 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1103 (profil_counter): Likewise.
1104 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1105 Likewise.
1106 [!__profil_counter] (profil_counter): Define as weak alias of
1107 __profil_counter.
1108 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1109 (profil_counter): Rename to __profil_counter.
1110 [!__profil_counter] (profil_counter): Define as weak alias of
1111 __profil_counter.
1112 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1113 (profil_counter): Rename to __profil_counter.
1114 [!__profil_counter] (profil_counter): Define as weak alias of
1115 __profil_counter.
1116 * sysdeps/posix/profil.c: Update comment referring to
1117 profil_counter.
1118 (__profil): Use __profil_counter instead of profil_counter.
1119 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1120 __profil_counter. Use __profil_counter_ushort and
1121 __profil_counter_uint in definitions.
1122 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1123 instead of profil_counter_uint and profil_counter_ushort.
1124
1125 [BZ #17722]
1126 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1127 define as weak alias of __inet_makeaddr.
1128 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1129 as weak alias of __inet_addr.
1130 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1131 as weak alias of __inet_pton. Use libc_hidden_weak.
1132 * include/arpa/inet.h (__inet_pton): Declare. Use
1133 libc_hidden_proto.
1134 (inet_makeaddr): Don't use libc_hidden_proto.
1135 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1136 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1137 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1138 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1139 Remove variable.
1140 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1141 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1142
1143 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
1144
1145 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1146
1147 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1148
1149 * stdio-common/bug-vfprintf-nargs.c (do_test):
1150 Cast value to intptr_t to avoid format warning
1151 for usage with PRIdPTR printing macro.
1152
1153 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1154
1155 * libio/tst-widetext.c (do_test):
1156 Use format type %td instead of %Zd for ptrdiff_t
1157 in order to avoid format warning.
1158
1159 2014-12-17 Andreas Schwab <schwab@suse.de>
1160
1161 * nscd/mem.c (gc): Add size_t cast to match printf format.
1162
1163 2014-12-16 Roland McGrath <roland@hack.frob.com>
1164
1165 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1166 (init): Apply PTR_MANGLE to pointers before storing them.
1167 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1168 before using them.
1169
1170 2014-12-16 Joseph Myers <joseph@codesourcery.com>
1171
1172 [BZ #17719]
1173 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1174 define as weak alias of __memrchr.
1175 (__memrchr): Do not define as strong alias of memrchr.
1176 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1177 Remove variable.
1178 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1179 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1180 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1181
1182 [BZ #17717]
1183 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1184 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1185 (if_indextoname): Rename to __if_indextoname and define as weak
1186 alias of __if_indextoname. Use libc_hidden_weak.
1187 (if_freenameindex): Rename to __if_freenameindex and define as
1188 weak alias of __if_freenameindex.
1189 (if_nameindex): Rename to __if_nameindex and define as weak alias
1190 of __if_nameindex.
1191 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1192 __if_nametoindex and define as weak alias of __if_nametoindex.
1193 Use libc_hidden_weak.
1194 (if_freenameindex): Rename to __if_freenameindex and define as
1195 weak alias of __if_freenameindex.
1196 (if_nameindex): Rename to __if_nameindex and define as weak alias
1197 of __if_nameindex.
1198 (if_indextoname): Rename to __if_indextoname and define as weak
1199 alias of __if_indextoname. Use libc_hidden_weak.
1200 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1201 __if_nametoindex and define as weak alias of __if_nametoindex.
1202 Use libc_hidden_weak.
1203 (if_freenameindex): Rename to __if_freenameindex and define as
1204 weak alias of __if_freenameindex. Use libc_hidden_weak.
1205 (if_nameindex_netlink): Use __if_freenameindex instead of
1206 if_freenameindex.
1207 (if_nameindex): Rename to __if_nameindex and define as weak alias
1208 of __if_nameindex. Use libc_hidden_weak.
1209 (if_indextoname): Rename to __if_indextoname and define as weak
1210 alias of __if_indextoname. Use libc_hidden_weak.
1211 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1212 libc_hidden_proto.
1213 [!_ISOMAC] (__if_freenameindex): Likewise.
1214 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1215 if_nametoindex.
1216 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1217 variable.
1218 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1219 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1220 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1221 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1222 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1223 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1224 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1225
1226 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1227 Remove variable.
1228 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1229 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1230
1231 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1232
1233 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1234 subscript above bounds'
1235
1236 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1237 bounds.
1238
1239 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
1240
1241 * libio/tst-fopenloc.c: Use test-skeleton.c.
1242
1243 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1244 (entry): Rename to ITEM.
1245 (do_test, comp): Adjust.
1246
1247 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1248
1249 2014-12-16 Torvald Riegel <triegel@redhat.com>
1250
1251 * string/tester.c: Include <libc-internal.h>.
1252 (test_memset): Ignore -Wmemset-transposed-args.
1253
1254 2014-12-16 Torvald Riegel <triegel@redhat.com>
1255
1256 * misc/tst-mntent2.c (do_test): Fix warning.
1257
1258 2014-12-16 Torvald Riegel <triegel@redhat.com>
1259
1260 * elf/tst-unique4lib.cc(a): Mark as used.
1261
1262 2014-12-16 Florian Weimer <fweimer@redhat.com>
1263
1264 [BZ #17630]
1265 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1266 names.
1267
1268 2014-12-16 Allan McRae <allan@archlinux.org>
1269
1270 * stdio-common/Makefile (tests): Re-add bug26.
1271
1272 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
1273
1274 [BZ #17657]
1275 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1276 static array.
1277
1278 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1279
1280 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1281 (__lll_lock_wait): Likewise.
1282 (__lll_timedlock_wait): Likewise.
1283 (__lll_timedwait_tid): Likewise.
1284 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1285 (__lll_robust_timedlock_wait): Likewise.
1286 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1287 (lll_cond_trylock): Likewise.
1288 (__lll_lock): Likewise.
1289 (__lll_robust_lock): Likewise.
1290 (__lll_cond_lock): Likewise.
1291 (lll_robust_cond_lock): Likewise.
1292 (__lll_timedlock): Likewise.
1293 (__lll_robust_timedlock): Likewise.
1294 (__lll_unlock): Likewise.
1295 (__lll_robust_unlock): Likewise.
1296 (lll_wait_tid): Likewise.
1297 (lll_timedwait_tid): Likewise.
1298
1299 2014-12-15 Torvald Riegel <triegel@redhat.com>
1300
1301 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1302
1303 2014-12-15 Torvald Riegel <triegel@redhat.com>
1304
1305 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1306
1307 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1308
1309 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1310 * stdio-common/tst-sprintf.c: Likewise.
1311
1312 2014-12-15 Torvald Riegel <triegel@redhat.com>
1313
1314 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1315
1316 2014-12-15 Jeff Law <law@redhat.com>
1317
1318 [BZ #16617]
1319 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1320 on the heap. (CVE-2012-3406)
1321 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1322 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1323 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1324
1325 2014-12-15 Will Newton <will.newton@linaro.org>
1326
1327 * manual/install.texi: Bump required version of texinfo
1328 to 4.7 from 4.5.
1329 * INSTALL: Regenerated.
1330 * configure.ac: Check for makeinfo version 4.7 and above.
1331 * configure: Regenerated.
1332
1333 2014-12-12 Roland McGrath <roland@hack.frob.com>
1334
1335 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1336 PREFIX, string constant to insert between directory and name.
1337 * sysdeps/posix/shm_open.c: Update caller.
1338 * sysdeps/posix/shm_unlink.c: Likewise.
1339 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1340 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1341 (SEM_SHM_PREFIX): New macro.
1342 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1343 [$(have-thread-library) = no].
1344 * nptl/Makefile (libpthread-routines): Add shm-directory.
1345 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1346 * sysdeps/nptl/shm-directory.h: New file.
1347 * sysdeps/posix/shm-directory.c
1348 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1349 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1350 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1351 INTERNAL_SYSCALL.
1352 (__where_is_shmfs): Function removed.
1353 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1354 Variables removed.
1355 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1356 Use SHM_GET_NAME.
1357 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1358
1359 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1360 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1361 unconditional for use inside libpthread.
1362 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1363
1364 2014-12-12 Roland McGrath <roland@hack.frob.com>
1365
1366 * nptl/pthread_getaffinity.c: New file.
1367 * nptl/pthread_setaffinity.c: New file.
1368 * nptl/pthread_getname.c: New file.
1369 * nptl/pthread_setname.c: New file.
1370
1371 * nptl/pthread_create.c (START_THREAD_DEFN)
1372 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1373
1374 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1375 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1376
1377 * resolv/res_send.c (send_vc): Disable warning resplen may
1378 be used uninitialized.
1379
1380 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1381
1382 * nptl/tst-mutex6.c
1383 (ATTR_NULL): New define checks ATTR against NULL.
1384 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1385 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1386
1387 2014-12-11 James Lemke <jwlemke@codesourcery.com>
1388
1389 [BZ #17581]
1390 * malloc/hooks.c
1391 (mem2mem_check): Revert my previous change.
1392 (malloc_check_get_size): Revert my previous change.
1393 (mem2chunk_check): Revert my previous change.
1394
1395 2014-12-11 Roland McGrath <roland@hack.frob.com>
1396
1397 * sysdeps/posix/shm-directory.c: New file.
1398 * sysdeps/posix/shm-directory.h: New file.
1399 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1400 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1401 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1402 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1403 Transmute EPERM to EACCES.
1404 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1405 from ...
1406 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1407 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1408
1409 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1410
1411 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1412 pointer and cast to uintptr_t.
1413 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1414 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1415 Add cast to avoid warning.
1416 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1417
1418 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1419
1420 * nptl/semaphore.h: Move to ...
1421 * sysdeps/pthread/semaphore.h: ... here.
1422 * Makefile (installed-headers): Change nptl/semaphore.h to
1423 sysdeps/pthread/semaphore.h.
1424
1425 2014-12-11 Roland McGrath <roland@hack.frob.com>
1426
1427 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1428 generated error format strings.
1429
1430 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1431 -Wformat-extra-args warnings for scanf formats.
1432 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1433 test of zero-length format (duh).
1434 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1435 corner-case scanf format test.
1436 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1437 generated fprintf format string.
1438 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1439 corner-case sprintf format tests.
1440 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1441 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1442 -Wformat-extra-args warnings throughout.
1443 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1444 (CFLAGS-scanf4.c): Likewise.
1445 (CFLAGS-scanf7.c): Likewise.
1446 (CFLAGS-tst-sprintf.c): Likewise.
1447 (CFLAGS-tst-printf.c): Likewise.
1448 (CFLAGS-tst-printfsz.c): Likewise.
1449
1450 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1451
1452 * include/cpio.h: New file.
1453 * include/fmtmsg.h: Likewise.
1454
1455 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1456 corresponding format argument to size_t.
1457 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1458 arguments.
1459 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1460 corresponding format argument to size_t.
1461 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1462 arguments.
1463 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1464 corresponding format argument to size_t.
1465 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1466 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1467 (CFLAGS-tst-mbswcs2.c): Likewise.
1468 (CFLAGS-tst-mbswcs3.c): Likewise.
1469 (CFLAGS-tst-mbswcs4.c): Likewise.
1470 (CFLAGS-tst-mbswcs5.c): Likewise.
1471 (CFLAGS-tst-trans.c): Likewise
1472
1473 2014-12-11 Roland McGrath <roland@hack.frob.com>
1474
1475 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1476 rather than assuming they won't contain any '%'s.
1477
1478 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1479
1480 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1481 inhibit_loop_to_libcall to avoid recursive calls.
1482 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1483 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1484
1485 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1486
1487 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1488 prototype.
1489
1490 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1491
1492 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1493 integer value instead of boolean.
1494
1495 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1496
1497 * malloc/malloc.c: Fix powerof2 check.
1498
1499 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1500
1501 * locale/programs/locfile.h (maybe_swap_uint32):
1502 Remove inline and add unused attribute.
1503
1504 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1505
1506 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1507 Truncating assembler expression to a .long expression.
1508
1509 2014-12-11 Andreas Schwab <schwab@suse.de>
1510
1511 * elf/rtld.c (struct map_args): Constify str member.
1512 (do_preload): Constify fname argument.
1513
1514 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1515
1516 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1517 constants definition.
1518
1519 2014-12-11 Andreas Schwab <schwab@suse.de>
1520
1521 [BZ #16657]
1522 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1523 FORCE_ELISION instead of DO_ELISION.
1524 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1525 Remove.
1526 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1527 Likewise.
1528
1529 * iconvdata/gconv-modules: Remove duplicate entry.
1530
1531 2014-12-11 Will Newton <will.newton@linaro.org>
1532
1533 Merge gettext 0.19.3 into intl/.
1534
1535 This involves a number of cosmetic changes to comments
1536 and ANSI function definitions and prototypes throughout
1537 all the files. The gettext copyright header is used but
1538 with the date ranges taken from the glibc copy.
1539
1540 * NEWS: Add gettext merge to 2.21.
1541 * intl/bindtextdom.c: Switch to gettext copyright.
1542 Use ANSI definitions and prototypes.
1543 Use gl_* locking primitives rather than __libc_* ones.
1544 Use __builtin_expect rather than __glibc_likely/unlikely.
1545 * intl/dcgettext.c: Switch to gettext copyright.
1546 Use ANSI definitions and prototypes.
1547 * intl/dcigettext.c: Switch to gettext copyright.
1548 Use ANSI definitions and prototypes.
1549 (INTDIV0_RAISES_SIGFPE): New define.
1550 Use gl_* locking primitives rather than __libc_* ones.
1551 Include eval-plural.h instead of plural-eval.c.
1552 Use __builtin_expect rather than __glibc_likely/unlikely.
1553 * intl/dcngettext.c: Switch to gettext copyright.
1554 Use ANSI definitions and prototypes.
1555 * intl/dgettext.c: Likewise.
1556 * intl/dngettext.c: Likewise.
1557 * intl/plural-eval.c: Renamed to...
1558 * intl/eval-plural.h: ...this.
1559 * intl/explodename.c: Switch to gettext copyright.
1560 Use ANSI definitions and prototypes.
1561 (_nl_explode_name): Use strchr instead of __rawmemchr.
1562 * intl/finddomain.c: Switch to gettext copyright.
1563 Use ANSI definitions and prototypes.
1564 Use gl_* locking primitives rather than __libc_* ones.
1565 (_nl_find_domain): Use malloc rather than alloca for
1566 allocation of temporary locale name.
1567 * intl/gettext.c: Switch to gettext copyright.
1568 Use ANSI definitions and prototypes.
1569 * intl/gettextP.h: Switch to gettext copyright.
1570 Use ANSI definitions and prototypes.
1571 Use gl_* locking primitives rather than __libc_* ones.
1572 * intl/gmo.h: Switch to gettext copyright.
1573 (struct sysdep_string): Move struct segment_pair outside of
1574 struct definition.
1575 * intl/hash-string.c: Use ANSI definitions and prototypes.
1576 * intl/hash-string.h: Switch to gettext copyright.
1577 Use ANSI definitions and prototypes.
1578 * intl/l10nflist.c: Switch to gettext copyright.
1579 Use ANSI definitions and prototypes.
1580 (_nl_normalize_codeset): Avoid integer overflow.
1581 * intl/loadinfo.h: Switch to gettext copyright.
1582 Use ANSI definitions and prototypes.
1583 (LIBINTL_DLL_EXPORTED): New define.
1584 (PATH_SEPARATOR): New define.
1585 * intl/loadmsgcat.c: Switch to gettext copyright.
1586 * intl/localealias.c: Switch to gettext copyright.
1587 Use ANSI definitions and prototypes.
1588 (_nl_expand_alias): Use PATH_SEPARATOR.
1589 * intl/ngettext.c: Switch to gettext copyright.
1590 Use ANSI definitions and prototypes.
1591 * intl/plural-exp.c: Likewise.
1592 * intl/plural-exp.h: Switch to gettext copyright.
1593 Use ANSI definitions and prototypes.
1594 (struct expression): Move definition of enum operator outside
1595 of struct definition.
1596 * intl/plural.c: Regenerate.
1597 * intl/plural.y: Switch to gettext copyright.
1598 Use ANSI definitions and prototypes.
1599 Port to bison 3.0.
1600 * intl/textdomain.c: Switch to gettext copyright.
1601 Use ANSI definitions and prototypes.
1602 Use gl_* locking primitives rather than __libc_* ones.
1603
1604 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
1605
1606 * debug/warning-nop.c: Add used atrribute.
1607
1608 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1609
1610 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1611
1612 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1613 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1614 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1615
1616 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1617 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1618
1619 [BZ #17634]
1620 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1621 Undefine after defining function. Define as weak alias of
1622 __wcschr. Use libc_hidden_weak.
1623 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1624 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1625 (libc_hidden_def): Also define __GI___wcschr alias.
1626 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1627 __wcschr and define as weak alias of __wcschr.
1628 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1629 __wcschr.
1630 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1631 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1632 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1633 libc_hidden_weak. Do not use libc_hidden_def.
1634 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1635 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1636 __GI___wcschr alias.
1637 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1638 [IS_IN (libc)] (wcschr): Define as macro expanding to
1639 __redirect_wcschr.
1640 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1641 [IS_IN (libc)] (__wcschr_power6): Likewise.
1642 [IS_IN (libc)] (__wcschr_power7): Likewise.
1643 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1644 instead of wcschr.
1645 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1646 __libc_wcschr.
1647 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1648 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1649 __wcschr and define as weak alias of __wcschr. Use
1650 libc_hidden_builtin_def.
1651 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1652 as weak alias of __wcschr. Use libc_hidden_weak.
1653 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1654 wcschr.
1655 * time/era.c (_nl_init_era_entries): Likewise.
1656 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1657 variable.
1658 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1659 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1660
1661 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1662
1663 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1664 format for long int variable.
1665
1666 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1667
1668 [BZ #10672]
1669 * manual/search.texi: (Array Sort Function): Remove claim how to make
1670 qsort stable.
1671
1672 2014-12-10 Andreas Schwab <schwab@suse.de>
1673
1674 [BZ #12847]
1675 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1676 user-controlled locks.
1677
1678 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
1679
1680 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1681 register.
1682
1683 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1684
1685 * configure.ac (--disable-werror): New configure option.
1686 (enable_werror): New AC_SUBST.
1687 * configure: Regenerated.
1688 * config.make.in (enable-werror): New variable.
1689 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1690 -Wno-error=undef.
1691 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1692 * manual/install.texi (Configuring and compiling): Document
1693 --disable-werror.
1694 * INSTALL: Regenerated.
1695 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1696 (CFLAGS-tst-chk2.c): Likewise.
1697 (CFLAGS-tst-chk3.c): Likewise.
1698 (CFLAGS-tst-chk4.cc): Likewise.
1699 (CFLAGS-tst-chk5.cc): Likewise.
1700 (CFLAGS-tst-chk6.cc): Likewise.
1701 (CFLAGS-tst-lfschk1.c): Likewise.
1702 (CFLAGS-tst-lfschk2.c): Likewise.
1703 (CFLAGS-tst-lfschk3.c): Likewise.
1704 (CFLAGS-tst-lfschk4.cc): Likewise.
1705 (CFLAGS-tst-lfschk5.cc): Likewise.
1706 (CFLAGS-tst-lfschk6.cc): Likewise.
1707
1708 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1709 (main): Disable -Wdeprecated-declarations around calls to
1710 register_printf_function.
1711
1712 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1713 (do_test): Disable -Wdiv-by-zero around some calls to
1714 fwrite_unlocked and fread_unlocked.
1715
1716 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1717 (DIAG_POP_NEEDS_COMMENT): Likewise.
1718 (_DIAG_STR1): Likewise.
1719 (_DIAG_STR): Likewise.
1720 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1721 * stdio-common/bug21.c: Include <libc-internal.h>.
1722 (do_test): Disable -Wformat around call to sscanf.
1723 * stdio-common/scanf14.c: Include <libc-internal.h>.
1724 (main): Disable -Wformat around some calls to scanf functions.
1725
1726 2014-12-09 Torvald Riegel <triegel@redhat.com>
1727
1728 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1729
1730 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1731
1732 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1733 stack variable alignment.
1734
1735 2014-12-06 Joseph Myers <joseph@codesourcery.com>
1736
1737 [BZ #17682]
1738 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1739 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1740 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1741 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1742 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1743 __getrlimit instead of getrlimit.
1744 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1745 __gettimeofday instead of gettimeofday.
1746 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1747 Likewise.
1748 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1749 Likewise.
1750 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1751 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1752 Remove variable.
1753 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1754 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1755
1756 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1757
1758 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1759 for wide-character tests.
1760
1761 2014-12-04 Roland McGrath <roland@hack.frob.com>
1762
1763 * io/openat64.c: #include <libc-internal.h>
1764 (__openat64): Prototypify. Use ignore_value on MODE.
1765 * io/openat.c: Likewise.
1766 * misc/reboot.c: #include <libc-internal.h>
1767 (reboot): Prototypify. Use ignore_value on HOWTO.
1768 * misc/ptrace.c: #include <libc-internal.h>
1769 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1770
1771 2014-12-04 Joseph Myers <joseph@codesourcery.com>
1772
1773 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1774 XPG4, UNIX98 and XOPEN2K.
1775 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1776 Remove variable.
1777 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1778
1779 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1780
1781 * libio/fileops.c: Use ISO C style for function definitions.
1782 * libio/iofopen.c: Likewise.
1783 * libio/wfileops.c: Likewise.
1784
1785 [BZ #17653]
1786 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1787 offset on EOF.
1788 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1789 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1790 (fgets_func): Function pointer to fgets and fgetws.
1791 (do_ftell_test): Add test to verify ftell value after read
1792 EOF.
1793 (do_test): Set fgets_func.
1794
1795 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1796 O_TRUNC flag for w and w+ modes.
1797 (do_rewind_test): Likewise.
1798 (do_ftell_test): Likewise.
1799 (do_write_test): Likewise.
1800
1801 [BZ #17647]
1802 * libio/fileops.c (do_ftell): Seek only when there are
1803 unflushed writes.
1804 * libio/wfileops.c (do_ftell_wide): Likewise.
1805 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1806 test case.
1807 (do_one_test): Call it.
1808
1809 2014-12-03 Joseph Myers <joseph@codesourcery.com>
1810
1811 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1812 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1813 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1814 Remove variable.
1815 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1816 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1817 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1818
1819 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1820
1821 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1822 Remove variable.
1823 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1824
1825 [BZ #17668]
1826 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1827 as weak alias of __getifaddrs. Use libc_hidden_weak.
1828 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1829 __freeifaddrs. Use libc_hidden_weak.
1830 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1831 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1832 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1833 __freeifaddrs. Use libc_hidden_weak.
1834 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1835 __getifaddrs and define as weak alias of __getifaddrs. Use
1836 libc_hidden_weak.
1837 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1838 __freeifaddrs. Use libc_hidden_weak.
1839 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1840 Remove variable.
1841 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1842 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1843
1844 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1845
1846 [BZ #17601]
1847 * sysdeps/mips/start.S (__start): Use indirect jump to call
1848 __libc_start_main.
1849
1850 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1851
1852 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1853
1854 * nptl/tst-mutex1.c: Include <stdbool.h>.
1855 [!ATTR] (ATTR_NULL): New macro.
1856 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1857 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1858 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1859
1860 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1861 to char *.
1862
1863 [BZ #17665]
1864 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1865 Change conditional to [__USE_MISC].
1866
1867 [BZ #17664]
1868 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1869 fgets_unlocked.
1870 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1871 __fgets_unlocked.
1872 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1873 fgets_unlocked.
1874 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1875 Remove variable.
1876 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1877 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1878 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1879 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1880 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1881 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1882 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1883 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1884 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1885
1886 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1887
1888 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1889
1890 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1891 Remove strpbrk objects.
1892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1893 (__libc_ifunc_impl_list): Remove strpbrk implementation.
1894 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1895 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1896 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1897 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1898
1899 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1900 Remove strcspn objects.
1901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1902 (__libc_ifunc_impl_list): Remove strcspn implementation.
1903 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1904 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1905 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1906 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1907
1908 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1909 Remove strspn objetcs.
1910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1911 (__libc_ifunc_impl_list): Remove strspn implementation.
1912 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1913 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1914 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1915 * sysdeps/powerpc/powerpc64/strspn.S: New file.
1916
1917 2014-12-01 James Lemke <jwlemke@codesourcery.com>
1918
1919 [BZ #17581]
1920 * malloc/hooks.c
1921 (mem2mem_check): Add a terminator to the chain of checking blocks.
1922 (malloc_check_get_size): Use it here.
1923 (mem2chunk_check): Ditto.
1924
1925 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1926
1927 * sysdeps/powerpc/powerpc64/strtok.S: New file.
1928 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1929
1930 2014-11-29 Carlos O'Donell <carlos@redhat.com>
1931
1932 * bits/ioctl-types.h: Indent preprocessor directives correctly.
1933
1934 * nptl/nptl-init.c: Include libc-internal.h.
1935 (__pthread_initialize_minimal_internal): Use ROUND_UP.
1936
1937 * elf/ldconfig.c (search_dir): Expand comment.
1938
1939 2014-11-29 Joseph Myers <joseph@codesourcery.com>
1940
1941 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1942 variable.
1943 (linknamespace-symlist-stdlibs-tests): Likewise.
1944 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1945 instead of $(objpfx)symlist-stdlibs.
1946 (linknamespace-libs-isoc): New variable.
1947 (linknamespace-libs): Use $(linknamespace-libs-isoc).
1948 (linknamespace-libs-ISO): New variable.
1949 (linknamespace-libs-ISO99): Likewise.
1950 (linknamespace-libs-ISO11): Likewise.
1951 (linknamespace-libs-XPG3): Likewise.
1952 (linknamespace-libs-XPG4): Likewise.
1953 (linknamespace-libs-POSIX): Likewise.
1954 (linknamespace-libs-UNIX98): Likewise.
1955 (linknamespace-libs-XOPEN2K): Likewise.
1956 (linknamespace-libs-POSIX2008): Likewise.
1957 (linknamespace-libs-XOPEN2K8): Likewise.
1958 ($(objpfx)symlist-stdlibs): Replace by
1959 $(linknamespace-symlist-stdlibs-tests). Use
1960 $(linknamespace-libs-$*) as set of libraries.
1961 ($(linknamespace-header-tests)): Update dependencies. Use
1962 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1963 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1964 * conform/linknamespace.pl: Remove comment about considering
1965 definitions of symbols from irrelevant libraries.
1966
1967 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
1968
1969 [BZ #13862]
1970 * elf/dl-tls.c: Include <atomic.h>.
1971 (oom): Remove #ifdef SHARED/#endif.
1972 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1973 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
1974 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1975 big enough.
1976 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1977 * nptl/Makefile (tests): Add tst-stack4.
1978 (modules-names): Add tst-stack4mod.
1979 ($(objpfx)tst-stack4): New.
1980 (tst-stack4mod.sos): Likewise.
1981 ($(objpfx)tst-stack4.out): Likewise.
1982 ($(tst-stack4mod.sos)): Likewise.
1983 (clean): Likewise.
1984 * nptl/tst-stack4.c: New file.
1985 * nptl/tst-stack4mod.c: Likewise.
1986
1987 2014-11-27 J. Brown <jb999@gmx.de>
1988
1989 * sysdeps/x86/bits/string.h: Add recent CPUs.
1990
1991 2014-11-27 Joseph Myers <joseph@codesourcery.com>
1992
1993 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1994 sigblock.
1995
1996 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1997 feof.
1998
1999 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2000 variable.
2001
2002 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2003
2004 * nscd/connections.c: Include libc-internal.h because of macro
2005 usage ignore_value.
2006
2007 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2008
2009 * string/bits/string3.h (__warn_memset_zero_len): Don't
2010 declare for gcc newer than 5.0.
2011 (memset): Don't test for zero-length __LEN for gcc newer than
2012 5.0.
2013
2014 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2015
2016 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2017 size_t for %zu format.
2018
2019 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2020 difference, not %ju.
2021
2022 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2023
2024 * include/libc-internal.h (ignore_value): New macro.
2025 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2026 with ignore_value.
2027
2028 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2029 definition.
2030
2031 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2032 pthread_cleanup_push to void *.
2033
2034 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2035 Undefine.
2036
2037 [BZ #16619]
2038 [BZ #16740]
2039 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2040 instead of 1L << 52.
2041
2042 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2043 * libio/bug-rewind2.c (do_test): Likewise.
2044
2045 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2046 * debug/test-strcpy_chk-ifunc.c: Likewise.
2047 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2048 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2049 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2050 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2051 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2052 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2053 * Rules [$(multi-arch) = no] (tests): Do not filter out
2054 $(tests-ifunc).
2055 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2056 * debug/Makefile (tests-ifunc): Remove variable.
2057 (tests): Do not add $(tests-ifunc).
2058 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2059 (tests): Do not add $(tests-ifunc).
2060 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2061 [TEST_IFUNC]: Remove conditionals.
2062 * string/test-string.h (TEST_IFUNC): Remove macro.
2063 [TEST_IFUNC]: Remove conditionals.
2064
2065 * string/test-strchr.c [!WIDE] (L): New macro.
2066 [WIDE] (L): Likewise.
2067 (check1): Use CHAR instead of char. Use L on string and character
2068 constants.
2069
2070 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2071
2072 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2073 tests.
2074 * sysdeps/powerpc/bits/atomic.h
2075 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2076 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2077 (atomic_exchange_and_add_acq): Likewise.
2078 (atomic_exchange_and_add_rel): Likewise.
2079 * sysdeps/powerpc/powerpc32/bits/atomic.h
2080 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2081 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2082 * sysdeps/powerpc/powerpc64/bits/atomic.h
2083 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2084 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2085
2086 2014-11-26 Torvald Riegel <triegel@redhat.com>
2087
2088 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2089 Change synchronization of __sched_fifo_min_prio and
2090 __sched_fifo_max_prio.
2091 * nptl/pthread_mutexattr_getprioceiling.c
2092 (pthread_mutexattr_getprioceiling): Likewise.
2093 * nptl/pthread_mutexattr_setprioceiling.c
2094 (pthread_mutexattr_setprioceiling): Likewise.
2095 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2096 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2097 Likewise.
2098
2099 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2100
2101 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2102 void.
2103
2104 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2105
2106 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2107 third argument const.
2108
2109 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2110
2111 fnmatch: work around GCC compiler warning bug with uninit var
2112 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2113 This works around a bug with x86-64 GCC 4.9.2 and earlier
2114 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2115 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2116 used uninitialized in this function [-Wmaybe-uninitialized]".
2117
2118 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2119
2120 * posix/bug-regex31.c (main): Return RES not 0.
2121
2122 2014-11-25 Anton Blanchard <anton@samba.org>
2123
2124 * sysdeps/powerpc/bits/atomic.h
2125 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2126
2127 2014-11-24 Sterling Augustine <saugustine@google.com>
2128
2129 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2130
2131 2014-11-24 Ryan Cumming <etaoins@gmail.com>
2132
2133 [BZ #17608]
2134 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2135
2136 2014-11-24 Joseph Myers <joseph@codesourcery.com>
2137
2138 [BZ #17633]
2139 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2140 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2141 variable.
2142 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2143 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2144
2145 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2146
2147 * string/strncpy.c (strncpy): Improve performance by using memset.
2148
2149 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2150
2151 * string/strcpy.c (strcpy):
2152 Improve performance by using strlen and memcpy.
2153
2154 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
2155
2156 * string/strcoll_l.c (get_next_seq): __always_inline.
2157 * string/strcoll_l.c (do_compare): __always_inline.
2158
2159 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2160
2161 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2162 defined.
2163 * include/mqueue.h: Likewise.
2164 * include/stdlib.h: Likewise.
2165
2166 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2167 (get_null_defines): Adjust.
2168 * sunrpc/Makefile: Adjust comment.
2169 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2170 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2171 (CFLAGS-interp.c): Likewise.
2172 (CFLAGS-ldconfig.c): Likewise.
2173 (CPPFLAGS-.os): Likewise.
2174 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2175 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2176 * extra-modules.mk (extra-modules.mk): Likewise.
2177 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2178 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2179 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2180 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2181 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2182 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2183 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2184 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2185 * iconvdata/Makefile (CPPFLAGS): Likewise.
2186 (cpp-srcs-left): Add libof for all iconvdata routines.
2187 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2188 * include/assert.h: Likewise.
2189 * include/ctype.h: Likewise.
2190 * include/errno.h: Likewise.
2191 * include/libc-symbols.h: Likewise.
2192 * include/math.h: Likewise.
2193 * include/netdb.h: Likewise.
2194 * include/resolv.h: Likewise.
2195 * include/stdio.h: Likewise.
2196 * include/stdlib.h: Likewise.
2197 * include/string.h: Likewise.
2198 * include/sys/stat.h: Likewise.
2199 * include/wctype.h: Likewise.
2200 * intl/l10nflist.c: Likewise.
2201 * libidn/idn-stub.c: Likewise.
2202 * libio/libioP.h: Likewise.
2203 * nptl/libc_multiple_threads.c: Likewise.
2204 * nptl/pthreadP.h: Likewise.
2205 * posix/regex_internal.h: Likewise.
2206 * resolv/res_hconf.c: Likewise.
2207 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2208 * sysdeps/arm/memmove.S: Likewise.
2209 * sysdeps/arm/sysdep.h: Likewise.
2210 * sysdeps/generic/_itoa.h: Likewise.
2211 * sysdeps/generic/symbol-hacks.h: Likewise.
2212 * sysdeps/gnu/errlist.awk: Likewise.
2213 * sysdeps/gnu/errlist.c: Likewise.
2214 * sysdeps/i386/i586/memcpy.S: Likewise.
2215 * sysdeps/i386/i586/memset.S: Likewise.
2216 * sysdeps/i386/i686/memcpy.S: Likewise.
2217 * sysdeps/i386/i686/memmove.S: Likewise.
2218 * sysdeps/i386/i686/mempcpy.S: Likewise.
2219 * sysdeps/i386/i686/memset.S: Likewise.
2220 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2221 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2222 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2223 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2224 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2225 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2226 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2227 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2228 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2229 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2230 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2231 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2232 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2233 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2234 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2235 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2236 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2237 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2238 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2239 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2240 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2241 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2242 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2243 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2244 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2245 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2246 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2247 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2248 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2249 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2250 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2251 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2252 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2253 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2254 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2255 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2256 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2257 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2258 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2259 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2260 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2261 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2262 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2263 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2264 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2265 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2266 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2267 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2268 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2269 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2270 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2271 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2272 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2273 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2274 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2275 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2276 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2277 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2278 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2279 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2280 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2281 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2282 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2283 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2284 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2285 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2286 * sysdeps/posix/closedir.c: Likewise.
2287 * sysdeps/posix/opendir.c: Likewise.
2288 * sysdeps/posix/readdir.c: Likewise.
2289 * sysdeps/posix/rewinddir.c: Likewise.
2290 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2291 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2292 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2293 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2294 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2295 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2296 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2297 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2298 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2299 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2300 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2301 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2302 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2303 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2304 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2305 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2306 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2307 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2308 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2309 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2310 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2311 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2312 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2313 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2314 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2315 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2316 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2317 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2318 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2320 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2322 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2323 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2324 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2325 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2326 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2327 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2328 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2329 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2330 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2331 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2332 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2333 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2334 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2335 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2336 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2337 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2338 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2339 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2340 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2341 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2342 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2343 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2344 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2345 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2346 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2347 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2348 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2349 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2350 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2351 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2352 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2353 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2354 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2355 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2356 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2357 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2358 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2359 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2360 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2361 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2362 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2363 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2364 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2365 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2366 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2367 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2368 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2369 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2370 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2371 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2372 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2373 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2374 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2375 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2376 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2377 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2378 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2379 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2380 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2381 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2382 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2383 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2384 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2385 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2386 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2387 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2388 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2389 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2390 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2391 * sysdeps/unix/alpha/sysdep.S: Likewise.
2392 * sysdeps/unix/alpha/sysdep.h: Likewise.
2393 * sysdeps/unix/make-syscalls.sh: Likewise.
2394 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2395 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2396 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2397 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2398 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2399 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2400 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2401 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2402 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2403 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2404 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2405 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2406 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2407 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2408 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2409 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2410 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2411 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2412 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2413 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2414 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2415 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2416 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2417 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2418 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2419 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2420 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2423 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2424 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2425 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2426 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2427 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2428 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2429 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2430 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2431 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2432 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2433 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2434 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2435 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2436 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2437 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2438 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2439 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2440 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2441 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2442 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2443 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2444 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2445 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2446 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2447 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2448 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2449 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2450 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2451 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2452 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2453 * sysdeps/x86_64/memcpy.S: Likewise.
2454 * sysdeps/x86_64/memmove.c: Likewise.
2455 * sysdeps/x86_64/memset.S: Likewise.
2456 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2457 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2458 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2459 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2460 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2461 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2462 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2463 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2464 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2465 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2466 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2467 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2468 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2469 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2470 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2471 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2472 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2473 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2474 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2475 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2476 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2477 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2478 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2479 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2480 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2481 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2482 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2483 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2484 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2485 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2486 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2487 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2488 * sysdeps/x86_64/strcmp.S: Likewise.
2489
2490 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2491
2492 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2493 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2494 * elf/rtld-Rules: Likewise.
2495 * elf/setup-vdso.h: Likewise.
2496 * include/assert.h: Likewise.
2497 * include/bits/stdlib-float.h: Likewise.
2498 * include/errno.h: Likewise.
2499 * include/sys/stat.h: Likewise.
2500 * include/unistd.h: Likewise.
2501 * sysdeps/aarch64/setjmp.S: Likewise.
2502 * sysdeps/alpha/setjmp.S: Likewise.
2503 * sysdeps/arm/__longjmp.S: Likewise.
2504 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2505 * sysdeps/arm/setjmp.S: Likewise.
2506 * sysdeps/arm/sysdep.h: Likewise.
2507 * sysdeps/generic/_itoa.h: Likewise.
2508 * sysdeps/generic/dl-sysdep.h: Likewise.
2509 * sysdeps/generic/ldsodefs.h: Likewise.
2510 * sysdeps/i386/dl-tls.h: Likewise.
2511 * sysdeps/i386/setjmp.S: Likewise.
2512 * sysdeps/m68k/setjmp.c: Likewise.
2513 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2514 * sysdeps/mach/hurd/opendir.c: Likewise.
2515 * sysdeps/posix/getcwd.c: Likewise.
2516 * sysdeps/posix/opendir.c: Likewise.
2517 * sysdeps/posix/profil.c: Likewise.
2518 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2519 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2520 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2521 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2522 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2523 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2524 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2525 * sysdeps/s390/dl-tls.h: Likewise.
2526 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2527 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2528 * sysdeps/sh/sh3/setjmp.S: Likewise.
2529 * sysdeps/sh/sh4/setjmp.S: Likewise.
2530 * sysdeps/unix/alpha/sysdep.h: Likewise.
2531 * sysdeps/unix/arm/sysdep.S: Likewise.
2532 * sysdeps/unix/i386/sysdep.S: Likewise.
2533 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2534 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2535 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2536 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2537 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2538 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2539 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2540 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2541 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2542 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2543 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2544 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2545 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2548 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2549 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2550 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2551 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2552 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2553 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2554 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2555 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2556 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2557 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2558 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2559 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2560 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2561 * sysdeps/x86_64/setjmp.S: Likewise.
2562
2563 * include/math.h: Use IS_IN instead of IS_IN_libm.
2564 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2565 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2566 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2567 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2568 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2569 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2570 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2571 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2572 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2573 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2574 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2575 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2576 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2577 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2578 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2579 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2580 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2581 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2582 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2583 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2584 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2585 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2586 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2587 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2588 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2589 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2590 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2591 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2592 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2593 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2594 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2595 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2596 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2598 Likewise.
2599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2600 Likewise.
2601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2602 Likewise.
2603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2604 Likewise.
2605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2606 Likewise.
2607 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2608 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2609 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2610 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2611 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2612 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2618 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2619 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2620 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2621 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2622 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2623 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2624 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2625 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2626 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2627 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2628 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2629 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2630 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2631 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2633 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2634
2635 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2636 * nptl/pthreadP.h: Likewise.
2637 * nptl_db/structs.def: Likewise.
2638 * sysdeps/arm/sysdep.h: Likewise.
2639 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2640 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2641 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2642 * sysdeps/unix/alpha/sysdep.h: Likewise.
2643 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2644 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2645 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2646 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2647 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2648 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2649 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2650 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2651 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2652 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2653 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2654 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2655 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2656 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2659 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2660 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2661 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2662 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2663 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2664 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2665 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2666 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2667 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2668 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2669
2670 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2671 * nptl/pthreadP.h: Likewise.
2672 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2673 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2674 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2675 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2676 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2677 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2678 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2679 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2680 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2681 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2682 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2683 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2685 Likewise.
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2687 Likewise.
2688 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2689 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2690 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2691 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2692 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2693 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2694 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2695 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2696
2697 * dlfcn/dladdr.c: Use IS_IN.
2698 * dlfcn/dladdr1.c: Likewise.
2699 * dlfcn/dlclose.c: Likewise.
2700 * dlfcn/dlerror.c: Likewise.
2701 * dlfcn/dlinfo.c: Likewise.
2702 * dlfcn/dlmopen.c: Likewise.
2703 * dlfcn/dlopen.c: Likewise.
2704 * dlfcn/dlsym.c: Likewise.
2705 * dlfcn/dlvsym.c: Likewise.
2706
2707 * include/ifaddrs.h: Use IS_IN.
2708 * inet/check_pf.c: Likewise.
2709 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2710 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2711
2712 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2713 IS_IN_ldconfig.
2714 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2715 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2716
2717 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2718 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2719 IS_IN (libc).
2720
2721 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2722
2723 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2724 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2725 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2726 * include/libc-symbols.h (IS_IN_LIB): New macro.
2727 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2728 * include/netdb.h: Likewise.
2729 * include/stap-probe.h: Remove all uses of IN_LIB.
2730
2731 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2732 instead of IN_MODULE.
2733 * include/libc-symbols.h (IN_MODULE): Define using
2734 MODULE_NAME.
2735 (PASTE_NAME, PASTE_NAME1): New macros.
2736 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2737 of IN_LIB.
2738 (STAP_PROBE_ASM): Likewise.
2739
2740 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2741
2742 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2743 __mach_init in dlopened libc.
2744
2745 2014-11-22 Mike Frysinger <vapier@gentoo.org>
2746
2747 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2748 * sysdeps/arm/preconfigure: Regenerate.
2749
2750 2014-11-21 Roland McGrath <roland@hack.frob.com>
2751
2752 * nptl/pthread_create.c (__pthread_create_2_1): Set
2753 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2754 when copying values from IATTR into PD.
2755
2756 2014-11-21 Will Newton <will.newton@linaro.org>
2757 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2758
2759 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2760 Refactor inline-asm. Also add comment.
2761
2762 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2763 ElfW macro instead of hardcoded Elf64 types.
2764 (la_aarch64_gnu_pltenter): Likewise.
2765 * sysdeps/aarch64/dl-machine.h
2766 (elf_machine_runtime_setup): Use ElfW(Addr).
2767
2768 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2769 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2770 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2771 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2772 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2773 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2774 (R_AARCH64_TLS_DTPMOD): This.
2775 (R_AARCH64_TLS_DTPREL64): Rename to ...
2776 (R_AARCH64_TLS_DTPREL): This.
2777 (R_AARCH64_TLS_TPREL64): Rename to ...
2778 (R_AARCH64_TLS_TPREL): This.
2779 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2780 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2781 R_AARCH64_TLS_TPREL64.
2782 (elf_machine_rela): Likewise.
2783
2784 2014-11-21 Torvald Riegel <triegel@redhat.com>
2785
2786 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2787 by setting it to 0. 64b atomics are not supported currently.
2788
2789 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2790
2791 [BZ #16469]
2792 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2793 search domain names.
2794
2795 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2796
2797 [BZ #16469]
2798 * NEWS: Update.
2799 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2800 trailing dot.
2801 * posix/tst-getaddrinfo5.c: New.
2802 * posix/Makefile (tests): Add it.
2803
2804 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2805
2806 [BZ #14498]
2807 * NEWS: Fixed.
2808 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2809 after parsing line but before break_if_match.
2810 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2811 if there is a protocol mismatch.
2812
2813 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2814
2815 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2816 because the potential race is on the user-supplied stream.
2817
2818 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2819
2820 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2821 string literal if not passed a buffer.
2822 * manual/job.texi (ctermid): Update reasoning, note deviation
2823 from posix, suggest mtasurace when not passed a buffer, for
2824 future non-preliminary safety notes.
2825
2826 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2827
2828 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2829 of not passing it a buffer.
2830 Reported by Peng Haitao.
2831
2832 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2833
2834 * manual/Makefile ($(objpfx)stamp-summary): Require
2835 check-safety.sh to pass.
2836 * manual/check-safety.sh: Wish for verification that every
2837 @deftypefn and @deftypefun is followed by a @safety remark.
2838
2839 2014-11-20 Roland McGrath <roland@hack.frob.com>
2840
2841 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2842
2843 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2844 PTHREAD_CANCEL_ASYNCHRONOUS.
2845 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2846 send SIGCANCEL.
2847
2848 * nptl/default-sched.h: New file.
2849 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2850 * nptl/pthread_create.c: Include it.
2851 (__pthread_create_2_1): Use collect_default_sched instead of making
2852 Linux syscalls here directly.
2853
2854 2014-11-20 Torvald Riegel <triegel@redhat.com>
2855
2856 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2857 __pthread_once): Use C11 atomics.
2858
2859 2014-11-20 Torvald Riegel <triegel@redhat.com>
2860
2861 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2862
2863 2014-11-20 Torvald Riegel <triegel@redhat.com>
2864
2865 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2866 atomic_thread_fence_acquire, atomic_thread_fence_release,
2867 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2868 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2869 atomic_compare_exchange_weak_relaxed,
2870 atomic_compare_exchange_weak_acquire,
2871 atomic_compare_exchange_weak_release,
2872 atomic_exchange_acquire, atomic_exchange_release,
2873 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2874 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2875 atomic_fetch_and_acquire,
2876 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2877
2878 2014-11-20 Torvald Riegel <triegel@redhat.com>
2879
2880 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2881 USE_ATOMIC_COMPILER_BUILTINS): Define.
2882 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2883 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2884 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2885 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2886 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2887 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2888 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2889 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2890 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2891 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2892 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2893 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2894 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2895 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2896 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2897 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2898 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2899 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2900 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2901 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2902 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2903 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2904 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2905 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2906 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2907 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2908 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2909 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2910 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2911 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2912 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2913 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2914 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2915 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2916 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2917 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2918 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2919 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2920 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2921 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2922
2923 2014-11-19 Roland McGrath <roland@hack.frob.com>
2924
2925 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2926 the sched_priority value here. It was already checked when the user
2927 called pthread_attr_setschedparam.
2928
2929 * nptl/tst-bad-schedattr.c: New file.
2930 * nptl/Makefile (tests): Add it.
2931
2932 2014-11-19 Carlos O'Donell <carlos@redhat.com>
2933 Florian Weimer <fweimer@redhat.com>
2934 Joseph Myers <joseph@codesourcery.com>
2935 Adam Conrad <adconrad@0c3.net>
2936 Andreas Schwab <schwab@suse.de>
2937 Brooks <bmoses@google.com>
2938
2939 [BZ #17625]
2940 * wordexp-test.c (__dso_handle): Add prototype.
2941 (__register_atfork): Likewise.
2942 (__app_register_atfork): New function.
2943 (registered_forks): New global.
2944 (register_fork): New function.
2945 (test_case): Add 3 new tests for WRDE_CMDSUB.
2946 (main): Call __app_register_atfork.
2947 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2948 fork count is non-zero fail the test.
2949 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2950 is set.
2951 (parse_dollars): Remove check for WRDE_NOCMD.
2952 (parse_dquote): Likewise.
2953
2954 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2955
2956 * Makeconfig (built-modules): List non-library modules to be
2957 built.
2958 (module-cppflags): Include libc-modules.h for
2959 everything except shlib-versions.v.i.
2960 (CPPFLAGS): Use it.
2961 (before-compile): Add libc-modules.h.
2962 ($(common-objpfx)libc-modules.h,
2963 $(common-objpfx)libc-modules.stmp): New targets.
2964 (common-generated): Add libc-modules.h and libc-modules.stmp.
2965 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2966 * include/libc-symbols.h: Don't include libc-modules.h.
2967 * include/libc-modules.h: Remove file.
2968 * scripts/gen-libc-modules.awk: New script to generate
2969 libc-modules.h.
2970 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2971 Depend on libc-modules.stmp.
2972
2973 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2974
2975 * Makeconfig (in-module): Get value of libof set for the
2976 translation unit.
2977 (CPPFLAGS): Use $(in-module).
2978 * Makerules: Don't suffix routine names for nonlib.
2979 * include/libc-modules.h: New file.
2980 * include/libc-symbols.h: Include libc-modules.h
2981 (IS_IN): New macro to replace IS_IN_* macros.
2982 * elf/Makefile: Set libof-* for each routine.
2983 * elf/rtld-Rules: Likewise.
2984 * extra-modules.mk: Likewise.
2985 * iconv/Makefile: Likewise.
2986 * iconvdata/Makefile: Likewise.
2987 * locale/Makefile: Likewise.
2988 * malloc/Makefile: Likewise.
2989 * nss/Makefile: Likewise.
2990 * sysdeps/gnu/Makefile: Likewise.
2991 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2992 * sysdeps/unix/sysv/linux/Makefile: Likewise.
2993 * sysdeps/s390/s390-64/Makefile: Likewise.
2994 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
2995 CPPFLAGS for nscd instead of nonlib.
2996
2997 2014-11-18 Roland McGrath <roland@hack.frob.com>
2998
2999 * nptl/createthread.c: New file.
3000
3001 * nptl/createthread.c: Moved ...
3002 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3003
3004 * nptl/createthread.c: Add proper top-line comment.
3005 (do_clone): Folded into ...
3006 (create_thread): ... here. Take new arguments STOPPED_START and
3007 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3008 increment __nptl_threads, do event-reporting logic, do
3009 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3010 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3011 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3012 just send SIGCANCEL.
3013 * nptl/pthread_create.c: Forward-declare create_thread before
3014 including createthread.c.
3015 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3016 declaration, and new macro START_THREAD_SELF to replace argument.
3017 Remove return statement.
3018 (report_thread_creation): New function.
3019 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3020 synchronization logic, and __nptl_nthreads increment here, around
3021 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3022 PD->parent_cancelhandling here, before create_thread. When
3023 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3024 __deallocate_stack, and ENOMEM translation here.
3025
3026 2014-11-18 Joseph Myers <joseph@codesourcery.com>
3027
3028 [BZ #17616]
3029 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3030 (mptwo): Rename to __mptwo.
3031 (__inv): Use __mptwo instead of mptwo.
3032 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3033 (mptwo): Rename to __mptwo.
3034 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3035 of mpone and __mptwo instead of mptwo.
3036 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3037 instead of mpone.
3038 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3039 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3040 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3041 of mpone and __mptwo instead of mptwo.
3042 (__mpranred): Use __mpone instead of mpone.
3043 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3044 variable.
3045 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3046 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3047 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3048 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3049 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3050 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3051 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3052 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3053 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3054 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3055 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3056 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3057 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3058 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3059 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3060 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3061 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3062 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3063 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3064
3065 2014-11-18 Tom de Vries <tom@codesoucery.com>
3066
3067 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3068 replace BSD Handler xref with BSD Signal Handling.
3069
3070 2014-11-17 Richard Henderson <rth@redhat.com>
3071
3072 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3073 (_FP_PACK_RAW_2): Remove.
3074 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3075 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3076 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3077 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3078 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3079 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3080 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3081 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3082 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3083 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3084 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3085 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3086 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3087 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3088 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3089 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3090
3091 2014-11-14 Roland McGrath <roland@hack.frob.com>
3092
3093 * signal/signal.h [__USE_MISC]
3094 (struct sigvec): Remove type.
3095 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3096 (sigvec): Remove declaration.
3097 * sysdeps/posix/sigvec.c: Moved ...
3098 * signal/sigvec.c: ... here, replacing old file.
3099 (struct sigvec): New type, copied from old signal.h definition.
3100 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3101 (__sigvec): Convert definition to prototype.
3102 (sigvec): Replace weak_alias with compat_symbol.
3103 * signal/Versions (libc: GLIBC_2.21): New version set.
3104 * include/signal.h: Remove __sigvec declaration.
3105 * sysdeps/unix/bsd/sigvec.c: Remove file.
3106 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3107 * manual/signal.texi (BSD Handler): Remove subsection.
3108 Move siginterrupt up to ...
3109 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3110 (Blocking in BSD): Fold subsection into its parent.
3111 * NEWS: Mention sigvec removal.
3112
3113 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3114
3115 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3116 (DLA_FMS): Make definition conditional only on [__FMA4__].
3117 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3118 definition.
3119
3120 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3121 Make definition conditional only on [PROF].
3122 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3123 definition.
3124 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3125 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3126
3127 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3128 !__GNUC__].
3129 * include/signal.h (__sigpause): Move declaration above call to
3130 libc_hidden_proto.
3131 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3132 variable.
3133 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3134 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3135
3136 2014-11-14 David S. Miller <davem@davemloft.net>
3137
3138 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3139 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3140
3141 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3142
3143 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3144 * configure: Regenerated.
3145 * manual/install.texi (Tools for Compilation): Document a
3146 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3147 compiler verified to work.
3148 * INSTALL: Regenerated.
3149
3150 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3151 redeclare with asm name.
3152 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3153 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3154 including <string.h>.
3155 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3156 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3157 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3158 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3159 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3160 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3161 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3162
3163 2014-11-13 Joseph Myers <joseph@codesourcery.com>
3164
3165 * stdlib/strtol.c (__strtol): Use prototype definition.
3166
3167 [BZ #17594]
3168 * stdlib/strtol.c (SYM__): New macro.
3169 (SYM__1): Likewise.
3170 (__strtol): Likewise.
3171 (strtol): Rename to __strtol and define as weak alias of
3172 __strtol. Use libc_hidden_weak.
3173
3174 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3175
3176 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3177 Use numbered labels in inline assembly.
3178
3179 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3180
3181 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3182 Add setjmp LIBC_PROBE.
3183 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3184 Likewise.
3185 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3186 Add longjmp, longjmp_target LIBC_PROBE.
3187 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3188 Likewise.
3189
3190 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3191
3192 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3193 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3194 to get rid of unused variable warning.
3195
3196 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3197
3198 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3199 Check for unwind_backtrace == NULL only in SHARED case.
3200 (__backchain_backtrace): Compile only in SHARED case.
3201 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3202 Likewise.
3203 (__backchain_backtrace): Declare as static.
3204
3205 2014-11-12 Roland McGrath <roland@hack.frob.com>
3206
3207 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3208 (__libc_multiple_threads_ptr): Variable moved ...
3209 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3210
3211 2014-11-12 Joseph Myers <joseph@codesourcery.com>
3212
3213 * conform/GlibcConform.pm: New file.
3214 * conform/conformtest.pl: Use GlibcConform module.
3215 * conform/linknamespace.pl: New file.
3216 * conform/list-header-symbols.pl: Likewise.
3217 * conform/Makefile (linknamespace-symlists-base): New variable.
3218 (linknamespace-symlists-tests): Likewise.
3219 (linknamespace-header-base): Likewise.
3220 (linknamespace-header-tests): Likewise.
3221 (tests-special): Add new tests.
3222 ($(linknamespace-symlists-tests)): New rule.
3223 (linknamespace-libs): New variable.
3224 ($(objpfx)symlist-stdlibs): New rule.
3225 ($(linknamespace-header-tests)): Likewise.
3226 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3227 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3228 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3229 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3230 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3231 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3232 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3233 (test-xfail-ISO/math.h/linknamespace): Likewise.
3234 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3235 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3236 (test-xfail-ISO/time.h/linknamespace): Likewise.
3237 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3238 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3239 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3240 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3241 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3242 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3243 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3244 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3245 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3246 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3247 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3248 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3249 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3250 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3251 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3252 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3253 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3254 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3255 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3256 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3257 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3258 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3259 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3260 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3261 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3262 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3263 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3264 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3265 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3266 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3267 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3268 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3269 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3270 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3271 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3272 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3273 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3274 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3275 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3276 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3277 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3278 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3279 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3280 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3281 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3282 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3283 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3284 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3285 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3286 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3287 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3288 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3289 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3290 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3291 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3292 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3293 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3294 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3295 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3296 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3297 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3298 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3299 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3300 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3301 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3302 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3303 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3304 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3305 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3306 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3307 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3308 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3309 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3310 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3311 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3312 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3313 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3314 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3315 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3316 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3317 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3318 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3319 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3320 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3321 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3322 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3323 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3324 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3325 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3326 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3327 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3328 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3329 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3330 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3331 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3332 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3333 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3334 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3335 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3336 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3337 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3338 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3339 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3340 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3341 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3342 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3343 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3344 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3345 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3346 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3347 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3348 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3349 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3350 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3351 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3352 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3353 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3354 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3355 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3356 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3357 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3358 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3359 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3360 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3361 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3362 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3363 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3364 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3365 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3366 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3367 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3368 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3369 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3370 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3371 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3372 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3373 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3374 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3375 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3376 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3377 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3378 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3379 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3380 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3381 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3382 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3383 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3384 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3385 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3386 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3387
3388 [BZ #17589]
3389 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3390 of fgets_unlocked.
3391
3392 [BZ #17585]
3393 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3394 (memmem): Rename to __memmem and define as weak alias of
3395 __memmem. Use libc_hidden_weak.
3396 (__memmem): Use libc_hidden_def.
3397 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3398 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3399 memmem.
3400
3401 [BZ #17582]
3402 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3403 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3404 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3405 and define as weak alias of __fgets_unlocked. Use
3406 libc_hidden_weak.
3407 (__fgets_unlocked): Use libc_hidden_def.
3408 * include/stdio.h (__fgets_unlocked): Declare. Use
3409 libc_hidden_proto.
3410 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3411 __fgets_unlocked instead of fgets_unlocked.
3412 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3413 (GET_NPROCS_CONF_PARSER): Likewise.
3414 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3415 (GET_NPROCS_CONF_PARSER): Likewise.
3416
3417 [BZ #17574]
3418 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3419 weak alias of __wmemset. Use libc_hidden_weak.
3420 (__wmemset): Use libc_hidden_def.
3421 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3422 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3423 of wmemset.
3424
3425 [BZ #17573]
3426 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3427 with asm name __mempcpy.
3428 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3429
3430 [BZ #17572]
3431 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3432 and define as weak alias of __rawmemchr.
3433 (__rawmemchr): Do not define as strong alias of rawmemchr.
3434
3435 [BZ #17571]
3436 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3437 alias of __qsort_r.
3438 (qsort): Call __qsort_r instead of qsort_r.
3439 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3440 (__qsort_r): Declare. Call libc_hidden_proto.
3441 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3442 instead of qsort_r.
3443 * nscd/gai.c (__qsort_r): Define to qsort_r.
3444 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3445 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3446 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3447
3448 [BZ #17570]
3449 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3450 define as weak alias of __malloc_info.
3451
3452 [BZ #17584]
3453 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3454 as weak alias of __rewinddir. Don't use libc_hidden_def.
3455 (__rewinddir): Use libc_hidden_def.
3456 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3457 as weak alias of __rewinddir. Don't use libc_hidden_def.
3458 (__rewinddir): Use libc_hidden_def.
3459 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3460 weak alias of __rewinddir. Don't use libc_hidden_def.
3461 (__rewinddir): Use libc_hidden_def.
3462 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3463 (__rewinddir): Use libc_hidden_proto.
3464 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3465 rewinddir.
3466 (__getcwd): Use __rewinddir instead of rewinddir.
3467
3468 [BZ #17583]
3469 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3470 alias of __fileno. Use libc_hidden_weak.
3471 (__fileno): Use libc_hidden_def.
3472 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3473 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3474 alias of __ftello.
3475 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3476 __ftello.
3477 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3478 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3479 libc_hidden_def.
3480 (fread_unlocked): Don't use libc_hidden_ver.
3481 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3482 and define as weak alias of __fread_unlocked. Don't use
3483 libc_hidden_def.
3484 (__fread_unlocked): Use libc_hidden_def.
3485 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3486 (ftello): Don't use libc_hidden_proto.
3487 (__ftello): Declare. Use libc_hidden_proto.
3488 (fread_unlocked): Don't use libc_hidden_proto.
3489 (__fread_unlocked): Declare. Use libc_hidden_proto.
3490 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3491 and __ftello instead of fileno, fread_unlocked and ftello.
3492
3493 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3494
3495 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3496 GOT12.
3497 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3498 Likewise.
3499 (_dl_start_user): Likewise.
3500 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3501
3502 2014-11-12 Carlos O'Donell <carlos@redhat.com>
3503 Siddhesh Poyarekar <siddhesh@redhat.com>
3504
3505 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3506 Move argv and envp down instead of moving argc up.
3507 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3508
3509 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
3510
3511 [BZ #17506]
3512 * test-skeleton.c (main): Return successful if one of
3513 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3514 * string/tst-strcoll-overflow.c: Define expected status.
3515
3516 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3517
3518 [BZ #17475]
3519 * locale/iso-639.def: Define Bhili and Tulu language codes.
3520
3521 2014-11-11 Alan Hayward <alan.hayward@arm.com>
3522
3523 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3524
3525 2014-11-10 Renlin Li <Renlin.Li@arm.com>
3526
3527 [BZ #17555]
3528 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3529
3530 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3531
3532 * configure.ac: Updated check of minimal required version to
3533 2.22.
3534 * manual/install.texi (Tools for Compilation): Updated version
3535 number.
3536 * configure: Regenerated.
3537 * INSTALL: Likewise.
3538
3539 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3540
3541 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3542 __tls_get_addr.
3543
3544 2014-11-07 Joseph Myers <joseph@codesourcery.com>
3545
3546 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3547 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3548 (__waitpid): Don't define as alias. Use libc_hidden_def not
3549 libc_hidden_weak.
3550 (waitpid): Define as alias of __waitpid.
3551 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3552 __waitpid.
3553 (__waitpid): Don't define as alias. Use libc_hidden_def not
3554 libc_hidden_weak.
3555 (waitpid): Define as alias of __waitpid.
3556 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3557 __libc_waitpid alias.
3558 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3559 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3560 Likewise.
3561 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3562 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3563 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3564 alias.
3565 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3566 __waitpid.
3567 (__waitpid): Don't define as alias. Use libc_hidden_def not
3568 libc_hidden_weak.
3569 (waitpid): Define as alias of __waitpid.
3570
3571 2014-11-06 Carlos O'Donell <carlos@redhat.com>
3572
3573 * manual/llio.texi: Add comment that write safety has been
3574 fixed in Linux.
3575
3576 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3577 (localplt-build-dso): Add elf/ld.so.
3578 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3579 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3580 and free for ld.so.
3581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3582 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3584 Likewise.
3585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3586 Likewise.
3587 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3588 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3589 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3590 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3591 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3592 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3593 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3594 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3595 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3596 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3597 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3598
3599 2014-11-05 Joseph Myers <joseph@codesourcery.com>
3600
3601 [BZ #14132]
3602 * include/libc-symbols.h (INTUSE): Remove macro.
3603 (INTDEF): Likewise.
3604 (INTVARDEF): Likewise.
3605 (_INTVARDEF): Likewise.
3606 (INTDEF2): Likewise.
3607 (INTVARDEF2): Likewise.
3608 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3609 rtld_hidden_def instead of INTVARDEF.
3610 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3611 (_dl_starting_up_internal): Remove declaration.
3612 (_dl_starting_up): Use rtld_hidden_proto.
3613 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3614 declaration.
3615 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3616 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3617 _dl_starting_up.
3618 * elf/dl-writev.h (_dl_writev): Likewise.
3619 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3620 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3621 _dl_starting_up_internal.
3622
3623 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3624
3625 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3626 test-skeleton.c.
3627
3628 2014-11-05 Will Newton <will.newton@linaro.org>
3629
3630 * benchtests/Makefile: (bench-malloc): Add malloc thread
3631 scalability benchmark.
3632 * benchtests/bench-malloc-threads.c: New file.
3633
3634 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
3635
3636 * sysdeps/aarch64/strchrnul.S: New file.
3637
3638 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3639
3640 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3641 definition.
3642 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3643 Likwise.
3644 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3645 Likewise.
3646 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3647 Likewise.
3648 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3649 Likewise.
3650 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3651 Likewise.
3652
3653 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
3654
3655 * catgets/test-gencat.c: Use test-skeleton.c.
3656 * catgets/tst-catgets.c: Likewise.
3657 * csu/tst-empty.c: Likewise.
3658 * elf/tst-audit2.c: Likewise.
3659 * elf/tst-global1.c: Likewise.
3660 * elf/tst-pathopt.c: Likewise.
3661 * elf/tst-piemod1.c: Likewise.
3662 * elf/tst-tls10.c: Likewise.
3663 * elf/tst-tls11.c: Likewise.
3664 * elf/tst-tls12.c: Likewise.
3665 * gnulib/tst-gcc.c: Likewise.
3666 * iconvdata/tst-e2big.c: Likewise.
3667 * iconvdata/tst-loading.c: Likewise.
3668 * iconv/tst-iconv1.c: Likewise.
3669 * iconv/tst-iconv2.c: Likewise.
3670 * inet/test-inet6_opt.c: Likewise.
3671 * inet/tst-gethnm.c: Likewise.
3672 * inet/tst-network.c: Likewise.
3673 * inet/tst-ntoa.c: Likewise.
3674 * intl/tst-codeset.c: Likewise.
3675 * intl/tst-gettext2.c: Likewise.
3676 * intl/tst-gettext3.c: Likewise.
3677 * intl/tst-ngettext.c: Likewise.
3678 * intl/tst-translit.c: Likewise.
3679 * io/test-stat.c: Likewise.
3680 * libio/test-fmemopen.c: Likewise.
3681 * libio/tst-freopen.c: Likewise.
3682 * libio/tst-sscanf.c: Likewise.
3683 * libio/tst-ungetwc1.c: Likewise.
3684 * libio/tst-ungetwc2.c: Likewise.
3685 * libio/tst-widetext.c: Likewise.
3686 * localedata/tst-ctype.c: Likewise.
3687 * localedata/tst-digits.c: Likewise.
3688 * localedata/tst-leaks.c: Likewise.
3689 * localedata/tst-mbswcs1.c: Likewise.
3690 * localedata/tst-mbswcs2.c: Likewise.
3691 * localedata/tst-mbswcs3.c: Likewise.
3692 * localedata/tst-mbswcs4.c: Likewise.
3693 * localedata/tst-mbswcs5.c: Likewise.
3694 * localedata/tst-setlocale.c: Likewise.
3695 * localedata/tst-trans.c: Likewise.
3696 * localedata/tst-wctype.c: Likewise.
3697 * localedata/tst-xlocale1.c: Likewise.
3698 * login/tst-grantpt.c: Likewise.
3699 * malloc/tst-calloc.c: Likewise.
3700 * malloc/tst-malloc.c: Likewise.
3701 * malloc/tst-mallocstate.c: Likewise.
3702 * malloc/tst-mcheck.c: Likewise.
3703 * malloc/tst-mtrace.c: Likewise.
3704 * malloc/tst-obstack.c: Likewise.
3705 * math/atest-exp2.c: Likewise.
3706 * math/atest-exp.c: Likewise.
3707 * math/atest-sincos.c: Likewise.
3708 * math/test-matherr.c: Likewise.
3709 * math/test-misc.c: Likewise.
3710 * math/test-powl.c: Likewise.
3711 * math/tst-definitions.c: Likewise.
3712 * misc/tst-dirname.c: Likewise.
3713 * misc/tst-efgcvt.c: Likewise.
3714 * misc/tst-fdset.c: Likewise.
3715 * misc/tst-hsearch.c: Likewise.
3716 * misc/tst-mntent2.c: Likewise.
3717 * nptl/tst-sem7.c: Likewise.
3718 * nptl/tst-sem8.c: Likewise.
3719 * nptl/tst-sem9.c: Likewise.
3720 * nss/test-netdb.c: Likewise.
3721 * posix/tst-fnmatch.c: Likewise.
3722 * posix/tst-getlogin.c: Likewise.
3723 * posix/tst-gnuglob.c: Likewise.
3724 * posix/tst-mmap.c: Likewise.
3725 * pwd/tst-getpw.c: Likewise.
3726 * resolv/tst-inet_ntop.c: Likewise.
3727 * rt/tst-timer.c: Likewise.
3728 * stdio-common/test-fseek.c: Likewise.
3729 * stdio-common/test-popen.c: Likewise.
3730 * stdio-common/test-vfprintf.c: Likewise.
3731 * stdio-common/tst-cookie.c: Likewise.
3732 * stdio-common/tst-fileno.c: Likewise.
3733 * stdio-common/tst-gets.c: Likewise.
3734 * stdio-common/tst-obprintf.c: Likewise.
3735 * stdio-common/tst-perror.c: Likewise.
3736 * stdio-common/tst-sprintf2.c: Likewise.
3737 * stdio-common/tst-sprintf3.c: Likewise.
3738 * stdio-common/tst-sprintf.c: Likewise.
3739 * stdio-common/tst-swprintf.c: Likewise.
3740 * stdio-common/tst-tmpnam.c: Likewise.
3741 * stdio-common/tst-unbputc.c: Likewise.
3742 * stdio-common/tst-wc-printf.c: Likewise.
3743 * stdlib/tst-environ.c: Likewise.
3744 * stdlib/tst-fmtmsg.c: Likewise.
3745 * stdlib/tst-limits.c: Likewise.
3746 * stdlib/tst-rand48-2.c: Likewise.
3747 * stdlib/tst-rand48.c: Likewise.
3748 * stdlib/tst-random2.c: Likewise.
3749 * stdlib/tst-random.c: Likewise.
3750 * stdlib/tst-strtol.c: Likewise.
3751 * stdlib/tst-strtoll.c: Likewise.
3752 * stdlib/tst-tls-atexit.c: Likewise.
3753 * stdlib/tst-xpg-basename.c: Likewise.
3754 * string/test-ffs.c: Likewise.
3755 * string/tst-bswap.c: Likewise.
3756 * string/tst-inlcall.c: Likewise.
3757 * string/tst-strtok.c: Likewise.
3758 * string/tst-strxfrm.c: Likewise.
3759 * sysdeps/x86_64/tst-audit10.c: Likewise.
3760 * sysdeps/x86_64/tst-audit3.c: Likewise.
3761 * sysdeps/x86_64/tst-audit4.c: Likewise.
3762 * sysdeps/x86_64/tst-audit5.c: Likewise.
3763 * time/tst-ftime_l.c: Likewise.
3764 * time/tst-getdate.c: Likewise.
3765 * time/tst-mktime3.c: Likewise.
3766 * time/tst-mktime.c: Likewise.
3767 * time/tst-posixtz.c: Likewise.
3768 * time/tst-strptime2.c: Likewise.
3769 * time/tst-strptime3.c: Likewise.
3770 * wcsmbs/tst-btowc.c: Likewise.
3771 * wcsmbs/tst-mbrtowc.c: Likewise.
3772 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3773 * wcsmbs/tst-wchar-h.c: Likewise.
3774 * wcsmbs/tst-wcpncpy.c: Likewise.
3775 * wcsmbs/tst-wcrtomb.c: Likewise.
3776 * wcsmbs/tst-wcsnlen.c: Likewise.
3777 * wcsmbs/tst-wcstof.c: Likewise.
3778
3779 2014-11-04 Joseph Myers <joseph@codesourcery.com>
3780
3781 [BZ #14132]
3782 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3783 INTDEF.
3784 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3785 declaration.
3786 (_dl_mcount): Use rtld_hidden_proto.
3787 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3788 _dl_mcount.
3789 * elf/rtld.c (_rtld_global_ro): Likewise.
3790
3791 [BZ #14132]
3792 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3793 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3794 of _dl_init_internal.
3795 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3796 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3797 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3798 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3799 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3800 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3801 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3802 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3803 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3804 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3805 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3806 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3807 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3808 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3809 * sysdeps/tile/dl-start.S (_start): Likewise.
3810 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3811 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3812
3813 [BZ #14132]
3814 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3815 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3816 (rtld_progname): Make macro definition unconditional.
3817 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3818 INTDEF.
3819 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3820 (dl_main): Likewise.
3821 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3822 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3823 instead of _dl_argv_internal.
3824 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3825 __GI__dl_argv instead of INTUSE(_dl_argv).
3826 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3827 __GI__dl_argv instead of _dl_argv_internal.
3828
3829 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3830 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3831 macro.
3832 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3833 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3834 New macro.
3835 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3836 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3837 macro.
3838 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3839 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3840
3841 2014-11-04 Andreas Schwab <schwab@suse.de>
3842
3843 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3844
3845 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3846
3847 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3848 mtvsrd instruction in binary form.
3849
3850 2014-11-03 Andreas Schwab <schwab@suse.de>
3851
3852 [BZ #17522]
3853 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3854 for less than MB_LEN_MAX use a local buffer of that size.
3855 * libio/tst-fputws.c: New file.
3856 * libio/Makefile (tests): Add tst-fputws.
3857
3858 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3859
3860 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3861 the size of the fpu_fr.fpu_dregs[] array.
3862
3863 2014-11-01 Joseph Myers <joseph@codesourcery.com>
3864
3865 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3866 (__nanosleep): Do not define as alias.
3867 (nanosleep): Define as alias of __nanosleep.
3868 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3869 __libc_nanosleep name.
3870
3871 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3872
3873 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3874 install.texi in comment.
3875
3876 2014-10-31 Torvald Riegel <triegel@redhat.com>
3877
3878 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3879 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3880 ... add here and use lwsync or sync ...
3881 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3882 ... and add here using lwsync.
3883
3884 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
3885
3886 * elf/dl-machine-reject-phdr.h: New file.
3887 * elf/dl-load.c: #include that.
3888 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3889 if that returned true.
3890
3891 2014-10-31 Roland McGrath <roland@hack.frob.com>
3892
3893 [BZ #17496]
3894 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3895 gen-as-const-headers chunk. Add a big scare comment after the last
3896 safe place to touch before-compile.
3897
3898 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3899
3900 * manual/install.texi (Tools for Compilation): Update autoconf
3901 version requirements.
3902 * INSTALL: Regenerated.
3903
3904 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3905 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3906 (__libc_pselect): Likewise.
3907
3908 [BZ #14138]
3909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3913
3914 2014-10-31 Torvald Riegel <triegel@redhat.com>
3915
3916 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3917 correct barrier instruction.
3918 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3919 Likewise.
3920 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3921 Likewise.
3922
3923 2014-10-30 Roland McGrath <roland@hack.frob.com>
3924
3925 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3926 after defining inlines. Instead, just use parens to defeat macro
3927 expansion of __isctype in its declaration.
3928
3929 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3930
3931 * include/sys/uio.h (__libc_readv): Remove declaration.
3932 (__libc_writev): Likewise.
3933 * misc/readv.c (__libc_readv): Rename to __readv.
3934 (__readv): Do not define as alias.
3935 (readv): Define as alias of __readv.
3936 * misc/writev.c (__libc_writev): Rename to __writev.
3937 (__writev): Do not define as alias.
3938 (writev): Define as alias of __writev.
3939 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3940 (__readv): Do not define as alias.
3941 (readv): Define unconditionally as alias of __readv.
3942 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3943 (__writev): Do not define as alias.
3944 (writev): Define unconditionally as alias of __writev.
3945 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3946 name.
3947 (writev): Do not define __libc_writev name.
3948
3949 2014-10-30 Roland McGrath <roland@hack.frob.com>
3950
3951 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3952 (convert_charseq): New function, broken out of ...
3953 (use_from_charmap): ... here. Call it.
3954 (use_to_charmap): Use convert_charseq and free instead of duplicating
3955 its code with a variable-length stack struct.
3956
3957 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3958
3959 * include/fcntl.h (__libc_creat): Remove declaration.
3960 * io/creat.c (__libc_creat): Rename to creat.
3961 (creat): Do not define as alias.
3962 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3963 of creat instead of __libc_creat.
3964 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3965 to creat.
3966 (creat): Do not define as alias.
3967 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3968 __libc_creat.
3969 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3970 __libc_creat name.
3971 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3972 Likewise.
3973
3974 2014-10-29 Carlos O'Donell <carlos@redhat.com>
3975
3976 * manual/llio.texi: Add comments discussing why write() may be
3977 considered MT-unsafe on Linux.
3978
3979 2014-10-28 Carlos O'Donell <carlos@redhat.com>
3980
3981 * dl-load.c (local_strdup): Remove.
3982 (expand_dynamic_string_token): Use __strdup.
3983 (decompose_rpath): Likewise.
3984 (_dl_map_object): Likewise.
3985
3986 2014-10-28 Joseph Myers <joseph@codesourcery.com>
3987
3988 [BZ #14132]
3989 * sysdeps/generic/unwind-dw2-fde.c
3990 (__register_frame_info_bases_internal): Do not declare.
3991 (__register_frame_info_table_bases_internal): Likewise.
3992 (__deregister_frame_info_bases_internal): Likewise.
3993 (__register_frame_info_bases): Declare and use hidden_proto before
3994 definition. Use hidden_def instead of INTDEF.
3995 (__register_frame_info_table_bases): Likewise.
3996 (__deregister_frame_info_bases): Likewise.
3997 (__register_frame_info): Do not use INTUSE.
3998 (__register_frame): Likewise.
3999 (__register_frame_info_table): Likewise.
4000 (__register_frame_table): Likewise.
4001 (__deregister_frame_info): Likewise.
4002 (__deregister_frame): Likewise.
4003
4004 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4005
4006 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4007 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4008 not undefine.
4009 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4010 Likewise.
4011 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4012 Likewise.
4013
4014 2014-10-27 Joseph Myers <joseph@codesourcery.com>
4015
4016 [BZ #14138]
4017 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4018 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4019 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4020 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4021 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4022 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4023 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4024 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4025 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4026 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4027 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4028 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4029 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4030 syscall.
4031 (setfsuid): Likewise.
4032 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4033 (setfsuid): Likewise.
4034 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4035 (setfsuid): Likewise.
4036 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4037 Likewise.
4038 (setfsuid): Likewise.
4039 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4040 (setfsuid): Likewise.
4041 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4042 Likewise.
4043 (setfsuid): Likewise.
4044
4045 2014-10-27 Andreas Schwab <schwab@suse.de>
4046
4047 [BZ #17501]
4048 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4049 check for Slow_SSE4_2 feature bit.
4050 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4051 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4052 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4053 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4054
4055 2014-10-24 Roland McGrath <roland@hack.frob.com>
4056
4057 * configure.ac: Validate compiler version with a empirical test of
4058 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4059 $CC -v output.
4060 * configure: Regenerated.
4061
4062 * inet/htons.c (htons): Prototypify.
4063 * inet/htonl.c (htonl): Likewise.
4064
4065 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4066
4067 * string/strncat.c (strncat): Improve performance by using strlen.
4068
4069 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4070
4071 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4072
4073 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4074
4075 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4076 Call libc_fetestexcept_aarch64.
4077
4078 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4079
4080 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4081 Call libc_feholdexcept_aarch64.
4082
4083 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4084
4085 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4086 Call get_rounding_mode.
4087
4088 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4089
4090 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4091 Simplify logic.
4092
4093 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4094
4095 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4096 Simplify logic.
4097
4098 2014-10-24 Joseph Myers <joseph@codesourcery.com>
4099
4100 [BZ #14138]
4101 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4102 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4103 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4104 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4105 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4106 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4107 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4108 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4109 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4110 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4111 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4112 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4113 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4114 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4115 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4116 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4117 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4118 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4119 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4120 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4121 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4122 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4123 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4124 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4125 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4126 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4127 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4128 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4129 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4130 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4131 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4132 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4133 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4134 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4135 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4136 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4137 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4138 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4139 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4140 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4141 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4142 syscall.
4143 (geteuid): Likewise.
4144 (getgid): Likewise.
4145 (getuid): Likewise.
4146 (getresgid): Likewise.
4147 (getresuid): Likewise.
4148 (getgroups): Likewise.
4149 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4150 (geteuid): Likewise.
4151 (getgid): Likewise.
4152 (getuid): Likewise.
4153 (getresgid): Likewise.
4154 (getresuid): Likewise.
4155 (getgroups): Likewise.
4156 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4157 (geteuid): Likewise.
4158 (getgid): Likewise.
4159 (getuid): Likewise.
4160 (getresgid): Likewise.
4161 (getresuid): Likewise.
4162 (getgroups): Likewise.
4163 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4164 Likewise.
4165 (geteuid): Likewise.
4166 (getgid): Likewise.
4167 (getuid): Likewise.
4168 (getresgid): Likewise.
4169 (getresuid): Likewise.
4170 (getgroups): Likewise.
4171 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4172 (geteuid): Likewise.
4173 (getgid): Likewise.
4174 (getuid): Likewise.
4175 (getresgid): Likewise.
4176 (getresuid): Likewise.
4177 (getgroups): Likewise.
4178 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4179 Likewise.
4180 (geteuid): Likewise.
4181 (getgid): Likewise.
4182 (getuid): Likewise.
4183 (getgroups): Likewise.
4184
4185 [BZ #14138]
4186 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4187 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4188 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4189 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4190 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4191 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4192 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4193 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4194 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4195 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4196 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4197 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4198 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4199 __chown.
4200 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4201 (lchown): Likewise.
4202 (fchown): Likewise.
4203 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4204 Likewise.
4205 (lchown): Likewise.
4206 (fchown): Likewise.
4207 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4208 (lchown): Likewise.
4209 (fchown): Likewise.
4210 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4211 Likewise.
4212 (lchown): Likewise.
4213 (fchown): Likewise.
4214
4215 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4216
4217 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4218 Simplify logic.
4219
4220 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4221
4222 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4223 Cleanup logic.
4224
4225 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4226
4227 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4228 Remove unused include.
4229
4230 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4231
4232 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4233 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4234 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4235 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4236
4237 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4238 Helge Deller <deller@gmx.de>
4239
4240 [BZ #17508]
4241 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4242 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4243 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4244
4245 2014-10-23 Joseph Myers <joseph@codesourcery.com>
4246
4247 [BZ #14132]
4248 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4249 Remove macro definition.
4250 (__ashrdi3_v_glibc20): Likewise.
4251 (__lshrdi3_v_glibc20): Likewise.
4252 (__cmpdi2_v_glibc20): Likewise.
4253 (__ucmpdi2_v_glibc20): Likewise.
4254 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4255 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4256 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4257 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4258 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4259 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4260
4261 2014-10-22 Roland McGrath <roland@hack.frob.com>
4262
4263 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4264 old GNU extension [0] syntax.
4265 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4266 alloca rather than an array member with variable length.
4267 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4268 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4269 (parse_opt): ... here. Likewise use alloca there.
4270 Validate the -i argument before checking for rootness.
4271 (send_shutdown): New function, broken out of ...
4272 (parse_opt): ... here.
4273
4274 2014-10-22 Roland McGrath <roland@hack.frob.com>
4275
4276 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4277 macro to get at the _rt_local_ro field.
4278 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4279 ([PIC] case) or _dl_hwcap ([!PIC] case).
4280 * sysdeps/arm/setjmp.S: Likewise.
4281
4282 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4283 * sysdeps/arm/configure.ac: New check to define it.
4284 * sysdeps/arm/configure: Regenerated.
4285 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4286 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4287 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4288 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4289 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4290 Use move/movt pair instead of a load.
4291 (LDST_GLOBAL): Macro removed.
4292 (LDR_GLOBAL): New macro replaces it.
4293 (LDR_HIDDEN): New macro.
4294 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4295 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4296
4297 * setjmp/tst-setjmp-static.c: New file.
4298 * setjmp/Makefile (tests): Add it.
4299 (tests-static): New variable.
4300
4301 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4302
4303 [BZ #17485]
4304 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4305
4306 2014-10-21 Joseph Myers <joseph@codesourcery.com>
4307
4308 [BZ #14132]
4309 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4310
4311 2014-10-21 Roland McGrath <roland@hack.frob.com>
4312
4313 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4314
4315 2014-10-20 Roland McGrath <roland@hack.frob.com>
4316
4317 * io/fts.c (dirent_not_directory): New function.
4318 (fts_build): Call it.
4319
4320 2014-10-20 Roland McGrath <roland@hack.frob.com>
4321
4322 * nptl/version.c (__nptl_main): Use normal __write rather than
4323 INTERNAL_SYSCALL.
4324 (banner): Update copyright years.
4325
4326 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4327 gettimeofday.
4328 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4329 * nptl/pthread_cond_timedwait.c: Likewise.
4330 * nptl/pthread_mutex_timedlock.c: Likewise.
4331 * nptl/sem_timedwait.c: Likewise.
4332
4333 * sysdeps/nptl/bits/libc-lock.h
4334 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4335 (__libc_lock_init_recursive): Return void, not 0.
4336 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4337 (__libc_rwlock_init): Likewise.
4338 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4339
4340 2014-10-20 Torvald Riegel <triegel@redhat.com>
4341
4342 [BZ #15215]
4343 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4344 (__pthread_once_slow): ... here.
4345 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4346 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4347
4348 2014-10-20 Torvald Riegel <triegel@redhat.com>
4349
4350 [BZ #15215]
4351 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4352 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4353 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4354 * nptl/pthread_once.c (__pthread_once): Likewise.
4355 Update comments.
4356
4357 2014-10-20 Joseph Myers <joseph@codesourcery.com>
4358
4359 [BZ #14138]
4360 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4361 name.
4362 (writev): Use __libc_writev as strong name.
4363 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4364 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4365
4366 2014-10-17 Roland McGrath <roland@hack.frob.com>
4367
4368 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4369
4370 * sysdeps/i386/nptl/tls.h
4371 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4372 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4373 New macros.
4374 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4375 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4376 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4377 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4378 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4379 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4380
4381 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4382 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4383 on [__NR_futex].
4384 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4385 broken out of ...
4386 (__pthread_mutex_init): ... here. Call it.
4387 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4388 Conditionalize PI cases on [__NR_futex].
4389 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4390 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4391 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4392
4393 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4394 conditional on [SIGSETXID].
4395 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4396 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4397 is defined. Likewise for SIGSETXID.
4398 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4399 Conditionalize definitions on [SIGSETXID].
4400 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4401 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4402 unblocking on [SIGCANCEL].
4403
4404 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4405 [__NR_set_robust_list].
4406
4407 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4408
4409 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4410 (do_compare): Likewise.
4411
4412 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
4413
4414 [BZ #15884]
4415 * string/strcoll_l.c: Don't include stdio.h.
4416 (coll_seq): Remove members idxarr and rulearr.
4417 (get_next_seq_cached): Remove function.
4418 (get_next_seq): Likewise.
4419 (get_next_seq_nocache): Rename to get_next_seq.
4420 (do_compare): Remove function.
4421 (do_compare_nocache): Rename to do_compare.
4422 (STRCOLL): Remove weight and rules cache.
4423
4424 2014-10-16 Roland McGrath <roland@hack.frob.com>
4425
4426 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4427 * sysdeps/arm/sfp-machine.h: ... to here.
4428 * sysdeps/arm/Implies: Remove arm/soft-fp.
4429
4430 2014-10-14 Joseph Myers <joseph@codesourcery.com>
4431
4432 * conform/data/sys/utsname.h-data (*_t): Allow.
4433 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4434 [POSIX] (WEXITED): Do not expect constant.
4435 [POSIX] (WSTOPPED): Likewise.
4436 [POSIX] (WNOHANG): Likewise.
4437 [POSIX] (WNOWAIT): Likewise.
4438 [POSIX] (siginfo_t): Do not expect type or elements.
4439 [POSIX] (pid_t): Do not expect type.
4440 [POSIX] (signal.h): Do not allow header.
4441 [POSIX] (sys/resource.h): Likewise.
4442 [POSIX] (si_*): Do not allow pattern.
4443 [POSIX] (W*): Likewise.
4444 [POSIX] (P_*): Likewise.
4445 [POSIX] (BUS_*): Likewise.
4446 [POSIX] (CLD_*): Likewise.
4447 [POSIX] (FPE_*): Likewise.
4448 [POSIX] (ILL_*): Likewise.
4449 [POSIX] (POLL_*): Likewise.
4450 [POSIX] (SEGV_*): Likewise.
4451 [POSIX] (SI_*): Likewise.
4452 [POSIX] (TRAP_*): Likewise.
4453 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4454 variable.
4455
4456 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4457
4458 [BZ #12926]
4459 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4460 infinite loop when __recvmsg returns 0.
4461
4462 2014-10-10 Joseph Myers <joseph@codesourcery.com>
4463
4464 * CANCEL-FCT-WAIVE: Remove file.
4465 * CANCEL-FILE-WAIVE: Likewise.
4466
4467 [BZ #14132]
4468 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4469 instead of INTVARDEF.
4470 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4471 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4472 rtld_hidden_data_def instead of INTVARDEF.
4473 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4474 * elf/dl-deps.c (expand_dst): Likewise.
4475 * elf/dl-load.c (_dl_dst_count): Likewise.
4476 (_dl_dst_substitute): Likewise.
4477 (decompose_rpath): Likewise.
4478 (_dl_init_paths): Likewise.
4479 (open_path): Likewise.
4480 (_dl_map_object): Likewise.
4481 * elf/rtld.c (dl_main): Likewise.
4482 (process_dl_audit): Likewise.
4483 (process_envvars): Likewise.
4484 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4485 Remove declaration.
4486 (__libc_enable_secure): Use rtld_hidden_proto.
4487
4488 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4489
4490 * elf/dl-load.c
4491 (add_path): New function broken out of _dl_rtld_di_serinfo.
4492 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4493
4494 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4495
4496 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4497 parentheses around macro arguments.
4498 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4499 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4500 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4501 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4502 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4503 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4504 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4505 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4506 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4507 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4508 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4509 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4510 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4511 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4512 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4513 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4514 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4515 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4516 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4517 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4518 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4519 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4520 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4521 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4522 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4523 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4524 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4525 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4526 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4527 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4528 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4529 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4530 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4531 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4532 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4533 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4534 Likewise.
4535 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4536 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4537 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4538 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4539 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4540 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4541 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4542 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4543 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4544 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4545 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4546 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4547 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4548 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4549 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4550 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4551 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4552 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4553 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4554 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4555 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4556 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4557 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4558 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4559 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4560 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4561 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4562 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4563 (_FP_FRAC_SRS_1): Likewise.
4564 (_FP_FRAC_CLZ_1): Likewise.
4565 (_FP_MUL_MEAT_1_imm): Likewise.
4566 (_FP_MUL_MEAT_1_wide): Likewise.
4567 (_FP_MUL_MEAT_1_hard): Likewise.
4568 (_FP_SQRT_MEAT_1): Likewise.
4569 (_FP_FRAC_ASSEMBLE_1): Likewise.
4570 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4571 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4572 (__FP_CLZ_2): Likewise.
4573 (_FP_MUL_MEAT_2_wide): Likewise.
4574 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4575 (_FP_MUL_MEAT_2_gmp): Likewise.
4576 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4577 (_FP_SQRT_MEAT_2): Likewise.
4578 (_FP_FRAC_ASSEMBLE_2): Likewise.
4579 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4580 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4581 (_FP_FRAC_CLZ_4): Likewise.
4582 (_FP_MUL_MEAT_4_wide): Likewise.
4583 (_FP_MUL_MEAT_4_gmp): Likewise.
4584 (_FP_SQRT_MEAT_4): Likewise.
4585 (_FP_FRAC_ASSEMBLE_4): Likewise.
4586 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4587 * soft-fp/op-common.h (_FP_CMP): Likewise.
4588 (_FP_CMP_EQ): Likewise.
4589 (_FP_CMP_UNORD): Likewise.
4590 (_FP_TO_INT): Likewise.
4591 (_FP_FROM_INT): Likewise.
4592 [!__FP_CLZ] (__FP_CLZ): Likewise.
4593 (_FP_DIV_HELP_imm): Likewise.
4594 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4595 Likewise.
4596 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4597 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4598 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4599 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4600 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4601 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4602 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4603 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4604 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4605 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4606 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4607 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4608 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4609 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4610 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4611 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4612 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4613 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4614 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4615 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4616 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4617 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4618 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4619 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4620 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4621 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4622 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4623 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4624 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4625 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4626 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4627 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4628 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4629 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4630 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4631 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4632 (FP_UNPACK_RAW_SP): Likewise.
4633 (FP_PACK_RAW_S): Likewise.
4634 (FP_PACK_RAW_SP): Likewise.
4635 (FP_UNPACK_S): Likewise.
4636 (FP_UNPACK_SP): Likewise.
4637 (FP_UNPACK_SEMIRAW_S): Likewise.
4638 (FP_UNPACK_SEMIRAW_SP): Likewise.
4639 (FP_PACK_S): Likewise.
4640 (FP_PACK_SP): Likewise.
4641 (FP_PACK_SEMIRAW_S): Likewise.
4642 (FP_PACK_SEMIRAW_SP): Likewise.
4643 (_FP_SQRT_MEAT_S): Likewise.
4644 (FP_CMP_S): Likewise.
4645 (FP_CMP_EQ_S): Likewise.
4646 (FP_CMP_UNORD_S): Likewise.
4647 (FP_TO_INT_S): Likewise.
4648 (FP_FROM_INT_S): Likewise.
4649
4650 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4651
4652 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4653 (FP_EX_INVALID_IMZ): Likewise.
4654 (FP_EX_INVALID_IMZ_FMA): Likewise.
4655 (FP_EX_INVALID_ISI): Likewise.
4656 (FP_EX_INVALID_ZDZ): Likewise.
4657 (FP_EX_INVALID_IDI): Likewise.
4658 (FP_EX_INVALID_SQRT): Likewise.
4659 (FP_EX_INVALID_CVI): Likewise.
4660 (FP_EX_INVALID_VC): Likewise.
4661 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4662 "invalid" exceptions.
4663 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4664 (_FP_ADD_INTERNAL): Likewise.
4665 (_FP_MUL): Likewise.
4666 (_FP_FMA): Likewise.
4667 (_FP_DIV): Likewise.
4668 (_FP_CMP_CHECK_NAN): Likewise.
4669 (_FP_SQRT): Likewise.
4670 (_FP_TO_INT): Likewise.
4671 (FP_EXTEND): Likewise.
4672
4673 2014-10-09 Allan McRae <allan@archlinux.org>
4674
4675 * po/fr.po: Update French translation from translation project.
4676
4677 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4678
4679 [BZ #14132]
4680 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4681 of INTDEF.
4682 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4683 (__cxa_atexit): Use libc_hidden_proto.
4684 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4685
4686 [BZ #14132]
4687 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4688 declaration.
4689 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4690 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4691 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4692 [!_ISOMAC] (__iswctype_internal): Likewise.
4693 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4694 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4695 alias.
4696 (fcntl): Remove __fcntl_internal alias.
4697 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4698 __connect_internal alias.
4699 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4700 Likewise.
4701
4702 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4703 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4704 FP_DENORM_ZERO.
4705 (_FP_CHECK_FLUSH_ZERO): New macro.
4706 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4707 (_FP_CMP): Likewise.
4708 (_FP_CMP_EQ): Likewise.
4709 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4710 FP_DENORM_ZERO.
4711 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4712 (FP_TRUNC): Likewise.
4713
4714 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4715 treated as invalid conversion, not as normal exponent.
4716
4717 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4718 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4719 (_FP_CMP_EQ): Likewise.
4720 (_FP_CMP_UNORD): Likewise.
4721 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4722 (FP_CMP_EQ_D): Likewise.
4723 (FP_CMP_UNORD_D): Likewise.
4724 * soft-fp/extended.h (FP_CMP_E): Likewise.
4725 (FP_CMP_EQ_E): Likewise.
4726 (FP_CMP_UNORD_E): Likewise.
4727 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4728 (FP_CMP_EQ_Q): Likewise.
4729 (FP_CMP_UNORD_Q): Likewise.
4730 * soft-fp/single.h (FP_CMP_S): Likewise.
4731 (FP_CMP_EQ_S): Likewise.
4732 (FP_CMP_UNORD_S): Likewise.
4733 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4734 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4735 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4736 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4737 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4738 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4739 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4740 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4741 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4742 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4743 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4744 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4745 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4746 to FP_CMP_Q.
4747 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4748 FP_CMP_Q.
4749 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4750 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4751 FP_CMP_EQ_Q.
4752 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4753 FP_CMP_Q.
4754 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4755 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4756 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4757 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4758 FP_CMP_EQ_Q.
4759 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4760 FP_CMP_Q.
4761 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4762 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4763 FP_CMP_EQ_Q.
4764 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4765 FP_CMP_Q.
4766 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4767 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4768 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4769 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4770 FP_CMP_EQ_Q.
4771
4772 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4773 a subnormal result, set the underflow exception if trapping on
4774 underflow is enabled.
4775 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4776 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4777 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4778 redefine to 0.
4779 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4780 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4781 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4782 * soft-fp/extendxftf2.c (__extendxftf2): Use
4783 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4784
4785 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4786 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4787 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4788 FP_HANDLE_EXCEPTIONS.
4789 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4790 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4791 FP_HANDLE_EXCEPTIONS.
4792 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4793 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4794 FP_HANDLE_EXCEPTIONS.
4795 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4796 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4797 FP_HANDLE_EXCEPTIONS.
4798
4799 2014-10-08 Joseph Myers <joseph@codesourcery.com>
4800
4801 [BZ #14132]
4802 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4803 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4804 use INTUSE.
4805 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4806 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4807 Remove alias.
4808 (__adjtimex): Define using libc_hidden_ver.
4809 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4810 Remove declaration.
4811 (ntp_gettime): Call __adjtimex directly.
4812 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4813 Remove declaration.
4814 (ntp_gettimex): Call __adjtimex directly.
4815 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4816 __adjtimex_internal alias.
4817
4818 2014-10-08 Roland McGrath <roland@hack.frob.com>
4819
4820 [BZ #17460]
4821 * nscd/nscd.c (more_help): Rewrite list of tables collection
4822 using xstrdup and asprintf.
4823
4824 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4825
4826 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4827 Roland McGrath <roland@hack.frob.com>
4828
4829 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4830 (do_lookup_unique): ... local function 'enter' here; update callers.
4831
4832 2014-10-06 Joseph Myers <joseph@codesourcery.com>
4833
4834 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4835 compat_symbol calls on [SHARED].
4836 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4837 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4838 Remove.
4839 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4840 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4841 (oldsetrlimit): Remove.
4842 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4844 (lchown): New syscall entry.
4845 (oldsetrlimit): Remove.
4846 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4847 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4848 (oldsetrlimit): Remove.
4849 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4850
4851 [BZ #14138]
4852 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4853 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4854 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4855 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4856 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4857 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4858 (fchown): Likewise.
4859 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4860 (fchown): Likewise.
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4862 Likewise.
4863
4864 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4865
4866 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4867 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4868 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4869 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4870 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4871 Likewise.
4872 (__old_sem_post): Likewise.
4873
4874 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
4875
4876 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4877 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4878 HAVE_CLOCK_GETTIME_VSYSCALL macros.
4879 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4880 Use INLINE_VSYSCALL macro.
4881 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4882 __vdso_clock_gettime.
4883 * sysdeps/unix/sysv/linux/tile/init-first.c
4884 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4885 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4886 __vdso_clock_gettime.
4887
4888 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4889 to set up frame more cleanly.
4890
4891 * sysdeps/tile/memcmp.c: New file.
4892
4893 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4894
4895 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4896 * sysdeps/tile/tilegx/strcasestr.c: New file.
4897 * sysdeps/tile/tilegx/strnlen.c: New file.
4898 * sysdeps/tile/tilegx/strstr.c: New file.
4899
4900 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4901
4902 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
4903
4904 * nptl/tst-setuid3.c: Write errors to stdout.
4905
4906 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4907
4908 * elf/dl-deps.c
4909 (preload): New functions broken out of _dl_map_object_deps.
4910 (_dl_map_object_deps): Remove a nested function. Update call sites.
4911
4912 2014-10-01 Joseph Myers <joseph@codesourcery.com>
4913
4914 [BZ #14138]
4915 * sysdeps/unix/sysv/linux/execve.c: Remove file.
4916 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4917
4918 2014-10-01 Steve Ellcey <sellcey@mips.com>
4919
4920 * sysdeps/mips/strcmp.S: New.
4921
4922 2014-09-30 Joseph Myers <joseph@codesourcery.com>
4923
4924 [BZ #14138]
4925 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4926 (linkat): Likewise.
4927 (mkdirat): Likewise.
4928 (readlinkat): Likewise.
4929 (renameat): Likewise.
4930 (symlinkat): Likewise.
4931 (unlinkat): Likewise.
4932 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4933 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4934 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4935 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4936 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4937 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4938 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4939
4940 2014-09-30 Will Newton <will.newton@linaro.org>
4941
4942 * math/math.h: Define long double math functions if
4943 _LIBC_TEST is defined.
4944 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4945
4946 * localedata/Makefile: Move assignment to tests-special
4947 into an ifdef testing run-built-tests.
4948 * timezone/Makefile: Likewise.
4949
4950 2014-09-29 Joseph Myers <joseph@codesourcery.com>
4951
4952 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4953 with $(BASH) not $(SHELL).
4954
4955 2014-09-29 Carlos O'Donell <carlos@redhat.com>
4956 Matthew LeGendre <legendre1@llnl.gov>
4957
4958 [BZ #17411]
4959 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4960 l_reloc_result.
4961
4962 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4963
4964 * stdio-common/printf_fp.c
4965 (hack_digit): New function, broken out of ...
4966 (__printf_fp): ... local function here. Update call sites.
4967 hack_digit now takes an additional parameter that is a pointer
4968 to a struct of the referenced locals. Those locals moved inside
4969 the struct and references updated.
4970
4971 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
4972
4973 * aclocal.m4: Require autoconf 2.69.
4974 * configure: Regenerated.
4975 * sysdeps/aarch64/configure: Likewise.
4976 * sysdeps/alpha/configure: Likewise.
4977 * sysdeps/arm/armv7/configure: Likewise.
4978 * sysdeps/arm/configure: Likewise.
4979 * sysdeps/ia64/configure: Likewise.
4980 * sysdeps/mach/configure: Likewise.
4981 * sysdeps/mips/configure: Likewise.
4982 * sysdeps/s390/configure: Likewise.
4983 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4985
4986 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4987 file.
4988 * sysdeps/ia64/configure.ac: Likewise.
4989
4990 2014-09-26 Joseph Myers <joseph@codesourcery.com>
4991
4992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4993 specify symbol version for ld.so. Do not include entry for
4994 libpthread.
4995 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4996 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4997 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4998
4999 [BZ #14171]
5000 * Makeconfig [$(build-shared) = yes]
5001 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5002 makefiles.
5003 [$(build-shared) = yes && $(soversions.mk-done) = t]
5004 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5005 [$(build-shared) = yes && $(soversions.mk-done) = t]
5006 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5007 to Makerules.
5008 [$(build-shared) = yes && $(soversions.mk-done) = t]
5009 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5010 here.
5011 [$(build-shared) = yes && $(soversions.mk-done) = t]
5012 (common-generated): Don't append gnu/lib-names.h and
5013 gnu/lib-names.stmp here.
5014 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5015 (lib-names-h-abi): New variable.
5016 [$(build-shared) = yes && $(soversions.mk-done) = t]
5017 (lib-names-stmp-abi): Likewise.
5018 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5019 abi-variants] (before-compile): Append
5020 $(common-objpfx)$(lib-names-h-abi).
5021 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5022 abi-variants] (common-generated): Append gnu/lib-names.h.
5023 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5024 abi-variants] (install-others-nosubdir): Depend on
5025 $(inst_includedir)/$(lib-names-h-abi).
5026 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5027 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5028 [$(build-shared) = yes && $(soversions.mk-done) = t]
5029 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5030 [$(build-shared) = yes && $(soversions.mk-done) = t]
5031 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5032 [$(build-shared) = yes && $(soversions.mk-done) = t]
5033 (common-generated): Append $(lib-names-h-abi) and
5034 $(lib-names-stmp-abi).
5035 * scripts/lib-names.awk: Do not handle multi being set.
5036 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5037 Remove variable.
5038 (abi-lp64_be-ld-soname): Likewise.
5039 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5040 Likewise.
5041 (abi-hard-ld-soname): Likewise.
5042 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5043 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5044 Remove variable.
5045 (abi-o32_hard-ld-soname): Likewise.
5046 (abi-o32_soft_2008-ld-soname): Likewise.
5047 (abi-o32_hard_2008-ld-soname): Likewise.
5048 (abi-n32_soft-ld-soname): Likewise.
5049 (abi-n32_hard-ld-soname): Likewise.
5050 (abi-n32_soft_2008-ld-soname): Likewise.
5051 (abi-n32_hard_2008-ld-soname): Likewise.
5052 (abi-n64_soft-ld-soname): Likewise.
5053 (abi-n64_hard-ld-soname): Likewise.
5054 (abi-n64_soft_2008-ld-soname): Likewise.
5055 (abi-n64_hard_2008-ld-soname): Likewise.
5056 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5057 Likewise.
5058 (abi-64-v2-ld-soname): Likewise.
5059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5060 ld.so entries.
5061 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5062 variable.
5063 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5064 entry.
5065 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5066 variable.
5067 (abi-64-ld-soname): Likewise.
5068 (abi-x32-ld-soname): Likewise.
5069 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5070 entry.
5071 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5072
5073 2014-09-23 Joseph Myers <joseph@codesourcery.com>
5074
5075 [BZ #14138]
5076 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5077 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5078 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5079 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5080 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5081 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5082 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5083 syscall entry for GLIBC_2.2 symbol version.
5084 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5085 Likewise.
5086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5087 (setrlimit): Likewise.
5088 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5089 Likewise.
5090
5091 2014-09-23 Will Newton <will.newton@linaro.org>
5092
5093 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5094 _LINUX_ARM_SYSDEP_H include guard too.
5095 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5096 define.
5097
5098 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5099
5100 * sysdeps/unix/sysv/linux/eventfd.c:
5101 Make first argument unsigned.
5102 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5103 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5104
5105 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
5106
5107 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5108 * socket/sys/socket.h: Likewise
5109 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5110
5111 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5112
5113 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5114
5115 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
5116
5117 * time/tst-ftime.c: New test.
5118 * time/Makefile (tests): Add tst-ftime.
5119
5120 2014-09-17 Joseph Myers <joseph@codesourcery.com>
5121
5122 * soft-fp/extended.h: Fix comment formatting.
5123 * soft-fp/op-1.h: Likewise.
5124 * soft-fp/op-2.h: Likewise.
5125 * soft-fp/op-4.h: Likewise.
5126 * soft-fp/op-8.h: Likewise.
5127 * soft-fp/op-common.h: Likewise.
5128 * soft-fp/soft-fp.h: Likewise.
5129
5130 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5131
5132 2014-09-16 Joseph Myers <joseph@codesourcery.com>
5133
5134 [BZ #6652]
5135 * Makeconfig (soversions-default-setname): Remove variable.
5136 ($(common-objpfx)soversions.i): Don't pass default_setname to
5137 soversions.awk.
5138 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5139 oldest_abi to abi-versions.awk.
5140 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5141 * config.make.in (oldest-abi): Remove variable.
5142 * configure.ac (--enable-oldest-abi): Remove configure option.
5143 * configure: Regenerated.
5144 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5145 text.
5146 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5147 * scripts/soversions.awk: Do not handle default_setname variable.
5148 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5149 variable.
5150 * sysdeps/mach/hurd/configure: Regenerated.
5151 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5152 variable.
5153 * sysdeps/unix/sysv/linux/configure: Regenerated.
5154
5155 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5156
5157 * elf/Makefile (CFLAGS-interp.c): Remove.
5158 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5159 path string.
5160 * elf/interp.c: Include generated runtime-linker.h
5161
5162 * Makerules (lib%.so): Don't include $(+interp) in
5163 prerequisites.
5164 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5165 * dlfcn/eval.c: Remove file.
5166
5167 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5168 macros.
5169
5170 [BZ #17266]
5171 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5172 4.2 and newer.
5173
5174 [BZ #17370]
5175 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5176
5177 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5178 Jakub Jelinek <jakub@redhat.com>
5179
5180 [BZ #17266]
5181 * libio/stdio.h: Check definition of __fortify_function
5182 instead of __extern_always_inline to include bits/stdio2.h.
5183 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5184 check if __extern_always_inline is defined.
5185 [__USE_MISC || __USE_XOPEN]: Likewise.
5186 [__USE_ISOC99] Likewise.
5187 * misc/sys/cdefs.h (__fortify_function): Define only if
5188 __extern_always_inline is defined.
5189 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5190 __extern_always_inline and __extern_inline only for g++-4.3
5191 and newer or a compatible gcc.
5192
5193 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5194
5195 [BZ #17371]
5196 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5197 last change to handle zero prefix length.
5198
5199 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5200
5201 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5202 _SC_REGEX_VERSION.
5203
5204 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5205 _POSIX_RAW_SOCKETS.
5206
5207 2014-09-13 Allan McRae <allan@archlinux.org>
5208
5209 * po/ru.po: Update Russian translation from translation project.
5210
5211 2014-09-12 Roland McGrath <roland@hack.frob.com>
5212
5213 * locale/programs/locale.c (show_locale_vars): Inline local function
5214 into its sole call site. Clean up some style nits.
5215 (print_item): New function, broken out of ...
5216 (show_info): ... local function here. Clean up style nits.
5217
5218 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5219 out of ...
5220 (set_class_defaults): ... local function set_default here.
5221 Define set_default as a macro locally to pass constant parameters.
5222 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5223 rather than a shared local.
5224
5225 * stdlib/rpmatch.c (try): New function, broken out of ...
5226 (rpmatch): ... local function here. Also, prototypify definition.
5227
5228 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5229
5230 * scripts/soversions.awk: Do not handle configuration names.
5231 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5232 vendor and os variables to soversions.awk.
5233 * configure.ac: Do not modify gnu-* host_os.
5234 * configure: Regenerated
5235 * shlib-versions: Remove first column with configuration names.
5236 * nptl/shlib-versions: Likewise.
5237 * nptl_db/shlib-versions: Likewise.
5238 * sysdeps/hppa/shlib-versions: Likewise.
5239 * sysdeps/m68k/shlib-versions: Likewise.
5240 * sysdeps/mach/hurd/shlib-versions: Likewise.
5241 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5242 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5243 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5244 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5245 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5246 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5247 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5248 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5250 Likewise.
5251 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5252 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5253 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5254 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5255 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5256 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5257 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5258 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5259
5260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5261 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5263 Regenerated.
5264 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5266 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5267
5268 * shlib-versions: Remove OS-specific entries. Moved to files in
5269 sysdeps.
5270 * sysdeps/mach/hurd/shlib-versions: New file.
5271 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5272
5273 * nptl/shlib-versions: Remove architecture-specific entries.
5274 Moved to files in sysdeps.
5275 * shlib-versions: Likewise.
5276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5277 file.
5278 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5279 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5280 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5281 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5282
5283 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5284 (UDP_NO_CHECK6_RX): Likewise.
5285
5286 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5287
5288 * sysdeps/posix/sysconf.c (__sysconf): Spell
5289 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5290
5291 2014-08-12 Florian Weimer <fweimer@redhat.com>
5292
5293 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5294 loading.
5295 * iconv/Versions (__gconv_transliterate): Export for use from
5296 gconv modules.
5297 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5298 (struct __gconv_trans_data, __gconv_trans_fct,
5299 __gconv_trans_context_fct, __gconv_trans_query_fct,
5300 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5301 definitions.
5302 (struct __gconv_step_data): Remove __trans member.
5303 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5304 longer hidden. Remove unused trans_data argument.
5305 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5306 (__gconv_translit_find): Remove declaration.
5307 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5308 prototype.
5309 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5310 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5311 trans_data argument. Add hidden definition.
5312 (__gconv_translit_find): Remove.
5313 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5314 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5315 * iconv/skeleton.c: Remove transliteration initialization.
5316 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5317 __gconv_step_data initialization.
5318 * libio/iofwide.c (__libio_translit_): Remove.
5319 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5320 * wcsmbs/btowc.c (__btowc): Likewise.
5321 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5322 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5323 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5324 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5325 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5326 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5327 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5328 * wcsmbs/wctob.c (wctob): Likewise.
5329
5330 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5331
5332 [BZ #16194]
5333 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5334 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5335 register usage.
5336 * sysdeps/x86/Makefile: Adjust.
5337
5338 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5339 Roland McGrath <roland@hack.frob.com>
5340
5341 * locale/weight.h: Add include guard.
5342 (findidx): Make static rather than auto; take new parameters
5343 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5344 * locale/weightwc.h: Likewise.
5345 * posix/fnmatch_loop.c
5346 (FCT): Change type of EXTRA from int32_t to wint_t.
5347 Don't include either header inside the function.
5348 Call FINDIDX rather than findidx, and pass new arguments.
5349 #undef FINDIDX at the end of the file.
5350 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5351 FINDIDX before including fnmatch_loop.c for the non-wide version.
5352 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5353 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5354 for the wide version.
5355 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5356 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5357 Pass new arguments to findidx.
5358 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5359 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5360 Don't #include it inside the function. Pass new arguments to findidx.
5361 * posix/regex_internal.h
5362 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5363 (re_string_elem_size_at): Don't #include it inside the function.
5364 Pass new arguments to findidx.
5365 * string/strcoll_l.c: #include WEIGHT_H at top level.
5366 (get_next_seq): Don't #include it inside the function.
5367 Pass new arguments to findidx.
5368 (get_next_seq_nocache): Likewise.
5369 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5370 (STRXFRM): Don't #include it inside the function.
5371 Pass new arguments to findidx.
5372
5373 2014-09-11 Florian Weimer <fweimer@redhat.com>
5374
5375 [BZ #17344]
5376 * malloc/malloc.c (unlink): Turn asserts into a call to
5377 malloc_printerr.
5378
5379 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
5380
5381 [BZ #17370]
5382 * libio/wfileops (do_ftell_wide): Free OUT.
5383
5384 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5385
5386 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5387
5388 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5389
5390 [BZ #17363]
5391 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5392 group if the current group is empty.
5393
5394 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5395
5396 * benchtests/bench-memset.c (test_main): Add more test from size
5397 from 32 to 512 bytes.
5398 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5399 Add POWER8 memset object.
5400 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5401 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5402 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5403 implementation.
5404 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5405 Likewise.
5406 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5407 multiarch POWER8 memset optimization.
5408 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5409 POWER8 memset optimization.
5410
5411 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5412 Remove bzero multiarch objects.
5413 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5414 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5415 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5416 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5417 Remove define.
5418 [__bzero]: Redefine to specific name.
5419 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5420 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5421 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5422 define.
5423 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5424 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5425
5426 2014-09-10 Florian Weimer <fweimer@redhat.com>
5427
5428 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5429 warnings into errors.
5430
5431 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5432 __cxa_thread_atexit_impl prototype.
5433
5434 2014-09-09 Steve Ellcey <sellcey@mips.com>
5435
5436 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5437 Fix capitalization of error message.
5438
5439 2014-09-09 Steve Ellcey <sellcey@mips.com>
5440
5441 * sysdeps/mips/preconfigure: Modify ABI tests.
5442
5443 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5444
5445 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5446
5447 2014-09-07 Roland McGrath <roland@hack.frob.com>
5448 Carlos O'Donell <carlos@systemhalted.org>
5449
5450 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5451 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5452 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5453 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5454 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5455 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5456 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5457 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5458 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5459 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5460 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5461 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5462 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5463 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5464 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5465 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5466 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5467 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5468 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5469 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5470 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5471 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5472 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5473 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5474 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5475 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5476 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5477 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5478 Deconditionalize the code that was previously under [RESET_PID].
5479 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5480 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5481 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5482 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5483 include sysdep.h.
5484
5485 2014-09-08 Allan McRae <allan@archlinux.org>
5486
5487 * version.h (RELEASE): Set to "development".
5488 (VERSION): Set to "2.20.90"
5489
5490 2014-09-07 Allan McRae <allan@archlinux.org
5491
5492 * version.h (RELEASE): Set to "stable".
5493 (VERSION): Set to "2.20"
5494 * include/features.h (__GLIBC_MINOR__): Set to 20.
5495
5496 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5497 Liebler.
5498
5499 * po/ko.po: Update Korean translation from translation project.
5500
5501 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5502
5503 [BZ #17354]
5504 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5505 macro for handling signed relocations.
5506
5507 2014-09-03 Florian Weimer <fweimer@redhat.com>
5508
5509 [BZ #17325]
5510 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5511 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5512 assert.
5513 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5514 * iconvdata/ibm935.c (BODY): Likewise.
5515 * iconvdata/ibm937.c (BODY): Likewise.
5516 * iconvdata/ibm939.c (BODY): Likewise.
5517 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5518 assert.
5519 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5520 script.
5521 * iconvdata/run-iconv-test.sh: New test loop for checking for
5522 decoder crashers.
5523
5524 2014-09-02 Khem Raj <raj.khem@gmail.com>
5525
5526 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5527 libm_hidden_ver.
5528
5529 2014-09-01 Allan McRae <allan@archlinux.org>
5530
5531 * po/eo.po: Update Esperanto translation from translation project.
5532
5533 * po/ca.po: Update Catalan translation from translation project.
5534
5535 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5536
5537 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5538 __proc_dostop call.
5539
5540 2014-08-27 Mark Wielaard <mjw@redhat.com>
5541
5542 [BZ #17319]
5543 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5544 to call set_thread_area instead of hand written asm.
5545 (__NR_set_thread_area): Removed define.
5546 (TLS_FLAG_WRITABLE): Likewise.
5547 (__ASSUME_SET_THREAD_AREA): Remove check.
5548 (TLS_EBX_ARG): Remove define.
5549 (TLS_LOAD_EBX): Likewise.
5550
5551 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5552
5553 Simplify atomicity of socket creation in bind.
5554
5555 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5556 looking up the name after linking the file.
5557
5558 2014-08-27 Allan McRae <allan@archlinux.org>
5559
5560 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5561
5562 2014-08-26 Florian Weimer <fweimer@redhat.com>
5563
5564 [BZ #17187]
5565 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5566 trans_compare, open_translit, __gconv_translit_find):
5567 Remove module loading code.
5568
5569 2014-08-26 Allan McRae <allan@archlinux.org>
5570
5571 * po/vi.po: Update Vietnamese translation from translation project.
5572
5573 * po/uk.po: Update Ukrainian translation from translation project.
5574
5575 * po/fr.po: Update French translation from translation project.
5576
5577 * po/ru.po: Update Russian translation from translation project.
5578
5579 * po/pl.po: Update Polish translation from translation project.
5580
5581 * po/cs.po: Update Czech translation from translation project.
5582
5583 * po/de.po: Update German translation from translation project.
5584
5585 * po/bg.po: Update Bulgarian translation from translation project.
5586
5587 * po/sv.po: Update Sweedish translation from translation project.
5588
5589 * po/nl.po: Update Dutch translation from translation project.
5590
5591 * po/es.po: Update Spanish translation from translation project.
5592
5593 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5594
5595 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5596
5597 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5598 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5599 (CPPFLAGS-iconvconfig): Likewise.
5600 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5601
5602 * include/libc-symbols.h: Remove unnecessary check for
5603 NOT_IN_libc.
5604 * nptl/pthreadP.h: Likewise.
5605 * sysdeps/aarch64/setjmp.S: Likewise.
5606 * sysdeps/alpha/setjmp.S: Likewise.
5607 * sysdeps/arm/sysdep.h: Likewise.
5608 * sysdeps/i386/setjmp.S: Likewise.
5609 * sysdeps/m68k/setjmp.c: Likewise.
5610 * sysdeps/posix/getcwd.c: Likewise.
5611 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5612 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5613 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5614 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5615 * sysdeps/sh/sh3/setjmp.S: Likewise.
5616 * sysdeps/sh/sh4/setjmp.S: Likewise.
5617 * sysdeps/unix/alpha/sysdep.h: Likewise.
5618 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5619 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5620 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5621 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5624 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5625 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5626 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5627 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5628 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5629 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5630 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5631 * sysdeps/x86_64/setjmp.S: Likewise.
5632
5633 2014-08-13 Joseph Myers <joseph@codesourcery.com>
5634
5635 [BZ #17263]
5636 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5637 <stdint.h>.
5638 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5639 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5640
5641 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5642
5643 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5644
5645 [BZ #17262]
5646 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5647 and __x86_64__ when disabling x87 inline functions.
5648
5649 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5650
5651 [BZ #17259]
5652 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5653 asm statement with __cpuid_count.
5654
5655 2014-08-12 Mike Frysinger <vapier@gentoo.org>
5656
5657 * configure.ac: Change __ehdr_start code to dereference the struct.
5658 Run readelf on the output to look for relocations.
5659 * configure: Regenerated.
5660
5661 2014-08-12 Joseph Myers <joseph@codesourcery.com>
5662
5663 [BZ #17261]
5664 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5665 value to 0.
5666 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5667
5668 2014-08-12 Roland McGrath <roland@hack.frob.com>
5669
5670 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5671
5672 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5673
5674 [BZ #16892]
5675 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5676 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5677
5678 2014-08-12 Sean Anderson <seanga2@gmail.com>
5679
5680 * malloc/malloc.c: Fix typo in comment.
5681
5682 2014-08-09 Allan McRae <allan@archlinux.org>
5683
5684 * Regenerate libc.po.
5685
5686 2014-08-08 Mike Frysinger <vapier@gentoo.org>
5687
5688 * intl/tst-gettext2.sh: Check every lang file for creation.
5689
5690 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5691
5692 * sysdeps/aarch64/fpu/math_private.h
5693 (libc_feholdsetround_noex_aarch64_ctx): New function.
5694
5695 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5696
5697 * sysdeps/arm/armv6/strcpy.S (strcpy):
5698 Fix performance issue in misaligned cases.
5699
5700 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5701
5702 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5703 Move definition from termios.h.
5704 (struct termio): Likewise.
5705 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5706 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5707 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5708 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5709 Likewise.
5710 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5711 Move definition to ioctl-types.h
5712 (struct termio): Likewise.
5713 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5714 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5715 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5716 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5717 Likewise.
5718
5719 2014-08-05 Richard Henderson <rth@redhat.com>
5720
5721 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5722 exceptions.
5723 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5724 Add fraiseexcpt.
5725 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5726 Use __feraiseexcept.
5727 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5728 Protect libm symbols with IS_IN_libm.
5729
5730 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5731
5732 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5733
5734 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5735
5736 2014-08-04 Will Newton <will.newton@linaro.org>
5737
5738 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5739 file.
5740
5741 2014-08-04 Mike Frysinger <vapier@gentoo.org>
5742
5743 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5744 variants for each function.
5745
5746 2014-08-04 Roland McGrath <roland@hack.frob.com>
5747
5748 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5749 appended ...
5750 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5751 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5752 appended ...
5753 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5754 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5755 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5756 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5757 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5758 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5759 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5760 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5761 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5762 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5763 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5764 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5765 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5766 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5767 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5768 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5769 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5770 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5771 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5772 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5773 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5774 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5775 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5776 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5777 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5778 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5779 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5780 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5781 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5782 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5783 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5784 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5785 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5786 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5787 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5788 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5789 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5790 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5791 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5792 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5793 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5794 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5795 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5796 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5797 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5798 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5799 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5800 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5801 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5802 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5803 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5804 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5805 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5806 Update #include.
5807 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5808 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5809
5810 2014-08-04 Roland McGrath <roland@hack.frob.com>
5811
5812 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5813 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5814 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5815 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5816 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5817 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5818
5819 2014-08-04 Roland McGrath <roland@hack.frob.com>
5820
5821 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5822 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5823 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5824 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5825
5826 2014-08-04 Roland McGrath <roland@hack.frob.com>
5827
5828 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5829 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5830 (__libc_vfork): Define function under this name.
5831 (__vfork): Define as an alias.
5832 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5833 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5834
5835 2014-08-04 Roland McGrath <roland@hack.frob.com>
5836
5837 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5838 that was previously under [RESET_PID].
5839 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5840
5841 2014-08-04 Andreas Schwab <schwab@suse.de>
5842
5843 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5844
5845 2014-08-03 Mike Frysinger <vapier@gentoo.org>
5846
5847 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5848 (main): Likewise.
5849
5850 2014-08-01 Roland McGrath <roland@hack.frob.com>
5851
5852 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5853
5854 2014-08-01 Richard Henderon <rth@redhat.com>
5855
5856 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5857 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5858 typo in exact zero test.
5859 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5860 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5861 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5862
5863 2014-08-01 Roland McGrath <roland@hack.frob.com>
5864
5865 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5866 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5867 * sysdeps/arm/sysdep.h: ... here.
5868 [!__ASSEMBLER__]: Include <stdint.h>.
5869
5870 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5871
5872 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5873 (HAVE_WCTYPE_H): Likewise.
5874 (HAVE_ISWCTYPE): Likewise.
5875 (ENABLE_NLS): Likewise.
5876 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5877 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5878
5879 * posix/regex_internal.c: Check if DEBUG is defined and is
5880 set.
5881
5882 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5883 (HAVE_MBSRTOWCS): Likewise.
5884 * posix/fnmatch.c: Include string.h unconditionally.
5885
5886 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5887
5888 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5889 reversal.
5890
5891 2014-07-31 Roland McGrath <roland@hack.frob.com>
5892
5893 * sysdeps/generic/safe-fatal.h: New file.
5894 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5895 * nptl/forward.c: Include it.
5896 (__pthread_unwind): Use __safe_fatal as default action, rather
5897 than a bogus use of INTERNAL_SYSCALL that could never work.
5898
5899 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5900 * configure.ac (libc_cv_builtin_trap): New test.
5901 * configure: Regenerated.
5902 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5903 (ABORT_INSTRUCTION): Define using __builtin_trap.
5904
5905 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5906 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5907 * sysdeps/nptl/nptl-signals.h: New file.
5908 * nptl/pthreadP.h: Include <nptl-signals.h>.
5909
5910 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5911
5912 * sysdeps/s390/s390-64/utf16-utf32-z9.c
5913 (ONE_DIRECTION): Define.
5914 * sysdeps/s390/s390-64/utf8-utf16-z9.c
5915 (ONE_DIRECTION): Define.
5916 * sysdeps/s390/s390-64/utf8-utf32-z9.c
5917 (ONE_DIRECTION): Define.
5918
5919 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5920
5921 * sysdeps/s390/Makefile: Delete file.
5922 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5923 * sysdeps/s390/__longjmp.c: Delete file.
5924 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5925 Remove fields __flags and __reserved.
5926 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5927 and add versioning.
5928 * sysdeps/s390/rtld-__longjmp.c: Delete file.
5929 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5930 * sysdeps/s390/rtld-setjmp.S: Likewise.
5931 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5932 * sysdeps/s390/s390-32/__longjmp.c: ... here.
5933 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5934 * sysdeps/s390/s390-32/setjmp.S: ... here.
5935 Add versioning.
5936 (__sigsetjmp): Remove setting __flags field.
5937 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5938 * sysdeps/s390/s390-64/__longjmp.c: ... here.
5939 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5940 * sysdeps/s390/s390-64/setjmp.S: ... here.
5941 Add versioning.
5942 (__sigsetjmp): Remove setting __flags field.
5943 * sysdeps/s390/setjmp.S: Delete file.
5944 * sysdeps/s390/sigjmp.c: Likewise.
5945 * sysdeps/s390/v1-longjmp.c: Likewise.
5946 * sysdeps/s390/v1-setjmp.h: Likewise.
5947 * sysdeps/s390/v1-sigjmp.c: Likewise.
5948 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5949 Remove v1-longjmp_chk.
5950 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5951 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5952 Include debug/longjmp_chk.c and add versioning.
5953 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5954 Include nptl/pt-longjmp.c and add versioning.
5955 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5956 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5957 Include __longjmp.c.
5958 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5959 Move to ...
5960 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5961 (__getcontext): Remove setting __flags field.
5962 Add versioning.
5963 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5964 Don't restore upper high grps.
5965 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5966 Likewise.
5967 (__swapcontext): Remove setting uc_flags field.
5968 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5969 Delete file.
5970 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5971 Include __longjmp.c.
5972 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5973 Move to ...
5974 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5975 (__getcontext): Remove setting __flags field.
5976 Add versioning.
5977 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5978 (__swapcontext): Remove setting uc_flags field.
5979 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5980 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5981 Remove fields uc_high_gprs and __reserved.
5982 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5983 New file with reverted content.
5984 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5985 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5986 Regenerated.
5987 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5988 Regenerated.
5989
5990 2014-07-31 Andreas Schwab <schwab@suse.de>
5991
5992 * config.h.in (HAVE_IFUNC): Define to 0.
5993 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5994 definedness.
5995
5996 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
5997
5998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5999 memmove-avx-unaligned, memcpy-avx-unaligned and
6000 mempcpy-avx-unaligned.
6001 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6002 Add tests for AVX memcpy functions.
6003 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6004 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6005 memcpy_chk.
6006 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6007 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6008 memmove_chk.
6009 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6010 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6011 mempcpy_chk.
6012 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6013 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6014 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6015
6016 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6017
6018 [BZ #17213]
6019 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6020 powerpc64le.
6021
6022 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
6023
6024 [BZ #16839]
6025 * manual/llio.texi: Add section about open file description locks.
6026 * manual/examples/ofdlocks.c: Example of open file description
6027 lock usage.
6028 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6029 F_OFD_SETLK, and F_OFD_SETLKW.
6030
6031 2014-07-23 Allan McRae <allan@archlinux.org>
6032
6033 * po/es.po: Update Spanish translation from translation project.
6034
6035 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6036
6037 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6038
6039 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6040
6041 [BZ #17078]
6042 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6043 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6044 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6045
6046 2014-07-17 Joseph Myers <joseph@codesourcery.com>
6047
6048 [BZ #17088]
6049 * math/fesetenv.c (__fesetenv)
6050 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6051 * math/feupdateenv.c (__feupdateenv)
6052 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6053
6054 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6055 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6056 (__ASSUME_SOCKETCALL): Do not define.
6057
6058 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6059 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6060 (__ASSUME_SOCKETCALL): Do not define.
6061 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6062 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6063 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6064 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6065 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6066 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6067 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6068 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6069
6070 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6071 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6072 (__ASSUME_SOCKETCALL): Do not define.
6073 (__ASSUME_IPC64): Define unconditionally.
6074 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6075 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6076 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6077 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6078 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6079 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6080 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6081 Likewise.
6082
6083 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6084 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6085 (__ASSUME_SOCKETCALL): Do not define.
6086 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6087 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6088 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6089 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6090 (__ASSUME_REQUEUE_PI): Define unconditionally.
6091 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6092 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6093 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6094 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6095 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6096 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6097
6098 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6099 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6100 (__ASSUME_SOCKETCALL): Do not define.
6101 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6102 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6103 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6104 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6105 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6106 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6107
6108 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6109 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6110 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6111 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6112 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6113 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6114 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6115 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6116 (__ASSUME_GETCPU_SYSCALL): Likewise.
6117
6118 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6119 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6120 cases for individual architectures.
6121 * sysdeps/gnu/configure: Regenerated.
6122 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6123 LIBC_SLIBDIR_RTLDDIR.
6124 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6125 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6126 LIBC_SLIBDIR_RTLDDIR.
6127 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6129 LIBC_SLIBDIR_RTLDDIR.
6130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6131 Regenerated.
6132 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6133 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6134 file.
6135 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6136 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6137 file.
6138 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6139 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6140 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6141 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6142
6143 * sysdeps/aarch64/shlib-versions: Move to ...
6144 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6145 * sysdeps/alpha/shlib-versions: Move to ...
6146 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6147 * sysdeps/arm/shlib-versions: Move to ...
6148 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6149 * sysdeps/hppa/shlib-versions: Move all contents except for
6150 libgcc_s entry to ...
6151 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6152 entry from ...
6153 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6154 * sysdeps/ia64/shlib-versions: Move to ...
6155 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6156 entry from ...
6157 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6158 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6159 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6160 * sysdeps/microblaze/shlib-versions: Move to ...
6161 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6162 * sysdeps/mips/shlib-versions: Move to ...
6163 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6164 entry from ...
6165 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6166 * sysdeps/tile/shlib-versions: Move to ...
6167 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6168 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6169 from ...
6170 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6171 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6172 entry from ...
6173 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6174
6175 2014-07-17 Will Newton <will.newton@linaro.org>
6176
6177 * sysdeps/arm/bits/atomic.h
6178 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6179 (__arch_compare_and_exchange_bool_16_int): Likewise.
6180 (__arch_compare_and_exchange_bool_64_int): Likewise.
6181
6182 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6183 into an #else block.
6184
6185 2014-07-16 Roland McGrath <roland@hack.frob.com>
6186
6187 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6188 just Linux configurations. Test empirically that the compiler sets
6189 __ARM_EABI__, rather than using the tuple to decide.
6190 * sysdeps/arm/preconfigure: Regenerated.
6191 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6192 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6193 contents appended ...
6194 * sysdeps/arm/configure.ac: ... here.
6195 * sysdeps/arm/configure: Regenerated.
6196
6197 2014-07-15 Roland McGrath <roland@hack.frob.com>
6198
6199 * nptl/pthread_kill.c: New file.
6200 * nptl/pthread_sigmask.c: New file.
6201 * nptl/pthread_sigqueue.c: New file.
6202
6203 * sysdeps/nptl/lowlevellock.h: New file.
6204 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6205 * sysdeps/nptl/lowlevellock-futex.h: New file.
6206
6207 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6208 Remove dead declarations.
6209
6210 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6211
6212 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6213 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6214 config-cflags-avx2.
6215 * sysdeps/x86_64/configure.ac: Likewise.
6216 * sysdeps/i386/configure: Regenerated.
6217 * sysdeps/x86_64/configure: Likewise.
6218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6219 memset-avx2 only if config-cflags-avx2 is yes.
6220 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6221 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6222 defined.
6223 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6224 only if HAVE_AVX2_SUPPORT is defined.
6225 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6226
6227 2014-07-14 Alan Modra <amodra@gmail.com>
6228
6229 [BZ #17153]
6230 * elf/elf.h (DT_PPC64_NUM): Correct value.
6231 * NEWS: Add to fixed bug list.
6232
6233 2014-07-13 Jim Meyering <meyering@fb.com>
6234
6235 [BZ 17150]
6236 regex: don't deref NULL upon heap allocation failure
6237 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6238 failure in one more place.
6239 To trigger the segfault, configure grep -with-included-regex,
6240 build it, and run these commands:
6241 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6242
6243 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6244
6245 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6246
6247 2014-07-11 Richard Henderson <rth@redhat.com>
6248
6249 * sysdeps/aarch64/libm-test-ulps: Update.
6250
6251 2014-07-10 Florian Weimer <fweimer@redhat.com>
6252
6253 [BZ #17135]
6254 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6255 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6256 (__nptl_setxid): Initialize error member. Call
6257 __nptl_setxid_error.
6258 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6259 * nptl/descr.h (struct xid_command): Add error member.
6260 * nptl/tst-setuid3.c: New file.
6261 * nptl/Makefile (tests): Add it.
6262
6263 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6264
6265 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6266 New define.
6267 (__lll_trylock): Use __lll_base_trylock.
6268 (__lll_cond_trylock): Likewise.
6269
6270 2014-07-10 Roland McGrath <roland@hack.frob.com>
6271
6272 * nptl/pthread_create.c (start_thread): Use atomic_or and
6273 lll_futex_wake directly rather than lll_robust_dead.
6274 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6275 (lll_robust_dead): Macro removed.
6276 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6277 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6278 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6279 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6280 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6281 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6282 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6283 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6284 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6285 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6286 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6287 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6288 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6289 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6290 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6291
6292 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6293 Use atomic_compare_and_exchange_val_acq directly rather than
6294 lll_robust_trylock.
6295 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6296 (__lll_robust_trylock, lll_robust_trylock): Removed.
6297 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6298 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6299 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6300 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6301 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6302 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6303 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6304 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6305 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6306 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6307 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6308 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6309 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6310 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6311
6312 2014-07-02 Florian Weimer <fweimer@redhat.com>
6313
6314 * manual/locale.texi (Locale Names): New section documenting
6315 locale name syntax. Adjust menu and node chaining accordingly.
6316 (Choosing Locale): Reference Locale Names, Locale Categories.
6317 Mention setting LC_ALL=C. Reflect that name syntax is now
6318 documented.
6319 (Locale Categories): New section title. Reference Locale Names.
6320 LC_ALL is an environment variable, but not a category.
6321 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6322 description, now in Locale Name. Reference that section. Locale
6323 name syntax is now documented.
6324
6325 2014-07-02 Florian Weimer <fweimer@redhat.com>
6326
6327 [BZ #17137]
6328 * locale/findlocale.c (name_present, valid_locale_name): New
6329 functions.
6330 (_nl_find_locale): Use the loc_name variable to store name
6331 candidates. Call name_present and valid_locale_name to check and
6332 validate locale names. Return an error if the locale is invalid.
6333
6334 2014-07-02 Florian Weimer <fweimer@redhat.com>
6335
6336 * locale/setlocale.c (setlocale): Use strdup for allocating
6337 composite name copy.
6338
6339 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6340
6341 Sync up with gnulib.
6342 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6343 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6344 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6345 and _GL_ARG_NONNULL.
6346 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6347 [!_LIBC]: Include code for Windows and Cygwin.
6348 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6349 Include prototype for int strerror_r.
6350 [!_LIBC] (is_open): New function.
6351 (flush_stdout): New function.
6352 (print_errno_message): Use it.
6353 (error): Likewise.
6354 (error_at_line): Likewise.
6355 (error_tail) Add function attribute macros. Use
6356 __builtin_expect.
6357
6358 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6359
6360 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6361
6362 * io/ftw.c: Include sys/param.h unconditionally.
6363
6364 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6365
6366 [BZ #17125]
6367 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6368 libc_freeres_ptr.
6369 (freecache): New function to free CACHE on exit.
6370
6371 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6372 initialization.
6373
6374 2014-07-09 David S. Miller <davem@davemloft.net>
6375
6376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6377
6378 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6379 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6380 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6381 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6382 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6383 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6384 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6385 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6386 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6387 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6388 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6389 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6390 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6391
6392 2014-07-09 Andreas Schwab <schwab@suse.de>
6393
6394 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6395 output.
6396 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6397 (do_test): Likewise.
6398
6399 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6400
6401 2014-07-09 Will Newton <will.newton@linaro.org>
6402
6403 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6404 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6405 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6406 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6407 * sysdeps/hppa/start.S (_start): Likewise.
6408
6409 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6410
6411 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6412
6413 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6414 defined.
6415
6416 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6417
6418 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6419 after checking that it is non-NULL.
6420
6421 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6422
6423 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6424
6425 * sysdeps/powerpc/memmove.c: Remove file.
6426 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6427 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6428 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6429 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6430 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6431 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6432 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6433 string memmove instead of removed powerpc one.
6434
6435 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6436 [weak_alias]: Fix compiler warning due trailing data.
6437 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6438 [weak_alias]: Likewise.
6439 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6440 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6441
6442 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6443 (__libc_ifunc_impl_list): Add memmove functions.
6444
6445 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6446
6447 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6448 Remove code.
6449 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6450 Likewise
6451 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6452 Likewise
6453 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6454 Likewise
6455 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6456 Likewise
6457 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6458 Likewise
6459 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6460 Likewise
6461 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6462 Likewise
6463 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6464 Likewise
6465 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6466 Likewise
6467 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6468 Likewise
6469 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6470 Likewise
6471 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6472 Likewise
6473 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6474 Likewise
6475 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6476 Likewise
6477 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6478 Likewise
6479 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6480 Likewise
6481
6482 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6483
6484 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6485 to avoid alignment traps in non-cacheable memory.
6486 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6487
6488 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6489 multiarch objects.
6490 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6491 file: multiarch power7 memmove.
6492 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6493 multiarch default memmove.
6494 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6495 multiarch memove for powerpc32/power4.
6496
6497 * string/bcopy.c: Use full path to include memmove.c.
6498 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6499 multiarch objects.
6500 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6501 bcopy for powerpc64.
6502 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6503 bcopy for powerpc64.
6504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6505 and memmove implementations.
6506 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6507 optimized multiarch memmove for POWER7/powerpc64.
6508 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6509 default multiarch memmove for powerpc64.
6510 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6511 multiarch for powerpc64.
6512 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6513 for POWER7/powerpc64.
6514 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6515 memmove for POWER7/powerpc64.
6516
6517 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6518 glibc default one.
6519
6520 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6521 __ELF_NATIVE_CLASS equal to 64.
6522
6523 2014-07-07 Roland McGrath <roland@hack.frob.com>
6524
6525 * sysdeps/nptl/lowlevellock.h: File removed.
6526
6527 * NEWS: NPTL is no longer an add-on!
6528 * nptl/internaltypes.h: Moved ...
6529 * sysdeps/nptl/internaltypes.h: ... here.
6530 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6531 * sysdeps/nptl/fork.c: Likewise.
6532 * sysdeps/nptl/gai_misc.h: Likewise.
6533 * sysdeps/nptl/librt-cancellation.c: Likewise.
6534 * sysdeps/nptl/jmp-unwind.c: Likewise.
6535 * sysdeps/nptl/setxid.h: Likewise.
6536 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6537 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6538 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6539 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6540 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6541 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6542 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6543 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6544 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6545 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6546 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6547 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6548 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6549 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6550 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6551 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6552 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6553 * nptl/Makeconfig: Moved ...
6554 * sysdeps/nptl/Makeconfig: ... here.
6555 * nptl/configure: File removed.
6556 * nptl/ANNOUNCE: File removed.
6557 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6558 * sysdeps/unix/sysv/linux/configure: Regenerated.
6559
6560 * nptl/Makefile (routines): Add libc_pthread_init,
6561 libc_multiple_threads, register-atfork and unregister-atfork.
6562 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6563 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6564 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6565 pthread-pi-defines.sym, structsem.sym.
6566 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6567 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6568 [$(subdir) = nptl] (tests): Add tst-setgetname.
6569 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6570 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6571 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6572 [!LIBC_SIGACTION]: Remove aliases.
6573 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6574 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6575 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6576 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6577 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6578 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6579 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6580 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6581 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6582 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6583 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6584 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6585 __libc_allocate_rtsig_private.
6586 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6587 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6588 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6589 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6590 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6591 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6592 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6593 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6594 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6595 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6596 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6597 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6598 * nptl/internaltypes.h: ... here.
6599 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6600 * sysdeps/nptl/jmp-unwind.c: ... here.
6601 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6602 * nptl/libc-lowlevellock.c: ... here.
6603 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6604 * nptl/libc_multiple_threads.c: ... here.
6605 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6606 * nptl/libc_pthread_init.c: ... here.
6607 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6608 * nptl/lowlevelbarrier.sym: ... here.
6609 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6610 * nptl/lowlevelcond.sym: ... here.
6611 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6612 * nptl/lowlevellock.c: ... here.
6613 * nptl/lowlevellock.h: Moved ...
6614 * sysdeps/nptl/lowlevellock.h: ... here.
6615 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6616 * nptl/lowlevelrobustlock.c: ... here.
6617 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6618 * nptl/lowlevelrobustlock.sym: ... here.
6619 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6620 * nptl/lowlevelrwlock.sym: ... here.
6621 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6622 * nptl/pt-fork.c: ... here.
6623 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6624 * nptl/pthread-pi-defines.sym: ... here.
6625 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6626 * nptl/pthread_attr_getaffinity.c: ... here.
6627 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6628 * nptl/pthread_attr_setaffinity.c: ... here.
6629 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6630 * nptl/pthread_mutex_cond_lock.c: ... here.
6631 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6632 Update #include.
6633 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6634 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6635 * nptl/pthread_once.c: ... here, replacing old file.
6636 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6637 * nptl/pthread_yield.c: ... here.
6638 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6639 * nptl/register-atfork.c: ... here.
6640 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6641 * nptl/sem_post.c: ... here.
6642 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6643 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6644 * nptl/sem_timedwait.c: ... here.
6645 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6646 * nptl/sem_trywait.c: ... here.
6647 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6648 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6649 * nptl/sem_wait.c: ... here.
6650 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6651 * nptl/structsem.sym: ... here.
6652 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6653 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6654 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6655 * nptl/unregister-atfork.c: ... here.
6656 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6657 * nptl/unwindbuf.sym: ... here.
6658 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6659 * sysdeps/nptl/fork.c: ... here.
6660 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6661 * sysdeps/nptl/fork.h: ... here.
6662 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6663 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6664 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6665 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6666 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6667 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6668 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6669 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6670 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6671 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6672 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6673 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6674 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6675 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6676 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6677 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6678 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6679 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6680 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6681 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6682 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6683 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6684 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6685 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6686 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6687 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6688 * sysdeps/unix/sysv/linux/raise.c: ... here.
6689 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6690 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6691 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6692 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6693 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6694 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6695 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6696 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6697 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6698 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6699 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6700 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6701 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6702 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6703 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6704
6705 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6706
6707 * sysdeps/generic/memcopy.h: Add comment for
6708 MEMCPY_OK_FOR_FWD_MEMMOVE.
6709
6710 2014-07-04 Will Newton <will.newton@linaro.org>
6711
6712 * string/memchr.c: Merge from gnulib.
6713 [_LIBC]: Remove conditionals.
6714 (__ptr_t): Remove define.
6715 (LONG_MAX_32_BITS): Likewise.
6716 (LONG_MAX): Likewise.
6717 (MEMCHR): Use ANSI prototype and optimize algorithm.
6718
6719 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6720
6721 2014-07-03 Roland McGrath <roland@hack.frob.com>
6722
6723 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6724 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6725
6726 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6727 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6728 in a bare environment with no <stdlib.h> installed.
6729 * sysdeps/nptl/configure: Regenerated.
6730
6731 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6732
6733 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6734 AC_EGREP_CPP for kernel header checks, so they only succeed if
6735 including <linux/version.h> actually works right.
6736 * sysdeps/unix/sysv/linux/configure: Regenerated.
6737
6738 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6739 value so it's not diagnosed as unused.
6740
6741 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6742 thing) with "ifeq ($(subdir),rt)".
6743
6744 2014-07-03 Richard Henderson <rth@redhat.com>
6745
6746 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6747 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6748 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6749
6750 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6751 (math_force_eval): New.
6752
6753 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6754 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6755
6756 * sysdeps/alpha/fpu/s_round.c: Remove file.
6757 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6758
6759 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6760 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6761 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6762 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6763 (_dl_start, print_statistics): Likewise.
6764 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6765 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6766
6767 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6768 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6769 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6770 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6771 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6772 (HP_SMALL_TIMING_AVAIL): Define.
6773 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6774 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6775 (HP_SMALL_TIMING_AVAIL): Define.
6776 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6777 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6778
6779 * sysdeps/aarch64/hp-timing.h: New file.
6780
6781 * sysdeps/generic/hp-timing.h: Remove dead comment.
6782 * sysdeps/generic/hp-timing-common.h: New file.
6783 * sysdeps/alpha/hp-timing.h: Include it.
6784 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6785 * sysdeps/i386/i686/hp-timing.h: Likewise.
6786 * sysdeps/ia64/hp-timing.h: Likewise.
6787 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6788 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6789 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6790 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6791 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6792 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6793 (hp_timing_t): New.
6794
6795 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6796 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6797 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6798 * elf/rtld.c (_dl_start_final): Likewise.
6799 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6800 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6801 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6802 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6803 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6804 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6805 (HP_TIMING_DIFF_INIT): Remove.
6806 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6807 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6808 (HP_TIMING_DIFF_INIT): Remove.
6809 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6810 * sysdeps/i386/i686/hp-timing.c: Remove file.
6811 * sysdeps/x86_64/hp-timing.c: Remove file.
6812 * sysdeps/ia64/hp-timing.c: Remove file.
6813 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6814 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6815 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6816 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6817
6818 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6819 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6820 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6821 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6822 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6823 (HP_TIMING_ACCUM): Remove.
6824 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6825 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6826 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6827
6828 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6829 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6830 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6831 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6832 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6833 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6834 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6835 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6836
6837 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6838
6839 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6840
6841 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6842
6843 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6844
6845 Sync up with gettext.
6846 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6847 [_MSC_VER]: Include malloc.h
6848 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6849 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6850 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6851 TEMP_FAILURE_RETRY. Cast return of alloca.
6852 [!_LIBC] Call gl_rwlock_init.
6853 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6854
6855 2014-07-02 Roland McGrath <roland@hack.frob.com>
6856
6857 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6858 before checking its value.
6859
6860 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6861
6862 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6863
6864 * debug/memcpy_chk.c: Don't include pagecopy.h.
6865 * debug/mempcpy_chk.c: Likewise.
6866 * string/memcpy.c: Likewise.
6867 * string/memmove.c: Likewise.
6868 * sysdeps/powerpc/memmove.c: Likewise.
6869 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6870 definition of PAGE_COPY_FWD_MAYBE here...
6871 * sysdeps/generic/pagecopy.h: ... from here.
6872 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6873
6874 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6875 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6876
6877 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6878 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6879 optimizations.
6880 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6881 (__libc_ifunc_impl_list): Likewise.
6882 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6883 multiarch strcat for PPC64.
6884 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6885 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6886
6887 2014-07-02 Roland McGrath <roland@hack.frob.com>
6888
6889 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6890
6891 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6892
6893 * intl/loadmsgcat.c: Remove declaration of
6894 get_sysdep_segment_value.
6895 (get_sysdep_segment_value): Use ISO C style.
6896 (_nl_load_domain): Use ISO C style. Get rid of redundant
6897 semicolon. Fix typo and formatting in comment.
6898 (_nl_unload_domain): Use ISO C style.
6899
6900 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6901
6902 2014-07-02 Will Newton <will.newton@linaro.org>
6903
6904 * malloc/obstack.c: Merge from gnulib master.
6905 [HAVE_CONFIG_H]: Remove conditional code.
6906 [!_LIBC]: Include config.h.
6907 [!ELIDE_CODE]: Don't include inttypes.h, include
6908 stdint.h unconditionally.
6909 (print_and_abort): Mark as _Noreturn.
6910 (_obstack_allocated_p): Mark as __attribute_pure__.
6911 (obstack_free): Rename to __obstack_free.
6912 [!__attribute__]: Remove conditional code.
6913 * malloc/obstack.h: Merge from gnulib master.
6914 [__cplusplus]: Move conditional down.
6915 [!__attribute_pure__]: Define __attribute_pure__ here
6916 if it is not already defined.
6917 (_obstack_memory_used): Mark as __attribute_pure__.
6918 [!__obstack_free]: Define as obstack_free.
6919 [__GNUC__]: Remove check for ancient NeXT gcc.
6920
6921 2014-07-02 Will Newton <will.newton@linaro.org>
6922 Paul Eggert <eggert@cs.ucla.edu>
6923
6924 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6925
6926 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6927
6928 * resolv/gethnamaddr.c: Add comment warning that the file is
6929 not maintained.
6930
6931 2014-07-01 Carlos O'Donell <carlos@redhat.com>
6932
6933 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6934 entries.
6935
6936 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6937 entry for aio_cancel and aio_cancel64.
6938 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6939 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6940 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6941 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6942 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6943 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6944 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6945 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6946 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6947 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6948 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6949 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6950 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6951
6952 2014-07-01 Roland McGrath <roland@hack.frob.com>
6953
6954 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6955 * nptl/pthread_mutex_lock.c: Likewise.
6956 * nptl/pthread_mutex_timedlock.c: Likewise.
6957 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6958
6959 2014-07-01 Richard henderson <rth@redhat.com>
6960
6961 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6962 (__isnan, __isnanl): Remove.
6963 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6964
6965 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6966
6967 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6968
6969 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6970
6971 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6972
6973 * resolv/nss_dns/dns-host.c (getanswer_r)
6974 [MULTI_PTRS_ARE_ALIASES]: Remove code.
6975
6976 2014-07-01 Joseph Myers <joseph@codesourcery.com>
6977
6978 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6979 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6980 undefine.
6981 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6982 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6983
6984 2014-07-01 Roland McGrath <roland@hack.frob.com>
6985
6986 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6987 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6988
6989 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6990 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6991
6992 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6993 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6994 ... here.
6995 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6996 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6997
6998 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6999 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7000 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7001 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7002
7003 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7004 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7005 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7006 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7007 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7008 Moved ...
7009 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7010 ... here.
7011 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7012 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7013 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7014 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7015 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7016 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7017 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7018 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7019 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7020 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7021 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7022 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7023 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7024 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7025 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7026 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7027 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7028 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7029 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7030 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7031 ... here.
7032 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7033 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7034 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7035 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7036 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7037 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7038 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7039 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7040
7041 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7042
7043 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7044 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7045 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7046 Add sysdep.
7047
7048 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7049
7050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7051
7052 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7053
7054 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7055 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7056
7057 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7058
7059 * sysdeps/arm/libm-test-ulps: Regenerated.
7060
7061 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7062 Roland McGrath <roland@hack.frob.com>
7063
7064 * test-skeleton.c (signal_handler): Kill the whole process group
7065 before killing the child individually.
7066 (main): Report any failure on `setpgid'.
7067
7068 2014-06-30 Roland McGrath <roland@hack.frob.com>
7069
7070 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7071 from _TLS_H to _ARM_NPTL_TLS_H.
7072 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7073 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7074
7075 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7076
7077 [BZ #16539]
7078 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7079 (__expm1l): Return argument unchanged when small but not
7080 subnormal.
7081
7082 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7083 include macro name.
7084 (_FP_UNPACK_RAW_1_P): Likewise.
7085 (_FP_PACK_RAW_1): Likewise.
7086 (_FP_PACK_RAW_1_P): Likewise.
7087 (_FP_MUL_MEAT_1_wide): Likewise.
7088 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7089 (_FP_MUL_MEAT_1_hard): Likewise.
7090 (_FP_DIV_MEAT_1_imm): Likewise.
7091 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7092 (_FP_DIV_MEAT_1_udiv): Likewise.
7093 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7094 (_FP_UNPACK_RAW_2): Likewise.
7095 (_FP_UNPACK_RAW_2_P): Likewise.
7096 (_FP_PACK_RAW_2): Likewise.
7097 (_FP_PACK_RAW_2_P): Likewise.
7098 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7099 (_FP_MUL_MEAT_2_wide): Likewise.
7100 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7101 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7102 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7103 (_FP_MUL_MEAT_2_gmp): Likewise.
7104 (_FP_DIV_MEAT_2_udiv): Likewise.
7105 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7106 (_FP_FRAC_SRL_4): Likewise.
7107 (_FP_FRAC_SRST_4): Likewise.
7108 (_FP_FRAC_SRS_4): Likewise.
7109 (_FP_UNPACK_RAW_4): Likewise.
7110 (_FP_UNPACK_RAW_4_P): Likewise.
7111 (_FP_PACK_RAW_4): Likewise.
7112 (_FP_PACK_RAW_4_P): Likewise.
7113 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7114 (_FP_MUL_MEAT_4_wide): Likewise.
7115 (_FP_MUL_MEAT_4_gmp): Likewise.
7116 (umul_ppppmnnn): Likewise.
7117 (_FP_DIV_MEAT_4_udiv): Likewise.
7118 (__FP_FRAC_ADD_4): Likewise.
7119 (__FP_FRAC_SUB_3): Likewise.
7120 (__FP_FRAC_SUB_4): Likewise.
7121 (__FP_FRAC_DEC_3): Likewise.
7122 (__FP_FRAC_DEC_4): Likewise.
7123 (__FP_FRAC_ADDI_4): Likewise.
7124 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7125 (_FP_FRAC_SRL_8): Likewise.
7126 (_FP_FRAC_SRS_8): Likewise.
7127
7128 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7129 include macro name.
7130 (FP_UNPACK_RAW_EP): Likewise.
7131 (FP_PACK_RAW_E): Likewise.
7132 (FP_PACK_RAW_EP): Likewise.
7133 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7134 (_FP_ISSIGNAN): Likewise.
7135 (_FP_ADD_INTERNAL): Likewise.
7136 (_FP_FMA): Likewise.
7137 (_FP_CMP): Likewise.
7138 (_FP_SQRT): Likewise.
7139 (_FP_TO_INT): Likewise.
7140 (_FP_FROM_INT): Likewise.
7141 (FP_EXTEND): Likewise.
7142 (_FP_DIV_MEAT_N_loop): Likewise.
7143
7144 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7145
7146 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7147 throughout.
7148
7149 2014-06-29 Joseph Myers <joseph@codesourcery.com>
7150
7151 [BZ #17097]
7152 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7153 result with correct sign in case of exponents that produce
7154 overflow except for X very close to 1.
7155
7156 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7157
7158 mktime: merge #if/#ifdef usage from glibc
7159 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7160 as that works with both Glibc's and Gnulib's style.
7161 See thread starting at Siddhesh Poyarekar's bug report at:
7162 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7163
7164 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7165
7166 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7167 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7168 * sysdeps/tile/tilegx/memmove.c: Remove file.
7169
7170 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7171
7172 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7173 abi-name definition.
7174 * scripts/soversions.awk: Do not handle or generate ABI lines.
7175 * shlib-versions: Remove ABI entries.
7176 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7177 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7178
7179 2014-06-27 Roland McGrath <roland@hack.frob.com>
7180
7181 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7182 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7183 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7184 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7185 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7186 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7187 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7188 Moved ...
7189 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7190 ... here.
7191 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7192 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7193 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7194 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7195 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7196 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7197 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7198 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7199 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7200 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7201 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7202 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7203 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7204 Moved ...
7205 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7206 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7207 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7208 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7209 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7210 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7211 Moved ...
7212 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7213 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7214 Moved ...
7215 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7216 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7217 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7218 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7219 Moved ...
7220 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7221 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7222 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7223 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7224 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7225 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7226 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7227 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7228 Moved ...
7229 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7230 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7231 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7232 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7233 Moved ...
7234 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7235 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7236 Moved ...
7237 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7238 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7239 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7240 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7241 Moved ...
7242 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7243 ... here.
7244 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7245 Identical file removed.
7246 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7247 Moved ...
7248 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7249 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7250 Identical file removed.
7251 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7252 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7253 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7254 Moved ...
7255 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7256 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7257 Identical file removed.
7258 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7259 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7260 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7261 Identical file removed.
7262 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7263 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7264 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7265 Identical file removed.
7266 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7267 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7268 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7269 Identical file removed.
7270 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7271 Moved ...
7272 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7273 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7274 Identical file removed.
7275 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7276 Moved ...
7277 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7278 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7279 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7280 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7281 Identical file removed.
7282 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7283 Moved ...
7284 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7285 ... here.
7286 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7287 Identical file removed.
7288 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7289 Moved ...
7290 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7291 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7292 Identical file removed.
7293 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7294 Moved ...
7295 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7296 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7297 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7298 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7299 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7300 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7301 Moved ...
7302 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7303 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7304 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7305
7306 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7307 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7308 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7309 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7310 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7311
7312 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
7313
7314 [BZ #17092]
7315 * nscd/nscd.c (monitor_child): Return exit status of child
7316 instead of return value from wait syscall.
7317
7318 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7319
7320 * configure.ac (libc_commonpagesize): Remove variable.
7321 (libc_relro_required): Likewise.
7322 (libc_cv_z_relro): Remove configure test.
7323 * configure: Regenerated.
7324 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7325 variable.
7326 (libc_relro_required): Likewise.
7327 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7328 (libc_relro_required): Likewise.
7329 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7330 (libc_relro_required): Likewise.
7331 * sysdeps/arm/preconfigure: Regenerated.
7332 * sysdeps/ia64/preconfigure: Remove file.
7333 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7334 variable.
7335 (libc_relro_required): Likewise.
7336
7337 [BZ #16561]
7338 [BZ #16562]
7339 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7340 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7341 recompute overflowing results in original rounding mode.
7342 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7343 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7344 recompute overflowing results in original rounding mode.
7345 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7346 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7347 recompute overflowing results in original rounding mode.
7348 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7349 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7350 recompute overflowing results in original rounding mode.
7351 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7352 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7353 recompute overflowing results in original rounding mode.
7354 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7355 (libc_feholdsetround_ctx): New macro.
7356 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7357 * sysdeps/i386/fpu/libm-test-ulps: Update.
7358 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7359
7360 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7361
7362 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7363 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7364 corresponding .cpsetup call.
7365
7366 2014-06-26 Roland McGrath <roland@hack.frob.com>
7367
7368 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7369 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7370 * sysdeps/arm/Makefile [$(subdir) = csu]
7371 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7372 (static-only-routines): Add aeabi_read_tp here.
7373 (shared-only-routines): Add libc-aeabi_read_tp here.
7374 (CFLAGS-libc-start.c): Add -fexceptions here.
7375 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7376 (sysdep_routines, static-only-routines, shared-only-routines):
7377 Don't add to these here.
7378 (CFLAGS-libc-start.c): Likewise.
7379
7380 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7381 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7382 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7383 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7384 * sysdeps/arm/Makefile [$(subdir) = rt]
7385 (librt-sysdep_routines, librt-shared-only-routines):
7386 Append rt-aeabi_unwind_cpp_pr1 here.
7387 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7388 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7389 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7390 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7391 Append nptl-aeabi_unwind_cpp_pr1 here.
7392 (tests): Filter out tst-cleanupx4 here.
7393 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7394 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7395 Don't do those here.
7396
7397 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7398
7399 * scripts/list-sources.sh: Do not handle ports specially.
7400
7401 2014-06-26 Roland McGrath <roland@hack.frob.com>
7402
7403 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7404 * sysdeps/arm/feupdateenv.c: Likewise.
7405
7406 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7407
7408 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7409
7410 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7411 trailing whitespace removed.
7412 * scripts/config.guess: Update to version 2014-03-23.
7413 * scripts/config.sub: Update to version 2014-05-01
7414 * scripts/install-sh: Update to version 2013-12-25.23.
7415 * scripts/move-if-change: Update from gnulib.
7416
7417 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7418
7419 * debug/memmove_chk.c: Remove pagecopy.h include.
7420
7421 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7422
7423 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7424 identical to gnulib mktime.
7425
7426 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7427
7428 * configure.ac: Do not test for machine being rs6000. Do not test
7429 for powerpc*-*soft.
7430 * configure: Regenerated.
7431
7432 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7433 test.
7434 * configure: Regenerated.
7435 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7436 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7437 Remove configure test.
7438 * sysdeps/arm/configure: Regenerated.
7439 * sysdeps/nptl/configure.ac: Do not check
7440 libc_cv_asm_cfi_directives.
7441 * sysdeps/nptl/configure: Regenerated.
7442 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7443 * sysdeps/x86_64/nptl/configure: Remove generated file.
7444 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7445 unconditional.
7446 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7447
7448 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7449
7450 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7451 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7452 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7453 it is defined.
7454
7455 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7456 instead of whether it is defined.
7457 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7458 * sysdeps/hppa/dl-machine.h: Likewise.
7459 * sysdeps/ia64/dl-machine.h: Likewise.
7460 * sysdeps/m68k/dl-machine.h: Likewise.
7461 * sysdeps/microblaze/dl-machine.h: Likewise.
7462 * sysdeps/mips/dl-machine.: Likewise.
7463 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7464 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7465 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7466 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7467 * sysdeps/sh/dl-machine.h: Likewise.
7468 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7469 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7470 * sysdeps/tile/dl-machine.h: Likewise.
7471 * sysdeps/x86_64/dl-machine.h: Likewise.
7472
7473 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7474 code.
7475 (verify_persistent_db): Likewise.
7476
7477 2014-06-26 Roland McGrath <roland@hack.frob.com>
7478
7479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7480 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7482 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7484 Moved ...
7485 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7486 ... here.
7487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7488 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7490 Identical file removed.
7491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7492 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7494 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7496 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7498 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7500 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7502 Moved ...
7503 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7505 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7507 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7509 Moved ...
7510 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7512 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7514 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7516 Identical file removed.
7517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7518 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7520 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7522 Moved ...
7523 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7524 ... here.
7525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7526 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7528 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7530 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7532 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7534 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7536 Moved ...
7537 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7539 Moved ...
7540 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7542 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7544 Moved ...
7545 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7547 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7548
7549 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7550 folded into ...
7551 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7552 * sysdeps/unix/sysv/linux/s390/Versions
7553 (libpthread: GLIBC_2.19): New version set.
7554 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7555 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7556 (librt: GLIBC_2.3.3): New version set.
7557 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7558 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7559 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7560 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7561 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7562 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7563 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7564 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7565 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7566 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7567 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7568 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7569 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7570 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7571 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7572 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7573 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7574 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7575 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7576 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7577 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7578 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7579 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7580 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7581 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7582 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7583 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7584 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7585 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7586 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7587 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7588 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7589 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7590 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7591 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7592 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7593 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7594 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7595 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7596 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7597 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7598 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7599 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7600 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7601 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7602
7603 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7604 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7605 (__libc_vfork): Define the function under this name.
7606 [!NOT_IN_libc] (__vfork): Make this an alias.
7607 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7608 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7609 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7610 (__libc_vfork): Define the function under this name.
7611 [!NOT_IN_libc] (__vfork): Make this an alias.
7612 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7613 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7614 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7615 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7616 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7617 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7618
7619 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7620 code that was previously under [RESET_PID].
7621 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7622 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7623 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7624
7625 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7626 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7627 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7628 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7629 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7630 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7631 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7632 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7633 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7634 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7635 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7636 Moved ...
7637 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7638 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7639 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7640 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7641 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7642 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7643 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7644 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7645 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7646 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7647 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7648 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7649 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7650 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7651 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7652 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7653 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7654 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7655 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7656 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7657 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7658 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7659 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7660 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7661 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7662 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7663 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7664 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7665 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7666
7667 2014-06-25 Roland McGrath <roland@hack.frob.com>
7668
7669 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7670 that was previously under [RESET_PID].
7671 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7672
7673 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7674
7675 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7676 not undefine and redefine.
7677 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7678 [O_CLOEXEC]: Make code unconditional.
7679 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7680 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7681 <kernel-features.h>.
7682 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7683 conditional variable definition.
7684 (shm_open) [O_CLOEXEC]: Make code unconditional.
7685 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7686 code.
7687
7688 * configure.ac (USE_REGPARMS): Don't define here.
7689 * configure: Regenerated.
7690 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7691 * sysdeps/i386/configure: Regenerated.
7692
7693 * nptl/createthread.c: Don't include kernel-features.h.
7694 * nptl/pthread_cancel.c: Likewise.
7695 * nptl/pthread_condattr_setclock.c: Likewise.
7696 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7697 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7698 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7699 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7700 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7701 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7702 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7703 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7704 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7705 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7706 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7707 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7708 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7709 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7710 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7711 * nscd/gai.c: Likewise.
7712 * nss/nss_db/db-open.c: Likewise.
7713 * sysdeps/generic/ldsodefs.h: Likewise.
7714 * sysdeps/sh/nptl/tls.h: Likewise.
7715 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7716 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7717 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7718 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7719 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7720 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7721 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7722 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7723 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7724 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7725 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7726 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7727 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7728 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7729 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7730 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7731 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7732 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7733 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7734 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7735 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7736 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7737 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7738 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7739 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7740 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7741 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7742 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7743 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7744 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7745 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7746 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7747 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7748 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7749 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7750 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7751 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7752 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7753 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7754 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7755 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7756 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7757 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7758 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7759 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7760 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7761 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7762 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7763 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7764 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7765 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7766 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7767 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7768 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7769 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7770 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7771 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7772 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7795 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7796 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7797 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7798 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7799 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7800 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7801 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7802 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7803 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7804 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7805 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7806 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7807 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7808 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7809 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7810 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7811 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7812 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7813 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7814 * sysdeps/unix/sysv/linux/system.c: Likewise.
7815 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7816 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7817 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7818 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7819 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7820 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7821 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7822
7823 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7824 * configure: Regenerated.
7825 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7826
7827 * configure.ac (base_machine): Do not set specially for particular
7828 machines here.
7829 * configure: Regenerated.
7830 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7831 settings from configure.ac.
7832 * sysdeps/i386/preconfigure: New file.
7833 * sysdeps/s390/preconfigure: Likewise.
7834 * sysdeps/sh/preconfigure: Likewise.
7835 * sysdeps/sparc/preconfigure: Likewise.
7836
7837 2014-06-25 Roland McGrath <roland@hack.frob.com>
7838
7839 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7840 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7841 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7842 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7843 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7844 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7845 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7846 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7847 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7848 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7849 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7850 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7851 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7852 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7853 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7854 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7855 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7856 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7857 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7858
7859 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7860 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7861 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7862 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7863 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7864 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7865 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7866 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7867 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7868 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7869 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7870 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7871 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7872 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7873 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7874 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7875 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7876 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7877 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7878 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7879 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7880 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7881 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7882 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7883 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7884 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7885 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7886 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7887 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7888 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7889 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7890 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7891 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7892 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7893 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7894 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7895 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7896 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7897
7898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7899 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7901 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7903 Moved ...
7904 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7905 ... here.
7906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7907 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7909 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7911 Moved ...
7912 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7914 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7916 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7918 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7920 Moved ...
7921 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7923 Moved ...
7924 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7926 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7928 Moved ...
7929 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7931 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7933 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7935 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7937 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7939 Moved ...
7940 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7941 ... here.
7942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7943 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7945 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7947 Moved ...
7948 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7950 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7952 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7954 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7956 Moved ...
7957 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7959 Moved ...
7960 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7962 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7964 Moved ...
7965 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7967 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7969 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7970
7971 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7972
7973 * timezone/checktab.awk: Update from tzcode 2014e.
7974 * timezone/private.h: Likewise.
7975 * timezone/tzfile.h: Likewise.
7976 * timezone/zdump.c: Likewise.
7977 * timezone/zic.c: Likewise.
7978
7979 * sysdeps/unix/sysv/linux/kernel-features.h
7980 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7981 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7982 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7983 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7984 Remove conditional code.
7985
7986 2014-06-25 Will Newton <will.newton@linaro.org>
7987
7988 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7989 (_dl_arm_cap_flags): Add HWCAP2 values.
7990 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7991 (_DL_HWCAP_COUNT): Increase to 37.
7992 (_DL_HWCAP_LAST): New define.
7993 (_DL_HWCAP2_LAST): New define.
7994 (_dl_procinfo): Add support for printing
7995 AT_HWCAP2 entries.
7996 (_dl_string_hwcap): Use _dl_hwcap_string.
7997
7998 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7999
8000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8001
8002 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8003
8004 * README: Do not mention ports directory.
8005
8006 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8007 Remove macro.
8008 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8009 <kernel-features.h>.
8010 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8011 conditional variable definition.
8012 (__futimes): Update comment.
8013 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8014 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8015
8016 [BZ #16560]
8017 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8018 arguments close to 0.
8019 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8020 Likewise.
8021 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8022 Likewise.
8023 * math/auto-libm-test-in: Add more tests of exp10.
8024 * math/auto-libm-test-out: Regenerated.
8025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8026
8027 * sysdeps/unix/sysv/linux/kernel-features.h
8028 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8029 * sysdeps/unix/sysv/linux/readv.c: Do not include
8030 <kernel-features.h>.
8031 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8032 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8033 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8034 unconditional.
8035 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8036 conditional code.
8037 * sysdeps/unix/sysv/linux/writev.c: Do not include
8038 <kernel-features.h>.
8039 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8040 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8041 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8042 unconditional.
8043 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8044 conditional code.
8045
8046 2014-06-25 Will Newton <will.newton@linaro.org>
8047
8048 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8049 comment changes throughout the file. Remove checks
8050 for HAVE_*_H definitions that are not required.
8051 (__gen_tempname): Call abort if an unknown kind value is
8052 passed.
8053
8054 2014-06-25 Andreas Schwab <schwab@suse.de>
8055
8056 [BZ #17086]
8057 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8058 scalbln, scalblnf, scalblnl in libc.
8059
8060 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8061
8062 [BZ #17086]
8063 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8064 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8065 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8066
8067 2014-06-24 Roland McGrath <roland@hack.frob.com>
8068
8069 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8070 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8071 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8072 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8073 Update #include.
8074 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8075 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8076 Update #include.
8077 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8078 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8079 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8080 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8081 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8082 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8083 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8084 * sysdeps/x86/bits/semaphore.h: ... here.
8085 * sysdeps/x86/nptl/elide.h: Moved ...
8086 * sysdeps/x86/elide.h: ... here.
8087 * sysdeps/x86_64/nptl/Implies: File removed.
8088 * sysdeps/i386/nptl/Implies: File removed.
8089
8090 2014-06-24 Joseph Myers <joseph@codesourcery.com>
8091
8092 [BZ #16539]
8093 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8094 return the argument for normal arguments with exponent below -64.
8095 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8096 Likewise.
8097 * math/auto-libm-test-in: Add another test of expm1.
8098 * math/auto-libm-test-out: Regenerated.
8099
8100 [BZ #16287]
8101 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8102 calling __erfcl for arguments at least 16.
8103 * math/auto-libm-test-in: Add more tests of erf.
8104 * math/auto-libm-test-out: Regenerated.
8105
8106 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8107 individual architectures.
8108 * sysdeps/unix/sysv/linux/configure: Regenerated.
8109 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8110 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8111 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8112 (ldd_rewrite_script): Define variable.
8113 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8115 file.
8116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8117 generated file.
8118 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8119 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8120 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8121 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8122 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8123 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8124 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8125 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8126
8127 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8128
8129 [BZ #17084]
8130 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8131 Rename member __data.d to __data.__elision_data.
8132
8133 2014-06-24 Wilco <wdijkstr@arm.com>
8134
8135 * NEWS: Add 16918 to fixed bug list.
8136
8137 2014-06-24 Wilco <wdijkstr@arm.com>
8138
8139 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8140
8141 2014-06-24 Wilco <wdijkstr@arm.com>
8142
8143 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8144 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8145 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8146 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8147 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8148 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8149 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8150 Use _FPU_MASK_RM.
8151
8152 2014-06-24 Wilco <wdijkstr@arm.com>
8153
8154 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8155
8156 2014-06-24 Wilco <wdijkstr@arm.com>
8157
8158 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8159 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8160 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8161 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8162
8163 2014-06-24 Wilco <wdijkstr@arm.com>
8164
8165 [BZ #16918]
8166 * sysdeps/arm/feupdateenv.c (feupdateenv):
8167 Rewrite to reduce FPSCR accesses and fix return value.
8168
8169 2014-06-24 Wilco <wdijkstr@arm.com>
8170
8171 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8172 Optimize to avoid unnecessary FPSCR writes.
8173 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8174 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8175 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8176 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8177
8178 2014-06-24 Wilco <wdijkstr@arm.com>
8179
8180 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8181 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8182 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8183 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8184 Call libc_fetestexcept_vfp.
8185 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8186 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8187 __SOFTFP__ ifdef so that they can be built for softfp.
8188
8189 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8190
8191 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8192 argument type signed char.
8193
8194 * Makerules (check-abi): Dump diff of symlist if the test
8195 fails.
8196
8197 2014-06-23 Roland McGrath <roland@hack.frob.com>
8198
8199 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8200 using abort.
8201
8202 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8203 Remove unused variable ST.
8204
8205 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8206
8207 [BZ #16354]
8208 [BZ #17061]
8209 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8210 small arguments before calling __expm1.
8211 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8212 small arguments before calling __expm1f.
8213 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8214 small arguments before calling __expm1l.
8215 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8216 Likewise.
8217 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8218 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8219 spurious underflow for some cosh tests.
8220 * math/auto-libm-test-out: Regenerated.
8221 * sysdeps/i386/fpu/libm-test-ulps: Update.
8222
8223 [BZ #17050]
8224 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8225 (__ieee754_y1): Set errno if return value overflows.
8226 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8227 (__ieee754_y1f): Set errno if return value overflows.
8228 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8229 (__ieee754_y1l): Set errno if return value overflows.
8230 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8231 (__ieee754_y1l): Set errno if return value overflows.
8232 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8233 * math/auto-libm-test-out: Regenerated.
8234
8235 * math/gen-auto-libm-tests.c: Document use of
8236 ignore-zero-inf-sign.
8237 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8238 (input_flags): Add ignore-zero-inf-sign.
8239 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8240 * math/gen-libm-test.pl (generate_testfile): Handle
8241 ignore-zero-inf-sign.
8242 * math/auto-libm-test-in: Mark some cpow tests with
8243 ignore-zero-inf-sign and some with xfail-rounding.
8244 * math/auto-libm-test-out: Regenerated.
8245 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8246 * sysdeps/i386/fpu/libm-test-ulps: Update.
8247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8248
8249 [BZ #16315]
8250 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8251 overflowing or underflowing operations take place with sign of
8252 result.
8253 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8254 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8255 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8256 (__ieee754_pow): Recompute overflowing and underflowing results in
8257 original rounding mode.
8258 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8259 (__powl_helper): Allow negative argument X and scale negated value
8260 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8261 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8262 overflowing or underflowing operations take place with sign of
8263 result.
8264 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8265 Include <math.h>.
8266 * math/auto-libm-test-in: Add more tests of pow.
8267 * math/auto-libm-test-out: Regenerated.
8268 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8269 (pow_tonearest_test_data): Remove.
8270 (pow_test_tonearest): Likewise.
8271 (pow_towardzero_test_data): Likewise.
8272 (pow_test_towardzero): Likewise.
8273 (pow_downward_test_data): Likewise.
8274 (pow_test_downward): Likewise.
8275 (pow_upward_test_data): Likewise.
8276 (pow_test_upward): Likewise.
8277 (main): Don't call removed functions.
8278 * sysdeps/i386/fpu/libm-test-ulps: Update.
8279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8280
8281 2014-06-23 Roland McGrath <roland@hack.frob.com>
8282
8283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8284 Moved ...
8285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8287 Moved ...
8288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8290 Moved ...
8291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8293 Moved ...
8294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8296 File removed.
8297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8298 File removed.
8299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8300 File removed.
8301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8302 File removed.
8303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8304 File removed.
8305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8306 File removed.
8307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8308 File removed.
8309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8310 File removed.
8311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8312 File removed.
8313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8314 File removed.
8315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8316 File removed.
8317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8318 File removed.
8319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8320 Moved ...
8321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8323 Moved ...
8324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8325 ... here.
8326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8327 Moved ...
8328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8330 Moved ...
8331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8333 Moved ...
8334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8336 Moved ...
8337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8339 Moved ...
8340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8342 Moved ...
8343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8345 Moved ...
8346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8349 ... here.
8350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8351 Moved ...
8352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8354 Moved ...
8355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8356 ... here.
8357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8358 Moved ...
8359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8360 ... here.
8361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8362 Moved ...
8363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8364 ... here.
8365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8366 Moved ...
8367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8369 Moved ...
8370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8374 Moved ...
8375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8376 ... here.
8377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8378 Moved ...
8379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8380 ... here.
8381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8382 Moved ...
8383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8385 Moved ...
8386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8388 Moved ...
8389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8391 Moved ...
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8394 Moved ...
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8396 ... here.
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8398 Moved ...
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8401 Moved ...
8402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8404 Moved ...
8405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8407 Moved ...
8408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8412 Moved ...
8413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8415 Moved ...
8416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8418 Moved ...
8419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8420 ... here.
8421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8422 Moved ...
8423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8424 ... here.
8425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8426 Moved ...
8427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8428 ... here.
8429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8430 Moved ...
8431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8433 Moved ...
8434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8436 Moved ...
8437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8439 Moved ...
8440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8441 ... here.
8442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8443 Moved ...
8444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8445 ... here.
8446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8447 Moved ...
8448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8449 ... here.
8450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8451 Moved ...
8452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8454 Moved ...
8455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8456
8457 2014-06-23 Will Newton <will.newton@linaro.org>
8458 Wilco <wdijkstr@arm.com>
8459
8460 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8461 implementation. Include get-rounding-mode.h.
8462 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8463 [!libc_feholdsetround_noex_ctx]: Define
8464 libc_feholdsetround_noex_ctx.
8465 [!libc_feholdsetround_noexf_ctx]: Define
8466 libc_feholdsetround_noexf_ctx.
8467 [!libc_feholdsetround_noexl_ctx]: Define
8468 libc_feholdsetround_noexl_ctx.
8469 (libc_feholdsetround_ctx): New function.
8470 (libc_feresetround_ctx): New function.
8471 (libc_feholdsetround_noex_ctx): New function.
8472 (libc_feresetround_noex_ctx): New function.
8473
8474 2014-06-23 Roland McGrath <roland@hack.frob.com>
8475
8476 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8477 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8478 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8479 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8480 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8481 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8482
8483 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8484 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8485 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8486 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8487 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8488 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8489 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8490 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8491 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8492 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8493 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8494 Moved ...
8495 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8496 ... here.
8497 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8498 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8499 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8500 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8501 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8502 Moved ...
8503 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8504 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8505 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8506 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8507 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8508 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8509 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8510 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8511 Moved ...
8512 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8513 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8514 Moved ...
8515 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8516 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8517 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8518 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8519 Moved ...
8520 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8521 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8522 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8523 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8524 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8525 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8526 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8527 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8528 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8529 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8530 Moved ...
8531 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8532 ... here.
8533 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8534 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8535 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8536 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8537 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8538 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8539 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8540 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8541 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8542 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8543 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8544 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8545 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8546 Moved ...
8547 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8548 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8549 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8550 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8551 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8552 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8553 Moved ...
8554 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8555 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8556 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8557 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8558 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8559
8560 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8561 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8562 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8563 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8564 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8565 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8566 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8567 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8568 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8569 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8570 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8571 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8572 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8573 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8574 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8575 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8576 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8577 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8578 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8579 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8580 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8581 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8582 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8583 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8584 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8585 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8586 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8587 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8588
8589 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8590
8591 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8592 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8593 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8594 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8595 (IPV6_PMTUDISC_INTERFACE): Likewise.
8596 (IPV6_PMTUDISC_OMIT): Likewise.
8597
8598 2014-06-23 Andreas Schwab <schwab@suse.de>
8599
8600 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8601 Remove unused errout label.
8602
8603 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8604
8605 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8606 macro: hardware supports Vector Crypto instructions.
8607
8608 2014-06-23 Will Newton <will.newton@linaro.org>
8609
8610 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8611 rather than __builtin_expect.
8612
8613 * elf/dl-lookup.c (undefined_msg): Remove variable.
8614 (_dl_lookup_symbol_x): Replace undefined_msg with string
8615 literal.
8616
8617 * elf/dl-lookup.c (do_lookup_unique): New function.
8618 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8619 to a separate function.
8620
8621 2014-06-23 Andreas Schwab <schwab@suse.de>
8622
8623 [BZ #17079]
8624 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8625 before reading the next line.
8626
8627 2014-06-23 Will Newton <will.newton@linaro.org>
8628
8629 * test-skeleton.c (signal_handler): Use printf and %m
8630 rather than perror. Use printf rather than fprintf to
8631 stderr. Use puts rather than fputs to stderr.
8632 (main): Likewise.
8633
8634 2014-06-22 Ludovic Courtès <ludo@gnu.org>
8635
8636 * nscd/nscd.c (thread_info_t): Remove typedef.
8637 (thread_info): Remove variable.
8638
8639 2014-06-21 Allan McRae <allan@archlinux.org>
8640
8641 * NEWS: Mention CVE-2014-4043.
8642
8643 2014-06-20 Roland McGrath <roland@hack.frob.com>
8644
8645 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8646 * nptl/smp.h: ... here.
8647
8648 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8649
8650 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8651 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8652 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8653 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8654
8655 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8656 * nptl/stack-aliasing.h: New file.
8657 * sysdeps/i386/i686/stack-aliasing.h: New file.
8658 * sysdeps/i386/i686/nptl/Makefile: File removed.
8659 * sysdeps/x86_64/stack-aliasing.h: New file.
8660 * sysdeps/x86_64/nptl/Makefile
8661 (CFLAGS-pthread_create.c): Variable removed.
8662
8663 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8664 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8665 old file.
8666 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8667 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8668 old file.
8669
8670 2014-06-21 Joseph Myers <joseph@codesourcery.com>
8671
8672 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8673 (__ASSUME_SIGFRAME_V2): Remove macro.
8674 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8675 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8676 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8677 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8678 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8679 Declare as function. Remove conditional macro definitions.
8680 (__default_rt_sa_restorer): Likewise.
8681 (__default_sa_restorer_v1): Remove declaration.
8682 (__default_sa_restorer_v2): Likewise.
8683 (__default_rt_sa_restorer_v1): Likewise.
8684 (__default_rt_sa_restorer_v2): Likewise.
8685 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8686 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8687 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8688
8689 2014-06-20 Roland McGrath <roland@hack.frob.com>
8690
8691 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8692 (libpthread-routines): Add sysdep.
8693 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8694 * sysdeps/unix/sysv/linux/sparc/Versions
8695 (libpthread: GLIBC_2.3.3): New version set.
8696 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8697 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8698 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8699 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8700 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8701 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8702 Moved ...
8703 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8704 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8705 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8706 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8707 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8708 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8709 * sysdeps/sparc/nptl/sem_init.c: ... here.
8710 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8711 * sysdeps/sparc/nptl/sem_post.c: ... here.
8712 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8713 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8714 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8715 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8716 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8717 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8718 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8719 (libpthread-routines): Add cpu_relax.
8720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8721 File removed.
8722 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8723 (librt: GLIBC_2.3.3): New version set.
8724 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8725 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8726 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8727 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8728 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8729 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8730 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8731 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8732 Moved ...
8733 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8735 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8737 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8738 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8739 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8740 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8741 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8742 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8743 Moved ...
8744 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8745 Update #include.
8746 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8747 Moved ...
8748 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8749 Update #include.
8750 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8751 Moved ...
8752 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8753 Update #include.
8754 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8755 Moved ...
8756 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8757 Update #include.
8758 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8759 Moved ...
8760 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8761 Update #include.
8762 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8763 Moved ...
8764 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8765 Update #include.
8766 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8767 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8768 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8769 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8770 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8772 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8773 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8774 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8775 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8776 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8777 Moved ...
8778 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8779 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8780 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8781 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8782 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8783
8784 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8785
8786 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8787 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8788 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8789 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8790 * nscd/nscd.c: Likewise.
8791 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8792 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8793 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8794 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8795
8796 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8797 <kernel-features.h>.
8798 (init_mq_netlink): Remove conditional have_sock_cloexec
8799 definitions. Remove code conditional on have_sock_cloexec < 0.
8800 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8801 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8802 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8803 <kernel-features.h>.
8804 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8805 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8806
8807 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8808
8809 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8810 Add tests for memset_chk and memset.
8811
8812 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8813 with AVX2_Usable.
8814
8815 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8816
8817 [BZ #16046]
8818 * elf/tst-dl-iter-static.c: New file.
8819 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8820
8821 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8822 error.
8823
8824 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8825
8826 * sysdeps/unix/sysv/linux/kernel-features.h
8827 (__ASSUME_F_GETOWN_EX): Remove macro.
8828 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8829 <kernel-features.h>.
8830 (miss_F_GETOWN_EX): Remove variable or macro.
8831 (do_fcntl): Do not check miss_F_GETOWN_EX.
8832 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8833
8834 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8835 Remove macro.
8836 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8837 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8838 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8839
8840 * sysdeps/unix/sysv/linux/kernel-features.h
8841 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8842 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8843 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8844 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8845
8846 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8847
8848 [BZ #17075]
8849 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8850 Fix calculation of the symbol's value.
8851 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8852 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8853 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8854 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8855 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8856 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8857 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8858 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8859 (modules-names): Add `tst-armtlsdescmod',
8860 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8861 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8862 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8863 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8864 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8865 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8866 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8867 ($(objpfx)tst-armtlsdescloc): New dependency.
8868 ($(objpfx)tst-armtlsdescextnow): Likewise.
8869 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8870 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8871 TLS scheme support.
8872 * sysdeps/arm/configure: Regenerate.
8873
8874 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8875
8876 * include/fcntl.h (__atfct_seterrno): Remove prototype.
8877 (__atfct_seterrno_2): Likewise.
8878 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8879 <kernel-features.h>.
8880 (__ASSUME_ATFCTS): Do not undefine and redefine.
8881 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8882 (__have_atfcts): Remove conditional definition.
8883 (__fxstatat([__NR_fstatat64]: Make code unconditional.
8884 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8885 unreachable if [__ASSUME_ATFCTS].
8886 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8887 not undefine and redefine.
8888 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8889 <kernel-features.h>.
8890 (faccessat) [__NR_faccessat]: Make code unconditional.
8891 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8892 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8893 <kernel-features.h>.
8894 (fchmodat) [__NR_fchmodat]: Make code unconditional.
8895 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8896 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8897 <kernel-features.h>.
8898 (fchownat) [__NR_fchownat]: Make code unconditional.
8899 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8900 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8901 <kernel-features.h>.
8902 (futimesat) [__NR_futimesat]: Make code unconditional.
8903 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8904 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8905 <kernel-features.h>.
8906 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8907 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8908 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8909 <kernel-features.h>.
8910 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8911 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8912 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8913 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8914 <kernel-features.h>.
8915 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8916 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8917 * sysdeps/unix/sysv/linux/linkat.c: Do not include
8918 <kernel-features.h>.
8919 (linkat) [__NR_linkat]: Make code unconditional.
8920 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8921 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8922 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8923 <kernel-features.h>.
8924 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8925 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8926 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8927 <kernel-features.h>.
8928 (mkdirat) [__NR_mkdirat]: Make code unconditional.
8929 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8930 * sysdeps/unix/sysv/linux/openat.c: Do not include
8931 <kernel-features.h>.
8932 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8933 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8934 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8935 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8936 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8937 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8938 <kernel-features.h>.
8939 (readlinkat) [__NR_readlinkat]: Make code unconditional.
8940 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
8941 result of INLINE_SYSCALL directly, not via int variable.
8942 * sysdeps/unix/sysv/linux/renameat.c: Do not include
8943 <kernel-features.h>.
8944 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8945 (renameat) [__NR_renameat]: Make code unconditional.
8946 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8947 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8948 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8949 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8950 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8951 (__ASSUME_ATFCTS): Do not undefine and redefine.
8952 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8953 <kernel-features.h>.
8954 (symlinkat) [__NR_symlinkat]: Make code unconditional.
8955 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8956 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8957 <kernel-features.h>.
8958 (unlinkat) [__NR_unlinkat]: Make code unconditional.
8959 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8960 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8961 (__ASSUME_ATFCTS): Do not undefine and redefine.
8962 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8963 <kernel-features.h>.
8964 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8965 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8966 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8967 <kernel-features.h>.
8968 (__xmknodat) [__NR_mknodat]: Make code unconditional.
8969 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8970
8971 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8972
8973 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8974
8975 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
8976
8977 [BZ #17069]
8978 * posix/regcomp.c (parse_reg_exp): Deallocate partially
8979 constructed tree before returning error.
8980 * posix/bug-regexp36.c: Expand test case.
8981
8982 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8983
8984 [BZ #6803]
8985 * math/libm-test.inc (scalbln_test_date):
8986 Add errno expectations.
8987 * math/w_scalblnf.c: New File.
8988 Add wrapper which checks for setting errno to ERANGE.
8989 Add weak_alias for corresponding scalbln function.
8990 * math/w_scalbln.c: Likewise.
8991 * math/w_scalblnl.c: Likewise.
8992 * math/Makefile (libm-calls): Add w_scalbln.
8993 * sysdeps/ieee754/flt-32/s_scalblnf.c:
8994 Remove weak_alias for corresponding scalbln function.
8995 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8996 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8997 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8998 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8999 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9000 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9001 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9002 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9003 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9004 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9005 Remove long_double_symbol for scalblnl function in libm, libc.
9006 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9007 Add wrapper which checks for setting errno to ERANGE.
9008 Add long_double_symbol for scalblnl function in libm, libc.
9009 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9010 Remove long_double_symbol for scalblnl in libm.
9011 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9012 Add wrapper which checks for setting errno to ERANGE.
9013 Add long_double_symbol for scalblnl function in libm.
9014 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9015 Do not use wrapper because of own implementation.
9016
9017 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9018
9019 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9020 3 bytes for __pad1 for x32.
9021 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9022
9023 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9024 H.J. Lu <hongjiu.lu@intel.com>
9025
9026 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9027 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9028 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9029 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9030 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9031
9032 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9033
9034 [BZ #17069]
9035 * posix/regcomp.c (parse_expression): Deallocate partially
9036 constructed tree before returning error.
9037 * posix/Makefile.c (tests): Add bug-regex36.
9038 (generated): Add bug-regex36.mtrace.
9039 (tests-special): Add $(objpfx)bug-regex36-mem.out
9040 (bug-regex36-ENV): New variable.
9041 ($(objpfx)bug-regex36-mem.out): New rule.
9042 * posix/bug-regex36.c: New file.
9043
9044 2014-06-19 Will Newton <will.newton@linaro.org>
9045
9046 * malloc/malloc.c (systrim): If extra is zero then return
9047 early.
9048
9049 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9050
9051 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9052
9053 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
9054
9055 * sysdeps/aarch64/strchr.S: New file.
9056
9057 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9058
9059 [BZ #17022]
9060 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9061 from arguments -2 or below.
9062 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9063 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9064
9065 2014-06-18 Andreas Schwab <schwab@suse.de>
9066
9067 [BZ #17062]
9068 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9069 of a bracket expr not to run off the end of the string.
9070 * posix/Makefile (tests): Add tst-fnmatch3.
9071 * posix/tst-fnmatch3.c: New file.
9072
9073 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9074
9075 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9076 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9077 [$(cross-compiling) = no]: Likewise.
9078 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9079 [$(cross-compiling) = no]: Likewise.
9080
9081 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9082
9083 [BZ #17031]
9084 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9085 double, adjusted for any remainder from the high double.
9086 * math/libm-test.inc (nearbyint): Add tests.
9087 (rint): Likewise.
9088
9089 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9090
9091 * nptl/sysdeps/powerpc/Makefile: Moved ...
9092 * sysdeps/powerpc/nptl/Makefile: ... here.
9093 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9094 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9095 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9096 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9097 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9098 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9099 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9100 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9101 * nptl/sysdeps/powerpc/tls.h: Moved ...
9102 * sysdeps/powerpc/nptl/tls.h: ... here.
9103
9104 2014-06-16 Joseph Myers <joseph@codesourcery.com>
9105
9106 [BZ #16681]
9107 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9108 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9109 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9110 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9111 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9112 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9113 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9114 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9115 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9116
9117 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9118
9119 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9120
9121 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9122
9123 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9124 defined operator.
9125
9126 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9127 $TIMEOUTFACTOR.
9128
9129 2014-06-16 Florian Weimer <fweimer@redhat.com>
9130
9131 [BZ #17058]
9132 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9133 non-executed part of the test.
9134
9135 2014-06-16 Andreas Schwab <schwab@suse.de>
9136
9137 * string/bits/string2.h (strdup, strndup): Update feature guard.
9138
9139 2014-06-14 David S. Miller <davem@davemloft.net>
9140
9141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9142
9143 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9144
9145 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9146 that was previously under [RESET_PID].
9147 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9148
9149 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9150 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9151 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9152 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9153 (__libc_vfork): New strong alias.
9154 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9155
9156 2014-06-14 Andi Kleen <ak@linux.intel.com>
9157
9158 * sysdeps/generic/elide.h: New file.
9159
9160 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9161
9162 * Makefile (installed-headers): Adjust path of pthread.h header.
9163
9164 2014-06-13 Roland McGrath <roland@hack.frob.com>
9165
9166 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9167 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9168 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9169 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9170
9171 * nptl/sysdeps/s390/Makefile: Moved ...
9172 * sysdeps/s390/nptl/Makefile: ... here.
9173 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9174 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9175 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9176 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9177 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9178 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9179 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9180 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9181 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9182 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9183 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9184 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9185 * nptl/sysdeps/s390/tls.h: Moved ...
9186 * sysdeps/s390/nptl/tls.h: ... here.
9187
9188 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9189 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9190
9191 2014-06-13 David S. Miller <davem@davemloft.net>
9192
9193 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9194 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9195 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9196 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9197 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9199 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9200 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9201 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9202 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9203 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9204 Remove RESET_PID cpp guards.
9205 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9206 Remove RESET_PID cpp guards.
9207 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9208
9209 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9210
9211 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9212 __sp to uintptr_t.
9213
9214 2014-06-13 Andi Kleen <ak@linux.intel.com>
9215
9216 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9217 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9218 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9219 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9220 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9221 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9222 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9223 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9224 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9225 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9226 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9227 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9228 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9229 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9230 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9231 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9232 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9233 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9234 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9235 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9236
9237 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9238 (pthread_rwlock_rdlock): Add elision.
9239 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9240 (pthread_rwlock_wrlock): Add elision.
9241 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9242 (pthread_rwlock_trywrlock): Add elision.
9243 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9244 (pthread_rwlock_tryrdlock): Add elision.
9245 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9246 (pthread_rwlock_tryrdlock): Add elision unlock.
9247 * nptl/sysdeps/pthread/pthread.h:
9248 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9249 (PTHREAD_RWLOCK_INITIALIZER,
9250 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9251 Handle new elision field.
9252 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9253 * sysdeps/arm/nptl/bits/pthreadtypes.h
9254 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9255 * sysdeps/sh/nptl/bits/pthreadtypes.h
9256 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9257 * sysdeps/tile/nptl/bits/pthreadtypes.h
9258 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9259 * sysdeps/a/nptl/bits/pthreadtypes.h
9260 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9261 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9262 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9263 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9264 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9265 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9266 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9267 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9268 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9269 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9270 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9271 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9272 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9273 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9274 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9275 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9276 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9277 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9278 (elision_init): Set try_xbegin to zero when no RTM.
9279 * sysdeps/x86/nptl/bits/pthreadtypes.h
9280 (pthread_rwlock_t): Change __pad1 to __rwelision.
9281 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9282
9283 2014-06-13 Andi Kleen <ak@linux.intel.com>
9284
9285 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9286 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9287 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9288 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9289
9290 2014-06-13 Meador Inge <meadori@codesourcery.com>
9291
9292 [BZ #16996]
9293 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9294 that the cached result has been set before returning it.
9295
9296 2014-06-12 Roland McGrath <roland@hack.frob.com>
9297
9298 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9299 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9300 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9301 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9302 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9303 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9304
9305 * nptl/sysdeps/sparc/Makefile: Moved ...
9306 * sysdeps/sparc/nptl/Makefile: ... here.
9307 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9308 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9309 * nptl/sysdeps/sparc/tls.h: Moved ...
9310 * sysdeps/sparc/nptl/tls.h: ... here.
9311 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9312 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9313 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9314 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9315 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9316 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9317 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9318 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9319 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9320 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9321 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9322 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9323 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9324 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9325 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9326 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9327 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9328 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9329 Update #include.
9330 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9331 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9332 Update #include.
9333 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9334 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9335 Update #include.
9336 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9337 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9338 Update #include.
9339
9340 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9341
9342 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9343 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9344
9345 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9346 (struct list_links): Type removed.
9347 (struct thread_node, struct timer_node): Replace struct list_links
9348 with struct list_head.
9349 (list_unlink_ip): Likewise.
9350 * sysdeps/pthread/timer_routines.c
9351 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9352 (list_append, list_insbefore): Likewise.
9353 (list_init): Function removed.
9354 (thread_init, init_module): Use INIT_LIST_HEAD instead.
9355 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9356 * sysdeps/pthread/Makefile: ... here, new file.
9357
9358 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9359 * sysdeps/nptl/Implies: ... here.
9360 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9361 * nptl/sysdeps/pthread/list.h: Moved ...
9362 * include/list.h: ... here.
9363 * nptl/sysdeps/pthread/createthread.c: Moved ...
9364 * nptl/createthread.c: ... here.
9365 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9366 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9367 * nptl/pt-longjmp.c: ... here.
9368 * nptl/sysdeps/pthread/Makefile: Moved ...
9369 * sysdeps/nptl/Makefile: ... here.
9370 * nptl/sysdeps/pthread/Subdirs: Moved ...
9371 * sysdeps/nptl/Subdirs: ... here.
9372 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9373 * sysdeps/nptl/aio_misc.h: ... here.
9374 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9375 * sysdeps/nptl/bits/libc-lock.h: ... here.
9376 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9377 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9378 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9379 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9380 * nptl/sysdeps/pthread/configure: Moved ...
9381 * sysdeps/nptl/configure: ... here.
9382 * nptl/sysdeps/pthread/configure.ac: Moved ...
9383 * sysdeps/nptl/configure.ac: ... here.
9384 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9385 * sysdeps/nptl/gai_misc.h: ... here.
9386 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9387 * sysdeps/nptl/librt-cancellation.c: ... here.
9388 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9389 * sysdeps/nptl/malloc-machine.h: ... here.
9390 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9391 * sysdeps/nptl/pthread-functions.h: ... here.
9392 * nptl/sysdeps/pthread/pthread.h: Moved ...
9393 * sysdeps/nptl/pthread.h: ... here.
9394 * nptl/sysdeps/pthread/setxid.h: Moved ...
9395 * sysdeps/nptl/setxid.h: ... here.
9396 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9397 * sysdeps/nptl/sigfillset.c: ... here.
9398 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9399 * sysdeps/nptl/tcb-offsets.h: ... here.
9400 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9401 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9402 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9403 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9404 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9405 * sysdeps/pthread/allocalim.h: ... here.
9406 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9407 * sysdeps/pthread/bits/sigthread.h: ... here.
9408 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9409 * sysdeps/pthread/flockfile.c: ... here.
9410 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9411 * sysdeps/pthread/ftrylockfile.c: ... here.
9412 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9413 * sysdeps/pthread/funlockfile.c: ... here.
9414 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9415 * sysdeps/pthread/posix-timer.h: ... here.
9416 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9417 * sysdeps/pthread/timer_create.c: ... here.
9418 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9419 * sysdeps/pthread/timer_delete.c: ... here.
9420 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9421 * sysdeps/pthread/timer_getoverr.c: ... here.
9422 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9423 * sysdeps/pthread/timer_gettime.c: ... here.
9424 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9425 * sysdeps/pthread/timer_routines.c: ... here.
9426 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9427 * sysdeps/pthread/timer_settime.c: ... here.
9428 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9429 * sysdeps/pthread/tst-timer.c: ... here.
9430 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9431 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9432
9433 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9434 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9435
9436 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9437 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9438 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9439 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9440 Update #include target.
9441 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9442 * sysdeps/i386/i686/nptl/Makefile: ... here.
9443 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9444 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9445 Update #include target.
9446 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9447 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9448 * nptl/sysdeps/i386/Makefile: Moved ...
9449 * sysdeps/i386/nptl/Makefile: ... here.
9450 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9451 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9452 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9453 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9454 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9455 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9456 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9457 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9458 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9459 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9460 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9461 * nptl/sysdeps/i386/tls.h: Moved ...
9462 * sysdeps/i386/nptl/tls.h: ... here.
9463
9464 * sysdeps/sh/Makefile [$(subdir) = csu]
9465 (gen-as-const-headers): Add tcb-offsets.sym.
9466 * nptl/sysdeps/sh/Makefile: File removed.
9467 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9468 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9469 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9470 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9471 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9472 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9473 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9474 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9475 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9476 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9477 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9478 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9479 * nptl/sysdeps/sh/tls.h: Moved ...
9480 * sysdeps/sh/nptl/tls.h: ... here.
9481 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9482 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9483 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9484 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9485 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9486 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9487 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9488 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9489 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9490 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9491 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9492 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9493 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9494 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9495 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9496 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9497 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9498 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9499 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9500 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9501 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9502 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9503 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9504 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9505 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9506 Moved ...
9507 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9508 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9509 Moved ...
9510 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9511 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9512 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9513 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9514 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9515 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9516 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9517 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9518 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9519 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9520 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9521 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9522 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9523 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9524 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9525 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9526 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9527 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9528 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9529
9530 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9531
9532 * posix/spawn_faction_addopen.c: Include string.h.
9533
9534 2014-06-11 Roland McGrath <roland@hack.frob.com>
9535
9536 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9537 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9538 * nptl/sysdeps/x86_64/Makefile: Moved ...
9539 * sysdeps/x86_64/nptl/Makefile: ... here.
9540 * nptl/sysdeps/x86_64/configure: Moved ...
9541 * sysdeps/x86_64/nptl/configure: ... here.
9542 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9543 * sysdeps/x86_64/nptl/configure.ac: ... here.
9544 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9545 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9546 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9547 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9548 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9549 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9550 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9551 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9552 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9553 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9554 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9555 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9556 * nptl/sysdeps/x86_64/tls.h: Moved ...
9557 * sysdeps/x86_64/nptl/tls.h: ... here.
9558 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9559 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9560 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9561 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9562
9563 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9564
9565 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9566
9567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9568
9569 2014-06-11 Joseph Myers <joseph@codesourcery.com>
9570
9571 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9572 type.
9573 [POSIX] (off_t): Likewise.
9574 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9575 [POSIX] (S_ISBLK): Require macro.
9576 [POSIX] (S_ISCHR): Likewise.
9577 [POSIX] (S_ISDIR): Likewise.
9578 [POSIX] (S_ISFIFO): Likewise.
9579 [POSIX] (S_ISREG): Likewise.
9580 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9581 optional-macro.
9582 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9583 type.
9584 [POSIX] (time_t): Likewise.
9585 [POSIX] (timer_t): Likewise.
9586
9587 2014-06-11 Florian Weimer <fweimer@redhat.com>
9588
9589 [BZ #17048]
9590 * posix/spawn_int.h (struct __spawn_action): Make the path string
9591 non-const to support deallocation.
9592 * posix/spawn_faction_addopen.c
9593 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9594 * posix/spawn_faction_destroy.c
9595 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9596 path in all spawn_do_open actions.
9597 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9598 posix_spawn_file_actions_addopen.
9599
9600 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9601
9602 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9603 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9604 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9605 conditional code always true.
9606 (__libc_vfork): New alias.
9607
9608 2014-06-11 Roland McGrath <roland@hack.frob.com>
9609
9610 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9611 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9612
9613 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9614
9615 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9616 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9617
9618 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9619 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9620
9621 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9622 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9623
9624 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9625
9626 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9627 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9628 multiarch strcmp for PPC64.
9629 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9630 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9632 multiarch optimizations.
9633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9634 (__libc_ifunc_impl_list): Likewise.
9635
9636 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9637
9638 * benchtests/scripts/validate_benchout.py: New script.
9639 * benchtests/Makefile (bench-func): Call it.
9640 * benchtests/scripts/benchout.schema.json: New file.
9641
9642 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9643
9644 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9645 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9646 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9647 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9648 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9649 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9650 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9651 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9652 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9653 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9654 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9655 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9656 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9657 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9658 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9659 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9661 Moved ...
9662 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9663 ... here.
9664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9665 Moved ...
9666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9668 Moved ...
9669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9670 ... here.
9671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9672 Moved ...
9673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9674 ... here.
9675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9676 Moved ...
9677 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9679 Moved ...
9680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9681 ... here.
9682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9683 Moved ...
9684 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9685 ... here.
9686 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9687 Moved ...
9688 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9690 Moved ...
9691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9692 ... here.
9693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9694 Moved ...
9695 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9696 ... here.
9697 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9698 Moved ...
9699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9700 ... here.
9701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9702 Moved ...
9703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9705 Moved ...
9706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9707 ... here.
9708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9709 Moved ...
9710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9711 ... here.
9712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9713 Moved ...
9714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9715 ... here.
9716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9717 Moved ...
9718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9720 Moved ...
9721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9722 ... here.
9723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9724 Moved ...
9725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9726 ... here.
9727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9728 Moved ...
9729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9731 Moved ...
9732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9733 ... here.
9734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9735 Moved ...
9736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9738 Moved ...
9739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9741 Moved ...
9742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9743 ... here.
9744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9745 Moved ...
9746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9747 ... here.
9748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9749 Moved ...
9750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9751 ... here.
9752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9753 Moved ...
9754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9756 Moved ...
9757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9758 ... here.
9759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9760 Moved ...
9761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9762 ... here.
9763 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9764 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9765 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9766 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9767 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9768 Moved ...
9769 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9770 ... here.
9771 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9772 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9773 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9774 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9775 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9776 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9777 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9778 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9779 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9780 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9781 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9782 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9783 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9784 Moved ...
9785 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9786 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9787 Moved ...
9788 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9789 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9790 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9791 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9792 Moved ...
9793 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9794 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9795 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9796 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9797 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9798 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9799 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9800
9801 2014-06-10 Wilco <wdijkstr@arm.com>
9802
9803 * math/test-fenv-return.c: New file.
9804 * math/Makefile: Add new test test-fenv-return.
9805
9806 2014-06-10 Joseph Myers <joseph@codesourcery.com>
9807
9808 [BZ #17042]
9809 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9810 when x - 1 is zero.
9811 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9812 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9813 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9814 0.0L for an argument of 1.0L.
9815 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9816 Likewise.
9817 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9818 value when x - 1 is zero.
9819 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9820 * sysdeps/i386/fpu/libm-test-ulps: Update.
9821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9822
9823 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9824
9825 [BZ #15119]
9826 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9827
9828 2014-06-09 Roland McGrath <roland@hack.frob.com>
9829
9830 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9831 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9832
9833 2014-06-09 Roland McGrath <roland@hack.frob.com>
9834
9835 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9836 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9837
9838 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9839 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9840
9841 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9842 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9843
9844 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9845 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9846
9847 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9848 if not already defined.
9849 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9850 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9851 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9852 (TLS_INIT_TP): Use it.
9853 (TLS_DEFINE_INIT_TP): New macro.
9854 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9855
9856 2014-06-09 Joseph Myers <joseph@codesourcery.com>
9857
9858 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9859 constant.
9860 [POSIX] (IXANY): Likewise.
9861 [POSIX] (OLCUC): Likewise.
9862 [POSIX || POSIX2008] (CBAUD): Do not allow.
9863 [POSIX || POSIX2008] (DEFECHO): Likewise.
9864 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9865 [POSIX || POSIX2008] (ECHOKE): Likewise.
9866 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9867 [POSIX || POSIX2008] (EXTA): Likewise.
9868 [POSIX || POSIX2008] (EXTB): Likewise.
9869 [POSIX || POSIX2008] (FLUSHO): Likewise.
9870 [POSIX || POSIX2008] (LOBLK): Likewise.
9871 [POSIX || POSIX2008] (PENDIN): Likewise.
9872 [POSIX || POSIX2008] (SWTCH): Likewise.
9873 [POSIX || POSIX2008] (VDISCARD): Likewise.
9874 [POSIX || POSIX2008] (VDSUSP): Likewise.
9875 [POSIX || POSIX2008] (VLNEXT): Likewise.
9876 [POSIX || POSIX2008] (VREPRINT): Likewise.
9877 [POSIX || POSIX2008] (VSTATUS): Likewise.
9878 [POSIX || POSIX2008] (VWERASE): Likewise.
9879 (B*): Change to B[0123456789]*.
9880 * conform/data/time.h-data [POSIX || UNIX98]
9881 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9882 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9883 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9884 [POSIX] (tm_*): Do not allow.
9885
9886 2014-06-07 Joseph Myers <joseph@codesourcery.com>
9887
9888 * Makefile (install): Don't set LANGUAGE.
9889 * Makefile.in (install): Likewise.
9890 * assert/Makefile (test-assert-ENV): Remove variable.
9891 (test-assert-perr-ENV): Likewise.
9892 * elf/Makefile (neededtest4-ENV): Likewise.
9893 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9894 [$(cross-compiling) = no]: Don't set LANGUAGE.
9895 * io/ftwtest-sh (LANG): Remove variable.
9896 * libio/Makefile (tst-widetext-ENV): Likewise.
9897 * manual/install.texi (Running make install): Don't refer to
9898 environment settings for make install.
9899 * INSTALL: Regenerated.
9900 * nptl/tst-tls6.sh: Don't set LANG.
9901 * posix/globtest.sh (LANG): Remove variable.
9902 * string/Makefile (tester-ENV): Likewise.
9903 (inl-tester-ENV): Likewise.
9904 (noinl-tester-ENV): Likewise.
9905 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9906 [$(cross-compiling) = no]: Don't set LANGUAGE.
9907 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9908 without explicit environment settings.
9909
9910 2014-06-06 Roland McGrath <roland@hack.frob.com>
9911
9912 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9913 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9914 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9915 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9916
9917 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
9918
9919 * crypt/crypt-private.h [DOS]: Add some includes taken from the
9920 other files in the crypt directory.
9921 * crypt/crypt.c: Remove duplicate includes.
9922 * crypt/crypt-entry.c: Likewise.
9923 * crypt/crypt_util.c: Likewise.
9924
9925 2014-06-06 Joseph Myers <joseph@codesourcery.com>
9926
9927 * Makeconfig (run-program-env): New variable.
9928 (run-program-prefix-before-env): Likewise.
9929 (run-program-prefix-after-env): Likewise.
9930 (run-program-prefix): Define in terms of new variables.
9931 (built-program-cmd-before-env): New variable.
9932 (built-program-cmd-after-env): Likewise.
9933 (built-program-cmd): Define in terms of new variables.
9934 (test-program-prefix-before-env): New variable.
9935 (test-program-prefix-after-env): Likewise.
9936 (test-program-prefix): Define in terms of new variables.
9937 (test-program-cmd-before-env): New variable.
9938 (test-program-cmd-after-env): Likewise.
9939 (test-program-cmd): Define in terms of new variables.
9940 * Rules (make-test-out): Use $(run-program-env).
9941 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9942 (help): Do not mention environment variables. Mention
9943 --timeoutfactor option.
9944 (timeoutfactor): New variable.
9945 (blacklist_exports): Remove function.
9946 (exports): Remove variable.
9947 (command): Do not include ${exports}.
9948 * manual/install.texi (Configuring and compiling): Do not mention
9949 test wrappers preserving environment variables. Mention that last
9950 assignment to a variable must take precedence.
9951 * INSTALL: Regenerated.
9952 * benchtests/Makefile (run-bench): Use $(run-program-env).
9953 * catgets/Makefile ($(objpfx)test1.cat): Use
9954 $(built-program-cmd-before-env), $(run-program-env) and
9955 $(built-program-cmd-after-env).
9956 ($(objpfx)test2.cat): Do not specify environment variables
9957 explicitly.
9958 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9959 $(run-program-env) and $(built-program-cmd-after-env).
9960 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9961 $(run-program-env) and $(test-program-cmd-after-env).
9962 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9963 explicitly.
9964 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9965 run_program_env and test_program_cmd_after_env arguments.
9966 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9967 * elf/tst-pathopt.sh: Use run_program_env argument.
9968 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9969 $(test-wrapper-env) and $(run-program-env).
9970 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9971 run_program_env arguments.
9972 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9973 * intl/Makefile ($(objpfx)tst-gettext.out): Use
9974 $(test-program-prefix-before-env), $(run-program-env) and
9975 $(test-program-prefix-after-env).
9976 ($(objpfx)tst-gettext2.out): Likewise.
9977 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9978 run_program_env and test_program_prefix_after_env arguments.
9979 * intl/tst-gettext2.sh: Likewise.
9980 * intl/tst-gettext4.sh: Do not set environment variables
9981 explicitly.
9982 * intl/tst-gettext6.sh: Likewise.
9983 * intl/tst-translit.sh: Likewise.
9984 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9985 $(test-program-prefix-before-env), $(run-program-env) and
9986 $(test-program-prefix-after-env).
9987 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9988 run_program_env and test_program_prefix_after_env arguments.
9989 * math/Makefile (run-regen-ulps): Use $(run-program-env).
9990 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9991 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
9992 explicitly with each use of ${test_wrapper_env}.
9993 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9994 $(test-program-prefix-before-env), $(run-program-env) and
9995 $(test-program-prefix-after-env).
9996 * posix/tst-getconf.sh: Do not set environment variables
9997 explicitly.
9998 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9999 run_program_env and test_program_prefix_after_env arguments.
10000 * stdio-common/tst-printf.sh: Do not set environment variables
10001 explicitly.
10002 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10003 $(test-program-prefix-before-env), $(run-program-env) and
10004 $(test-program-prefix-after-env).
10005 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10006 run_program_env and test_program_prefix_after_env arguments.
10007 Split $test calls into $test_pre and $test.
10008 * timezone/Makefile (build-testdata): Use
10009 $(built-program-cmd-before-env), $(run-program-env) and
10010 $(built-program-cmd-after-env).
10011
10012 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10013
10014 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10015 strlen for non SHARED builds.
10016
10017 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10018
10019 * nptl/allocatestack.c (check_list): Inlined function...
10020 (__reclaim_stacks): ... here.
10021
10022 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10023
10024 [BZ #15698]
10025 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10026 memory overrun.
10027
10028 2014-06-05 Joseph Myers <joseph@codesourcery.com>
10029
10030 * Rules (make-test-out): Include
10031 LOCPATH=$(common-objpfx)localedata in default environment.
10032 * debug/Makefile (tst-chk1-ENV): Remove variable.
10033 (tst-chk2-ENV): Likewise.
10034 (tst-chk3-ENV): Likewise.
10035 (tst-chk4-ENV): Likewise.
10036 (tst-chk5-ENV): Likewise.
10037 (tst-chk6-ENV): Likewise.
10038 (tst-lfschk1-ENV): Likewise.
10039 (tst-lfschk2-ENV): Likewise.
10040 (tst-lfschk3-ENV): Likewise.
10041 (tst-lfschk4-ENV): Likewise.
10042 (tst-lfschk5-ENV): Likewise.
10043 (tst-lfschk6-ENV): Likewise.
10044 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10045 (tst-iconv7-ENV): Likewise.
10046 * intl/Makefile (LOCPATH-ENV): Likewise.
10047 (tst-codeset-ENV): Likewise.
10048 (tst-gettext3-ENV): Likewise.
10049 (tst-gettext5-ENV): Likewise.
10050 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10051 (tst-fopenloc-ENV): Likewise.
10052 (tst-fgetws-ENV): Remove variable.
10053 (tst-ungetwc1-ENV): Likewise.
10054 (tst-ungetwc2-ENV): Likewise.
10055 (bug-ungetwc2-ENV): Likewise.
10056 (tst-swscanf-ENV): Likewise.
10057 (bug-ftell-ENV): Likewise.
10058 (tst-fgetwc-ENV): Likewise.
10059 (tst-fseek-ENV): Likewise.
10060 (tst-ftell-partial-wide-ENV): Likewise.
10061 (tst-ftell-active-handler-ENV): Likewise.
10062 (tst-ftell-append-ENV): Likewise.
10063 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10064 (tst-regexloc-ENV): Likewise.
10065 (bug-regex1-ENV): Likewise.
10066 (tst-regex-ENV): Likewise.
10067 (tst-regex2-ENV): Likewise.
10068 (bug-regex5-ENV): Likewise.
10069 (bug-regex6-ENV): Likewise.
10070 (bug-regex17-ENV): Likewise.
10071 (bug-regex18-ENV): Likewise.
10072 (bug-regex19-ENV): Likewise.
10073 (bug-regex20-ENV): Likewise.
10074 (bug-regex22-ENV): Likewise.
10075 (bug-regex23-ENV): Likewise.
10076 (bug-regex25-ENV): Likewise.
10077 (bug-regex26-ENV): Likewise.
10078 (bug-regex30-ENV): Likewise.
10079 (bug-regex32-ENV): Likewise.
10080 (bug-regex33-ENV): Likewise.
10081 (bug-regex34-ENV): Likewise.
10082 (bug-regex35-ENV): Likewise.
10083 (tst-rxspencer-ENV): Likewise.
10084 (tst-rxspencer-no-utf8-ENV): Likewise.
10085 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10086 (tst-sscanf-ENV): Likewise.
10087 (tst-swprintf-ENV): Likewise.
10088 (tst-swscanf-ENV): Likewise.
10089 (test-vfprintf-ENV): Likewise.
10090 (scanf13-ENV): Likewise.
10091 (bug14-ENV): Likewise.
10092 (tst-grouping-ENV): Likewise.
10093 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10094 (tst-strtod3-ENV): Likewise.
10095 (tst-strtod4-ENV): Likewise.
10096 (tst-strtod5-ENV): Likewise.
10097 (testmb2-ENV): Likewise./
10098 * string/Makefile (tst-strxfrm-ENV): Likewise.
10099 (tst-strxfrm2-ENV): Likewise.
10100 (bug-strcoll1-ENV): Likewise.
10101 (test-strcasecmp-ENV): Likewise.
10102 (test-strncasecmp-ENV): Likewise.
10103 * time/Makefile (tst-strptime-ENV): Likewise.
10104 (tst-ftime_l-ENV): Likewise.
10105 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10106 (tst-mbrtowc-ENV): Likewise.
10107 (tst-wcrtomb-ENV): Likewise.
10108 (tst-mbrtowc2-ENV): Likewise.
10109 (tst-c16c32-1-ENV): Likewise.
10110 (tst-mbsnrtowcs-ENV): Likewise.
10111
10112 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10113
10114 * manual/resource.texi (How to get information about the memory
10115 subsystem?): Fix typo.
10116 Reported by Peon de la Parra Ivan <peon@keba.com>
10117
10118 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10119
10120 [BZ #16882]
10121 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10122 (pthread_spin_lock): Branch out of spin loop to proper location.
10123 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10124 (pthread_spin_lock): Likewise.
10125
10126 * nptl/tst-spin4.c: New test.
10127 * nptl/Makefile (tests): Add tst-spin4.
10128
10129 2014-06-03 Andreas Schwab <schwab@suse.de>
10130
10131 [BZ #15946]
10132 * resolv/res_send.c (send_dg): Reload file descriptor after
10133 calling reopen.
10134
10135 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10136
10137 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10138
10139 2014-06-03 Richard Henderson <rth@redhat.com>
10140
10141 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10142 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10143 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10144 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10145 in the SAVE_PID block.
10146 (__libc_vfork): New alias.
10147 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10148
10149 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10150 child in registers, not on the stack. Remove RESET_PID conditionals.
10151 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10152
10153 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10154
10155 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10156
10157 2014-06-03 Wilco <wdijkstr@arm.com>
10158
10159 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10160 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10161 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10162 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10163 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10164 Likewise.
10165
10166 2014-06-03 Wilco <wdijkstr@arm.com>
10167
10168 * sysdeps/aarch64/fpu/math_private.h
10169 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10170 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10171 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10172 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10173 Fix declarations.
10174
10175 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10176
10177 * crypt/crypt-private.h: Include ufc-crypt.h.
10178 (__b64_from_24bit): Declare extern.
10179 * crypt/crypt_util.c(__b64_from_24bit): New function.
10180 (b64t): New static const variable.
10181 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10182 (b64t): Remove variable.
10183 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10184 * crypt/sha256-crypt.c: Include crypt-private.h.
10185 (b64t): Remove variable.
10186 (__sha256_crypt_r): Remove b64_from_24bit and replace
10187 with __b64_from_24bit.
10188 * crypt/sha512-crypt.c: Likewise.
10189
10190 2014-06-02 Roland McGrath <roland@hack.frob.com>
10191
10192 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10193 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10194 Label the code __libc_vfork rather than __vfork.
10195 [!NOT_IN_libc] (vfork): Define as weak alias.
10196 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10197 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10198 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10199
10200 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10201
10202 * malloc/malloc.c (malloc_info): Fix format specifier for
10203 n_mmaps.
10204
10205 2014-06-02 Wilco <wdijkstr@arm.com>
10206
10207 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10208 FPCR write.
10209
10210 2014-06-02 Wilco <wdijkstr@arm.com>
10211
10212 [BZ #17009]
10213 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10214 Rewrite to reduce FPCR/FPSR accesses.
10215
10216 2014-06-01 David S. Miller <davem@davemloft.net>
10217
10218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10219
10220 2014-05-31 David S. Miller <davem@davemloft.net>
10221
10222 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10223 to occur in round to nearest mode when |x| >= 2.0
10224
10225 2014-05-30 Richard Henderson <rth@twiddle.net>
10226
10227 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10228 (PSEUDO_RET_NOERRNO): Remove.
10229 (ret): Don't redefine.
10230 (ret_NOERRNO): Define in terms of ret.
10231 (ret_ERRVAL): Likewise.
10232
10233 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10234 use of PSEUDO_RET; perform the error check directly.
10235
10236 2014-05-30 Marko Myllynen <myllynen@redhat.com>
10237
10238 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10239 with __int128_t.
10240
10241 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10242
10243 * malloc/malloc (malloc_info): Fix formatting.
10244
10245 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10246 Roland McGrath <roland@hack.frob.com>
10247
10248 * malloc/malloc (malloc_info): Also print mmapped statistics.
10249
10250 2014-05-30 Roland McGrath <roland@hack.frob.com>
10251
10252 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10253 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10254
10255 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
10256
10257 * malloc/malloc.c (malloc_info): Inline mi_arena.
10258
10259 2014-05-29 Richard Henderson <rth@twiddle.net>
10260
10261 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10262 Remove comma before expanding ASM_ARGS_##nr.
10263 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10264 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10265 of ASM_ARGS_##nr.
10266 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10267 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10268 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10269 (ASM_ARGS_1): Add leading comma.
10270
10271 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10272 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10273 to __errno_location.
10274 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10275 Remove the expected plt for __errno_location.
10276
10277 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10278 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10279 call to __read_tp.
10280
10281 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10282 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10283 it and break it down.
10284 (DOCARGS_0, DOCARGS_1): Do nothing.
10285 (DOCARGS_2): Update to store into the new stack frame.
10286 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10287 (UNDOCARGS_1): Update to restore from the new stack frame.
10288 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10289 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10290
10291 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10292 (SINGLE_THREAD_P): New parameter for result regno.
10293 (PSEUDO): Update to match; use cbz instead of beq.
10294
10295 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10296 Use ENTRY to define the _nocancel entry point. Share the syscall
10297 and syscall error check paths with the cancel path.
10298 (PSEUDO_END): New.
10299
10300 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10301 whitespace; tabs before and after asm mnemonics.
10302
10303 2014-05-29 Eric Wong <normalperson@yhbt.net>
10304
10305 [BZ #15132]
10306 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10307 Call fstat64 or stat64 internally, depending on arguments passed.
10308 Replace stat buffer argument with file descriptor argument.
10309 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10310 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10311 Pass fd to __internal_statvfs instead of calling fstat64.
10312 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10313 Pass fd to __internal_statvfs64 instead of calling fstat64.
10314 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10315 Pass -1 to __internal_statvfs instead of calling stat64.
10316 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10317 Pass -1 to __internal_statvfs64 instead of calling stat64.
10318
10319 2014-05-28 Roland McGrath <roland@hack.frob.com>
10320
10321 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10322 that was previously under [RESET_PID].
10323 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10324
10325 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10326 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10327
10328 2014-05-27 Roland McGrath <roland@hack.frob.com>
10329
10330 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10331
10332 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10333 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10334
10335 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
10336
10337 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10338
10339 2014-05-27 Andreas Schwab <schwab@suse.de>
10340
10341 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10342 TLS_INIT_TP macro.
10343 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10344 * elf/rtld.c (init_tls, dl_main): Likewise.
10345 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10346 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10347 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10348 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10349 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10350 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10351 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10352 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10353 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10354 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10355 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10356 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10357 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10358 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10359 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10360 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10361 * sysdeps/generic/tls.h: Update description.
10362
10363 2014-05-27 Will Newton <will.newton@linaro.org>
10364
10365 [BZ #16990]
10366 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10367 and restore r2 rather than just restoring.
10368
10369 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10370
10371 [BZ #16724]
10372 * libio/tst-ftell-append.c: New test case.
10373 * libio/Makefile (tests): Add test case.
10374 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10375 append mode.
10376 * libio/wfileops.c (do_ftell_wide): Likewise.
10377
10378 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10379
10380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10381
10382 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10383 ...
10384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10386 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10387 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10388 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10389 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10390 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10391 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10392 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10393 Moved ...
10394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10395 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10396 Moved ...
10397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10398 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10399 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10400 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10401 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10402 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10403 ...
10404 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10405 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10406 Moved ...
10407 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10408 here.
10409 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10410 ...
10411 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10412 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10413 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10414
10415 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10416 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10417 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10418 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10419
10420 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10421 merge into ...
10422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10423 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10424 ...
10425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10426 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10427 ...
10428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10429 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10430 Moved ...
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10432 here.
10433 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10434 Moved ...
10435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10436 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10437 Moved ...
10438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10439
10440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10441 conditional [RESET_PID].
10442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10443 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10444 removed.
10445 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10446 removed.
10447
10448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10449 <tcb-offsets.h>.
10450 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10451 (__libc_vfork): New strong alias.
10452 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10453 removed.
10454 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10455 Removed.
10456
10457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10458 <tcb-offsets.h>.
10459 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10460 (__libc_vfork): New strong alias.
10461 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10462 removed.
10463 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10464 removed.
10465
10466 2014-05-26 Carlos O'Donell <carlos@redhat.com>
10467
10468 * malloc/malloc.c (mi_arena): New function.
10469 (malloc_info): Remove nested function mi_arena. Call non-nosted
10470 function mi_arena.
10471
10472 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10473
10474 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10475 by insrwi.
10476 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10477 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10478 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10479 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10480 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10481 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10482 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10483
10484 2014-05-26 Andreas Schwab <schwab@suse.de>
10485
10486 [BZ #16984]
10487 * locale/programs/repertoire.c (repertoire_read): Add slash
10488 between I18NPATH element and file name.
10489 * locale/programs/locfile.c (locfile_read): Likewise.
10490
10491 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10492
10493 * nptl/pthread_mutexattr_settype.c
10494 (__pthread_mutexattr_settype):
10495 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10496
10497 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10498
10499 * nptl/tst-mutex5 (do_test):
10500 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10501
10502 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10503
10504 * benchtests/README: Document 'init' directive.
10505 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10506 BENCH_INIT.
10507 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10508 (parse_file): Recognize 'init' directive.
10509
10510 2014-05-26 Kyle McMartin <kyle@redhat.com>
10511
10512 [BZ #16796]
10513 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10514 alignment of struct pthread.
10515
10516 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10517
10518 [BZ #16878]
10519 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10520 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10521 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10522 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10523
10524 2014-05-25 Richard Henderson <rth@twiddle.net>
10525
10526 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10527 (SINGLE_THREAD_P_PIC): Remove.
10528 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10529 (SINGLE_THREAD_P_PIC): Remove.
10530
10531 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10532 branch to syscall error ...
10533 (PSEUDO): ... here.
10534 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10535 from __local_syscall_error to .Lsyscall_error.
10536 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10537 (SYSCALL_ERROR): Update label name.
10538
10539 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10540 Do not use DOARGS/UNDOARGS.
10541 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10542 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10543 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10544 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10545 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10546
10547 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10548 block comment.
10549
10550 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10551 define if !NOT_IN_libc.
10552 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10553 define with non-default symbol versions.
10554
10555 2014-05-23 Richard Henderson <rth@twiddle.net>
10556
10557 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10558 (vfork, __vfork): Define via compat_symbol.
10559
10560 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10561 [!HAVE_IFUNC] (vfork_compat): Remove.
10562 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10563
10564 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10565
10566 [BZ #16978]
10567 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10568 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10569 variable.
10570
10571 2014-05-23 Richard Henderson <rth@twiddle.net>
10572
10573 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10574 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10575 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10576 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10577
10578 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10579 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10580 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10581 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10582 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10583 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10584 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10585 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10586 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10587 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10588 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10589 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10590 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10591 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10592 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10593 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10594 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10595 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10596 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10597 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10598 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10599 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10600 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10601 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10602 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10603 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10604 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10605 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10606 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10607 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10608 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10609 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10610 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10611 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10612 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10613 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10614 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10615 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10616 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10617 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10618 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10619 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10620 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10621 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10622 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10623 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10624 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10625 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10626 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10627 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10628 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10629 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10630 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10631 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10632 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10633 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10634
10635 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10636 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10637 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10638 before exiting on error.
10639 (__libc_vfork): New strong alias.
10640 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10641 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10642
10643 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10644 that was previously under [RESET_PID].
10645 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10646
10647 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10648
10649 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10650
10651 [BZ #16977]
10652 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10653 value when x - 1 is zero.
10654 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10655 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10656 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10657 0.0L for an argument of 1.0L.
10658 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10659 Likewise.
10660 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10661 value when x - 1 is zero.
10662 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10663 * sysdeps/i386/fpu/libm-test-ulps: Update.
10664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10665
10666 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10667
10668 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10669 alphasort and versionsort.
10670
10671 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10672
10673 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10674 macro.
10675 [copysignf]: Likewise.
10676
10677 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10678
10679 * crypt/md5-crypt.c: Fix formatting.
10680
10681 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10682
10683 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10684 (b64_from_24bit): New function.
10685
10686 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10687
10688 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10689 libc_hidden_builtin_def to ifunc.
10690 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10691 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10692
10693 2014-05-21 Roland McGrath <roland@hack.frob.com>
10694
10695 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10696 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10697
10698 2014-05-21 Joseph Myers <joseph@codesourcery.com>
10699
10700 * nscd/Depend (linuxthreads): Remove.
10701 (nptl): Add.
10702 * resolv/Depend (linuxthreads): Remove.
10703 * rt/Depend (linuxthreads): Remove.
10704
10705 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10706 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10707 $(common-objpfx)elf/.
10708 (link-libc-before-gnulib): Likewise.
10709 (elfobjdir): Remove variable.
10710 * Makefile (install): Use $(elf-objpfx) instead of
10711 $(common-objpfx)elf/.
10712 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10713 $(elfobjdir)/.
10714 (link-libc-deps): Likewise.
10715 ($(common-objpfx)libc.so): Likewise.
10716 ($(common-objpfx)linkobj/libc.so): Likewise.
10717 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10718 instead of $(common-objpfx)elf/.
10719 (symbolic-link-list): Likewise.
10720 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10721 [$(cross-compiling) = no]: Likewise.
10722 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10723 $(elfobjdir)/.
10724 (static-gnulib-arch): Likewise.
10725 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10726 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10727 $(common-objpfx)elf/.
10728
10729 2014-05-21 Richard Henderson <rth@redhat.com>
10730
10731 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10732 (SINGLE_THREAD_P): Use the correct width load. Fold
10733 into the ldr offset.
10734
10735 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10736 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10737
10738 2014-05-20 Joseph Myers <joseph@codesourcery.com>
10739
10740 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10741 (libgcc_s_resume): Use __attribute_used__.
10742 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10743 Likewise.
10744
10745 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10746
10747 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10748 optimization when used with float constants.
10749
10750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10751
10752 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10753
10754 [BZ #16915]
10755 * locale/nl_langinfo_l.c: Make direct reference to every
10756 _nl_current_CATEGORY symbol.
10757 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10758 (tests-static): Add tst-langinfo-static.
10759 (tests-special): Add tst-langinfo-static.out.
10760 ($(objpfx)tst-langinfo.out): Redirect output.
10761 ($(objpfx)tst-langinfo-static.out): New.
10762 * localedata/tst-langinfo.sh: Send output to stdout.
10763 * localedata/tst-langinfo-static.c: New file.
10764
10765 [BZ #16965]
10766 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10767 when the shift amount is modulo the limb size.
10768
10769 2014-05-20 Richard Henderson <rth@redhat.com>
10770
10771 [BZ #16967]
10772 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10773 Change type of sa_flags from unsigned int to int.
10774
10775 [BZ #16966]
10776 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10777
10778 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10779
10780 2014-05-20 Will Newton <will.newton@linaro.org>
10781
10782 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10783 Test the return value of the system call in the nocancel case.
10784
10785 2014-05-20 Will Newton <will.newton@linaro.org>
10786 Yvan Roux <yvan.roux@linaro.org>
10787
10788 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10789 #include of asm/ptrace.h.
10790 (PTRACE_GET_THREAD_AREA): Remove #undef.
10791 (PTRACE_GETHBPREGS): Likewise.
10792 (PTRACE_SETHBPREGS): Likewise.
10793 (struct user_regs_struct): New structure.
10794 (struct user_fpsimd_struct): New structure.
10795 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10796 #include of asm/ptrace.h and second #include of sys/user.h.
10797 (PTRACE_GET_THREAD_AREA): Remove #undef.
10798 (PTRACE_GETHBPREGS): Likewise.
10799 (PTRACE_SETHBPREGS): Likewise.
10800 (ELF_NGREG): Use new struct user_regs_struct.
10801 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10802
10803 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10804
10805 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10806 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10807
10808 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10809
10810 [BZ #16958]
10811 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10812 membar to avoid block loads/stores to overlap previous stores.
10813
10814 2014-05-17 Richard Henderson <rth@redhat.com>
10815
10816 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10817 Create the __##syscall_name##_nocancel entry point.
10818 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10819 Remove; let the sysdep-cancel.h code create it.
10820
10821 2014-05-17 David S. Miller <davem@davemloft.net>
10822
10823 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10824 Protect with __USE_GNU.
10825 (TIOCSET_TEMPT): Likewise.
10826 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10827 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10828 these are already provided in bits/ioctl-types.h
10829
10830 2014-05-16 Roland McGrath <roland@hack.frob.com>
10831
10832 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10833 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10834
10835 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10836 Use wait4 regardless of [__NR_waitpid].
10837
10838 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10839
10840 PR libgcc/60166
10841 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10842 (_FP_NANSIGN_Q): Set the quiet bit.
10843
10844 2014-05-16 Joseph Myers <joseph@codesourcery.com>
10845
10846 * benchtests/Makefile
10847 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10848 not $(common-objpfx)math/libm.so.
10849 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10850 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10851 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10852 $(common-objpfx)dlfcn/libdl.so.
10853 ($(objpfx)tst-audit8): Depend on $(libm), not
10854 $(common-objpfx)math/libm.so.
10855 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10856 not $(common-objpfx)dlfcn/libdl.so.
10857 * math/Makefile
10858 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10859 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10860 [$(build-shared) = yes].
10861 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10862 $(common-objpfx)nptl/libpthread.so.
10863 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10864 $(common-objpfx)math/libm.so$(libm.so-version) or
10865 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10866 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10867 $(common-objpfx)dlfcn/libdl.so.
10868 * setjmp/Makefile (link-libm): Remove variable.
10869 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10870 * stdio-common/Makefile (link-libm): Remove variable.
10871 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10872 * stdlib/Makefile (link-libm): Remove variable.
10873 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10874 ($(objpfx)tst-strtod-round): Likewise.
10875 ($(objpfx)tst-tininess): Likewise.
10876 ($(objpfx)tst-strtod-underflow): Likewise.
10877 ($(objpfx)tst-strtod6): Likewise.
10878 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10879 $(libdl), not $(common-objpfx)nptl/libpthread.so and
10880 $(common-objpfx)dlfcn/libdl.so.
10881
10882 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10883
10884 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10885 BSD terminal modes definitions.
10886
10887 2014-05-16 Roland McGrath <roland@hack.frob.com>
10888
10889 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10890 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10891
10892 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10893 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10894 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10895 Don't do #include_next.
10896 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10897 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10898 Don't do #include_next.
10899 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10900 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10901 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10902 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10903
10904 2014-05-16 Allan McRae <allan@archlinux.org>
10905
10906 * po/sv.po: Update Swedish translation from translation project.
10907
10908 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10909 in sed expression.
10910
10911 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
10912
10913 [BZ #16917]
10914 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10915 errno if the TIOCGPTN ioctl fails with an error different than
10916 EINVAL.
10917 * login/tst-ptsname.c: New file.
10918 * login/Makefile (tests): Add tst-ptsname.
10919
10920 [BZ #16943]
10921 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10922 and prlimit64.
10923
10924 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10925
10926 [BZ #16849]
10927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10928 herrno to return EAI_AGAIN.
10929
10930 2014-05-14 Roland McGrath <roland@hack.frob.com>
10931
10932 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10933 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10934 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10935 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10936 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10937 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10938 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10939 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10940 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10941 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10942 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10943 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10944 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10945 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10946 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10947 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10948 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10949 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10950 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10951 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10952 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10953 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10954 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10955 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10956 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10957 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10958 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10959 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10960 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10961 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10963 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10965 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10967 Moved ...
10968 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10970 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10972 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10974 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10976 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10978 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10980 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10982 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10984 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10986 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10988 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10990 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10992 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10994 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10996 Moved ...
10997 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10999 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11001 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11003 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11005 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11007 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11009 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11011 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11013 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11015 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11017 Moved ...
11018 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11020 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11021
11022 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11023 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11024 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11025 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11026 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11027 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11028 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11029 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11030 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11031 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11032 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11033 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11034 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11035 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11036 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11037 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11038 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11039 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11040 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11041 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11042 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11043 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11044 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11045 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11046 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11047 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11048 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11049 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11050 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11051 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11052 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11053
11054 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11055 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11056
11057 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11058 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11059 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11060 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11061 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11062 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11063 Moved ...
11064 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11065 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11066 Moved ...
11067 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11068 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11069 Moved ...
11070 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11071 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11072 Moved ...
11073 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11074 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11075 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11076 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11077 Moved ...
11078 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11079 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11080 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11081 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11082 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11083 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11084 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11085 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11086 Moved ...
11087 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11088 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11089 Moved ...
11090 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11091 ... here.
11092 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11093 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11094 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11095 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11096 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11097 Moved ...
11098 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11099 ... here.
11100 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11101 Moved ...
11102 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11103 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11104 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11105 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11106 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11107 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11108 Moved ...
11109 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11110 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11111 Moved ...
11112 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11113 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11114 Moved ...
11115 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11116 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11117 Moved ...
11118 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11119 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11120 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11121 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11122 Moved ...
11123 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11124 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11125 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11126 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11127 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11128 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11129 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11130 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11131 Moved ...
11132 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11133 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11134 Moved ...
11135 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11136 ... here.
11137 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11138 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11139 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11140 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11141 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11142 Moved ...
11143 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11144 ... here.
11145 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11146 Moved ...
11147 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11148 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11149 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11150 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11151 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11152 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11153 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11154 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11155 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11156 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11157 Moved ...
11158 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11159 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11160 Moved ...
11161 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11162 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11163 Moved ...
11164 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11165 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11166 Moved ...
11167 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11168 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11169 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11170 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11171 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11172 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11173 Moved ...
11174 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11175 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11176 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11177 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11178 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11179 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11180 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11181 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11182 Moved ...
11183 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11184 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11185 Moved ...
11186 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11187 ... here.
11188 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11189 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11190 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11191 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11192 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11193 Moved ...
11194 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11195 ... here.
11196 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11197 Moved ...
11198 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11199 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11200 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11201 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11202 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11203 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11204 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11205 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11206 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11207 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11208 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11209
11210 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11211 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11212
11213 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11214 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11215
11216 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11217 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11218 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11219 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11220 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11221 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11222 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11223 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11224 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11225 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11226 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11227 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11228 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11229 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11230 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11231 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11232 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11233 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11234 Moved ...
11235 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11236 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11237 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11238 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11239 Moved ...
11240 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11241 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11242 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11243 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11244 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11245 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11246 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11247 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11248 Moved ...
11249 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11250 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11251 Moved ...
11252 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11253 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11254 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11255 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11256 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11257 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11258 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11259 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11260 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11261 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11262 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11263 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11264 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11265 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11266 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11267 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11268 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11269
11270 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11271 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11272 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11273 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11274 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11275
11276 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11277 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11278 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11279 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11280 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11281 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11282 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11283 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11284 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11285 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11286
11287 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11288 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11289
11290 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11291 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11292 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11293 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11294 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11295 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11296 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11297 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11298 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11299 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11300 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11301 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11302 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11303 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11304 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11305 Update #include.
11306 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11307 Likewise.
11308 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11309 Likewise.
11310 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11311 Likewise.
11312 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11313 Likewise.
11314 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11315 Likewise.
11316 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11317 Likewise.
11318 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11319 Likewise.
11320 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11321 Likewise.
11322 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11323 Likewise.
11324 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11325 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11326 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11327 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11328 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11329 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11330 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11331 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11332 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11333 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11334 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11335 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11336 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11337 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11338 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
11339
11340 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11341 that was previously under [RESET_PID].
11342 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11343 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11344 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11345
11346 * sysdeps/i386/nptl/Implies: New file.
11347 * sysdeps/x86_64/nptl/Implies: New file.
11348 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11349 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11350 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11351 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11352
11353 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11354 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11355 (__libc_vfork): New strong alias.
11356 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11357 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11358
11359 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11360 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11361 (__libc_vfork): New strong alias.
11362 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11363 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11364
11365 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11366 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11367 (__libc_vfork): New strong alias.
11368 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11369 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11370 * nptl/pt-vfork.c: New file.
11371 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11372 (libpthread: GLIBC_2.20): New version set (empty).
11373
11374 2014-05-14 Will Newton <will.newton@linaro.org>
11375
11376 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11377 rather than #if.
11378
11379 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11380
11381 [BZ #16564]
11382 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11383 arguments with exponent 65 or above.
11384 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11385 arguments 0x1p113L or above.
11386 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11387 to arguments 0x1p107L or above.
11388 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11389 positive arguments with exponent 65 or above.
11390 * math/auto-libm-test-in: Add more tests of log1p.
11391 * math/auto-libm-test-out: Regenerated.
11392
11393 [BZ #16928]
11394 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11395 non-finite arguments is +0.
11396 * math/s_cacosf.c (__cacosf): Likewise.
11397 * math/s_cacosl.c (__cacosl): Likewise.
11398 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11399 * sysdeps/i386/fpu/libm-test-ulps: Update.
11400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11401
11402 [BZ #16927]
11403 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11404 value.
11405 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11406 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11407 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11408 for explicit high bit of mantissa when testing for argument equal
11409 to 1.
11410 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11411 * sysdeps/i386/fpu/libm-test-ulps: Update.
11412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11413
11414 [BZ #16516]
11415 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11416 (__erf): Scale by 16 instead of 8 in potentially underflowing
11417 case. Ensure exception if result actually underflows.
11418 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11419 (__erff): Scale by 16 instead of 8 in potentially underflowing
11420 case. Ensure exception if result actually underflows.
11421 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11422 (efx8): Remove variable.
11423 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11424 case. Ensure exception if result actually underflows.
11425 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11426 (efx8): Remove variable.
11427 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11428 case. Ensure exception if result actually underflows.
11429 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11430 (efx8): Remove variable.
11431 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11432 case. Ensure exception if result actually underflows.
11433 * math/auto-libm-test-in: Add more tests of erf.
11434 * math/auto-libm-test-out: Regenerated.
11435
11436 2014-05-14 Andreas Schwab <schwab@suse.de>
11437
11438 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11439 Remove code conditionalized on USE___THREAD.
11440
11441 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11442 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11443 not definedness.
11444
11445 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11446
11447 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11448 Define unconditionally.
11449 (__ASSUME_O_CLOEXEC): Likewise.
11450 (__ASSUME_SOCK_CLOEXEC): Likewise.
11451 (__ASSUME_IN_NONBLOCK): Likewise.
11452 (__ASSUME_PIPE2): Likewise.
11453 (__ASSUME_EVENTFD2): Likewise.
11454 (__ASSUME_SIGNALFD4): Likewise.
11455 (__ASSUME_DUP3): Likewise.
11456 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11457 (__ASSUME_DUP3): Do not define.
11458 (__ASSUME_EVENTFD2): Likewise.
11459 (__ASSUME_IN_NONBLOCK): Likewise.
11460 (__ASSUME_O_CLOEXEC): Likewise.
11461 (__ASSUME_PIPE2): Likewise.
11462 (__ASSUME_SIGNALFD4): Likewise.
11463 (__ASSUME_SOCK_CLOEXEC): Likewise.
11464 (__ASSUME_UTIMES): Undefine.
11465 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11466 (__ASSUME_UTIMES): Do not define.
11467 (__ASSUME_O_CLOEXEC): Likewise.
11468 (__ASSUME_SOCK_CLOEXEC): Likewise.
11469 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11470 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11471 0x020621].
11472 (__ASSUME_PIPE2): Likewise.
11473 (__ASSUME_EVENTFD2): Likewise.
11474 (__ASSUME_SIGNALFD4): Likewise.
11475 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11476 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11477 Do not define.
11478 (__ASSUME_EVENTFD2): Likewise.
11479 (__ASSUME_SIGNALFD4): Likewise.
11480 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11481 (__ASSUME_32BITUIDS): Likewise.
11482 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11483 (__ASSUME_IPC64): Likewise.
11484 (__ASSUME_ST_INO_64_BIT): Likewise.
11485 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11486 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11487 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11488 (__ASSUME_UTIMES): Do not define.
11489 (__ASSUME_PSELECT): Likewise.
11490 (__ASSUME_PPOLL): Likewise.
11491 (__ASSUME_O_CLOEXEC): Likewise.
11492 (__ASSUME_SOCK_CLOEXEC): Likewise.
11493 (__ASSUME_IN_NONBLOCK): Likewise.
11494 (__ASSUME_PIPE2): Likewise.
11495 (__ASSUME_EVENTFD2): Likewise.
11496 (__ASSUME_SIGNALFD4): Likewise.
11497 (__ASSUME_DUP3): Likewise.
11498 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11499 (__ASSUME_UTIMES): Likewise.
11500 (__ASSUME_O_CLOEXEC): Likewise.
11501 (__ASSUME_SOCK_CLOEXEC): Likewise.
11502 (__ASSUME_IN_NONBLOCK): Likewise.
11503 (__ASSUME_PIPE2): Likewise.
11504 (__ASSUME_EVENTFD2): Likewise.
11505 (__ASSUME_SIGNALFD4): Likewise.
11506 (__ASSUME_DUP3): Likewise.
11507 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11508 (__ASSUME_UTIMES): Likewise.
11509 (__ASSUME_O_CLOEXEC): Likewise.
11510 (__ASSUME_SOCK_CLOEXEC): Likewise.
11511 (__ASSUME_IN_NONBLOCK): Likewise.
11512 (__ASSUME_PIPE2): Likewise.
11513 (__ASSUME_EVENTFD2): Likewise.
11514 (__ASSUME_SIGNALFD4): Likewise.
11515 (__ASSUME_DUP3): Likewise.
11516 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11517 Likewise.
11518 (__ASSUME_UTIMES): Likewise.
11519 (__ASSUME_EVENTFD2): Likewise.
11520 (__ASSUME_SIGNALFD4): Likewise.
11521 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11522 (__ASSUME_O_CLOEXEC): Likewise.
11523 (__ASSUME_SOCK_CLOEXEC): Likewise.
11524 (__ASSUME_IN_NONBLOCK): Likewise.
11525 (__ASSUME_PIPE2): Likewise.
11526 (__ASSUME_EVENTFD2): Likewise.
11527 (__ASSUME_SIGNALFD4): Likewise.
11528 (__ASSUME_DUP3): Likewise.
11529 (__ASSUME_UTIMES): Undefine.
11530
11531 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11532 feclearexcept. Remove symbol versioning code.
11533 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11534 symbol versioning code.
11535 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11536 symbol versioning code.
11537 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11538 feupdateenv. Remove symbol versioning code.
11539 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11540 fegetexceptflag. Remove symbol versioning code.
11541 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11542 fesetexceptflag. Remove symbol versioning code.
11543 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11544 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11545 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11546 (__posix_fadvise64_l32): Remove prototype.
11547 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11548 code.
11549
11550 2014-05-13 Roland McGrath <roland@hack.frob.com>
11551
11552 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11553 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11554 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11555 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11556
11557 2014-05-13 Sami Kerola <kerolasa@iki.fi>
11558
11559 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11560 current working directory
11561
11562 2014-05-13 Roland McGrath <roland@hack.frob.com>
11563
11564 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11565 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11566 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11567 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11568 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11569 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11570 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11571 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11572 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11573 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11574 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11575 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11576 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11577 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11578 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11579 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11580 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11581 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11582 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11583 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11584 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11585 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11586 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11587 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11588 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11589 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11590 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11591 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11592 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11593 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11594 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11595 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11596 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11597 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11598 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11599 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11600 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11601 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11602 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11603 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11604 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11605 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11606
11607 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11608 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11609
11610 * sysdeps/unix/sysv/linux/arm/Makefile
11611 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11612 Add rt-aeabi_unwind_cpp_pr1.
11613 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11614 Add nptl-aeabi_unwind_cpp_pr1.
11615 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11616 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11617 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11618 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11619 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11620 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11621
11622 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11623 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11624 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11625 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11626
11627 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11628 Deconditionalize the code that was previously under [RESET_PID].
11629 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11630
11631 * sysdeps/generic/exit-thread.h: New file.
11632 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11633 * include/unistd.h (__exit_thread): Remove declaration.
11634 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11635 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11636 * csu/libc-start.c: Include <exit-thread.h>.
11637 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11638 * nptl/pthread_create.c: Include <exit-thread.h>.
11639 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11640 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11641 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11642 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11643 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11644 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11645 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11646 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11647 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11648 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11649 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11650 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11651 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11652 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11653 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11654 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11655 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11656
11657 2014-05-13 Andreas Schwab <schwab@suse.de>
11658
11659 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11660
11661 2014-05-12 Joseph Myers <joseph@codesourcery.com>
11662
11663 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11664 (__ASSUME_UTIMES): Do not condition on kernel version.
11665 (__ASSUME_PSELECT): Define unconditionally.
11666 (__ASSUME_PPOLL): Likewise.
11667 (__ASSUME_ATFCTS): Likewise.
11668 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11669 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11670 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11671 (__ASSUME_UTIMENSAT): Define unconditionally.
11672 (__ASSUME_PRIVATE_FUTEX): Likewise.
11673 (__ASSUME_FALLOCATE): Likewise.
11674 (__ASSUME_O_CLOEXEC): Likewise.
11675 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11676 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11677 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11678 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11679 (__ASSUME_IN_NONBLOCK): Likewise.
11680 (__ASSUME_PIPE2): Likewise.
11681 (__ASSUME_EVENTFD2): Likewise.
11682 (__ASSUME_SIGNALFD4): Likewise.
11683 (__ASSUME_DUP3): Likewise.
11684 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11685 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11686 (__ASSUME_AT_RANDOM): Likewise.
11687 (__ASSUME_PREADV): Likewise.
11688 (__ASSUME_PWRITEV): Likewise.
11689 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11690 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11691 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11692 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11693 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11694 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11695 (__ASSUME_O_CLOEXEC): Define unconditionally.
11696 (__ASSUME_PSELECT): Do not undefine conditionally.
11697 (__ASSUME_PPOLL): Likewise.
11698 (__ASSUME_ATFCTS): Likewise.
11699 (__ASSUME_SET_ROBUST_LIST): Likewise.
11700 (__ASSUME_UTIMENSAT): Likewise.
11701 (__ASSUME_FDATASYNC): Define unconditionally.
11702 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11703 (__ASSUME_SIGFRAME_V2): Likewise.
11704 )__ASSUME_EVENTFD2): Likewise.
11705 (__ASSUME_SIGNALFD4): Likewise.
11706 (__ASSUME_PSELECT): Do not undefine conditionally.
11707 (__ASSUME_PPOLL): Likewise.
11708 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11709 (__ASSUME_PSELECT): Define unconditionally.
11710 (__ASSUME_PPOLL): Likewise.
11711 (__ASSUME_O_CLOEXEC): Likewise.
11712 (__ASSUME_SOCK_CLOEXEC): Likewise.
11713 (__ASSUME_IN_NONBLOCK): Likewise.
11714 (__ASSUME_PIPE2): Likewise.
11715 (__ASSUME_EVENTFD2): Likewise.
11716 (__ASSUME_SIGNALFD4): Likewise.
11717 (__ASSUME_DUP3): Likewise.
11718 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11719 (__ASSUME_O_CLOEXEC): Likewise.
11720 (__ASSUME_SOCK_CLOEXEC): Likewise.
11721 (__ASSUME_IN_NONBLOCK): Likewise.
11722 (__ASSUME_PIPE2): Likewise.
11723 (__ASSUME_EVENTFD2): Likewise.
11724 (__ASSUME_SIGNALFD4): Likewise.
11725 (__ASSUME_DUP3): Likewise.
11726 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11727 (__ASSUME_EVENTFD2): Likewise.
11728 (__ASSUME_SIGNALFD4): Likewise.
11729 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11730
11731 2014-05-12 Andreas Schwab <schwab@suse.de>
11732
11733 [BZ #16932]
11734 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11735 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11736 than maximum RPC packet size.
11737 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11738 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11739 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11740 (_nss_nis_getservbyport_r): Likewise.
11741
11742 2014-05-12 Will Newton <will.newton@linaro.org>
11743
11744 * malloc/Makefile (tests): Add tst-mallopt.
11745 * malloc/tst-mallopt.c: New file.
11746
11747 2014-05-09 Roland McGrath <roland@hack.frob.com>
11748
11749 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11750 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11751
11752 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11753
11754 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11755 (tst-tlsmod6.so): Likewise.
11756
11757 2014-05-09 Roland McGrath <roland@hack.frob.com>
11758
11759 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11760
11761 2014-05-09 Joseph Myers <joseph@codesourcery.com>
11762
11763 [BZ #16064]
11764 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11765 and <dl-procinfo.h>.
11766 (__fegetenv): Save SSE state in envp->__eip if supported.
11767 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11768 envp->__eip if supported.
11769 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11770 and <dl-procinfo.h>.
11771 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11772 __data_offset and __data_selector in environment to 0. Set SSE
11773 state if supported.
11774 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11775 test-fenv-sse.
11776 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11777 -mfpmath=sse.
11778 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11779
11780 2014-05-09 Will Newton <will.newton@linaro.org>
11781
11782 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11783 and libc_relro_required for ARM.
11784 * sysdeps/arm/preconfigure: Regenerate.
11785
11786 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11787 Stefan Liebler <stli@linux.vnet.ibm.com>
11788
11789 * config.make.in (enable-lock-elision): New Makefile variable.
11790 * configure.ac: Likewise.
11791 * configure: Regenerate.
11792 * sysdeps/s390/configure.ac:
11793 Add check for gcc transactions support.
11794 * sysdeps/s390/configure: Regenerate.
11795 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11796 Build elision files if enabled.
11797 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11798 Add lock elision support for s390.
11799 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11800 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11801 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11802 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11803 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11804 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11805 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11806 Likewise.
11807 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11808 Likewise.
11809 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11810 Likewise.
11811 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11812 Likewise.
11813 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11814 (__lll_timedlock_elision, __lll_lock_elision)
11815 (__lll_unlock_elision, __lll_trylock_elision)
11816 (lll_timedlock_elision, lll_lock_elision)
11817 (lll_unlock_elision, lll_trylock_elision): Add.
11818 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11819 (pthread_mutex_t): Add lock elision support for s390.
11820
11821 2014-05-14 Wilco <wdijkstr@arm.com>
11822
11823 * sysdeps/arm/fclrexcpt.c: Cleanup.
11824 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11825 * sysdeps/arm/feenablxcpt.c: Cleanup.
11826 * sysdeps/arm/fegetenv.c: Cleanup.
11827 * sysdeps/arm/fegetexcept.c: Cleanup.
11828 * sysdeps/arm/fegetround.c: Cleanup.
11829 * sysdeps/arm/feholdexcpt.c: Cleanup.
11830 * sysdeps/arm/fesetenv.c: Cleanup.
11831 * sysdeps/arm/fesetround.c: Cleanup.
11832 * sysdeps/arm/feupdateenv.c: Cleanup.
11833 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11834 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11835 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11836 * sysdeps/arm/ftestexcept.c: Cleanup.
11837 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11838 * sysdeps/arm/setfpucw.c: Cleanup.
11839
11840 2014-05-09 Will Newton <will.newton@linaro.org>
11841
11842 * sysdeps/arm/armv7/strcmp.S: New file.
11843 * NEWS: Mention addition of ARMv7 optimized strcmp.
11844
11845 2014-05-08 Roland McGrath <roland@hack.frob.com>
11846
11847 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11848 look for %.ac rather than %.in.
11849
11850 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11851 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11852 * sysdeps/mach/hurd/configure: Regenerated.
11853 * sysdeps/unix/sysv/linux/configure: Regenerated.
11854
11855 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11856
11857 2014-05-07 Steve Ellcey <sellcey@mips.com>
11858
11859 [BZ# 16922]
11860 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11861 (LONG_SUB): Ditto.
11862 (PTR_SUB): Ditto.
11863
11864 2014-05-07 Andreas Schwab <schwab@suse.de>
11865
11866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11867 when skipping over non-matching result from nscd.
11868
11869 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
11870
11871 [BZ #16876]
11872 * nptl/sockperf.c (client): Check socket return value.
11873
11874 [BZ #16877]
11875 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11876 nscd security class.
11877
11878 2014-05-06 Roland McGrath <roland@hack.frob.com>
11879
11880 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11881 * sysdeps/arm/unwind.h: ... here.
11882
11883 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
11884
11885 [BZ# 16916]
11886 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11887 Define.
11888
11889 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11890
11891 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11892 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11893 multiarch strncpy for PPC64.
11894 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11895 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11896 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11897 multiarch optimizations.
11898 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11899 (__libc_ifunc_impl_list): Likewise.
11900 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11901 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11902 multiarch stpncpy for PPC64.
11903 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11904 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11905
11906 2014-05-06 Andreas Schwab <schwab@suse.de>
11907
11908 [BZ #16912]
11909 * gmon/mcount.c (_MCOUNT_DECL): Use
11910 atomic_compare_and_exchange_bool_acq instead of
11911 catomic_compare_and_exchange_bool_acq.
11912
11913 2014-05-05 Roland McGrath <roland@hack.frob.com>
11914
11915 * elf/Makefile (others, install-bin): Remove pldd.
11916 (pldd-modules): Variable removed.
11917 ($(objpfx)pldd): Target removed.
11918 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11919 (others, install-bin): Append pldd here.
11920 ($(objpfx)pldd): New target.
11921
11922 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11923 to 0, so the first #if test emitted later doesn't see it undefined.
11924 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11925 * sysdeps/gnu/errlist.c: Regenerated.
11926
11927 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11928
11929 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11930 [libc_hidden_builtin_def]: Define to empty value.
11931 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11932 [libc_hidden_builtin_def]: Likewise.
11933 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11934 [libc_hidden_builtin_def]: Likewise.
11935 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11936 [libc_hidden_builtin_def]: Likewise.
11937 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11938 __redirect_memcpy and define ifunc as default hidden symbol.
11939 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11940 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11941
11942 2014-05-04 Adam Conrad <adconrad@0c3.net>
11943
11944 * locale/iso-4217.def: Reintroduce XDR currency.
11945
11946 2014-05-04 Allan McRae <allan@archlinux.org>
11947
11948 * po/eo.po: Update Esperanto translation from translation project.
11949
11950 2014-05-02 Carlos O'Donell <carlos@redhat.com>
11951
11952 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11953 and FEATURE_INDEX_MAX to 1.
11954 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11955
11956 2014-05-01 Steve Ellcey <sellcey@mips.com>
11957
11958 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11959 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11960 * iconvdata/big5.c (ONE_DIRECTION): Define.
11961 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11962 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11963 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11964 * iconvdata/cp932.c (ONE_DIRECTION): Define.
11965 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11966 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11967 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11968 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11969 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11970 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11971 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11972 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11973 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11974 * iconvdata/gbk.c (ONE_DIRECTION): Define.
11975 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11976 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11977 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11978 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11979 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11980 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11981 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11982 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11983 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11984 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11985 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11986 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11987 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11988 * iconvdata/iso646.c (ONE_DIRECTION): Define.
11989 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11990 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11991 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11992 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11993 * iconvdata/johab.c (ONE_DIRECTION): Define.
11994 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11995 * iconvdata/sjis.c (ONE_DIRECTION): Define.
11996 * iconvdata/t.61.c (ONE_DIRECTION): Define.
11997 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11998 * iconvdata/tscii.c (ONE_DIRECTION): Define.
11999 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12000 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12001 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12002 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12003 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12004
12005 2014-05-01 Roland McGrath <roland@hack.frob.com>
12006
12007 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12008 (_IO_JUMPS_OFFSET): Define to 0.
12009
12010 * nptl/sysdeps/pthread/bits/libc-lock.h
12011 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12012 (__libc_lock_define_initialized_recursive): Always define using
12013 initializer. Modern compilers treat uninitialized (implicit zero) and
12014 explicit zero initializers the same (i.e. put the datum in bss).
12015
12016 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12017
12018 * nscd/nscd-client.h: Include <string.h>.
12019
12020 2014-05-01 David S. Miller <davem@davemloft.net>
12021
12022 [BZ #16885]
12023 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12024 multiple zero bytes exist at the end of a string.
12025 Reported by Aurelien Jarno <aurelien@aurel32.net>
12026
12027 * string/test-strcmp.c (check): Add explicit test for situations where
12028 there are multiple zero bytes after the first.
12029
12030 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12031
12032 [BZ #16890]
12033 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12034 when compiling wprintf.
12035 * stdio-common/tstdiomisc.c (t3): New function.
12036 (main): Call it.
12037
12038 2014-05-01 Steve Ellcey <sellcey@mips.com>
12039
12040 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12041 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12042 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12043 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12044
12045 2014-05-01 Steve Ellcey <sellcey@mips.com>
12046
12047 * stdlib/longlong.h: Updated from GCC.
12048
12049 2014-05-01 Will Newton <will.newton@linaro.org>
12050 Bernard Ogden <bernie.ogden@linaro.org>
12051
12052 * NEWS: Update fixed bug list.
12053
12054 [BZ #15119]
12055 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12056
12057 2014-04-30 David S. Miller <davem@davemloft.net>
12058
12059 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12060 (libc_feholdexcept_setround_sparc_ctx): New function.
12061 (libc_fesetenv_sparc_ctx): Likewise.
12062 (libc_feupdateenv_sparc_ctx): Likewise.
12063 (libc_feholdsetround_sparc_ctx): Likewise.
12064 (libc_feholdexcept_setround_ctx): Define.
12065 (libc_feholdexcept_setroundf_ctx): Likewise.
12066 (libc_feholdexcept_setroundl_ctx): Likewise.
12067 (libc_fesetenv_ctx): Likewise.
12068 (libc_fesetenvf_ctx): Likewise.
12069 (libc_fesetenvl_ctx): Likewise.
12070 (libc_feupdateenv_ctx): Likewise.
12071 (libc_feupdateenvf_ctx): Likewise.
12072 (libc_feupdateenvl_ctx): Likewise.
12073 (libc_feresetround_ctx): Likewise.
12074 (libc_feresetroundf_ctx): Likewise.
12075 (libc_feresetroundl_ctx): Likewise.
12076 (libc_feholdsetround_ctx): Likewise.
12077 (libc_feholdsetroundf_ctx): Likewise.
12078 (libc_feholdsetroundl_ctx): Likewise.
12079
12080 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12081 with __USE_GNU instead of XOPEN cpp guards.
12082
12083 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12084 0.
12085
12086 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12087 with XOPEN cpp guards.
12088
12089 2014-04-30 Julian Brown <julian@codesourcery.com>
12090
12091 [BZ #16888]
12092 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12093 handling.
12094
12095 2014-04-30 Joseph Myers <joseph@codesourcery.com>
12096
12097 [BZ #9894]
12098 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12099 Change to 2.6.32.
12100 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12101 * sysdeps/unix/sysv/linux/configure: Regenerated.
12102 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12103 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12104 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12105 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12106 * README: Update reference to required Linux kernel version.
12107 * manual/install.texi (Linux): Update reference to required Linux
12108 kernel headers version.
12109 * INSTALL: Regenerated.
12110
12111 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12112 header inclusion.
12113 [POSIX] (limits.h): Likewise.
12114 [POSIX] (math.h): Likewise.
12115 [POSIX] (sys/wait.h): Likewise.
12116 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12117 function.
12118 [POSIX] (stddef.h): Do not allow header inclusion.
12119
12120 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12121
12122 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12123
12124 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12125
12126 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12127 Return immediately after lll_futex_wake.
12128
12129 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12130
12131 [BZ #16791]
12132 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12133 structure.
12134 (datahead_init_pos): Call datahead_init_common early.
12135 (datahead_init_neg): Likewise.
12136
12137 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12138 datahead_init_neg): New functions.
12139 * nscd/aicache.c (addhstaiX): Use them.
12140 * nscd/grpcache.c (cache_addgr): Likewise.
12141 * nscd/hstcache.c (cache_addhst): Likewise.
12142 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12143 * nscd/netgroupcache.c (do_notfound): Likewise.
12144 (addgetnetgrentX): Likewise.
12145 (addinnetgrX): Likewise.
12146 * nscd/pwdcache.c (cache_addpw): Likewise.
12147 * nscd/servicescache.c (cache_addserv): Likewise.
12148
12149 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12150 Atsushi Onoe <atsushi@onoe.org>
12151
12152 [BZ #14308]
12153 [BZ #12994]
12154 [BZ #13651]
12155 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12156 one response is valid.
12157 * resolv/res_send.c (send_dg): Check for validity of other
12158 response if the current response is a referral.
12159
12160 2014-04-29 Steve Ellcey <sellcey@mips.com>
12161
12162 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12163
12164 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12165
12166 [BZ #16823]
12167 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12168 Always divide by positive zero when computing -Inf result.
12169 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12170 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12171
12172 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12173
12174 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12175 FPSCR if value do not change.
12176 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12177 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12178 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12179 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12180 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12181 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12182 function.
12183
12184 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12185
12186 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12187 * sysdeps/unix/sysv/linux/hppa: Move directory from
12188 ports/systeps/unix/sysv/linux/hppa.
12189 * README: Update listing for hppa-*-linux-gnu.
12190
12191 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
12192
12193 [BZ #16754]
12194 * manual/stdio.texi (Hook functions): Fix types of stream hook
12195 functions.
12196 [BZ #16854]
12197 * socket/sys/socket.h: Fix typo in comment.
12198
12199 2014-04-28 Wilco <wdijkstr@arm.com>
12200
12201 * sysdeps/arm/fenv_private.h: New file.
12202 * sysdeps/arm/math_private.h: New file.
12203 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12204
12205 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12206
12207 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12208 with __int128_t.
12209 (La_x86_64_retval): Likewise.
12210
12211 2014-04-24 Ian Bolton <ian.bolton@arm.com>
12212
12213 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12214 fpsr if value didn't change.
12215 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12216 to fpcr if value didn't change.
12217 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12218 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12219 fpsr or fpcr if value didn't change.
12220 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12221 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12222 fpcr if value didn't change.
12223 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12224 to fpsr if value didn't change.
12225
12226 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12227
12228 * nptl/tst-sem3.c: Use test-skeleton.c
12229 (main): Rename to do_test. Use return instead of
12230 exit.
12231 * nptl/tst-sem4.c: Use test-skeleton.c
12232 (main): Rename to do_test.
12233
12234 2014-04-22 David S. Miller <davem@davemloft.net>
12235
12236 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12237 (struct sigaction): New struct member __glibc_reserved0, change
12238 type of sa_flags to int.
12239
12240 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12241
12242 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12243 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12244
12245 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12246
12247 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12248 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12249
12250 2014-04-22 Will Newton <will.newton@linaro.org>
12251 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12252
12253 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12254 (__longjmp): Add longjmp and longjmp_target SystemTap
12255 probes.
12256 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12257 (__sigsetjmp): Add setjmp SystemTap probe.
12258
12259 2014-04-17 Carlos O'Donell <carlos@redhat.com>
12260
12261 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12262 match manual order.
12263
12264 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12265
12266 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12267
12268 * sysdeps/powerpc/fpu/fenv_private.h
12269 (libc_feholdexcept_setroundl_ctx): Define to
12270 libc_feholdexcept_setround_ppc_ctx.
12271 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12272 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12273 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12274 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12275
12276 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12277
12278 * sysdeps/aarch64/math-tests.h: New file.
12279
12280 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12281
12282 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12283 New.
12284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12285 Check and set bit_AVX2_Usable.
12286 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12287 macro.
12288 (bit_AVX2): Likewise.
12289 (index_AVX2_Usable): Likewise.
12290 (CPUID_AVX2): Likewise.
12291 (HAS_AVX2): Likewise.
12292
12293 2014-04-17 Will Newton <will.newton@linaro.org>
12294
12295 * manual/setjmp.texi (System V contexts): Add note that
12296 calling setcontext on a context created by a call to a
12297 signal handler is undefined. Update text to note that
12298 setcontext from a signal handler is possible but not
12299 recommended.
12300
12301 [BZ #16629]
12302 * stdlib/tst-setcontext.c: Include signal.h.
12303 (main): Check that the signal stack before and
12304 after swapcontext is the same.
12305
12306 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12307 Re-implement to restore registers in user code and avoid
12308 rt_sigreturn system call.
12309
12310 2014-04-17 Wilco <wdijkstr@arm.com>
12311
12312 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12313 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12314 * math/test-fenv.c: Skip exception trap tests on targets which only
12315 support non-stop mode.
12316
12317 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12318 Wilco Dijkstra <wilco.dijkstra@arm.com>
12319
12320 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12321 (libc_feholdsetround_aarch64_ctx)
12322 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12323 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12324 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12325 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12326 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12327 (libc_feresetround_noexl_ctx): Define.
12328
12329 2014-04-16 Richard Henderson <rth@redhat.com>
12330
12331 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12332
12333 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12334 unwind tables.
12335
12336 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12337 const from the non-libc, non-ldso copy.
12338
12339 * sysdeps/alpha/libm-test-ulps: Regenerate.
12340
12341 2014-04-16 Ian Bolton <ian.bolton@arm.com>
12342 Wilco Dijkstra <wilco.dijkstra@arm.com>
12343
12344 * sysdeps/aarch64/fpu/math_private.h: New file.
12345
12346 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12347
12348 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12349
12350 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12351
12352 [BZ #16275]
12353 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12354 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12355 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12356 Intel MPX bound registers before _dl_profile_fixup.
12357 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12358 registers after _dl_profile_fixup. Save and restore bound
12359 registers bnd0/bnd1 when calling _dl_call_pltexit.
12360 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12361 (LR_BND_OFFSET): Likewise.
12362 (LRV_BND0_OFFSET): Likewise.
12363 (LRV_BND1_OFFSET): Likewise.
12364
12365 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12366
12367 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12368 to...
12369 * sysdeps/mach/hurd/i386/tls.h: ... here.
12370 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12371 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12372 fields.
12373
12374 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12375
12376 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12377
12378 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12379
12380 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12381
12382 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12383
12384 [BZ #14770]
12385 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12386 * sysdeps/s390/configure: Regenerate.
12387
12388 [BZ #16824]
12389 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12390 Set round-to-nearest internally to reduce error accumulation.
12391
12392 2014-04-16 Alan Modra <amodra@gmail.com>
12393
12394 [BZ #16740]
12395 [BZ #16619]
12396 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12397 * math/libm-test.inc (frexp_test_data): Add tests.
12398 * NEWS: Update fixed bug list.
12399
12400 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12401
12402 * benchtests/Makefile: Depend on libraries in build directory.
12403 (bench-math): Separate out math tests.
12404 (bench-pthread): Separate out pthread tests.
12405 (bench): Include math and pthread tests.
12406
12407 2014-04-14 Carlos O'Donell <carlos@redhat.com>
12408
12409 [BZ #16831]
12410 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12411 _dl_debug_initialize.
12412
12413 * configure.ac: Remove SELinux header check.
12414 * configure: Regenerate.
12415 * nscd/selinux.c (perms): Array of const char* to permission names.
12416 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12417 default policy. Call string_to_security_class and string_to_av_perm to
12418 translate strings. Enforce default policy and call avs_has_perm with
12419 results of translated strings.
12420
12421 2014-04-13 David S. Miller <davem@davemloft.net>
12422
12423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12424
12425 2014-04-12 Allan McRae <allan@archlinux.org>
12426
12427 [BZ #16838]
12428 * manual/string.texi (Collation Functions): Fix qsort argument
12429 order in example.
12430 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12431
12432 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12433
12434 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12435 Make the test a no-op if there are no exceptions defined.
12436
12437 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12438
12439 * elf/Makefile (tests): make tst-dlopen-aout conditional on
12440 enable-hardcoded-path-in-tests
12441
12442 2014-04-11 Will Newton <will.newton@linaro.org>
12443
12444 * benchtests/Makefile (extra-objs): Add json-lib.o.
12445 (bench-func): Tidy up JSON output.
12446 * benchtests/bench-skeleton.c: Include json-lib.h.
12447 (main): Use JSON library functions to do output of
12448 benchmark results.
12449 * benchtests/bench-timing-type.c (main): Output the
12450 timing type simply, leaving formatting to the user.
12451 * benchtests/json-lib.c: New file.
12452 * benchtests/json-lib.h: Likewise.
12453
12454 2014-04-11 Torvald Riegel <triegel@redhat.com>
12455
12456 [BZ #15215]
12457 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12458 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12459 memory barriers. Add comments.
12460 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12461 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12462 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12463 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12464 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12465 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12466
12467 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12468
12469 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12470 * sysdeps/s390/s390-64/configure.ac: ... this ...
12471 * sysdeps/s390/configure.ac: ... to here.
12472 * sysdeps/s390/s390-32/configure: Delete file.
12473 * sysdeps/s390/s390-64/configure: Delete file.
12474 * sysdeps/s390/configure: Regenerate.
12475
12476 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12477
12478 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12479
12480 2014-04-11 Will Newton <will.newton@linaro.org>
12481
12482 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12483 to zero if it is not defined elsewhere. (mtrim): Test
12484 the value of MALLOC_DEBUG with #if rather than #ifdef.
12485
12486 2014-04-10 Torvald Riegel <triegel@redhat.com>
12487
12488 * benchtests/pthread_once-inputs: New file.
12489 * benchtests/pthread_once-source.c: New file.
12490 * benchtests/README: Update documentation.
12491
12492 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12493 H.J. Lu <hongjiu.lu@intel.com>
12494
12495 [BZ #16275]
12496 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12497 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12498 * sysdeps/x86_64/configure: Regenerated.
12499 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12500 macro.
12501 (REGISTER_SAVE_RAX): Likewise.
12502 (REGISTER_SAVE_RCX): Likewise.
12503 (REGISTER_SAVE_RDX): Likewise.
12504 (REGISTER_SAVE_RSI): Likewise.
12505 (REGISTER_SAVE_RDI): Likewise.
12506 (REGISTER_SAVE_R8): Likewise.
12507 (REGISTER_SAVE_R9): Likewise.
12508 (REGISTER_SAVE_BND0): Likewise.
12509 (REGISTER_SAVE_BND1): Likewise.
12510 (REGISTER_SAVE_BND2): Likewise.
12511 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12512 bound registers when calling _dl_fixup.
12513
12514 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12515
12516 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12517 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12518 of its definition.
12519 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12520 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12521 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12522 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12523 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12524 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12525 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12526
12527 2014-04-09 Peter Brett <peter@peter-b.co.uk>
12528
12529 [BZ #15514]
12530 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12531 pathconf(_PC_NAME_MAX).
12532
12533 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12534
12535 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12536 Remove macro usage.
12537 (__PTHREAD_SPINS): Move definition to ...
12538 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12539 (__PTHREAD_SPINS): ... here.
12540 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12541 (__PTHREAD_SPIN): Likewise.
12542 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12543 (__PTHREAD_SPIN): Likewise.
12544 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12545 (__PTHREAD_SPIN): Likewise.
12546 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12547 (__PTHREAD_SPIN): Likewise.
12548 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12549 (__PTHREAD_SPIN): Likewise.
12550 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12551 (__PTHREAD_SPIN): Likewise.
12552 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12553 (__PTHREAD_SPIN): Likewise.
12554 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12555 (__PTHREAD_SPIN): Likewise.
12556 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12557 (__PTHREAD_SPIN): Likewise.
12558 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12559 (__PTHREAD_SPIN): Likewise.
12560 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12561 (__PTHREAD_SPIN): Likewise.
12562 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12563 (__PTHREAD_SPIN): Likewise.
12564
12565 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12566 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12567 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12568 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12569 imply folder.
12570 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12571 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12572 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12573 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12574 correct imply path.
12575 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12576 strlen symbol for non multi-arch builds.
12577 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12578 missing hidden_def and weak_alias.
12579
12580 2014-04-08 Carlos O'Donell <carlos@redhat.com>
12581
12582 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12583
12584 2014-04-07 Will Newton <will.newton@linaro.org>
12585
12586 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12587 and contents. [!_LIBC] Remove #ifndef and contents.
12588 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12589 * string/memccpy.c (__memccpy): Use ANSI prototype.
12590 * string/memfrob.c (memfrob): Likewise.
12591 * string/strcoll.c (STRCOLL): Likewise.
12592 * string/strlen.c (strlen): Likewise.
12593 * string/strtok.c (STRTOK): Likewise.
12594 * string/strcat.c: Remove unused #include of memcopy.h.
12595 (strcat): Use ANSI prototype.
12596 * string/strchr.c: Remove unused #include of memcopy.h.
12597 (strchr): Use ANSI prototype.
12598 * string/strcmp.c: Remove unused #include of memcopy.h.
12599 (strcmp): Use ANSI prototype.
12600 * string/strcpy.c: Remove unused #include of memcopy.h.
12601 (strcpy): Use ANSI prototype.
12602
12603 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12604
12605 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12606 * config.make.in (config-extra-cppflags): Set it from
12607 libc_extra_cppflags.
12608 * configure.ac (libc_extra_cflags): Make it accumulate over
12609 configure fragments.
12610 (libc_extra_cppflags): New flag.
12611 * configure. Regenerate.
12612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12613 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12614 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12616
12617 [BZ #16815]
12618 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12619 result for FE_DOWNWARD rounding mode.
12620 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12621 Likewise.
12622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12623
12624 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12625
12626 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12627 in function argument name.
12628
12629 2014-04-03 David Svoboda <svoboda@cert.org>
12630
12631 [BZ #5666]
12632 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12633 explicitly.
12634
12635 2014-04-03 Roland McGrath <roland@hack.frob.com>
12636
12637 * elf/dl-unmap-segments.h: New file.
12638 * sysdeps/generic/ldsodefs.h
12639 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12640 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12641 * elf/dl-fptr.c: Likewise.
12642 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12643 * sysdeps/aarch64/tlsdesc.c: Likewise.
12644 * sysdeps/arm/tlsdesc.c: Likewise.
12645 * sysdeps/i386/tlsdesc.c: Likewise.
12646 * sysdeps/tile/dl-runtime.c: Likewise.
12647 * sysdeps/x86_64/tlsdesc.c: Likewise.
12648 * elf/dl-load.h: New file.
12649 * elf/dl-load.c: Include it.
12650 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12651 Macros moved to dl-load.h.
12652 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12653 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12654 Use _dl_unmap_segments in place of __munmap.
12655 Break out segment-mapping loop into ...
12656 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12657
12658 2014-04-03 Will Newton <will.newton@linaro.org>
12659
12660 * elf/dl-lookup.c (do_lookup_x): Remove comment
12661 referring to nested function and move variable
12662 declarations down to before first use.
12663
12664 2014-04-02 Joseph Myers <joseph@codesourcery.com>
12665
12666 [BZ #16799]
12667 [BZ #16800]
12668 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12669 with 0 numerator.
12670 * math/s_catanf.c (__catanf): Likewise.
12671 * math/s_catanh.c (__catanh): Likewise.
12672 * math/s_catanhf.c (__catanhf): Likewise.
12673 * math/s_catanhl.c (__catanhl): Likewise.
12674 * math/s_catanl.c (__catanl): Likewise.
12675 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12676 by positive zero when computing -Inf result.
12677 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12678 (catanh_test): Likewise.
12679 * sysdeps/i386/fpu/libm-test-ulps: Update.
12680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12681
12682 [BZ #16789]
12683 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12684 instead of using underflowing value in computing result.
12685 * math/s_clog10.c (__clog10): Likewise.
12686 * math/s_clog10f.c (__clog10f): Likewise.
12687 * math/s_clog10l.c (__clog10l): Likewise.
12688 * math/s_clogf.c (__clogf): Likewise.
12689 * math/s_clogl.c (__clogl): Likewise.
12690 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12691 (clog10_test): Likewise.
12692 * sysdeps/i386/fpu/libm-test-ulps: Update.
12693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12694
12695 2014-04-02 Alan Modra <amodra@gmail.com>
12696
12697 [BZ #16739]
12698 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12699 output when value is near a power of two. Use int64_t for lx and
12700 remove casts. Use decimal rather than hex exponent constants.
12701 Don't use long double multiplication when double will suffice.
12702 * math/libm-test.inc (nextafter_test_data): Add tests.
12703 * NEWS: Add 16739 and 16786 to bug list.
12704
12705 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12706
12707 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12708
12709 2014-04-01 Will Newton <will.newton@linaro.org>
12710
12711 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12712 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12713
12714 2014-04-01 Florian Weimer <fweimer@redhat.com>
12715
12716 [BZ #13347]
12717 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12718 * nptl/tst-setuid2.c: New file.
12719 * nptl/Makefile (xtests): Add tst-setuid2.
12720
12721 2014-04-01 Alan Modra <amodra@gmail.com>
12722
12723 [BZ #16786]
12724 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12725
12726 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12727
12728 [BZ #6803]
12729 [BZ #6804]
12730 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12731 set errno as appropriate.
12732 * math/w_scalbf.c (__scalbf): Likewise.
12733 * math/w_scalbl.c (__scalbl): Likewise.
12734 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12735 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12736 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12737 Add more NaN tests.
12738
12739 [BZ #16349]
12740 * math/w_atan2.c: Include <errno.h>.
12741 (__atan2): Set errno for result underflowing to zero.
12742 * math/w_atan2f.c: Include <errno.h>.
12743 (__atan2f): Set errno for result underflowing to zero.
12744 * math/w_atan2l.c: Include <errno.h>.
12745 (__atan2l): Set errno for result underflowing to zero.
12746 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12747 tests.
12748 * math/auto-libm-test-out: Regenerated.
12749
12750 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12751
12752 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12753 Encode instruction correctly in little endian.
12754 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12755 Likewise.
12756 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12757 Likewise.
12758 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12759 Likewise.
12760 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12761 Likewise.
12762
12763 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12764
12765 [BZ #9894]
12766 * sysdeps/unix/sysv/linux/kernel-features.h
12767 [__sparc__ && !__arch64__ && !__sparc_v9__]
12768 (__ASSUME_SET_ROBUST_LIST): Do not define.
12769 [__sparc__ && !__arch64__ && !__sparc_v9__]
12770 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12771 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12772 Likewise.
12773 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12774 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12775 (__ASSUME_REQUEUE_PI): Likewise.
12776 (__ASSUME_SET_ROBUST_LIST): Likewise.
12777 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12778 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12779 Undefine.
12780 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12781 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12782 Likewise.
12783 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12784 Likewise.
12785 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12786 Likewise.
12787 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12788 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12789 Undefine.
12790 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12791 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12792 Likewise.
12793
12794 [BZ #16648]
12795 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12796 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12797 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12798
12799 2014-03-31 Will Newton <will.newton@linaro.org>
12800
12801 * benchtests/Makefile (bench): Add ffs and ffsll to list
12802 of tests.
12803 * benchtests/ffs-inputs: New file.
12804 * benchtests/ffsll-inputs: Likewise.
12805
12806 2014-03-29 Joseph Myers <joseph@codesourcery.com>
12807
12808 [BZ #16770]
12809 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12810 too large before casting to int.
12811 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12812 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12813 * math/libm-test.inc (scalb_test_data): Add more tests.
12814
12815 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12816
12817 * benchtests/Makefile (DETAILED_OPT): New make option.
12818 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12819 set.
12820 * benchtests/bench-skeleton.c: Include stdbool.h.
12821 (main): Store and print timings per input.
12822 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12823 member to each argument value.
12824 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12825 (_print_arg_data): Initialize per-input timing to 0.
12826
12827 * benchtests/Makefile (timing-type): New binary.
12828 (bench-clean): Also remove bench-timing-type.
12829 (bench): New target for timing-type.
12830 (bench-func): Print output in JSON format.
12831 * benchtests/bench-skeleton.c (main): Print output in JSON
12832 format.
12833 * benchtests/bench-timing-type.c: New file.
12834 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12835 (TIMING_PRINT_STATS): Remove.
12836 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12837 name separately.
12838
12839 * benchtests/bench-modf.c: Remove.
12840 * benchtests/modf-inputs: New inputs file.
12841
12842 2014-03-28 Joseph Myers <joseph@codesourcery.com>
12843
12844 [BZ #16362]
12845 * math/s_clog10.c (M_PI_LOG10E): New macro.
12846 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12847 imaginary parts are 0.
12848 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12849 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12850 imaginary parts are 0.
12851 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12852 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12853 imaginary parts are 0.
12854 * math/libm-test.inc (clog10_test_data): Update expected results
12855 for when real and imaginary parts are 0.
12856
12857 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12858
12859 * elf/dl-load.c: Finish conversion of __builtin_expect into
12860 __glibc_{un}likely.
12861
12862 2014-03-27 Joseph Myers <joseph@codesourcery.com>
12863
12864 [BZ #16348]
12865 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12866 1+x for argument with exponent below -67.
12867 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12868 Likewise.
12869 * math/auto-libm-test-in: Add more tests of exp.
12870 * math/auto-libm-test-out: Regenerated.
12871
12872 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12873
12874 [BZ #16759]
12875 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12876 (nscd_getnetgrent): Use it.
12877
12878 [BZ #16760]
12879 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12880 of stpcpy.
12881
12882 2014-03-27 Andi Kleen <ak@linux.intel.com>
12883
12884 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12885 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12886 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12887 (lll_robust_unlock): Remove out of line section. Use cfi
12888 intrinsics.
12889 (LLL_STUB_UNWIND_INFO*): Remove.
12890 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12891 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12892 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12893 (lll_robust_unlock): Remove out of line section. Use cfi
12894 intrinsics.
12895 (LLL_STUB_UNWIND_INFO*): Remove.
12896
12897 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12898
12899 [BZ #16758]
12900 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12901 blank values.
12902
12903 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12904
12905 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12906
12907 2014-03-26 Joseph Myers <joseph@codesourcery.com>
12908
12909 [BZ #16198]
12910 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12911 fnstenv.
12912 * math/test-fenv-preserve.c: New file.
12913 * math/Makefile (tests): Add test-fenv-preserve.
12914
12915 2014-03-26 Will Newton <will.newton@linaro.org>
12916
12917 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12918
12919 2014-03-25 Roland McGrath <roland@hack.frob.com>
12920
12921 * scripts/versionlist.awk: Partition the version sets and emit all
12922 GLIBC_* (sorted) before all others (sorted).
12923
12924 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12925
12926 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12927 GLIBC_2.2.5 version.
12928
12929 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12930
12931 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12932 calls.
12933
12934 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12935 previous change.
12936
12937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12938
12939 2014-03-25 Andreas Schwab <schwab@suse.de>
12940
12941 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12942 label to be used after in6ailist is initialized.
12943
12944 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12945
12946 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12947 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12948
12949 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12950
12951 [BZ #16357]
12952 [BZ #16599]
12953 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12954 min_plus_half.
12955 (fp_formats): Update initializers.
12956 (init_fp_formats): Initialize new field.
12957 (output_for_one_input_case): Allow underflow for results up to
12958 min_plus_half.
12959 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12960 * math/auto-libm-test-in: Don't mark some underflows from asin and
12961 atanh as spurious.
12962 * math/auto-libm-test-out: Regenerated.
12963 * sysdeps/i386/fpu/libm-test-ulps: Update.
12964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12965
12966 2014-03-25 Andreas Schwab <schwab@suse.de>
12967
12968 * libio/Makefile (tst-ftell-partial-wide-ENV)
12969 (tst-ftell-active-handler-ENV): Define.
12970
12971 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12972
12973 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12974
12975 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12976
12977 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12978
12979 2014-03-24 Joseph Myers <joseph@codesourcery.com>
12980
12981 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12982 * sysdeps/x86_64/fpu/multiarch/e_exp.c
12983 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12984
12985 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12986
12987 [BZ #16634]
12988 * elf/dl-load.c (open_verify): Add mode parameter.
12989 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12990 (open_path): Change from boolean 'secure' to complete flag 'mode'
12991 (_dl_map_object): Adjust.
12992 * elf/Makefile (tests): Add tst-dlopen-aout.
12993 * elf/tst-dlopen-aout.c: New test.
12994
12995 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12996
12997 [BZ #16714]
12998 * sysdeps/unix/sysv/linux/s390/bits/stat.h
12999 (struct stat): Rename member pad0 to __glibc_reserved0.
13000
13001 [BZ #16712]
13002 * sysdeps/s390/s390-32/bits/wordsize.h
13003 (__WORDSIZE32_SIZE_ULONG): New define.
13004 * sysdeps/s390/s390-64/bits/wordsize.h
13005 (__WORDSIZE32_SIZE_ULONG): Likewise.
13006 * sysdeps/generic/stdint.h (SIZE_MAX):
13007 Define as UL if __WORDSIZE32_SIZE_ULONG.
13008
13009 [BZ #16713]
13010 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13011 (__glibc_reserved0): New variable.
13012 (sa_flags): Change type to int.
13013
13014 * posix/Makefile (before-compile): Use += before-compile instead
13015 of a :=.
13016
13017 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13018 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13019
13020 2014-03-20 Andreas Schwab <schwab@suse.de>
13021
13022 [BZ #16743]
13023 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13024 non-matching result from nscd.
13025
13026 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13027
13028 * scripts/bench.py: Moved to ...
13029 * benchtests/scripts/bench.py: ... here.
13030 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13031
13032 2014-03-24 Andreas Schwab <schwab@suse.de>
13033
13034 [BZ #16002]
13035 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13036 alloca_account and account alloca use for struct in6ailist.
13037
13038 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13039
13040 [BZ #16284]
13041 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13042 rounding mode to recompute results that overflow to infinity or
13043 underflow to zero.
13044 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13045 bug 16284.
13046 * math/auto-libm-test-out: Regenerated.
13047 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13048 (ccosh_test): Likewise.
13049 (csin_test_data): Use plus_oflow.
13050 (csin_test): Use ALL_RM_TEST.
13051 (csinh_test_data): Use plus_oflow.
13052 (csinh_test): Use ALL_RM_TEST.
13053 * sysdeps/i386/fpu/libm-test-ulps: Update.
13054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13055
13056 2014-03-21 Joseph Myers <joseph@codesourcery.com>
13057
13058 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13059 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13060 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13061
13062 [BZ #16731]
13063 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13064 when x - 1 is zero.
13065 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13066 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13067 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13068 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13069 argument is 1.
13070 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13071 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13072 zero.
13073 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13074 * sysdeps/i386/fpu/libm-test-ulps: Update.
13075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13076
13077 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13078
13079 * scripts/bench.pl: Remove file.
13080 * scripts/bench.py: New benchmark script.
13081 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13082 * benchtests/README: Mention python dependency.
13083 * scripts/pylintrc: New file.
13084 * scripts/pylint: New file.
13085
13086 * bits/mathdef.h: Use #ifdef instead of #if.
13087 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13088 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13089 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13090 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13091 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13092 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13093
13094 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13095 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13096
13097 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13099 and strpbrk-ppc64 objects.
13100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13101 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13102 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13103 multiarch strpbrk for POWER7.
13104 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13105 multiarch strpbrk for PPC64.
13106 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13107 ifunc selector.
13108 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13109 strpbrk for POWER7.
13110
13111 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13112
13113 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13114 (atan_test): Likewise.
13115 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13116 (atanh_test): Use ALL_RM_TEST.
13117 (atan2_test_data): Likewise.
13118 (cabs_test): Likewise.
13119 (cacosh_test): Likewise.
13120 (carg_test): Likewise.
13121 (casin_test): Likewise.
13122 (casinh_test): Likewise.
13123 (cbrt_test): Likewise.
13124 (csqrt_test): Likewise.
13125 (erf_test): Likewise.
13126 (erfc_test): Likewise.
13127 (pow10_test): Likewise.
13128 (exp2_test): Likewise.
13129 (hypot_test): Likewise.
13130 (j0_test): Likewise.
13131 (j1_test): Likewise.
13132 (lgamma_test): Likewise.
13133 (gamma_test): Likewise.
13134 (sincos_test): Likewise.
13135 (tanh_test): Likewise.
13136 (y0_test): Likewise.
13137 (y1_test): Likewise.
13138 * sysdeps/i386/fpu/libm-test-ulps: Update.
13139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13140
13141 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13142
13143 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13144 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13145 and strcspn-ppc64 objects.
13146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13147 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13148 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13149 multiarch strcspn for POWER7.
13150 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13151 multiarch strcspn for PPC64.
13152 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13153 ifunc selector.
13154 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13155 strcspn for POWER7.
13156
13157 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13158
13159 * math/gen-libm-test.pl (generate_testfile): Expect only function
13160 name as argument to AUTO_TESTS_* and pass results for all rounding
13161 modes to parse_args.
13162 (parse_auto_input): Separate inputs of automatic tests from
13163 outputs before storing in %auto_tests.
13164 * math/libm-test.inc (acos_test_data): Update call to
13165 AUTO_TESTS_f_f.
13166 (acos_test): Use ALL_RM_TEST.
13167 (acos_tonearest_test_data): Remove.
13168 (acos_test_tonearest): Likewise.
13169 (acos_towardzero_test_data): Likewise.
13170 (acos_test_towardzero): Likewise.
13171 (acos_downward_test_data): Likewise.
13172 (acos_test_downward): Likewise.
13173 (acos_upward_test_data): Likewise.
13174 (acos_test_upward): Likewise.
13175 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13176 (asin_test_data): Likewise.
13177 (asin_test): Use ALL_RM_TEST.
13178 (asin_tonearest_test_data): Remove.
13179 (asin_test_tonearest): Likewise.
13180 (asin_towardzero_test_data): Likewise.
13181 (asin_test_towardzero): Likewise.
13182 (asin_downward_test_data): Likewise.
13183 (asin_test_downward): Likewise.
13184 (asin_upward_test_data): Likewise.
13185 (asin_test_upward): Likewise.
13186 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13187 (atan_test_data): Likewise.
13188 (atanh_test_data): Likewise.
13189 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13190 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13191 (carg_test_data): Likewise.
13192 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13193 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13194 (ccosh_test_data): Likewise.
13195 (cexp_test_data): Likewise.
13196 (clog_test_data): Likewise.
13197 (clog10_test_data): Likewise.
13198 (cos_test_data): Update call to AUTO_TESTS_f_f.
13199 (cos_test): Use ALL_RM_TEST.
13200 (cos_tonearest_test_data): Remove.
13201 (cos_test_tonearest): Likewise.
13202 (cos_towardzero_test_data): Likewise.
13203 (cos_test_towardzero): Likewise.
13204 (cos_downward_test_data): Likewise.
13205 (cos_test_downward): Likewise.
13206 (cos_upward_test_data): Likewise.
13207 (cos_test_upward): Likewise.
13208 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13209 (cosh_test): Use ALL_RM_TEST.
13210 (cosh_tonearest_test_data): Remove.
13211 (cosh_test_tonearest): Likewise.
13212 (cosh_towardzero_test_data): Likewise.
13213 (cosh_test_towardzero): Likewise.
13214 (cosh_downward_test_data): Likewise.
13215 (cosh_test_downward): Likewise.
13216 (cosh_upward_test_data): Likewise.
13217 (cosh_test_upward): Likewise.
13218 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13219 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13220 (ctan_test_data): Likewise.
13221 (ctan_test): Use ALL_RM_TEST.
13222 (ctan_tonearest_test_data): Remove.
13223 (ctan_test_tonearest): Likewise.
13224 (ctan_towardzero_test_data): Likewise.
13225 (ctan_test_towardzero): Likewise.
13226 (ctan_downward_test_data): Likewise.
13227 (ctan_test_downward): Likewise.
13228 (ctan_upward_test_data): Likewise.
13229 (ctan_test_upward): Likewise.
13230 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13231 (ctanh_test): Use ALL_RM_TEST.
13232 (ctanh_tonearest_test_data): Remove.
13233 (ctanh_test_tonearest): Likewise.
13234 (ctanh_towardzero_test_data): Likewise.
13235 (ctanh_test_towardzero): Likewise.
13236 (ctanh_downward_test_data): Likewise.
13237 (ctanh_test_downward): Likewise.
13238 (ctanh_upward_test_data): Likewise.
13239 (ctanh_test_upward): Likewise.
13240 (erf_test_data): Update call to AUTO_TESTS_f_f.
13241 (erfc_test_data): Likewise.
13242 (exp_test_data): Likewise.
13243 (exp_test): Use ALL_RM_TEST.
13244 (exp_tonearest_test_data): Remove.
13245 (exp_test_tonearest): Likewise.
13246 (exp_towardzero_test_data): Likewise.
13247 (exp_test_towardzero): Likewise.
13248 (exp_downward_test_data): Likewise.
13249 (exp_test_downward): Likewise.
13250 (exp_upward_test_data): Likewise.
13251 (exp_test_upward): Likewise.
13252 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13253 (exp10_test): Use ALL_RM_TEST.
13254 (exp10_tonearest_test_data): Remove.
13255 (exp10_test_tonearest): Likewise.
13256 (exp10_towardzero_test_data): Likewise.
13257 (exp10_test_towardzero): Likewise.
13258 (exp10_downward_test_data): Likewise.
13259 (exp10_test_downward): Likewise.
13260 (exp10_upward_test_data): Likewise.
13261 (exp10_test_upward): Likewise.
13262 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13263 (expm1_test_data): Likewise.
13264 (expm1_test): Use ALL_RM_TEST.
13265 (expm1_tonearest_test_data): Remove.
13266 (expm1_test_tonearest): Likewise.
13267 (expm1_towardzero_test_data): Likewise.
13268 (expm1_test_towardzero): Likewise.
13269 (expm1_downward_test_data): Likewise.
13270 (expm1_test_downward): Likewise.
13271 (expm1_upward_test_data): Likewise.
13272 (expm1_test_upward): Likewise.
13273 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13274 (fma_test): Use ALL_RM_TEST.
13275 (fma_towardzero_test_data): Remove.
13276 (fma_test_towardzero): Likewise.
13277 (fma_downward_test_data): Likewise.
13278 (fma_test_downward): Likewise.
13279 (fma_upward_test_data): Likewise.
13280 (fma_test_upward): Likewise.
13281 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13282 (j0_test_data): Update call to AUTO_TESTS_f_f.
13283 (j1_test_data): Likewise.
13284 (jn_test_data): Update call to AUTO_TESTS_if_f.
13285 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13286 (log_test_data): Update call to AUTO_TESTS_f_f.
13287 (log10_test_data): Likewise.
13288 (log1p_test_data): Likewise.
13289 (log2_test_data): Likewise.
13290 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13291 (pow_tonearest_test_data): Likewise.
13292 (sin_test_data): Update call to AUTO_TESTS_f_f.
13293 (sin_test): Use ALL_RM_TEST.
13294 (sin_tonearest_test_data): Remove.
13295 (sin_test_tonearest): Likewise.
13296 (sin_towardzero_test_data): Likewise.
13297 (sin_test_towardzero): Likewise.
13298 (sin_downward_test_data): Likewise.
13299 (sin_test_downward): Likewise.
13300 (sin_upward_test_data): Likewise.
13301 (sin_test_upward): Likewise.
13302 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13303 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13304 (sinh_test): Use ALL_RM_TEST.
13305 (sinh_tonearest_test_data): Remove.
13306 (sinh_test_tonearest): Likewise.
13307 (sinh_towardzero_test_data): Likewise.
13308 (sinh_test_towardzero): Likewise.
13309 (sinh_downward_test_data): Likewise.
13310 (sinh_test_downward): Likewise.
13311 (sinh_upward_test_data): Likewise.
13312 (sinh_test_upward): Likewise.
13313 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13314 (sqrt_test): Use ALL_RM_TEST.
13315 (sqrt_tonearest_test_data): Remove.
13316 (sqrt_test_tonearest): Likewise.
13317 (sqrt_towardzero_test_data): Likewise.
13318 (sqrt_test_towardzero): Likewise.
13319 (sqrt_downward_test_data): Likewise.
13320 (sqrt_test_downward): Likewise.
13321 (sqrt_upward_test_data): Likewise.
13322 (sqrt_test_upward): Likewise.
13323 (tan_test_data): Update call to AUTO_TESTS_f_f.
13324 (tan_test): Use ALL_RM_TEST.
13325 (tan_tonearest_test_data): Remove.
13326 (tan_test_tonearest): Likewise.
13327 (tan_towardzero_test_data): Likewise.
13328 (tan_test_towardzero): Likewise.
13329 (tan_downward_test_data): Likewise.
13330 (tan_test_downward): Likewise.
13331 (tan_upward_test_data): Likewise.
13332 (tan_test_upward): Likewise.
13333 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13334 (tgamma_test_data): Likewise.
13335 (y0_test_data): Likewise.
13336 (y1_test_data): Likewise.
13337 (yn_test_data): Update call to AUTO_TESTS_if_f.
13338 (main): Do not call removed functions.
13339
13340 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13341
13342 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13343 (ldexp_test_data): Remove.
13344 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13345 scalbn_test_data.
13346 (scalb_test): Use ALL_RM_TEST.
13347
13348 2014-03-19 Andreas Schwab <schwab@suse.de>
13349
13350 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13351
13352 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13353
13354 [BZ #16649]
13355 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13356 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13357 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13358 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13359 (__ASSUME_PREADV): Undefine.
13360 (__ASSUME_PWRITEV): Likewise.
13361
13362 2014-03-18 Roland McGrath <roland@hack.frob.com>
13363
13364 * bits/mman-linux.h: Add comment about non-Linux use.
13365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13366 bits/mman-linux.h resting place.
13367
13368 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13369 * bits/mman-linux.h: ... here.
13370
13371 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13372
13373 * conform/conformtest.pl: Add standard definition when calling C
13374 preprocessor on data files.
13375 (checknamespace): Remove unused variable.
13376
13377 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13378
13379 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13380 minus_oflow, plus_uflow and minus_uflow in expected results.
13381 * math/libm-test.inc (scalbn_test_data): Add more tests of
13382 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13383 minus_uflow.
13384 (scalbn_test): Use ALL_RM_TEST.
13385 (scalbln_test_data): Add more tests of negative arguments. Use
13386 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13387 (scalbln_test): Use ALL_RM_TEST.
13388
13389 2014-03-18 Roland McGrath <roland@hack.frob.com>
13390
13391 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13392
13393 2014-03-18 Will Newton <will.newton@linaro.org>
13394
13395 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13396 inaccurate comment.
13397
13398 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13399
13400 * Makerules [!subdir] (check-abi): Exit with error status if a
13401 test failed.
13402
13403 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13404
13405 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13406 for rint. Include results for all rounding modes.
13407 (nearbyint_test): Use ALL_RM_TEST.
13408 (rint_test_data): Include all tests used for nearbyint.
13409
13410 2014-03-17 Will Newton <will.newton@linaro.org>
13411
13412 * nptl/sysdeps/pthread/pthread.h: Revert previous
13413 change.
13414
13415 * sysdeps/generic/ldsodefs.h: Revert previous
13416 change.
13417
13418 * libio/genops.c: Revert previous change.
13419 * libio/libioP.h: Likewise.
13420 * stdio-common/vfprintf.c: Likewise.
13421
13422 * sysdeps/generic/math_private.h: Revert previous
13423 change.
13424
13425 * sysdeps/generic/math_private.h: Check whether
13426 HAVE_RM_CTX is defined with #ifdef rather
13427 than #if.
13428
13429 * argp/argp-fmtstream.h: Check whether
13430 __STRICT_ANSI__ is defined with #ifdef rather
13431 than #if.
13432 * argp/argp.h: Likewise.
13433
13434 * libio/genops.c: Check whether
13435 _IO_JUMPS_OFFSET is defined with #ifdef rather
13436 than #if.
13437 * libio/libioP.h: Likewise.
13438 * stdio-common/vfprintf.c: Likewise.
13439
13440 * sysdeps/generic/ldsodefs.h: Check whether
13441 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13442 than #if.
13443
13444 * nptl/sysdeps/pthread/pthread.h: Check
13445 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13446 its value.
13447
13448 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13449
13450 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13451 setting O_APPEND.
13452 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13453 test case.
13454
13455 [BZ #16680]
13456 * libio/fileops.c (_IO_file_open): Seek to end of file but
13457 don't cache the offset.
13458 (get_file_offset): Remove function.
13459 (do_ftell): Use cached offset when available.
13460 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13461 don't cache the offset.
13462 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13463 case.
13464 (do_one_test): Call it.
13465 (do_ftell_test): Fix up expected old offset for a+ mode.
13466 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13467 available.
13468
13469 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13470 up test status with function return status.
13471 (do_write_test): Likewise.
13472 (do_append_test): Likewise.
13473
13474 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13475 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13476 Remove.
13477
13478 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13479
13480 * math/gen-libm-test.pl (parse_args): Handle results specified for
13481 each rounding mode separately.
13482 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13483 tests and results from lrint_tonearest_test_data,
13484 lrint_towardzero_test_data, lrint_downward_test_data and
13485 lrint_upward_test_data.
13486 (lrint_test): Use ALL_RM_TEST.
13487 (lrint_tonearest_test_data): Remove.
13488 (lrint_test_tonearest): Likewise.
13489 (lrint_towardzero_test_data): Likewise.
13490 (lrint_test_towardzero): Likewise.
13491 (lrint_downward_test_data): Likewise.
13492 (lrint_test_downward): Likewise.
13493 (lrint_upward_test_data): Likewise.
13494 (lrint_test_upward): Likewise.
13495 (llrint_test_data): Merge in per-rounding-mode tests and results
13496 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13497 llrint_downward_test_data and llrint_upward_test_data.
13498 (llrint_test): Use ALL_RM_TEST.
13499 (llrint_tonearest_test_data): Remove.
13500 (llrint_test_tonearest): Likewise.
13501 (llrint_towardzero_test_data): Likewise.
13502 (llrint_test_towardzero): Likewise.
13503 (llrint_downward_test_data): Likewise.
13504 (llrint_test_downward): Likewise.
13505 (llrint_upward_test_data): Likewise.
13506 (llrint_test_upward): Likewise.
13507 (rint_test_data): Merge in per-rounding-mode tests and results
13508 from rint_tonearest_test_data, rint_towardzero_test_data,
13509 rint_downward_test_data and rint_upward_test_data. Add
13510 per-rounding-mode results for tests not in those arrays.
13511 (rint_test): Use ALL_RM_TEST.
13512 (rint_tonearest_test_data): Remove.
13513 (rint_test_tonearest): Likewise.
13514 (rint_towardzero_test_data): Likewise.
13515 (rint_test_towardzero): Likewise.
13516 (rint_downward_test_data): Likewise.
13517 (rint_test_downward): Likewise.
13518 (rint_upward_test_data): Likewise.
13519 (rint_test_upward): Likewise.
13520 (main): Don't call removed functions.
13521
13522 2014-03-14 Roland McGrath <roland@hack.frob.com>
13523
13524 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13525 "Compiled on ..." crapola. It is anti-useful.
13526
13527 2014-03-14 Joseph Myers <joseph@codesourcery.com>
13528
13529 * scripts/evaluate-test.sh: Handle fourth argument to determine
13530 whether test run should stop on failure.
13531 * Makeconfig (stop-on-test-failure): New variable.
13532 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13533 $(stop-on-test-failure).
13534 * Makefile (tests): Give a summary of results from testing and
13535 exit with failure status if they include an ERROR or FAIL.
13536 (xtests): Likewise.
13537 * manual/install.texi (Configuring and compiling): Mention
13538 stop-on-test-failure=y.
13539 * INSTALL: Regenerated.
13540
13541 2014-03-14 Roland McGrath <roland@hack.frob.com>
13542
13543 * scripts/versionlist.awk: New file.
13544 * Makerules [$(build-shared) = yes]
13545 (postclean-generated): Add Versions.def, not Versions.def.v and
13546 Versions.def.v.i.
13547 ($(common-objpfx)Versions.def.v.i): Target removed.
13548 ($(common-objpfx)Versions.def): New target.
13549 ($(common-objpfx)Versions.all): Depend on that rather that
13550 $(common-objpfx)Versions.def.v.
13551 * Versions.def: File removed.
13552
13553 * Makeconfig (+gccwarn): Add -Wundef.
13554 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13555 a dl-sysdep.h breaking its contract.
13556 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13557 * include/stackinfo.h: New file.
13558 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13559 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13560 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13561 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13562 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13563 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13564 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13565 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13566 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13567 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13568 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13569 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13570 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13571 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13572 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13573
13574 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13575
13576 [BZ #16707]
13577 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13578 implementation.
13579 * math/libm-test.inc (round_test_data): Add more tests.
13580
13581 [BZ #16706]
13582 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13583 implementation.
13584 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13585
13586 [BZ #16701]
13587 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13588 implementation.
13589 * math/libm-test.inc (ceil_test_data): Add more tests.
13590
13591 * math/libm-test.inc (trunc_test_data): Add more tests related to
13592 BZ#16414.
13593
13594 2014-03-14 Roland McGrath <roland@hack.frob.com>
13595
13596 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13597 with #if rather than #ifdef.
13598 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13599
13600 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13601
13602 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13603 first. Disable AVX-512 GCC support if assembler doesn't support
13604 it.
13605 * sysdeps/x86_64/configure: Regenerated.
13606
13607 2014-03-13 Carlos O'Donell <carlos@redhat.com>
13608
13609 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13610 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13611 (__old_pthread_attr_setstack): Likewise.
13612 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13613 [!_STACK_GROWS_DOWN]: Likewise.
13614
13615 2014-03-13 Mike Frysinger <vapier@gentoo.org>
13616
13617 * config.make.in (have-bash2): Delete.
13618 * configure.ac (libc_cv_have_bash2): Delete.
13619 * configure: Regenerate.
13620 * elf/Makefile (common-ldd-rewrite): Rename to ...
13621 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13622 (sh-ldd-rewrite): Delete.
13623 (bash-ldd-rewrite): Delete.
13624 (have-bash2): Delete checks.
13625 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13626 ldd-rewrite.
13627
13628 * config.make.in (have-ksh): Delete.
13629 (KSH): Delete.
13630 * configure.ac (libc_cv_have_ksh): Delete.
13631 * configure: Regenerate.
13632
13633 * elf/Makefile: Delete $(have-ksh) check.
13634 ($(objpfx)sotruss): Change KSH to BASH.
13635 * elf/sotruss.ksh: Rename to ...
13636 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13637 function style to match POSIX. Drop ksh vim mode setting.
13638
13639 * manual/time.texi (Specifying the Time Zone with TZ): Change
13640 Tuesday to Thursday.
13641
13642 * debug/tst-longjmp_chk2.c: Update header comment.
13643 (stackoverflow_handler): Add comment. Call assert on pass value.
13644
13645 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13646
13647 [BZ #16194]
13648 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13649 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13650 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13651 (La_x86_64_vector): Add zmm.
13652 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13653 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13654 ($(objpfx)tst-audit10): New target.
13655 ($(objpfx)tst-audit10.out): Likewise.
13656 (tst-audit10-ENV): New.
13657 (AVX512-CFLAGS): Likewise.
13658 (CFLAGS-tst-audit10.c): Likewise.
13659 (CFLAGS-tst-auditmod10a.c): Likewise.
13660 (CFLAGS-tst-auditmod10b.c): Likewise.
13661 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13662 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13663 * sysdeps/x86_64/configure: Regenerated.
13664 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13665 AVX-512 zmm register support.
13666 (_dl_x86_64_save_sse): Likewise.
13667 (_dl_x86_64_restore_sse): Likewise.
13668 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13669 size vector registers.
13670 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13671 (ZMM_SIZE): Likewise.
13672 * sysdeps/x86_64/tst-audit10.c: New file.
13673 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13674 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13675
13676 2014-03-13 Roland McGrath <roland@hack.frob.com>
13677
13678 * configure.ac (HAVE_EHDR_START): New check.
13679 * configure: Regenerated.
13680 * config.h.in (HAVE_EHDR_START): New #undef.
13681 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13682 assuming the lowest-addressed segment maps the start of the file.
13683
13684 2014-03-13 Joseph Myers <joseph@codesourcery.com>
13685
13686 * INSTALL: Regenerated.
13687
13688 2014-03-13 Will Newton <will.newton@linaro.org>
13689
13690 * manual/setjmp.texi (System V contexts): Improve
13691 clarity and grammar of documentation.
13692
13693 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13694
13695 [BZ #16381]
13696 * elf/Makefile (tests): Add tst-pie2.
13697 (tests-pie): Add tst-pie2.
13698 * elf/tst-pie2.c: New file.
13699 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13700 for ET_EXEC.
13701 * elf/rtld.c (map_doit): Load executable as lt_executable.
13702 (dl_main): Likewise.
13703
13704 2014-03-12 Joseph Myers <joseph@codesourcery.com>
13705
13706 [BZ #16642]
13707 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13708 (__ASSUME_PSELECT): Undefine.
13709
13710 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13711
13712 [BZ #16689]
13713 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13714 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13715 static build.
13716 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13717 selector for static builds.
13718
13719 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13720
13721 [BZ #16695]
13722 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13723 key in the buffer.
13724
13725 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13726
13727 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13728 IFUNC selector for static builds.
13729
13730 2014-03-11 Joseph Myers <joseph@codesourcery.com>
13731
13732 * sysdeps/mips/math_private.h [__mips_hard_float]
13733 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13734 libc_feresetround_mips_ctx.
13735 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13736 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13737 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13738
13739 [BZ #16677]
13740 * math/s_nextafter.c (__nextafter): Do not return value from
13741 overflowing computation.
13742 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13743 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13744 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13745 Likewise.
13746 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13747 Likewise.
13748 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13749 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13750
13751 2014-03-11 Roland McGrath <roland@hack.frob.com>
13752
13753 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13754 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13755 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13756 the new mov targetting sp.
13757
13758 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13759
13760 [BZ #16683]
13761 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13762 Define it for static builds as well.
13763 (NO_BZERO_IMPL): Likewise.
13764
13765 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13766
13767 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13768 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13769 multiarch strspn for PPC64.
13770 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13771 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13772 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13773 (__libc_ifunc_impl_list): Likewise.
13774 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13775 multiarch optimizations
13776 * string/strspn.c (strspn): Using macro to redefine symbol name.
13777
13778 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13779 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13780
13781 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13782 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13783 multiarch strncat for PPC64.
13784 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13785 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13787 (__libc_ifunc_impl_list): Likewise.
13788 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13789 multiarch optimizations
13790
13791 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13792
13793 [BZ #16639]
13794 * nscd/nscd.service: Make service type forking.
13795
13796 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13797
13798 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13799 sign in non default rounding modes.
13800 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13801
13802 2014-03-08 Joseph Myers <joseph@codesourcery.com>
13803
13804 * math/libm-test.inc (ALL_RM_TEST): New macro.
13805 (ceil_test): Use ALL_RM_TEST.
13806 (cimag_test): Likewise.
13807 (conj_test): Likewise.
13808 (copysign_test): Likewise.
13809 (cproj_test): Likewise.
13810 (creal_test): Likewise.
13811 (fabs_test): Likewise.
13812 (floor_test): Likewise.
13813 (fmax_test): Likewise.
13814 (fmin_test): Likewise.
13815 (fmod_test): Likewise.
13816 (fpclassify_test): Likewise.
13817 (frexp_test): Likewise.
13818 (ilogb_test): Likewise.
13819 (isfinite_test): Likewise.
13820 (finite_test): Likewise.
13821 (isgreater_test): Likewise.
13822 (isgreaterequal_test): Likewise.
13823 (isinf_test): Likewise.
13824 (isless_test): Likewise.
13825 (islessequal_test): Likewise.
13826 (islessgreater_test): Likewise.
13827 (isnan_test): Likewise.
13828 (isnormal_test): Likewise.
13829 (issignaling_test): Likewise.
13830 (isunordered_test): Likewise.
13831 (logb_test): Likewise.
13832 (logb_downward_test_data): Remove.
13833 (logb_test_downward): Likewise.
13834 (lround_test): Use ALL_RM_TEST.
13835 (llround_test): Likewise.
13836 (modf_test): Likewise.
13837 (nexttoward_test): Likewise.
13838 (remainder_test): Likewise.
13839 (drem_test): Likewise.
13840 (remainder_tonearest_test_data): Likewise.
13841 (remainder_test_tonearest): Likewise.
13842 (drem_test_tonearest): Likewise.
13843 (remainder_towardzero_test_data): Likewise.
13844 (remainder_test_towardzero): Likewise.
13845 (drem_test_towardzero): Likewise.
13846 (remainder_downward_test_data): Likewise.
13847 (remainder_test_downward): Likewise.
13848 (drem_test_downward): Likewise.
13849 (remainder_upward_test_data): Likewise.
13850 (remainder_test_upward): Likewise.
13851 (drem_test_upward): Likewise.
13852 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13853 (round_test): Use ALL_RM_TEST.
13854 (signbit_test): Likewise.
13855 (trunc_test): Likewise.
13856 (significand_test): Likewise.
13857 (main): Don't call removed functions.
13858
13859 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13860
13861 [BZ #16674]
13862 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13863 || __USE_XOPEN2K8].
13864 (ILL_ILLOPN): Likewise.
13865 (ILL_ILLADR): Likewise.
13866 (ILL_ILLTRP): Likewise.
13867 (ILL_PRVOPC): Likewise.
13868 (ILL_PRVREG): Likewise.
13869 (ILL_COPROC): Likewise.
13870 (ILL_BADSTK): Likewise.
13871 (FPE_INTDIV): Likewise.
13872 (FPE_INTOVF): Likewise.
13873 (FPE_FLTDIV): Likewise.
13874 (FPE_FLTOVF): Likewise.
13875 (FPE_FLTUND): Likewise.
13876 (FPE_FLTRES): Likewise.
13877 (FPE_FLTINV): Likewise.
13878 (FPE_FLTSUB): Likewise.
13879 (SEGV_MAPERR): Likewise.
13880 (SEGV_ACCERR): Likewise.
13881 (BUS_ADRALN): Likewise.
13882 (BUS_ADRERR): Likewise.
13883 (BUS_OBJERR): Likewise.
13884 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13885 (TRAP_TRACE): Likewise.
13886 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13887 __USE_XOPEN2K8].
13888 (CLD_KILLED): Likewise.
13889 (CLD_DUMPED): Likewise.
13890 (CLD_TRAPPED): Likewise.
13891 (CLD_STOPPED): Likewise.
13892 (CLD_CONTINUED): Likewise.
13893 (POLL_IN): Likewise.
13894 (POLL_OUT): Likewise.
13895 (POLL_MSG): Likewise.
13896 (POLL_ERR): Likewise.
13897 (POLL_PRI): Likewise.
13898 (POLL_HUP): Likewise.
13899 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13900 Likewise.
13901 (ILL_ILLOPN): Likewise.
13902 (ILL_ILLADR): Likewise.
13903 (ILL_ILLTRP): Likewise.
13904 (ILL_PRVOPC): Likewise.
13905 (ILL_PRVREG): Likewise.
13906 (ILL_COPROC): Likewise.
13907 (ILL_BADSTK): Likewise.
13908 (FPE_INTDIV): Likewise.
13909 (FPE_INTOVF): Likewise.
13910 (FPE_FLTDIV): Likewise.
13911 (FPE_FLTOVF): Likewise.
13912 (FPE_FLTUND): Likewise.
13913 (FPE_FLTRES): Likewise.
13914 (FPE_FLTINV): Likewise.
13915 (FPE_FLTSUB): Likewise.
13916 (SEGV_MAPERR): Likewise.
13917 (SEGV_ACCERR): Likewise.
13918 (BUS_ADRALN): Likewise.
13919 (BUS_ADRERR): Likewise.
13920 (BUS_OBJERR): Likewise.
13921 (BUS_MCEERR_AR): Likewise.
13922 (BUS_MCEERR_AO): Likewise.
13923 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13924 (TRAP_TRACE): Likewise.
13925 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13926 __USE_XOPEN2K8].
13927 (CLD_KILLED): Likewise.
13928 (CLD_DUMPED): Likewise.
13929 (CLD_TRAPPED): Likewise.
13930 (CLD_STOPPED): Likewise.
13931 (CLD_CONTINUED): Likewise.
13932 (POLL_IN): Likewise.
13933 (POLL_OUT): Likewise.
13934 (POLL_MSG): Likewise.
13935 (POLL_ERR): Likewise.
13936 (POLL_PRI): Likewise.
13937 (POLL_HUP): Likewise.
13938 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13939 (ILL_ILLOPN): Likewise.
13940 (ILL_ILLADR): Likewise.
13941 (ILL_ILLTRP): Likewise.
13942 (ILL_PRVOPC): Likewise.
13943 (ILL_PRVREG): Likewise.
13944 (ILL_COPROC): Likewise.
13945 (ILL_BADSTK): Likewise.
13946 (FPE_INTDIV): Likewise.
13947 (FPE_INTOVF): Likewise.
13948 (FPE_FLTDIV): Likewise.
13949 (FPE_FLTOVF): Likewise.
13950 (FPE_FLTUND): Likewise.
13951 (FPE_FLTRES): Likewise.
13952 (FPE_FLTINV): Likewise.
13953 (FPE_FLTSUB): Likewise.
13954 (SEGV_MAPERR): Likewise.
13955 (SEGV_ACCERR): Likewise.
13956 (BUS_ADRALN): Likewise.
13957 (BUS_ADRERR): Likewise.
13958 (BUS_OBJERR): Likewise.
13959 (BUS_MCEERR_AR): Likewise.
13960 (BUS_MCEERR_AO): Likewise.
13961 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13962 (TRAP_TRACE): Likewise.
13963 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13964 __USE_XOPEN2K8].
13965 (CLD_KILLED): Likewise.
13966 (CLD_DUMPED): Likewise.
13967 (CLD_TRAPPED): Likewise.
13968 (CLD_STOPPED): Likewise.
13969 (CLD_CONTINUED): Likewise.
13970 (POLL_IN): Likewise.
13971 (POLL_OUT): Likewise.
13972 (POLL_MSG): Likewise.
13973 (POLL_ERR): Likewise.
13974 (POLL_PRI): Likewise.
13975 (POLL_HUP): Likewise.
13976 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13977 Likewise.
13978 (ILL_ILLOPN): Likewise.
13979 (ILL_ILLADR): Likewise.
13980 (ILL_ILLTRP): Likewise.
13981 (ILL_PRVOPC): Likewise.
13982 (ILL_PRVREG): Likewise.
13983 (ILL_COPROC): Likewise.
13984 (ILL_BADSTK): Likewise.
13985 (ILL_BADIADDR): Likewise.
13986 (ILL_BREAK): Likewise.
13987 (FPE_INTDIV): Likewise.
13988 (FPE_INTOVF): Likewise.
13989 (FPE_FLTDIV): Likewise.
13990 (FPE_FLTOVF): Likewise.
13991 (FPE_FLTUND): Likewise.
13992 (FPE_FLTRES): Likewise.
13993 (FPE_FLTINV): Likewise.
13994 (FPE_FLTSUB): Likewise.
13995 (FPE_DECOVF): Likewise.
13996 (FPE_DECDIV): Likewise.
13997 (FPE_DECERR): Likewise.
13998 (FPE_INVASC): Likewise.
13999 (FPE_INVDEC): Likewise.
14000 (SEGV_MAPERR): Likewise.
14001 (SEGV_ACCERR): Likewise.
14002 (SEGV_PSTKOVF): Likewise.
14003 (BUS_ADRALN): Likewise.
14004 (BUS_ADRERR): Likewise.
14005 (BUS_OBJERR): Likewise.
14006 (BUS_MCEERR_AR): Likewise.
14007 (BUS_MCEERR_AO): Likewise.
14008 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14009 (TRAP_TRACE): Likewise.
14010 (TRAP_BRANCH): Likewise.
14011 (TRAP_HWBKPT): Likewise.
14012 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14013 __USE_XOPEN2K8].
14014 (CLD_KILLED): Likewise.
14015 (CLD_DUMPED): Likewise.
14016 (CLD_TRAPPED): Likewise.
14017 (CLD_STOPPED): Likewise.
14018 (CLD_CONTINUED): Likewise.
14019 (POLL_IN): Likewise.
14020 (POLL_OUT): Likewise.
14021 (POLL_MSG): Likewise.
14022 (POLL_ERR): Likewise.
14023 (POLL_PRI): Likewise.
14024 (POLL_HUP): Likewise.
14025 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14026 (ILL_ILLOPN): Likewise.
14027 (ILL_ILLADR): Likewise.
14028 (ILL_ILLTRP): Likewise.
14029 (ILL_PRVOPC): Likewise.
14030 (ILL_PRVREG): Likewise.
14031 (ILL_COPROC): Likewise.
14032 (ILL_BADSTK): Likewise.
14033 (FPE_INTDIV): Likewise.
14034 (FPE_INTOVF): Likewise.
14035 (FPE_FLTDIV): Likewise.
14036 (FPE_FLTOVF): Likewise.
14037 (FPE_FLTUND): Likewise.
14038 (FPE_FLTRES): Likewise.
14039 (FPE_FLTINV): Likewise.
14040 (FPE_FLTSUB): Likewise.
14041 (SEGV_MAPERR): Likewise.
14042 (SEGV_ACCERR): Likewise.
14043 (BUS_ADRALN): Likewise.
14044 (BUS_ADRERR): Likewise.
14045 (BUS_OBJERR): Likewise.
14046 (BUS_MCEERR_AR): Likewise.
14047 (BUS_MCEERR_AO): Likewise.
14048 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14049 (TRAP_TRACE): Likewise.
14050 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14051 __USE_XOPEN2K8].
14052 (CLD_KILLED): Likewise.
14053 (CLD_DUMPED): Likewise.
14054 (CLD_TRAPPED): Likewise.
14055 (CLD_STOPPED): Likewise.
14056 (CLD_CONTINUED): Likewise.
14057 (POLL_IN): Likewise.
14058 (POLL_OUT): Likewise.
14059 (POLL_MSG): Likewise.
14060 (POLL_ERR): Likewise.
14061 (POLL_PRI): Likewise.
14062 (POLL_HUP): Likewise.
14063 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14064 (ILL_ILLOPN): Likewise.
14065 (ILL_ILLADR): Likewise.
14066 (ILL_ILLTRP): Likewise.
14067 (ILL_PRVOPC): Likewise.
14068 (ILL_PRVREG): Likewise.
14069 (ILL_COPROC): Likewise.
14070 (ILL_BADSTK): Likewise.
14071 (FPE_INTDIV): Likewise.
14072 (FPE_INTOVF): Likewise.
14073 (FPE_FLTDIV): Likewise.
14074 (FPE_FLTOVF): Likewise.
14075 (FPE_FLTUND): Likewise.
14076 (FPE_FLTRES): Likewise.
14077 (FPE_FLTINV): Likewise.
14078 (FPE_FLTSUB): Likewise.
14079 (SEGV_MAPERR): Likewise.
14080 (SEGV_ACCERR): Likewise.
14081 (BUS_ADRALN): Likewise.
14082 (BUS_ADRERR): Likewise.
14083 (BUS_OBJERR): Likewise.
14084 (BUS_MCEERR_AR): Likewise.
14085 (BUS_MCEERR_AO): Likewise.
14086 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14087 (TRAP_TRACE): Likewise.
14088 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14089 __USE_XOPEN2K8].
14090 (CLD_KILLED): Likewise.
14091 (CLD_DUMPED): Likewise.
14092 (CLD_TRAPPED): Likewise.
14093 (CLD_STOPPED): Likewise.
14094 (CLD_CONTINUED): Likewise.
14095 (POLL_IN): Likewise.
14096 (POLL_OUT): Likewise.
14097 (POLL_MSG): Likewise.
14098 (POLL_ERR): Likewise.
14099 (POLL_PRI): Likewise.
14100 (POLL_HUP): Likewise.
14101 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14102 (ILL_ILLOPN): Likewise.
14103 (ILL_ILLADR): Likewise.
14104 (ILL_ILLTRP): Likewise.
14105 (ILL_PRVOPC): Likewise.
14106 (ILL_PRVREG): Likewise.
14107 (ILL_COPROC): Likewise.
14108 (ILL_BADSTK): Likewise.
14109 (FPE_INTDIV): Likewise.
14110 (FPE_INTOVF): Likewise.
14111 (FPE_FLTDIV): Likewise.
14112 (FPE_FLTOVF): Likewise.
14113 (FPE_FLTUND): Likewise.
14114 (FPE_FLTRES): Likewise.
14115 (FPE_FLTINV): Likewise.
14116 (FPE_FLTSUB): Likewise.
14117 (SEGV_MAPERR): Likewise.
14118 (SEGV_ACCERR): Likewise.
14119 (BUS_ADRALN): Likewise.
14120 (BUS_ADRERR): Likewise.
14121 (BUS_OBJERR): Likewise.
14122 (BUS_MCEERR_AR): Likewise.
14123 (BUS_MCEERR_AO): Likewise.
14124 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14125 (TRAP_TRACE): Likewise.
14126 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14127 __USE_XOPEN2K8].
14128 (CLD_KILLED): Likewise.
14129 (CLD_DUMPED): Likewise.
14130 (CLD_TRAPPED): Likewise.
14131 (CLD_STOPPED): Likewise.
14132 (CLD_CONTINUED): Likewise.
14133 (POLL_IN): Likewise.
14134 (POLL_OUT): Likewise.
14135 (POLL_MSG): Likewise.
14136 (POLL_ERR): Likewise.
14137 (POLL_PRI): Likewise.
14138 (POLL_HUP): Likewise.
14139 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14140 (ILL_ILLOPN): Likewise.
14141 (ILL_ILLADR): Likewise.
14142 (ILL_ILLTRP): Likewise.
14143 (ILL_PRVOPC): Likewise.
14144 (ILL_PRVREG): Likewise.
14145 (ILL_COPROC): Likewise.
14146 (ILL_BADSTK): Likewise.
14147 (ILL_DBLFLT): Likewise.
14148 (ILL_HARDWALL): Likewise.
14149 (FPE_INTDIV): Likewise.
14150 (FPE_INTOVF): Likewise.
14151 (FPE_FLTDIV): Likewise.
14152 (FPE_FLTOVF): Likewise.
14153 (FPE_FLTUND): Likewise.
14154 (FPE_FLTRES): Likewise.
14155 (FPE_FLTINV): Likewise.
14156 (FPE_FLTSUB): Likewise.
14157 (SEGV_MAPERR): Likewise.
14158 (SEGV_ACCERR): Likewise.
14159 (BUS_ADRALN): Likewise.
14160 (BUS_ADRERR): Likewise.
14161 (BUS_OBJERR): Likewise.
14162 (BUS_MCEERR_AR): Likewise.
14163 (BUS_MCEERR_AO): Likewise.
14164 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14165 (TRAP_TRACE): Likewise.
14166 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14167 __USE_XOPEN2K8].
14168 (CLD_KILLED): Likewise.
14169 (CLD_DUMPED): Likewise.
14170 (CLD_TRAPPED): Likewise.
14171 (CLD_STOPPED): Likewise.
14172 (CLD_CONTINUED): Likewise.
14173 (POLL_IN): Likewise.
14174 (POLL_OUT): Likewise.
14175 (POLL_MSG): Likewise.
14176 (POLL_ERR): Likewise.
14177 (POLL_PRI): Likewise.
14178 (POLL_HUP): Likewise.
14179 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14180 (ILL_ILLOPN): Likewise.
14181 (ILL_ILLADR): Likewise.
14182 (ILL_ILLTRP): Likewise.
14183 (ILL_PRVOPC): Likewise.
14184 (ILL_PRVREG): Likewise.
14185 (ILL_COPROC): Likewise.
14186 (ILL_BADSTK): Likewise.
14187 (FPE_INTDIV): Likewise.
14188 (FPE_INTOVF): Likewise.
14189 (FPE_FLTDIV): Likewise.
14190 (FPE_FLTOVF): Likewise.
14191 (FPE_FLTUND): Likewise.
14192 (FPE_FLTRES): Likewise.
14193 (FPE_FLTINV): Likewise.
14194 (FPE_FLTSUB): Likewise.
14195 (SEGV_MAPERR): Likewise.
14196 (SEGV_ACCERR): Likewise.
14197 (BUS_ADRALN): Likewise.
14198 (BUS_ADRERR): Likewise.
14199 (BUS_OBJERR): Likewise.
14200 (BUS_MCEERR_AR): Likewise.
14201 (BUS_MCEERR_AO): Likewise.
14202 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14203 (TRAP_TRACE): Likewise.
14204 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14205 __USE_XOPEN2K8].
14206 (CLD_KILLED): Likewise.
14207 (CLD_DUMPED): Likewise.
14208 (CLD_TRAPPED): Likewise.
14209 (CLD_STOPPED): Likewise.
14210 (CLD_CONTINUED): Likewise.
14211 (POLL_IN): Likewise.
14212 (POLL_OUT): Likewise.
14213 (POLL_MSG): Likewise.
14214 (POLL_ERR): Likewise.
14215 (POLL_PRI): Likewise.
14216 (POLL_HUP): Likewise.
14217 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14218 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14219
14220 [BZ #16670]
14221 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14222 before #include of <time.h>.
14223 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14224 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14225 (test-xfail-UNIX98/sched.h/conform): Likewise.
14226
14227 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14228
14229 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14230 error absence of trapping exception support.
14231 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14232
14233 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14234
14235 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14236 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14237 * timezone/Makefile (testdata): Move definition above include of
14238 Rules.
14239 (test-zones): New variable.
14240 (tests-special): Add zone files.
14241 (build-testdata): Use $(evaluate-test).
14242
14243 * elf/Makefile (tests-special): Rename tests to end with .out.
14244 ($(objpfx)noload-mem): Likewise.
14245 ($(objpfx)tst-leaks1-mem): Likewise.
14246 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14247 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14248 $(objpfx)test-iconvconfig.out.
14249 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14250 set -e inside subshell and redirect output to file.
14251 * iconvdata/Makefile (generated): Rename tests to end with .out.
14252 Correct type.
14253 (tests-special): Rename tests to end with .out.
14254 ($(objpfx)mtrace-tst-loading): Likewise.
14255 * intl/Makefile (generated): Likewise.
14256 (tests-special): Likewise.
14257 ($(objpfx)mtrace-tst-gettext): Likewise.
14258 * misc/Makefile (generated): Likewise.
14259 (tests-special): Likewise.
14260 ($(objpfx)tst-error1-mem): Likewise.
14261 * nptl/Makefile (tests-special): Likewise.
14262 ($(objpfx)tst-stack3-mem): Likewise.
14263 (generated): Likewise.
14264 * posix/Makefile (generated): Likewise.
14265 (tests-special): Likewise.
14266 (xtests-special): Likewise.
14267 ($(objpfx)tst-fnmatch-mem): Likewise.
14268 ($(objpfx)bug-regex2-mem): Likewise.
14269 ($(objpfx)bug-regex14-mem): Likewise.
14270 ($(objpfx)bug-regex21-mem): Likewise.
14271 ($(objpfx)bug-regex31-mem): Likewise.
14272 ($(objpfx)tst-vfork3-mem): Likewise.
14273 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14274 ($(objpfx)tst-pcre-mem): Likewise.
14275 ($(objpfx)tst-boost-mem): Likewise.
14276 ($(objpfx)bug-ga2-mem): Likewise.
14277 ($(objpfx)bug-glob2-mem): Likewise.
14278 * resolv/Makefile (generate): Likewise.
14279 (tests-special): Likewise.
14280 (xtests-special): Likewise.
14281 (generated): Likewise.
14282 ($(objpfx)mtrace-tst-leaks): Likewise.
14283 ($(objpfx)mtrace-tst-leaks2): Likewise.
14284
14285 * scripts/merge-test-results.sh: New file.
14286 * Makefile (tests-special-notdir): New variable.
14287 (tests): Run merge-test-results.sh.
14288 (xtests): Likewise.
14289 * Rules (tests-special-notdir): New variable.
14290 (xtests-special-notdir): Likewise.
14291 (tests): Run merge-test-results.sh
14292 (xtests): Likewise.
14293
14294 * Makeconfig (test-xfail-name): New variable.
14295 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14296 compute variable name for expected failures.
14297 * conform/Makefile (conformtest-headers-data): New variable.
14298 (conformtest-standards): Likewise.
14299 (conformtest-headers-ISO): Likewise.
14300 (conformtest-headers-ISO99): Likewise.
14301 (conformtest-headers-ISO11): Likewise.
14302 (conformtest-headers-POSIX): Likewise.
14303 (conformtest-headers-XPG3): Likewise.
14304 (conformtest-headers-XPG4): Likewise.
14305 (conformtest-headers-UNIX98): Likewise.
14306 (conformtest-headers-XOPEN2K): Likewise.
14307 (conformtest-headers-POSIX2008): Likewise.
14308 (conformtest-headers-XOPEN2K8): Likewise.
14309 (conformtest-header-list-base): Likewise.
14310 (conformtest-header-list-tests): Likewise.
14311 (conformtest-header-base): Likewise.
14312 (conformtest-header-tests): Likewise.
14313 (tests-special): Add $(conformtest-header-list-tests). If
14314 [$(fast-check) && !$(cross-compiling)], add
14315 $(conformtest-header-tests) instead of
14316 $(objpfx)run-conformtest.out.
14317 (generated): Add $(conformtest-header-list-base). If
14318 [$(fast-check) && !$(cross-compiling)], add
14319 $(conformtest-header-base). Remove previous setting.
14320 ($(conformtest-header-list-tests)): New target.
14321 (test-xfail-run-conformtest): Remove variable.
14322 ($(objpfx)run-conformtest.out): Remove target.
14323 (test-xfail-ISO11/complex.h/conform): New variable.
14324 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14325 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14326 (test-xfail-XPG3/varargs.h/conform): Likewise.
14327 (test-xfail-XPG4/varargs.h/conform): Likewise.
14328 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14329 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14330 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14331 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14332 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14333 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14334 (test-xfail-XPG3/ftw.h/conform): Likewise.
14335 (test-xfail-XPG3/grp.h/conform): Likewise.
14336 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14337 (test-xfail-XPG3/limits.h/conform): Likewise.
14338 (test-xfail-XPG3/pwd.h/conform): Likewise.
14339 (test-xfail-XPG3/search.h/conform): Likewise.
14340 (test-xfail-XPG3/signal.h/conform): Likewise.
14341 (test-xfail-XPG3/stdio.h/conform): Likewise.
14342 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14343 (test-xfail-XPG3/string.h/conform): Likewise.
14344 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14345 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14346 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14347 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14348 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14349 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14350 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14351 (test-xfail-XPG3/termios.h/conform): Likewise.
14352 (test-xfail-XPG3/time.h/conform): Likewise.
14353 (test-xfail-XPG3/unistd.h/conform): Likewise.
14354 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14355 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14356 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14357 (test-xfail-XPG4/netdb.h/conform): Likewise.
14358 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14359 (test-xfail-XPG4/signal.h/conform): Likewise.
14360 (test-xfail-XPG4/stdio.h/conform): Likewise.
14361 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14362 (test-xfail-XPG4/stropts.h/conform): Likewise.
14363 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14364 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14365 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14366 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14367 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14368 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14369 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14370 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14371 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14372 (test-xfail-XPG4/termios.h/conform): Likewise.
14373 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14374 (test-xfail-XPG4/unistd.h/conform): Likewise.
14375 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14376 (test-xfail-POSIX/sched.h/conform): Likewise.
14377 (test-xfail-POSIX/signal.h/conform): Likewise.
14378 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14379 (test-xfail-POSIX/tar.h/conform): Likewise.
14380 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14381 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14382 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14383 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14384 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14385 (test-xfail-UNIX98/sched.h/conform): Likewise.
14386 (test-xfail-UNIX98/signal.h/conform): Likewise.
14387 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14388 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14389 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14390 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14391 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14392 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14393 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14394 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14395 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14396 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14397 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14398 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14399 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14400 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14401 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14402 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14403 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14404 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14405 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14406 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14407 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14408 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14409 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14410 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14411 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14412 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14413 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14414 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14415 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14416 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14417 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14418 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14419 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14420 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14421 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14422 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14423 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14424 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14425 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14426 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14427 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14428 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14429 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14430 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14431 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14432 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14433 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14434 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14435 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14436 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14437 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14438 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14439 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14440 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14441 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14442 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14443 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14444 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14445 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14446 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14447 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14448 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14449 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14450 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14451 (conformtest-cc-flags): Likewise.
14452 ($(conformtest-header-tests): New target.
14453 * conform/check-header-lists.sh: New file.
14454 * conform/run-conformtest.sh: Remove.
14455
14456 * conform/conformtest.pl: Allow ' and \ in values given for
14457 constants.
14458 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14459 inclusion.
14460 [POSIX] (sys/types.h): Likewise.
14461 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14462 inclusion.
14463 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14464 inclusion.
14465 * conform/data/signal.h-data (SIGIO): Remove expectation.
14466 [XPG3] (SIGBUS): Do not expect.
14467 [POSIX || XPG3] (SIGPOLL): Likewise.
14468 [POSIX || XPG3] (SIGPROF): Likewise.
14469 [POSIX || XPG3] (SIGSYS): Likewise.
14470 [XPG3] (SIGTRAP): Likewise.
14471 [POSIX || XPG3] (SIGURG): Likewise.
14472 [POSIX || XPG3] (SIGVTALRM): Likewise.
14473 [POSIX || XPG3] (SIGXCPU): Likewise.
14474 [POSIX || XPG3] (SIGXFSZ): Likewise.
14475 [POSIX] (SA_SIGINFO): Expect.
14476 [XPG3] (siginfo_t): Do not expect type or contents.
14477 [POSIX] (si_pid): Do not expect element.
14478 [POSIX] (si_uid): Likewise.
14479 [POSIX] (si_addr): Likewise.
14480 [POSIX] (si_status): Likewise.
14481 [POSIX] (si_band): Likewise.
14482 [XPG4] (si_value): Likewise.
14483 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14484 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14485 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14486 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14487 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14488 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14489 [POSIX || XPG3] (ILL_COPROC): Likewise.
14490 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14491 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14492 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14493 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14494 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14495 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14496 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14497 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14498 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14499 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14500 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14501 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14502 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14503 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14504 [POSIX || XPG3] (CLD_EXITED): Likewise.
14505 [POSIX || XPG3] (CLD_KILLED): Likewise.
14506 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14507 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14508 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14509 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14510 [POSIX || XPG3] (POLL_IN): Likewise.
14511 [POSIX || XPG3] (POLL_OUT): Likewise.
14512 [POSIX || XPG3] (POLL_MSG): Likewise.
14513 [POSIX || XPG3] (POLL_ERR): Likewise.
14514 [POSIX || XPG3] (POLL_PRI): Likewise.
14515 [POSIX || XPG3] (POLL_HUP): Likewise.
14516 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14517 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14518 (SIG*): Do not allow.
14519 [XPG3] (si_*): Likewise.
14520 [XPG3] (SI_*): Likewise.
14521 [XPG3 || XPG4] (sigev_*): Likewise.
14522 [XPG3 || XPG4] (SIGEV_*): Likewise.
14523 [XPG3 || XPG4] (sival_*): Likewise.
14524 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14525 [POSIX || XPG3] (BUS_*): Likewise.
14526 [POSIX || XPG3] (CLD_*): Likewise.
14527 [POSIX || XPG3] (FPE_*): Likewise.
14528 [POSIX || XPG3] (ILL_*): Likewise.
14529 [POSIX || XPG3] (POLL_*): Likewise.
14530 [POSIX || XPG3] (SEGV_*): Likewise.
14531 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14532 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14533 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14534 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14535 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14536 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14537 Specify type and value.
14538 (TVERSLEN): Likewise.
14539 (REGTYPE): Likewise.
14540 (AREGTYPE): Likewise.
14541 (LNKTYPE): Likewise.
14542 (SYMTYPE): Likewise.
14543 (CHRTYPE): Likewise.
14544 (BLKTYPE): Likewise.
14545 (DIRTYPE): Likewise.
14546 (FIFOTYPE): Likewise.
14547 (CONTTYPE): Likewise.
14548 (TSUID): Likewise.
14549 (TSGID): Likewise.
14550 (TSVTX): Likewise.
14551 (TUREAD): Likewise.
14552 (TUWRITE): Likewise.
14553 (TUEXEC): Likewise.
14554 (TGREAD): Likewise.
14555 (TGWRITE): Likewise.
14556 (TGEXEC): Likewise.
14557 (TOREAD): Likewise.
14558 (TOWRITE): Likewise.
14559 (TOEXEC): Likewise.
14560 [POSIX] (TSVTX): Expect constant.
14561
14562 2014-03-06 Joseph Myers <joseph@codesourcery.com>
14563
14564 * Makefile (tests): Change dependencies to ....
14565 (tests-special): ... additions to this variable.
14566 (tests): Depend on $(tests-special).
14567 * Makerules (check-abi-list): New variable.
14568 (check-abi): Depend on $(check-abi-list).
14569 [$(subdir) = elf] (tests-special): Add
14570 $(objpfx)check-abi-libc.out.
14571 [$(build-shared) = yes && subdir] (tests-special): Add
14572 $(check-abi-list).
14573 [$(build-shared) = yes && subdir] (tests): Do not depend on
14574 check-abi.
14575 * Rules (tests): Depend on $(tests-special).
14576 (xtests): Depend on $(xtests-special).
14577 * catgets/Makefile (tests): Change dependencies to ....
14578 (tests-special): ... additions to this variable.
14579 * conform/Makefile (tests): Change dependencies to ....
14580 (tests-special): ... additions to this variable.
14581 * elf/Makefile (tests): Change dependencies to ....
14582 (tests-special): ... additions to this variable.
14583 * grp/Makefile (tests): Change dependencies to ....
14584 (tests-special): ... additions to this variable.
14585 * iconv/Makefile (xtests): Change dependencies to ....
14586 (xtests-special): ... additions to this variable.
14587 * iconvdata/Makefile (tests): Change dependencies to ....
14588 (tests-special): ... additions to this variable.
14589 * intl/Makefile (tests): Change dependencies to ....
14590 (tests-special): ... additions to this variable. Also add
14591 $(objpfx)tst-gettext.out.
14592 * io/Makefile (tests): Change dependencies to ....
14593 (tests-special): ... additions to this variable.
14594 * libio/Makefile (tests): Change dependencies to ....
14595 (tests-special): ... additions to this variable.
14596 * malloc/Makefile (tests): Change dependencies to ....
14597 (tests-special): ... additions to this variable.
14598 * misc/Makefile (tests): Change dependencies to ....
14599 (tests-special): ... additions to this variable.
14600 * nptl/Makefile (tests): Change dependencies to ....
14601 (tests-special): ... additions to this variable.
14602 * nptl_db/Makefile (tests): Change dependencies to ....
14603 (tests-special): ... additions to this variable.
14604 * posix/Makefile (tests): Change dependencies to ....
14605 (tests-special): ... additions to this variable.
14606 (xtests): Change dependencies to ....
14607 (xtests-special): ... additions to this variable.
14608 * resolv/Makefile (tests): Change dependencies to ....
14609 (tests-special): ... additions to this variable.
14610 (xtests): Change dependencies to ....
14611 (xtests-special): ... additions to this variable.
14612 * stdio-common/Makefile (tests): Change dependencies to ....
14613 (tests-special): ... additions to this variable.
14614 (do-tst-unbputc): Remove target.
14615 (do-tst-printf): Likewise.
14616 * stdlib/Makefile (tests): Change dependencies to ....
14617 (tests-special): ... additions to this variable.
14618 * string/Makefile (tests): Change dependencies to ....
14619 (tests-special): ... additions to this variable.
14620 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14621 (tests-special): ... additions to this variable.
14622
14623 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14624 whole file.
14625 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14626 whole file.
14627 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14628 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14629
14630 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14631 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14632 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14633 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14634 * conform/data/libgen.h-data [XPG3]: Likewise.
14635 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14636 * conform/data/ndbm.h-data [XPG3]: Likewise.
14637 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14638 * conform/data/netdb.h-data [XPG3]: Likewise.
14639 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14640 * conform/data/poll.h-data [XPG3]: Likewise.
14641 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14642 * conform/data/strings.h-data [XPG3]: Likewise.
14643 * conform/data/stropts.h-data [XPG3]: Likewise.
14644 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14645 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14646 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14647 Likewise.
14648 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14649 * conform/data/sys/time.h-data [XPG3]: Likewise.
14650 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14651 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14652 * conform/data/sys/un.h-data [XPG3]: Likewise.
14653 * conform/data/syslog.h-data [XPG3]: Likewise.
14654 * conform/data/ucontext.h-data [XPG3]: Likewise.
14655 * conform/data/utmpx.h-data [XPG3]: Likewise.
14656 * conform/data/varargs.h-data [UNIX98]: Enable file.
14657
14658 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14659
14660 * math/libm-test.inc (struct test_f_f_data): Move expected results
14661 into structure for each rounding mode.
14662 (struct test_ff_f_data): Likewise.
14663 (struct test_ff_f_data_nexttoward): Likewise.
14664 (struct test_fi_f_data): Likewise.
14665 (struct test_fl_f_data): Likewise.
14666 (struct test_if_f_data): Likewise.
14667 (struct test_fff_f_data): Likewise.
14668 (struct test_c_f_data): Likewise.
14669 (struct test_f_f1_data): Likewise.
14670 (struct test_fF_f1_data): Likewise.
14671 (struct test_ffI_f1_data): Likewise.
14672 (struct test_c_c_data): Likewise.
14673 (struct test_cc_c_data): Likewise.
14674 (struct test_f_i_data): Likewise.
14675 (struct test_ff_i_data): Likewise.
14676 (struct test_f_l_data): Likewise.
14677 (struct test_f_L_data): Likewise.
14678 (struct test_fFF_11_data): Likewise.
14679 (RM_): New macro.
14680 (RM_FE_DOWNWARD): Likewise.
14681 (RM_FE_TONEAREST): Likewise.
14682 (RM_FE_TOWARDZERO): Likewise.
14683 (RM_FE_UPWARD): Likewise.
14684 (RUN_TEST_LOOP_f_f): Update references to expected results.
14685 (RUN_TEST_LOOP_2_f): Likewise.
14686 (RUN_TEST_LOOP_fff_f): Likewise.
14687 (RUN_TEST_LOOP_c_f): Likewise.
14688 (RUN_TEST_LOOP_f_f1): Likewise.
14689 (RUN_TEST_LOOP_fF_f1): Likewise.
14690 (RUN_TEST_LOOP_fI_f1): Likewise.
14691 (RUN_TEST_LOOP_ffI_f1): Likewise.
14692 (RUN_TEST_LOOP_c_c): Likewise.
14693 (RUN_TEST_LOOP_cc_c): Likewise.
14694 (RUN_TEST_LOOP_f_i): Likewise.
14695 (RUN_TEST_LOOP_f_i_tg): Likewise.
14696 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14697 (RUN_TEST_LOOP_f_b): Likewise.
14698 (RUN_TEST_LOOP_f_b_tg): Likewise.
14699 (RUN_TEST_LOOP_f_l): Likewise.
14700 (RUN_TEST_LOOP_f_L): Likewise.
14701 (RUN_TEST_LOOP_fFF_11): Likewise.
14702 * math/gen-libm-test.pl (parse_args): Output four copies of
14703 expected results for each test.
14704
14705 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14706 (__ASSUME_UTIMES): Remove.
14707 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14708 (__ASSUME_UTIMES): Likewise.
14709
14710 * math/gen-auto-libm-tests.c: Update comment on output format.
14711 (output_for_one_input_case): Generate before-rounding and
14712 after-rounding information as conditions on output flags not
14713 floating-point format.
14714 * math/auto-libm-test-out: Regenerated.
14715 * math/gen-libm-test.pl (cond_value): New function.
14716 (or_cond_value): Use cond_value.
14717 (generate_testfile): Handle conditional exceptions.
14718
14719 2014-03-05 Joseph Myers <joseph@codesourcery.com>
14720
14721 * math/libm-test.inc (max_valid_error): New variable.
14722 (init_max_error): Take new argument specifying whether function
14723 results are exactly determined. Set max_valid_error and bound
14724 other variables for errors based on this argument.
14725 (set_max_error): Do not record results above max_valid_error.
14726 (check_float_internal): Only accept errors of up to 0.5ulps if
14727 also at most max_valid_error.
14728 (START): Take new argument EXACT and pass it to init_max_error.
14729 (acos_test): Update call to START.
14730 (acos_test_tonearest): Likewise.
14731 (acos_test_towardzero): Likewise.
14732 (acos_test_downward): Likewise.
14733 (acos_test_upward): Likewise.
14734 (acosh_test): Likewise.
14735 (asin_test): Likewise.
14736 (asin_test_tonearest): Likewise.
14737 (asin_test_towardzero): Likewise.
14738 (asin_test_downward): Likewise.
14739 (asin_test_upward): Likewise.
14740 (asinh_test): Likewise.
14741 (atan_test): Likewise.
14742 (atanh_test): Likewise.
14743 (atan2_test): Likewise.
14744 (cabs_test): Likewise.
14745 (cacos_test): Likewise.
14746 (cacosh_test): Likewise.
14747 (carg_test): Likewise.
14748 (casin_test): Likewise.
14749 (casinh_test): Likewise.
14750 (catan_test): Likewise.
14751 (catanh_test): Likewise.
14752 (cbrt_test): Likewise.
14753 (ccos_test): Likewise.
14754 (ccosh_test): Likewise.
14755 (ceil_test): Likewise.
14756 (cexp_test): Likewise.
14757 (cimag_test): Likewise.
14758 (clog_test): Likewise.
14759 (clog10_test): Likewise.
14760 (conj_test): Likewise.
14761 (copysign_test): Likewise.
14762 (cos_test): Likewise.
14763 (cos_test_tonearest): Likewise.
14764 (cos_test_towardzero): Likewise.
14765 (cos_test_downward): Likewise.
14766 (cos_test_upward): Likewise.
14767 (cosh_test): Likewise.
14768 (cosh_test_tonearest): Likewise.
14769 (cosh_test_towardzero): Likewise.
14770 (cosh_test_downward): Likewise.
14771 (cosh_test_upward): Likewise.
14772 (cpow_test): Likewise.
14773 (cproj_test): Likewise.
14774 (creal_test): Likewise.
14775 (csin_test): Likewise.
14776 (csinh_test): Likewise.
14777 (csqrt_test): Likewise.
14778 (ctan_test): Likewise.
14779 (ctan_test_tonearest): Likewise.
14780 (ctan_test_towardzero): Likewise.
14781 (ctan_test_downward): Likewise.
14782 (ctan_test_upward): Likewise.
14783 (ctanh_test): Likewise.
14784 (ctanh_test_tonearest): Likewise.
14785 (ctanh_test_towardzero): Likewise.
14786 (ctanh_test_downward): Likewise.
14787 (ctanh_test_upward): Likewise.
14788 (erf_test): Likewise.
14789 (erfc_test): Likewise.
14790 (exp_test): Likewise.
14791 (exp_test_tonearest): Likewise.
14792 (exp_test_towardzero): Likewise.
14793 (exp_test_downward): Likewise.
14794 (exp_test_upward): Likewise.
14795 (exp10_test): Likewise.
14796 (exp10_test_tonearest): Likewise.
14797 (exp10_test_towardzero): Likewise.
14798 (exp10_test_downward): Likewise.
14799 (exp10_test_upward): Likewise.
14800 (pow10_test): Likewise.
14801 (exp2_test): Likewise.
14802 (expm1_test): Likewise.
14803 (expm1_test_tonearest): Likewise.
14804 (expm1_test_towardzero): Likewise.
14805 (expm1_test_downward): Likewise.
14806 (expm1_test_upward): Likewise.
14807 (fabs_test): Likewise.
14808 (fdim_test): Likewise.
14809 (floor_test): Likewise.
14810 (fma_test): Likewise.
14811 (fma_test_towardzero): Likewise.
14812 (fma_test_downward): Likewise.
14813 (fma_test_upward): Likewise.
14814 (fmax_test): Likewise.
14815 (fmin_test): Likewise.
14816 (fmod_test): Likewise.
14817 (fpclassify_test): Likewise.
14818 (frexp_test): Likewise.
14819 (hypot_test): Likewise.
14820 (ilogb_test): Likewise.
14821 (isfinite_test): Likewise.
14822 (finite_test): Likewise.
14823 (isgreater_test): Likewise.
14824 (isgreaterequal_test): Likewise.
14825 (isinf_test): Likewise.
14826 (isless_test): Likewise.
14827 (islessequal_test): Likewise.
14828 (islessgreater_test): Likewise.
14829 (isnan_test): Likewise.
14830 (isnormal_test): Likewise.
14831 (issignaling_test): Likewise.
14832 (isunordered_test): Likewise.
14833 (j0_test): Likewise.
14834 (j1_test): Likewise.
14835 (jn_test): Likewise.
14836 (ldexp_test): Likewise.
14837 (lgamma_test): Likewise.
14838 (gamma_test): Likewise.
14839 (lrint_test): Likewise.
14840 (lrint_test_tonearest): Likewise.
14841 (lrint_test_towardzero): Likewise.
14842 (lrint_test_downward): Likewise.
14843 (lrint_test_upward): Likewise.
14844 (llrint_test): Likewise.
14845 (llrint_test_tonearest): Likewise.
14846 (llrint_test_towardzero): Likewise.
14847 (llrint_test_downward): Likewise.
14848 (llrint_test_upward): Likewise.
14849 (log_test): Likewise.
14850 (log10_test): Likewise.
14851 (log1p_test): Likewise.
14852 (log2_test): Likewise.
14853 (logb_test): Likewise.
14854 (logb_test_downward): Likewise.
14855 (lround_test): Likewise.
14856 (llround_test): Likewise.
14857 (modf_test): Likewise.
14858 (nearbyint_test): Likewise.
14859 (nextafter_test): Likewise.
14860 (nexttoward_test): Likewise.
14861 (pow_test): Likewise.
14862 (pow_test_tonearest): Likewise.
14863 (pow_test_towardzero): Likewise.
14864 (pow_test_downward): Likewise.
14865 (pow_test_upward): Likewise.
14866 (remainder_test): Likewise.
14867 (drem_test): Likewise.
14868 (remainder_test_tonearest): Likewise.
14869 (drem_test_tonearest): Likewise.
14870 (remainder_test_towardzero): Likewise.
14871 (drem_test_towardzero): Likewise.
14872 (remainder_test_downward): Likewise.
14873 (drem_test_downward): Likewise.
14874 (remainder_test_upward): Likewise.
14875 (drem_test_upward): Likewise.
14876 (remquo_test): Likewise.
14877 (rint_test): Likewise.
14878 (rint_test_tonearest): Likewise.
14879 (rint_test_towardzero): Likewise.
14880 (rint_test_downward): Likewise.
14881 (rint_test_upward): Likewise.
14882 (round_test): Likewise.
14883 (scalb_test): Likewise.
14884 (scalbn_test): Likewise.
14885 (scalbln_test): Likewise.
14886 (signbit_test): Likewise.
14887 (sin_test): Likewise.
14888 (sin_test_tonearest): Likewise.
14889 (sin_test_towardzero): Likewise.
14890 (sin_test_downward): Likewise.
14891 (sin_test_upward): Likewise.
14892 (sincos_test): Likewise.
14893 (sinh_test): Likewise.
14894 (sinh_test_tonearest): Likewise.
14895 (sinh_test_towardzero): Likewise.
14896 (sinh_test_downward): Likewise.
14897 (sinh_test_upward): Likewise.
14898 (sqrt_test): Likewise.
14899 (sqrt_test_tonearest): Likewise.
14900 (sqrt_test_towardzero): Likewise.
14901 (sqrt_test_downward): Likewise.
14902 (sqrt_test_upward): Likewise.
14903 (tan_test): Likewise.
14904 (tan_test_tonearest): Likewise.
14905 (tan_test_towardzero): Likewise.
14906 (tan_test_downward): Likewise.
14907 (tan_test_upward): Likewise.
14908 (tanh_test): Likewise.
14909 (tgamma_test): Likewise.
14910 (trunc_test): Likewise.
14911 (y0_test): Likewise.
14912 (y1_test): Likewise.
14913 (yn_test): Likewise.
14914 (significand_test): Likewise.
14915
14916 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14917 individual tests in comment.
14918 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14919 (prev_max_error): New variable.
14920 (prev_real_max_error): Likewise.
14921 (prev_imag_max_error): Likewise.
14922 (compare_ulp_data): Don't refer to test names in comment.
14923 (find_test_ulps): Remove function.
14924 (find_function_ulps): Likewise.
14925 (find_complex_function_ulps): Likewise.
14926 (init_max_error): Take function name as argument. Look up ulps
14927 for that function.
14928 (print_ulps): Remove function.
14929 (print_max_error): Use prev_max_error instead of calling
14930 find_function_ulps.
14931 (print_complex_max_error): Use prev_real_max_error and
14932 prev_imag_max_error instead of calling find_complex_function_ulps.
14933 (check_float_internal): Take max_ulp parameter instead of calling
14934 find_test_ulps. Don't call print_ulps.
14935 (check_float): Update call to check_float_internal.
14936 (check_complex): Update calls to check_float_internal.
14937 (START): Pass argument to init_max_error.
14938 * math/gen-libm-test.pl (%results): Don't include "kind"
14939 information.
14940 (parse_ulps): Don't handle ulps of individual tests.
14941 (print_ulps_file): Likewise.
14942 (output_ulps): Likewise.
14943 * math/README.libm-test: Update.
14944 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14945 individual tests.
14946 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14947 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14948 * sysdeps/arm/libm-test-ulps: Likewise.
14949 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14950 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14951 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14952 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14953 * sysdeps/microblaze/libm-test-ulps: Likewise.
14954 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14955 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14956 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14957 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14958 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14959 * sysdeps/sh/libm-test-ulps: Likewise.
14960 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14961 * sysdeps/tile/libm-test-ulps: Likewise.
14962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14963
14964 2014-03-04 Joseph Myers <joseph@codesourcery.com>
14965
14966 * math/libm-test.inc (print_complex_max_error): Check separately
14967 whether real and imaginary errors are within allowed range and
14968 pass 0 to print_complex_function_ulps instead of value within
14969 allowed range.
14970
14971 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14972
14973 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14974 formatting.
14975 (get_handles_fopen): Likewise.
14976 (do_write_test): Likewise.
14977
14978 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14979
14980 * libio/fileops.c (do_ftell): Use cached offset when
14981 available.
14982 * libio/iofwide.c (do_ftell_wide): Likewise.
14983 * libio/iofdopen.c (_IO_new_fdopen): Don't use
14984 _IO_file_attach.
14985 * libio/wfileops.c (_IO_fwide): Don't cache offset.
14986
14987 [BZ #16532]
14988 * libio/libioP.h (get_file_offset): New function.
14989 * libio/fileops.c (get_file_offset): Likewise.
14990 (do_ftell): Likewise.
14991 (_IO_new_file_seekoff): Split out ftell logic.
14992 * libio/wfileops.c (do_ftell_wide): Likewise.
14993 (_IO_wfile_seekoff): Split out ftell logic.
14994 * libio/tst-ftell-active-handler.c: New test case.
14995 * libio/Makefile (tests): Add it.
14996
14997 2014-03-03 Roland McGrath <roland@hack.frob.com>
14998
14999 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15000 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15001
15002 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15003
15004 [BZ #16639]
15005 * nscd/connections.c (nscd_init): Call do_exit.
15006 (start_threads): Call do_exit and notify_parent.
15007 (begin_drop_privileges): Call do_exit.
15008 (finish_drop_privileges): Likewise.
15009 * nscd/selinux.c (preserve_capabilities): Likewise.
15010 (install_real_capabilities): Likewise.
15011 (nscd_selinux_enabled): Likewise.
15012 (avc_create_thread): Likewise.
15013 (avc_alloc_lock): Likewise.
15014 (nscd_avc_init): Likewise.
15015 * nscd/nscd.c (parent_fd): New static variable.
15016 (main): Create a pipe between parent and child processes.
15017 Skip closing parent_fd.
15018 (monitor_child): New function.
15019 (do_exit): Likewise.
15020 (notify_parent): Likewise.
15021 * nscd/nscd.h (notify_parent): Likewise.
15022 (do_exit): Likewise.
15023
15024 2014-03-03 Carlos O'Donell <carlos@redhat.com>
15025
15026 * malloc/malloc.c (__libc_calloc): Revert last change.
15027
15028 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15029
15030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15031
15032 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15033
15034 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15035 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15036 implementation.
15037 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15038 (__libc_ifunc_impl_list): Likewise.
15039 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15040 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15041 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15042 * string/strrchr.c: Define STRRCHR.
15043
15044 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
15045
15046 * benchtest/bench-strtok.c (simple_strtok): Delete.
15047 (strtok_string): Use as benchmark.
15048 * string/strtok (STRTOK): New macro.
15049
15050 2014-02-28 Carlos O'Donell <carlos@redhat.com>
15051
15052 * manual/threads.texi: Add header and standard comments to all
15053 functions.
15054
15055 * elf/dl-lookup.c (check_match): New function.
15056 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15057 (do_lookup_x): Remove nested function check_match. Use non-nested
15058 function check_match.
15059
15060 2014-02-28 Roland McGrath <roland@hack.frob.com>
15061
15062 * csu/Makefile (generated, before-compile): Use += rather than =.
15063 * catgets/Makefile (generated, generated-dirs): Likewise.
15064 * debug/Makefile (generated): Likewise.
15065 * dlfcn/Makefile (generated): Likewise.
15066 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15067 * iconvdata/Makefile (before-compile, generated): Likewise.
15068 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15069 * libio/Makefile (generated): Likewise.
15070 * malloc/Makefile (generated): Likewise.
15071 * manual/Makefile (generated, generated-dirs): Likewise.
15072 * misc/Makefile (generated): Likewise.
15073 * posix/Makefile (generated): Likewise.
15074 * resolv/Makefile (generated): Likewise.
15075 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15076 * timezone/Makefile (generated, generated-dirs): Likewise.
15077
15078 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15079
15080 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15081
15082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15083 power8 implementation.
15084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15085 file: POWER8 llround ifunc implementation.
15086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15087 (__lllround): Add POWER8 implementation.
15088 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15089 POWER8 llround implementation.
15090
15091 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15092 power8 implementation.
15093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15094 file: POWER8 llrint ifunc implementation.
15095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15096 Add POWER8 implementation.
15097 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15098 POWER8 llrint implementation.
15099
15100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15101 power8 implementation.
15102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15103 file: POWER8 finite ifunc implementation.
15104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15105 Add POWER8 implementation.
15106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15107 Likewise.
15108 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15109 POWER8 finite implementation.
15110 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15111
15112 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15113 power8 implementation.
15114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15115 file: POWER8 isinf ifunc implementation.
15116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15117 POWER8 implementation.
15118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15119 Likewise.
15120 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15121 isinf implementation.
15122 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15123
15124 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15125 (INIT_ARCH): Add hwcap2 initialization.
15126 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15127 power8 implementation.
15128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15129 file: POWER8 isnan ifunc implementation.
15130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15131 POWER8 implementation.
15132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15133 Likewise.
15134 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15135 isnan implementation.
15136 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15137
15138 2014-02-27 Joey Ye <joey.ye@arm.com>
15139
15140 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15141 (_FP_NANFRAC_Q): Set to zero.
15142
15143 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15144
15145 [BZ #16623]
15146 * math/auto-libm-test-in: New test inputs.
15147 * math/auto-libm-test-out: Regenerate.
15148 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15149 and DA.
15150 (__cos): Likewise.
15151 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15152
15153 2014-02-27 Joseph Myers <joseph@codesourcery.com>
15154
15155 * scripts/evaluate-test.sh: Take new argument indicating whether
15156 failure is expected.
15157 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15158 indicating whether failure is expected.
15159 * conform/Makefile (test-xfail-run-conformtest): New variable.
15160 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15161 level.
15162 * posix/Makefile (test-xfail-annexc): New variable.
15163 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15164
15165 2014-02-26 Joseph Myers <joseph@codesourcery.com>
15166
15167 * argp/Makefile: Include Makeconfig immediately after defining
15168 subdir.
15169 * assert/Makefile: Likewise.
15170 * benchtests/Makefile: Likewise.
15171 * catgets/Makefile: Likewise.
15172 * conform/Makefile: Likewise.
15173 * crypt/Makefile: Likewise.
15174 * csu/Makefile: Likewise.
15175 (all): Remove target.
15176 * ctype/Makefile: Include Makeconfig immediately after defining
15177 subdir.
15178 * debug/Makefile: Likewise.
15179 * dirent/Makefile: Likewise.
15180 * dlfcn/Makefile: Likewise.
15181 * gmon/Makefile: Likewise.
15182 * gnulib/Makefile: Likewise.
15183 * grp/Makefile: Likewise.
15184 * gshadow/Makefile: Likewise.
15185 * hesiod/Makefile: Likewise.
15186 * hurd/Makefile: Likewise.
15187 (all): Remove target.
15188 * iconvdata/Makefile: Include Makeconfig immediately after
15189 defining subdir.
15190 * inet/Makefile: Likewise.
15191 * intl/Makefile: Likewise.
15192 * io/Makefile: Likewise.
15193 * libio/Makefile: Likewise.
15194 (all): Remove target.
15195 * locale/Makefile: Include Makeconfig immediately after defining
15196 subdir.
15197 * login/Makefile: Likewise.
15198 * mach/Makefile: Likewise.
15199 (all): Remove target.
15200 * malloc/Makefile: Include Makeconfig immediately after defining
15201 subdir.
15202 (all): Remove target.
15203 * manual/Makefile: Include Makeconfig immediately after defining
15204 subdir.
15205 * math/Makefile: Likewise.
15206 * misc/Makefile: Likewise.
15207 * nis/Makefile: Likewise.
15208 * nss/Makefile: Likewise.
15209 * po/Makefile: Likewise.
15210 (all): Remove target.
15211 * posix/Makefile: Include Makeconfig immediately after defining
15212 subdir.
15213 * pwd/Makefile: Likewise.
15214 * resolv/Makefile: Likewise.
15215 * resource/Makefile: Likewise.
15216 * rt/Makefile: Likewise.
15217 * setjmp/Makefile: Likewise.
15218 * shadow/Makefile: Likewise.
15219 * signal/Makefile: Likewise.
15220 * socket/Makefile: Likewise.
15221 * soft-fp/Makefile: Likewise.
15222 * stdio-common/Makefile: Likewise.
15223 * stdlib/Makefile: Likewise.
15224 * streams/Makefile: Likewise.
15225 * string/Makefile: Likewise.
15226 * sunrpc/Makefile: Likewise.
15227 (all): Remove target.
15228 * sysvipc/Makefile: Include Makeconfig immediately after defining
15229 subdir.
15230 * termios/Makefile: Likewise.
15231 * time/Makefile: Likewise.
15232 * timezone/Makefile: Likewise.
15233 (all): Remove target.
15234 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15235 subdir.
15236 * wctype/Makefile: Likewise.
15237
15238 2014-02-26 Steve Ellcey <sellcey@mips.com>
15239
15240 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15241 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15242 (libc_feholdexcept_setround_mips): Ditto.
15243 (libc_feholdsetround): New.
15244 (libc_feholdsetroundf): New.
15245 (libc_feholdsetroundl): New.
15246 (libc_feupdateenv_test_mips): New.
15247 (libc_feupdateenv_test): New.
15248 (libc_feupdateenv_testf): New.
15249 (libc_feupdateenv_testl): New.
15250 (libc_feresetround): New.
15251 (libc_feresetroundf): New.
15252 (libc_feresetroundl): New.
15253 (libc_fetestexcept_mips): New.
15254 (libc_fetestexcept): New.
15255 (libc_fetestexceptf): New.
15256 (libc_fetestexceptl): New.
15257 (HAVE_RM_CTX): New.
15258 (libc_feholdexcept_setround_mips_ctx): New.
15259 (libc_feholdexcept_setround_ctx): New.
15260 (libc_feholdexcept_setroundf_ctx): New.
15261 (libc_feholdexcept_setroundl_ctx): New.
15262 (libc_fesetenv_mips_ctx): New.
15263 (libc_fesetenv_ctx): New.
15264 (libc_fesetenv_ctxf): New.
15265 (libc_fesetenv_ctxl): New.
15266 (libc_feupdateenv_mips_ctx): New.
15267 (libc_feupdateenv_ctx): New.
15268 (libc_feupdateenvf_ctx): New.
15269 (libc_feupdateenvl_ctx): New.
15270 (libc_feholdsetround_mips_ctx): New.
15271 (libc_feholdsetround_ctx): New.
15272 (libc_feholdsetroundf_ctx): New.
15273 (libc_feholdsetroundl_ctx): New.
15274 (libc_feresetround_mips_ctx): New.
15275 (libc_feresetround_ctx): New.
15276 (libc_feresetroundf_ctx): New.
15277 (libc_feresetroundl_ctx): New.
15278
15279 2014-02-26 Carlos O'Donell <carlos@redhat.com>
15280
15281 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15282
15283 * manual/ipc.texi: New file.
15284 * manual/Makefile (chapters): Add ipc.
15285 * manual/job.texi: Add "Inter-Process Communication" to next.
15286 * manual/process.texi: Add "Inter-Process Communication" to prev.
15287
15288 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15289
15290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15291
15292 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
15293
15294 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15295
15296 * manual/arith.texi: Fix spaces after sentences.
15297 * manual/charset.texi: Likewise.
15298 * manual/errno.texi: Likewise.
15299 * manual/install.texi: Likewise.
15300 * manual/llio.texi: Likewise.
15301 * manual/locale.texi: Likewise.
15302 * manual/maint.texi: Likewise.
15303 * manual/math.texi: Likewise.
15304 * manual/memory.texi: Likewise.
15305 * manual/message.texi: Likewise.
15306 * manual/probes.texi: Likewise.
15307 * manual/resource.texi: Likewise.
15308 * manual/signal.texi: Likewise.
15309 * manual/socket.texi: Likewise.
15310 * manual/stdio.texi: Likewise.
15311 * manual/string.texi: Likewise.
15312 * manual/time.texi: Likewise.
15313 * manual/users.texi: Likewise.
15314
15315 2014-02-25 Carlos O'Donell <carlos@redhat.com>
15316
15317 [BZ #16632]
15318 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15319 _DEFAULT_SOURCE is defined.
15320
15321 2014-02-25 Ulrich Drepper <drepper@gmail.com>
15322 Carlos O'Donell <carlos@redhat.com>
15323
15324 [BZ #16613]
15325 * elf/dl-tls.c (_dl_count_modids): New function.
15326 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15327 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15328 audit library and increment generation counter.
15329 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15330 * elf/tst-audit9.c: New file.
15331 * elf/tst-auditmod9a.c: New file.
15332 * elf/tst-auditmod9b.c: New file.
15333 * elf/Makefile: Add rules to build and run tst-audit9.
15334
15335 2014-02-25 Florian Weimer <fweimer@redhat.com>
15336
15337 [BZ #15347]
15338 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15339
15340 2014-02-25 Will Newton <will.newton@linaro.org>
15341
15342 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15343 (__longjmp): Restore sp and lr before restoring callee
15344 saved registers. Add longjmp and longjmp_target
15345 SystemTap probe point.
15346 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15347 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15348 Define to zero to match jmpbuf layout.
15349 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15350 (__sigsetjmp): Save sp and lr before saving callee
15351 saved registers. Add setjmp SystemTap probe point.
15352
15353 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15354
15355 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15356
15357 2014-02-24 Andreas Schwab <schwab@suse.de>
15358
15359 [BZ #15804]
15360 * elf/pldd.c (wait_for_ptrace_stop): New function.
15361 (main): Call it after attaching.
15362
15363 2014-02-22 Roland McGrath <roland@hack.frob.com>
15364
15365 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15366 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15367 Versions files is now verboten.
15368 * hurd/Versions (libc: GLIBC_2.0):
15369 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15370 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15371 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15372 * mach/Versions: Likewise.
15373
15374 * csu/Versions: Remove unused %include.
15375 * resolv/Versions: Likewise.
15376
15377 2014-02-21 Joseph Myers <joseph@codesourcery.com>
15378
15379 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15380 ($(objpfx)check-local-headers.out): Likewise.
15381 ($(objpfx)begin-end-check.out): Likewise.
15382 * Makerules (check-abi-%.out): Likewise.
15383 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15384 ($(objpfx)test2.cat): Likewise.
15385 ($(objpfx)de/libc.cat): Likewise.
15386 ($(objpfx)test-gencat.out): Likewise.
15387 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15388 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15389 ($(objpfx)noload-mem): Likewise.
15390 ($(objpfx)tst-pathopt.out): Likewise.
15391 ($(objpfx)tst-rtld-load-self.out): Likewise.
15392 ($(objpfx)tst-array1-cmp.out): Likewise.
15393 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15394 ($(objpfx)tst-array2-cmp.out): Likewise.
15395 ($(objpfx)tst-array3-cmp.out): Likewise.
15396 ($(objpfx)tst-array4-cmp.out): Likewise.
15397 ($(objpfx)tst-array5-cmp.out): Likewise.
15398 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15399 ($(objpfx)check-textrel.out): Likewise.
15400 ($(objpfx)check-execstack.out): Likewise.
15401 ($(objpfx)check-localplt.out): Likewise.
15402 ($(objpfx)order2-cmp.out): Likewise.
15403 ($(objpfx)tst-leaks1-mem): Likewise.
15404 ($(objpfx)tst-leaks1-static-mem): Likewise.
15405 ($(objpfx)tst-initorder-cmp.out): Likewise.
15406 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15407 ($(objpfx)tst-unused-dep.out): Likewise.
15408 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15409 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15410 * iconv/Makefile (test-iconvconfig): Likewise.
15411 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15412 ($(objpfx)iconv-test.out): Likewise.
15413 ($(objpfx)tst-tables.out): Likewise.
15414 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15415 ($(objpfx)tst-gettext.out): Likewise.
15416 ($(objpfx)tst-translit.out): Likewise.
15417 ($(objpfx)tst-gettext2.out): Likewise.
15418 ($(objpfx)tst-gettext4.out): Likewise.
15419 ($(objpfx)tst-gettext6.out): Likewise.
15420 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15421 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15422 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15423 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15424 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15425 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15426 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15427 ($(objpfx)wordexp-tst.out): Likewise.
15428 ($(objpfx)annexc.out): Likewise.
15429 ($(objpfx)tst-fnmatch-mem): Likewise.
15430 ($(objpfx)bug-regex2-mem): Likewise.
15431 ($(objpfx)bug-regex14-mem): Likewise.
15432 ($(objpfx)bug-regex21-mem): Likewise.
15433 ($(objpfx)bug-regex31-mem): Likewise.
15434 ($(objpfx)tst-vfork3-mem): Likewise.
15435 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15436 ($(objpfx)tst-pcre-mem): Likewise.
15437 ($(objpfx)tst-boost-mem): Likewise.
15438 ($(objpfx)tst-getconf.out): Likewise.
15439 ($(objpfx)bug-ga2-mem): Likewise.
15440 ($(objpfx)bug-glob2-mem): Likewise.
15441 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15442 ($(objpfx)mtrace-tst-leaks2): Likewise.
15443 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15444 ($(objpfx)tst-printf.out): Likewise.
15445 ($(objpfx)tst-setvbuf1.out): Likewise.
15446 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15447 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15448 ($(objpfx)tst-fmtmsg.out): Likewise.
15449 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15450 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15451
15452 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15453 * bits/sigaction.h [__USE_MISC]: Likewise.
15454 * bits/waitstatus.h: Update #endif comments.
15455 * ctype/ctype.h: Likewise.
15456 * dirent/dirent.h: Likewise.
15457 [__USE_MISC]: Remove redundant conditionals.
15458 * grp/grp.h: Update #endif comments.
15459 [__USE_GNU]: Remove redundant conditionals.
15460 [__USE_MISC]: Likewise.
15461 * inet/netinet/in.h [__USE_GNU]: Likewise.
15462 * io/sys/stat.h [__USE_MISC]: Likewise.
15463 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15464 * libio/bits/stdio.h: Update #endif comments.
15465 [__USE_MISC]: Remove redundant conditionals.
15466 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15467 * libio/stdio.h: Update #endif comments.
15468 [__USE_MISC]: Remove redundant conditionals.
15469 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15470 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15471 * math/math.h: Update #else and #endif comments.
15472 [__USE_MISC]: Remove redundant conditionals.
15473 * misc/sys/uio.h: Update #endif comments.
15474 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15475 * posix/glob.h [__USE_MISC]: Likewise.
15476 * posix/sys/types.h: Update #endif comments.
15477 [__USE_MISC]: Remove redundant conditionals.
15478 * posix/sys/wait.h: Update #endif comments.
15479 [__USE_MISC]: Remove redundant conditionals.
15480 * posix/unistd.h: Update #endif comments.
15481 [__USE_MISC]: Remove redundant conditionals.
15482 * pwd/pwd.h [__USE_GNU]: Likewise.
15483 [__USE_MISC]: Likewise.
15484 * resolv/netdb.h [__USE_GNU]: Likewise.
15485 * signal/signal.h: Update #endif comments.
15486 [__USE_MISC]: Remove redundant conditionals.
15487 * stdlib/stdlib.h: Update #else and #endif comments.
15488 [__USE_MISC]: Remove redundant conditionals.
15489 [__USE_GNU]: Likewise.
15490 * string/bits/string2.h [__USE_MISC]: Likewise.
15491 * string/string.h: Update #endif comments.
15492 [__USE_MISC]: Remove redundant conditionals.
15493 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15494 Likewise.
15495 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15496 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15497 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15498 Likewise.
15499 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15500 Likewise.
15501 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15502 comments.
15503 [__USE_MISC]: Remove redundant conditionals.
15504 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15505 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15506 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15507 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15508 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15509 Likewise.
15510 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15511 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15512 Likewise.
15513 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15514 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15515 Likewise.
15516 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15517 Likewise.
15518 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15519 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15520 Likewise.
15521 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15522 Likewise.
15523 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15524 * sysdeps/x86/bits/string.h: Update #endif comments.
15525 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15526 conditionals.
15527 * time/sys/time.h: Update #endif comments.
15528 * time/time.h: Likewise.
15529 [__USE_MISC]: Remove redundant conditionals.
15530
15531 2014-02-21 Yury Gribov <y.gribov@samsung.com>
15532
15533 [BZ #16600]
15534 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15535
15536 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15537
15538 * Versions.def (librt): Add GLIBC_2.17.
15539
15540 2014-02-21 Adam Conrad <adconrad@0c3.net>
15541
15542 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15543 synonym for _SYS_AUXV_H to allow direct inclusion.
15544 * sysdeps/sparc/bits/hwcap.h: Likewise.
15545 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15546 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15547 * sysdeps/sparc/sysdep.h: Likewise.
15548
15549 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15550
15551 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15552
15553 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15554
15555 * benchtests/bench-strrchr.c: Print length instead of position.
15556
15557 2014-02-20 Joseph Myers <joseph@codesourcery.com>
15558
15559 [BZ #16611]
15560 * sysdeps/unix/sysv/linux/kernel-features.h
15561 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15562 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15563 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15564 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15565 Likewise.
15566 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15567 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15568 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15569 (__ASSUME_SENDMMSG): Define instead of using previous
15570 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15571 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15572 (__ASSUME_SENDMMSG_SYSCALL): Define.
15573 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15574 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15575 Likewise.
15576 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15577 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15578 Likewise.
15579 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15580 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15581 Likewise.
15582 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15583 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15584 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15585 [__ASSUME_SENDMMSG]: Change conditionals to
15586 [__ASSUME_SENDMMSG_SOCKETCALL].
15587 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15588 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15589 Define.
15590 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15591 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15592 Likewise.
15593 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15594 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15595 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15596 [!__ASSUME_SENDMMSG]: Change conditional to
15597 [!__ASSUME_SENDMMSG_SOCKETCALL].
15598 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15599 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15600 Define.
15601
15602 [BZ #16610]
15603 * sysdeps/unix/sysv/linux/kernel-features.h
15604 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15605 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15606 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15607 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15608 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15609 [__i386__ || __sparc__]
15610 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15611 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15612 (__ASSUME_RECVMMSG): Define instead of using previous
15613 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15614 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15615 (__ASSUME_RECVMMSG_SYSCALL): Define.
15616 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15617 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15618 Likewise.
15619 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15620 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15621 Likewise.
15622 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15623 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15624 Likewise.
15625 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15626 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15627 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15628 [__ASSUME_RECVMMSG]: Change condition to
15629 [__ASSUME_RECVMMSG_SOCKETCALL].
15630 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15631 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15632 Define.
15633 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15634 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15635 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15636 Likewise.
15637 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15638 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15639 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15640 [!__ASSUME_RECVMMSG]: Change condition to
15641 [!__ASSUME_RECVMMSG_SOCKETCALL].
15642 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15643 (__ASSUME_RECVMMSG_SYSCALL): Define.
15644
15645 [BZ #16609]
15646 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15647 __powerpc__ || __s390__ || __sh__ || __sparc__]
15648 (__ASSUME_SOCKETCALL): Define.
15649 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15650 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15651 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15652 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15653 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15654 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15655 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15656 (__ASSUME_ACCEPT4): Define instead of using previous
15657 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15658 __powerpc__ || __sparc__ || __s390__)] condition.
15659 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15660 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15661 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15662 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15663 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15664 [!__ASSUME_ACCEPT4]: Change condition to
15665 [!__ASSUME_ACCEPT4_SOCKETCALL].
15666 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15667 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15668 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15669 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15670 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15671 __ASSUME_ACCEPT4_SYSCALL.
15672 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15673 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15674 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15675 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15676 __ASSUME_ACCEPT4_SYSCALL.
15677 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15678 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15679 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15680 [__ASSUME_ACCEPT4]: Change condition to
15681 [__ASSUME_ACCEPT4_SOCKETCALL].
15682 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15683 (__ASSUME_SOCKETCALL): Define.
15684 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15685 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15686 (__ASSUME_SOCKETCALL): Define.
15687 (__ASSUME_ACCEPT4): Remove.
15688 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15689 Define.
15690 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15691 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15692 Likewise.
15693 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15694 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15695
15696 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15697 macro.
15698 (HWCAP_ARM_LPAE): Likewise.
15699 (HWCAP_ARM_EVTSTRM): Likewise.
15700 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15701 Add vpfd32, lpae and evtstrm.
15702 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15703 Increase to 22.
15704
15705 2014-02-19 Joseph Myers <joseph@codesourcery.com>
15706
15707 * math/auto-libm-test-in: Add tests of clog10.
15708 * math/auto-libm-test-out: Regenerated.
15709 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15710 * sysdeps/i386/fpu/libm-test-ulps: Update.
15711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15712
15713 2014-02-18 Andreas Schwab <schwab@suse.de>
15714
15715 [BZ #16574]
15716 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15717 Store non-zero if the second buffer was newly allocated.
15718 (send_dg): Likewise.
15719 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15720 to send_vc and send_dg.
15721 (res_nsend): Pass NULL for ansp2_malloced.
15722 * resolv/res_query.c (__libc_res_nquery): Add parameter
15723 answerp2_malloced and pass it down to __libc_res_nsend.
15724 (res_nquery): Pass additional NULL to __libc_res_nquery.
15725 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15726 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15727 second answer buffer if answerp2_malloced was set.
15728 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15729 (__libc_res_nquerydomain): Add parameter
15730 answerp2_malloced and pass it down to __libc_res_nquery.
15731 (res_nquerydomain): Pass additional NULL to
15732 __libc_res_nquerydomain.
15733 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15734 additional NULL to __libc_res_nsend and __libc_res_nquery.
15735 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15736 additional NULL to __libc_res_nsearch.
15737 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15738 parameter of __libc_res_nsearch to check for separately allocated
15739 second buffer.
15740 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15741 __libc_res_nquery.
15742 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15743 additional NULL to __libc_res_nquery.
15744 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15745 __libc_res_nsearch.
15746 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15747 * include/resolv.h: Update prototypes of __libc_res_nquery,
15748 __libc_res_nsearch, __libc_res_nsend.
15749
15750 2014-02-18 Joseph Myers <joseph@codesourcery.com>
15751
15752 * math/auto-libm-test-in: Add tests of fma.
15753 * math/auto-libm-test-out: Regenerated.
15754 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15755 (fma_towardzero_test_data): Likewise.
15756 (fma_downward_test_data): Likewise.
15757 (fma_upward_test_data): Likewise.
15758 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15759 mpc_mode.
15760 (rounding_modes): Add values for new field.
15761 (func_calc_method): Add value mpfr_fff_f.
15762 (func_calc_desc): Add mpfr_fff_f union field.
15763 (test_function): Add field exact_args.
15764 (FUNC): Add macro argument EXACT_ARGS.
15765 (FUNC_mpfr_f_f): Update call to FUNC.
15766 (FUNC_mpfr_f_f): Likewise.
15767 (FUNC_mpfr_ff_f): Likewise.
15768 (FUNC_mpfr_if_f): Likewise.
15769 (FUNC_mpc_c_f): Likewise.
15770 (FUNC_mpc_c_c): Likewise.
15771 (test_functions): Add fma. Update calls to FUNC.
15772 (handle_input_arg): Add argument exact_args.
15773 (add_test): Update call to handle_input_arg.
15774 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15775 (output_for_one_input_case): Update call to calc_generic_results.
15776 Recalculate exact zero results in each rounding mode.
15777
15778 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15779 non-negative before setting low bit.
15780 * math/auto-libm-test-in: Mark one asin test possibly having
15781 spurious underflow.
15782 * math/auto-libm-test-out: Regenerated.
15783 * sysdeps/i386/fpu/libm-test-ulps: Update.
15784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15785
15786 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15787
15788 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15789 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15790 ports/sysdeps/unix/sysv/linux/microblaze.
15791 * README: Add missing listing for microblaze*-*-linux-gnu.
15792
15793 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
15794
15795 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15796 duplicate code
15797
15798 2014-02-16 Mike Frysinger <vapier@gentoo.org>
15799
15800 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15801 * sysdeps/unix/sysv/linux/ia64: Move directory from
15802 ports/sysdeps/unix/sysv/linux/ia64.
15803 * README: Update listing for ia64-*-linux-gnu.
15804
15805 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15806 Joseph Myers <joseph@codesourcery.com>
15807
15808 * Makeconfig (test-name): New variable.
15809 (evaluate-test): Likewise.
15810 * Makerules (do-test-clean): Remove .test-result files.
15811 (common-mostlyclean): Likewise.
15812 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15813 * scripts/evaluate-test.sh: New file.
15814
15815 2014-02-14 Joseph Myers <joseph@codesourcery.com>
15816
15817 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15818 separate $(objpfx)tst-fopenloc-cmp.out and
15819 $(objpfx)tst-fopenloc-mem.out targets.
15820 (tests): Update dependencies.
15821 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15822 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15823 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15824 (tst-rxspencer-no-utf8-ARGS): New variable.
15825 (tst-rxspencer-no-utf8-ENV): Likewise.
15826 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15827 instead of $(objpfx)tst-rxspencer-mem.
15828 ($(objpfx)tst-rxspencer-mem): Change target to
15829 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15830 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15831 * posix/tst-rxspencer-no-utf8.c: New file.
15832
15833 * elf/Makefile ($(objpfx)order.out): Remove rule.
15834 [$(run-built-tests) = yes] (tests): Depend on
15835 $(objpfx)order-cmp.out.
15836 ($(objpfx)order-cmp.out): New rule.
15837 [$(run-built-tests) = yes] (tests): Depend on
15838 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15839 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15840 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15841 $(objpfx)tst-array5-static-cmp.out.
15842 ($(objpfx)tst-array1.out): Remove rule.
15843 ($(objpfx)tst-array1-cmp.out): New rule.
15844 ($(objpfx)tst-array1-static.out): Remove rule.
15845 ($(objpfx)tst-array1-static-cmp.out): New rule.
15846 ($(objpfx)tst-array2.out): Remove rule.
15847 ($(objpfx)tst-array2-cmp.out): New rule.
15848 ($(objpfx)tst-array3.out): Remove rule.
15849 ($(objpfx)tst-array3-cmp.out): New rule.
15850 ($(objpfx)tst-array4.out): Remove rule.
15851 ($(objpfx)tst-array4-cmp.out): New rule.
15852 ($(objpfx)tst-array5.out): Remove rule.
15853 ($(objpfx)tst-array5-cmp.out): New rule.
15854 ($(objpfx)tst-array5-static.out): Remove rule.
15855 ($(objpfx)tst-array5-static-cmp.out): New rule.
15856 [$(run-built-tests) = yes] (tests): Depend on
15857 $(objpfx)order2-cmp.out.
15858 ($(objpfx)order2.out): Remove rule.
15859 ($(objpfx)order2-cmp.out): New rule.
15860 ($(objpfx)tst-initorder.out): Remove rule.
15861 [$(run-built-tests) = yes] (tests): Depend on
15862 $(objpfx)tst-initorder-cmp.out.
15863 ($(objpfx)tst-initorder-cmp.out): New rule.
15864 ($(objpfx)tst-initorder2.out): Remove rule.
15865 [$(run-built-tests) = yes] (tests): Depend on
15866 $(objpfx)tst-initorder2-cmp.out.
15867 ($(objpfx)tst-initorder2-cmp.out): New rule.
15868 [$(run-built-tests) = yes] (tests): Depend on
15869 $(objpfx)tst-unused-dep-cmp.out.
15870 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15871 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15872 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15873 on $(objpfx)tst-setvbuf1-cmp.out.
15874 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15875 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15876 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15877 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15878 ($(objpfx)tst-svc.out): Remove rule.
15879 ($(objpfx)tst-svc-cmp.out): New rule.
15880
15881 2014-02-13 Joseph Myers <joseph@codesourcery.com>
15882
15883 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15884 * ctype/ctype.h [__USE_MISC]: Likewise.
15885 * dirent/dirent.h [__USE_MISC]: Likewise.
15886 * grp/grp.h [__USE_MISC]: Likewise.
15887 * io/fcntl.h [__USE_MISC]: Likewise.
15888 * io/sys/stat.h [__USE_MISC]: Likewise.
15889 * libio/stdio.h [__USE_MISC]: Likewise.
15890 * posix/unistd.h [__USE_MISC]: Likewise.
15891 * pwd/pwd.h [__USE_MISC]: Likewise.
15892 * stdlib.h [__USE_MISC]: Likewise.
15893 * string/bits/string2.h [__USE_MISC]: Likewise.
15894 * string/string.h [__USE_MISC]: Likewise.
15895 * time/time.h [__USE_MISC]: Likewise.
15896
15897 2014-02-13 Andreas Schwab <schwab@suse.de>
15898
15899 [BZ #16574]
15900 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15901 second answer buffer if it was separately allocated.
15902
15903 2014-02-12 Joseph Myers <joseph@codesourcery.com>
15904
15905 * sysdeps/mips/math-tests.h: Include <features.h>.
15906 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15907 (ROUNDING_TESTS_long_double): Do not define.
15908 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15909 (EXCEPTION_TESTS_long_double): Likewise.
15910 * sysdeps/mips/mips64/libm-test-ulps: Update.
15911
15912 * include/features.h (__USE_BSD): Remove macro definitions.
15913 (__USE_SVID): Likewise.
15914 (_BSD_SOURCE): Likewise.
15915 (_SVID_SOURCE): Likewise.
15916 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15917 from definition of _DEFAULT_SOURCE.
15918 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15919 [_DEFAULT_SOURCE].
15920 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15921 * bits/mman.h [__USE_BSD]: Likewise.
15922 * bits/termios.h [__USE_BSD]: Likewise.
15923 * bits/waitstatus.h [__USE_BSD]: Likewise.
15924 * ctype/ctype.h [__USE_SVID]: Likewise.
15925 * dirent/dirent.h [__USE_BSD]: Likewise.
15926 * grp/grp.h [__USE_SVID]: Likewise.
15927 [__USE_BSD]: Likewise.
15928 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15929 * io/fcntl.h [__USE_BSD]: Likewise.
15930 * io/ftw.h [__USE_BSD]: Likewise.
15931 * io/sys/stat.h [__USE_BSD]: Likewise.
15932 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15933 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15934 * libio/stdio.h [__USE_SVID]: Likewise.
15935 [__USE_BSD]: Likewise.
15936 * math/math.h [__USE_SVID]: Likewise.
15937 [__USE_BSD]: Likewise.
15938 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15939 * misc/bits/syslog.h [__USE_BSD]: Likewise.
15940 * misc/search.h [__USE_SVID]: Likewise.
15941 * misc/sys/mman.h [__USE_BSD]: Likewise.
15942 * misc/sys/syslog.h [__USE_BSD]: Likewise.
15943 * misc/sys/uio.h [__USE_BSD]: Likewise.
15944 * posix/bits/unistd.h [__USE_BSD]: Likewise.
15945 * posix/glob.h [__USE_BSD]: Likewise.
15946 * posix/regex.h [__USE_BSD]: Likewise.
15947 * posix/sys/types.h [__USE_BSD]: Likewise.
15948 [__USE_SVID]: Likewise.
15949 * posix/sys/utsname.h [__USE_SVID]: Likewise.
15950 * posix/sys/wait.h [__USE_BSD]: Likewise.
15951 [__USE_SVID]: Likewise.
15952 * posix/unistd.h [__USE_BSD]: Likewise.
15953 [__USE_SVID]: Likewise.
15954 * pwd/pwd.h [__USE_SVID]: Likewise.
15955 * resolv/netdb.h [__USE_BSD]: Likewise.
15956 * setjmp/setjmp.h [__USE_BSD]: Likewise.
15957 * signal/signal.h [__USE_BSD]: Likewise.
15958 [__USE_SVID]: Likewise.
15959 * socket/sys/socket.h [__USE_BSD]: Likewise.
15960 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15961 * stdlib/stdlib.h [__USE_BSD]: Likewise.
15962 [__USE_SVID]: Likewise.
15963 * string/bits/string2.h [__USE_BSD]: Likewise.
15964 [__USE_SVID]: Likewise.
15965 * string/bits/string3.h [__USE_BSD]: Likewise.
15966 * string/endian.h [__USE_BSD]: Likewise.
15967 * string/string.h [__USE_SVID]: Likewise.
15968 [__USE_BSD]: Likewise.
15969 * string/strings.h [__USE_BSD]: Likewise.
15970 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15971 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15972 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15973 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15974 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15975 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15976 Likewise.
15977 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15978 Likewise.
15979 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15980 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15981 Likewise.
15982 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15983 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15984 Likewise.
15985 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15986 Likewise.
15987 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15988 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15989 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15990 Likewise.
15991 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15992 Likewise.
15993 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15994 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15995 * termios/termios.h [__USE_BSD]: Likewise.
15996 * time/sys/time.h [__USE_BSD]: Likewise.
15997 * time/time.h [__USE_BSD]: Likewise.
15998 [__USE_SVID]: Likewise.
15999
16000 * Makefile (subdir_targets): Remove subdir_lint.out.
16001
16002 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16003 (do-tst-printf): Likewise.
16004 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16005 $(objpfx)tst-printf.out.
16006
16007 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16008
16009 * Makerules (check-abi-%): Change target to
16010 $(objpfx)check-abi-%.out.
16011 (check-abi target): Update dependencies.
16012 (check-abi-pattern variable): Redirect output of diff to $@.
16013 (check-abi variable): Likewise.
16014 * elf/Makefile (check-abi): Update dependencies.
16015
16016 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16017 unused.
16018 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16019 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16020 subnormal range.
16021 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16022 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16023 value has largest subnormal exponent.
16024 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16025 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16026 * sysdeps/aarch64/soft-fp/sfp-machine.h
16027 (_FP_TININESS_AFTER_ROUNDING): New macro.
16028 * sysdeps/alpha/soft-fp/sfp-machine.h
16029 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16030 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16031 Likewise.
16032 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16033 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16034 * sysdeps/mips/soft-fp/sfp-machine.h
16035 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16036 * sysdeps/powerpc/soft-fp/sfp-machine.h
16037 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16038 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16039 Likewise.
16040 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16041 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16042 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16043 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16044 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16045 Likewise.
16046
16047 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
16048
16049 [BZ #16545]
16050 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16051 model 1.
16052
16053 2014-02-12 Richard Henderson <rth@redhat.com>
16054
16055 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16056 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16057 * sysdeps/unix/sysv/linux/alpha: Move directory from
16058 ports/sysdeps/unix/sysv/linux/alpha.
16059 * README: Update listing for alpha-*-linux-gnu.
16060
16061 2014-02-11 Joseph Myers <joseph@codesourcery.com>
16062
16063 * include/features.h: Update comment documenting feature test
16064 macros.
16065 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16066 _DEFAULT_SOURCE.
16067 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16068 (_SVID_SOURCE): Likewise.
16069 (_DEFAULT_SOURCE): Update description of default features.
16070 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16071 with _GNU_SOURCE.
16072 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16073 (S_ISVTX): Likewise.
16074 * manual/math.texi (Mathematical Constants): Likewise.
16075 * manual/signal.texi (Interrupted Primitives): Likewise.
16076 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16077 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16078 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16079 Don't refer to _SVID_SOURCE in warning text.
16080
16081 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16082
16083 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16084 already defined.
16085 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16086 * sysdeps/mips/dl-lookup.c: Remove.
16087 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16088
16089 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16090
16091 [BZ #16447]
16092 * math/auto-libm-test-in: Add testcase for expl.
16093 * math/auto-libm-test-out: Regenerate.
16094 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16095 calculation of unsafe.
16096 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16097
16098 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16099
16100 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16101 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16102 ports/sysdeps/unix/sysv/linux/aarch64.
16103 * README: Update listing for aarch64*-*-linux-gnu.
16104
16105 2014-02-11 Will Newton <will.newton@linaro.org>
16106
16107 * manual/probes.texi (Mathematical Function Probes): Use
16108 "triggered" instead of "hit".
16109
16110 * manual/probes.texi (Internal Probes): Add documentation
16111 of setjmp, longjmp and longjmp_target probes.
16112
16113 * include/stap-probe.h: Add comment about probe argument
16114 format.
16115
16116 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16117 definition. (tr_where, tr_freehook, tr_mallochook,
16118 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16119
16120 2014-02-11 David S. Miller <davem@davemloft.net>
16121
16122 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16123 processing int_tests.
16124
16125 2014-02-10 Joseph Myers <joseph@codesourcery.com>
16126
16127 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16128 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16129 * sysdeps/unix/sysv/linux/mips: Move directory from
16130 ports/sysdeps/unix/sysv/linux/mips.
16131 * README: Update listing for mips-*-linux-gnu and
16132 mips64-*-linux-gnu.
16133
16134 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16135
16136 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16137 * sysdeps/unix/sysv/linux/m68k: Move directory from
16138 ports/sysdeps/unix/sysv/linux/m68k.
16139 * README: Update listing for m68k-*-linux-gnu.
16140
16141 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16142
16143 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16144 * sysdeps/unix/sysv/linux/generic: Move directory from
16145 ports/sysdeps/unix/sysv/linux/generic.
16146 * sysdeps/unix/sysv/linux/tile: Move directory from
16147 ports/sysdeps/unix/sysv/linux/tile.
16148 * README: Update listing for tile*-*-linux-gnu.
16149
16150 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
16151
16152 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16153 __builtin_expect.
16154 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16155 * catgets/open_catalog.c (__open_catalog): Likewise.
16156 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16157 * debug/confstr_chk.c: Likewise.
16158 * debug/fread_chk.c (__fread_chk): Likewise.
16159 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16160 * debug/getgroups_chk.c: Likewise.
16161 * debug/mbsnrtowcs_chk.c: Likewise.
16162 * debug/mbsrtowcs_chk.c: Likewise.
16163 * debug/mbstowcs_chk.c: Likewise.
16164 * debug/memcpy_chk.c: Likewise.
16165 * debug/memmove_chk.c: Likewise.
16166 * debug/mempcpy_chk.c: Likewise.
16167 * debug/memset_chk.c: Likewise.
16168 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16169 * debug/strcat_chk.c (__strcat_chk): Likewise.
16170 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16171 * debug/strncat_chk.c (__strncat_chk): Likewise.
16172 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16173 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16174 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16175 * debug/wcpncpy_chk.c: Likewise.
16176 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16177 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16178 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16179 * debug/wcsncpy_chk.c: Likewise.
16180 * debug/wcsnrtombs_chk.c: Likewise.
16181 * debug/wcsrtombs_chk.c: Likewise.
16182 * debug/wcstombs_chk.c: Likewise.
16183 * debug/wmemcpy_chk.c: Likewise.
16184 * debug/wmemmove_chk.c: Likewise.
16185 * debug/wmempcpy_chk.c: Likewise.
16186 * debug/wmemset_chk.c: Likewise.
16187 * dirent/scandirat.c (SCANDIRAT): Likewise.
16188 * dlfcn/dladdr1.c (dladdr1): Likewise.
16189 * dlfcn/dladdr.c (dladdr): Likewise.
16190 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16191 * dlfcn/dlerror.c (__dlerror): Likewise.
16192 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16193 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16194 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16195 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16196 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16197 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16198 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16199 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16200 Likewise.
16201 * elf/dl-conflict.c: Likewise.
16202 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16203 * elf/dl-dst.h: Likewise.
16204 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16205 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16206 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16207 * elf/dl-init.c (call_init, _dl_init): Likewise.
16208 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16209 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16210 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16211 Likewise.
16212 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16213 Likewise.
16214 * elf/dl-minimal.c (__libc_memalign): Likewise.
16215 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16216 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16217 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16218 * elf/dl-sym.c (do_sym): Likewise.
16219 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16220 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16221 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16222 * elf/dl-writev.h (_dl_writev): Likewise.
16223 * elf/ldconfig.c (search_dir): Likewise.
16224 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16225 (dl_main): Likewise.
16226 * elf/setup-vdso.h (setup_vdso): Likewise.
16227 * grp/compat-initgroups.c (compat_call): Likewise.
16228 * grp/fgetgrent.c (fgetgrent): Likewise.
16229 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16230 * grp/putgrent.c (putgrent): Likewise.
16231 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16232 Likewise.
16233 * hurd/hurdinit.c: Likewise.
16234 * iconvdata/8bit-gap.c (struct): Likewise.
16235 * iconvdata/ansi_x3.110.c : Likewise.
16236 * iconvdata/big5.c : Likewise.
16237 * iconvdata/big5hkscs.c : Likewise.
16238 * iconvdata/cp1255.c: Likewise.
16239 * iconvdata/cp1258.c : Likewise.
16240 * iconvdata/cp932.c : Likewise.
16241 * iconvdata/euc-cn.c: Likewise.
16242 * iconvdata/euc-jisx0213.c : Likewise.
16243 * iconvdata/euc-jp.c: Likewise.
16244 * iconvdata/euc-jp-ms.c : Likewise.
16245 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16246 * iconvdata/gb18030.c : Likewise.
16247 * iconvdata/gbbig5.c (const): Likewise.
16248 * iconvdata/gbgbk.c: Likewise.
16249 * iconvdata/gbk.c : Likewise.
16250 * iconvdata/ibm1364.c : Likewise.
16251 * iconvdata/ibm930.c : Likewise.
16252 * iconvdata/ibm932.c: Likewise.
16253 * iconvdata/ibm933.c : Likewise.
16254 * iconvdata/ibm935.c : Likewise.
16255 * iconvdata/ibm937.c : Likewise.
16256 * iconvdata/ibm939.c : Likewise.
16257 * iconvdata/ibm943.c: Likewise.
16258 * iconvdata/iso_11548-1.c: Likewise.
16259 * iconvdata/iso-2022-cn.c : Likewise.
16260 * iconvdata/iso-2022-cn-ext.c : Likewise.
16261 * iconvdata/iso-2022-jp-3.c: Likewise.
16262 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16263 * iconvdata/iso-2022-kr.c : Likewise.
16264 * iconvdata/iso646.c (gconv_end): Likewise.
16265 * iconvdata/iso_6937-2.c : Likewise.
16266 * iconvdata/iso_6937.c : Likewise.
16267 * iconvdata/iso8859-1.c: Likewise.
16268 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16269 * iconvdata/shift_jisx0213.c : Likewise.
16270 * iconvdata/sjis.c : Likewise.
16271 * iconvdata/t.61.c : Likewise.
16272 * iconvdata/tcvn5712-1.c : Likewise.
16273 * iconvdata/tscii.c: Likewise.
16274 * iconvdata/uhc.c : Likewise.
16275 * iconvdata/unicode.c (gconv_end): Likewise.
16276 * iconvdata/utf-16.c (gconv_end): Likewise.
16277 * iconvdata/utf-32.c (gconv_end): Likewise.
16278 * iconvdata/utf-7.c (base64): Likewise.
16279 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16280 * iconv/gconv_close.c (__gconv_close): Likewise.
16281 * iconv/gconv_open.c (__gconv_open): Likewise.
16282 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16283 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16284 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16285 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16286 (ucs4le_internal_loop_single): Likewise.
16287 * iconv/iconv.c (iconv): Likewise.
16288 * iconv/iconv_close.c: Likewise.
16289 * iconv/loop.c (SINGLE): Likewise.
16290 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16291 * include/atomic.h: Likewise.
16292 * inet/inet6_option.c (option_alloc): Likewise.
16293 * intl/bindtextdom.c (set_binding_values): Likewise.
16294 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16295 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16296 * intl/localealias.c (read_alias_file): Likewise.
16297 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16298 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16299 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16300 * libio/fmemopen.c (fmemopen): Likewise.
16301 * libio/iofgets.c (_IO_fgets): Likewise.
16302 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16303 * libio/iofgetws.c (fgetws): Likewise.
16304 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16305 * libio/iogetdelim.c (_IO_getdelim): Likewise.
16306 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16307 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16308 * locale/findlocale.c (_nl_find_locale): Likewise.
16309 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16310 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16311 Likewise.
16312 * locale/setlocale.c (setlocale): Likewise.
16313 * login/programs/pt_chown.c (main): Likewise.
16314 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16315 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16316 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16317 (mmap, mmap64, mremap, munmap): Likewise.
16318 * math/e_exp2l.c: Likewise.
16319 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16320 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16321 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16322 * math/s_catan.c (__catan): Likewise.
16323 * math/s_catanf.c (__catanf): Likewise.
16324 * math/s_catanh.c (__catanh): Likewise.
16325 * math/s_catanhf.c (__catanhf): Likewise.
16326 * math/s_catanhl.c (__catanhl): Likewise.
16327 * math/s_catanl.c (__catanl): Likewise.
16328 * math/s_ccosh.c (__ccosh): Likewise.
16329 * math/s_ccoshf.c (__ccoshf): Likewise.
16330 * math/s_ccoshl.c (__ccoshl): Likewise.
16331 * math/s_cexp.c (__cexp): Likewise.
16332 * math/s_cexpf.c (__cexpf): Likewise.
16333 * math/s_cexpl.c (__cexpl): Likewise.
16334 * math/s_clog10.c (__clog10): Likewise.
16335 * math/s_clog10f.c (__clog10f): Likewise.
16336 * math/s_clog10l.c (__clog10l): Likewise.
16337 * math/s_clog.c (__clog): Likewise.
16338 * math/s_clogf.c (__clogf): Likewise.
16339 * math/s_clogl.c (__clogl): Likewise.
16340 * math/s_csin.c (__csin): Likewise.
16341 * math/s_csinf.c (__csinf): Likewise.
16342 * math/s_csinh.c (__csinh): Likewise.
16343 * math/s_csinhf.c (__csinhf): Likewise.
16344 * math/s_csinhl.c (__csinhl): Likewise.
16345 * math/s_csinl.c (__csinl): Likewise.
16346 * math/s_csqrt.c (__csqrt): Likewise.
16347 * math/s_csqrtf.c (__csqrtf): Likewise.
16348 * math/s_csqrtl.c (__csqrtl): Likewise.
16349 * math/s_ctan.c (__ctan): Likewise.
16350 * math/s_ctanf.c (__ctanf): Likewise.
16351 * math/s_ctanh.c (__ctanh): Likewise.
16352 * math/s_ctanhf.c (__ctanhf): Likewise.
16353 * math/s_ctanhl.c (__ctanhl): Likewise.
16354 * math/s_ctanl.c (__ctanl): Likewise.
16355 * math/w_pow.c: Likewise.
16356 * math/w_powf.c: Likewise.
16357 * math/w_powl.c: Likewise.
16358 * math/w_scalb.c (sysv_scalb): Likewise.
16359 * math/w_scalbf.c (sysv_scalbf): Likewise.
16360 * math/w_scalbl.c (sysv_scalbl): Likewise.
16361 * misc/error.c (error_tail): Likewise.
16362 * misc/pselect.c (__pselect): Likewise.
16363 * nis/nis_callback.c (__nis_create_callback): Likewise.
16364 * nis/nis_call.c (__nisfind_server): Likewise.
16365 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16366 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16367 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16368 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16369 * nis/nis_lookup.c (nis_lookup): Likewise.
16370 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16371 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16372 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16373 * nis/nis_xdr.c (xdr_endpoint): Likewise.
16374 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16375 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16376 * nis/nss_compat/compat-initgroups.c (add_group)
16377 (internal_getgrent_r): Likewise.
16378 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16379 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16380 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16381 (internal_getspnam_r): Likewise.
16382 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16383 (_nss_nis_getaliasbyname_r): Likewise.
16384 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16385 (_nss_nis_getntohost_r): Likewise.
16386 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16387 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16388 (_nss_nis_getgrgid_r): Likewise.
16389 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16390 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16391 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16392 (_nss_nis_gethostbyname4_r): Likewise.
16393 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16394 (initgroups_netid): Likewise.
16395 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16396 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16397 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16398 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16399 (_nss_nis_getprotobynumber_r): Likewise.
16400 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16401 (_nss_nis_getsecretkey): Likewise.
16402 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16403 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16404 (_nss_nis_getpwuid_r): Likewise.
16405 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16406 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16407 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16408 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16409 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16410 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16411 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16412 Likewise.
16413 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16414 (_nss_nisplus_getntohost_r): Likewise.
16415 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16416 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16417 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16418 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16419 Likewise.
16420 * nis/nss_nisplus/nisplus-initgroups.c
16421 (_nss_nisplus_initgroups_dyn): Likewise.
16422 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16423 (_nss_nisplus_getnetbyaddr_r): Likewise.
16424 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16425 (_nss_nisplus_getprotobynumber_r): Likewise.
16426 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16427 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16428 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16429 Likewise.
16430 * nis/nss_nisplus/nisplus-service.c
16431 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16432 (_nss_nisplus_getservbyport_r): Likewise.
16433 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16434 (_nss_nisplus_getspnam_r): Likewise.
16435 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16436 Likewise.
16437 * nscd/aicache.c (addhstaiX): Likewise.
16438 * nscd/cache.c (cache_search, prune_cache): Likewise.
16439 * nscd/connections.c (register_traced_file, send_ro_fd)
16440 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16441 (main_loop_epoll): Likewise.
16442 * nscd/grpcache.c (addgrbyX): Likewise.
16443 * nscd/hstcache.c (addhstbyX): Likewise.
16444 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16445 * nscd/mem.c (gc, mempool_alloc): Likewise.
16446 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16447 (addinnetgrX): Likewise.
16448 * nscd/nscd-client.h (__nscd_acquire_maplock)
16449 (__nscd_drop_map_ref): Likewise.
16450 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16451 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16452 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16453 Likewise.
16454 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16455 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16456 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16457 (__nscd_get_map_ref): Likewise.
16458 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16459 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16460 Likewise.
16461 * nscd/pwdcache.c (addpwbyX): Likewise.
16462 * nscd/selinux.c (preserve_capabilities): Likewise.
16463 * nscd/servicescache.c (addservbyX): Likewise.
16464 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16465 * posix/fnmatch.c (fnmatch): Likewise.
16466 * posix/getopt.c (_getopt_internal_r): Likewise.
16467 * posix/glob.c (glob, glob_in_dir): Likewise.
16468 * posix/wordexp.c (exec_comm_child): Likewise.
16469 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16470 (getanswer_r, gaih_getanswer_slice): Likewise.
16471 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16472 * resolv/res_init.c: Likewise.
16473 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16474 * resolv/res_query.c (__libc_res_nquery): Likewise.
16475 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16476 Likewise.
16477 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16478 * stdio-common/perror.c (perror): Likewise.
16479 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16480 * stdio-common/tmpnam.c (tmpnam): Likewise.
16481 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16482 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16483 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16484 Likewise.
16485 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16486 * stdlib/putenv.c (putenv): Likewise.
16487 * stdlib/setenv.c (__add_to_environ): Likewise.
16488 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16489 * stdlib/strtol_l.c (INTERNAL): Likewise.
16490 * string/memmem.c (memmem): Likewise.
16491 * string/strerror.c (strerror): Likewise.
16492 * string/strnlen.c (__strnlen): Likewise.
16493 * string/test-memmem.c (simple_memmem): Likewise.
16494 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16495 * sunrpc/pm_getport.c (__get_socket): Likewise.
16496 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16497 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16498 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16499 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16500 Likewise.
16501 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16502 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16503 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16504 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16505 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16506 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16507 Likewise.
16508 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16509 Likewise.
16510 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16511 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16512 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16513 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16514 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16515 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16516 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16517 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16518 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16519 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16520 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16521 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16522 Likewise.
16523 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16524 Likewise.
16525 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16526 Likewise.
16527 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16528 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16529 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16530 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16531 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16532 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16533 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16534 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16535 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16536 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16537 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16538 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16539 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16540 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16541 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16542 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16543 Likewise.
16544 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16545 Likewise.
16546 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16547 Likewise.
16548 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16549 Likewise.
16550 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16551 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16552 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16553 Likewise.
16554 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16555 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16556 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16557 * sysdeps/posix/sleep.c: Likewise.
16558 * sysdeps/posix/tempname.c: Likewise.
16559 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16560 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16561 Likewise.
16562 * sysdeps/powerpc/powerpc32/dl-machine.h
16563 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16564 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16565 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16566 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16567 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16568 Likewise.
16569 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16570 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16571 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16572 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16573 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16574 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16575 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16576 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16577 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16578 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16579 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16580 (elf_machine_lazy_rel): Likewise.
16581 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16582 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16583 (elf_machine_lazy_rel): Likewise.
16584 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16585 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16586 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16587 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16588 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16589 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16590 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16591 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16592 Likewise.
16593 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16594 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16595 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16596 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16597 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16598 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16599 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16600 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16601 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16602 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16603 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16604 Likewise.
16605 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16606 (__posix_fallocate64_l64): Likewise.
16607 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16608 (posix_fallocate): Likewise.
16609 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16610 Likewise.
16611 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16612 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16613 (getifaddrs_internal): Likewise.
16614 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16615 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16616 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16617 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16618 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16619 (__posix_fallocate64_l64): Likewise.
16620 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16621 Likewise.
16622 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16623 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16624 (__get_clockfreq): Likewise.
16625 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16626 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16627 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16628 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16629 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16630 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16631 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16632 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16633 Likewise.
16634 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16635 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16636 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16637 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16638 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16639 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16640 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16641 Likewise.
16642 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16643 (posix_fallocate): Likewise.
16644 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16645 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16646 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16647 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16648 (elf_machine_rela, elf_machine_rela_relative)
16649 (elf_machine_lazy_rel): Likewise.
16650 * time/asctime.c (asctime_internal): Likewise.
16651 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16652 * time/tzset.c (__tzset_parse_tz): Likewise.
16653 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16654 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16655 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16656 * wcsmbs/wcsmbsload.h: Likewise.
16657
16658 [BZ #15894]
16659 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16660
16661 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16662 (arena_get2): Remove THREAD_STATS conditionals.
16663 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16664 (__malloc_stats, int): Likewise.
16665
16666 2014-02-08 Mike Frysinger <vapier@gentoo.org>
16667
16668 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16669 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16670
16671 * manual/setjmp.texi: Fix typos/grammar errors.
16672
16673 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16674 Only return early when n is <= 0. Delete unused return statement.
16675
16676 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16677 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16678 * debug/tst-longjmp_chk3.c: New file.
16679
16680 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16681 (test_main): Replace code with set_fortify_handler call.
16682 * debug/test-strcpy_chk.c: Likewise.
16683 * debug/tst-chk1.c: Likewise.
16684 * debug/tst-longjmp_chk.c: Likewise.
16685 * test-skeleton.c: Include fcntl.h & paths.h
16686 (set_fortify_handler): Define.
16687
16688 * debug/tst-longjmp_chk.c: Add header comment and include
16689 ../test-skeleton.c.
16690 (do_test): Mark static.
16691 (TEST_FUNCTION): Define.
16692
16693 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16694 (IP_PMTUDISC_INTERFACE): Likewise.
16695 (IP_MULTICAST_IF): Likewise.
16696 (IP_MULTICAST_TTL): Likewise.
16697 (IP_MULTICAST_LOOP): Likewise.
16698 (IP_ADD_MEMBERSHIP): Likewise.
16699 (IP_DROP_MEMBERSHIP): Likewise.
16700 (IP_UNBLOCK_SOURCE): Likewise.
16701 (IP_BLOCK_SOURCE): Likewise.
16702 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16703 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16704 (IP_MSFILTER): Likewise.
16705 (MCAST_JOIN_GROUP): Likewise.
16706 (MCAST_BLOCK_SOURCE): Likewise.
16707 (MCAST_UNBLOCK_SOURCE): Likewise.
16708 (MCAST_LEAVE_GROUP): Likewise.
16709 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16710 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16711 (MCAST_MSFILTER): Likewise.
16712 (IP_MULTICAST_ALL): Likewise.
16713 (IP_UNICAST_IF): Likewise.
16714
16715 * timezone/Makefile: Delete $(have-ksh) check.
16716 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16717 * timezone/tzselect.ksh: Add +x mode bits.
16718
16719 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16720 (ANON_INODE_FS_MAGIC): Likewise.
16721 (BDEVFS_MAGIC): Likewise.
16722 (BINFMTFS_MAGIC): Likewise.
16723 (BTRFS_TEST_MAGIC): Likewise.
16724 (CRAMFS_MAGIC_WEND): Likewise.
16725 (DEBUGFS_MAGIC): Likewise.
16726 (ECRYPTFS_SUPER_MAGIC): Likewise.
16727 (EXT3_SUPER_MAGIC): Likewise.
16728 (EXT4_SUPER_MAGIC): Likewise.
16729 (FUTEXFS_SUPER_MAGIC): Likewise.
16730 (HOSTFS_SUPER_MAGIC): Likewise.
16731 (HUGETLBFS_MAGIC): Likewise.
16732 (MINIX3_SUPER_MAGIC): Likewise.
16733 (MTD_INODE_FS_MAGIC): Likewise.
16734 (NILFS_SUPER_MAGIC): Likewise.
16735 (OPENPROM_SUPER_MAGIC): Likewise.
16736 (PIPEFS_MAGIC): Likewise.
16737 (PSTOREFS_MAGIC): Likewise.
16738 (QNX6_SUPER_MAGIC): Likewise.
16739 (RAMFS_MAGIC): Likewise.
16740 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16741 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16742 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16743 (SECURITYFS_MAGIC): Likewise.
16744 (SELINUX_MAGIC): Likewise.
16745 (SMACK_MAGIC): Likewise.
16746 (SOCKFS_MAGIC): Likewise.
16747 (SQUASHFS_MAGIC): Likewise.
16748 (STACK_END_MAGIC): Likewise.
16749 (TMPFS_MAGIC): Likewise.
16750 (USBDEVICE_SUPER_MAGIC): Likewise.
16751 (V9FS_MAGIC): Likewise.
16752 (XENFS_SUPER_MAGIC): Likewise.
16753 (CRAMFS_MAGIC): Fix typo in comment.
16754 (EXT2_SUPER_MAGIC): Update comment.
16755 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16756
16757 2014-02-08 Joseph Myers <joseph@codesourcery.com>
16758
16759 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16760 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16761 * sysdeps/unix/sysv/linux/arm: Move directory from
16762 ports/sysdeps/unix/sysv/linux/arm.
16763 * README: Update listing for arm-*-linux-gnueabi.
16764
16765 * README: Remove mention of am33.
16766
16767 2014-02-07 Roland McGrath <roland@hack.frob.com>
16768
16769 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16770 than the comma operator, to avoid "rhs of comma has no effect"
16771 compiler warnings.
16772 (__sigfillset, __sigandset, __sigorset): Likewise.
16773 * include/signal.h (__sigemptyset): Likewise.
16774 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16775
16776 2014-02-07 Allan McRae <allan@archlinux.org>
16777
16778 * version.h (RELEASE): Set to "development".
16779 (VERSION): Set to "2.19.90"
16780 * NEWS: Add 2.20 section.
16781
16782 2014-02-06 Carlos O'Donell <carlos@redhat.com>
16783
16784 [BZ #16529]
16785 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16786
16787 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16788
16789 * manual/contrib.texi: Update entry for Carlos O'Donell,
16790 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16791
16792 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
16793
16794 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16795
16796 * sysdeps/unix/sysv/linux/kernel-features.h
16797 [__LINUX_KERNEL_VERSION >= 0x020621]
16798 (__ASSUME_PROC_PID_TASK_COMM): Define.
16799
16800 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16801
16802 [BZ #16398]
16803 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16804 conversion when destination buffer does not have enough space.
16805 * libio/tst-ftell-partial-wide.c: New test case.
16806 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16807
16808 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16809 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16810 Leonard and Allan McRae.
16811
16812 2014-02-04 David S. Miller <davem@davemloft.net>
16813
16814 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16815 32-bit.
16816
16817 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16818
16819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16820 New file
16821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16822 New file
16823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16824 New file.
16825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16826 New file.
16827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16828 New file.
16829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16830 New file.
16831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16832 New file.
16833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16834 New file.
16835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16836 New file.
16837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16838 New file.
16839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16840 New file.
16841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16842 New file.
16843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16844 New file.
16845
16846 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16847
16848 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16849 * shlib-versions: Likewise.
16850
16851 2014-02-04 Roland McGrath <roland@hack.frob.com>
16852 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16853
16854 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16855 (abilist-pattern): New variable, set to %-le.abilist.
16856
16857 * Makerules (abilist-pattern): New variable.
16858 (vpath): Use $(abilist-pattern) in place of %.abilist.
16859 (check-abi-% pattern rule): Likewise.
16860 (check-abi, update-abi): Likewise.
16861
16862 2014-02-04 Eric Wong <normalperson@yhbt.net>
16863
16864 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16865
16866 2014-02-03 Carlos O'Donell <carlos@redhat.com>
16867
16868 * manual/startup.texi: Add next, previous, and top entries for
16869 the `Program Arguments' and `Environment Variables' nodes.
16870
16871 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
16872
16873 * manual/macros.texi: Add comments before MTASC-safety macros.
16874
16875 * manual/users.texi: Document MTASC-safety properties.
16876
16877 * manual/threads.texi (pthread_key_create, pthread_key_delete)
16878 (pthread_getspecific, pthread_setspecific): Format with
16879 @deftypefun, and add @safety note.
16880 * manual/signal.texi: Move comments that analyze the above
16881 functions to their home place.
16882
16883 2014-02-03 Allan McRae <allan@archlinux.org>
16884
16885 * po/sl.po: Update Slovenian translation from translation project.
16886
16887 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
16888
16889 * manual/time.texi (timegm): Add missing blank after @c.
16890 Reported by Joseph Myers <joseph@codesourcery.com>.
16891
16892 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
16893
16894 * manual/check-safety.sh: New.
16895 * manual/Makefile ($(objpfx)stamp-summary): Run it.
16896
16897 * manual/terminal.texi: Document MTASC-safety properties.
16898
16899 * manual/filesys.texi: Document MTASC-safety properties.
16900
16901 * manual/errno.texi: Document MTASC-safety properties.
16902
16903 * manual/intro.texi: Document safety identifiers and
16904 conditionals.
16905
16906 * manual/string.texi (wcstok): Fix prototype.
16907 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16908
16909 * manual/time.texi: Document MTASC-safety properties.
16910
16911 * manual/string.texi: Document MTASC-safety properties.
16912
16913 * manual/threads.texi: Document MTASC-safety properties.
16914
16915 * manual/stdio.texi: Document MTASC-safety properties.
16916
16917 * manual/syslog.texi: Document MTASC-safety properties.
16918
16919 * manual/sysinfo.texi: Document MTASC-safety properties.
16920
16921 * manual/startup.texi: Document MTASC-safety properties.
16922
16923 * manual/socket.texi: Document MTASC-safety properties.
16924
16925 * manual/signal.texi: Document MTASC-safety properties.
16926
16927 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
16928
16929 * manual/setjmp.texi: Document MTASC-safety properties.
16930
16931 * manual/search.texi: Document MTASC-safety properties.
16932
16933 * manual/resource.texi: Document MTASC-safety properties.
16934
16935 * manual/process.texi: Document MTASC-safety properties.
16936
16937 * manual/platform.texi: Document MTASC-safety properties.
16938
16939 * manual/pipe.texi: Document MTASC-safety properties.
16940
16941 * manual/pattern.texi: Document MTASC-safety properties.
16942
16943 * manual/message.texi: Document MTASC-safety properties.
16944
16945 [BZ #12751]
16946 * manual/memory.texi: Document MTASC-safety properties.
16947
16948 * manual/math.texi: Document MTASC-safety properties.
16949
16950 * manual/locale.texi: Document MTASC-safety properties.
16951
16952 * manual/llio.texi: Document MTASC-safety properties.
16953
16954 * manual/libdl.texi: New.
16955
16956 * manual/lang.texi: Document MTASC-safety properties.
16957
16958 * manual/job.texi: Document MTASC-safety properties.
16959
16960 * manual/getopt.texi: Document MTASC-safety properties.
16961
16962 * manual/ctype.texi: Document MTASC-safety properties.
16963
16964 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
16965
16966 [BZ #16046]
16967 * csu/libc-tls.c (static_map): Remove variable.
16968 (__libc_setup_tls): Use main executable's link map for TLS data.
16969 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16970 casing for LM_ID_BASE and GL(dl_nns).
16971 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16972 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
16973 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16974 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16975 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16976 member.
16977 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16978 l_phnum members.
16979
16980 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
16981
16982 * manual/debug.texi: Document MTASC-safety properties.
16983
16984 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
16985
16986 [BZ #16510]
16987 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16988 of __x86_64__ when disabling x87 inline functions.
16989
16990 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
16991
16992 * manual/charset.texi: Document MTASC-safety properties.
16993
16994 * manual/crypt.texi: Document MTASC-safety properties.
16995
16996 * manual/conf.texi: Document MTASC-safety properties.
16997
16998 * manual/arith.texi: Document MTASC-safety properties.
16999
17000 * manual/argp.texi: Document MTASC-safety properties.
17001
17002 * manual/macros.texi: Introduce macros to document multi
17003 thread, asynchronous signal and asynchronous cancellation
17004 safety properties.
17005 * manual/intro.texi: Introduce the properties themselves.
17006
17007 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17008
17009 * sysdeps/sh/sh4/Makefile: New file.
17010
17011 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17012
17013 * math/gen-libm-test.pl ($srcdir): New variable.
17014 ($auto_input): Use it.
17015
17016 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17017
17018 [BZ #16506]
17019 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17020 access beyond array bounds when parsing netgroups file.
17021
17022 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17023 the old buffer before realloc.
17024
17025 2014-01-27 Allan McRae <allan@archlinux.org>
17026
17027 * po/fr.po: Update French translation from translation project.
17028
17029 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17030
17031 * sysdeps/sh/libm-test-ulps: Regenerate.
17032
17033 2014-01-24 David S. Miller <davem@davemloft.net>
17034
17035 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17036
17037 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17038
17039 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17040 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17041
17042 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17043
17044 [BZ #16474]
17045 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17046 string pointers after reallocation.
17047
17048 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17049
17050 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17051 __SH4A__ instead of __SH_FPU_ANY__.
17052
17053 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17054
17055 * sysdeps/sh/fpu_control.h: New file.
17056 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17057 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17058 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17059 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17060 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17061 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17062 * sysdeps/sh/sys/ucontext.h: Remove.
17063 * sysdeps/sh/sys: Remove directory.
17064
17065 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17066
17067 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17068 s390/sys/ucontext.h.
17069 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17070 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17071
17072 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17073
17074 [BZ #15605]
17075 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17076
17077 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17078
17079 [BZ#16431]
17080 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17081 Adjust the vDSO correctly for internal calls.
17082 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17083
17084 2014-01-20 Allan McRae <allan@archlinux.org>
17085
17086 * po/ca.po: Update Catalan translation from translation project.
17087
17088 2014-01-16 Mike Frysinger <vapier@gentoo.org>
17089
17090 * sysdeps/s390/sotruss-lib.c: New file.
17091
17092 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17093
17094 [BZ#16430]
17095 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17096 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17097 local calls issues by not having a PLT stub required for IFUNC calls.
17098 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17099
17100 2014-01-16 Joseph Myers <joseph@codesourcery.com>
17101
17102 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17103 * math/test-fpucw-static.c: Likewise.
17104
17105 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17106
17107 [BZ #16453]
17108 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17109
17110 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17111
17112 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17113 implementation for powerpc.
17114
17115 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
17116
17117 [BZ #14782]
17118 * sysdeps/posix/system.c (__libc_system): Do not enable
17119 asynchronous cancellation.
17120
17121 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17122
17123 [BZ #16427]
17124 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17125 handling only for numbers special also in the IEEE case.
17126
17127 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17128
17129 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17130
17131 2014-01-11 Allan McRae <allan@archlinux.org>
17132
17133 * po/bg.po: Update Bulgarian translation from translation project.
17134
17135 * po/de.po: Update German translation from translation project.
17136
17137 2014-01-10 Roland McGrath <roland@hack.frob.com>
17138
17139 * sysdeps/generic/gcc-compat.h: New file.
17140
17141 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17142
17143 * benchtests/asin-inputs: Correct slow inputs.
17144 * benchtests/acos-inputs: Likewise.
17145
17146 2014-01-10 Allan McRae <allan@archlinux.org>
17147
17148 * po:sv.po: Update Swedish translation from translation project.
17149
17150 * po/vi.po: Update Vietnamese translation from translation project.
17151
17152 * po/eo.po: Update Esperanto translation from translation project.
17153
17154 * po/cs.po: Update Czech translation from translation project.
17155
17156 * po/nl.po: Update Dutch translation from translation project.
17157
17158 * po/pl.po: Update Polish translation from translation project.
17159
17160 * po/ru.po: Update Russian translation from translation project.
17161
17162 * po/uk.po: Update Ukrainian translation from translation project.
17163
17164 2014-01-08 Brooks Moses <bmoses@google.com>
17165
17166 * elf/dl-load.c: Fix comment typo.
17167
17168 2014-01-08 Carlos O'Donell <carlos@redhat.com>
17169
17170 * po/header.pot: Rename to...
17171 * po/pot.header: ... this.
17172 * po/Makefile: Use pot.header.
17173
17174 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17175 Maxim Kuvyrkov <maxim@kugelworks.com>
17176
17177 [BZ #16394]
17178 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17179 SRC and DEST against LEN.
17180
17181 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17182
17183 [BZ #16414]
17184 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17185 implementation.
17186 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17187
17188 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17189
17190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17191
17192 2014-01-08 Joseph Myers <joseph@codesourcery.com>
17193
17194 [BZ #16408]
17195 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17196 for large positive arguments.
17197
17198 2014-01-07 Joseph Myers <joseph@codesourcery.com>
17199
17200 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17201
17202 * math/auto-libm-test-in: Mark various tests with
17203 xfail-rounding:ldbl-128ibm.
17204 * math/auto-libm-test-out: Regenerated.
17205
17206 [BZ #16407]
17207 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17208 Increase overflow threshold.
17209
17210 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
17211
17212 [BZ #14286]
17213 * stdio-common/vfprintf.c: Check for integer overflow.
17214
17215 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17216
17217 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17218 the first argument and return value of __tls_get_addr_internal.
17219
17220 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17221
17222 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17223 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17224
17225 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17226
17227 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17228 * sysdeps/s390/rtld-global-offsets.sym: New file.
17229 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17230 GLIBC_2.19 symbol.
17231 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17232 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17233 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17234 ... this.
17235 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17236 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17237 ... this.
17238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17239 Regenerate.
17240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17241 Regenerate.
17242 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17243 halfs of GPRs for high_gprs contexts.
17244 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17245 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17246 field.
17247 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17248 uc_flags field.
17249 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17250 64 bit versions:
17251 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17252 for high GPRs (uc_high_gprs) and for future extensions
17253 (__reserved).
17254 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17255 for future extensions (__reserved).
17256 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17257 64 bit versions:
17258 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17259 SC_HIGHGPRS offset definition.
17260 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17261 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17262
17263 * Versions.def: Add GLIBC_2.19 for libpthread.
17264 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17265 siglongjmp for libpthread with GLIBC_2.19 symver.
17266 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17267 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17268 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17269 * sysdeps/s390/__longjmp.c: New file.
17270 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17271 * sysdeps/s390/longjmp.c: New file.
17272 * sysdeps/s390/setjmp.S: New file.
17273 * sysdeps/s390/sigjmp.S: New file.
17274 * sysdeps/s390/v1-longjmp.c: New file.
17275 * sysdeps/s390/v1-setjmp.h: New file.
17276 * sysdeps/s390/v1-sigjmp.c: New file.
17277 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17278 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17279 GLIBC_2.19 version.
17280 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17281 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17282 versioned symbols for ____longjmp_chk.
17283 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17284 Likewise.
17285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17286 Regenerate.
17287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17288 Regenerate.
17289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17290 Regenerate.
17291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17292 Regenerate.
17293 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17294 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17295 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17296 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17297 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17298 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17299 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17300 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17301 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17302 * sysdeps/s390/rtld-__longjmp.c: New file.
17303 * sysdeps/s390/rtld-setjmp.S: New file.
17304
17305 2014-01-06 Joseph Myers <joseph@codesourcery.com>
17306
17307 [BZ #16400]
17308 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17309 Return -__logl (x) for small positive arguments without evaluating
17310 a polynomial.
17311
17312 2014-01-06 Mike Frysinger <vapier@gentoo.org>
17313
17314 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17315 Rename to ...
17316 (__ptrace_peeksiginfo_args): ... this.
17317 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17318 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17319 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17320
17321 2014-01-06 Allan McRae <allan@archlinux.org>
17322
17323 * inet/netinet/in.h: Fix typo in comment.
17324
17325 2014-01-05 Andreas Jaeger <aj@suse.de>
17326
17327 * sysdeps/i386/fpu/libm-test-ulps: Update.
17328
17329 2014-01-05 Allan McRae <allan@archlinux.org>
17330
17331 * po/libc.pot: Regenerated.
17332
17333 * malloc/memusagestat.c: Fix gettext call formatting.
17334
17335 2014-01-04 Sami Kerola <kerolasa@iki.fi>
17336
17337 * nscd/nscd.c: Improve usage() output.
17338
17339 2014-01-04 Mike Frysinger <vapier@gentoo.org>
17340
17341 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17342 * sysdeps/unix/sysv/linux/configure: Regenerated.
17343 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17344 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17345
17346 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17347
17348 [BZ #16390]
17349 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17350 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17351
17352 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17353
17354 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17355 extra tokens at end of #undef directive.
17356 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17357 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17358 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17359
17360 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17361
17362 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17363
17364 * math/auto-libm-test-in: Mark various tests with
17365 xfail-rounding:ldbl-128ibm.
17366 * math/auto-libm-test-out: Regenerated.
17367
17368 2014-01-02 Joseph Myers <joseph@codesourcery.com>
17369
17370 [BZ #16386]
17371 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17372 numbers with subnormal high part when calculating exponent.
17373
17374 [BZ #16385]
17375 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17376 fabs.
17377
17378 [BZ #16384]
17379 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17380 M_LN2l.
17381 (__ieee754_acoshl): Use __log1pl not __log1p.
17382
17383 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
17384
17385 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17386 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17387 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17388 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17389 (reused_arena, arena_get2): Convert to GNU style.
17390 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17391 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17392 (memalign_check, __malloc_set_state): Likewise.
17393 * malloc/mallocbug.c (main): Likewise.
17394 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17395 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17396 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17397 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17398 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17399 (__posix_memalign, malloc_info): Likewise.
17400 * malloc/malloc.h: Likewise.
17401 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17402 (mallochook, memalignhook, reallochook, mabort): Likewise.
17403 * malloc/mcheck.h: Likewise.
17404 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17405 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17406 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17407 * malloc/morecore.c (__default_morecore): Likewise.
17408 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17409 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17410 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17411 (print_and_abort): Likewise.
17412 * malloc/obstack.h: Likewise.
17413 * malloc/set-freeres.c (__libc_freeres): Likewise.
17414 * malloc/tst-mallocstate.c (main): Likewise.
17415 * malloc/tst-mtrace.c (main): Likewise.
17416 * malloc/tst-realloc.c (do_test): Likewise.
17417
17418 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17419
17420 [BZ #16366]
17421 * nscd/netgroupcache.c (do_notfound): New function.
17422 (addgetnetgrentX): Use it.
17423
17424 [BZ # 16365]
17425 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17426 NSS_STATUS_NOTFOUND.
17427
17428 2014-01-01 Joseph Myers <joseph@codesourcery.com>
17429
17430 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17432
17433 2014-01-01 Allan McRae <allan@archlinux.org>
17434
17435 * scripts/update-copyrights: Update configure input file suffix.
17436
17437 * NEWS: Update copyright year.
17438 * catgets/gencat.c: Likewise.
17439 * csu/version.c: Likewise.
17440 * debug/catchsegv.sh: Likewise.
17441 * debug/pcprofiledump.c: Likewise.
17442 * debug/xtrace.sh: Likewise.
17443 * elf/ldconfig.c: Likewise.
17444 * elf/ldd.bash.in: Likewise.
17445 * elf/pldd.c: Likewise.
17446 * elf/sotruss.ksh: Likewise.
17447 * elf/sprof.c: Likewise.
17448 * iconv/iconv_prog.c: Likewise.
17449 * iconv/iconvconfig.c: Likewise.
17450 * locale/programs/locale.c: Likewise.
17451 * locale/programs/localedef.c: Likewise.
17452 * login/programs/pt_chown.c: Likewise.
17453 * malloc/memusage.sh: Likewise.
17454 * malloc/memusagestat.c: Likewise.
17455 * malloc/mtrace.pl: Likewise.
17456 * manual/libc.texinfo: Likewise.
17457 * nscd/nscd.c: Likewise.
17458 * nss/getent.c: Likewise.
17459 * nss/makedb.c: Likewise.
17460 * posix/getconf.c: Likewise.
17461 * scripts/test-installation.pl: Likewise.
17462
17463 * All files with FSF copyright notices: Update copyright dates
17464 using scripts/update-copyrights.
17465 * intl/plural.c: Regenerated.
17466 * locale/programs/charmap-kw.h: Likewise.
17467 * locale/programs/locfile-kw.h: Likewise.
17468
17469 2013-12-31 Mike Frysinger <vapier@gentoo.org>
17470
17471 * sysdeps/unix/sysv/linux/configure: Regenerated.
17472 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17473 the linux/fanotify.h header.
17474 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17475 HAVE_LINUX_FANOTIFY_H is defined.
17476
17477 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17478
17479 * benchtests/cos-inputs: New inputs.
17480 * benchtests/sin-inputs: Likewise.
17481
17482 * benchtests/atan-inputs: New inputs. Fix name of multiple
17483 precision fallback inputs.
17484
17485 * benchtests/atanh-inputs: New inputs.
17486 * benchtests/tanh-inputs: Likewise.
17487
17488 * benchtests/acosh-inputs: New inputs.
17489 * benchtests/asinh-inputs: Likewise.
17490
17491 * benchtests/cosh-inputs: New inputs.
17492 * benchtests/sinh-inputs: Likewise.
17493
17494 * benchtests/acos-inputs: Add more inputs.
17495 * benchtests/asin-inputs: Likewise.
17496
17497 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
17498
17499 [BZ #16375]
17500 * manual/arith.texi: Fix spelling.
17501 * manual/charset.texi: Likewise.
17502 * manual/errno.texi: Likewise.
17503 * manual/filesys.texi: Likewise.
17504 * manual/lang.texi: Likewise.
17505 * manual/llio.texi: Likewise.
17506 * manual/locale.texi: Likewise.
17507 * manual/message.texi: Likewise.
17508 * manual/resource.texi: Likewise.
17509 * manual/search.texi: Likewise.
17510 * manual/setjmp.texi: Likewise.
17511 * manual/stdio.texi: Likewise.
17512 * manual/string.texi: Likewise.
17513 * manual/sysinfo.texi: Likewise.
17514 * manual/time.texi: Likewise.
17515
17516 2013-12-27 Carlos O'Donell <carlos@redhat.com>
17517
17518 * po/sl.po: New file.
17519
17520 2013-12-27 Mike Frysinger <vapier@gentoo.org>
17521
17522 * .gitignore: Add core/.gdbinit/.gdb_history.
17523
17524 2013-12-27 Allan McRae <allan@archlinux.org>
17525
17526 [BZ #16369]
17527 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17528 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17529
17530 2013-12-24 Brooks Moses <bmoses@google.com>
17531
17532 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17533 all compilers that claim C++98 compliance, not just GCC.
17534 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17535 Likewise.
17536
17537 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17538
17539 * NEWS: Restore accidentally deleted bug-fix entries.
17540
17541 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17542 Ondřej Bílka <neleai@seznam.cz>
17543
17544 [BZ #15073]
17545 * malloc/malloc.c (_int_free): Perform sanity check only if we
17546 have_lock.
17547
17548 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
17549
17550 [BZ #12986]
17551 * manual/stdio.texi (String Input Conversions): Clarify that character
17552 classes are not supported.
17553
17554 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17555
17556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17557
17558 2013-12-22 Joseph Myers <joseph@codesourcery.com>
17559
17560 [BZ #16337]
17561 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17562 Calculate results for small negative arguments directly rather
17563 than using reflection formula with special underflow handling.
17564
17565 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17566 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17567 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17568 (fchflags): Likewise.
17569 (revoke): Likewise.
17570 (setlogin): Likewise.
17571 (sigaltstack): Likewise.
17572 (wait4): Likewise.
17573 (sigblock): Remove.
17574 (sigsetmask): Likewise.
17575 (wait3): Likewise.
17576 (waitpid): Likewise.
17577 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17578 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17579 file.
17580 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17581 * sysdeps/unix/bsd/Makefile: ... here.
17582 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17583 * sysdeps/unix/bsd/Versions: ... here.
17584 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17585 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17586 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17587 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17588 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17589 * sysdeps/unix/bsd/sigblock.c: ... here.
17590 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17591 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17592 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17593 * sysdeps/unix/bsd/sigvec.c: ... here.
17594 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17595 * sysdeps/unix/bsd/tcdrain.c: ... here.
17596 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17597 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17598 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17599 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17600 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17601 * sysdeps/unix/bsd/wait.c: ... here.
17602 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17603 * sysdeps/unix/bsd/wait3.c: ... here.
17604 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17605 * sysdeps/unix/bsd/waitpid.c: ... here.
17606
17607 2013-12-21 Joseph Myers <joseph@codesourcery.com>
17608
17609 [BZ #16356]
17610 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17611 round-to-nearest for [!USE_AS_EXPM1L].
17612 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17613 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17614 more tests of exp and exp10. Expect some exp10 tests to miss
17615 exceptions or fail in directed rounding modes.
17616 * math/auto-libm-test-out: Regenerated.
17617 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17618 (exp10_test_tonearest): New function.
17619 (exp10_towardzero_test_data): New array.
17620 (exp10_test_towardzero): New function.
17621 (exp10_downward_test_data): New array.
17622 (exp10_test_downward): New function.
17623 (exp10_upward_test_data): New array.
17624 (exp10_test_upward): New function.
17625 (main): Call the new functions.
17626 * sysdeps/i386/fpu/libm-test-ulps: Update.
17627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17628
17629 2013-12-20 Joseph Myers <joseph@codesourcery.com>
17630
17631 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17632 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17633 * math/auto-libm-test-out: Regenerated.
17634 * math/libm-test.inc (acosh_test_data): Add more tests.
17635 (atanh_test_data): Likewise.
17636 (ceil_test_data): Likewise.
17637 (copysign_test_data): Likewise.
17638 * sysdeps/i386/fpu/libm-test-ulps: Update.
17639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17640
17641 * timezone/checktab.awk: Update from tzcode 2013i.
17642 * timezone/private.h: Likewise.
17643 * timezone/scheck.c: Likewise.
17644 * timezone/tzfile.h: Likewise.
17645 * timezone/tzselect.ksh: Likewise.
17646 * timezone/zdump.c: Likewise.
17647 * timezone/zic.c: Likewise.
17648
17649 * math/auto-libm-test-in: Add tests of cpow.
17650 * math/auto-libm-test-out: Regenerated.
17651 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17652 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17653 mpc_cc_c.
17654 (func_calc_desc): Add mpc_cc_c union field.
17655 (test_functions): Add cpow.
17656 (special_fill_2pi): New function.
17657 (special_real_inputs): Add 2pi.
17658 (calc_generic_results): Handle mpc_cc_c.
17659 * sysdeps/i386/fpu/libm-test-ulps: Update.
17660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17661
17662 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17663 csqrt, ctan and ctanh.
17664 * math/auto-libm-test-out: Regenerated.
17665 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17666 (TEST_COND_x86): Likewise.
17667 (ccos_test_data): Use AUTO_TESTS_c_c.
17668 (ccosh_test_data): Likewise.
17669 (cexp_test_data): Likewise.
17670 (clog_test_data): Likewise.
17671 (csqrt_test_data): Likewise.
17672 (ctan_test_data): Likewise.
17673 (ctan_tonearest_test_data): Likewise.
17674 (ctan_towardzero_test_data): Likewise.
17675 (ctan_downward_test_data): Likewise.
17676 (ctan_upward_test_data): Likewise.
17677 (ctanh_test_data): Likewise.
17678 (ctanh_tonearest_test_data): Likewise.
17679 (ctanh_towardzero_test_data): Likewise.
17680 (ctanh_downward_test_data): Likewise.
17681 (ctanh_upward_test_data): Likewise.
17682 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17683 mpc_c_c.
17684 (func_calc_desc): Add mpc_c_c union field.
17685 (FUNC_mpc_c_c): New macro.
17686 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17687 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17688 ctanh.
17689 (special_fill_min_subnorm_p120): New function.
17690 (special_real_inputs): Add min_subnorm_p120.
17691 (calc_generic_results): Handle mpc_c_c.
17692 * sysdeps/i386/fpu/libm-test-ulps: Update.
17693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17694
17695 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17696
17697 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17698 (do_sin_slow): New functions.
17699 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17700 (cslow2, csloww1, csloww2): Use the new functions.
17701
17702 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17703 Use M to change sign of result instead of X. Assume X is
17704 positive.
17705 (csloww1): Likewise.
17706 (__sin): Adjust.
17707 (__cos): Adjust.
17708
17709 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17710 arguments A and DA.
17711 (__sin): Adjust.
17712 (__cos): Likewise.
17713
17714 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17715 (__cos): Likewise.
17716 (sloww1): Don't adjust sign of DX.
17717 (csloww1): Likewise.
17718 (sloww2): Use X directly and don't adjust sign of DX.
17719 (csloww2): Likewise.
17720
17721 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17722
17723 * math/auto-libm-test-in: Add tests of cabs and carg.
17724 * math/auto-libm-test-out: Regenerated.
17725 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17726 (carg_test_data): Likewise.
17727 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17728 mpc_c_f.
17729 (func_calc_desc): Add mpc_c_f union field.
17730 (test_functions): Add cabs and carg.
17731 (calc_generic_results): Handle mpc_c_f.
17732
17733 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17734 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17735 as a macro and a compat symbol.
17736 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17737 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17738 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17739 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17740 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17741 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17742 not use .hidden.
17743 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17744 Likewise.
17745 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17746 Likewise.
17747 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17748 Likewise.
17749 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17750 Likewise.
17751 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17752 Likewise.
17753 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17754 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17755 from GLIBC_2.3.2.
17756
17757 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17758
17759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17760
17761 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17762
17763 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17764 trailing whitespace removed.
17765 * scripts/config.guess: Update to version 2013-11-29.
17766 * scripts/config.sub: Update to version 2013-10-01.
17767
17768 * math/auto-libm-test-in: Add tests of sincos.
17769 * math/auto-libm-test-out: Regenerated.
17770 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17771 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17772 mpfr_f_11.
17773 (func_calc_desc): Add mpfr_f_11 union field.
17774 (test_functions): Add sincos.
17775 (calc_generic_results): Handle mpfr_f_11.
17776 * sysdeps/i386/fpu/libm-test-ulps: Update.
17777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17778
17779 2013-12-19 Andreas Schwab <schwab@suse.de>
17780
17781 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17782 CALL_MCOUNT.
17783 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17784 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17785 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17786
17787 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17788
17789 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17790 * sysdeps/i386/fpu/libm-test-ulps: Update.
17791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17792
17793 [BZ #16293]
17794 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17795 round-to-nearest mode when using frndint.
17796 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17797 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17798 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17799 Likewise.
17800 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17801 sinh test to fail.
17802 * math/auto-libm-test-out: Regenerated.
17803 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17804 (TEST_COND_x86): Likewise.
17805 (expm1_tonearest_test_data): New array.
17806 (expm1_test_tonearest): New function.
17807 (expm1_towardzero_test_data): New array.
17808 (expm1_test_towardzero): New function.
17809 (expm1_downward_test_data): New array.
17810 (expm1_test_downward): New function.
17811 (expm1_upward_test_data): New array.
17812 (expm1_test_upward): New function.
17813 (main): Run the new test functions.
17814 * sysdeps/i386/fpu/libm-test-ulps: Update.
17815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17816
17817 * include/features.h: Update comment documenting feature test
17818 macros. Mention _DEFAULT_SOURCE in comment.
17819 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17820 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17821 _BSD_SOURCE and _SVID_SOURCE.
17822 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17823 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17824 !_SVID_SOURCE]: Likewise.
17825 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17826 (__USE_POSIX_IMPLICITLY): Define.
17827 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17828 (_POSIX_SOURCE): Undefine and redefine.
17829 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17830 (_POSIX_C_SOURCE): Likewise.
17831 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17832 (Feature Test Macros): Update documentation of default features.
17833
17834 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17835
17836 * benchtests/Makefile: Add bench-strtok.
17837 * benchtests/bench-strtok.c: New file: strtok benchtest.
17838
17839 2013-12-19 Allan McRae <allan@archlinux.org>
17840
17841 * manual/install.texi: Suppress menu for plain text output.
17842 * INSTALL: Regenerated.
17843
17844 2013-12-18 Brooks Moses <bmoses@google.com>
17845
17846 [BZ #15846]
17847 * misc/getauxval.c: Include errno.h.
17848 (__getauxval): Set errno to ENOENT if the requested type is not
17849 found.
17850 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17851 don't declare with __attribute_const__.
17852 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17853 * manual/startup.texi: Document that getauxval sets errno.
17854
17855 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17856
17857 * math/auto-libm-test-in: Add tests of jn and yn.
17858 * math/auto-libm-test-out: Regenerated.
17859 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17860 (yn_test_data): Likewise.
17861 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17862 mpfr_if_f.
17863 (func_calc_desc): Add mpfr_if_f union field.
17864 (FUNC_mpfr_if_f): New macro.
17865 (test_functions): Add jn and yn.
17866 (calc_generic_results): Assert type of second input for
17867 mpfr_ff_f. Handle mpfr_if_f.
17868 (output_for_one_input_case): Disable all checking for arguments
17869 fitting floating-point types in case of an integer argument.
17870 * sysdeps/i386/fpu/libm-test-ulps: Update.
17871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17872
17873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17874 Don't expect fegetround reference in libm.so.
17875
17876 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17877
17878 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17879 $(config-cflags-nofma).
17880
17881 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17882
17883 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17884 * math/auto-libm-test-out: Regenerated.
17885
17886 [BZ #16338]
17887 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17888 to determine exponent and adjust argument to have exponent of -1.
17889 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17890 log2.
17891 * math/auto-libm-test-out: Regenerated.
17892 * sysdeps/i386/fpu/libm-test-ulps: Update.
17893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17894
17895 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
17896
17897 * manual/probes.texi: Remove cases when per-thread arenas are
17898 disabled.
17899
17900 2013-12-18 Andreas Schwab <schwab@suse.de>
17901
17902 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17903 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17904 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17905 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17906 * sysdeps/i386/i686/multiarch/Makefile: Update.
17907 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17908
17909 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17910
17911 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17912 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17913
17914 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
17915
17916 [BZ #15968]
17917 Support TZ transition times < 00:00:00.
17918 This is needed for version-3 tz-format files; it supports time
17919 stamps past 2037 for America/Godthab (the only entry in the tz
17920 database for which this change is relevant).
17921 * manual/time.texi (TZ Variable): Document transition times
17922 from -167:59:59 through -00:00:01.
17923 * time/tzset.c (tz_rule): Time of day is now signed.
17924 (__tzset_parse_tz): Parse negative time of day.
17925
17926 Document TZ transition times >= 25:00:00.
17927 * manual/time.texi (TZ Variable): Document transition times from
17928 25:00:00 through 167:59:59. These are already supported, and this
17929 support will help with version-3 tz-format files.
17930
17931 * manual/time.texi (TZ Variable): Modernize North America example
17932 to reflect current (i.e., 2007-and-later) daylight saving rules.
17933
17934 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17935
17936 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17937
17938 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17939 * sysdeps/unix/bsd/bits/stat.h: Likewise.
17940 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17941 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17942 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17943 * sysdeps/unix/bsd/bsdstat.h: Likewise.
17944 * sysdeps/unix/bsd/clock.c: Likewise.
17945 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17946 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17947 * sysdeps/unix/bsd/init-posix.c: Likewise.
17948 * sysdeps/unix/bsd/poll.c: Likewise.
17949 * sysdeps/unix/bsd/ptsname.c: Likewise.
17950 * sysdeps/unix/bsd/seekdir.c: Likewise.
17951 * sysdeps/unix/bsd/setegid.c: Likewise.
17952 * sysdeps/unix/bsd/seteuid.c: Likewise.
17953 * sysdeps/unix/bsd/setgid.c: Likewise.
17954 * sysdeps/unix/bsd/setrgid.c: Likewise.
17955 * sysdeps/unix/bsd/setruid.c: Likewise.
17956 * sysdeps/unix/bsd/setsid.c: Likewise.
17957 * sysdeps/unix/bsd/setuid.c: Likewise.
17958 * sysdeps/unix/bsd/sigaction.c: Likewise.
17959 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17960 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17961 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17962 * sysdeps/unix/bsd/telldir.c: Likewise.
17963 * sysdeps/unix/bsd/times.c: Likewise.
17964 * sysdeps/unix/bsd/usleep.c: Likewise.
17965
17966 * misc/Makefile (install-lib): Remove libbsd-compat.a.
17967 ($(objpfx)libbsd-compat.a): Remove rule.
17968
17969 * include/features.h (__FAVOR_BSD): Do not define.
17970 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17971 features conflicting with POSIX.
17972 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17973 (_BSD_SOURCE): Remove description of not being a subset of other
17974 feature test macros.
17975 * manual/job.texi (getpgrp): Do not document BSD version.
17976 (getpgid): Do not document by reference to BSD getpgrp.
17977 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17978 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17979 * signal/signal.h [__FAVOR_BSD]: Likewise.
17980 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17981 instead of making contents conditional on [__FAVOR_BSD].
17982 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17983
17984 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17985
17986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17987
17988 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17989
17990 [BZ #16314]
17991 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17992 values below 2**-450, not 2**-500.
17993 * math/auto-libm-test-in: Don't allow spurious underflow from
17994 hypot.
17995 * math/auto-libm-test-out: Regenerated.
17996
17997 [BZ #16316]
17998 [BZ #16330]
17999 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18000 values of ha and hb and sort them after adjusting subnormal
18001 arguments.
18002 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18003 Likewise.
18004 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18005 values of ea and eb and sort them after adjusting subnormal
18006 arguments.
18007 * math/auto-libm-test-in: Do not expect some hypot tests of
18008 subnormals to fail. Add more hypot tests.
18009 * math/auto-libm-test-out: Regenerated.
18010
18011 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18012
18013 [BZ #13304]
18014 * sysdeps/sh/s_fma.c: New file.
18015 * sysdeps/sh/s_fmaf.c: New file.
18016 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18017 version.
18018 * sysdeps/sh/Implies: Add sh/soft-fp.
18019
18020 2013-12-16 Roland McGrath <roland@hack.frob.com>
18021
18022 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18023 level of indirection to members `objname', `errstring', `malloced'.
18024 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18025 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18026 it as the __longjmp argument (just pass 1 instead).
18027 (_dl_catch_error): Initialize C with argument pointers and address of
18028 volatile local ERRCODE rather than copying values out of C at return.
18029
18030 2013-12-16 Joseph Myers <joseph@codesourcery.com>
18031
18032 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18033 * math/auto-libm-test-out: Regenerated.
18034 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18035 (hypot_test_data): Likewise.
18036 (pow_test_data): Likewise.
18037 (pow_tonearest_test_data): Likewise.
18038 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18039 mpfr_ff_f.
18040 (func_calc_desc): Add mpfr_ff_f union field.
18041 (FUNC_mpfr_ff_f): New macro.
18042 (test_functions): Add atan2, hypot and pow.
18043 (special_fill_min): New function.
18044 (special_fill_minus_min): Likewise.
18045 (special_fill_min_subnorm): Likewise.
18046 (special_fill_minus_min_subnorm): Likewise.
18047 (special_real_inputs): Add min, -min, min_subnorm and
18048 -min_subnorm.
18049 (calc_generic_results): Handle mpfr_ff_f.
18050 * sysdeps/i386/fpu/libm-test-ulps: Update.
18051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18052
18053 2013-12-16 Will Newton <will.newton@linaro.org>
18054
18055 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18056 (Aligned Memory Blocks): Add documentation for aligned_alloc
18057 and suggest it as an alternative to posix_memalign.
18058 (Hooks for Malloc): Document __memalign_hook is also called
18059 for aligned_alloc. (Summary of Malloc): Add summary for
18060 aligned alloc. Document __memalign_hook is also called
18061 for aligned_alloc.
18062
18063 2013-12-16 Will Newton <will.newton@linaro.org>
18064
18065 * manual/memory.texi (Malloc Examples): Clarify default
18066 alignment documentation. Suggest posix_memalign rather
18067 than memalign or valloc.
18068 (Aligned Memory Blocks): Remove suggestion to use memalign
18069 or valloc. Remove obsolete comment about BSD.
18070 Document memalign errno values and mark the function obsolete.
18071 Document posix_memalign returned error codes. Mark valloc
18072 as obsolete. (Hooks for Malloc): __memalign_hook is also
18073 called for posix_memalign and valloc.
18074 (Summary of Malloc): Add posix_memalign to function summary.
18075 __memalign_hook is also called for posix_memalign and valloc.
18076
18077 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18078
18079 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18080 TAYLOR_SIN.
18081 (__sin): Adjust.
18082 (__cos): Likewise.
18083 (sloww): Use mynumber union. Expand ternary operator into
18084 if-else statements.
18085 (cslow): use mynumber union.
18086
18087 2013-12-16 Allan McRae <allan@archlinux.org>
18088
18089 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18090 * configure: Regenerated.
18091
18092 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18093
18094 [BZ #14120]
18095 * configure.ac: Added --enable-maintainer-mode. Check for
18096 autoconf when enabled.
18097 * configure: Regenerated.
18098
18099 * nscd/nscd.service: New file.
18100 * nscd/nscd.tmpfiles: New file.
18101
18102 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
18103
18104 [BZ #12100]
18105 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18106 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18107 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18108 (strstr): Add __strstr_sse2_unaligned ifunc.
18109 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18110 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18111 (strcasestr): Remove __strcasestr_sse42 ifunc.
18112 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18113 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18115
18116 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18117
18118 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18119 * sysdeps/sh/bits/fenv.h: ... here.
18120 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18121
18122 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18123
18124 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18125
18126 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18127 hypotf multiarch implementations.
18128 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18129 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18130 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18131 multiarch hypot for PPC64.
18132 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18133 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18134 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18135 multiarch hypotf for PPC64.
18136
18137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18138 modff multiarch implementations.
18139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18142 multiarch modf for PPC64.
18143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18146 multiarch modff for PPC64.
18147
18148 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18149 and logl multiarch implementations.
18150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18153 multiarch logb for PPC64.
18154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18157 multiarch logb for PPC64.
18158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18161 multiarch logb for PPC64.
18162
18163 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18164 isinff multiarch implementation.
18165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18166 file.
18167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18169 multiarch isinf for PPC64.
18170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18171 file.
18172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18173 multiarch isinff for PPC64.
18174
18175 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18176 finitef multiarch implementation.
18177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18178 file.
18179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18181 multiarch finite for PPC64.
18182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18183 file.
18184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18185 multiarch finitef for PPC64.
18186
18187 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18188 lrint multiarch implementation.
18189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18190 file.
18191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18193 multiarch llrint for PPC64.
18194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18195 multiarch lrint for PPC64.
18196
18197 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18198 copysignf multiarch implementation.
18199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18200 file.
18201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18202 file.
18203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18204 multiarch copysign for PPC64.
18205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18206 multiarch copysignf for PPC64.
18207
18208 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18209 multiarch implementation.
18210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18211 file.
18212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18213 file.
18214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18215 file.
18216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18217 file.
18218 multiarch llround for PPC64.
18219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18220 multiarch trunc for PPC64.
18221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18222 multiarch truncf for PPC64.
18223
18224 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18225 multiarch implementation.
18226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18227 file.
18228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18229 file.
18230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18231 file.
18232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18233 file.
18234 multiarch llround for PPC64.
18235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18236 multiarch round for PPC64.
18237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18238 multiarch roundf for PPC64.
18239
18240 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18241 multiarch implementation.
18242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18243 file.
18244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18245 file.
18246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18247 file.
18248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18249 file.
18250 multiarch llround for PPC64.
18251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18252 multiarch floor for PPC64.
18253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18254 multiarch floorf for PPC64.
18255
18256 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18257 multiarch implementation.
18258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18259 file.
18260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18261 file.
18262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18263 file.
18264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18265 file.
18266 multiarch llround for PPC64.
18267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18268 multiarch ceil for PPC64.
18269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18270 multiarch ceilf for PPC64.
18271
18272 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18273 multiarch implementation.
18274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18275 file.
18276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18277 file.
18278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18279 file.
18280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18281 multiarch llround for PPC64.
18282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18283 multiarch lround for PPC64.
18284
18285 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18286 multiarch implementation.
18287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18290 file.
18291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18294 multiarch isnan for PPC64.
18295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18296 multiarch isnanf for PPC64.
18297
18298 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18299 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18300 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18301 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18302 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18304
18305 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18306 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18307 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18308 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18309
18310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18311 multiarch implementations.
18312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18313 (__libc_ifunc_impl_list): Likewise.
18314 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18315 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18316 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18317 multiarch stpcpy for PPC64.
18318
18319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18320 multiarch implementations.
18321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18322 (__libc_ifunc_impl_list): Likewise.
18323 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18324 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18325 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18326 multiarch strcpy for PPC64.
18327
18328 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18329 redefine function name.
18330 (_wordcopy_fwd_dest_aligned): Likewise.
18331 (_wordcopy_bwd_aligned): Likewise.
18332 (_wordcopy_bwd_dest_aligned): Likewise.
18333 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18334 multiarch implementations.
18335 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18336 (__libc_ifunc_impl_list): Likewise.
18337 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18338 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18339 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18340 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18341 multiarch wcscpy for PPC64.
18342
18343 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18344 multiarch implementations.
18345 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18346 (__libc_ifunc_impl_list): Likewise.
18347 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18348 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18349 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18350 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18351 multiarch wcscpy for PPC64.
18352
18353 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18354 multiarch implementations.
18355 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18356 (__libc_ifunc_impl_list): Likewise.
18357 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18358 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18359 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18360 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18361 multiarch wcsrchr for PPC64.
18362
18363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18364 multiarch implementations.
18365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18366 (__libc_ifunc_impl_list): Likewise.
18367 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18368 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18369 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18370 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18371 multiarch wcschr for PPC64.
18372
18373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18374 multiarch implementations.
18375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18376 (__libc_ifunc_impl_list): Likewise.
18377 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18378 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18379 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18380 multiarch strchrnul for PPC64.
18381
18382 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18383 implementations.
18384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18385 (__libc_ifunc_impl_list): Likewise.
18386 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18387 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18388 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18389 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18390 strchr for PPC64.
18391
18392 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18393 implementations.
18394 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18395 (__libc_ifunc_impl_list): Likewise.
18396 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18397 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18398 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18399 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18400 strncmp for PPC64.
18401
18402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18403 multiarch implementations.
18404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18405 (__libc_ifunc_impl_list): Likewise.
18406 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18407 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18408 strncasecmp for PPC64.
18409 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18410 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18411 multiarch strncasecmp_l for PPC64.
18412
18413 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18414 multiarch implementations.
18415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18416 (__libc_ifunc_impl_list): Likewise.
18417 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18418 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18419 multiarch strcasecmp for PPC64.
18420 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18421 file.
18422 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18423 multiarch strcasecmp_l for PPC64.
18424
18425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18426 implementations.
18427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18428 (__libc_ifunc_impl_list): Likewise.
18429 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18430 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18431 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18432 strnlen for PPC64.
18433
18434 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18435 implementations.
18436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18437 (__libc_ifunc_impl_list): Likewise.
18438 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18439 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18440 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18441 strlen for PPC64.
18442
18443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18444 implementations.
18445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18446 (__libc_ifunc_impl_list): Likewise.
18447 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18448 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18449 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18450 rawmemrchr for PPC64.
18451
18452 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18453 implementation.
18454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18455 (__libc_ifunc_impl_list): Likewise.
18456 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18457 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18458 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18459 memrchr for PPC64.
18460
18461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18462 implementation.
18463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18464 (__libc_ifunc_impl_list): Likewise.
18465 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18466 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18467 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18468 memchr for PPC64.
18469
18470 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18471 implementation.
18472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18473 (__libc_ifunc_impl_list): Likewise.
18474 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18475 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18476 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18477 mempcpy for PPC64.
18478
18479 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18480 avoid cretion of __bzero symbol.
18481 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18482 Likewise.
18483 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18484 Likewise.
18485 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18486 Likewise.
18487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18488 multiarch implementations.
18489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18490 (__libc_ifunc_impl_list): Likewise.
18491 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18492 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18493 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18494 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18495 bzero for PPC32.
18496 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18497 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18498 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18499 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18500 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18501 memset for PPC64.
18502 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18503
18504 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18506 implementations.
18507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18508 (__libc_ifunc_impl_list): Likewise.
18509 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18510 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18511 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18512 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18513 memcmp for PPC64.
18514
18515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18516 multiarch for POWER/PPC64.
18517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18518 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18519 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18520 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18521 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18522 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18523 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18524 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18525 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18526 memcpy for PPC64.
18527
18528 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18529 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18530 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18531 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18532 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18533 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18534 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18535 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18536 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18537 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18538 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18539 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18540 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18541 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18542 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18550
18551 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18552
18553 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18554
18555 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18556
18557 * benchtests/Makefile (bench): Add exp2 and log2.
18558 (LDLIBS-bench-exp2): Add -lm.
18559 (LDLIBS-bench-log2): Likewise.
18560 * benchtests/exp2-inputs: New inputs file.
18561 * benchtests/log2-inputs: New inputs file.
18562 * benchtests/log-inputs: Add new inputs.
18563 * benchtests/tan-inputs: Likewise.
18564
18565 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18566
18567 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18568 definition...
18569 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18570 (csloww2): ... from here.
18571
18572 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18573 instead of structures.
18574 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18575 (POLYNOMIAL): Likewise.
18576 (TAYLOR_SLOW): Likewise.
18577 (__sin): Likewise.
18578 (__cos): Likewise.
18579 (slow1): Likewise.
18580 (slow2): Likewise.
18581 (sloww): Likewise.
18582 (sloww1); Likewise.
18583 (sloww2): Likewise.
18584 (bsloww1): Likewise.
18585 (bsloww2): Likewise.
18586 (cslow2): Likewise.
18587 (csloww): Likewise.
18588 (csloww1): Likewise.
18589 (csloww2): Likewise.
18590
18591 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
18592
18593 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18594 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18595 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18596 * malloc/hooks.c (realloc_check): Likewise.
18597
18598 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18599 * malloc/arena.c: Remove PER_THREAD conditional.
18600 [!PER_THREAD]: Remove code.
18601 (ptmalloc_unlock_all2): Likewise.
18602 (ptmalloc_init): Likewise.
18603 (_int_new_arena): Likewise.
18604 (arena_get2): Likewise.
18605 * malloc/hooks.c (__malloc_get_state): Likewise.
18606 (__malloc_set_state): Likewise.
18607 * malloc/malloc.c: Likewise.
18608 (struct malloc_state): Likewise.
18609 (struct malloc_par): Likewise.
18610 (__libc_realloc): Likewise.
18611 (__libc_mallopt): Likewise.
18612
18613 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18614
18615 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18616
18617 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
18618
18619 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18620 macro to a function. Check for zero perturb_byte.
18621 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18622
18623 * malloc/malloc.c: (force_reg): Remove.
18624 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18625 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18626 force_reg by atomic_forced_read.
18627 * malloc/arena.c (ptmalloc_init): Likewise.
18628 * malloc/hooks.c (top_check): Likewise.
18629
18630 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18631
18632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18633
18634 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18635
18636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18637
18638 2013-12-08 Joseph Myers <joseph@codesourcery.com>
18639
18640 * math/auto-libm-test-in: Add tests of lgamma.
18641 * math/auto-libm-test-out: Regenerated.
18642 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18643 (M_LOG_2_SQRT_PIl): Likewise.
18644 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18645 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18646 mpfr_f_f1.
18647 (func_calc_desc): Add mpfr_f_f1 union field.
18648 (ARGS1): New macro.
18649 (ARGS2): Likewise.
18650 (ARGS3): Likewise.
18651 (ARGS4): Likewise.
18652 (RET1): Likewise.
18653 (RET2): Likewise.
18654 (CALC): Likewise.
18655 (FUNC): Likewise.
18656 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18657 (test_functions): Add lgamma.
18658 (calc_generic_results): Handle mpfr_f_f1.
18659 * sysdeps/i386/fpu/libm-test-ulps: Update.
18660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18661
18662 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18663
18664 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18665 __mpn_add_n for PowerPC64/POWER7.
18666 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18667 __mpn_sub_n for PowerPC64/POWER7.
18668
18669 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18670 __mpn_addmul_1 for PowerPC64.
18671 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18672 __mpn_submul_1 for PowerPC64.
18673 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18674 for PowerPC64.
18675 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18676 for PowerPC64.
18677
18678 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18679
18680 [BZ #15089]
18681 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18682
18683 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18684
18685 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18686
18687 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18688 add multiarch folders.
18689 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18690 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18691 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18692 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18693 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18694 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18695 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18696 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18697 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18698 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18699 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18706
18707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18708 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18710 New file.
18711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18712 New file.
18713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18714 multiarch __ieee754_hypot for PowerPC32.
18715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18716 New file.
18717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18718 New file.
18719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18720 multiarch __ieee754_hypotf for PowerPC32.
18721
18722 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18723 long_double_symbol only if __logbl is defined.
18724 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18725 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18726 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18727 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18728 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18729 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18730 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18731 path for implementation.
18732 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18733 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18735 logb, and logbl multiarch implementations for PowerPC32.
18736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18737 file.
18738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18739 file.
18740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18741 multiarch logb for PowerPC32.
18742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18743 file.
18744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18745 file.
18746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18747 multiarch logbf for PowerPC32.
18748 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18750 file.
18751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18752 multiarch logbl implementation for PowerPC32.
18753
18754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18755 and modff multiarch implementations.
18756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18757 New file.
18758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18759 New file.
18760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18761 multiarch modf for PowerPC32.
18762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18763 New file.
18764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18765 New file.
18766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18767 multiarch modff for PowerPC32.
18768
18769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18770 and lrintf multiarch implementations.
18771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18772 New file.
18773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18774 New file.
18775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18776 multiarch lrint for PowerPC32.
18777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18778 file: multiarch lrintf for PowerPC32.
18779
18780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18781 and lroundf multiarch implementations.
18782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18783 New file.
18784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18785 New file.
18786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18787 New file.
18788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18789 multiarch lround for PowerPC32.
18790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18791 file: multiarch lroundf for PowerPC32.
18792
18793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18794 copysign and copysignf multiarch implementations.
18795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18796 New file.
18797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18798 New file.
18799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18800 file: multiarch copysign for PowerPC32.
18801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18802 file: multiarch copysignf for PowerPC32.
18803
18804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18805 and truncf multiarch implementations.
18806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18807 New file.
18808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18809 file.
18810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18811 multiarch trunc for PowerPC32.
18812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18813 New file.
18814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18815 New file.
18816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18817 multiarch truncf for PowerPC32.
18818
18819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18820 and roundf multiarch implementations.
18821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18822 New file.
18823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18824 file.
18825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18826 multiarch round for PowerPC32.
18827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18828 New file.
18829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18830 New file.
18831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18832 multiarch roundf for PowerPC32.
18833
18834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18835 and floorf multiarch implementations.
18836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18837 New file.
18838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18839 file.
18840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18841 multiarch floor for PowerPC32.
18842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18843 New file.
18844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18845 New file.
18846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18847 multiarch floorf for PowerPC32.
18848
18849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18850 and ceilf multiarch implementations.
18851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18852 New file.
18853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18854 file.
18855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18856 multiarch ceil for PowerPC32.
18857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18858 New file.
18859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18860 file.
18861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18862 multiarch ceilf for PowerPC32.
18863
18864 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18865 is defined.
18866 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18867 FINITEF is defined.
18868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18869 and finitef multiarch implementations.
18870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18871 New file.
18872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18873 file.
18874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18875 multiarch finite for PowerPC32.
18876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18877 New file.
18878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18879 file: multiarch finitef for PowerPC32.
18880
18881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18882 and isinff multiarch implementations.
18883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18884 file.
18885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18886 file.
18887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18888 multiarch isinf for PowerPC32.
18889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18890 New file.
18891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18892 multiarch isinff for PowerPC32.
18893
18894 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18895 alias when __isnan is defined.
18896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18897 and isnanf multiarch implementations.
18898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18899 file.
18900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18901 file.
18902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18903 file.
18904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18905 file.
18906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18907 multiarch isnan for PowerPC32.
18908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18909 New file.
18910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18911 New file.
18912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18913 multiarch isnanf for PowerPC32.
18914
18915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18916 and sqrtf multiarch implementations.
18917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18918 file.
18919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18920 file.
18921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18922 multiarch sqrt for PowerPC32.
18923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18924 file.
18925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18926 file.
18927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18928 multiarch sqrtf for PowerPC32.
18929
18930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18931 and llroundf multiarch implementations.
18932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18933 New file.
18934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18935 New file.
18936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18937 New file.
18938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18939 file: multiarch llround for PowerPC32.
18940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18941 file: multiarch llroundf for PowerPC32.
18942
18943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18944 multiarch PowerPC32 fpu implementations.
18945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18946 New file.
18947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18948 New file.
18949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18950 multiarch llrint for PowerPC32.
18951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18952 New file.
18953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18954 New file.
18955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18956 file.
18957
18958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18959
18960 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18961 file.
18962 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18963 file.
18964 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18965 file.
18966 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18967 multiarch wordcopy for PPC32.
18968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18969 wordcopy objects.
18970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18971 (__libc_ifunc_impl_list): Likewise.
18972 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18973 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18974 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18975 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18976 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18977 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18978
18979 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18980 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18981 file.
18982 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18983 file.
18984 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18985 file.
18986 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18987 multiarch wcscpy for PPC32.
18988 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18989 multiarch objects.
18990 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18991 (__libc_ifunc_impl_list): Likewise.
18992 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18993 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18994 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18995 sysdeps/powerpc/power6/wcscpy.c.
18996
18997 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18998 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18999 file.
19000 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19001 file.
19002 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19003 file.
19004 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19005 multiarch wcsrchr for PPC32.
19006 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19007 multiarch objects.
19008 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19009 (__libc_ifunc_impl_list): Likewise.
19010 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19011 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19012 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19013 sysdeps/powerpc/power6/wcsrchr.c.
19014
19015 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19016 file.
19017 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19018 file.
19019 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19020 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19021 multiarch wcschr for PPc32.
19022 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19023 multiarch objects.
19024 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19025 (__libc_ifunc_impl_list): Likewise.
19026 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19027 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19028 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19029 sysdeps/powerpc/power6/wcschr.c.
19030
19031 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19032 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19033 file.
19034 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19035 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19036 file: multiarch strchr for PPC32.
19037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19038 multiarch objects.
19039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19040 (__libc_ifunc_impl_list): Likewise.
19041
19042 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19043 name.
19044 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19045 file.
19046 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19047 file.
19048 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19049 multiarch strchrnul for PPC32.
19050 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19051 multiarch objects.
19052 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19053 (__libc_ifunc_impl_list): Likewise.
19054
19055 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19056 file.
19057 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19058 multiarch strncasecmp for PPC32.
19059 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19060 file.
19061 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19062 multiarch strncasecmp_l for PPC32.
19063 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19064 strncasecmp multiarch objects.
19065 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19066 (__libc_ifunc_impl_list): Likewise.
19067
19068 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19069 file.
19070 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19071 multiarch strncasecmp for PPC32.
19072 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19073 New file.
19074 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19075 multiarch strcasecmp_l for PPC32.
19076 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19077 multiarch objects.
19078 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19079 (__libc_ifunc_impl_list): Likewise.
19080
19081 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19082 file.
19083 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19084 file.
19085 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19086 multiarch strncmp for PPC32.
19087 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19088 multiarch objects.
19089 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19090 (__libc_ifunc_impl_list): Likewise.
19091
19092 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19093 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19094 file.
19095 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19096 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19097 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19098 multiarch objects.
19099 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19100 (__libc_ifunc_impl_list): Likewise.
19101
19102 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19103 file.
19104 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19105 file.
19106 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19107 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19108 multiarch objects.
19109 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19110 (__libc_ifunc_impl_list): Likewise.
19111
19112 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19113 file.
19114 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19115 file.
19116 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19117 multiarch rawmemchr for PPC32.
19118 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19119 multiarch objects.
19120 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19121 (__libc_ifunc_impl_list): Likewise.
19122
19123 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19124 file.
19125 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19126 file.
19127 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19128 file: memrchr multiarch for PPC32.
19129 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19130 multiarch objects.
19131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19132 (__libc_ifunc_impl_list): Likewise.
19133
19134 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19135 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19136 file.
19137 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19138 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19139 multiarch memchr for PPC32.
19140 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19141 multiarch objects.
19142 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19143 (__libc_ifunc_impl_list): Likewise.
19144
19145 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19146 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19147 file.
19148 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19149 file.
19150 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19151 file: multiarch mempcpy for PPC32.
19152 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19153 multiarch objects.
19154 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19155 (__libc_ifunc_impl_list): Likewise.
19156
19157 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19158 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19159 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19160 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19161 multiarch bzero for PPC32.
19162 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19163 file.
19164 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19165 file.
19166 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19167 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19168 file: multiarch memset for PPC32.
19169 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19170 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19171 memset multiarch objects.
19172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19173 (__libc_ifunc_impl_list): Likewise.
19174
19175 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19176 file.
19177 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19178 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19179 memcmp for PPC32.
19180 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19181 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19182 multiarch objects.
19183 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19184 (__libc_ifunc_impl_list): Likewise.
19185
19186 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19187 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19188 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19189 file.
19190 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19191 file.
19192 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19193 file.
19194 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19195 multiarch memcpy for PPC32.
19196 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19197 multiarch objects.
19198 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19199 (__libc_ifunc_impl_list): Likewise.
19200
19201 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19202 support multiarch for POWER/PPC32.
19203 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19204 Likewise.
19205 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19207 Implies file to make multiarch folder appers before the fpu and
19208 default folder for power4 configuration.
19209
19210 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19211
19212 * scripts/bench.pl: Append volatile keyword to type.
19213
19214 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19215
19216 * sysdeps/sh/sotruss-lib.c: New file.
19217 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19218
19219 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19220
19221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19222
19223 2013-12-05 Joseph Myers <joseph@codesourcery.com>
19224
19225 [BZ #6810]
19226 * math/w_tgamma.c: Include <errno.h>.
19227 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19228 * math/w_tgammaf.c: Include <errno.h>.
19229 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19230 * math/w_tgammal.c: Include <errno.h>.
19231 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19232 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19233 underflow. Add more tgamma tests.
19234 * math/auto-libm-test-out: Regenerated.
19235 * sysdeps/i386/fpu/libm-test-ulps: Update.
19236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19237
19238 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19239 sin, sinh, tan, tanh, tgamma, y0 and y1.
19240 * math/auto-libm-test-out: Regenerated.
19241 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19242 (TEST_COND_x86): Likewise.
19243 (M_E2l): Remove macro.
19244 (M_E3l): Likewise.
19245 (M_2_SQRT_PIl): Likewise.
19246 (M_SQRT_PIl): Likewise.
19247 (M_1_DIV_El): Likewise.
19248 (log_test_data): Use AUTO_TESTS_f_f.
19249 (log10_test_data): Likewise.
19250 (log1p_test_data): Likewise.
19251 (log2_test_data): Likewise.
19252 (sin_test_data): Likewise.
19253 (sin_tonearest_test_data): Likewise.
19254 (sin_towardzero_test_data): Likewise.
19255 (sin_downward_test_data): Likewise.
19256 (sin_upward_test_data): Likewise.
19257 (sinh_test_data): Likewise.
19258 (sinh_tonearest_test_data): Likewise.
19259 (sinh_towardzero_test_data): Likewise.
19260 (sinh_downward_test_data): Likewise.
19261 (sinh_upward_test_data): Likewise.
19262 (tan_test_data): Likewise.
19263 (tan_tonearest_test_data): Likewise.
19264 (tan_towardzero_test_data): Likewise.
19265 (tan_downward_test_data): Likewise.
19266 (tan_upward_test_data): Likewise.
19267 (tanh_test_data): Likewise.
19268 (tgamma_test_data): Likewise.
19269 (y0_test_data): Likewise.
19270 (y1_test_data): Likewise.
19271 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19272 (special_real_inputs): Add pi/4.
19273 * sysdeps/i386/fpu/libm-test-ulps: Update.
19274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19275
19276 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19277
19278 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19279 "longjmp_target" static probes.
19280 (__longjmp): Rename to __longjmp_symbol.
19281 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19282 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19283 on which longjmp to generate.
19284 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19285 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19286 probe.
19287 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19288 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19289 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19290 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19291 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19292 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19294 __longjmp_symbol based on which __longjmp to generate.
19295 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19296 probe.
19297 (setjmp): Rename to setjmp_symbol.
19298 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19299 (_setjmp): Rename to _setjmp_symbol.
19300 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19301 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19302 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19303 which setjmp to generate.
19304 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19305 "longjmp_target" static probes.
19306
19307 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19308
19309 * benchtests/README: Add note about output arguments.
19310 * benchtests/bench-sincos.c: Remove file.
19311 * benchtests/sincos-inputs: New file.
19312 * scripts/bench.pl: Identify output arguments and define
19313 static variables for them.
19314
19315 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19316
19317 [BZ #15941]
19318 * Makefile (INSTALL): Add install-plain.texi as the primary
19319 dependency.
19320 * manual/install-plain.texi: New file.
19321 * manual/install.texi: Include node directive only for
19322 non-plaintext output.
19323
19324 2013-12-04 Joseph Myers <joseph@codesourcery.com>
19325
19326 * stdlib/longlong.h: Update from GCC.
19327
19328 [BZ #6807]
19329 [BZ #15901]
19330 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19331 * math/w_j0f.c (y0f): Likewise.
19332 * math/w_j0l.c (__y0l): Likewise.
19333 * math/w_j1.c (y1): Likewise.
19334 * math/w_j1f.c (y1f): Likewise.
19335 * math/w_j1l.c (__y1l): Likewise
19336 * math/w_jn.c (yn): Likewise.
19337 * math/w_jnf.c (ynf): Likewise.
19338 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19339 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19340 value for Bessel function domain errors outside _SVID_ mode.
19341 Adjust sign of return value for yn (negative integer, 0).
19342 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19343 by zero in return for negative x and set sign appropriately for
19344 negative n.
19345 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19346 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19347 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19348 expectations in error cases.
19349 (y1_test_data): Likewise.
19350 (yn_test_data): Likewise.
19351 * sysdeps/i386/fpu/libm-test-ulps: Update.
19352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19353
19354 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19355
19356 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19357 "64" to "64-v1". Add "64-v2".
19358 (abi-64-options): Rename to ...
19359 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19360 (abi-64-condition): Rename to ...
19361 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19362 (abi-64-ld-soname): Rename to ...
19363 (abi-64-v1-ld-soname): ... this.
19364 (abi-64-v2-options): Define.
19365 (abi-64-v2-condition): Likewise.
19366 (abi-64-v2-ld-soname): Likewise.
19367 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19368 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19372
19373 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19374 Alan Modra <amodra@gmail.com>
19375
19376 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19377 New versions for use with the ELFv2 ABI.
19378 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19379 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19380 declaration.
19381 (struct La_ppc64v2_retval): Likewise.
19382 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19383 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19384 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19385 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19386 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19387 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19388 Do not save or restore CR.
19389 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19390 (_dl_profile_resolve): Do no save or restore CR. Support extended
19391 return values for ELFv2 ABI. Fix location of FPR return registers.
19392 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19393 updated values for _CALL_ELF == 2.
19394 (La_regs, La_retval, int_retval): Likewise.
19395
19396 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19397
19398 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19399 (FRAME_MIN_SIZE_PARM): Likewise.
19400 (FRAME_BACKCHAIN): Likewise.
19401 (FRAME_CR_SAVE): Likewise.
19402 (FRAME_LR_SAVE): Likewise.
19403 (FRAME_TOC_SAVE): Likewise.
19404 (FRAME_PARM_SAVE): Likewise.
19405 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19406 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19407 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19408 (call_mcount_parm_offset): New macro.
19409 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19410 (PROF): Use symbolic stack frame offsets.
19411 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19412 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19413 Redefine in terms of FRAME_MIN_SIZE.
19414 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19415 (_dl_profile_resolve): Likewise. Update comment.
19416 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19417 symbols stack frame offsets.
19418 (__sigsetjmp): Likewise.
19419 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19420 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19421 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19422 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19423
19424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19425 (FRAME_BACKCHAIN): Remove.
19426 (FRAME_CR_SAVE): Likewise.
19427 (FRAME_LR_SAVE): Likewise.
19428 (FRAME_COMPILER_DW): Likewise.
19429 (FRAME_LINKER_DW): Likewise.
19430 (FRAME_TOC_SAVE): Likewise.
19431 (FRAME_PARM_SAVE): Likewise.
19432 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19433 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19434 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19436 (CHECK_SP): Use symbolic stack frame offsets.
19437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19438 zone" instead of caller's parameter save area for temp storage.
19439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19440 Likewise. Also, use symbolic stack frame offsets.
19441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19442 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19443 our own stack frame instead of the caller's.
19444 (__socket): Use symbolic stack frame offsets.
19445
19446 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19447 Alan Modra <amodra@gmail.com>
19448
19449 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19450 Define.
19451 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19452 (PPC64_LOCAL_ENTRY_OFFSET): Define.
19453 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19454 New function.
19455 (elf_machine_fixup_plt): Call it.
19456 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19457 reloc arguments.
19458 (elf_machine_rela): Update call to elf_machine_plt_conflict.
19459 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19460 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19461 r2 before calling target.
19462
19463 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19464 Alan Modra <amodra@gmail.com>
19465
19466 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19467 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19468 versions of macros to support ELFv2 ABI.
19469 (LOCALENTRY): New macro.
19470 (ENTRY, EALIGN): Use it.
19471 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19472 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19473 fall through into ENTRY entry point.
19474 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19475 Only define if _CALL_ELF != 2.
19476
19477 (elf_machine_matches_host): Verify ABI version matches.
19478 (RTLD_START): Use LOCALENTRY.
19479 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19480 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19481 (PLT_ENTRY_WORDS): New macro.
19482 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19483 (elf_machine_runtime_setup): Support ELFv2 ABI.
19484 (elf_machine_fixup_plt): Likewise.
19485 (elf_machine_plt_conflict): Likewise.
19486 (resolve_ifunc): Likewise.
19487 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19488 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19489 Likewise.
19490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19491 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19493 (makecontext): Support ELFv2 ABI.
19494 * elf/elf.h (EF_PPC64_ABI): Define.
19495
19496 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19497
19498 * sysdeps/powerpc/powerpc64/sysdep.h
19499 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19500 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19501 (ENTRY) [ASSEMBLER]: ... but instead here ...
19502 (EALIGN) [ASSEMBLER]: ... and here.
19503 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19504 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19505 (ENTRY_2) [!ASSEMBLER]: Use it.
19506 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19507 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
19508 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19509 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19510 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19512 Use PPC64_LOAD_FUNCPTR.
19513
19514 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19515
19516 2013-12-04 Alan Modra <amodra@gmail.com>
19517
19518 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19519 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19520 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19521 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19522
19523 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19524 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19525 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19526 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19527 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19528 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19529
19530 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19531
19532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19533 (__makecontext): Fix incorrect CFI when backtracing out of
19534 context created via makecontext.
19535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19536 (__setcontext): Fix incorrect CFI during switch to new context.
19537 (__novec_setcontext): Likewise.
19538
19539 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19540
19541 [BZ #4772]
19542 * time/strptime_l.c (__strptime_internal): Allow modifiers
19543 in strptime.
19544 * time/tst-strptime.c (day_tests): Add testcase.
19545
19546 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19547
19548 * scripts/bench.pl: Skip over blank lines.
19549
19550 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19551
19552 [BZ #926]
19553 * manual/time.texi (Calendar Time): Clarify what timezone functions
19554 use.
19555
19556 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19557
19558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19559
19560 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19561
19562 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19563 implementation.
19564 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19565 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19566 * debug/memset_chk.c (__memset_chk): Likewise.
19567 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19568 * debug/strncpy_chk.c: Likewise.
19569
19570 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19571
19572 [BZ #15268]
19573 [BZ #15425]
19574 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19575 (__ieee754_exp): For possibly underflowing results, check size of
19576 result and force underflow exception if required.
19577 * math/auto-libm-test-in: Add more tests of exp.
19578 * math/auto-libm-test-out: Regenerated.
19579 * sysdeps/i386/fpu/libm-test-ulps: Update.
19580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19581
19582 [BZ #16283]
19583 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19584 * math/w_exp2f.c (__exp2f): Likewise.
19585 * math/w_exp2l.c (__exp2l): Likewise.
19586 * math/auto-libm-test-in: Do not allow missing errno on exp2
19587 underflow.
19588 * math/auto-libm-test-out: Regenerated.
19589
19590 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
19591
19592 [BZ #16274]
19593 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19594 handle filename validation.
19595 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19596 (do_open): Delete.
19597
19598 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19599
19600 [BZ #6786]
19601 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19602 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19603 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19604 <float.h>.
19605 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19606 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19607 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19608 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19609 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19610 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19611 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19612 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19613 Add more erfc tests.
19614 * math/auto-libm-test-out: Regenerated.
19615 * sysdeps/i386/fpu/libm-test-ulps: Update.
19616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19617
19618 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19619 exp2, expm1, j0 and j1.
19620 * math/auto-libm-test-out: Regenerated.
19621 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19622 (erfc_test_data): Likewise.
19623 (exp_test_data): Likewise.
19624 (exp_tonearest_test_data): Likewise.
19625 (exp_towardzero_test_data): Likewise.
19626 (exp_downward_test_data): Likewise.
19627 (exp_upward_test_data): Likewise.
19628 (exp10_test_data): Likewise.
19629 (exp2_test_data): Likewise.
19630 (expm1_test_data): Likewise.
19631 (j0_test_data): Likewise.
19632 (j1_test_data): Likewise.
19633 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19634 (input_flag_type): Add flag_xfail_rounding.
19635 (input_flags): Add xfail-rounding.
19636 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19637 (output_for_one_input_case): Handle flag_xfail_rounding.
19638 * sysdeps/i386/fpu/libm-test-ulps: Update.
19639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19640
19641 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19642
19643 [BZ #16289]
19644 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19645 division by 0.
19646
19647 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19648
19649 [BZ #16195]
19650 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19651 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19652 (STAP_PROBE0): New macro.
19653 (STAP_PROBE1): Likewise.
19654 (STAP_PROBE2): Likewise.
19655 (STAP_PROBE3): Likewise.
19656 (STAP_PROBE4): Likewise.
19657
19658 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
19659
19660 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19661
19662 2013-12-02 Steve Ellcey <sellcey@mips.com>
19663
19664 * benchtests/Makefile (bench): Add sqrt.
19665 (LDLIBS-bench-sqrt): New.
19666 * benchtests/sqrt-input: New.
19667
19668 2013-12-02 Pavel Simerda <psimerda@redhat.com>
19669
19670 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19671 (GAIH_EAI): Likewise.
19672 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19673 (gaih_inet): Likewise.
19674 (getaddrinfo): Don't use GAIH_EAI.
19675
19676 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19677 (struct gaih): Remove definition.
19678
19679 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19680
19681 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19682 Use HERRNOP directly.
19683
19684 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19685
19686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19687
19688 2013-11-30 Joseph Myers <joseph@codesourcery.com>
19689
19690 * math/gen-auto-libm-tests.c (test_functions): Add more
19691 single-argument functions.
19692 (special_fill_pi_2): New function.
19693 (special_fill_minus_pi_2): Likewise.
19694 (special_fill_pi_6): Likewise.
19695 (special_fill_minus_pi_6): Likewise.
19696 (special_fill_pi_3): Likewise.
19697 (special_fill_2pi_3): Likewise.
19698 (special_fill_e): Likewise.
19699 (special_fill_1_e): Likewise.
19700 (special_fill_e_minus_1): Likewise.
19701 (special_real_inputs): Add more special inputs.
19702 (output_for_one_input_case): Do not require ERANGE on underflow to
19703 zero if round-to-nearest result does not underflow to zero, unless
19704 exact results required.
19705 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19706 atan, atanh, cbrt, cos and cosh.
19707 * math/auto-libm-test-out: Regenerated.
19708 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19709 (acos_tonearest_test_data): Likewise.
19710 (acos_towardzero_test_data): Likewise.
19711 (acos_downward_test_data): Likewise.
19712 (acos_upward_test_data): Likewise.
19713 (acosh_test_data): Likewise.
19714 (asin_test_data): Likewise.
19715 (asin_tonearest_test_data): Likewise.
19716 (asin_towardzero_test_data): Likewise.
19717 (asin_upward_test_data): Likewise.
19718 (asinh_test_data): Likewise.
19719 (atan_test_data): Likewise.
19720 (atanh_test_data): Likewise.
19721 (cbrt_test_data): Likewise.
19722 (cos_test_data): Likewise.
19723 (cos_tonearest_test_data): Likewise.
19724 (cos_towardzero_test_data): Likewise.
19725 (cos_downward_test_data): Likewise.
19726 (cos_upward_test_data): Likewise.
19727 (cosh_test_data): Likewise.
19728 (cosh_tonearest_test_data): Likewise.
19729 (cosh_towardzero_test_data): Likewise.
19730 (cosh_downward_test_data): Likewise.
19731 (cosh_upward_test_data): Likewise.
19732 * sysdeps/i386/fpu/libm-test-ulps: Update.
19733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19734
19735 2013-11-29 Joseph Myers <joseph@codesourcery.com>
19736
19737 [BZ #6787]
19738 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19739 * math/w_exp10f.c (__exp10f): Likewise.
19740 * math/w_exp10l.c (__exp10l): Likewise.
19741 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19742 errno settings in existing tests.
19743
19744 [BZ #14032]
19745 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19746 precision control set to double precision.
19747 * sysdeps/i386/fpu/w_sqrt.c: New file.
19748 * math/auto-libm-test-in: Add more tests.
19749 * math/auto-libm-test-out: Update.
19750
19751 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19752 (sqrt_test_tonearest): New function.
19753 (sqrt_towardzero_test_data): New variable.
19754 (sqrt_test_towardzero): New function.
19755 (sqrt_downward_test_data): New variable.
19756 (sqrt_test_downward): New function.
19757 (sqrt_upward_test_data): New variable.
19758 (sqrt_test_upward): New function.
19759 (main): Call the new functions.
19760
19761 * math/gen-auto-libm-tests.c: New file.
19762 * math/auto-libm-test-in: Likewise.
19763 * math/auto-libm-test-out: New generated file.
19764 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19765 variables.
19766 (%beautify): Add generated representations of zero.
19767 (top level): Set $auto_input and call parse_auto_input.
19768 (beautify): Remove trailing "f" from hex float constants.
19769 (parse_args): Handle XFAIL_TEST.
19770 (convert_condition): New function.
19771 (or_value): Likewise.
19772 (or_cond_value): Likewise.
19773 (generate_testfile): Handle AUTO_TESTS_* lines.
19774 (parse_auto_input): New function.
19775 * math/libm-test.inc (XFAIL_TEST): New macro.
19776 (ERRNO_UNCHANGED): Update value.
19777 (ERRNO_EDOM): Likewise.
19778 (ERRNO_ERANGE): Likewise.
19779 (IGNORE_RESULT): Likewise.
19780 (TEST_COND_flt_32): New macro.
19781 (TEST_COND_dbl_64): Likewise.
19782 (TEST_COND_ldbl_96_intel): Likewise.
19783 (TEST_COND_ldbl_96_m68k): Likewise.
19784 (TEST_COND_ldbl_128): Likewise.
19785 (TEST_COND_ldbl_128ibm): Likewise.
19786 (TEST_COND_long32): Likewise.
19787 (TEST_COND_long64): Likewise.
19788 (TEST_COND_before_rounding): Likewise.
19789 (TEST_COND_after_rounding): Likewise.
19790 (enable_test): Handle XFAIL_TEST flag.
19791 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19792 with finite results.
19793 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19794 auto-libm-test-out.
19795
19796 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19797 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19798
19799 [BZ #16214]
19800 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19801 __tls_get_addr_internal instead of __tls_get_offset in order to
19802 avoid GOT pointer dependency. Make rtld export
19803 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19804 __tls_get_addr since we are a __tls_get_offset platform.
19805 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19806 GOT pointer being set up before.
19807 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19808
19809 2013-11-28 Joseph Myers <joseph@codesourcery.com>
19810
19811 * manual/math.texi (Errors in Math Functions): Document accuracy
19812 goals.
19813
19814 [BZ #15004]
19815 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19816 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19817 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19818 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19819 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19820 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19821 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19822 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19823 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19824 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19825 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19826 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19827 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19828 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19829 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19830 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19831
19832 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19833 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19834 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19835 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19836 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19837 Likewise.
19838 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19839 Likewise.
19840 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19841 Likewise.
19842 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19843 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19844 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19845 atomic-feupdateenv and flt-rounds.
19846 * sysdeps/powerpc/nofpu/Versions (libc): Add
19847 __atomic_feholdexcept, __atomic_feclearexcept,
19848 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19849 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19850 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19851 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19852 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19853 here.
19854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19855 Update.
19856
19857 * manual/arith.texi (FP Exceptions): Document that exceptions may
19858 not be raised when matherr is used.
19859 (Math Error Reporting): Document overflow in directed rounding
19860 modes. Document that errno may not be set when finite values are
19861 returned on overflow. Document intent to set errno on underflow
19862 only for underflow to zero.
19863
19864 [BZ #16271]
19865 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19866 round-to-nearest then adjust result for other rounding modes.
19867 * include/fenv.h (fegetround): Use libm_hidden_proto.
19868 * math/fegetround.c (fegetround): Use libm_hidden_def.
19869 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19870 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19871 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19872 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19873 Likewise.
19874 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19875 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19876 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19877 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19878
19879 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19880
19881 [BZ #16077]
19882 * nss/Versions (libnss_files): Add
19883 _nss_files_gethostbyname3_r.
19884 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19885 New function.
19886 (HOST_DB_LOOKUP): Remove macro.
19887 (_nss_files_gethostbyname_r): Implement function without the
19888 HOST_DB_LOOKUP macro.
19889 (_nss_files_gethostbyname2_r): Likewise.
19890
19891 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
19892
19893 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19894
19895 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
19896
19897 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19898 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19899 warning.
19900
19901 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19902
19903 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19904 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19905 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19906 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19907 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19908 __fe_nomask_env_priv and attribute_hidden.
19909 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19910 (libc_feupdateenv_test_ppc): Likewise.
19911 (libc_feresetround_ppc): Likewise.
19912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19913 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19914 compat_symbol macro.
19915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19916 (__fe_nomask_env): Likewise.
19917 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19918
19919 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19920
19921 * string/Makefile: Remove ifunc tests.
19922 * string/test-string.h: Define TEST_IFUNC.
19923 * string/test-bcopy-ifunc.c: Remove.
19924 * string/test-bzero-ifunc.c: Likewise.
19925 * string/test-memccpy-ifunc.c: Likewise.
19926 * string/test-memchr-ifunc.c: Likewise.
19927 * string/test-memcmp-ifunc.c: Likewise.
19928 * string/test-memcpy-ifunc.c: Likewise.
19929 * string/test-memmem-ifunc.c: Likewise.
19930 * string/test-memmove-ifunc.c: Likewise.
19931 * string/test-mempcpy-ifunc.c: Likewise.
19932 * string/test-memrchr-ifunc.c: Likewise.
19933 * string/test-memset-ifunc.c: Likewise.
19934 * string/test-rawmemchr-ifunc.c: Likewise.
19935 * string/test-stpcpy-ifunc.c: Likewise.
19936 * string/test-stpncpy-ifunc.c: Likewise.
19937 * string/test-strcasecmp-ifunc.c: Likewise.
19938 * string/test-strcasestr-ifunc.c: Likewise.
19939 * string/test-strcat-ifunc.c: Likewise.
19940 * string/test-strchr-ifunc.c: Likewise.
19941 * string/test-strchrnul-ifunc.c: Likewise.
19942 * string/test-strcmp-ifunc.c: Likewise.
19943 * string/test-strcpy-ifunc.c: Likewise.
19944 * string/test-strcspn-ifunc.c: Likewise.
19945 * string/test-strlen-ifunc.c: Likewise.
19946 * string/test-strncasecmp-ifunc.c: Likewise.
19947 * string/test-strncat-ifunc.c: Likewise.
19948 * string/test-strncmp-ifunc.c: Likewise.
19949 * string/test-strncpy-ifunc.c: Likewise.
19950 * string/test-strnlen-ifunc.c: Likewise.
19951 * string/test-strpbrk-ifunc.c: Likewise.
19952 * string/test-strrchr-ifunc.c: Likewise.
19953 * string/test-strspn-ifunc.c: Likewise.
19954 * string/test-strstr-ifunc.c: Likewise.
19955
19956 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19957
19958 * benchtests/Makefile: Remove ifunc tests.
19959 * benchtests/bench-string.h: Define TEST_IFUNC.
19960 * benchtests/bench-bcopy-ifunc.c: Remove.
19961 * benchtests/bench-bzero-ifunc.c: Likewise.
19962 * benchtests/bench-memccpy-ifunc.c: Likewise.
19963 * benchtests/bench-memchr-ifunc.c: Likewise.
19964 * benchtests/bench-memcmp-ifunc.c: Likewise.
19965 * benchtests/bench-memcpy-ifunc.c: Likewise.
19966 * benchtests/bench-memmem-ifunc.c: Likewise.
19967 * benchtests/bench-memmove-ifunc.c: Likewise.
19968 * benchtests/bench-mempcpy-ifunc.c: Likewise.
19969 * benchtests/bench-memrchr-ifunc.c: Likewise.
19970 * benchtests/bench-memset-ifunc.c: Likewise.
19971 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19972 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19973 * benchtests/bench-stpcpy-ifunc.c: Likewise.
19974 * benchtests/bench-stpncpy-ifunc.c: Likewise.
19975 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19976 * benchtests/bench-strcasestr-ifunc.c: Likewise.
19977 * benchtests/bench-strcat-ifunc.c: Likewise.
19978 * benchtests/bench-strchr-ifunc.c: Likewise.
19979 * benchtests/bench-strchrnul-ifunc.c: Likewise.
19980 * benchtests/bench-strcmp-ifunc.c: Likewise.
19981 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19982 * benchtests/bench-strcpy-ifunc.c: Likewise.
19983 * benchtests/bench-strcspn-ifunc.c: Likewise.
19984 * benchtests/bench-strlen-ifunc.c: Likewise.
19985 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19986 * benchtests/bench-strncat-ifunc.c: Likewise.
19987 * benchtests/bench-strncmp-ifunc.c: Likewise.
19988 * benchtests/bench-strncpy-ifunc.c: Likewise.
19989 * benchtests/bench-strnlen-ifunc.c: Likewise.
19990 * benchtests/bench-strpbrk-ifunc.c: Likewise.
19991 * benchtests/bench-strrchr-ifunc.c: Likewise.
19992 * benchtests/bench-strsep-ifunc.c: Likewise.
19993 * benchtests/bench-strspn-ifunc.c: Likewise.
19994 * benchtests/bench-strstr-ifunc.c: Likewise.
19995
19996 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19997
19998 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19999
20000 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20001
20002 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20003 * rt/aio.h: Likewise.
20004 * sysdeps/gnu/bits/utmp.h: Likewise.
20005 * sysdeps/gnu/bits/utmpx.h: Likewise.
20006 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20007 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20008 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20009 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20010 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20011 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20012 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20013 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20014 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20015 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20016 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20017 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20018 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20020 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20021 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20022 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20023 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20024 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20025 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20026 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20027 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20028 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20029 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20030 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20031 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20032 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20033 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20034 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20035 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20036 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20037 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20038 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20039 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20040 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20041 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20042 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20043 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20044 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20045 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20046 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20047 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20048
20049 2013-11-25 Carlos O'Donell <carlos@redhat.com>
20050
20051 [BZ #16245]
20052 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20053 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20054
20055 2013-11-25 Joseph Myers <joseph@codesourcery.com>
20056
20057 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20058 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20059 Likewise.
20060
20061 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20062
20063 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20064 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20065 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20066 (__fesetround): Remove define.
20067 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20068 rounding and exceptions handling.
20069 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20070 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20071 (__fe_nomask_env): Likewise.
20072 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20073 __fegetround instead of fegetround.
20074 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20075 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20076
20077 2013-11-21 Roland McGrath <roland@hack.frob.com>
20078
20079 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20080 it's there.
20081
20082 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20083
20084 2013-11-21 Meador Inge <meadori@codesourcery.com>
20085
20086 [BZ #11157]
20087 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20088 (encrypt_r): Likewise.
20089 * malloc/obstack.h (obstack_free): Likewise.
20090 * posix/unistd.h (encrypt): Likewise.
20091
20092 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20093
20094 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20095 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20096 DL_CALL_DT_FINI() that call the functions directly.
20097 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20098 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20099 * elf/dl-fini.c: Likewise.
20100
20101 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
20102
20103 * malloc/hooks.c (memalign_check): Add alignment rounding.
20104 * malloc/malloc.c (_mid_memalign): New function.
20105 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20106 Implement by calling _mid_memalign.
20107 * manual/probes.texi (Memory Allocation Probes): Remove
20108 memory_valloc_retry and memory_pvalloc_retry.
20109
20110 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20111
20112 * locale/programs/locarchive.c (open_archive): Add const
20113 qualifier to ARCHIVEFNAME and copy default fname to
20114 DEFAULT_FNAME.
20115
20116 [BZ #15601]
20117 * libio/tst-widetext.input: Rename Oriya to Odia.
20118 * locale/iso-639.def: Likewise.
20119
20120 * manual/probes.texi (Mathematical Function Probes): Add
20121 documentation for sin, cos, asin and acos probes.
20122 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20123 (__sin32): Add slowasin probe.
20124 (__cos32): Add slowacos probe.
20125 (__mpsin): Add slowsin probe.
20126 (__mpcos): Add slowcos probe.
20127
20128 2013-11-19 Joseph Myers <joseph@codesourcery.com>
20129
20130 [BZ #15483]
20131 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20132 thread-local __sim_exceptions_thread and global
20133 __sim_exceptions_global.
20134 (__sim_disabled_exceptions): Change to thread-local
20135 __sim_disabled_exceptions_thread and global
20136 __sim_disabled_exceptions_global.
20137 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20138 and global __sim_round_mode_global.
20139 (__simulate_exceptions): Use thread-local floating-point state and
20140 set global state from it as needed.
20141 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20142 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20143 __sim_round_mode_thread.
20144 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20145 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20146 and global __sim_exceptions_global.
20147 (__sim_disabled_exceptions): Change to thread-local
20148 __sim_disabled_exceptions_thread and global
20149 __sim_disabled_exceptions_global.
20150 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20151 and global __sim_round_mode_global.
20152 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20153 (SIM_SET_GLOBAL): Likewise.
20154 * sysdeps/powerpc/soft-fp/sfp-machine.h
20155 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20156 __sim_round_mode_thread.
20157 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20158 __sim_disabled_exceptions_thread.
20159 (__sim_exceptions): Change to __sim_exceptions_thread.
20160 (__sim_disabled_exceptions): Change to
20161 __sim_disabled_exceptions_thread.
20162 (__sim_round_mode): Change to __sim_round_mode_thread.
20163 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20164 thread-local floating-point state and set global state from it as
20165 needed.
20166 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20167 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20168 (__sim_disabled_exceptions): Remove extern declaration.
20169 (feenableexcept): Use thread-local floating-point state and set
20170 global state from it as needed.
20171 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20172 extern declaration.
20173 (__sim_disabled_exceptions): Likewise.
20174 (__sim_round_mode): Likewise.
20175 (__fegetenv): Use thread-local floating-point state.
20176 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20177 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20178 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20179 floating-point state and set global state from it as needed.
20180 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20181 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20182 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20183 Likewise.
20184 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20185 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20186 Likewise.
20187 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20188 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20189 Use __sim_round_mode_thread.
20190 * math/test-fenv-tls.c: New file.
20191 * math/Makefile (tests): Add test-fenv-tls.
20192 ($(objpfx)test-fenv-tls): Depend on
20193 $(common-objpfx)nptl/libpthread.so.
20194
20195 2013-11-19 Andreas Schwab <schwab@suse.de>
20196
20197 * locale/programs/locale.c (show_info): Decode wordarray elements.
20198 * locale/categories.def (LC_MONETARY): Add element for
20199 _NL_MONETARY_CRNCYSTR.
20200 * locale/C-monetary.c (conversion_rate): New variable.
20201 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20202 element.
20203
20204 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20205
20206 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20207 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20208
20209 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20210
20211 * elf/Makefile (tst-auxv): New test.
20212 * elf/tst-auxv.c: New
20213 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20214
20215 2013-11-18 Joseph Myers <joseph@codesourcery.com>
20216
20217 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20218 (hidden_proto): Caller changed.
20219 (hidden_tls_proto): New macro.
20220 (libc_hidden_tls_proto): Likewise.
20221 (rtld_hidden_tls_proto): Likewise.
20222 (libm_hidden_tls_proto): Likewise.
20223 (libresolv_hidden_tls_proto): Likewise.
20224 (librt_hidden_tls_proto): Likewise.
20225 (libdl_hidden_tls_proto): Likewise.
20226 (libnss_files_hidden_tls_proto): Likewise.
20227 (libnsl_hidden_tls_proto): Likewise.
20228 (libnss_nisplus_hidden_tls_proto): Likewise.
20229 (libutil_hidden_tls_proto): Likewise.
20230
20231 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
20232
20233 [BZ #10253]
20234 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20235 (decompose_rpath): Defer expansion to fillin_rpath.
20236 (_dl_init_paths): Pass linkmap to fillin_rpath.
20237
20238 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20239
20240 * benchtests/Makefile: Add strsep.
20241 * benchtests/bench-strsep.c: New file: strsep benchtest.
20242 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20243
20244 2013-11-18 Andreas Schwab <schwab@suse.de>
20245
20246 * locale/programs/locale.c (show_info) [case byte]: Check for
20247 '\377' instead of '\177'.
20248 * locale/C-monetary.c (not_available): Always use "\377".
20249 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20250 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20251 detect unavailable sign_posn locale elements.
20252 * locale/localeconv.c (__localeconv): For grouping and
20253 mon_grouping handle "\177" and "\377" like no grouping.
20254 (INT_ELEM): New macro. Use it to set all numeric members.
20255 * locale/programs/ld-monetary.c (monetary_read)
20256 <tok_mon_grouping>: Normalize single -1 to the empty string.
20257 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20258 Likewise.
20259
20260 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20261
20262 [BZ #16055]
20263 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20264 when we match (nil).
20265 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20266
20267 2013-11-16 Joseph Myers <joseph@codesourcery.com>
20268
20269 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20270 (NO_TEST_INLINE): Update value.
20271 (ERRNO_UNCHANGED): Likewise.
20272 (ERRNO_EDOM): Likewise.
20273 (ERRNO_ERANGE): Likewise.
20274 (IGNORE_RESULT): Likewise.
20275 (check_float_internal): Check signs of NaN results if
20276 TEST_NAN_SIGN used.
20277 (check_complex): Pass TEST_NAN_SIGN flag through to second
20278 check_float_internal call.
20279 (copysign_test_data): Add tests with quiet NaNs as second
20280 argument. Use TEST_NAN_SIGN.
20281 (fabs_test_data): Add test of negative quiet NaN argument. Use
20282 TEST_NAN_SIGN.
20283 (signbit_test_data): Add tests of quiet NaN argument.
20284 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20285
20286 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20287 $ignore_result.
20288 (parse_args): Handle function results specified as IGNORE.
20289 * math/libm-test.inc (IGNORE_RESULT): New macro.
20290 (check_float_internal): Do not check numerical result if flag
20291 IGNORE_RESULT set.
20292 (check_complex): Pass through IGNORE_RESULT to second
20293 check_float_internal call.
20294 (check_int): Do not check numerical result if flag IGNORE_RESULT
20295 set.
20296 (check_long): Likewise.
20297 (check_bool): Likewise.
20298 (check_longlong): Likewise.
20299 (lrint_test_data): Add tests of infinite and NaN arguments.
20300 (lrint_tonearest_test_data): Likewise.
20301 (lrint_towardzero_test_data): Likewise.
20302 (lrint_downward_test_data): Likewise.
20303 (lrint_upward_test_data): Likewise.
20304 (llrint_test_data): Likewise.
20305 (llrint_tonearest_test_data): Likewise.
20306 (llrint_towardzero_test_data): Likewise.
20307 (llrint_downward_test_data): Likewise.
20308 (llrint_upward_test_data): Likewise.
20309 (lround_test_data): Likewise.
20310 (llround_test_data): Likewise.
20311
20312 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20313 (ERRNO_UNCHANGED): Update value.
20314 (ERRNO_EDOM): Likewise.
20315 (ERRNO_ERANGE): Likewise.
20316 (NO_TEST_INLINE_FLOAT): New macro.
20317 (NO_TEST_INLINE_DOUBLE): Likewise.
20318 (enable_test): New function.
20319 (RUN_TEST_f_f): Check enable_test before running test.
20320 (RUN_TEST_2_f): Likewise.
20321 (RUN_TEST_fff_f): Likewise.
20322 (RUN_TEST_c_f): Likewise.
20323 (RUN_TEST_f_f1): Likewise.
20324 (RUN_TEST_fF_f1): Likewise.
20325 (RUN_TEST_fI_f1): Likewise.
20326 (RUN_TEST_ffI_f1): Likewise.
20327 (RUN_TEST_c_c): Likewise.
20328 (RUN_TEST_cc_c): Likewise.
20329 (RUN_TEST_f_i): Likewise.
20330 (RUN_TEST_f_i_tg): Likewise.
20331 (RUN_TEST_ff_i_tg): Likewise.
20332 (RUN_TEST_f_b): Likewise.
20333 (RUN_TEST_f_b_tg): Likewise.
20334 (RUN_TEST_f_l): Likewise.
20335 (RUN_TEST_f_L): Likewise.
20336 (RUN_TEST_fFF_11): Likewise.
20337 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20338 conditionals.
20339 (cosh_test_data): Likewise.
20340 (exp_test_data): Likewise.
20341 (expm1_test_data): Likewise.
20342 (hypot_test_data): Likewise.
20343 (pow_test_data): Likewise.
20344 (sinh_test_data): Likewise.
20345 (tanh_test_data): Likewise.
20346 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20347 flags argument.
20348
20349 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20350 tests with quiet NaN input and output.
20351 (acosh_test_data): Likewise.
20352 (asin_test_data): Likewise.
20353 (asinh_test_data): Likewise.
20354 (atan_test_data): Likewise.
20355 (atanh_test_data): Likewise.
20356 (atan2_test_data): Likewise.
20357 (cbrt_test_data): Likewise.
20358 (cos_test_data): Likewise.
20359 (cosh_test_data): Likewise.
20360 (erf_test_data): Likewise.
20361 (erfc_test_data): Likewise.
20362 (exp_test_data): Likewise.
20363 (exp10_test_data): Likewise.
20364 (exp2_test_data): Likewise.
20365 (expm1_test_data): Likewise.
20366 (hypot_test_data): Likewise.
20367 (j0_test_data): Likewise.
20368 (j1_test_data): Likewise.
20369 (jn_test_data): Likewise.
20370 (lgamma_test_data): Likewise.
20371 (log_test_data): Likewise.
20372 (log10_test_data): Likewise.
20373 (log1p_test_data): Likewise.
20374 (log2_test_data): Likewise.
20375 (pow_test_data): Likewise.
20376 (scalb_test_data): Likewise.
20377 (sin_test_data): Likewise.
20378 (sincos_test_data): Likewise.
20379 (sinh_test_data): Likewise.
20380 (tan_test_data): Likewise.
20381 (tanh_test_data): Likewise.
20382 (tgamma_test_data): Likewise.
20383 (y0_test_data): Likewise.
20384 (y1_test_data): Likewise.
20385 (yn_test_data): Likewise.
20386
20387 [BZ #16167]
20388 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20389 argument being NaN and avoid computations with second argument in
20390 that case.
20391 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20392 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20393 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20394
20395 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20396
20397 * locale/iso-639.def: Add Chitwani Tharu (the).
20398
20399 2013-11-14 Andreas Schwab <schwab@suse.de>
20400
20401 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20402 word instead of empty string.
20403
20404 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20405
20406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20407 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20409 (__fe_nomask_env): Likewise.
20410
20411 2013-11-13 Steve Ellcey <sellcey@mips.com>
20412
20413 * benchtests/bench-timing.h: Include time.h.
20414
20415 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20416
20417 [BZ #15997]
20418 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20419 to 3.4.0 for x32.
20420 * sysdeps/unix/sysv/linux/configure: Regenerated.
20421
20422 2013-11-13 Joseph Myers <joseph@codesourcery.com>
20423
20424 [BZ #16151]
20425 * stdlib/strtod_l.c (round_and_return): Do not consider
20426 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20427 exponent one less than half the least subnormal exponent.
20428 * stdlib/test-strtod-round-data: Add more tests.
20429 * stdlib/tst-strtod-round.c (tests): Regenerated.
20430
20431 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20432
20433 [BZ #14143]
20434 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20435 (__fe_mask_env): Likewise.
20436 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20437 libm_hidden_proto and add function prototype.
20438 (__fe_mask_env): Add function prototype.
20439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20440 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20442 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20444 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20445
20446 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20447
20448 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20449 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20450
20451 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20452
20453 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20454 of htab_find_slot().
20455
20456 2013-11-11 David S. Miller <davem@davemloft.net>
20457
20458 [BZ #16150]
20459 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20460 symbol in the non-vis3 case in static builds.
20461 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20462 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20463 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20464 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20465
20466 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20467
20468 [BZ #387]
20469 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20470 it is empty.
20471
20472 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20473
20474 * benchtests/Makefile: Add bench-strtod.
20475 * benchtests/bench-strtod.c: New file: strtod benchtest
20476
20477 2013-11-11 Andreas Schwab <schwab@suse.de>
20478
20479 [BZ #16153]
20480 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20481 terminating NUL in key length.
20482
20483 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20484
20485 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20486 Add artificial ODP entry for vDSO symbol for PPC64.
20487 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20488 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20489
20490 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20491
20492 [BZ #15374]
20493 * nss/getent.c (services_keys): Recognize services starting with digit.
20494
20495 2013-11-06 David S. Miller <davem@davemloft.net>
20496
20497 [BZ #15985]
20498 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20499 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20500
20501 2013-11-06 Will Newton <will.newton@linaro.org>
20502
20503 * manual/memory.texi (Malloc Examples): Remove register
20504 keyword from examples.
20505
20506 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
20507
20508 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20509
20510 2013-11-04 Joseph Myers <joseph@codesourcery.com>
20511
20512 [BZ #6981]
20513 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20514 depending on [__GCC_IEC_559 > 0].
20515 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20516 depending on [__GCC_IEC_559_COMPLEX > 0].
20517
20518 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
20519
20520 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20521 to iso-639.def.
20522
20523 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
20524
20525 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20526
20527 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
20528
20529 [BZ #16112]
20530 * malloc/malloc (malloc_info): Do not handle first bin as
20531 special case.
20532
20533 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
20534
20535 * locale/iso-639.def: Add Central Nahuatl (nhn).
20536
20537 2013-11-01 Bruno Haible <bruno@clisp.org>
20538
20539 [BZ #7003]
20540 * manual/math.texi (BSD Random): Specify range upper bound as
20541 in POSIX.
20542
20543 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
20544
20545 * locale/iso-639.def: Add Meadow Mari (mhr).
20546
20547 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
20548
20549 [BZ #14752], [BZ #15763]
20550 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20551 Validate name.
20552 * rt/tst_shm.c: Add test for escaping directory.
20553
20554 2013-10-31 Andreas Schwab <schwab@suse.de>
20555
20556 [BZ #15917]
20557 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20558 followed by 'x' as part of digit sequence.
20559 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20560
20561 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20562
20563 [BZ #16037]
20564 * configure.ac: allow GNU Make 4.0 and greater.
20565 * configure: Regenerated.
20566
20567 2013-10-30 Will Newton <will.newton@linaro.org>
20568
20569 [BZ #16038]
20570 * malloc/hooks.c (memalign_check): Limit alignment to the
20571 maximum representable power of two.
20572 * malloc/malloc.c (__libc_memalign): Likewise.
20573 * malloc/tst-memalign.c (do_test): Add test for very
20574 large alignment values.
20575 * malloc/tst-posix_memalign.c (do_test): Likewise.
20576
20577 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20578
20579 [BZ #11087]
20580 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20581 (munmap_chunk): Likewise.
20582 (mremap_chunk): Likewise.
20583
20584 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20585
20586 [BZ #15799]
20587 * stdlib/div.c (div): Remove obsolete code.
20588 * stdlib/ldiv.c (ldiv): Likewise.
20589 * stdlib/lldiv.c (lldiv): Likewise.
20590
20591 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20592
20593 [BZ #16071]
20594 * nss/nss_files/files-XXX.c (get_contents_ret): New
20595 enumerator.
20596 (get_contents): New function.
20597 (internal_getent): Use it. Expand size of LINEBUFLEN.
20598
20599 2013-10-30 Mike Frysinger <vapier@gentoo.org>
20600
20601 * configure.in: Moved to ...
20602 * configure.ac: ... here. Change reference to configure.in
20603 to configure.ac.
20604 * sysdeps/arm/preconfigure.ac: ... here.
20605 configure.in to configure.ac.
20606 * sysdeps/gnu/configure.in: Moved to ...
20607 * sysdeps/gnu/configure.ac: ... here.
20608 * sysdeps/i386/configure.in: Moved to ...
20609 * sysdeps/i386/configure.ac: ... here.
20610 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20611 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20612 * sysdeps/mach/configure.in: Moved to ...
20613 * sysdeps/mach/configure.ac: ... here.
20614 * sysdeps/mach/hurd/configure.in: Moved to ...
20615 * sysdeps/mach/hurd/configure.ac: ... here.
20616 * sysdeps/powerpc/configure.in: Moved to ...
20617 * sysdeps/powerpc/configure.ac: ... here.
20618 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20619 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20620 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20621 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20622 * sysdeps/s390/s390-32/configure.in: Moved to ...
20623 * sysdeps/s390/s390-32/configure.ac: ... here.
20624 * sysdeps/s390/s390-64/configure.in: Moved to ...
20625 * sysdeps/s390/s390-64/configure.ac: ... here.
20626 * sysdeps/sh/configure.in: Moved to ...
20627 * sysdeps/sh/configure.ac: ... here.
20628 * sysdeps/sparc/configure.in: Moved to ...
20629 * sysdeps/sparc/configure.ac: ... here.
20630 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20631 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20632 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20633 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20634 * sysdeps/x86_64/configure.in: Moved to ...
20635 * sysdeps/x86_64/configure.ac: ... here.
20636 * sysdeps/x86_64/preconfigure.in: Moved to ...
20637 * sysdeps/x86_64/preconfigure.ac: ... here.
20638 * aclocal.m4: Change reference to configure.in to configure.ac.
20639 * config.h.in: Likewise.
20640 * manual/install.texi: Likewise.
20641 * manual/maint.texi: Likewise.
20642 * Makefile: Likewise.
20643 * malloc/Makefile: Likewise.
20644 * nscd/Makefile: Likewise.
20645 * Makeconfig: Change reference to configure.in and
20646 preconfigure.in to configure.ac and preconfigure.ac
20647 respectively.
20648 * INSTALL: Regenerated.
20649 * configure: Likewise.
20650 * sysdeps/gnu/configure: Likewise.
20651 * sysdeps/i386/configure: Likewise.
20652 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20653 * sysdeps/mach/configure: Likewise.
20654 * sysdeps/mach/hurd/configure: Likewise.
20655 * sysdeps/powerpc/configure: Likewise.
20656 * sysdeps/powerpc/powerpc32/configure: Likewise.
20657 * sysdeps/powerpc/powerpc64/configure: Likewise.
20658 * sysdeps/s390/s390-32/configure: Likewise.
20659 * sysdeps/s390/s390-64/configure: Likewise.
20660 * sysdeps/sh/configure: Likewise.
20661 * sysdeps/sparc/configure: Likewise.
20662 * sysdeps/unix/sysv/linux/configure: Likewise.
20663 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20664 * sysdeps/x86_64/configure: Likewise.
20665 * sysdeps/x86_64/preconfigure: Likewise.
20666
20667 2013-10-29 Andreas Schwab <schwab@suse.de>
20668
20669 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20670
20671 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20672
20673 * benchtests/pow-inputs: Add new inputs.
20674
20675 * benchtests/exp-inputs: Add new inputs.
20676
20677 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20678 conditional check for return value.
20679 (__cos32): Likewise.
20680
20681 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20682
20683 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20684 to provide a boost for large inputs with word alignment.
20685 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20686 implementation based on optimized PPC64 strcpy.
20687 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20688 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20689 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20690 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20691
20692 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20693
20694 [BZ #2801]
20695 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20696
20697 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20698
20699 [BZ #14876]
20700 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20701 * time/tst-strptime.c (day_tests): Add testcase.
20702
20703 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20704
20705 [BZ #14029]
20706 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20707
20708 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20709
20710 [BZ #16074]
20711 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20712 MAP_FAILED on error.
20713
20714 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20715
20716 [BZ #16072]
20717 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20718 heap for large requests.
20719
20720 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20721
20722 [BZ #9954]
20723 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20724 result if the result has no associated interface.
20725 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20726 interface for all 127.X.Y.Z addresses.
20727
20728 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
20729
20730 * locale/iso-639.def: Add Ligurian (lij)
20731
20732 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
20733
20734 [BZ #15825]
20735 * sunrpc/rpc_main.c: Document rpcgen -5.
20736
20737 2013-10-19 Michael Stahl <mstahl@redhat.com>
20738
20739 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20740
20741 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20742
20743 [BZ #10278]
20744 * posix/glob.c: Match only directories when trailing slash is present.
20745 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20746 (main): Add testcase.
20747
20748 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20749
20750 [BZ #15670]
20751 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20752
20753 2013-10-18 Carlos O'Donell <carlos@redhat.com>
20754
20755 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20756 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20757 AUTH_DES and cindex for FIPS 140-2.
20758 (DES Encryption): Add cindex FIPS 46-3.
20759
20760 * locale/locarchive.h (struct locarhandle): Add fname.
20761 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20762 if an optional argument was specified to --list-archive,
20763 otherwise NULL.
20764 * locale/programs/locarchive.c (show_archive_content): Take new
20765 argument fname and pass it via ah.fname to open_archive.
20766 * locale/programs/localedef.h: Update decl.
20767 (open_archive): If AH->fname is non-null, open that file
20768 rather than the default file name, and don't ignore ENOENT.
20769 (create_archive): Set AH.fname to NULL.
20770 (delete_locales_from_archive): Likewise.
20771 (add_locales_to_archive): Likewise.
20772 * locale/programs/locfile.c (write_all_categories): Likewise.
20773
20774 2013-10-18 Joseph Myers <joseph@codesourcery.com>
20775 Aldy Hernandez <aldyh@redhat.com>
20776
20777 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20778 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20779 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20780 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20781 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20782 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20783 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20784 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20785 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20786 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20787 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20788 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20789 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20790 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20791 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20792 Likewise.
20793 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20794 Likewise.
20795 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20796 Likewise.
20797 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20798 Likewise.
20799 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20800 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20801 Likewise.
20802 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20803 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20804 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20805 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20806 Likewise.
20807 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20808 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20809 * sysdeps/powerpc/preconfigure: Likewise.
20810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20811 Likewise.
20812 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20813 Replace contents of file by #include of <fenv_libc.h>.
20814 * sysdeps/powerpc/soft-fp/sfp-machine.h
20815 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20816 and <sys/prctl.h>.
20817 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20818 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20819 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20820 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20821 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20822 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20823 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20824 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20825 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20826 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20827 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20828 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20830 Allow copysignl PLT reference to be missing.
20831
20832 2013-10-18 Richard Sandiford <richard@codesourcery.com>
20833 Joseph Myers <joseph@codesourcery.com
20834
20835 [BZ #15948]
20836 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20837 single character.
20838 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20839
20840 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20841
20842 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20843 * elf/tst-tls1.c: Likewise.
20844 * elf/tst-tls10.h: Likewise.
20845 * elf/tst-tls14.c: Likewise.
20846 * elf/tst-tls2.c: Likewise.
20847 * elf/tst-tls3.c: Likewise.
20848 * elf/tst-tls4.c: Likewise.
20849 * elf/tst-tls5.c: Likewise.
20850 * elf/tst-tls6.c: Likewise.
20851 * elf/tst-tls7.c: Likewise.
20852 * elf/tst-tls8.c: Likewise.
20853 * elf/tst-tls9.c: Likewise.
20854 * elf/tst-tlsmod1.c: Likewise.
20855 * elf/tst-tlsmod13.c: Likewise.
20856 * elf/tst-tlsmod13a.c: Likewise.
20857 * elf/tst-tlsmod14a.c: Likewise.
20858 * elf/tst-tlsmod16a.c: Likewise.
20859 * elf/tst-tlsmod16b.c: Likewise.
20860 * elf/tst-tlsmod2.c: Likewise.
20861 * elf/tst-tlsmod3.c: Likewise.
20862 * elf/tst-tlsmod4.c: Likewise.
20863 * elf/tst-tlsmod5.c: Likewise.
20864 * elf/tst-tlsmod6.c: Likewise.
20865
20866 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
20867
20868 [BZ #12486]
20869 * malloc/malloc.c: remove checks for statistics.
20870
20871 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20872
20873 [BZ #15277]
20874 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20875 * inet/tst-network.c: Add testcase.
20876
20877 2013-10-17 Andreas Schwab <schwab@suse.de>
20878
20879 [BZ #15218]
20880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20881 to determine canonical name.
20882
20883 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20884
20885 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20886 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20887 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20888 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20889 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20890 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20891 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20892 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20893 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20894 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20895 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20896 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20897 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20898 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20899 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20900 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20902 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20903 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20904 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20905 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20906 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20907 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20908 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20909 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20910 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20911 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20912 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20913 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20914 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20915 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20916 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20917 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20918 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20919 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20920 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20921 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20922 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20923 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20924 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20925 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20926 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20927 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20928 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20929 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20930 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20931 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20932 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20933 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20934 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20935 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20936 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20937 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20938 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20939 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20940 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20941 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20942 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20943
20944 2013-10-17 Joseph Myers <joseph@codesourcery.com>
20945
20946 [BZ #16041]
20947 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20948 make result into a quiet NaN.
20949
20950 2013-10-16 Joseph Myers <joseph@codesourcery.com>
20951
20952 * soft-fp/adddf3.c: Fix horizontal whitespace.
20953 * soft-fp/addsf3.c: Likewise.
20954 * soft-fp/addtf3.c: Likewise.
20955 * soft-fp/divdf3.c: Likewise.
20956 * soft-fp/divsf3.c: Likewise.
20957 * soft-fp/divtf3.c: Likewise.
20958 * soft-fp/double.h: Likewise.
20959 * soft-fp/eqdf2.c: Likewise.
20960 * soft-fp/eqsf2.c: Likewise.
20961 * soft-fp/eqtf2.c: Likewise.
20962 * soft-fp/extenddftf2.c: Likewise.
20963 * soft-fp/extended.h: Likewise.
20964 * soft-fp/extendsfdf2.c: Likewise.
20965 * soft-fp/extendsftf2.c: Likewise.
20966 * soft-fp/extendxftf2.c: Likewise.
20967 * soft-fp/fixdfdi.c: Likewise.
20968 * soft-fp/fixdfsi.c: Likewise.
20969 * soft-fp/fixdfti.c: Likewise.
20970 * soft-fp/fixsfdi.c: Likewise.
20971 * soft-fp/fixsfsi.c: Likewise.
20972 * soft-fp/fixsfti.c: Likewise.
20973 * soft-fp/fixtfdi.c: Likewise.
20974 * soft-fp/fixtfsi.c: Likewise.
20975 * soft-fp/fixtfti.c: Likewise.
20976 * soft-fp/fixunsdfdi.c: Likewise.
20977 * soft-fp/fixunsdfsi.c: Likewise.
20978 * soft-fp/fixunsdfti.c: Likewise.
20979 * soft-fp/fixunssfdi.c: Likewise.
20980 * soft-fp/fixunssfsi.c: Likewise.
20981 * soft-fp/fixunssfti.c: Likewise.
20982 * soft-fp/fixunstfdi.c: Likewise.
20983 * soft-fp/fixunstfsi.c: Likewise.
20984 * soft-fp/fixunstfti.c: Likewise.
20985 * soft-fp/floatdidf.c: Likewise.
20986 * soft-fp/floatdisf.c: Likewise.
20987 * soft-fp/floatditf.c: Likewise.
20988 * soft-fp/floatsidf.c: Likewise.
20989 * soft-fp/floatsisf.c: Likewise.
20990 * soft-fp/floatsitf.c: Likewise.
20991 * soft-fp/floattidf.c: Likewise.
20992 * soft-fp/floattisf.c: Likewise.
20993 * soft-fp/floattitf.c: Likewise.
20994 * soft-fp/floatundidf.c: Likewise.
20995 * soft-fp/floatundisf.c: Likewise.
20996 * soft-fp/floatunditf.c: Likewise.
20997 * soft-fp/floatunsidf.c: Likewise.
20998 * soft-fp/floatunsisf.c: Likewise.
20999 * soft-fp/floatunsitf.c: Likewise.
21000 * soft-fp/floatuntidf.c: Likewise.
21001 * soft-fp/floatuntisf.c: Likewise.
21002 * soft-fp/floatuntitf.c: Likewise.
21003 * soft-fp/fmadf4.c: Likewise.
21004 * soft-fp/fmasf4.c: Likewise.
21005 * soft-fp/fmatf4.c: Likewise.
21006 * soft-fp/gedf2.c: Likewise.
21007 * soft-fp/gesf2.c: Likewise.
21008 * soft-fp/getf2.c: Likewise.
21009 * soft-fp/ledf2.c: Likewise.
21010 * soft-fp/lesf2.c: Likewise.
21011 * soft-fp/letf2.c: Likewise.
21012 * soft-fp/muldf3.c: Likewise.
21013 * soft-fp/mulsf3.c: Likewise.
21014 * soft-fp/multf3.c: Likewise.
21015 * soft-fp/negdf2.c: Likewise.
21016 * soft-fp/negsf2.c: Likewise.
21017 * soft-fp/negtf2.c: Likewise.
21018 * soft-fp/op-1.h: Likewise.
21019 * soft-fp/op-2.h: Likewise.
21020 * soft-fp/op-4.h: Likewise.
21021 * soft-fp/op-8.h: Likewise.
21022 * soft-fp/op-common.h: Likewise.
21023 * soft-fp/quad.h: Likewise.
21024 * soft-fp/single.h: Likewise.
21025 * soft-fp/soft-fp.h: Likewise.
21026 * soft-fp/sqrtdf2.c: Likewise.
21027 * soft-fp/sqrtsf2.c: Likewise.
21028 * soft-fp/sqrttf2.c: Likewise.
21029 * soft-fp/subdf3.c: Likewise.
21030 * soft-fp/subsf3.c: Likewise.
21031 * soft-fp/subtf3.c: Likewise.
21032 * soft-fp/truncdfsf2.c: Likewise.
21033 * soft-fp/trunctfdf2.c: Likewise.
21034 * soft-fp/trunctfsf2.c: Likewise.
21035 * soft-fp/trunctfxf2.c: Likewise.
21036 * soft-fp/unorddf2.c: Likewise.
21037 * soft-fp/unordsf2.c: Likewise.
21038 * soft-fp/unordtf2.c: Likewise.
21039
21040 2013-10-15 Joseph Myers <joseph@codesourcery.com>
21041
21042 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21043 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21044
21045 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
21046
21047 * elf/dl-libc.c: Clear initfini list after freeing.
21048
21049 2013-10-14 Joseph Myers <joseph@codesourcery.com>
21050
21051 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21052 * soft-fp/addsf3.c: Likewise.
21053 * soft-fp/addtf3.c: Likewise.
21054 * soft-fp/divdf3.c: Likewise.
21055 * soft-fp/divsf3.c: Likewise.
21056 * soft-fp/divtf3.c: Likewise.
21057 * soft-fp/double.h: Likewise.
21058 * soft-fp/eqdf2.c: Likewise.
21059 * soft-fp/eqsf2.c: Likewise.
21060 * soft-fp/eqtf2.c: Likewise.
21061 * soft-fp/extenddftf2.c: Likewise.
21062 * soft-fp/extended.h: Likewise.
21063 * soft-fp/extendsfdf2.c: Likewise.
21064 * soft-fp/extendsftf2.c: Likewise.
21065 * soft-fp/extendxftf2.c: Likewise.
21066 * soft-fp/fixdfdi.c: Likewise.
21067 * soft-fp/fixdfsi.c: Likewise.
21068 * soft-fp/fixdfti.c: Likewise.
21069 * soft-fp/fixsfdi.c: Likewise.
21070 * soft-fp/fixsfsi.c: Likewise.
21071 * soft-fp/fixsfti.c: Likewise.
21072 * soft-fp/fixtfdi.c: Likewise.
21073 * soft-fp/fixtfsi.c: Likewise.
21074 * soft-fp/fixtfti.c: Likewise.
21075 * soft-fp/fixunsdfdi.c: Likewise.
21076 * soft-fp/fixunsdfsi.c: Likewise.
21077 * soft-fp/fixunsdfti.c: Likewise.
21078 * soft-fp/fixunssfdi.c: Likewise.
21079 * soft-fp/fixunssfsi.c: Likewise.
21080 * soft-fp/fixunssfti.c: Likewise.
21081 * soft-fp/fixunstfdi.c: Likewise.
21082 * soft-fp/fixunstfsi.c: Likewise.
21083 * soft-fp/fixunstfti.c: Likewise.
21084 * soft-fp/floatdidf.c: Likewise.
21085 * soft-fp/floatdisf.c: Likewise.
21086 * soft-fp/floatditf.c: Likewise.
21087 * soft-fp/floatsidf.c: Likewise.
21088 * soft-fp/floatsisf.c: Likewise.
21089 * soft-fp/floatsitf.c: Likewise.
21090 * soft-fp/floattidf.c: Likewise.
21091 * soft-fp/floattisf.c: Likewise.
21092 * soft-fp/floattitf.c: Likewise.
21093 * soft-fp/floatundidf.c: Likewise.
21094 * soft-fp/floatundisf.c: Likewise.
21095 * soft-fp/floatunsidf.c: Likewise.
21096 * soft-fp/floatunsisf.c: Likewise.
21097 * soft-fp/floatuntidf.c: Likewise.
21098 * soft-fp/floatuntisf.c: Likewise.
21099 * soft-fp/floatuntitf.c: Likewise.
21100 * soft-fp/fmadf4.c: Likewise.
21101 * soft-fp/fmasf4.c: Likewise.
21102 * soft-fp/fmatf4.c: Likewise.
21103 * soft-fp/gedf2.c: Likewise.
21104 * soft-fp/gesf2.c: Likewise.
21105 * soft-fp/getf2.c: Likewise.
21106 * soft-fp/ledf2.c: Likewise.
21107 * soft-fp/lesf2.c: Likewise.
21108 * soft-fp/letf2.c: Likewise.
21109 * soft-fp/muldf3.c: Likewise.
21110 * soft-fp/mulsf3.c: Likewise.
21111 * soft-fp/multf3.c: Likewise.
21112 * soft-fp/negdf2.c: Likewise.
21113 * soft-fp/negsf2.c: Likewise.
21114 * soft-fp/negtf2.c: Likewise.
21115 * soft-fp/op-1.h: Likewise.
21116 * soft-fp/op-2.h: Likewise.
21117 * soft-fp/op-4.h: Likewise.
21118 * soft-fp/op-8.h: Likewise.
21119 * soft-fp/op-common.h: Likewise.
21120 * soft-fp/quad.h: Likewise.
21121 * soft-fp/single.h: Likewise.
21122 * soft-fp/soft-fp.h: Likewise.
21123 * soft-fp/sqrtdf2.c: Likewise.
21124 * soft-fp/sqrtsf2.c: Likewise.
21125 * soft-fp/sqrttf2.c: Likewise.
21126 * soft-fp/subdf3.c: Likewise.
21127 * soft-fp/subsf3.c: Likewise.
21128 * soft-fp/subtf3.c: Likewise.
21129 * soft-fp/truncdfsf2.c: Likewise.
21130 * soft-fp/trunctfdf2.c: Likewise.
21131 * soft-fp/trunctfsf2.c: Likewise.
21132 * soft-fp/trunctfxf2.c: Likewise.
21133 * soft-fp/unorddf2.c: Likewise.
21134 * soft-fp/unordsf2.c: Likewise.
21135 * soft-fp/unordtf2.c: Likewise.
21136
21137 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
21138
21139 [BZ #15672]
21140 * misc/error.c (error_tail): Fix possible buffer overflow.
21141
21142 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21143
21144 [BZ #13028]
21145 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21146 address.
21147
21148 2013-10-14 P. J. McDermott <pj@pehjota.net>
21149
21150 [BZ #832]
21151 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21152 testing pipefail option.
21153
21154 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21155
21156 * soft-fp/double.h: Indent preprocessor directives inside #if.
21157 * soft-fp/extended.h: Likewise.
21158 * soft-fp/op-2.h: Likewise.
21159 * soft-fp/op-4.h: Likewise.
21160 * soft-fp/op-common.h: Likewise.
21161 * soft-fp/quad.h: Likewise.
21162 * soft-fp/single.h: Likewise.
21163 * soft-fp/soft-fp.h: Likewise.
21164
21165 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21166
21167 * iconv/iconv_prog.c: Fix typos.
21168 * stdio-common/psiginfo-data.h: Likewise.
21169
21170 2013-10-12 Reuben Thomas <rrt@sc3d.org>
21171
21172 [BZ #15764]
21173 * locale/setlocale.c: Fix typo.
21174
21175 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21176
21177 [BZ #16036]
21178 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21179 signaling NaN arguments.
21180 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21181 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21182
21183 [BZ #14910]
21184 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21185 unordered operands.
21186 * soft-fp/gesf2.c (__gesf2): Likewise.
21187 * soft-fp/getf2.c (__getf2): Likewise.
21188 * soft-fp/ledf2.c (__ledf2): Likewise.
21189 * soft-fp/lesf2.c (__lesf2): Likewise.
21190 * soft-fp/letf2.c (__letf2): Likewise.
21191
21192 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21193 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21194 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21195 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21196 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21197 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21198 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21199 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21200 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21201 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21202 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21203 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21204 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21205 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21206 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21207 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21208 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21209 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21210 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21211 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21212 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21213 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21214 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21215 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21216 * soft-fp/floattidf.c (__floattidf): Likewise.
21217 * soft-fp/floattisf.c (__floattisf): Likewise.
21218 * soft-fp/floattitf.c (__floattitf): Likewise.
21219 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21220 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21221 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21222 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21223 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21224 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21225 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21226 * soft-fp/gesf2.c (__gesf2): Likewise.
21227 * soft-fp/getf2.c (__getf2): Likewise.
21228 * soft-fp/ledf2.c (__ledf2): Likewise.
21229 * soft-fp/lesf2.c (__lesf2): Likewise.
21230 * soft-fp/letf2.c (__letf2): Likewise.
21231
21232 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21233 Undefine and redefine.
21234 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21235 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21236 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21237 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21238 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21239 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21240 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21241 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21242 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21243 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21244 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21245 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21246 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21247 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21248 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21249
21250 [BZ #16032]
21251 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21252 without decrementing exponent if mantissa >= that for the
21253 denominator, not >.
21254 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21255 denominator, not >. Decrement exponent in < case instead of
21256 incrementing in >= case.
21257 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21258 without decrementing exponent if mantissa >= that for the
21259 denominator, not >.
21260
21261 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21262 computing saturated result for unsigned overflow.
21263
21264 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21265 Jeff Law <law@redhat.com>
21266
21267 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21268 (atan2Mp): Add systemtap probe marker.
21269 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21270 (__ieee754_log): Add systemtap probe marker.
21271 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21272 (atanMp): Add systemtap probe marker.
21273 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21274 (tanMp): Add systemtap probe marker.
21275 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21276 (__slowexp): Add systemtap probe marker.
21277 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21278 (__slowpow): Add systemtap probe marker.
21279 * manual/probes.texi: Document probes.
21280
21281 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
21282
21283 [BZ #15362]
21284 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21285 written.
21286 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21287 written.
21288 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21289 written to buffer but not flushed.
21290 * libio/iofwrite_u.c: Likewise.
21291 * libio/iopadn.c: Return bytes returned even if EOF was
21292 encountered.
21293 * libio/iowpadn.c: Likewise.
21294 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21295 if _IO_padn does not write the whole buffer.
21296 [!COMPILE_WPRINTF] (PAD): Likewise.
21297
21298 2013-10-10 David S. Miller <davem@davemloft.net>
21299
21300 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21301 directory block.
21302
21303 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21304
21305 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21306 instead of FSF address.
21307 * soft-fp/fixdfti.c: Likewise.
21308 * soft-fp/fixsfti.c: Likewise.
21309 * soft-fp/fixtfti.c: Likewise.
21310 * soft-fp/fixunsdfti.c: Likewise.
21311 * soft-fp/fixunssfti.c: Likewise.
21312 * soft-fp/fixunstfti.c: Likewise.
21313 * soft-fp/floattidf.c: Likewise.
21314 * soft-fp/floattisf.c: Likewise.
21315 * soft-fp/floattitf.c: Likewise.
21316 * soft-fp/floatuntidf.c: Likewise.
21317 * soft-fp/floatuntisf.c: Likewise.
21318 * soft-fp/floatuntitf.c: Likewise.
21319 * soft-fp/trunctfxf2.c: Likewise.
21320
21321 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21322 * soft-fp/fixdfti.c: Likewise.
21323 * soft-fp/fixsfti.c: Likewise.
21324 * soft-fp/fixtfti.c: Likewise.
21325 * soft-fp/fixunsdfti.c: Likewise.
21326 * soft-fp/fixunssfti.c: Likewise.
21327 * soft-fp/fixunstfti.c: Likewise.
21328 * soft-fp/floattidf.c: Likewise.
21329 * soft-fp/floattisf.c: Likewise.
21330 * soft-fp/floattitf.c: Likewise.
21331 * soft-fp/floatuntidf.c: Likewise.
21332 * soft-fp/floatuntisf.c: Likewise.
21333 * soft-fp/floatuntitf.c: Likewise.
21334 * soft-fp/trunctfxf2.c: Likewise.
21335
21336 2013-10-10 David S. Miller <davem@davemloft.net>
21337
21338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21339
21340 2013-10-10 Joseph Myers <joseph@codsourcery.com>
21341
21342 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21343 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21344 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21345 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21346 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21347 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21348 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21349
21350 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21351 for NaNs before doing comparisons on argument.
21352 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21353 Likewise.
21354
21355 2013-10-10 Will Newton <will.newton@linaro.org>
21356
21357 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21358 passed to _int_memalign does not overflow.
21359
21360 2013-10-10 Torvald Riegel <triegel@redhat.com>
21361
21362 * scripts/bench.pl: Add include-sources directive.
21363 * benchtests/README: Update documentation.
21364
21365 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21366
21367 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21368 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21369 instead of FP_INIT_ROUNDMODE.
21370 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21371 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21372
21373 [BZ #16034]
21374 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21375 copy class of input value.
21376 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21377 not handle exceptions.
21378 * soft-fp/negsf2.c (__negsf2): Likewise.
21379 * soft-fp/negtf2.c (__negtf2): Likewise.
21380 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21381
21382 2013-10-09 Joseph Myers <joseph@codesourcery.com>
21383
21384 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21385 semicolon. From Linux kernel.
21386
21387 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21388
21389 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21390
21391 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21392
21393 [BZ #156]
21394 * manual/socket.texi: Added statement about buffer
21395 for gethostbyname2_r.
21396
21397 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
21398
21399 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21400 Use .p2align directive instead, throughout.
21401 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21402 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21403 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21404 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21405 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21406 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21407 * sysdeps/x86_64/strchr.S: Likewise.
21408 * sysdeps/x86_64/strrchr.S: Likewise.
21409
21410 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21411
21412 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21413
21414 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21415
21416 * sysdeps/generic/math_private.h (__mpsin1): Remove
21417 declaration.
21418 (__mpcos1): Likewise.
21419 (__mpsin): New argument __range_reduce.
21420 (__mpcos): Likewise.
21421 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21422 (slow): Use __mpsin and __mpcos.
21423 (slow1): Likewise.
21424 (slow2): Likewise.
21425 (sloww): Likewise.
21426 (sloww1): Likewise.
21427 (sloww2): Likewise.
21428 (bsloww): Likewise.
21429 (bsloww1): Likewise.
21430 (bsloww2): Likewise.
21431 (cslow2): Likewise.
21432 (csloww): Likewise.
21433 (csloww1): Likewise.
21434 (csloww2): Likewise.
21435 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21436 range_reduce. Merge in __mpsin1.
21437 (__mpcos): Likewise.
21438 (__mpsin1): Remove.
21439 (__mpcos1): Likewise.
21440
21441 2013-10-07 Joseph Myers <joseph@codesourcery.com>
21442
21443 * locale/loadlocale.c (_nl_intern_locale_data): Use
21444 LOCFILE_ALIGNED_P.
21445 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21446 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21447 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21448 obstack data is appropriately aligned.
21449 (obstack_int32_grow_fast): Likewise.
21450 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21451 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21452 (add_locale_uint32_array): Likewise.
21453
21454 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21455
21456 * benchtests/Makefile: Remove ARGLIST and RET variables.
21457 ($(objpfx)bench-%.c): Pass only function name to the script.
21458 * benchtests/README: Update documentation.
21459 * benchtests/acos-inputs: Add new directives.
21460 * benchtests/acosh-inputs: Likewise.
21461 * benchtests/asin-inputs: Likewise.
21462 * benchtests/asinh-inputs: Likewise.
21463 * benchtests/atan-inputs: Likewise.
21464 * benchtests/atanh-inputs: Likewise.
21465 * benchtests/cos-inputs: Likewise.
21466 * benchtests/cosh-inputs: Likewise.
21467 * benchtests/exp-inputs: Likewise.
21468 * benchtests/log-inputs: Likewise.
21469 * benchtests/pow-inputs: Likewise.
21470 * benchtests/rint-inputs: Likewise.
21471 * benchtests/sin-inputs: Likewise.
21472 * benchtests/sinh-inputs: Likewise.
21473 * benchtests/tan-inputs: Likewise.
21474 * benchtests/tanh-inputs: Likewise.
21475 * scripts/bench.pl: Add support for new directives.
21476
21477 2013-10-07 Alan Modra <amodra@gmail.com>
21478
21479 * README: Fix careless merge.
21480
21481 2013-10-05 Alan Modra <amodra@gmail.com>
21482
21483 * NEWS: Mention powerpc64le support and bugs fixed.
21484 * README: Both big-endian and little-endian powerpc64 supported.
21485
21486 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21487
21488 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21489 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21490 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21491 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21492
21493 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21494
21495 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21496 match prototype.
21497
21498 2013-10-04 Joseph Myers <joseph@codesourcery.com>
21499
21500 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21501 Move -mhard-float appending from
21502 ports/sysdeps/powerpc/powerpc32/Makefile.
21503 [$(with-fp) = yes] (ASFLAGS): Likewise.
21504 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21505 * sysdeps/powerpc/nofpu: Move directory from
21506 ports/sysdeps/powerpc/nofpu.
21507 * sysdeps/powerpc/soft-fp: Move directory from
21508 ports/sysdeps/powerpc/soft-fp.
21509 * sysdeps/powerpc/powerpc32/405: Move directory from
21510 ports/sysdeps/powerpc/powerpc32/405.
21511 * sysdeps/powerpc/powerpc32/440: Move directory from
21512 ports/sysdeps/powerpc/powerpc32/440.
21513 * sysdeps/powerpc/powerpc32/464: Move directory from
21514 ports/sysdeps/powerpc/powerpc32/464.
21515 * sysdeps/powerpc/powerpc32/476: Move directory from
21516 ports/sysdeps/powerpc/powerpc32/476.
21517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21518 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21520 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21522 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21524 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21526 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21527 * README: Update for powerpc-*-linux-gnu software floating point
21528 support in libc.
21529
21530 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21531 case to powerpc/powerpc32*.
21532 * sysdeps/unix/sysv/linux/configure: Regenerated.
21533
21534 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21535 (_FPU_MASK_OM): Define as 0x04.
21536 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21537 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21538 0x00c10080.
21539 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21540 0x0000003c.
21541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21542
21543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21544 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21545 getcontext_e500.
21546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21547 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21548 setcontext_e500.
21549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21550 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21551 and setcontext_e500.
21552
21553 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21554
21555 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21556
21557 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21558
21559 * manual/threads.texi (Default Thread Attributes): Fix typo.
21560
21561 2013-10-04 Will Newton <will.newton@linaro.org>
21562
21563 * malloc/Makefile: Add tst-memalign.
21564 * malloc/tst-memalign.c: New file.
21565
21566 * malloc/tst-posix_memalign.c: Add comments.
21567 (do_test): Add comments and call free on all potentially
21568 allocated pointers. Add space after cast.
21569
21570 * malloc/tst-pvalloc.c: Add comments.
21571 (do_test): Add comments and call free on all potentially
21572 allocated pointers. Remove duplicate check for NULL pointer.
21573 Add space after cast.
21574
21575 * malloc/tst-valloc.c: Add comments.
21576 (do_test): Add comments and call free on all potentially
21577 allocated pointers. Remove duplicate check for NULL pointer.
21578 Add space after cast.
21579
21580 2013-10-04 Alan Modra <amodra@gmail.com>
21581
21582 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21583 Use stdint types in rather than __attribute__((mode())).
21584 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21585
21586 2013-10-04 Alan Modra <amodra@gmail.com>
21587
21588 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21589 Correct handling of unaligned relocs for little-endian.
21590 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21591
21592 2013-10-04 Alan Modra <amodra@gmail.com>
21593
21594 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21595 * configure: Regenerate.
21596 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21597 * shlib-versions: Likewise.
21598
21599 2013-10-04 Alan Modra <amodra@gmail.com>
21600
21601 * string/tester.c (test_memrchr): Increment reported test cycle.
21602
21603 2013-10-04 Alan Modra <amodra@gmail.com>
21604
21605 * string/test-memcpy.c (do_one_test): When reporting errors, print
21606 string address and don't overrun end of string.
21607
21608 2013-10-04 Alan Modra <amodra@gmail.com>
21609
21610 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21611 insrdi. Make better use of reg selection to speed exit slightly.
21612 Schedule entry path a little better. Remove useless "are we done"
21613 checks on entry to main loop. Handle wrapping around zero address.
21614 Correct main loop count. Handle single left-over word from main
21615 loop inline rather than by using loop_small. Remove extra word
21616 case in loop_small caused by wrong loop count. Add little-endian
21617 support.
21618 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21619 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21620 cache hint.
21621 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21622 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21623 support. Avoid rlwimi.
21624 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21625
21626 2013-10-04 Alan Modra <amodra@gmail.com>
21627
21628 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21629 insrdi. Formatting.
21630 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21631 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21632 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21633 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21634 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21635 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21636
21637 2013-10-04 Alan Modra <amodra@gmail.com>
21638
21639 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21640 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21641 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21642 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21643 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21644 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21645 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21646 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21647 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21648 use of regs. Use power7 mtocrf. Tidy function tails.
21649
21650 2013-10-04 Alan Modra <amodra@gmail.com>
21651
21652 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21653 Formatting. Consistently use rXXX register defines or rN defines.
21654 Use early exit labels that avoid restoring unused non-volatile regs.
21655 Make cr field use more consistent with rWORDn compares. Rename
21656 regs used as shift registers for unaligned loop, using rN defines
21657 for short lifetime/multiple use regs.
21658 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21659 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21660 addi 1,1,64 to pop stack frame. Simplify return value code.
21661 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21662
21663 2013-10-04 Alan Modra <amodra@gmail.com>
21664
21665 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21666 support. Correct typos, formatting. Optimize tail. Use insrdi
21667 rather than rlwimi.
21668 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21669 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21670 little-endian support. Correct typos.
21671 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21672 rather than rlwimi.
21673 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21674 in loop and entry code to keep "and." results.
21675 (strchr): Add little-endian support. Comment. Move cntlzd
21676 earlier in tail.
21677 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21678
21679 2013-10-04 Alan Modra <amodra@gmail.com>
21680
21681 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21682 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21683 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21684 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21685
21686 2013-10-04 Alan Modra <amodra@gmail.com>
21687
21688 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21689 (rTMP): Define as r11.
21690 (strcmp): Add little-endian support. Optimise tail.
21691 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21692 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21693 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21694 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21695 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21696 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21697 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21698
21699 2013-10-04 Alan Modra <amodra@gmail.com>
21700
21701 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21702 little-endian support. Remove unnecessary "are we done" tests.
21703 Handle "s" wrapping around zero and extremely large "size".
21704 Correct main loop count. Handle single left-over word from main
21705 loop inline rather than by using small_loop. Correct comments.
21706 Delete "zero" tail, use "end_max" instead.
21707 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21708
21709 2013-10-04 Alan Modra <amodra@gmail.com>
21710
21711 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21712 support. Don't branch over align.
21713 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21714 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21715 support. Rearrange tmp reg use to suit. Comment.
21716 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21717
21718 2013-10-04 Alan Modra <amodra@gmail.com>
21719
21720 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21721
21722 2013-10-04 Alan Modra <amodra@gmail.com>
21723
21724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21725 conditional form of branch and link when obtaining pc.
21726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21727
21728 2013-10-04 Alan Modra <amodra@gmail.com>
21729
21730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21731 HIWORD/LOWORD.
21732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21734
21735 2013-10-04 Alan Modra <amodra@gmail.com>
21736
21737 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21738 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21739 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21740 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21741 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21742 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21743 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21744 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21745 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21746 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21747
21748 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21749 Alistair Popple <alistair@ozlabs.au.ibm.com>
21750 Alan Modra <amodra@gmail.com>
21751
21752 [BZ #15723]
21753 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21754 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21755 _dl_hwcap access for little-endian.
21756 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21757 destroy vmx regs when saving unaligned.
21758 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21759 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21760 destroy vmx regs when saving unaligned.
21761
21762 2013-10-04 Alan Modra <amodra@gmail.com>
21763
21764 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21765 Don't use a union to pack hi/low value.
21766
21767 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21768
21769 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21770 for little-endian.
21771 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21772 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21773 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21774 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21775 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21776
21777 2013-10-04 Alan Modra <amodra@gmail.com>
21778
21779 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21780 constants to usual value for .cst8 section, and remove redundant
21781 high address load.
21782 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21783 constant for 0x1p52. Load little-endian words of double from
21784 correct stack offsets.
21785
21786 2013-10-04 Alan Modra <amodra@gmail.com>
21787
21788 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21789 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21790 words of double from correct stack offsets.
21791 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21792 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21793 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21794 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21795 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21796 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21797 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21798 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21799 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21800 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21801 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21802 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21803 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21804 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21805 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21806 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21807 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21808
21809 2013-10-04 Alan Modra <amodra@gmail.com>
21810
21811 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21812 64-bit int/double union.
21813 (_FPU_SETCW): Likewise.
21814 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21815 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21816
21817 2013-10-04 Alan Modra <amodra@gmail.com>
21818
21819 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21820 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21821
21822 2013-10-04 Alan Modra <amodra@gmail.com>
21823
21824 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21825 use vector int constants.
21826 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21827
21828 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21829
21830 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21831 array with long long.
21832 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21833 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21834 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21835 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21836 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21837 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21838 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21839 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21840 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21841 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21842 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21843 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21844 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21845
21846 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21847
21848 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21849 (__signbit): Likewise. Correct for little-endian.
21850 (__signbitl): Call __signbit.
21851 (lrint): Correct for little-endian.
21852 (lrintf): Call lrint.
21853
21854 2013-10-04 Alan Modra <amodra@gmail.com>
21855
21856 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21857 union 32-bit int array member with 64-bit int array.
21858 (t515, tm256): Double rather than long double.
21859 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21860
21861 2013-10-04 Alan Modra <amodra@gmail.com>
21862
21863 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21864 Delete.
21865 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21866 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21867 version of math_ldbl.h.
21868
21869 2013-10-04 Alan Modra <amodra@gmail.com>
21870
21871 [BZ #15734], [BZ #15735]
21872 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21873 all uses of ieee875 long double macros and unions. Simplify test
21874 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21875 ldbl_extract_mantissa value for ix,iy exponents. Properly
21876 normalize after ldbl_extract_mantissa, and don't add hidden bit
21877 already handled. Don't treat low word of ieee854 mantissa like
21878 low word of IBM long double and mask off bit when testing for
21879 zero.
21880 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21881 all uses of ieee875 long double macros and unions. Simplify tests
21882 for 0.0L and inf. Correct double adjustment of k. Delete dead code
21883 adjusting ha,hb. Simplify code setting kld. Delete two600 and
21884 two1022, instead use their values. Recognise that tests for large
21885 "a" and small "b" are mutually exclusive. Rename vars. Comment.
21886 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21887 Rewrite all uses of ieee875 long double macros and unions. Simplify
21888 test for 0.0L and nan. Correct negation.
21889 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21890 ieee875 long double macros and unions. Correct output for large
21891 magnitude x. Correct absolute value calculation.
21892 (__erfcl): Likewise.
21893 * math/libm-test.inc: Add tests for errors discovered in IBM long
21894 double versions of fmodl, remainderl, erfl and erfcl.
21895
21896 2013-10-04 Alan Modra <amodra@gmail.com>
21897
21898 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21899 all uses of ieee854 long double macros and unions. Simplify tests
21900 for long doubles that are fully specified by the high double.
21901 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21902 Likewise.
21903 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21904 Remove dead code too.
21905 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21906 (__ieee754_ynl): Likewise.
21907 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21908 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21909 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21910 Remove dead code too.
21911 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21912 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21913 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21914 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21915 Simplify.
21916 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21917 Simplify.
21918 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21919 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21920 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21921 Comment on variable precision.
21922 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21923 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21924 Likewise.
21925 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21926 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21927 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21928 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21929 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21930
21931 2013-10-04 Alan Modra <amodra@gmail.com>
21932
21933 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21934 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21935 all uses of ieee854 long double macros and unions.
21936 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21937 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21938 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21939 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21940 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21941 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21942 Likewise.
21943 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21944 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21945 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21946 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21947 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21948 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21949 Simplify sign and nan test too.
21950 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21951 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21952 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21953 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21954 Likewise.
21955 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21956 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21957 Likewise.
21958 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21959 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21960 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21961 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21962 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21963 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21964
21965 2013-10-04 Alan Modra <amodra@gmail.com>
21966
21967 * stdio-common/printf_size.c (__printf_size): Don't use
21968 union ieee854_long_double in fpnum union.
21969 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
21970 signbit macro to retrieve sign from long double.
21971 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21972 retrieve sign from long double.
21973 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21974 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21975 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21976 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21977 * math/test-misc.c (main): Don't use union ieee854_long_double.
21978
21979 2013-10-04 Alan Modra <amodra@gmail.com>
21980
21981 [BZ #15680]
21982 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21983 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21984 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21985 calculation. Remove unnecessary test for denormal exponent.
21986 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21987 Correct handling of denormals. Avoid undefined shift behaviour.
21988 Correct normalisation of low mantissa when low double is denormal.
21989 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21990 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
21991 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21992 Correct normalisation of low mantissa. Test for overflow of high
21993 mantissa and normalise.
21994 (ldbl_nearbyint): Use more readable constant for two52.
21995 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21996 (__mpn_construct_long_double): Fix test for overflow of high
21997 mantissa and correct normalisation. Avoid undefined shift.
21998
21999 2013-10-04 Alan Modra <amodra@gmail.com>
22000
22001 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22002 (union ibm_extended_long_double): Define as an array of ieee754_double.
22003 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22004 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22005 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22006 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22007 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22008 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22009 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22010 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22011 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22012 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22013 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22014
22015 2013-10-03 Joseph Myers <joseph@codesourcery.com>
22016
22017 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22018 page size instead of calling getpagesize.
22019
22020 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22021 (LOCFILE_ALIGN_MASK): Likewise.
22022 (LOCFILE_ALIGN_UP): Likewise.
22023 (LOCFILE_ALIGNED_P): Likewise.
22024 * locale/programs/ld-collate.c (collate_output): Use the new
22025 macros instead of __alignof__ (int32_t).
22026 * locale/weight.h (findidx): Likewise.
22027
22028 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
22029
22030 [BZ #431]
22031 * manual/string.texi: Fix strncat and wcsncat.
22032
22033 2013-10-03 Brooks Moses <bmoses@google.com>
22034
22035 [BZ #15915]
22036 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22037 * Makerules: ...here, and adjust associated comments.
22038
22039 2013-10-02 Will Newton <will.newton@linaro.org>
22040
22041 * malloc/Makefile: Add tst-pvalloc.
22042 * malloc/tst-pvalloc.c: New file.
22043
22044 2013-10-02 Will Newton <will.newton@linaro.org>
22045
22046 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22047 improve test coverage.
22048
22049 2013-10-02 Will Newton <will.newton@linaro.org>
22050
22051 * malloc/Makefile: Add tst-posix_memalign.
22052 * malloc/tst-posix_memalign.c: New file.
22053
22054 2013-10-01 Eric Blake <eblake@redhat.com>
22055
22056 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22057 Use __THROWNL rather than __THROW on static functions.
22058
22059 2013-09-30 Petr Machata <pmachata@redhat.com>
22060
22061 * elf/elf.h (R_AARCH64_ABS16): New macro.
22062 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22063 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22064 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22065 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22066 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22067 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22068 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22069 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22070 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22071 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22072 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22073 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22074 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22075 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22076 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22077 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22078 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22079 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22080 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22081 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22082 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22083 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22084 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22085 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22086 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22087 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22088 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22089 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22090 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22091 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22092 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22093 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22094 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22095 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22096 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22097 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22098 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22099 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22100 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22101 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22102 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22103 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22104 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22105 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22106 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22107 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22108 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22109 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22110 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22111 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22112 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22113 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22114 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22115 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22116 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22117 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22118 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22119 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22120 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22121 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22122 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22123 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22124 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22125 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22126 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22127 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22128 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22129 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22130 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22131 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22132 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22133 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22134 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22135 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22136 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22137 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22138 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22139 (R_AARCH64_TLSDESC_LDR): Likewise.
22140 (R_AARCH64_TLSDESC_ADD): Likewise.
22141 (R_AARCH64_TLSDESC_CALL): Likewise.
22142
22143 2013-09-30 Andreas Schwab <schwab@suse.de>
22144
22145 [BZ #15048]
22146 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22147 the nss database lookup.
22148 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22149 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22150
22151 2013-09-28 Mike Frysinger <vapier@gentoo.org>
22152
22153 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22154
22155 2013-09-28 P. J. McDermott <pj@pehjota.net>
22156
22157 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22158 ${Bash-specific parameter/pattern/string} parameter expansion.
22159 * sysdeps/unix/make-syscalls.sh: Likewise.
22160
22161 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22162
22163 * sysdeps/sh/stackguard-macros.h: New file.
22164
22165 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
22166
22167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22168 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22169 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22170 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22171 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22172 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22173
22174 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22175
22176 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22177 Fix thread ID register.
22178
22179 2013-09-25 Joseph Myers <joseph@codesourcery.com>
22180
22181 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22182 [POSIX || UNIX98]: Require rather than permitting all symbols from
22183 <time.h>.
22184 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22185 element of struct sched_param.
22186 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22187 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22188 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22189 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22190 constant.
22191
22192 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22193
22194 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22195 argument calculation.
22196
22197 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22198
22199 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22200 Expect macro.
22201 [POSIX] (pthread_attr_t): Do not require type.
22202 [POSIX] (pthread_cond_t): Likewise.
22203 [POSIX] (pthread_condattr_t): Likewise.
22204 [POSIX] (pthread_key_t): Likewise.
22205 [POSIX] (pthread_mutex_t): Likewise.
22206 [POSIX] (pthread_mutexattr_t): Likewise.
22207 [POSIX] (pthread_once_t): Likewise.
22208 [POSIX] (pthread_t): Likewise.
22209 [POSIX-based standards] (pthread_atfork): Expect function.
22210
22211 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22212 Richard Sandiford <richard@codesourcery.com>
22213
22214 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22215 (swap_endianness_p): New extern variable.
22216 (set_big_endian): New inline function.
22217 (maybe_swap_uint32): Likewise.
22218 (maybe_swap_uint32_array): Likewise.
22219 (maybe_swap_uint32_obstack): Likewise.
22220 * locale/programs/locfile.c: Include <stdbool.h>.
22221 (swap_endianness_p): New variable.
22222 (add_locale_uint32): Call maybe_swap_uint32.
22223 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22224 (write_locale_data): Call maybe_swap_uint32_array.
22225 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22226 maybe_swap_uint32.
22227 (obstack_int32_grow_fast): Likewise.
22228 (output_weightwc): Call maybe_swap_uint32_obstack.
22229 (collate_output): Likewise.
22230 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22231 (OPT_LITTLE_ENDIAN): Likewise.
22232 (options): Add --little-endian and --big-endian options.
22233 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22234 * locale/programs/locarchive.c: Include "locfile.h".
22235 (GET): New macro.
22236 (SET): Likewise.
22237 (INC): Likewise.
22238 (create_archive): Use the new macros to access fields of
22239 structures directly mapped from or written to locale archives.
22240 (oldlocrecentcmp): Likewise.
22241 (enlarge_archive): Likewise.
22242 (insert_name): Likewise.
22243 (add_alias): Likewise.
22244 (add_locale): Likewise.
22245 (delete_locales_from_archive): Likewise.
22246 (show_archive_content): Likewise.
22247 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22248 locale data.
22249
22250 2013-09-24 Roland McGrath <roland@hack.frob.com>
22251
22252 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22253 http://www.gnu.org/doc/freemanuals.texi.
22254 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22255
22256 2013-09-24 Will Newton <will.newton@linaro.org>
22257
22258 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22259 macro.
22260
22261 2013-09-23 Joseph Myers <joseph@codesourcery.com>
22262
22263 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22264 unsigned char.
22265
22266 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22267
22268 * manual/threads.texi (POSIX Threads): Fix a typo.
22269
22270 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22271
22272 [BZ #14547]
22273 * string/tst-strcoll-overflow.c: New test case.
22274 * string/Makefile (xtests): Add tst-strcoll-overflow.
22275 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22276 cache if string sizes may cause integer overflow.
22277
22278 [BZ #14547]
22279 * string/strcoll_l.c (coll_seq): New members rule, idx,
22280 save_idx and back_us.
22281 (get_next_seq_nocache): New function.
22282 (do_compare_nocache): New function.
22283 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22284 when malloc fails.
22285
22286 2013-09-23 Carlos O'Donell <carlos@redhat.com>
22287
22288 [BZ #15754]
22289 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22290 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22291 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22292
22293 [BZ #15754]
22294 * elf/Makefile (tests): Add tst-ptrguard1.
22295 (tests-static): Add tst-ptrguard1-static.
22296 (tst-ptrguard1-ARGS): Define.
22297 (tst-ptrguard1-static-ARGS): Define.
22298 * elf/tst-ptrguard1.c: New file.
22299 * elf/tst-ptrguard1-static.c: New file.
22300 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22301 * sysdeps/i386/stackguard-macros.h: Likewise.
22302 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22303 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22304 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22305 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22306 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22307 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22308
22309 2013-09-23 Hector Marco <hecmargi@upv.es>
22310 Ismael Ripoll <iripoll@disca.upv.es>
22311 Carlos O'Donell <carlos@redhat.com>
22312
22313 [BZ #15754]
22314 * sysdeps/generic/stackguard-macros.h: Define
22315 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22316 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22317 Define __pointer_chk_guard_local.
22318 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22319 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22320
22321 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22322
22323 [BZ #15859]
22324 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22325
22326 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22327
22328 * include/string.h (__ffs): Declare as hidden.
22329 * string/ffs.c (__ffs): Define as hidden.
22330 * sysdeps/i386/ffs.c (__ffs): Likewise.
22331 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22332 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22333 * sysdeps/s390/ffs.c (__ffs): Likewise.
22334 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22335
22336 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
22337
22338 * NEWS: Mention malloc probes.
22339
22340 * malloc/arena.c (new_heap): New memory_heap_new probe.
22341 (grow_heap): New memory_heap_more probe.
22342 (shrink_heap): New memory_heap_less probe.
22343 (heap_trim): New memory_heap_free probe.
22344 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22345 (systrim): New memory_sbrk_less probe.
22346 * manual/probes.texi: Document them.
22347
22348 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22349 * manual/probes.texi: Document it.
22350
22351 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22352 (__libc_realloc): Add memory_realloc_retry probe.
22353 (__libc_memalign): Add memory_memalign_retry probe.
22354 (__libc_valloc): Add memory_valloc_retry probe.
22355 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22356 (__libc_calloc): Add memory_calloc_retry probe.
22357 * manual/probes.texi: Document them.
22358
22359 * malloc/arena.c (get_free_list): Add probe
22360 memory_arena_reuse_free_list.
22361 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22362 and memory_arena_reuse.
22363 (arena_get2) [!PER_THREAD]: Likewise.
22364 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22365 memory_arena_reuse_realloc.
22366 * manual/probes.texi: Document them.
22367
22368 * malloc/malloc.c (__libc_free): Add
22369 memory_mallopt_free_dyn_thresholds probe.
22370 (__libc_mallopt): Add multiple memory_mallopt probes.
22371 * manual/probes.texi: Document them.
22372
22373 * malloc/malloc.c: Include stap-probe.h.
22374 (__libc_mallopt): Add memory_mallopt probe.
22375 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22376 * manual/probes.texi: New.
22377 * manual/Makefile (chapters): Add probes.
22378 * manual/threads.texi: Set next node.
22379
22380 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
22381
22382 [BZ #15963, #13985]
22383 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22384 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22385 Add `Chinese' to `nan' entry name.
22386
22387 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22388
22389 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22390 (POLYNOMIAL): Likewise.
22391 (TAYLOR_SINCOS): Likewise.
22392 (TAYLOR_SLOW): Likewise.
22393 (__sin): Use TAYLOR_SINCOS.
22394 (__cos): Likewise.
22395 (slow): Use TAYLOR_SLOW.
22396 (sloww): Likewise.
22397 (bsloww): Likewise.
22398 (csloww): Likewise.
22399
22400 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22401
22402 * stdlib/strtod_l.c: Fix buffer overrun.
22403
22404 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22405
22406 * benchtests/Makefile (bench): Add sincos.
22407 * benchtests/bench-sincos.c: New file.
22408
22409 * math/libm-test.inc (cos_test_data): New test inputs.
22410 (sin_test_data): Likewise.
22411
22412 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22413 macro.
22414 (__sin): Use it.
22415 (__cos): Likewise.
22416 (slow1): Likewise.
22417 (slow2): Likewise.
22418 (sloww1): Likewise.
22419 (sloww2): Likewise.
22420 (bsloww1): Likewise.
22421 (bsloww2): Likewise.
22422 (cslow2): Likewise.
22423 (csloww1): Likewise.
22424 (csloww2): Likewise.
22425
22426 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22427 function.
22428 (__sin): Use it.
22429 (__cos): Likewise.
22430
22431 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22432 gotos.
22433 (__cos): Likewise.
22434
22435 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22436
22437 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22438 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22439 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22440 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22441 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22442 * elf/cache.c (print_entry): Handle the new cache flags.
22443
22444 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22445 Aldy Hernandez <aldyh@redhat.com>
22446
22447 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22448 Change condition to [_SOFT_FLOAT].
22449 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22450 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22451 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22452 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22458 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22459 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22461 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22462 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22463 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22464 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22465 declaration.
22466
22467 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22468
22469 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22470 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22471 (__longjmp): Use LOAD_GP to load saved GPRs.
22472 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22473 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22474 (__sigsetjmp): Use SAVE_GP to save GPRs.
22475
22476 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22477 Do not append -msoft-float.
22478 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22479
22480 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22481
22482 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22483
22484 2013-09-17 Joseph Myers <joseph@codesourcery.com>
22485
22486 [BZ #15966]
22487 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22488 (_FPU_GETCW): Use initial "__" on variable and field names but not
22489 on macro parameter name.
22490 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22491 parentheses around reference to macro parameter.
22492
22493 2013-09-13 Richard Sandiford <richard@codesourcery.com>
22494
22495 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22496 prototype.
22497 (ctype_startup): Use uint32_t in cast and sizeof for
22498 ctype->charnames.
22499
22500 2013-09-11 Jia Liu <proljc@gmail.com>
22501
22502 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22503 __daddr_t_defined.
22504 [__FreeBSD__]: Likewise.
22505
22506 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
22507
22508 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22509 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22510 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22511 (strchr): Remove __strchr_sse42 ifunc selection.
22512 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22513 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22514
22515 2013-09-11 Will Newton <will.newton@linaro.org>
22516
22517 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22518 parameter to RES. Remove hardcoded 1000 value.
22519 * benchtests/bench-skeleton.c (main): Pass RES parameter
22520 to TIMING_INIT and multiply result by 1000.
22521
22522 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22523
22524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22525
22526 2013-09-11 Andreas Schwab <schwab@suse.de>
22527
22528 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22529 if not defined.
22530 (O_TMPFILE) [__USE_GNU]: Define.
22531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22532 Define.
22533
22534 2013-09-11 Will Newton <will.newton@linaro.org>
22535
22536 [BZ #15857]
22537 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22538 does not overflow.
22539
22540 2013-09-11 Will Newton <will.newton@linaro.org>
22541
22542 [BZ #15856]
22543 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22544 does not overflow.
22545
22546 2013-09-11 Will Newton <will.newton@linaro.org>
22547
22548 [BZ #15855]
22549 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22550 does not overflow.
22551
22552 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
22553
22554 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22555 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22556 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22557 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22558 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22559
22560 2013-09-10 Allan McRae <allan@archlinux.org>
22561
22562 [BZ #15748]
22563 * manual/arith.texi (Parsing of Floats): Clarify
22564 cross-reference.
22565
22566 [BZ #15849]
22567 * manual/install.texi (Running make install): Mention
22568 --enable-pt-chown.
22569 * INSTALL: Regenerated.
22570
22571 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22572
22573 * csu/init-first.c (_init): Remove the !SHARED condition around
22574 FPU control word initialization.
22575 * elf/dl-support.c (_dl_fpu_control): New variable.
22576 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22577 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22578 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22579 * math/test-fpucw-static.c: New file.
22580 * math/test-fpucw-ieee.c: New file.
22581 * math/test-fpucw-ieee-static.c: New file.
22582 * math/Makefile (tests): Add `test-fpucw-ieee' and
22583 `$(tests-static)'.
22584 (tests-static): New variable.
22585 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22586 dependency to...
22587 [($(build-shared),yes)]
22588 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22589 ... this.
22590 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22591 New dependency.
22592
22593 2013-09-09 Allan McRae <allan@archlinux.org>
22594
22595 [BZ #15939]
22596 * manual/string.texi (Collation Functions): Fix typo in
22597 strcoll example.
22598 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22599
22600 [BZ #15893]
22601 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22602
22603 [BZ #15892]
22604 * libio/memstream.c (open_memstream): Fix memory leak.
22605 * libio/wmemstream.c (open_wmemstream): Likewise.
22606
22607 [BZ #15895]
22608 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22609
22610 2013-09-09 Will Newton <will.newton@linaro.org>
22611
22612 * malloc/Makefile: Add tst-realloc to tests.
22613 * malloc/tst-realloc.c: New file.
22614
22615 2013-09-09 Allan McRae <allan@archlinux.org>
22616
22617 [BZ #15844]
22618 * COPYING: Update from GNU website to fix FSF address.
22619 * COPYING.LIB: Likewise.
22620
22621 2013-09-06 David S. Miller <davem@davemloft.net>
22622
22623 * po/zh_TW.po: Update Chinese (traditional) translation from
22624 translation project.
22625
22626 2013-09-06 Richard Sandiford <richard@codesourcery.com>
22627 Joseph Myers <joseph@codesourcery.com>
22628
22629 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22630 "localeinfo.h".
22631 (obstack_chunk_alloc): New macro.
22632 (obstack_chunk_free): Likewise.
22633 (record_offset): New function.
22634 (init_locale_data): Likewise.
22635 (align_locale_data): Likewise.
22636 (add_locale_empty): Likewise.
22637 (add_locale_raw_data): Likewise.
22638 (add_locale_raw_obstack): Likewise.
22639 (add_locale_string): Likewise.
22640 (add_locale_wstring): Likewise.
22641 (add_locale_uint32): Likewise.
22642 (add_locale_uint32_array): Likewise.
22643 (add_locale_char): Likewise.
22644 (start_locale_structure): Likewise.
22645 (end_locale_structure): Likewise.
22646 (start_locale_prelude): Likewise.
22647 (end_locale_prelude): Likewise.
22648 (write_locale_data): Take locale_file structure rather than an
22649 iovec.
22650 * locale/programs/locfile.h: Include "obstack.h".
22651 (struct locale_file): Change to store locale file contents instead
22652 of header.
22653 (init_locale_data): New prototype.
22654 (align_locale_data): Likewise.
22655 (add_locale_empty): Likewise.
22656 (add_locale_raw_data): Likewise.
22657 (add_locale_raw_obstack): Likewise.
22658 (add_locale_string): Likewise.
22659 (add_locale_wstring): Likewise.
22660 (add_locale_uint32): Likewise.
22661 (add_locale_uint32_array): Likewise.
22662 (add_locale_char): Likewise.
22663 (start_locale_structure): Likewise.
22664 (end_locale_structure): Likewise.
22665 (start_locale_prelude): Likewise.
22666 (end_locale_prelude): Likewise.
22667 (write_locale_data): Update prototype.
22668 * locale/programs/3level.h (struct TABLE): Remove result field.
22669 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22670 Use new locale_file interface.
22671 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22672 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22673 * locale/programs/ld-address.c (address_output): Use new
22674 locale_file interface.
22675 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22676 NO_ADD_LOCALE.
22677 (collate_finish): Don't call collseq_table_finalize.
22678 (collate_output): Use new locale_file interface.
22679 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22680 in file.
22681 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22682 (TABLE): Move defines earlier in file.
22683 (ELEMENT): Likewise.
22684 (DEFAULT): Likewise.
22685 (wctrans_table_add): Move macro and inline function earlier in
22686 file.
22687 (struct wctype_table): Move type earlier in file.
22688 (add_locale_wctype_table): New static prototype.
22689 (struct locale_ctype_t): Use logical types instead of struct iovec
22690 pointers for members.
22691 (ctype_output): Use new locale_file interface.
22692 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22693 new locale_file interface.
22694 (allocate_arrays): Update for use of new locale_file interface.
22695 * locale/programs/ld-identification.c (identification_output): Use
22696 new locale_file interface.
22697 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22698 * locale/programs/ld-messages.c (messages_output): Likewise.
22699 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22700 * locale/programs/ld-name.c (name_output): Likewise.
22701 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22702 * locale/programs/ld-paper.c (paper_output): Likewise.
22703 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22704 * locale/programs/ld-time.c (time_output): Likewise.
22705
22706 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22707
22708 * benchtests/Makefile: Add memrchr benchmark.
22709 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22710 benchmark as memrchr.
22711 * benchtests/bench-memrchr-ifunc.c: New file.
22712 * benchtests/bench-memrchr.c: New file.
22713
22714 2013-09-06 Will Newton <will.newton@linaro.org>
22715
22716 * benchtests/Makefile (string-bench): Add memcpy.
22717
22718 2013-09-05 Carlos O'Donell <carlos@redhat.com>
22719 Cong Wang <amwang@redhat.com>
22720
22721 [BZ #15850]
22722 * sysdeps/unix/sysv/linux/bits/in.h
22723 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22724 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22725 before __USE_KERNEL_IPV6_DEFS uses.
22726 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22727 IPPROTO_BEETPH.
22728 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22729 sockaddr_in6, or ipv6_mreq.
22730
22731 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22732
22733 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22734 memory access for final bytes in some large inputs.
22735 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22736
22737 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22738
22739 * string/test-memrchr.c: New file.
22740 * string/test-memrchr-ifunc.c: New file.
22741 * string/Makefile: Add new memrchr testcase.
22742
22743 2013-09-05 Mike Frysinger <vapier@gentoo.org>
22744
22745 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22746 fanotify_init returns EPERM.
22747
22748 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22749
22750 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22751 errors.
22752 (top level): Treat second token from macro or constant entries for
22753 allowed headers as allowed.
22754 * include/complex.h: Condition internal declarations on
22755 [!_ISOMAC].
22756 * include/fenv.h: Condition include of <stdbool.h> and internal
22757 declarations on [!_ISOMAC].
22758
22759 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22760
22761 [BZ #15923]
22762 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22763
22764 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22765
22766 * configure.in (--enable-versioning): Remove configure option.
22767 (libc_cv_asm_symver_directive): Remove configure test.
22768 (libc_cv_ld_version_script_option): Likewise.
22769 (VERSIONING): Remove variable and AC_SUBST.
22770 (DO_VERSIONING): Remove AC_DEFINE.
22771 * configure: Regenerated.
22772 * config.h.in (DO_VERSIONING): Remove macro.
22773 * Makerules [$(versioning) = yes]: Change conditionals to
22774 [$(build-shared) = yes].
22775 * config.make.in (versioning): Remove variable.
22776 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22777 [$(build-shared) = yes].
22778 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22779 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22780 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22781 [$(build-shared) = yes].
22782 * extra-lib.mk [$(versioning) = yes]: Likewise.
22783 * hurd/Makefile [$(versioning) = yes]: Likewise.
22784 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22785 [SHARED].
22786 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22787 [SHARED].
22788 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22789 [SHARED && !NO_HIDDEN].
22790 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22791 [SHARED].
22792 [SHARED && DO_VERSIONING]: Likewise..
22793 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22794 [$(build-shared) = yes].
22795 * manual/install.texi (--disable-versioning): Remove
22796 documentation.
22797 * INSTALL: Regenerated.
22798 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22799 to [SHARED].
22800 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22801 [$(build-shared) = yes].
22802 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22803 * sysdeps/i386/i686/multiarch/strstr-c.c
22804 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22805 [SHARED && !NO_HIDDEN].
22806 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22807 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22808 * sysdeps/powerpc/powerpc32/dl-machine.c
22809 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22810 * sysdeps/powerpc/powerpc32/sysdep.h
22811 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22812 to [SHARED && PIC && !NO_HIDDEN].
22813 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22814 conditional to [SHARED].
22815
22816 2013-09-04 Will Newton <will.newton@linaro.org>
22817
22818 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22819 * benchtests/bench-string.h: Include bench-timing.h instead
22820 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22821 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22822 call to HP_TIMING_DIFF_INIT.
22823 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22824 instead of hp-timing.h macros.
22825 * benchtests/bench-memchr.c: Likewise.
22826 * benchtests/bench-memcmp.c: Likewise.
22827 * benchtests/bench-memcpy.c: Likewise.
22828 * benchtests/bench-memmem.c: Likewise.
22829 * benchtests/bench-memmove.c: Likewise.
22830 * benchtests/bench-memset.c: Likewise.
22831 * benchtests/bench-rawmemchr.c: Likewise.
22832 * benchtests/bench-strcasecmp.c: Likewise.
22833 * benchtests/bench-strcasestr.c: Likewise.
22834 * benchtests/bench-strcat.c: Likewise.
22835 * benchtests/bench-strchr.c: Likewise.
22836 * benchtests/bench-strcmp.c: Likewise.
22837 * benchtests/bench-strcpy.c: Likewise.
22838 * benchtests/bench-strcpy_chk.c: Likewise.
22839 * benchtests/bench-strlen.c: Likewise.
22840 * benchtests/bench-strncasecmp.c: Likewise.
22841 * benchtests/bench-strncat.c: Likewise.
22842 * benchtests/bench-strncmp.c: Likewise.
22843 * benchtests/bench-strncpy.c: Likewise.
22844 * benchtests/bench-strnlen.c: Likewise.
22845 * benchtests/bench-strpbrk.c: Likewise.
22846 * benchtests/bench-strrchr.c: Likewise.
22847 * benchtests/bench-strspn.c: Likewise.
22848 * benchtests/bench-strstr.c: Likewise.
22849
22850 2013-09-04 Will Newton <will.newton@linaro.org>
22851
22852 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22853
22854 2013-09-03 Joseph Myers <joseph@codesourcery.com>
22855
22856 [BZ #15427]
22857 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22858 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22859 * math/libm-test.inc (lgamma_test_data): Add more tests.
22860 * sysdeps/i386/fpu/libm-test-ulps: Update.
22861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22862
22863 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
22864
22865 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22866 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22867 Add ifunc.
22868 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22869 Add strcmp-sse2-unaligned
22870 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22871
22872 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22873
22874 * Versions.def (libc): Add GLIBC_2.19.
22875
22876 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22877
22878 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22879 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22880
22881 2013-09-02 Joseph Myers <joseph@codesourcery.com>
22882
22883 [BZ #14155]
22884 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22885 intermediate calculations in recurrence.
22886 (__ieee754_ynf): Likewise.
22887 * math/libm-test.inc (jn_test_data): Do not allow spurious
22888 underflow exception. Add more tests.
22889 (yn_test_data): Add more tests.
22890 * sysdeps/i386/fpu/libm-test-ulps: Update.
22891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22892
22893 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
22894
22895 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22896
22897 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22898
22899 * csu/init-first.c: Fix then/than typos.
22900 * locale/programs/ld-collate.c: Likewise.
22901 * locale/programs/linereader.h: Likewise.
22902 * manual/charset.texi: Likewise.
22903 * manual/filesys.texi: Likewise.
22904 * manual/stdio.texi: Likewise.
22905 * manual/string.texi: Likewise.
22906 * stdlib/fmtmsg.c: Likewise.
22907 * sysdeps/i386/stpncpy.S: Likewise.
22908 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22909 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22910 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22911 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22912
22913 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22914
22915 * elf/dl-open.c: Fix typos.
22916 * iconvdata/gbbig5.c: Likewise.
22917 * iconvdata/iso-2022-jp.c: Likewise.
22918 * iconv/gconv_int.h: Likewise.
22919 * iconv/loop.c: Likewise.
22920 * nis/rpcsvc/nis.h: Likewise.
22921 * resolv/ns_name.c: Likewise.
22922 * stdio-common/vfscanf.c: Likewise.
22923 * streams/stropts.h: Likewise.
22924 * sunrpc/rpc_thread.c: Likewise.
22925 * sysdeps/i386/strpbrk.S: Likewise.
22926 * sysdeps/ieee754/k_standard.c: Likewise.
22927 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22928 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22929 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22930 * sysdeps/mach/hurd/profil.c: Likewise.
22931 * sysdeps/s390/dl-procinfo.h: Likewise.
22932 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22933 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22934 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22935 * sysdeps/x86_64/dl-trampoline.S: Likewise.
22936 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22937
22938 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22939
22940 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22941 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22942
22943 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22944
22945 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22946 aix specific files.
22947 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22948 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22949 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22950 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22951 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22952 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22953 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22954 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22955
22956 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22957 Roland McGrath <roland@hack.frob.com>
22958
22959 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22960 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22961
22962 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22963
22964 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22965 __executable_start symbol instead of _start.
22966
22967 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22968
22969 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22970 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22971 Move macros to...
22972 * sysdeps/gnu/ldsodefs.h: ... this new file.
22973
22974 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22975 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22976 instead of ELFOSABI_LINUX.
22977
22978 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22979 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22980 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22981 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22982 Likewise.
22983 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22984 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22985 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22986 Likewise.
22987 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22988 (ibm_extended_long_double): Add ieee_nan member.
22989 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22990 (do_test): New function.
22991
22992 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22993 TEST_TRUNC.
22994 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22995 functions, renamed from truncdfsf_test, trunctfsf_test,
22996 trunctfdf_test.
22997 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22998 functions.
22999 (do_test): Run all these.
23000
23001 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23002
23003 * argp/argp-help.c: Fix typos.
23004 * argp/argp-parse.c: Likewise.
23005 * debug/backtracesyms.c: Likewise.
23006 * elf/elf.h: Likewise.
23007 * malloc/malloc.c: Likewise.
23008 * nis/nis_print.c: Likewise.
23009 * resolv/res_comp.c: Likewise.
23010 * stdlib/stdlib.h: Likewise.
23011 * sunrpc/clnt_tcp.c: Likewise.
23012 * sunrpc/clnt_udp.c: Likewise.
23013 * sunrpc/clnt_unix.c: Likewise.
23014 * sysdeps/unix/bsd/ptsname.c: Likewise.
23015 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23016 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23018 Likewise.
23019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23020 Likewise.
23021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23022 Likewise.
23023 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23024
23025 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23026
23027 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23029
23030 2013-08-27 Mike Frysinger <vapier@gentoo.org>
23031
23032 [BZ #15897]
23033 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23034 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23035 ($(objpfx)bug-dl-leaf): New rule.
23036 ($(objpfx)bug-dl-leaf.so): Likewise.
23037 ($(objpfx)bug-dl-leaf.out): Likewise.
23038 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23039 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23040 * dlfcn/bug-dl-leaf.c: New test.
23041 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23042 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23043 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23044 (dlclose): Likewise.
23045 (dlmopen): Likewise.
23046
23047 2013-08-27 Roland McGrath <roland@hack.frob.com>
23048
23049 * include/netdb.h [!_ISOMAC]:
23050 Don't include <tls.h>.
23051 (h_errno, __libc_h_errno): Move declaration and macros out of
23052 [_LIBC_REENTRANT].
23053
23054 * include/resolv.h [_RESOLV_H_]:
23055 Don't include <tls.h>.
23056 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23057 * resolv/res_libc.c: Don't include <tls.h>.
23058 (_res): Use __attribute__ ((nocommon)) in place of
23059 __attribute__ ((section (".bss"))).
23060
23061 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23062 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23063
23064 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23065
23066 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23067 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23068
23069 * resolv/res_mkquery.c: Include <sys/time.h>.
23070
23071 * inet/ifreq.c: Moved to ...
23072 * sysdeps/unix/ifreq.c: ... here.
23073 * inet/ifreq.c: New file, true stub version.
23074
23075 * socket/sa_len.c: New file.
23076 * socket/Makefile (aux): Add it.
23077 * sysdeps/unix/sysv/linux/Makefile
23078 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23079 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23080 and #include <socket/sa_len.c>.
23081 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23082 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23083
23084 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23085 * bits/socket.h: ... here.
23086
23087 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23088 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23089 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23090
23091 2013-08-27 Andreas Schwab <schwab@suse.de>
23092
23093 [BZ #15736]
23094 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23095 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23096 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23097 * string/test-strcasecmp.c (test_main): Run tests in several
23098 locales.
23099 * string/test-strncasecmp.c (test_main): Likewise.
23100
23101 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23102 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23103 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23104 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23105 (__strncasecmp_ssse3) [PIC]: Likewise.
23106
23107 2013-08-26 Roland McGrath <roland@hack.frob.com>
23108
23109 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23110
23111 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23112 instead of explicitly declaring xdecrypt.
23113 * nis/nss_nis/nis-publickey.c: Likewise.
23114
23115 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23116
23117 [BZ #15890]
23118 * nscd/aicache.c: Include res_hconf.h.
23119 (addhstaiX): Initialize res_hconf.
23120
23121 2013-08-26 Andreas Schwab <schwab@suse.de>
23122
23123 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23124 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23125
23126 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23127
23128 * nscd/aicache.c (addhstaiX): Fix indentation.
23129
23130 2013-08-25 Mike Frysinger <vapier@gentoo.org>
23131
23132 * configure.ac: Quote $build_pt_chown test.
23133 * configure: Regenerated.
23134
23135 2013-08-23 Joseph Myers <joseph@codesourcery.com>
23136
23137 [BZ #15532]
23138 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23139 * math/s_cexpf.c (__cexpf): Likewise.
23140 * math/s_cexpl.c (__cexpl): Likewise.
23141 * math/libm-test.inc (cexp_test_data): Correct expected return
23142 value for NaN + i0. Add another test.
23143
23144 2013-08-22 David S. Miller <davem@davemloft.net>
23145
23146 * po/ca.po: Update Catalan translation from translation project.
23147 * po/uk.po: Add Ukrainian translations from translation project.
23148
23149 2013-08-21 Joseph Myers <joseph@codesourcery.com>
23150
23151 [BZ #15797]
23152 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23153 is infinite, not alongside NaN test.
23154 * math/s_fdimf.c (__fdimf): Likewise.
23155 * math/s_fdiml.c (__fdiml): Likewise.
23156 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23157 errno is unchanged.
23158
23159 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
23160
23161 * argp/argp-help.c: Fix typos.
23162 * crypt/speeds.c: Likewise.
23163 * csu/check_fds.c: Likewise.
23164 * elf/dl-load.c: Likewise.
23165 * elf/dl-open.c: Likewise.
23166 * elf/reldep3.c: Likewise.
23167 * elf/reldep.c: Likewise.
23168 * elf/sprof.c: Likewise.
23169 * iconv/iconv_charmap.c: Likewise.
23170 * iconv/skeleton.c: Likewise.
23171 * iconv/strtab.c: Likewise.
23172 * io/lockf64.c: Likewise.
23173 * libio/libioP.h: Likewise.
23174 * resolv/gai_notify.c: Likewise.
23175 * resolv/ns_name.c: Likewise.
23176 * resolv/ns_samedomain.c: Likewise.
23177 * resolv/res_send.c: Likewise.
23178 * stdlib/random.c: Likewise.
23179 * sunrpc/rpc/xdr.h: Likewise.
23180 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23181 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23182 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23183 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23184 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23185 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23186 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23187 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23188 * sysdeps/mach/hurd/check_fds.c: Likewise.
23189 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23190 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23191 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23192 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23193 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23194 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23195 * sysdeps/pthread/aio_notify.c: Likewise.
23196 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23197 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23198 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23199 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23200 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23201
23202 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23203
23204 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23205 version if bit_Slow_SSE4_2 is set.
23206 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23207 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23208
23209 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23210
23211 [BZ #15867]
23212 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23213 trampoline stack frame information.
23214 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23215 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23216 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23217 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23218 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23219 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23220 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23221 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23222 sa_flags value.
23223 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23224 interrupting a syscall and set with option SA_SIGINFO.
23225
23226 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23227
23228 [BZ #15531]
23229 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23230 argument is infinite.
23231 * math/s_cprojf.c (__cprojf): Likewise.
23232 * math/s_cprojl.c (__cprojl): Likewise.
23233 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23234 * math/libm-test.inc (cproj_test_data): Add more tests.
23235
23236 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23237
23238 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23239 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23240 size. Use __ffs to determine corresponding shift.
23241
23242 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23243 Roland McGrath <roland@hack.frob.com>
23244
23245 * Makefile (INSTALL): Remove trailing blank lines from output of
23246 makeinfo.
23247
23248 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23249
23250 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23251 Align 32 bit compat elf_greg to 8 bytes.
23252
23253 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23254
23255 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23256
23257 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23258
23259 * string/strcoll_l.c (coll_seq): New structure.
23260 (get_next_seq_cached): New function.
23261 (get_next_seq): New function.
23262 (do_compare): New function.
23263 (STRCOLL): Use GNU style definition. Simplify implementation
23264 by using get_next_seq, get_next_seq_cached and do_compare.
23265
23266 2013-08-16 Florian Weimer <fweimer@redhat.com>
23267
23268 [BZ #14699]
23269 CVE-2013-4237
23270 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23271 member.
23272 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23273 member.
23274 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23275 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23276 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23277 conditional.
23278 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23279 GETDENTS_64BIT_ALIGNED.
23280 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23281 * manual/filesys.texi (Reading/Closing Directory): Document
23282 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23283 strongly.
23284 * manual/conf.texi (Limits for Files): Add portability note to
23285 NAME_MAX, PATH_MAX.
23286 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23287
23288 2013-08-13 Andreas Schwab <schwab@suse.de>
23289
23290 [BZ #15749]
23291 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23292 of fabs.
23293 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23294 LDBL_MAX_EXP >= 16384]: Add tests for it.
23295
23296 2013-08-12 David S. Miller <davem@davemloft.net>
23297
23298 * version.h (RELEASE): Set to "development".
23299 (VERSION): Set to "2.18.90".
23300 * NEWS: Add 2.19 section.
23301
23302 2013-08-03 David S. Miller <davem@davemloft.net>
23303
23304 * po/ko.po: Update Korean translation from translation project.
23305
23306 2013-08-01 David S. Miller <davem@davemloft.net>
23307
23308 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23309 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23310 Bilka.
23311
23312 2013-07-30 David S. Miller <davem@davemloft.net>
23313
23314 * po/fr.po: Update French translation from translation project.
23315
23316 2013-07-28 David S. Miller <davem@davemloft.net>
23317
23318 * po/cs.po: Update Czech translation from translation project.
23319
23320 * po/sv.po: Update Swedish translation from translation project.
23321
23322 2013-07-27 David S. Miller <davem@davemloft.net>
23323
23324 * po/eo.po: Update Esperanto translation from translation project.
23325
23326 * po/vi.po: Update Vietnamese translation from translation project.
23327
23328 * po/de.po: Update German translation from translation project.
23329
23330 2013-07-26 David S. Miller <davem@davemloft.net>
23331
23332 * po/bg.po: Update Bulgarian translation from translation project.
23333
23334 * po/nl.po: Update Dutch translation from translation project.
23335 * po/pl.po: Update Polish translation from translation project.
23336 * po/ru.po: Update Russian translation from translation project.
23337
23338 2013-07-24 David S. Miller <davem@davemloft.net>
23339
23340 * po/libc.pot: Update.
23341
23342 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23343
23344 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23345 variable page size.
23346 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23347 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23348 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23349
23350 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23351
23352 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23353
23354 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23355 Andreas Schwab <schwab@suse.de>
23356 Roland McGrath <roland@hack.frob.com>
23357 Joseph Myers <joseph@codesourcery.com>
23358 Carlos O'Donell <carlos@redhat.com>
23359
23360 [BZ #15755]
23361 * config.h.in: Define HAVE_PT_CHOWN.
23362 * config.make.in (build-pt-chown): New variable.
23363 * configure.in (--enable-pt_chown): New configure option.
23364 * configure: Regenerate.
23365 * login/Makefile: Include Makeconfig. Build pt_chown only if
23366 build-pt-chown is enabled.
23367 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23368 pt_chown to fix pty ownership.
23369 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23370 CLOSE_ALL_FDS.
23371 * manual/install.texi (Configuring and compiling): Mention
23372 --enable-pt_chown. Add @findex for grantpt.
23373 * INSTALL: Regenerate.
23374
23375 2013-07-20 David S. Miller <davem@davemloft.net>
23376
23377 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23378 difference between 32-bit and 64-bit.
23379
23380 2013-07-15 Carlos O'Donell <carlos@redhat.com>
23381
23382 [BZ #15711]
23383 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23384 Avoid system header dependency with -ffreestanding.
23385 ($(objpfx)bits/syscall%d): Likewise.
23386
23387 2013-07-13 David S. Miller <davem@davemloft.net>
23388
23389 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23390 underflows from atanl/atan2l due to bug 15319.
23391 (casinh_test_data): Likewise.
23392
23393 2013-07-07 David S. Miller <davem@davemloft.net>
23394
23395 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23396
23397 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23398
23399 * sysdeps/i386/fpu/libm-test-ulps: Update.
23400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23401
23402 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23403
23404 * configure.in (--enable-lock-elision): Fix message text.
23405 * INSTALL: Regenerate.
23406 * configure: Regenerate.
23407
23408 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23409
23410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23411
23412 2013-07-03 Andreas Jaeger <aj@suse.de>
23413
23414 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23415 define.
23416 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23417 (ptrace_peeksiginfo_args): Add.
23418 (__ptrace_peeksiginfo_flags): Add.
23419 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23420 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23421 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23422
23423 2013-07-03 Allan McRae <allan@archlinux.org>
23424
23425 * sysdeps/i386/fpu/libm-test-ulps: Update.
23426
23427 2013-07-02 David S. Miller <davem@davemloft.net>
23428
23429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23430
23431 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23432
23433 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23434
23435 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23436
23437 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23439
23440 2013-07-02 Andi Kleen <ak@linux.intel.com>
23441
23442 * config.h.in (ENABLE_LOCK_ELISION): Add.
23443 * configure.in (--enable-lock-elision): Add option.
23444 * manual/install.texi: Document --enable lock elision.
23445 * configure: Regenerate
23446 * INSTALL: Regenerate.
23447
23448 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23449
23450 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23451 SSE4.2 strcasecmp for libc.a.
23452 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23453
23454 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23455
23456 [BZ #13304]
23457 * soft-fp/op-common.h (_FP_FMA): New macro.
23458 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23459 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23460 (_FP_MUL_MEAT_1_imm): ... here.
23461 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23462 (_FP_MUL_MEAT_1_wide): ... here.
23463 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23464 (_FP_MUL_MEAT_1_hard): ... here.
23465 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23466 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23467 (_FP_MUL_MEAT_2_wide): ... here.
23468 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23469 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23470 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23471 (_FP_MUL_MEAT_2_gmp): ... here.
23472 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23473 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23474 (_FP_MUL_MEAT_4_wide): ... here.
23475 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23476 (_FP_MUL_MEAT_4_gmp): ... here.
23477 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23478 (_FP_WFRACBITS_DW_S): Likewise.
23479 (_FP_WFRACXBITS_DW_S): Likewise.
23480 (_FP_HIGHBIT_DW_S): Likewise.
23481 (FP_FMA_S): Likewise.
23482 (_FP_FRAC_HIGH_DW_S): Likewise.
23483 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23484 (_FP_WFRACBITS_DW_D): Likewise.
23485 (_FP_WFRACXBITS_DW_D): Likewise.
23486 (_FP_HIGHBIT_DW_D): Likewise.
23487 (FP_FMA_D): Likewise.
23488 (_FP_FRAC_HIGH_DW_D): Likewise.
23489 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23490 (_FP_WFRACBITS_DW_E): Likewise.
23491 (_FP_WFRACXBITS_DW_E): Likewise.
23492 (_FP_HIGHBIT_DW_E): Likewise.
23493 (FP_FMA_E): Likewise.
23494 (_FP_FRAC_HIGH_DW_E): Likewise.
23495 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23496 (_FP_WFRACBITS_DW_Q): Likewise.
23497 (_FP_WFRACXBITS_DW_Q): Likewise.
23498 (_FP_HIGHBIT_DW_Q): Likewise.
23499 (FP_FMA_Q): Likewise.
23500 (_FP_FRAC_HIGH_DW_Q): Likewise.
23501 * soft-fp/fmasf4.c: New file.
23502 * soft-fp/fmadf4.c: Likewise.
23503 * soft-fp/fmatf4.c: Likewise.
23504
23505 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23506
23507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23508 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23509 Silvermont.
23510 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23511 macro.
23512 (index_Slow_SSE4_2): Likewise.
23513 (index_Prefer_PMINUB_for_stringop): Likewise.
23514 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23515 bit_Slow_SSE4_2 is set.
23516 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23517 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23518
23519 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23520
23521 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23522 rtld_global._dl_hwcap2.
23523 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23524 POWER8.
23525 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23526 POWER8 feature descriptions defined in _dl_hwcap2.
23527 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23528 string handling for POWER8 feature bits.
23529 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23530 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23531 _dl_powerpc_cap_flags.
23532 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23533 * sysdeps/powerpc/rtld-global-offsets.sym
23534 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23535 _dl_hwcap2 in the rtld_global_ro structure.
23536
23537 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23538
23539 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23540 hardware capabilities in support of AT_HWCAP2.
23541 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23542 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23543 GLRO(dl_hwcap2).
23544 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23545 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23546 explicitly the unknown a_type display mechanism is used.
23547 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23548 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23549 struct member.
23550 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23551 to macro prototype for AT_HWCAP2 support.
23552 * sysdeps/i386/dl-procinfo.h: Likewise.
23553 * sysdeps/s390/dl-procinfo.h: Likewise.
23554 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23555 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23556 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23557 return -1 for unknown a_type display fallback.
23558 * sysdeps/sparc/dl-procinfo.h: Likewise.
23559 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23560 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23561
23562 2013-06-28 Joseph Myers <joseph@codesourcery.com>
23563
23564 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23565 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23566
23567 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23568
23569 [BZ #12492]
23570 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23571 mprotect making __stack_prot writable.
23572
23573 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23574 Joseph Myers <joseph@codesourcery.com>
23575
23576 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23577 as being properly aligned.
23578
23579 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23580
23581 * dlfcn/modstatic5.c: New file.
23582 * dlfcn/tststatic5.c: New file.
23583 * dlfcn/Makefile (tests): Add tststatic5.
23584 (tests-static): Likewise.
23585 (modules-names): Add modstatic5.
23586 (tststatic5-ENV): New variable.
23587 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23588
23589 [BZ #15022]
23590 * elf/dl-support.c (_dl_main_map): New variable.
23591 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23592 (_dl_nns, _dl_load_adds): Set to 1.
23593 (_dl_initial_searchlist): Refer to _dl_main_map.
23594 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23595 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23596 call to _dl_get_origin.
23597 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23598 around call_map.
23599 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23600 * dlfcn/modstatic3.c: New file.
23601 * dlfcn/tststatic3.c: New file.
23602 * dlfcn/tststatic4.c: New file.
23603 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23604 (tests-static): Likewise.
23605 (modules-names): Add modstatic3.
23606 (tststatic3-ENV, tststatic4-ENV): New variables.
23607 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23608 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23609
23610 2013-06-26 Joseph Myers <joseph@codesourcery.com>
23611
23612 * configure.in (CC): Require GCC version 4.4 or later.
23613 * configure: Regenerated.
23614 * manual/install.texi (Tools for Compilation): Update GCC version
23615 requirement.
23616 * INSTALL: Regenerated.
23617
23618 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23619
23620 [BZ #15674]
23621 * string/test-memcmp.c (check2): New.
23622 (main): Call check2.
23623
23624 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23625
23626 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23627
23628 [BZ #15022]
23629 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23630 over to...
23631 (dl_open_worker) [!SHARED]: ... here.
23632
23633 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23634
23635 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23636
23637 2013-06-25 Richard Henderson <rth@redhat.com>
23638
23639 * locale/programs/locarchive.c: Include <libc-internal.h>
23640
23641 2013-06-25 Joseph Myers <joseph@codesourcery.com>
23642
23643 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23644 trailing whitespace removed.
23645
23646 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23647
23648 [BZ #10283]
23649 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23650 * locale/programs/locarchive.c: Include libc-mmap.h.
23651 (prepare_address_space): Take two new outputs (the mmap base and len).
23652 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23653 values.
23654 (create_archive): Declare new mmap base and len values for
23655 prepare_address_space, and store the result in ah.
23656 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23657 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23658 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23659 Declare new mmap base and len values for
23660 prepare_address_space, and store the result in new_ah.
23661 (open_archive): Declare new mmap base and len values for
23662 prepare_address_space, and store the result in ah.
23663 (close_archive): If ah->mmap_base is not NULL, use that and
23664 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23665 * sysdeps/generic/libc-mmap.h: New file.
23666
23667 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23668
23669 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23670 (ALIGN_UP): Likewise.
23671 (PTR_ALIGN_DOWN): Likewise.
23672 (PTR_ALIGN_UP): Likewise.
23673
23674 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23675
23676 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23677 entry mapped to PPC_PLATFORM_POWER8.
23678 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23679 POWER8.
23680 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23681 (_dl_string_platform): Add case for exporting platform position for
23682 POWER8.
23683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23684 search path to sysdeps/powerpc/powerpc32/power8 directory.
23685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23686 search path to sysdeps/powerpc/powerpc64/power8 directory.
23687 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23688 power7 directories.
23689 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23690 power7 directories.
23691
23692 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23693
23694 * INSTALL: Regenerate.
23695
23696 * nscd/connections.c (nscd_init): Fix comment.
23697
23698 2013-06-22 Joseph Myers <joseph@codesourcery.com>
23699
23700 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23701
23702 [BZ #15667]
23703 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23704 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23705
23706 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23707
23708 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23709 DL_DST_REQ_STATIC.
23710 (DL_DST_REQ_STATIC): Remove macro.
23711
23712 2013-06-21 Joseph Myers <joseph@codesourcery.com>
23713
23714 [BZ #7006]
23715 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23716 with a shift of 0 bits.
23717
23718 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23719
23720 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23721 $(tststatic-ENV).
23722
23723 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23724
23725 [BZ #15655]
23726 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23727
23728 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23729
23730 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23731 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23732 accepts -fno-tree-loop-distribute-patterns.
23733 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23734 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23735 recursive call.
23736 * string/memset.c (memset): Likewise.
23737 * string/test-memmove.c (simple_memmove): Disable loop transformation
23738 to library calls.
23739 * string/test-memset.c (simple_memset): Likewise.
23740 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23741 * benchtests/bench-memset.c (simple_memset): Likewise.
23742 * configure: Regenerated.
23743
23744 2013-06-20 Joseph Myers <joseph@codesourcery.com>
23745
23746 * math/test-misc.c (main): Ignore fesetround failure when failures
23747 of subsequent rounding tests would be ignored.
23748
23749 [BZ #15654]
23750 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23751 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23752 * math/fegetenv.c (__fegetenv): Return 0.
23753 * math/fegetexcept.c (fegetexcept): Return 0.
23754 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23755 FE_TONEAREST.
23756 * math/feholdexcpt.c (feholdexcept): Return 0.
23757 * math/fesetenv.c (__fesetenv): Return 0.
23758 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23759 argument FE_TONEAREST.
23760 * math/feupdateenv.c (__feupdateenv): Return 0.
23761 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23762
23763 2013-06-18 Roland McGrath <roland@hack.frob.com>
23764
23765 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23766 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23767 ($(objpfx)rtld-%.os rules): Use them.
23768
23769 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23770
23771 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23772 fields.
23773
23774 2013-06-17 Roland McGrath <roland@hack.frob.com>
23775
23776 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23777 length of target pattern, then descending length of dependency pattern.
23778 * configure.in (AWK): Require gawk 3.1.2 or newer.
23779 * manual/install.texi (Tools for Compilation): Say that we do.
23780 * configure: Regenerated.
23781
23782 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23783 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23784 * scripts/sysd-rules.awk: ... this new script.
23785 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23786 than a glob-style pattern.
23787
23788 2013-06-17 Joseph Myers <joseph@codesourcery.com>
23789
23790 * math/test-misc.c (main): Do not treat incorrectly rounded
23791 conversions as failure unless ROUNDING_TESTS passes.
23792
23793 2013-06-15 Joseph Myers <joseph@codesourcery.com>
23794
23795 [BZ #15631]
23796 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23797 restore exception state around main square root computation, then
23798 check for inexactness explicitly.
23799
23800 * math/libm-test.inc (fma_test_data): Add another test.
23801
23802 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23803
23804 * manual/threads.texi (Non-POSIX Extensions): New document
23805 node. Document pthread_getattr_default_np and
23806 pthread_setattr_default_np.
23807
23808 * Versions.def (libpthread): Add GLIBC_2.18.
23809 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23811 Likewise.
23812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23813 Likewise.
23814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23815 Likewise.
23816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23817 Likewise.
23818 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23819 Likewise.
23820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23821 Likewise.
23822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23823 Likewise.
23824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23825 Likewise.
23826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23827 Likewise.
23828
23829 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23830
23831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23832 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23833
23834 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23835 H.J. Lu <hjl.tools@gmail.com>
23836
23837 [BZ #15627]
23838 * sysdeps/x86_64/rtld-memset.c: Remove file.
23839 * sysdeps/x86_64/rtld-memset.S: New file.
23840
23841 2013-06-14 Joseph Myers <joseph@codesourcery.com>
23842
23843 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23844 (test_in_one_mode): Take arguments for whether the rounding mode
23845 is supported for each floating-point type.
23846 (do_test): Pass new arguments to test_in_one_mode using
23847 ROUNDING_TESTS.
23848
23849 2013-06-13 Roland McGrath <roland@hack.frob.com>
23850
23851 * posix/tst-waitid.c (do_test): Distinguish different instances of
23852 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23853 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23854 before entering the kernel for waitpid.
23855
23856 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23857
23858 * NEWS: Fix note on clock function precision. Text by Roland
23859 McGrath.
23860
23861 2013-06-13 Roland McGrath <roland@hack.frob.com>
23862
23863 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23864 it into place only when and if the sanity check passes.
23865
23866 2013-06-13 Joseph Myers <joseph@codesourcery.com>
23867
23868 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23869 output for whether conversion result is exact. Take argument
23870 indicating whether type is IBM long double.
23871 (round_for_all): Change need_exact field to ibm_ld.
23872 * stdlib/tst-strtod-round.c (struct exactness): New type.
23873 (struct test): Change bool ld_ok field to struct exactness exact.
23874 (TEST): Update all definitions for change to field.
23875 (tests): Regenerate array contents.
23876 (test_in_one_mode): Take pointer to new field instead of old ld_ok
23877 field value. Check for IBM long double here.
23878 (do_test): Update calls to test_in_one_mode.
23879
23880 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23881
23882 [BZ #12515]
23883 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23884 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23885
23886 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23887
23888 [BZ #15605]
23889 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23890 generated by the compiler on loop optimizations.
23891 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23892 general definitions.
23893
23894 2013-06-12 Joseph Myers <joseph@codesourcery.com>
23895
23896 * math/bug-nextafter.c: Include <math-tests.h>.
23897 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23898 the relevant type.
23899 * math/bug-nexttoward.c: Include <math-tests.h>.
23900 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23901 the relevant type.
23902 * math/test-misc.c: Include <math-tests.h>.
23903 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23904 the relevant type.
23905
23906 2013-06-12 Andreas Jaeger <aj@suse.de>
23907
23908 * po/ia.po: Update Interlingua translation from translation
23909 project.
23910
23911 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23912
23913 * include/fenv.h: Include stdbool.h.
23914 (struct rm_ctx): New structure.
23915 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23916 Define macro.
23917 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23918 (SET_RESTORE_ROUNDF): Likewise.
23919 (SET_RESTORE_ROUNDL): Likewise.
23920 (SET_RESTORE_ROUND_NOEX): Likewise.
23921 (SET_RESTORE_ROUND_NOEXF): Likewise.
23922 (SET_RESTORE_ROUND_NOEXL): Likewise.
23923 (SET_RESTORE_ROUND_53BIT): Likewise.
23924 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23925 (libc_feresetround_noexf_ctx): Likewise.
23926 (libc_feresetround_noexl_ctx): Likewise.
23927 (libc_feholdsetround_53bit_ctx): Likewise.
23928 (libc_feresetround_53bit_ctx): Likewise.
23929 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23930 (libc_feholdexcept_setround_sse_ctx): New function.
23931 (libc_fesetenv_sse_ctx): Likewise.
23932 (libc_feupdateenv_sse_ctx): Likewise.
23933 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23934 (libc_feholdexcept_setround_387_ctx): Likewise.
23935 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23936 (libc_feholdsetround_387_prec_ctx): Likewise.
23937 (libc_feholdsetround_387_ctx): Likewise.
23938 (libc_feholdsetround_387_53bit_ctx): Likewise.
23939 (libc_feholdsetround_sse_ctx): Likewise.
23940 (libc_feresetround_sse_ctx): Likewise.
23941 (libc_feresetround_387_ctx): Likewise.
23942 (libc_feupdateenv_387_ctx): Likewise.
23943 (libc_feholdexcept_setroundf_ctx): Define macro.
23944 (libc_fesetenvf_ctx): Likewise.
23945 (libc_feupdateenvf_ctx): Likewise.
23946 (libc_feholdsetroundf_ctx): Likewise.
23947 (libc_feresetroundf_ctx): Likewise.
23948 (libc_feholdexcept_setround_ctx): Likewise.
23949 (libc_fesetenv_ctx): Likewise.
23950 (libc_feupdateenv_ctx): Likewise.
23951 (libc_feholdsetround_ctx): Likewise.
23952 (libc_feresetround_ctx): Likewise.
23953 (libc_feholdexcept_setroundl_ctx): Likewise.
23954 (libc_feupdateenvl_ctx): Likewise.
23955 (libc_feholdsetroundl_ctx): Likewise.
23956 (libc_feresetroundl_ctx): Likewise.
23957 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23958 (libc_feresetround_53bit_ctx): Likewise.
23959
23960 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23961
23962 * locale/iso-639.def: Convert to UTF-8.
23963
23964 2013-06-11 Joseph Myers <joseph@codesourcery.com>
23965
23966 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23967 (EXCEPTION_TESTS_double): Likewise.
23968 (EXCEPTION_TESTS_long_double): Likewise.
23969 (EXCEPTION_TESTS): Likewise.
23970 * math/libm-test.inc (test_exceptions): Only test exceptions if
23971 EXCEPTION_TESTS (FLOAT).
23972
23973 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23974
23975 * benchtests/Makefile (string-bench): Add strcpy_chk and
23976 stpcpy_chk.
23977 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23978 * benchtests/bench-stpcpy_chk.c: New file.
23979 * benchtests/bench-strcpy_chk-ifunc.c: New file.
23980 * benchtests/bench-strcpy_chk.c: New file.
23981 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23982 code.
23983 (do_test): Likewise.
23984
23985 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23986
23987 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23988 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23989 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23990 with tabs where appropriate.
23991 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23992 dl-procinfo.h.
23993 [PPC_PLATFORM_PPC440]: Likewise.
23994 [PPC_PLATFORM_PPC464]: Likewise.
23995 [PPC_PLATFORM_PPC476]: Likewise.
23996 (_dl_string_platform): Add support for detecting ppc405, ppc440,
23997 ppc464, and ppc476 platform strings merging from ports/
23998 dl-procinfo.h.
23999
24000 2013-06-11 Andreas Schwab <schwab@suse.de>
24001
24002 [BZ #14991]
24003 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24004 (from_ucs4_idx): Regenerate.
24005 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24006 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24007 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24008 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24009 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24010 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24011 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24012 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24013 from FROM_LOOP and TO_LOOP specific macros.
24014 (BODY): Handle combining characters.
24015 * iconvdata/BIG5HKSCS.irreversible: Update.
24016 * iconvdata/BIG5HKSCS.precomposed: New file.
24017 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24018 characters.
24019 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24020
24021 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24022
24023 * include/sys/time.h: Fix indentation and add copyright header.
24024
24025 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24026 (do_test): Likewise.
24027 * string/test-memchr.c (do_one_test): Likewise.
24028 (do_test): Likewise.
24029 * string/test-memcmp.c (do_one_test): Likewise.
24030 (do_test): Likewise.
24031 * string/test-memcpy.c (do_one_test): Likewise.
24032 (do_test): Likewise.
24033 * string/test-memmem.c (do_one_test): Likewise.
24034 (do_test): Likewise.
24035 (do_random_tests): Likewise.
24036 * string/test-memmove.c (do_one_test): Likewise.
24037 (do_test): Likewise.
24038 * string/test-memset.c (do_one_test): Likewise.
24039 (do_test): Likewise.
24040 * string/test-rawmemchr.c (do_one_test): Likewise.
24041 (do_test): Likewise.
24042 * string/test-strcasecmp.c (do_one_test): Likewise.
24043 (do_test): Likewise.
24044 * string/test-strcasestr.c (do_one_test): Likewise.
24045 (do_test): Likewise.
24046 * string/test-strcat.c (do_one_test): Likewise.
24047 (do_test): Likewise.
24048 * string/test-strchr.c (do_one_test): Likewise.
24049 (do_test): Likewise.
24050 * string/test-strcmp.c (do_one_test): Likewise.
24051 (do_test): Likewise.
24052 * string/test-strcpy.c (do_one_test): Likewise.
24053 (do_test): Likewise.
24054 * string/test-string.h: Likewise.
24055 (test_init): Likewise.
24056 * string/test-strlen.c (do_one_test): Likewise.
24057 (do_test): Likewise.
24058 * string/test-strncasecmp.c (do_one_test): Likewise.
24059 (do_test): Likewise.
24060 * string/test-strncat.c (do_one_test): Likewise.
24061 (do_test): Likewise.
24062 * string/test-strncmp.c (do_one_test): Likewise.
24063 (do_test_limit): Likewise.
24064 (do_test): Likewise.
24065 * string/test-strncpy.c (do_one_test): Likewise.
24066 (do_test): Likewise.
24067 * string/test-strnlen.c (do_one_test): Likewise.
24068 (do_test): Likewise.
24069 * string/test-strpbrk.c (do_one_test): Likewise.
24070 (do_test): Likewise.
24071 * string/test-strrchr.c (do_one_test): Likewise.
24072 (do_test): Likewise.
24073 * string/test-strspn.c (do_one_test): Likewise.
24074 (do_test): Likewise.
24075 * string/test-strstr.c (do_one_test): Likewise.
24076 (do_test): Likewise.
24077
24078 * benchtests/Makefile (string-bench): Add string benchmarks.
24079 * benchtests/bench-bcopy-ifunc.c: New file.
24080 * benchtests/bench-bcopy.c: New file.
24081 * benchtests/bench-bzero-ifunc.c: New file.
24082 * benchtests/bench-bzero.c: New file.
24083 * benchtests/bench-memccpy-ifunc.c: New file.
24084 * benchtests/bench-memccpy.c: New file.
24085 * benchtests/bench-memchr-ifunc.c: New file.
24086 * benchtests/bench-memchr.c: New file.
24087 * benchtests/bench-memcmp-ifunc.c: New file.
24088 * benchtests/bench-memcmp.c: New file.
24089 * benchtests/bench-memmem-ifunc.c: New file.
24090 * benchtests/bench-memmem.c: New file.
24091 * benchtests/bench-memmove-ifunc.c: New file.
24092 * benchtests/bench-memmove.c: New file.
24093 * benchtests/bench-mempcpy-ifunc.c: New file.
24094 * benchtests/bench-mempcpy.c: New file.
24095 * benchtests/bench-memset-ifunc.c: New file.
24096 * benchtests/bench-memset.c: New file.
24097 * benchtests/bench-rawmemchr-ifunc.c: New file.
24098 * benchtests/bench-rawmemchr.c: New file.
24099 * benchtests/bench-stpcpy-ifunc.c: New file.
24100 * benchtests/bench-stpcpy.c: New file.
24101 * benchtests/bench-stpncpy-ifunc.c: New file.
24102 * benchtests/bench-stpncpy.c: New file.
24103 * benchtests/bench-strcasecmp-ifunc.c: New file.
24104 * benchtests/bench-strcasecmp.c: New file.
24105 * benchtests/bench-strcasestr-ifunc.c: New file.
24106 * benchtests/bench-strcasestr.c: New file.
24107 * benchtests/bench-strcat-ifunc.c: New file.
24108 * benchtests/bench-strcat.c: New file.
24109 * benchtests/bench-strchr-ifunc.c: New file.
24110 * benchtests/bench-strchr.c: New file.
24111 * benchtests/bench-strchrnul-ifunc.c: New file.
24112 * benchtests/bench-strchrnul.c: New file.
24113 * benchtests/bench-strcmp-ifunc.c: New file.
24114 * benchtests/bench-strcmp.c: New file.
24115 * benchtests/bench-strcpy-ifunc.c: New file.
24116 * benchtests/bench-strcpy.c: New file.
24117 * benchtests/bench-strcspn-ifunc.c: New file.
24118 * benchtests/bench-strcspn.c: New file.
24119 * benchtests/bench-strlen-ifunc.c: New file.
24120 * benchtests/bench-strlen.c: New file.
24121 * benchtests/bench-strncasecmp-ifunc.c: New file.
24122 * benchtests/bench-strncasecmp.c: New file.
24123 * benchtests/bench-strncat-ifunc.c: New file.
24124 * benchtests/bench-strncat.c: New file.
24125 * benchtests/bench-strncmp-ifunc.c: New file.
24126 * benchtests/bench-strncmp.c: New file.
24127 * benchtests/bench-strncpy-ifunc.c: New file.
24128 * benchtests/bench-strncpy.c: New file.
24129 * benchtests/bench-strnlen-ifunc.c: New file.
24130 * benchtests/bench-strnlen.c: New file.
24131 * benchtests/bench-strpbrk-ifunc.c: New file.
24132 * benchtests/bench-strpbrk.c: New file.
24133 * benchtests/bench-strrchr-ifunc.c: New file.
24134 * benchtests/bench-strrchr.c: New file.
24135 * benchtests/bench-strspn-ifunc.c: New file.
24136 * benchtests/bench-strspn.c: New file.
24137 * benchtests/bench-strstr-ifunc.c: New file.
24138 * benchtests/bench-strstr.c: New file.
24139
24140 * benchtests/Makefile: Disable parallel execution of targets.
24141 (string-bench): Add memcpy.
24142 (benchset): New variable to store a list of benchmark sets.
24143 (bench-func): Renamed from bench.
24144 (bench-set): New target.
24145 (bench): Depend on bench-func and bench-set.
24146 * benchtests/README: Add section on benchmark sets.
24147 * benchtests/bench-memcpy-ifunc.c: New file.
24148 * benchtests/bench-memcpy.c: New file.
24149 * benchtests/bench-string.h: New file.
24150
24151 2013-06-11 Andreas Schwab <schwab@suse.de>
24152
24153 [BZ #15577]
24154 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24155 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24156 values in the triple.
24157 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24158 terminator in the group key.
24159
24160 2013-06-11 Andreas Jaeger <aj@suse.de>
24161
24162 * po/zh_TW.po: Update Chinese (traditional) translation from
24163 translation project.
24164
24165 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24166
24167 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24168 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24169 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24170 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24171 (clock_getcpuclockid): Likewise.
24172 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24173 Add weak_alias and libc_hidden_def.
24174 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24175 * rt/clock_gettime.c (clock_gettime): Rename to
24176 __clock_gettime. Add weak_alias and libc_hidden_def.
24177 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24178 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24179 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24180 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24181 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24182 Likewise.
24183 * rt/clock_settime.c (clock_settime): Rename to
24184 __clock_settime. Add weak_alias and libc_hidden_def.
24185 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24186
24187 2013-06-10 Joseph Myers <joseph@codesourcery.com>
24188
24189 * mach/err_boot.sub: Remove trailing whitespace.
24190 * mach/err_ipc.sub: Likewise.
24191 * mach/err_mach.sub: Likewise.
24192
24193 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24194 (ROUNDING_TESTS_double): Likewise.
24195 (ROUNDING_TESTS_long_double): Likewise.
24196 (ROUNDING_TESTS): Likewise.
24197 * math/libm-test.inc: Include <math-tests.h>.
24198 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24199 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24200 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24201 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24202
24203 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24204
24205 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24206 of assigning.
24207
24208 2013-06-08 Joseph Myers <joseph@codesourcery.com>
24209
24210 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24211 otherwise empty TRANS lines.
24212 * sysdeps/gnu/errlist.c: Regenerated.
24213
24214 * catgets/gencat.c (error_print): Use (void) in function
24215 definition.
24216 * crypt/crypt_util.c (__init_des): Likewise.
24217 * crypt/speeds.c (Stop): Likewise.
24218 (main): Likewise.
24219 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24220 * inet/ruserpass.c (token): Likewise.
24221 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24222 * intl/localealias.c (extend_alias_table): Likewise.
24223 * intl/plural-exp.c (init_germanic_plural): Likewise.
24224 * libio/fcloseall.c (__fcloseall): Likewise.
24225 * libio/genops.c (_IO_flush_all): Likewise.
24226 (_IO_flush_all_linebuffered): Likewise.
24227 (_IO_cleanup): Likewise.
24228 (_IO_iter_begin): Likewise.
24229 (_IO_iter_end): Likewise.
24230 (_IO_list_lock): Likewise.
24231 (_IO_list_unlock): Likewise.
24232 (_IO_list_resetlock): Likewise.
24233 * libio/getchar.c (getchar): Likewise.
24234 * libio/getchar_u.c (getchar_unlocked): Likewise.
24235 * libio/getwchar.c (getwchar): Likewise.
24236 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24237 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24238 * login/getpt.c (__getpt): Likewise.
24239 * login/tst-utmp.c (main): Likewise.
24240 * malloc/hooks.c (__malloc_check_init): Likewise.
24241 * malloc/malloc.c (__malloc_stats): Likewise.
24242 * malloc/mtrace.c (tr_break): Likewise.
24243 (mtrace): Likewise.
24244 (muntrace): Likewise.
24245 * misc/fstab.c (endfsent): Likewise.
24246 * misc/getclktck.c (__getclktck): Likewise.
24247 * misc/getdtsz.c (__getdtablesize): Likewise.
24248 * misc/gethostid.c (gethostid): Likewise.
24249 * misc/getpagesize.c (__getpagesize): Likewise.
24250 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24251 (__get_nprocs): Likewise.
24252 (__get_phys_pages): Likewise.
24253 (__get_avphys_pages): Likewise.
24254 * misc/getttyent.c (getttyent): Likewise.
24255 (setttyent): Likewise.
24256 (endttyent): Likewise.
24257 * misc/getusershell.c (getusershell): Likewise.
24258 (endusershell): Likewise.
24259 (setusershell): Likewise.
24260 (initshells): Likewise.
24261 * misc/hsearch.c (__hdestroy): Likewise.
24262 * misc/sync.c (sync): Likewise.
24263 * misc/syslog.c (closelog_internal): Likewise.
24264 (closelog): Likewise.
24265 * misc/ttyslot.c (ttyslot): Likewise.
24266 * misc/vhangup.c (vhangup): Likewise.
24267 * posix/fork.c (__fork): Likewise.
24268 * posix/getegid.c (__getegid): Likewise.
24269 * posix/geteuid.c (__geteuid): Likewise.
24270 * posix/getgid.c (__getgid): Likewise.
24271 * posix/getpid.c (__getpid): Likewise.
24272 * posix/getppid.c (__getppid): Likewise.
24273 * posix/getuid.c (__getuid): Likewise.
24274 * posix/pause.c (pause): Likewise.
24275 * posix/setpgrp.c (setpgrp): Likewise.
24276 * posix/setsid.c (__setsid): Likewise.
24277 * posix/test-vfork.c (noop): Likewise.
24278 * resolv/gethnamaddr.c (_endhtent): Likewise.
24279 (_gethtent): Likewise.
24280 (ht_endhostent): Likewise.
24281 (gethostent): Likewise.
24282 (dns_service): Likewise.
24283 * stdlib/drand48.c (drand48): Likewise.
24284 * stdlib/lrand48.c (lrand48): Likewise.
24285 * stdlib/mrand48.c (mrand48): Likewise.
24286 * stdlib/rand.c (rand): Likewise.
24287 * stdlib/random.c (__random): Likewise.
24288 * stdlib/setenv.c (clearenv): Likewise.
24289 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24290 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24291 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24292 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24293 (__get_nprocs): Likewise.
24294 (__get_phys_pages): Likewise.
24295 (__get_avphys_pages): Likewise.
24296 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24297 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24298 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24299 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24300 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24301 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24302 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24303 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24304 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24305 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24306 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24307 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24308 * sysdeps/posix/clock.c (clock): Likewise.
24309 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24310 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24311 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24312 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24313 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24314 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24315 (__get_nprocs_conf): Likewise.
24316 (__get_phys_pages): Likewise.
24317 (__get_avphys_pages): Likewise.
24318 * time/clock.c (clock): Likewise.
24319 * time/tzset.c (__tzname_max): Likewise.
24320
24321 2013-06-07 Joseph Myers <joseph@codesourcery.com>
24322
24323 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24324 (__bswap_32): Do not use "register".
24325 * crypt/crypt.c (_ufc_doit_r): Likewise.
24326 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24327 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24328 * gmon/gmon.c (__monstartup): Likewise.
24329 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24330 * hurd/hurdmalloc.c (more_memory): Likewise.
24331 (malloc): Likewise.
24332 (free): Likewise.
24333 (realloc): Likewise.
24334 (malloc_fork_prepare): Likewise.
24335 (malloc_fork_parent): Likewise.
24336 (malloc_fork_child): Likewise.
24337 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24338 (_svcauth_des): Likewise.
24339 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24340 * inet/inet_net.c (inet_network): Likewise.
24341 * inet/inet_netof.c (inet_netof): Likewise.
24342 * inet/rcmd.c (__validuser2_sa): Likewise.
24343 * io/fts.c (fts_open): Likewise.
24344 (fts_load): Likewise.
24345 (fts_close): Likewise.
24346 (fts_read): Likewise.
24347 (fts_children): Likewise.
24348 (fts_build): Likewise.
24349 (fts_stat): Likewise.
24350 (fts_sort): Likewise.
24351 (fts_alloc): Likewise.
24352 (fts_lfree): Likewise.
24353 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24354 (_IO_file_xsgetn): Likewise.
24355 (_IO_file_xsgetn_mmap): Likewise.
24356 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24357 (_IO_cookie_write): Likewise.
24358 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24359 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24360 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24361 * malloc/obstack.c (_obstack_begin): Likewise.
24362 (_obstack_begin_1): Likewise.
24363 (_obstack_newchunk): Likewise.
24364 (_obstack_allocated_p): Likewise.
24365 (obstack_free): Likewise.
24366 (_obstack_memory_used): Likewise.
24367 * misc/getttyent.c (getttynam): Likewise.
24368 (getttyent): Likewise.
24369 (skip): Likewise.
24370 (value): Likewise.
24371 * misc/getusershell.c (initshells): Likewise.
24372 * misc/syslog.c (__vsyslog_chk): Likewise.
24373 * misc/ttyslot.c (ttyslot): Likewise.
24374 * nis/nis_hash.c (__nis_hash): Likewise.
24375 * posix/fnmatch_loop.c (FCT): Likewise.
24376 * posix/getconf.c (print_all): Likewise.
24377 (main): Likewise.
24378 * posix/getopt.c (exchange): Likewise.
24379 * posix/glob.c (globfree): Likewise.
24380 (prefix_array): Likewise.
24381 (__glob_pattern_type): Likewise.
24382 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24383 (NS_GET32): Likewise.
24384 (NS_PUT16): Likewise.
24385 (NS_PUT32): Likewise.
24386 * resolv/gethnamaddr.c (getanswer): Likewise.
24387 (gethostbyname2): Likewise.
24388 (gethostbyaddr): Likewise.
24389 (_gethtent): Likewise.
24390 (_gethtbyname2): Likewise.
24391 (_gethtbyaddr): Likewise.
24392 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24393 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24394 * resolv/res_init.c (__res_vinit): Likewise.
24395 (net_mask): Likewise.
24396 * resolv/res_mkquery.c (outchar): Likewise.
24397 (PRINT): Likewise.
24398 * stdio-common/printf_fp.c (outchar): Likewise.
24399 (PRINT): Likewise.
24400 * stdio-common/printf_fphex.c (outchar): Likewise.
24401 (PRINT): Likewise.
24402 * stdio-common/printf_size.c (outchar): Likewise.
24403 (PRINT): Likewise.
24404 * stdio-common/test_rdwr.c (main): Likewise.
24405 * stdio-common/tfformat.c (matches): Likewise.
24406 * stdio-common/vfprintf.c (outchar): Likewise.
24407 (printf_unknown): Likewise.
24408 (buffered_vfprintf): Likewise.
24409 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24410 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24411 (ReadFile): Likewise.
24412 * stdlib/qsort.c (SWAP): Likewise.
24413 (_quicksort): Likewise.
24414 * stdlib/setenv.c (__add_to_environ): Likewise.
24415 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24416 * stdlib/strtol_l.c (__strtol_l): Likewise.
24417 * stdlib/tst-strtod.c (main): Likewise.
24418 * stdlib/tst-strtol.c (main): Likewise.
24419 * stdlib/tst-strtoll.c (main): Likewise.
24420 * string/bits/string2.h (__strcmp_cc): Likewise.
24421 (__strcmp_cg): Likewise.
24422 (__strcspn_c1): Likewise.
24423 (__strcspn_c2): Likewise.
24424 (__strcspn_c3): Likewise.
24425 (__strspn_c1): Likewise.
24426 (__strspn_c2): Likewise.
24427 (__strspn_c3): Likewise.
24428 (__strsep_1c): Likewise.
24429 (__strsep_2c): Likewise.
24430 (__strsep_3c): Likewise.
24431 * string/memccpy.c (__memccpy): Likewise.
24432 * string/stpcpy.c (__stpcpy): Likewise.
24433 * string/strcmp.c (strcmp): Likewise.
24434 * string/strrchr.c (strrchr): Likewise.
24435 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24436 Likewise.
24437 * sysdeps/mach/hurd/getcwd.c
24438 (_hurd_canonicalize_directory_name_internal): Likewise.
24439 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24440 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24441 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24442 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24443 Likewise, in both definitions.
24444 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24445 definitions.
24446 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24447 64] (__bswap_64): Likewise.
24448 * time/test_time.c (main): Likewise.
24449 * time/tzfile.c (__tzfile_read): Likewise.
24450 (__tzfile_compute): Likewise.
24451 * time/tzset.c (__tzset_parse_tz): Likewise.
24452 (tzset_internal): Likewise.
24453 (compute_change): Likewise.
24454 * wcsmbs/wcscat.c (__wcscat): Likewise.
24455 * wcsmbs/wcschr.c (wcschr): Likewise.
24456 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24457 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24458 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24459 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24460 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24461 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24462 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24463 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24464 * wcsmbs/wmemset.c (wmemset): Likewise.
24465
24466 2013-06-06 Joseph Myers <joseph@codesourcery.com>
24467
24468 * scripts/config.guess: Update to version 2013-05-16.
24469 * scripts/config.sub: Update to version 2013-04-24.
24470 * scripts/install-sh: Update to version 2011-11-20.07.
24471 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24472 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24473
24474 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
24475
24476 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24477 * elf/sln.c: Likewise.
24478 * hurd/hurd/ioctl.h: Likewise.
24479 * hurd/hurdmalloc.c: Likewise.
24480 * hurd/xattr.c: Likewise.
24481 * include/shlib-compat.h: Likewise.
24482 * inet/ruserpass.c: Likewise.
24483 * libio/iofgets_u.c: Likewise.
24484 * libio/iofgetws_u.c: Likewise.
24485 * locale/programs/ld-identification.c: Likewise.
24486 * locale/programs/ld-time.c: Likewise.
24487 * mach/msg-destroy.c: Likewise.
24488 * nss/nss_files/files-netgrp.c: Likewise.
24489 * resolv/res_data.c: Likewise.
24490 * soft-fp/op-1.h: Likewise.
24491 * soft-fp/op-2.h: Likewise.
24492 * soft-fp/op-4.h: Likewise.
24493 * soft-fp/op-common.h: Likewise.
24494 * stdio-common/printf_fphex.c: Likewise.
24495 * stdlib/strtod_l.c: Likewise.
24496 * sunrpc/rpc/clnt.h: Likewise.
24497 * sysdeps/generic/framestate.c: Likewise.
24498 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24499 * sysdeps/i386/bsd-setjmp.S: Likewise.
24500 * sysdeps/i386/__longjmp.S: Likewise.
24501 * sysdeps/i386/setjmp.S: Likewise.
24502 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24503 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24504 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24505 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24506 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24507 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24508 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24509 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24510 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24511 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24512 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24513 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24514 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24515 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24516 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24517 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24518 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24519 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24520 * sysdeps/ieee754/support.c: Likewise.
24521 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24522 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24523 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24524 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24525 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24526 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24527 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24528 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24529 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24530 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24531 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24532 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24533 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24534 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24535 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24536 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24537 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24539
24540 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
24541
24542 * posix/transbug.c: Remove executable mode.
24543
24544 2013-06-05 Joseph Myers <joseph@codesourcery.com>
24545
24546 * crypt/speeds.c: Remove trailing whitespace.
24547 * dlfcn/default.c: Likewise.
24548 * elf/ifuncdep2.c: Likewise.
24549 * elf/ifuncmain1.c: Likewise.
24550 * elf/ifuncmain1vis.c: Likewise.
24551 * elf/testobj.h: Likewise.
24552 * elf/tst-stackguard1.c: Likewise.
24553 * gmon/sys/gmon.h: Likewise.
24554 * hurd/hurdmsg.c: Likewise.
24555 * hurd/new-fd.c: Likewise.
24556 * hurd/ports-get.c: Likewise.
24557 * iconvdata/ibm1008_420.c: Likewise.
24558 * inet/tst-getni1.c: Likewise.
24559 * inet/tst-getni2.c: Likewise.
24560 * libio/ioungetc.c: Likewise.
24561 * libio/wfiledoalloc.c: Likewise.
24562 * manual/libm-err-tab.pl: Likewise.
24563 * math/w_dremf.c: Likewise.
24564 * misc/ftruncate.c: Likewise.
24565 * posix/bug-glob2.c: Likewise.
24566 * posix/tst-pcre.c: Likewise.
24567 * posix/wait4.c: Likewise.
24568 * resolv/README: Likewise.
24569 * resolv/res_debug.h: Likewise.
24570 * resolv/tst-inet_ntop.c: Likewise.
24571 * setjmp/bug269-setjmp.c: Likewise.
24572 * soft-fp/extended.h: Likewise.
24573 * soft-fp/op-1.h: Likewise.
24574 * soft-fp/op-2.h: Likewise.
24575 * soft-fp/op-4.h: Likewise.
24576 * soft-fp/op-8.h: Likewise.
24577 * soft-fp/testit.c: Likewise.
24578 * stdio-common/bug16.c: Likewise.
24579 * stdlib/random.c: Likewise.
24580 * sunrpc/rpcsvc/rquota.x: Likewise.
24581 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24582 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24583 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24584 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24585 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24586 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24587 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24588 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24589 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24590 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24591 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24592 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24593 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24594 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24595 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24596 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24597 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24598 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24599 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24600 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24601 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24602 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24603 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24604 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24605 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24606 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24607 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24608 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24609 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24610 * sysdeps/ieee754/s_lib_version.c: Likewise.
24611 * sysdeps/mach/hurd/check_fds.c: Likewise.
24612 * sysdeps/mach/hurd/getsockname.c: Likewise.
24613 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24614 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24615 * sysdeps/powerpc/bits/link.h: Likewise.
24616 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24617 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24618 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24619 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24620 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24621 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24622 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24623 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24624 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24625 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24626 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24627 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24628 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24629 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24630 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24631 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24632 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24633 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24634 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24635 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24636 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24637 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24638 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24639 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24640 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24641 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24642 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24643 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24644 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24645 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24646 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24647 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24648 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24649 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24650 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24651 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24652 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24653 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24654 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24655 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24656 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24657 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24658 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24659 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24660 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24661 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24662 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24663 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24664 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24665 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24666 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24667 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24668 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24669 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24670 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24671 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24672 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24673 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24674 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24675 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24676 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24677 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24678 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24679 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24680 * sysdeps/powerpc/sysdep.h: Likewise.
24681 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24682 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24683 * sysdeps/sh/dl-trampoline.S: Likewise.
24684 * sysdeps/sh/memset.S: Likewise.
24685 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24686 * sysdeps/sh/strlen.S: Likewise.
24687 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24688 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24689 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24690 * sysdeps/sparc/sparc32/rem.S: Likewise.
24691 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24692 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24693 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24694 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24695 * sysdeps/sparc/sparc32/urem.S: Likewise.
24696 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24697 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24698 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24699 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24700 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24701 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24702 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24703 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24704 * sysdeps/unix/bsd/times.c: Likewise.
24705 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24706 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24710 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24711 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24712 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24713 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24714 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24715 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24716 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24717 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24718 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24719 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24720 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24721 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24722 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24723 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24724 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24725 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24726 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24727 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24728 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24729 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24730 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24731 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24732 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24733 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24734 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24735 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24736 * sysdeps/x86_64/strcspn.S: Likewise.
24737
24738 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24739
24740 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24741 generated file. Regenerate properly from gen-translit.pl.
24742 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24743 locale/C-translit.h.
24744
24745 2013-06-05 Andreas Schwab <schwab@suse.de>
24746
24747 [BZ #15100]
24748 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24749 week as 6 instead of -1.
24750 * time/tst-strptime.c (day_tests): Add test case.
24751
24752 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24753
24754 * sysdeps/generic/math_private.h
24755 (libc_feholdexcept_setround_53bit): Replace with
24756 libc_feholdsetround_53bit.
24757 (libc_feupdateenv_53bit): Replace with
24758 libc_feresetround_53bit.
24759 (SET_RESTORE_ROUND_53BIT): Adjust.
24760
24761 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24762
24763 * string/test-strchrnul.c: Add copyright header.
24764
24765 * posix/tst-getaddrinfo4.c: Increase test timeout.
24766
24767 2013-06-03 Carlos O'Donell <carlos@redhat.com>
24768
24769 [BZ #15536]
24770 * math/libm-test.inc (MAX_EXP): Remove
24771 (MIN_EXP): Define.
24772 (ulp): Use MIN_EXP - MANT_DIG.
24773 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24774
24775 2013-05-31 Carlos O'Donell <carlos@redhat.com>
24776
24777 * po/be.po: Revert last change.
24778 * po/zh_CN.po: Likewise.
24779 * po/header.pot: Likewise.
24780
24781 2013-05-31 Joseph Myers <joseph@codesourcery.com>
24782
24783 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24784 link-libc-deps to empty as target-specific variable.
24785 * Makerules (link-libc-args): New variable.
24786 (libc-for-link): Likewise.
24787 (link-libc-deps): Likewise.
24788 (lib%.so): Depend on $(link-libc-deps). Link with
24789 $(link-libc-args).
24790 (build-module): Link with $(link-libc-args).
24791 (build-module-asneeded): Likewise.
24792 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24793 list of objects.
24794 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24795 target-specific variable.
24796 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24797 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24798 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24799 libc.
24800 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24801 libc and ld.so.
24802 ($(objpfx)libpcprofile.so): Likewise.
24803 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24804 libc_nonshared.a.
24805 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24806 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24807 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24808 $(link-libc-deps).
24809 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24810 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24811 * login/Makefile ($(objpfx)libutil.so): Likewise.
24812 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24813 * math/Makefile ($(objpfx)libm.so): Likewise.
24814 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24815 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24816 variable instead of depending directly on libc.
24817 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24818 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24819 $(link-libc-deps).
24820 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24821 libc.
24822 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24823 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24824 ($(objpfx)libanl.so): Likewise.
24825 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24826 ld.so.
24827 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24828 $(link-libc-deps).
24829 * sysdeps/i386/fpu/Makefile: Remove file.
24830 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24831 ($(objpfx)libm.so): Remove dependency on ld.so.
24832
24833 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
24834
24835 [BZ # 15553]
24836 * nis/yp_xdr.c (XDRMAXNAME): Define.
24837 (XDRMAXRECORD): Define.
24838 (xdr_domainname): Use XDRMAXNAME.
24839 (xdr_mapname): Likewise.
24840 (xdr_peername): Likewise.
24841 (xdr_keydat): Use XDRMAXRECORD.
24842 (xdr_valdat): Likewise.
24843
24844 2013-05-30 Jeff Law <law@redhat.com>
24845
24846 [BZ #14256]
24847 * manual/errno.texi (ESTALE): Update to account for more than
24848 just NFS file systems.
24849 * sysdeps/gnu/errlist.c: Regenerated.
24850
24851 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24852
24853 [BZ #15465]
24854 * elf/Makefile (tests): Add tst-null-argv.
24855 (modules-names): Add tst-null-argv-lib.
24856 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24857 (tst-null-argv-ENV): Set environment for tst-null-argv.
24858 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24859 (RTLD_PROGNAME): New macro.
24860 * elf/tst-null-argv.c: New test case.
24861 * elf/tst-null-argv-lib.c: Library for test case.
24862 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24863 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24864 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24865 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24866 * elf/dl-init.c (call_init): Likewise.
24867 (_dl_init): Likewise.
24868 * elf/dl-load.c (print_search_path): Likewise.
24869 (_dl_map_object): Likewise.
24870 * elf/dl-lookup.c (do_lookup_x): Likewise.
24871 (add_dependency): Likewise.
24872 (_dl_lookup_symbol_x): Likewise.
24873 (_dl_debug_bindings): Likewise.
24874 * elf/dl-open.c (_dl_show_scope): Likewise.
24875 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24876 * elf/dl-version.c (match_symbol): Likewise.
24877 (_dl_check_map_versions): Likewise.
24878 * elf/rtld.c (dl_main): Likewise.
24879 (print_unresolved): Use RTLD_PROGNAME.
24880 (print_missing_version): Likewise.
24881 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24882 (elf_machine_rela): Likewise.
24883 * sysdeps/powerpc/powerpc32/dl-machine.c
24884 (__process_machine_rela): Likewise.
24885 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24886 Likewise.
24887 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24888 Likewise.
24889 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24890 Likewise.
24891 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24892 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24893 Likewise.
24894 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24895 Likewise.
24896 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24897
24898 2013-05-28 Carlos O'Donell <carlos@redhat.com>
24899
24900 * po/be.po: Add descriptive title.
24901 * po/zh_CN.po: Likewise.
24902 * po/header.pot: Likewise.
24903
24904 2013-05-28 Mike Frysinger <vapier@gentoo.org>
24905
24906 * locale/programs/locarchive.c (create_archive): Inlucde fname in
24907 error message.
24908 (enlarge_archive): Likewise.
24909
24910 2013-05-28 Ben North <ben@redfrontdoor.org>
24911
24912 * manual/arith.texi (frexp): It is the magnitude of the return
24913 value which lies in [0.5, 1), not the return value itself.
24914
24915 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24916
24917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24918
24919 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
24920
24921 * stdio-common/bug26.c (main): Correct fscanf template.
24922
24923 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24924 declare _dl_skip_args.
24925
24926 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24927 Don't declare.
24928
24929 * manual/platform.texi: Add missing @end deftypefun.
24930
24931 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24932
24933 [BZ #15529]
24934 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24935 bit of mantissa of 2^16382.
24936 * math/libm-test.inc (hypot_test_data): Add more tests.
24937
24938 * math/libm-test.inc: Add drem and pow10 to list of tested
24939 functions.
24940 (pow10_test): New function.
24941 (drem_test): Likewise.
24942 (drem_test_tonearest): Likewise.
24943 (drem_test_towardzero): Likewise.
24944 (drem_test_downward): Likewise.
24945 (drem_test_upward): Likewise.
24946 (main): Call the new functions.
24947
24948 * math/libm-test.inc (finite_test_data): Remove.
24949 (finite_test): Run tests from isfinite_test_data.
24950 (gamma_test_data): Remove.
24951 (gamma_test): Run tests from lgamma_test_data.
24952 * sysdeps/i386/fpu/libm-test-ulps: Update.
24953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24954
24955 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24956
24957 * manual/platform.texi: Add PowerPC PPR function set documentation.
24958 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24959 implementation.
24960
24961 2013-05-24 Carlos O'Donell <carlos@redhat.com>
24962
24963 * math/libm-test.inc (MAX_EXP): Define.
24964 (ULPDIFF): Define.
24965 (ulp): New function.
24966 (check_float_internal): Use ULPDIFF.
24967 (cpow_test): Disable failing test.
24968 (check_ulp): Test ulp() implemetnation.
24969 (main): Call check_ulp before starting tests.
24970
24971 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24972
24973 * math/gen-libm-test.pl (generate_testfile): Do not handle
24974 START_DATA and END_DATA.
24975 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24976 END_DATA.
24977 (acos_tonearest_test_data): Likewise.
24978 (acos_towardzero_test_data): Likewise.
24979 (acos_downward_test_data): Likewise.
24980 (acos_upward_test_data): Likewise.
24981 (acosh_test_data): Likewise.
24982 (asin_test_data): Likewise.
24983 (asin_tonearest_test_data): Likewise.
24984 (asin_towardzero_test_data): Likewise.
24985 (asin_downward_test_data): Likewise.
24986 (asin_upward_test_data): Likewise.
24987 (asinh_test_data): Likewise.
24988 (atan_test_data): Likewise.
24989 (atanh_test_data): Likewise.
24990 (atan2_test_data): Likewise.
24991 (cabs_test_data): Likewise.
24992 (cacos_test_data): Likewise.
24993 (cacosh_test_data): Likewise.
24994 (carg_test_data): Likewise.
24995 (casin_test_data): Likewise.
24996 (casinh_test_data): Likewise.
24997 (catan_test_data): Likewise.
24998 (catanh_test_data): Likewise.
24999 (cbrt_test_data): Likewise.
25000 (ccos_test_data): Likewise.
25001 (ccosh_test_data): Likewise.
25002 (ceil_test_data): Likewise.
25003 (cexp_test_data): Likewise.
25004 (cimag_test_data): Likewise.
25005 (clog_test_data): Likewise.
25006 (clog10_test_data): Likewise.
25007 (conj_test_data): Likewise.
25008 (copysign_test_data): Likewise.
25009 (cos_test_data): Likewise.
25010 (cos_tonearest_test_data): Likewise.
25011 (cos_towardzero_test_data): Likewise.
25012 (cos_downward_test_data): Likewise.
25013 (cos_upward_test_data): Likewise.
25014 (cosh_test_data): Likewise.
25015 (cosh_tonearest_test_data): Likewise.
25016 (cosh_towardzero_test_data): Likewise.
25017 (cosh_downward_test_data): Likewise.
25018 (cosh_upward_test_data): Likewise.
25019 (cpow_test_data): Likewise.
25020 (cproj_test_data): Likewise.
25021 (creal_test_data): Likewise.
25022 (csin_test_data): Likewise.
25023 (csinh_test_data): Likewise.
25024 (csqrt_test_data): Likewise.
25025 (ctan_test_data): Likewise.
25026 (ctan_tonearest_test_data): Likewise.
25027 (ctan_towardzero_test_data): Likewise.
25028 (ctan_downward_test_data): Likewise.
25029 (ctan_upward_test_data): Likewise.
25030 (ctanh_test_data): Likewise.
25031 (ctanh_tonearest_test_data): Likewise.
25032 (ctanh_towardzero_test_data): Likewise.
25033 (ctanh_downward_test_data): Likewise.
25034 (ctanh_upward_test_data): Likewise.
25035 (erf_test_data): Likewise.
25036 (erfc_test_data): Likewise.
25037 (exp_test_data): Likewise.
25038 (exp_tonearest_test_data): Likewise.
25039 (exp_towardzero_test_data): Likewise.
25040 (exp_downward_test_data): Likewise.
25041 (exp_upward_test_data): Likewise.
25042 (exp10_test_data): Likewise.
25043 (exp2_test_data): Likewise.
25044 (expm1_test_data): Likewise.
25045 (fabs_test_data): Likewise.
25046 (fdim_test_data): Likewise.
25047 (finite_test_data): Likewise.
25048 (floor_test_data): Likewise.
25049 (fma_test_data): Likewise.
25050 (fma_towardzero_test_data): Likewise.
25051 (fma_downward_test_data): Likewise.
25052 (fma_upward_test_data): Likewise.
25053 (fmax_test_data): Likewise.
25054 (fmin_test_data): Likewise.
25055 (fmod_test_data): Likewise.
25056 (fpclassify_test_data): Likewise.
25057 (frexp_test_data): Likewise.
25058 (gamma_test_data): Likewise.
25059 (hypot_test_data): Likewise.
25060 (ilogb_test_data): Likewise.
25061 (isfinite_test_data): Likewise.
25062 (isgreater_test_data): Likewise.
25063 (isgreaterequal_test_data): Likewise.
25064 (isinf_test_data): Likewise.
25065 (isless_test_data): Likewise.
25066 (islessequal_test_data): Likewise.
25067 (islessgreater_test_data): Likewise.
25068 (isnan_test_data): Likewise.
25069 (isnormal_test_data): Likewise.
25070 (issignaling_test_data): Likewise.
25071 (isunordered_test_data): Likewise.
25072 (j0_test_data): Likewise.
25073 (j1_test_data): Likewise.
25074 (jn_test_data): Likewise.
25075 (ldexp_test_data): Likewise.
25076 (lgamma_test_data): Likewise.
25077 (lrint_test_data): Likewise.
25078 (lrint_tonearest_test_data): Likewise.
25079 (lrint_towardzero_test_data): Likewise.
25080 (lrint_downward_test_data): Likewise.
25081 (lrint_upward_test_data): Likewise.
25082 (llrint_test_data): Likewise.
25083 (llrint_tonearest_test_data): Likewise.
25084 (llrint_towardzero_test_data): Likewise.
25085 (llrint_downward_test_data): Likewise.
25086 (llrint_upward_test_data): Likewise.
25087 (log_test_data): Likewise.
25088 (log10_test_data): Likewise.
25089 (log1p_test_data): Likewise.
25090 (log2_test_data): Likewise.
25091 (logb_test_data): Likewise.
25092 (logb_downward_test_data): Likewise.
25093 (lround_test_data): Likewise.
25094 (llround_test_data): Likewise.
25095 (modf_test_data): Likewise.
25096 (nearbyint_test_data): Likewise.
25097 (nextafter_test_data): Likewise.
25098 (nexttoward_test_data): Likewise.
25099 (pow_test_data): Likewise.
25100 (pow_tonearest_test_data): Likewise.
25101 (pow_towardzero_test_data): Likewise.
25102 (pow_downward_test_data): Likewise.
25103 (pow_upward_test_data): Likewise.
25104 (remainder_test_data): Likewise.
25105 (remainder_tonearest_test_data): Likewise.
25106 (remainder_towardzero_test_data): Likewise.
25107 (remainder_downward_test_data): Likewise.
25108 (remainder_upward_test_data): Likewise.
25109 (remquo_test_data): Likewise.
25110 (rint_test_data): Likewise.
25111 (rint_tonearest_test_data): Likewise.
25112 (rint_towardzero_test_data): Likewise.
25113 (rint_downward_test_data): Likewise.
25114 (rint_upward_test_data): Likewise.
25115 (round_test_data): Likewise.
25116 (scalb_test_data): Likewise.
25117 (scalbn_test_data): Likewise.
25118 (scalbln_test_data): Likewise.
25119 (signbit_test_data): Likewise.
25120 (sin_test_data): Likewise.
25121 (sin_tonearest_test_data): Likewise.
25122 (sin_towardzero_test_data): Likewise.
25123 (sin_downward_test_data): Likewise.
25124 (sin_upward_test_data): Likewise.
25125 (sincos_test_data): Likewise.
25126 (sinh_test_data): Likewise.
25127 (sinh_tonearest_test_data): Likewise.
25128 (sinh_towardzero_test_data): Likewise.
25129 (sinh_downward_test_data): Likewise.
25130 (sinh_upward_test_data): Likewise.
25131 (sqrt_test_data): Likewise.
25132 (tan_test_data): Likewise.
25133 (tan_tonearest_test_data): Likewise.
25134 (tan_towardzero_test_data): Likewise.
25135 (tan_downward_test_data): Likewise.
25136 (tan_upward_test_data): Likewise.
25137 (tanh_test_data): Likewise.
25138 (tgamma_test_data): Likewise.
25139 (trunc_test_data): Likewise.
25140 (y0_test_data): Likewise.
25141 (y1_test_data): Likewise.
25142 (yn_test_data): Likewise.
25143 (significand_test_data): Likewise.
25144
25145 * math/gen-libm-test.pl (@functions): Remove variable.
25146 (generate_testfile): Don't handle START and END lines.
25147 * math/libm-test.inc (START): New macro.
25148 (END): Likewise.
25149 (END_COMPLEX): Likewise.
25150 (acos_test): Use END macro without arguments.
25151 (acos_test_tonearest): Likewise.
25152 (acos_test_towardzero): Likewise.
25153 (acos_test_downward): Likewise.
25154 (acos_test_upward): Likewise.
25155 (acosh_test): Likewise.
25156 (asin_test): Likewise.
25157 (asin_test_tonearest): Likewise.
25158 (asin_test_towardzero): Likewise.
25159 (asin_test_downward): Likewise.
25160 (asin_test_upward): Likewise.
25161 (asinh_test): Likewise.
25162 (atan_test): Likewise.
25163 (atanh_test): Likewise.
25164 (atan2_test): Likewise.
25165 (cabs_test): Likewise.
25166 (cacos_test): Use END_COMPLEX macro without arguments.
25167 (cacosh_test): Likewise.
25168 (carg_test): Use END macro without arguments.
25169 (casin_test): Use END_COMPLEX macro without arguments.
25170 (casinh_test): Likewise.
25171 (catan_test): Likewise.
25172 (catanh_test): Likewise.
25173 (cbrt_test): Use END macro without arguments.
25174 (ccos_test): Use END_COMPLEX macro without arguments.
25175 (ccosh_test): Likewise.
25176 (ceil_test): Use END macro without arguments.
25177 (cexp_test): Use END_COMPLEX macro without arguments.
25178 (cimag_test): Use END macro without arguments.
25179 (clog_test): Use END_COMPLEX macro without arguments.
25180 (clog10_test): Likewise.
25181 (conj_test): Likewise.
25182 (copysign_test): Use END macro without arguments.
25183 (cos_test): Likewise.
25184 (cos_test_tonearest): Likewise.
25185 (cos_test_towardzero): Likewise.
25186 (cos_test_downward): Likewise.
25187 (cos_test_upward): Likewise.
25188 (cosh_test): Likewise.
25189 (cosh_test_tonearest): Likewise.
25190 (cosh_test_towardzero): Likewise.
25191 (cosh_test_downward): Likewise.
25192 (cosh_test_upward): Likewise.
25193 (cpow_test): Use END_COMPLEX macro without arguments.
25194 (cproj_test): Likewise.
25195 (creal_test): Use END macro without arguments.
25196 (csin_test): Use END_COMPLEX macro without arguments.
25197 (csinh_test): Likewise.
25198 (csqrt_test): Likewise.
25199 (ctan_test): Likewise.
25200 (ctan_test_tonearest): Likewise.
25201 (ctan_test_towardzero): Likewise.
25202 (ctan_test_downward): Likewise.
25203 (ctan_test_upward): Likewise.
25204 (ctanh_test): Likewise.
25205 (ctanh_test_tonearest): Likewise.
25206 (ctanh_test_towardzero): Likewise.
25207 (ctanh_test_downward): Likewise.
25208 (ctanh_test_upward): Likewise.
25209 (erf_test): Use END macro without arguments.
25210 (erfc_test): Likewise.
25211 (exp_test): Likewise.
25212 (exp_test_tonearest): Likewise.
25213 (exp_test_towardzero): Likewise.
25214 (exp_test_downward): Likewise.
25215 (exp_test_upward): Likewise.
25216 (exp10_test): Likewise.
25217 (exp2_test): Likewise.
25218 (expm1_test): Likewise.
25219 (fabs_test): Likewise.
25220 (fdim_test): Likewise.
25221 (finite_test): Likewise.
25222 (floor_test): Likewise.
25223 (fma_test): Likewise.
25224 (fma_test_towardzero): Likewise.
25225 (fma_test_downward): Likewise.
25226 (fma_test_upward): Likewise.
25227 (fmax_test): Likewise.
25228 (fmin_test): Likewise.
25229 (fmod_test): Likewise.
25230 (fpclassify_test): Likewise.
25231 (frexp_test): Likewise.
25232 (gamma_test): Likewise.
25233 (hypot_test): Likewise.
25234 (ilogb_test): Likewise.
25235 (isfinite_test): Likewise.
25236 (isgreater_test): Likewise.
25237 (isgreaterequal_test): Likewise.
25238 (isinf_test): Likewise.
25239 (isless_test): Likewise.
25240 (islessequal_test): Likewise.
25241 (islessgreater_test): Likewise.
25242 (isnan_test): Likewise.
25243 (isnormal_test): Likewise.
25244 (issignaling_test): Likewise.
25245 (isunordered_test): Likewise.
25246 (j0_test): Likewise.
25247 (j1_test): Likewise.
25248 (jn_test): Likewise.
25249 (ldexp_test): Likewise.
25250 (lgamma_test): Likewise.
25251 (lrint_test): Likewise.
25252 (lrint_test_tonearest): Likewise.
25253 (lrint_test_towardzero): Likewise.
25254 (lrint_test_downward): Likewise.
25255 (lrint_test_upward): Likewise.
25256 (llrint_test): Likewise.
25257 (llrint_test_tonearest): Likewise.
25258 (llrint_test_towardzero): Likewise.
25259 (llrint_test_downward): Likewise.
25260 (llrint_test_upward): Likewise.
25261 (log_test): Likewise.
25262 (log10_test): Likewise.
25263 (log1p_test): Likewise.
25264 (log2_test): Likewise.
25265 (logb_test): Likewise.
25266 (logb_test_downward): Likewise.
25267 (lround_test): Likewise.
25268 (llround_test): Likewise.
25269 (modf_test): Likewise.
25270 (nearbyint_test): Likewise.
25271 (nextafter_test): Likewise.
25272 (nexttoward_test): Likewise.
25273 (pow_test): Likewise.
25274 (pow_test_tonearest): Likewise.
25275 (pow_test_towardzero): Likewise.
25276 (pow_test_downward): Likewise.
25277 (pow_test_upward): Likewise.
25278 (remainder_test): Likewise.
25279 (remainder_test_tonearest): Likewise.
25280 (remainder_test_towardzero): Likewise.
25281 (remainder_test_downward): Likewise.
25282 (remainder_test_upward): Likewise.
25283 (remquo_test): Likewise.
25284 (rint_test): Likewise.
25285 (rint_test_tonearest): Likewise.
25286 (rint_test_towardzero): Likewise.
25287 (rint_test_downward): Likewise.
25288 (rint_test_upward): Likewise.
25289 (round_test): Likewise.
25290 (scalb_test): Likewise.
25291 (scalbn_test): Likewise.
25292 (scalbln_test): Likewise.
25293 (signbit_test): Likewise.
25294 (sin_test): Likewise.
25295 (sin_test_tonearest): Likewise.
25296 (sin_test_towardzero): Likewise.
25297 (sin_test_downward): Likewise.
25298 (sin_test_upward): Likewise.
25299 (sincos_test): Likewise.
25300 (sinh_test): Likewise.
25301 (sinh_test_tonearest): Likewise.
25302 (sinh_test_towardzero): Likewise.
25303 (sinh_test_downward): Likewise.
25304 (sinh_test_upward): Likewise.
25305 (sqrt_test): Likewise.
25306 (tan_test): Likewise.
25307 (tan_test_tonearest): Likewise.
25308 (tan_test_towardzero): Likewise.
25309 (tan_test_downward): Likewise.
25310 (tan_test_upward): Likewise.
25311 (tanh_test): Likewise.
25312 (tgamma_test): Likewise.
25313 (trunc_test): Likewise.
25314 (y0_test): Likewise.
25315 (y1_test): Likewise.
25316 (yn_test): Likewise.
25317 (significand_test): Likewise.
25318
25319 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
25320
25321 [BZ #15381]
25322 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25323
25324 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25325
25326 [BZ #14894]
25327 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25328 __ppc_mdoio and __ppc_mdoom.
25329 * manual/platform.texi: Document new functions __ppc_yield,
25330 __ppc_mdoio and __ppc_mdoom.
25331
25332 2013-05-22 Carlos O'Donell <carlos@redhat.com>
25333
25334 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25335 (main): Mention "tls" pseudo-hwcap is legacy.
25336 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25337
25338 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25339
25340 * math/gen-libm-test.pl (parse_args): Output only string of
25341 arguments as text for test name, not full call or descriptions of
25342 tests for extra outputs.
25343 (generate_testfile): Do not pass function name to parse_args.
25344 Generate this_func variable from START.
25345 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25346 field to arg_str.
25347 (struct test_ff_f_data): Likewise.
25348 (test_ff_f_data_nexttoward): Likewise.
25349 (struct test_fi_f_data): Likewise.
25350 (struct test_fl_f_data): Likewise.
25351 (struct test_if_f_data): Likewise.
25352 (struct test_fff_f_data): Likewise.
25353 (struct test_c_f_data): Likewise.
25354 (struct test_f_f1_data): Likewise. Remove field extra_name.
25355 (struct test_fF_f1_data): Likewise.
25356 (struct test_ffI_f1_data): Likewise.
25357 (struct test_c_c_data): Rename test_name field to arg_str.
25358 (struct test_cc_c_data): Likewise.
25359 (struct test_f_i_data): Likewise.
25360 (struct test_ff_i_data): Likewise.
25361 (struct test_f_l_data): Likewise.
25362 (struct test_f_L_data): Likewise.
25363 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25364 and extra2_name.
25365 (COMMON_TEST_SETUP): New macro.
25366 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25367 (COMMON_TEST_CLEANUP): Likewise.
25368 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25369 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25370 macros.
25371 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25372 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25373 macros.
25374 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25375 (RUN_TEST_fff_f): Take argument string. Call new setup and
25376 cleanup macros.
25377 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25378 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25379 macros.
25380 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25381 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25382 macros.
25383 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25384 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25385 cleanup macros.
25386 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25387 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25388 cleanup macros.
25389 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25390 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25391 cleanup macros.
25392 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25393 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25394 macros.
25395 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25396 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25397 macros.
25398 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25399 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25400 macros.
25401 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25402 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25403 cleanup macros.
25404 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25405 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25406 cleanup macros.
25407 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25408 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25409 macros.
25410 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25411 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25412 cleanup macros.
25413 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25414 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25415 macros.
25416 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25417 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25418 macros.
25419 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25420 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25421 cleanup macros.
25422 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25423
25424 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25425
25426 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25427 to _sifields.sigfault.
25428 (si_addr_lsb): Define new macro.
25429 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25430 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25431 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25432
25433 2013-05-03 Carlos O'Donell <carlos at redhat.com>
25434
25435 [BZ #15441]
25436 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25437 returns -1.
25438 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25439 null return -1.
25440 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25441 loading the domain.
25442
25443 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25444
25445 * math/gen-libm-test.pl (parse_args): Do not include expected
25446 result in test name.
25447 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25448 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25449 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25450 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25451 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25453
25454 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25455
25456 * benchtests/Makefile: Sort function entries.
25457
25458 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25459 tanh, asinh, acosh, atanh.
25460 * benchtests/acos-inputs: New file.
25461 * benchtests/acosh-inputs: New file.
25462 * benchtests/asin-inputs: New file.
25463 * benchtests/asinh-inputs: New file.
25464 * benchtests/atanh-inputs: New file.
25465 * benchtests/cosh-inputs: New file.
25466 * benchtests/log-inputs: New file.
25467 * benchtests/sinh-inputs: New file.
25468 * benchtests/tanh-inputs: New file.
25469
25470 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25471
25472 [BZ #15339]
25473 * posix/tst-getaddrinfo4.c: New test.
25474 * posix/Makefile (tests): Add it.
25475
25476 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25477
25478 [BZ #15339]
25479 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25480 when no services were used.
25481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25482 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25483
25484 2013-05-21 Andreas Schwab <schwab@suse.de>
25485
25486 [BZ #15014]
25487 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25488 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25489 successful.
25490 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25491 redundant variable declarations and reallocation of buffer when
25492 parsing as IPv6 address. Always set NSS status when called from
25493 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25494 buffer too small. Correct computation of needed size.
25495 * nss/Makefile (tests): Add test-digits-dots.
25496 * nss/test-digits-dots.c: New test.
25497
25498 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25499
25500 * benchtests/Makefile: Remove instructions for adding
25501 benchmark tests.
25502 * benchtests/README: New file to explain how to execute and
25503 enhance the benchmark tests.
25504
25505 2013-05-21 Andreas Schwab <schwab@suse.de>
25506
25507 [BZ #15493]
25508 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25509 * setjmp/tst-sigsetjmp.c: New test.
25510
25511 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25512
25513 * sysdeps/x86_64/memset.S (memset): New implementation.
25514 (__bzero): Likewise.
25515 (__memset_tail): New function.
25516
25517 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25518
25519 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25520 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25521 __memcpy_sse2_unaligned ifunc selection.
25522 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25523 Add memcpy-sse2-unaligned.S.
25524 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25525 Add: __memcpy_sse2_unaligned.
25526
25527 2013-05-19 Joseph Myers <joseph@codesourcery.com>
25528
25529 [BZ #15490]
25530 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25531 math_force_eval before restoring floating-point envrionment.
25532 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25533 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25534 Likewise.
25535 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25536 <math_private.h>.
25537 (__nearbyintl): Use math_force_eval before restoring
25538 floating-point environment.
25539 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25540
25541 * math/gen-libm-test.pl (special_functions): Remove.
25542 (parse_args): Don't handle TEST_extra. Handle functions with no
25543 return value.
25544 * math/libm-test.inc (struct test_sincos_data): Replace with
25545 struct test_fFF_11_data.
25546 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25547 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25548 (sincos_test_data): Change element type to struct
25549 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25550 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25551 RUN_TEST_LOOP_sincos.
25552 * math/README.libm-test: Don't mention special handling of
25553 individual functions.
25554 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25555 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25556 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25557 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25558 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25560
25561 * math/gen-libm-test.pl (get_variable): Remove function.
25562 (parse_args): Don't show pointer parameters to call in test
25563 names. Use "extra output N" in test names for extra outputs
25564 rather than naming variables.
25565
25566 2013-05-18 Joseph Myers <joseph@codesourcery.com>
25567
25568 [BZ #15488]
25569 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25570 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25571 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25572 double tests.
25573 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25574 disable.
25575 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25576 check_long_double.
25577
25578 * math/gen-libm-test.pl (@tests): Remove variable.
25579 ($count): Likewise.
25580 (new_test): Remove function.
25581 (show_exceptions): New function.
25582 (special_functions): Use show_exceptions instead of new_test.
25583 (parse_args): Likewise.
25584 (generate_testfile): Pass only function name in generated call to
25585 print_max_error or print_complex_max_error.
25586 (get_ulps): Do not handle complex tests specially.
25587 (output_test): Rename to ...
25588 (get_all_ulps_for_test): ... this. Return a string rather than
25589 printing to a file. Require ulps to be present.
25590 (output_ulps): Generate arrays rather than #defines.
25591 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25592 (struct ulp_data): New type.
25593 (BUILD_COMPLEX_ULP): Remove macro.
25594 (compare_ulp_data): New function.
25595 (find_ulps): Likewise.
25596 (find_test_ulps): Likewise.
25597 (find_function_ulps): Likewise.
25598 (find_complex_function_ulps): Likewise.
25599 (print_max_error): Determine allowed ulps using
25600 find_function_ulps.
25601 (print_complex_max_error): Determine allowed ulps using
25602 find_complex_function_ulps.
25603 (check_float_internal): Determine max ulps using find_test_ulps.
25604 (check_float): Do not take max_ulp parameter. Update call to
25605 check_float_internal.
25606 (check_complex): Likewise.
25607 (check_int): Do not take max_ulp parameter.
25608 (check_long): Likewise.
25609 (check_bool): Likewise.
25610 (check_longlong): Likewise.
25611 (struct test_f_f_data): Remove max_ulp field.
25612 (struct test_ff_f_data): Likewise.
25613 (struct test_ff_f_data_nexttoward): Likewise.
25614 (struct test_fi_f_data): Likewise.
25615 (struct test_fl_f_data): Likewise.
25616 (struct test_if_f_data): Likewise.
25617 (struct test_fff_f_data): Likewise.
25618 (struct test_c_f_data): Likewise.
25619 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25620 (struct test_fF_f1_data): Likewise.
25621 (struct test_ffI_f1_data): Likewise.
25622 (struct test_c_c_data): Remove max_ulp field.
25623 (struct test_cc_c_data): Likewise.
25624 (struct test_f_i_data): Likewise.
25625 (struct test_ff_i_data): Likewise.
25626 (struct test_f_l_data): Likewise.
25627 (struct test_f_L_data): Likewise.
25628 (struct test_sincos_data): Likewise.
25629 (RUN_TEST_f_f): Do not handle ulps.
25630 (RUN_TEST_LOOP_f_f): Likewise.
25631 (RUN_TEST_2_f): Likewise.
25632 (RUN_TEST_LOOP_2_f): Likewise.
25633 (RUN_TEST_fff_f): Likewise.
25634 (RUN_TEST_LOOP_fff_f): Likewise.
25635 (RUN_TEST_c_f): Likewise.
25636 (RUN_TEST_LOOP_c_f): Likewise.
25637 (RUN_TEST_f_f1): Likewise.
25638 (RUN_TEST_LOOP_f_f1): Likewise.
25639 (RUN_TEST_fF_f1): Likewise.
25640 (RUN_TEST_LOOP_fF_f1): Likewise.
25641 (RUN_TEST_fI_f1): Likewise.
25642 (RUN_TEST_LOOP_fI_f1): Likewise.
25643 (RUN_TEST_ffI_f1): Likewise.
25644 (RUN_TEST_LOOP_ffI_f1): Likewise.
25645 (RUN_TEST_c_c): Likewise.
25646 (RUN_TEST_LOOP_c_c): Likewise.
25647 (RUN_TEST_cc_c): Likewise.
25648 (RUN_TEST_LOOP_cc_c): Likewise.
25649 (RUN_TEST_f_i): Likewise.
25650 (RUN_TEST_LOOP_f_i): Likewise.
25651 (RUN_TEST_f_i_tg): Likewise.
25652 (RUN_TEST_LOOP_f_i_tg): Likewise.
25653 (RUN_TEST_ff_i_tg): Likewise.
25654 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25655 (RUN_TEST_f_b): Likewise.
25656 (RUN_TEST_LOOP_f_b): Likewise.
25657 (RUN_TEST_f_b_tg): Likewise.
25658 (RUN_TEST_LOOP_f_b_tg): Likewise.
25659 (RUN_TEST_f_l): Likewise.
25660 (RUN_TEST_LOOP_f_l): Likewise.
25661 (RUN_TEST_f_L): Likewise.
25662 (RUN_TEST_LOOP_f_L): Likewise.
25663 (RUN_TEST_sincos): Likewise.
25664 (RUN_TEST_LOOP_sincos): Likewise.
25665
25666 2013-05-17 Joseph Myers <joseph@codesourcery.com>
25667
25668 [BZ #15480]
25669 [BZ #15485]
25670 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25671 main case of finite arguments, set rounding mode to FE_TONEAREST
25672 and discard exceptions.
25673 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25674 exceptions.
25675 (remainder_tonearest_test_data): New variable.
25676 (remainder_test_tonearest): New function.
25677 (remainder_towardzero_test_data): New variable.
25678 (remainder_test_towardzero): New function.
25679 (remainder_downward_test_data): New variable.
25680 (remainder_test_downward): New function.
25681 (remainder_upward_test_data): New variable.
25682 (remainder_test_upward): New function.
25683 (main): Call the new test functions.
25684
25685 * math/libm-test.inc (struct test_f_f1_data): Remove field
25686 extra_init.
25687 (struct test_fF_f1_data): Likewise.
25688 (struct test_ffI_f1_data): Likewise.
25689 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25690 based on value of EXTRA_EXPECTED.
25691 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25692 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25693 EXTRA_VAR based on value of EXTRA_EXPECTED.
25694 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25695 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25696 EXTRA_VAR based on value of EXTRA_EXPECTED.
25697 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25698 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25699 EXTRA_VAR based on value of EXTRA_EXPECTED.
25700 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25701 * math/gen-libm-test.pl (parse_args): Don't output initializers
25702 for extra output values.
25703
25704 * math/libm-test.inc (check_int): Expect result to be exactly
25705 equal to expected value and do not handle ulps.
25706 (check_long): Likewise.
25707 (check_longlong): Likewise.
25708
25709 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25710 exceptions.
25711 (cimag_test_data): Likewise.
25712 (conj_test_data): Likewise.
25713 (copysign_test_data): Likewise.
25714 (cproj_test_data): Likewise.
25715 (creal_test_data): Likewise.
25716 (fabs_test_data): Likewise.
25717 (fdim_test_data): Likewise.
25718 (finite_test_data): Likewise.
25719 (floor_test_data): Likewise.
25720 (fmax_test_data): Likewise.
25721 (fmin_test_data): Likewise.
25722 (fmod_test_data): Likewise.
25723 (fpclassify_test_data): Likewise.
25724 (frexp_test_data): Likewise.
25725 (ilogb_test_data): Likewise.
25726 (isfinite_test_data): Likewise.
25727 (isgreater_test_data): Likewise.
25728 (isgreaterequal_test_data): Likewise.
25729 (isinf_test_data): Likewise.
25730 (isless_test_data): Likewise.
25731 (islessequal_test_data): Likewise.
25732 (islessgreater_test_data): Likewise.
25733 (isnan_test_data): Likewise.
25734 (isnormal_test_data): Likewise.
25735 (issignaling_test_data): Likewise.
25736 (isunordered_test_data): Likewise.
25737 (ldexp_test_data): Likewise.
25738 (lrint_test_data): Likewise.
25739 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25740 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25741 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25742 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25743 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25744 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25745 test input.
25746 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25747 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25748 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25749 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25750 that test input.
25751 (lrint_downward_test_data): Test for "inexact" exceptions.
25752 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25753 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25754 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25755 test input.
25756 (lrint_upward_test_data): Test for "inexact" exceptions.
25757 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25758 test input.
25759 (llrint_test_data): Test for "inexact" exceptions.
25760 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25761 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25762 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25763 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25764 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25765 (llrint_downward_test_data): Test for "inexact" exceptions.
25766 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25767 (llrint_upward_test_data): Test for "inexact" exceptions.
25768 (logb_test_data): Likewise.
25769 (logb_downward_test_data): Likewise.
25770 (nextafter_test_data): Likewise.
25771 (nexttoward_test_data): Likewise.
25772 (remainder_test_data): Likewise.
25773 (remquo_test_data): Likewise.
25774 (scalbn_test_data): Likewise.
25775 (scalbln_test_data): Likewise.
25776 (signbit_test_data): Likewise.
25777 (sqrt_test_data): Likewise.
25778 (significand_test_data): Likewise.
25779
25780 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25781
25782 [BZ #15424]
25783 * benchtests/bench-modf.c (struct args): Mark arg0 as
25784 volatile.
25785 * scripts/bench.pl: Mark members of struct args as volatile.
25786
25787 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25788
25789 [BZ # 15497]
25790 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25791 negative infinity on POWER6 or lower.
25792 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25793
25794 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25795
25796 [BZ #15442]
25797 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25798 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25799 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25800 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25801 (_FP_SETQNAN): New macro.
25802 (_FP_SETQNAN_SEMIRAW): Likewise.
25803 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25804 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25805 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25806 (FP_EXTEND): Use _FP_FRAC_SNANP.
25807 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25808 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25809 into account.
25810 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25811 New macro.
25812 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25813 Likewise.
25814
25815 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25816
25817 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25818 with DIVIDE_BY_ZERO_EXCEPTION.
25819 (gamma_test_data): Likewise.
25820 (lgamma_test_data): Likewise.
25821 (log_test_data): Likewise.
25822 (log10_test_data): Likewise.
25823 (log2_test_data): Likewise.
25824 (tgamma_test_data): Likewise.
25825
25826 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25827 (acos_test_tonearest): Likewise.
25828 (acos_test_towardzero): Likewise.
25829 (acos_test_downward): Likewise.
25830 (acos_test_upward): Likewise.
25831 (acosh_test): Likewise.
25832 (asin_test): Likewise.
25833 (asin_test_tonearest): Likewise.
25834 (asin_test_towardzero): Likewise.
25835 (asin_test_downward): Likewise.
25836 (asin_test_upward): Likewise.
25837 (asinh_test): Likewise.
25838 (atan_test): Likewise.
25839 (atanh_test): Likewise.
25840 (atan2_test): Likewise.
25841 (cabs_test): Likewise.
25842 (cacos_test): Likewise.
25843 (cacosh_test): Likewise.
25844 (casin_test): Likewise.
25845 (casinh_test): Likewise.
25846 (catan_test): Likewise.
25847 (catanh_test): Likewise.
25848 (cbrt_test): Likewise.
25849 (ccos_test): Likewise.
25850 (ccosh_test): Likewise.
25851 (cexp_test): Likewise.
25852 (clog_test): Likewise.
25853 (clog10_test): Likewise.
25854 (cos_test): Likewise.
25855 (cos_test_tonearest): Likewise.
25856 (cos_test_towardzero): Likewise.
25857 (cos_test_downward): Likewise.
25858 (cos_test_upward): Likewise.
25859 (cosh_test): Likewise.
25860 (cosh_test_tonearest): Likewise.
25861 (cosh_test_towardzero): Likewise.
25862 (cosh_test_downward): Likewise.
25863 (cosh_test_upward): Likewise.
25864 (cpow_test): Likewise.
25865 (csin_test): Likewise.
25866 (csinh_test): Likewise.
25867 (csqrt_test): Likewise.
25868 (ctan_test): Likewise.
25869 (ctan_test_tonearest): Likewise.
25870 (ctan_test_towardzero): Likewise.
25871 (ctan_test_downward): Likewise.
25872 (ctan_test_upward): Likewise.
25873 (ctanh_test): Likewise.
25874 (ctanh_test_tonearest): Likewise.
25875 (ctanh_test_towardzero): Likewise.
25876 (ctanh_test_downward): Likewise.
25877 (ctanh_test_upward): Likewise.
25878 (erf_test): Likewise.
25879 (erfc_test): Likewise.
25880 (exp_test): Likewise.
25881 (exp_test_tonearest): Likewise.
25882 (exp_test_towardzero): Likewise.
25883 (exp_test_downward): Likewise.
25884 (exp_test_upward): Likewise.
25885 (exp10_test): Likewise.
25886 (exp2_test): Likewise.
25887 (expm1_test): Likewise.
25888 (fmod_test): Likewise.
25889 (gamma_test): Likewise.
25890 (hypot_test): Likewise.
25891 (j0_test): Likewise.
25892 (j1_test): Likewise.
25893 (jn_test): Likewise.
25894 (lgamma_test): Likewise.
25895 (log_test): Likewise.
25896 (log10_test): Likewise.
25897 (log1p_test): Likewise.
25898 (log2_test): Likewise.
25899 (logb_test_downward): Likewise.
25900 (pow_test): Likewise.
25901 (pow_test_tonearest): Likewise.
25902 (pow_test_towardzero): Likewise.
25903 (pow_test_downward): Likewise.
25904 (pow_test_upward): Likewise.
25905 (remainder_test): Likewise.
25906 (remquo_test): Likewise.
25907 (sin_test): Likewise.
25908 (sin_test_tonearest): Likewise.
25909 (sin_test_towardzero): Likewise.
25910 (sin_test_downward): Likewise.
25911 (sin_test_upward): Likewise.
25912 (sincos_test): Likewise.
25913 (sinh_test): Likewise.
25914 (sinh_test_tonearest): Likewise.
25915 (sinh_test_towardzero): Likewise.
25916 (sinh_test_downward): Likewise.
25917 (sinh_test_upward): Likewise.
25918 (sqrt_test): Likewise.
25919 (tan_test): Likewise.
25920 (tan_test_tonearest): Likewise.
25921 (tan_test_towardzero): Likewise.
25922 (tan_test_downward): Likewise.
25923 (tan_test_upward): Likewise.
25924 (tanh_test): Likewise.
25925 (tgamma_test): Likewise.
25926 (y0_test): Likewise.
25927 (y1_test): Likewise.
25928 (yn_test): Likewise.
25929
25930 * math/gen-libm-test.pl (adjust_arg): Remove function.
25931 (special_function): Remove argument $in_func. Only handle
25932 generating output for tables of tests, not inside functions.
25933 (parse_args): Likewise.
25934 (generate_testfile): Remove variable $in_func. Update call to
25935 parse_args.
25936 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25937 (MINUS_ZERO_INIT): Rename macro to minus_zero.
25938 (PLUS_INFTY_INIT): Rename macro to plus_infty.
25939 (MINUS_INFTY_INIT): Rename macro to minus_infty.
25940 (QNAN_VALUE_INIT): Rename macro to qnan_value.
25941 (MAX_VALUE_INIT): Rename macro to max_value.
25942 (MIN_VALUE_INIT): Rename macro to min_value.
25943 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25944 (plus_zero): Remove variable.
25945 (minus_zero): Likewise.
25946 (plus_infty): Likewise.
25947 (minus_infty): Likewise.
25948 (qnan_value): Likewise.
25949 (max_value): Likewise.
25950 (min_value): Likewise.
25951 (min_subnorm_value): Likewise.
25952
25953 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25954
25955 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25956 uint64_t or uint32_t usage.
25957 * crypt/sha256-block.c: Likewise.
25958 * crypt/sha256-crypt.c: Likewise.
25959 * crypt/sha256.c: Likewise.
25960 * crypt/sha512-block.c: Likewise.
25961 * crypt/sha512-crypt.c: Likewise.
25962 * crypt/sha512.c: Likewise.
25963 * debug/backtrace-tst.c: Likewise.
25964 * debug/pcprofiledump.c: Likewise.
25965 * elf/cache.c: Likewise.
25966 * elf/dl-cache.c: Likewise.
25967 * elf/dl-misc.c: Likewise.
25968 * elf/dl-profile.c: Likewise.
25969 * elf/dl-support.c: Likewise.
25970 * elf/ldconfig.c: Likewise.
25971 * elf/sprof.c: Likewise.
25972 * iconv/dummy-repertoire.c: Likewise.
25973 * iconv/iconv_charmap.c: Likewise.
25974 * iconv/skeleton.c: Likewise.
25975 * iconvdata/8bit-generic.c: Likewise.
25976 * iconvdata/cp737.h: Likewise.
25977 * iconvdata/cp775.h: Likewise.
25978 * iconvdata/ibm1008.h: Likewise.
25979 * iconvdata/ibm1025.h: Likewise.
25980 * iconvdata/ibm1046.h: Likewise.
25981 * iconvdata/ibm1097.h: Likewise.
25982 * iconvdata/ibm1112.h: Likewise.
25983 * iconvdata/ibm1122.h: Likewise.
25984 * iconvdata/ibm1123.h: Likewise.
25985 * iconvdata/ibm1124.h: Likewise.
25986 * iconvdata/ibm1129.h: Likewise.
25987 * iconvdata/ibm1130.h: Likewise.
25988 * iconvdata/ibm1132.h: Likewise.
25989 * iconvdata/ibm1133.h: Likewise.
25990 * iconvdata/ibm1137.h: Likewise.
25991 * iconvdata/ibm1140.h: Likewise.
25992 * iconvdata/ibm1141.h: Likewise.
25993 * iconvdata/ibm1142.h: Likewise.
25994 * iconvdata/ibm1143.h: Likewise.
25995 * iconvdata/ibm1144.h: Likewise.
25996 * iconvdata/ibm1145.h: Likewise.
25997 * iconvdata/ibm1146.h: Likewise.
25998 * iconvdata/ibm1147.h: Likewise.
25999 * iconvdata/ibm1148.h: Likewise.
26000 * iconvdata/ibm1149.h: Likewise.
26001 * iconvdata/ibm1153.h: Likewise.
26002 * iconvdata/ibm1154.h: Likewise.
26003 * iconvdata/ibm1155.h: Likewise.
26004 * iconvdata/ibm1156.h: Likewise.
26005 * iconvdata/ibm1157.h: Likewise.
26006 * iconvdata/ibm1158.h: Likewise.
26007 * iconvdata/ibm1160.h: Likewise.
26008 * iconvdata/ibm1161.h: Likewise.
26009 * iconvdata/ibm1162.h: Likewise.
26010 * iconvdata/ibm1163.h: Likewise.
26011 * iconvdata/ibm1164.h: Likewise.
26012 * iconvdata/ibm1166.h: Likewise.
26013 * iconvdata/ibm1167.h: Likewise.
26014 * iconvdata/ibm12712.h: Likewise.
26015 * iconvdata/ibm1390.h: Likewise.
26016 * iconvdata/ibm1399.h: Likewise.
26017 * iconvdata/ibm16804.h: Likewise.
26018 * iconvdata/ibm4517.h: Likewise.
26019 * iconvdata/ibm4899.h: Likewise.
26020 * iconvdata/ibm4909.h: Likewise.
26021 * iconvdata/ibm4971.h: Likewise.
26022 * iconvdata/ibm5347.h: Likewise.
26023 * iconvdata/ibm803.h: Likewise.
26024 * iconvdata/ibm856.h: Likewise.
26025 * iconvdata/ibm901.h: Likewise.
26026 * iconvdata/ibm902.h: Likewise.
26027 * iconvdata/ibm9030.h: Likewise.
26028 * iconvdata/ibm9066.h: Likewise.
26029 * iconvdata/ibm921.h: Likewise.
26030 * iconvdata/ibm922.h: Likewise.
26031 * iconvdata/ibm9448.h: Likewise.
26032 * iconvdata/isiri-3342.h: Likewise.
26033 * iconvdata/jis0201.h: Likewise.
26034 * include/link.h: Likewise.
26035 * include/netdb.h: Likewise.
26036 * inet/check_native.c: Likewise.
26037 * inet/check_pf.c: Likewise.
26038 * inet/getipv4sourcefilter.c: Likewise.
26039 * inet/getnameinfo.c: Likewise.
26040 * inet/getsourcefilter.c: Likewise.
26041 * inet/htonl.c: Likewise.
26042 * inet/setipv4sourcefilter.c: Likewise.
26043 * inet/setsourcefilter.c: Likewise.
26044 * inet/test-inet6_opt.c: Likewise.
26045 * inet/tst-network.c: Likewise.
26046 * locale/C-collate.c: Likewise.
26047 * locale/C-ctype.c: Likewise.
26048 * locale/C-time.c: Likewise.
26049 * locale/C-translit.h: Likewise.
26050 * locale/loadarchive.c: Likewise.
26051 * locale/programs/3level.h: Likewise.
26052 * locale/programs/charmap.c: Likewise.
26053 * locale/programs/charmap.h: Likewise.
26054 * locale/programs/ld-address.c: Likewise.
26055 * locale/programs/ld-collate.c: Likewise.
26056 * locale/programs/ld-ctype.c: Likewise.
26057 * locale/programs/ld-identification.c: Likewise.
26058 * locale/programs/ld-measurement.c: Likewise.
26059 * locale/programs/ld-messages.c: Likewise.
26060 * locale/programs/ld-monetary.c: Likewise.
26061 * locale/programs/ld-name.c: Likewise.
26062 * locale/programs/ld-numeric.c: Likewise.
26063 * locale/programs/ld-paper.c: Likewise.
26064 * locale/programs/ld-telephone.c: Likewise.
26065 * locale/programs/ld-time.c: Likewise.
26066 * locale/programs/linereader.c: Likewise.
26067 * locale/programs/locale.c: Likewise.
26068 * locale/programs/locarchive.c: Likewise.
26069 * locale/programs/locfile.h: Likewise.
26070 * locale/programs/repertoire.c: Likewise.
26071 * locale/programs/simple-hash.c: Likewise.
26072 * locale/programs/simple-hash.h: Likewise.
26073 * malloc/memusage.c: Likewise.
26074 * malloc/memusagestat.c: Likewise.
26075 * nis/nis_defaults.c: Likewise.
26076 * nis/nis_hash.c: Likewise.
26077 * nis/nis_print.c: Likewise.
26078 * nis/nis_xdr.c: Likewise.
26079 * nscd/connections.c: Likewise.
26080 * nscd/hstcache.c: Likewise.
26081 * nscd/nscd_gethst_r.c: Likewise.
26082 * nscd/nscd_getserv_r.c: Likewise.
26083 * nscd/nscd_helper.c: Likewise.
26084 * nscd/servicescache.c: Likewise.
26085 * nss/makedb.c: Likewise.
26086 * nss/nss_db/db-XXX.c: Likewise.
26087 * nss/nss_db/db-initgroups.c: Likewise.
26088 * nss/nss_db/db-netgrp.c: Likewise.
26089 * nss/nss_files/files-network.c: Likewise.
26090 * nss/nss_files/files-parse.c: Likewise.
26091 * posix/bug-regex5.c: Likewise.
26092 * posix/fnmatch_loop.c: Likewise.
26093 * posix/regcomp.c: Likewise.
26094 * posix/regexec.c: Likewise.
26095 * posix/tst-rfc3484-2.c: Likewise.
26096 * posix/tst-rfc3484-3.c: Likewise.
26097 * posix/tst-rfc3484.c: Likewise.
26098 * resolv/nss_dns/dns-canon.c: Likewise.
26099 * resolv/nss_dns/dns-network.c: Likewise.
26100 * resolv/res_init.c: Likewise.
26101 * resolv/res_mkquery.c: Likewise.
26102 * resolv/tst-aton.c: Likewise.
26103 * stdlib/cxa_atexit.c: Likewise.
26104 * stdlib/cxa_finalize.c: Likewise.
26105 * stdlib/gen-fpioconst.c: Likewise.
26106 * stdlib/strtol_l.c: Likewise.
26107 * string/tst-endian.c: Likewise.
26108 * sunrpc/auth_des.c: Likewise.
26109 * sunrpc/clnt_udp.c: Likewise.
26110 * sunrpc/rtime.c: Likewise.
26111 * sunrpc/svcauth_des.c: Likewise.
26112 * sunrpc/xdr.c: Likewise.
26113 * sunrpc/xdr_intXX_t.c: Likewise.
26114 * sunrpc/xdr_rec.c: Likewise.
26115 * sysdeps/generic/ldconfig.h: Likewise.
26116 * sysdeps/generic/ldsodefs.h: Likewise.
26117 * sysdeps/generic/memusage.h: Likewise.
26118 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26119 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26120 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26121 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26122 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26123 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26124 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26125 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26126 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26127 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26128 * sysdeps/posix/getaddrinfo.c: Likewise.
26129 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26130 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26131 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26132 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26133 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26134 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26135 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26136 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26137 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26138 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26139 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26140 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26141 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26142 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26143 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26144 * sysdeps/x86_64/dl-tls.h: Likewise.
26145 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26146 * time/alt_digit.c: Likewise.
26147 * time/era.c: Likewise.
26148 * wcsmbs/tst-c16c32-1.c: Likewise.
26149
26150 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26151
26152 * math/libm-test.inc (struct test_sincos_data): New type.
26153 (RUN_TEST_LOOP_sincos): New macro.
26154 (sincos_test_data): New variable.
26155 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26156
26157 2013-05-16 Richard Henderson <rth@redhat.com>
26158
26159 * math/atest-exp2.c (LIMB64): New macro.
26160 (CONSTSZ): New macro.
26161 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26162 (hexdig): Move ...
26163 (print_mpn_fp): ... to function scope.
26164 (read_mpn_hex): Remove.
26165 (get_log2): Remove.
26166 (exp2_mpn): Use mp_log2.
26167 (main): Use mp_exp1.
26168
26169 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26170
26171 * math/libm-test.inc: Remove comment about not testing "inexact"
26172 exceptions.
26173 (INEXACT_EXCEPTION): New macro.
26174 (NO_INEXACT_EXCEPTION): Likewise.
26175 (INVALID_EXCEPTION_OK): Update value.
26176 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26177 (OVERFLOW_EXCEPTION_OK): Likewise.
26178 (UNDERFLOW_EXCEPTION_OK): Likewise.
26179 (IGNORE_ZERO_INF_SIGN): Likewise.
26180 (ERRNO_UNCHANGED): Likewise.
26181 (ERRNO_EDOM): Likewise.
26182 (ERRNO_ERANGE): Likewise.
26183 (test_exceptions): Handle testing "inexact" exceptions.
26184 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26185 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26186 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26187 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26188 INEXACT_EXCEPTION.
26189 (rint_towardzero_test_data): Likewise.
26190 (rint_downward_test_data): Likewise.
26191 (rint_upward_test_data): Likewise.
26192
26193 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26194 with OVERFLOW_EXCEPTION.
26195 (exp10_test_data): Likewise.
26196 (exp2_test_data): Likewise.
26197 (expm1_test_data): Likewise.
26198 (lgamma_test_data): Likewise.
26199 (pow_test_data): Likewise.
26200 (tgamma_test_data): Likewise.
26201 (yn_test_data): Remove duplicate test of overflow.
26202
26203 * math/libm-test.inc (struct test_cc_c_data): New type.
26204 (RUN_TEST_LOOP_cc_c): New macro.
26205 (cpow_test_data): New variable.
26206 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26207
26208 * math/libm-test.inc (struct test_f_L_data): New type.
26209 (RUN_TEST_LOOP_f_L): New macro.
26210 (llrint_test_data): New variable.
26211 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26212 (llrint_tonearest_test_data): New variable.
26213 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26214 (llrint_towardzero_test_data): New variable.
26215 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26216 (llrint_downward_test_data): New variable.
26217 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26218 (llrint_upward_test_data): New variable.
26219 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26220 (llround_test_data): New variable.
26221 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26222
26223 2013-05-13 Peter Collingbourne <pcc@google.com>
26224
26225 * math/atest-exp2.c (get_log2): Remove const attribute.
26226
26227 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26228
26229 * math/libm-test.inc (struct test_f_l_data): New type.
26230 (RUN_TEST_LOOP_f_l): New macro.
26231 (lrint_test_data): New variable.
26232 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26233 (lrint_tonearest_test_data): New variable.
26234 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26235 (lrint_towardzero_test_data): New variable.
26236 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26237 (lrint_downward_test_data): New variable.
26238 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26239 (lrint_upward_test_data): New variable.
26240 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26241 (lround_test_data): New variable.
26242 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26243
26244 2013-05-15 Peter Collingbourne <pcc@google.com>
26245
26246 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26247 (EXTRACT_WORDS64) Use where appropriate.
26248 (INSERT_WORDS64) Likewise.
26249
26250 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26251 constraints with x constraints.
26252 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26253
26254 * malloc/obstack.c (_obstack_compat): Add initializer.
26255
26256 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26257
26258 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26259 si_trapno and add si_addr_lsb to _sifields.sigfault.
26260 (si_trapno): Remove macro.
26261 (si_addr_lsb): Define new macro.
26262 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26263
26264 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26265
26266 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26267 instead of TEST_f_l.
26268 (llrint_test_tonearest): Likewise.
26269 (llrint_test_towardzero): Likewise.
26270 (llrint_test_downward): Likewise.
26271 (llrint_test_upward): Likewise.
26272 (llround_test): Likewise.
26273
26274 * math/libm-test.inc (struct test_f_i_data): Add comment.
26275 (RUN_TEST_LOOP_f_b): New macro.
26276 (RUN_TEST_LOOP_f_b_tg): Likewise.
26277 (finite_test_data): New variable.
26278 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26279 (isfinite_test_data): New variable.
26280 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26281 (isinf_test_data): New variable.
26282 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26283 (isnan_test_data): New variable.
26284 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26285 (isnormal_test_data): New variable.
26286 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26287 (issignaling_test_data): New variable.
26288 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26289 (signbit_test_data): New variable.
26290 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26291
26292 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26293 with INVALID_EXCEPTION.
26294 (acosh_test_data): Likewise.
26295 (asin_test_data): Likewise.
26296 (atanh_test_data): Likewise.
26297 (fmod_test_data): Likewise.
26298 (log_test_data): Likewise.
26299 (log10_test_data): Likewise.
26300 (log2_test_data): Likewise.
26301 (pow_test_data): Likewise.
26302 (sqrt_test_data): Likewise.
26303 (y0_test_data): Likewise.
26304 (y1_test_data): Likewise.
26305 (yn_test_data): Likewise.
26306
26307 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26308 function contents.
26309
26310 * math/libm-test.inc (struct test_ff_i_data): New type.
26311 (RUN_TEST_LOOP_ff_i_tg): New macro.
26312 (isgreater_test_data): New variable.
26313 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26314 (isgreaterequal_test_data): New variable.
26315 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26316 (isless_test_data): New variable.
26317 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26318 (islessequal_test_data): New variable.
26319 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26320 (islessgreater_test_data): New variable.
26321 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26322 (isunordered_test_data): New variable.
26323 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26324
26325 2013-05-14 David S. Miller <davem@davemloft.net>
26326
26327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26328
26329 2013-05-14 Joseph Myers <joseph@codesourcery.com>
26330
26331 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26332
26333 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26334 extra_test to int.
26335 (struct test_f_i_data): Change type of max_ulp to int.
26336
26337 * math/libm-test.inc (test_ffI_f1_data): New type.
26338 (RUN_TEST_LOOP_ffI_f1): New macro.
26339 (remquo_test_data): New variable.
26340 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26341
26342 * setjmp/tst-setjmp-fp.c: New file.
26343 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26344 (link-libm): New variable.
26345 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26346
26347 * math/libm-test.inc (struct test_f_i_data): New type.
26348 (RUN_TEST_LOOP_f_i): New macro.
26349 (RUN_TEST_LOOP_f_i_tg): Likewise.
26350 (fpclassify_test_data): New variable.
26351 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26352 (ilogb_test_data): New variable.
26353 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26354
26355 * math/libm-test.inc (scalbln_test): Correct function name in END
26356 call.
26357
26358 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26359 (RUN_TEST_LOOP_fI_f1): New macro.
26360 (frexp_test_data): New variable.
26361 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26362
26363 * math/libm-test.inc (struct test_fF_f1_data): New type.
26364 (RUN_TEST_LOOP_fF_f1): New macro.
26365 (modf_test_data): New variable.
26366 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26367
26368 * math/libm-test.inc (struct test_f_f1_data): New type.
26369 (RUN_TEST_LOOP_f_f1): New macro.
26370 (gamma_test_data): New variable.
26371 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26372 (lgamma_test_data): New variable.
26373 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26374
26375 2013-05-13 Carlos O'Donell <carlos@redhat.com>
26376
26377 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26378 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26379 (main): Comment "tls" pseudo-hwcap.
26380
26381 2013-05-13 Joseph Myers <joseph@codesourcery.com>
26382
26383 * math/libm-test.inc (struct test_fl_f_data): New type.
26384 (RUN_TEST_LOOP_fl_f): New variable.
26385 (scalbln_test_data): New variable.
26386 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26387
26388 * math/libm-test.inc (struct test_fi_f_data): New type.
26389 (RUN_TEST_LOOP_fi_f): New macro.
26390 (ldexp_test_data): New variable.
26391 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26392 (scalbn_test_data): New variable.
26393 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26394
26395 * math/libm-test.inc (struct test_c_f_data): New type.
26396 (RUN_TEST_LOOP_c_f): New macro.
26397 (cabs_test_data): New variable.
26398 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26399 (carg_test_data): New variable.
26400 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26401 (cimag_test_data): New variable.
26402 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26403 (creal_test_data): New variable.
26404 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26405
26406 * math/libm-test.inc (struct test_if_f_data): New type.
26407 (RUN_TEST_LOOP_if_f): New macro.
26408 (jn_test_data): New variable.
26409 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26410 (yn_test_data): New variable.
26411 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26412
26413 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26414
26415 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26416
26417 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26418 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26419
26420 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26421
26422 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26423 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26424 (bench-deps): Add bench-timing.h.
26425 * benchtests-bench-skeleton.c: Include bench-timing.h.
26426 (main): Use TIMING_* macros instead of clock_gettime.
26427 * benchtests/bench-timing.h: New file.
26428
26429 [BZ #14582]
26430 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26431 Renamed from _LIB_VERSION.
26432 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26433
26434 2013-05-12 Joseph Myers <joseph@codesourcery.com>
26435
26436 * math/libm-test.inc (struct test_fff_f_data): New type.
26437 (RUN_TEST_LOOP_fff_f): New macro.
26438 (fma_test_data): New variable.
26439 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26440 (fma_towardzero_test_data): New variable.
26441 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26442 (fma_downward_test_data): New variable.
26443 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26444 (fma_upward_test_data): New variable.
26445 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26446
26447 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26448 (struct test_c_c_data): New type.
26449 (RUN_TEST_LOOP_c_c): New macro.
26450 (cacos_test_data): New variable.
26451 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26452 (cacosh_test_data): New variable.
26453 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26454 (casin_test_data): New variable.
26455 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26456 (casinh_test_data): New variable.
26457 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26458 (catan_test_data): New variable.
26459 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26460 (catanh_test_data): New variable.
26461 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26462 (ccos_test_data): New variable.
26463 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26464 (ccosh_test_data): New variable.
26465 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26466 (cexp_test_data): New variable.
26467 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26468 (clog_test_data): New variable.
26469 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26470 (clog10_test_data): New variable.
26471 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26472 (conj_test_data): New variable.
26473 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26474 (cproj_test_data): New variable.
26475 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26476 (csin_test_data): New variable.
26477 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26478 (csinh_test_data): New variable.
26479 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26480 (csqrt_test_data): New variable.
26481 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26482 (ctan_test_data): New variable.
26483 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26484 (ctan_tonearest_test_data): New variable.
26485 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26486 (ctan_towardzero_test_data): New variable.
26487 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26488 (ctan_downward_test_data): New variable.
26489 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26490 (ctan_upward_test_data): New variable.
26491 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26492 (ctanh_test_data): New variable.
26493 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26494 (ctanh_tonearest_test_data): New variable.
26495 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26496 (ctanh_towardzero_test_data): New variable.
26497 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26498 (ctanh_downward_test_data): New variable.
26499 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26500 (ctanh_upward_test_data): New variable.
26501 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26502 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26503 of BUILD_COMPLEX.
26504
26505 * math/libm-test.inc (struct test_ff_f_data): New type.
26506 (struct test_ff_f_data_nexttoward): Likewise.
26507 (RUN_TEST_LOOP_2_f): New macro.
26508 (RUN_TEST_LOOP_ff_f): Likewise.
26509 (atan2_test_data): New variable.
26510 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26511 (copysign_test_data): New variable.
26512 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26513 (fdim_test_data): New variable.
26514 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26515 (fmax_test_data): New variable.
26516 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26517 (fmin_test_data): New variable.
26518 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26519 (fmod_test_data): New variable.
26520 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26521 (hypot_test_data): New variable.
26522 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26523 (nextafter_test_data): New variable.
26524 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26525 (nexttoward_test_data): New variable.
26526 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26527 (pow_test_data): New variable.
26528 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26529 (pow_tonearest_test_data): New variable.
26530 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26531 (pow_towardzero_test_data): New variable.
26532 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26533 (pow_downward_test_data): New variable.
26534 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26535 (pow_upward_test_data): New variable.
26536 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26537 (remainder_test_data): New variable.
26538 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26539 (scalb_test_data): New variable.
26540 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26541 * sysdeps/i386/fpu/libm-test-ulps: Update.
26542
26543 2013-05-11 Joseph Myers <joseph@codesourcery.com>
26544
26545 * math/libm-test.inc (fma_test): Use max_value instead of local
26546 variable fltmax.
26547 (nextafter_test): Likewise.
26548
26549 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26550 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26551 (acos_downward_test_data): New variable.
26552 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26553 (acos_upward_test_data): New variable.
26554 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26555 (acosh_test_data): New variable.
26556 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26557 (asin_test_data): New variable.
26558 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26559 (asin_tonearest_test_data): New variable.
26560 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26561 (asin_towardzero_test_data): New variable.
26562 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26563 (asin_downward_test_data): New variable.
26564 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26565 (asin_upward_test_data): New variable.
26566 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26567 (asinh_test_data): New variable.
26568 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26569 (atan_test_data): New variable.
26570 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26571 (atanh_test_data): New variable.
26572 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26573 (cbrt_test_data): New variable.
26574 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26575 (ceil_test_data): New variable.
26576 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26577 (cos_test_data): New variable.
26578 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26579 (cos_tonearest_test_data): New variable.
26580 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26581 (cos_towardzero_test_data): New variable.
26582 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26583 (cos_downward_test_data): New variable.
26584 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26585 (cos_upward_test_data): New variable.
26586 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26587 (cosh_test_data): New variable.
26588 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26589 (cosh_tonearest_test_data): New variable.
26590 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26591 (cosh_towardzero_test_data): New variable.
26592 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26593 (cosh_downward_test_data): New variable.
26594 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26595 (cosh_upward_test_data): New variable.
26596 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26597 (erf_test_data): New variable.
26598 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26599 (erfc_test_data): New variable.
26600 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26601 (exp_test_data): New variable.
26602 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26603 (exp_tonearest_test_data): New variable.
26604 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26605 (exp_towardzero_test_data): New variable.
26606 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26607 (exp_downward_test_data): New variable.
26608 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26609 (exp_upward_test_data): New variable.
26610 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26611 (exp10_test_data): New variable.
26612 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26613 (exp2_test_data): New variable.
26614 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26615 (expm1_test_data): New variable.
26616 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26617 (fabs_test_data): New variable.
26618 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26619 (floor_test_data): New variable.
26620 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26621 (j0_test_data): New variable.
26622 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26623 (j1_test_data): New variable.
26624 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26625 (log_test_data): New variable.
26626 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26627 (log10_test_data): New variable.
26628 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26629 (log1p_test_data): New variable.
26630 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26631 (log2_test_data): New variable.
26632 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26633 (logb_test_data): New variable.
26634 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26635 (logb_downward_test_data): New variable.
26636 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26637 (nearbyint_test_data): New variable.
26638 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26639 (rint_test_data): New variable.
26640 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26641 (rint_tonearest_test_data): New variable.
26642 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26643 (rint_towardzero_test_data): New variable.
26644 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26645 (rint_downward_test_data): New variable.
26646 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26647 (rint_upward_test_data): New variable.
26648 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26649 (round_test_data): New variable.
26650 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26651 (sin_test_data): New variable.
26652 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26653 (sin_tonearest_test_data): New variable.
26654 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26655 (sin_towardzero_test_data): New variable.
26656 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26657 (sin_downward_test_data): New variable.
26658 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26659 (sin_upward_test_data): New variable.
26660 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26661 (sinh_test_data): New variable.
26662 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26663 (sinh_tonearest_test_data): New variable.
26664 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26665 (sinh_towardzero_test_data): New variable.
26666 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26667 (sinh_downward_test_data): New variable.
26668 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26669 (sinh_upward_test_data): New variable.
26670 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26671 (sqrt_test_data): New variable.
26672 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26673 (tan_test_data): New variable.
26674 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26675 (tan_tonearest_test_data): New variable.
26676 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26677 (tan_towardzero_test_data): New variable.
26678 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26679 (tan_downward_test_data): New variable.
26680 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26681 (tan_upward_test_data): New variable.
26682 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26683 (tanh_test_data): New variable.
26684 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26685 (tgamma_test_data): New variable.
26686 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26687 (trunc_test_data): New variable.
26688 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26689 (y0_test_data): New variable.
26690 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26691 (y1_test_data): New variable.
26692 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26693 (significand_test_data): New variable.
26694 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26695
26696 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26697
26698 [BZ #12387]
26699 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26700
26701 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26702
26703 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26704
26705 2013-05-10 Andreas Jaeger <aj@suse.de>
26706
26707 [BZ #15448]
26708 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26709 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26710
26711 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26712
26713 * math/gen-libm-test.pl (adjust_arg): New function.
26714 (special_functions): Handle generating output in both functions
26715 and arrays.
26716 (parse_args): Likewise.
26717 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26718 $in_func argument to parse_args.
26719 * math/libm-test.inc (struct test_f_f_data): New type.
26720 (IF_ROUND_INIT_): New macro.
26721 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26722 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26723 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26724 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26725 (ROUND_RESTORE_): Likewise.
26726 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26727 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26728 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26729 (ROUND_RESTORE_FE_UPWARD): Likewise.
26730 (RUN_TEST_LOOP_f_f): New macro.
26731 (acos_test_data): New variable.
26732 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26733 (acos_tonearest_test_data): New variable.
26734 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26735
26736 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26737
26738 * benchtests/bench-skeleton.c (startup): Fix coding style.
26739
26740 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26741
26742 [BZ #6809]
26743 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26744 negative infinity argument.
26745 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26746 negative infinity argument.
26747 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26748 negative infinity argument.
26749 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26750 domain errors.
26751
26752 2013-05-10 Florian Weimer <fweimer@redhat.com>
26753
26754 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26755 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26756 * iconv/iconv_prog.c (main): Likewise.
26757 * locale/programs/charmap-dir.c (charmap_readdir)
26758 (fopen_uncompressed): Likewise.
26759 * locale/programs/locfile.c (siblings_uncached)
26760 (write_locale_data): Use lstat64 instead of lstat.
26761 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26762 stat.
26763
26764 2013-05-10 Andreas Jaeger <aj@suse.de>
26765
26766 [BZ #15395]
26767 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26768 localization.
26769 Include <locale.h>.
26770
26771 2013-05-09 Carlos O'Donell <carlos@redhat.com>
26772
26773 * elf/dl-close.c (_dl_close_worker): Add comments.
26774
26775 2013-05-09 Joseph Myers <joseph@codesourcery.com>
26776
26777 [BZ #15359]
26778 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26779 high part of pi/2.
26780 (__ieee754_rem_pio2l): Update comments.
26781
26782 [BZ #15429]
26783 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26784 high part of pi/2.
26785 (__ieee754_rem_pio2l): Update comments.
26786
26787 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26788 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26789
26790 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26791 M_PI_4l.
26792
26793 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26794 (M_PI_34_LOG10El): Likewise.
26795 (M_PI2_LOG10El): Likewise.
26796 (M_PI4_LOG10El): Likewise.
26797 (M_PI_LOG10El): Likewise.
26798
26799 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26800
26801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26802
26803 2013-05-08 Joseph Myers <joseph@codesourcery.com>
26804
26805 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26806 (MINUS_ZERO_INIT): Likewise.
26807 (PLUS_INFTY_INIT): Likewise.
26808 (MINUS_INFTY_INIT): Likewise.
26809 (QNAN_VALUE_INIT): Likewise.
26810 (MAX_VALUE_INIT): Likewise.
26811 (MIN_VALUE_INIT): Likewise.
26812 (MIN_SUBNORM_VALUE_INIT): Likewise.
26813 (plus_zero): Initialize with PLUS_ZERO_INIT.
26814 (minus_zero): Initialize with MINUS_ZERO_INIT.
26815 (plus_infty): Initialize with PLUS_INFTY_INIT.
26816 (minus_infty): Initialize with MINUS_INFTY_INIT.
26817 (qnan_value): Initialize with QNAN_VALUE_INIT.
26818 (max_value): Initialize with MAX_VALUE_INIT.
26819 (min_value): Initialize with MIN_VALUE_INIT.
26820 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26821
26822 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26823 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26824 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26825 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26826
26827 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26828 (RUN_TEST_2_f): Likewise.
26829 (RUN_TEST_ff_f): Likewise.
26830 (RUN_TEST_fi_f): Likewise.
26831 (RUN_TEST_fl_f): Likewise.
26832 (RUN_TEST_fff_f): Likewise.
26833 (RUN_TEST_c_f): Likewise.
26834 (RUN_TEST_f_f1): Likewise.
26835 (RUN_TEST_fF_f1): Likewise.
26836 (RUN_TEST_fI_f1): Likewise.
26837 (RUN_TEST_ffI_f1): Likewise.
26838 (RUN_TEST_c_c): Likewise.
26839 (RUN_TEST_cc_c): Likewise.
26840 (RUN_TEST_f_i): Likewise.
26841 (RUN_TEST_f_i_tg): Likewise.
26842 (RUN_TEST_ff_i_tg): Likewise.
26843 (RUN_TEST_f_b): Likewise.
26844 (RUN_TEST_f_b_tg): Likewise.
26845 (RUN_TEST_f_l): Likewise.
26846 (RUN_TEST_f_L): Likewise.
26847 (RUN_TEST_sincos): Likewise.
26848 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26849 whether to show exceptions. Do not include ");\n" in return
26850 value.
26851 (special_functions): Output call to RUN_TEST_sincos instead of
26852 check_float calls. Update calls to new_test.
26853 (parse_args): Output call to single RUN_TEST_* macro instead of
26854 check_* calls and other assignments. Update calls to new_test.
26855
26856 [BZ #2546]
26857 [BZ #2560]
26858 [BZ #5159]
26859 [BZ #15426]
26860 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26861 input to result for tgamma overflow.
26862 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26863 (gamma_coeff): New variable.
26864 (NCOEFF): New macro.
26865 (gamma_positive): New function.
26866 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26867 underflow here. Use gamma_positive instead of exp (lgamma) for
26868 other arguments.
26869 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26870 (gamma_coeff): New variable.
26871 (NCOEFF): New macro.
26872 (gammaf_positive): New function.
26873 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26874 underflow here. Use gamma_positive instead of exp (lgamma) for
26875 other arguments.
26876 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26877 (gamma_coeff): New variable.
26878 (NCOEFF): New macro.
26879 (gammal_positive): New function.
26880 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26881 underflow here. Use gamma_positive instead of exp (lgamma) for
26882 other arguments.
26883 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26884 (gamma_coeff): New variable.
26885 (NCOEFF): New macro.
26886 (gammal_positive): New function.
26887 (__ieee754_gammal_r): Handle positive infinity, overflow and
26888 underflow here. Handle NaN the same as positive infinity. Remove
26889 check x < 0xffffffff for negative integers. Use gamma_positive
26890 instead of exp (lgamma) for other arguments.
26891 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26892 (gamma_coeff): New variable.
26893 (NCOEFF): New macro.
26894 (gammal_positive): New function.
26895 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26896 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26897 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26898 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26899 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26900 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26901 * sysdeps/generic/math_private.h (__gamma_productf): New
26902 prototype.
26903 (__gamma_product): Likewise.
26904 (__gamma_productl): Likewise.
26905 * math/Makefile (libm-calls): Add gamma_product.
26906 * math/libm-test.inc (tgamma_test): Add more tests.
26907 * sysdeps/i386/fpu/libm-test-ulps: Update.
26908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26909
26910 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
26911
26912 * benchtests/bench-skeleton.c (main): Preheat CPU.
26913
26914 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
26915
26916 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26917
26918 2013-05-07 Roland McGrath <roland@hack.frob.com>
26919
26920 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26921 and _dl_skip_args_internal.
26922
26923 2013-05-07 Carlos O'Donell <carlos@redhat.com>
26924
26925 * manual/message.texi (Message Translation): Talk about users.
26926 Message to key mapping impacts design.
26927
26928 2013-05-06 Roland McGrath <roland@hack.frob.com>
26929
26930 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26931
26932 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26933
26934 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26935 * sysdeps/wordsize-64/glob64.c: ... here.
26936
26937 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26938 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26939 New macros.
26940
26941 * debug/getlogin_r_chk.c: Moved to ...
26942 * login/getlogin_r_chk.c: ... here.
26943 * debug/Makefile (routines): Move getlogin_r_chk to ...
26944 * login/Makefile (routines): ... here.
26945 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26946 * login/Versions (libc: GLIBC_2.4): ... here.
26947
26948 * io/poll.c (__poll): Renamed from poll.
26949 Add libc_hidden_def.
26950 (poll): Define as weak alias.
26951
26952 * debug/ptsname_r_chk.c: Moved to ...
26953 * login/ptsname_r_chk.c: ... here.
26954 * debug/Makefile (routines): Move ptsname_r_chk to ...
26955 * login/Makefile (routines): ... here.
26956 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26957 * login/Versions (libc: GLIBC_2.4): ... here.
26958
26959 * posix/getlogin.c: Moved to ...
26960 * login/getlogin.c: ... here.
26961 * posix/getlogin_r.c: Moved to ...
26962 * login/getlogin_r.c: ... here.
26963 * posix/getlogin_r.c: Moved to ...
26964 * login/getlogin_r.c: ... here.
26965 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26966 * login/Makefile (routines): ... here.
26967 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26968 * login/Versions (libc: GLIBC_2.0): ... here.
26969
26970 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26971 (setrlimit): Define as weak alias.
26972
26973 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26974 Call __ names for open, ftruncate, and close.
26975 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26976 (truncate): Define as weak alias.
26977
26978 2013-05-06 Joseph Myers <joseph@codesourcery.com>
26979
26980 * math/gen-libm-test.pl (parse_args): Initialize x before each
26981 test of frexp, modf and remquo.
26982
26983 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26984 test signgam value.
26985
26986 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26987
26988 [BZ #15418]
26989 [BZ #15419]
26990 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26991 internal tests.
26992 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26993
26994 2013-05-06 Roland McGrath <roland@hack.frob.com>
26995
26996 * elf/dl-writev.h: New file.
26997 * elf/dl-misc.c: Include it.
26998 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26999 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27000
27001 2013-05-04 Joseph Myers <joseph@codesourcery.com>
27002
27003 * math/libm-test.inc (noXFails): Remove variable.
27004 (noXPasses): Likewise.
27005 (BUILD_COMPLEX_INT): Remove macro.
27006 (print_screen): Remove xfail argument.
27007 (print_screen_max_error): Likewise.
27008 (update_stats): Likewise.
27009 (print_max_error): Likewise. Update calls to other affected
27010 functions.
27011 (print_complex_max_error): Likewise.
27012 (test_single_exception): Update calls to print_screen.
27013 (test_single_errno): Likewise.
27014 (check_float_internal): Remove xfail argument. Update calls to
27015 other affected functions.
27016 (check_float): Likewise.
27017 (check_complex): Likewise.
27018 (check_int): Likewise.
27019 (check_long): Likewise.
27020 (check_bool): Likewise.
27021 (check_longlong): Likewise.
27022 (main): Don't print noXFails and noXPasses.
27023 * math/gen-libm-test.pl (top level): Don't mention expected
27024 failure handling in comment.
27025 (new_test): Don't handle expected failures.
27026 (parse_args): Don't mention expected failure handling in comment.
27027 (generate_testfile): Don't handle expected failures.
27028 (parse_ulps): Likewise.
27029 (print_ulps_file): Likewise.
27030 (get_failure): Remove function.
27031 (output_test): Don't handle expected failures.
27032 * make/README.libm-test: Don't mention expected failure handling.
27033
27034 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27035 (minus_zero): Likewise.
27036 (plus_infty): Likewise.
27037 (minus_infty): Likewise.
27038 (qnan_value): Likewise.
27039 (max_value): Likewise.
27040 (min_value): Likewise.
27041 (min_subnorm_value): Likewise.
27042 (initialize): Do not initialize those variables dynamically.
27043
27044 2013-05-03 Roland McGrath <roland@hack.frob.com>
27045
27046 * io/open.c (__open_2): Moved to ...
27047 * io/open_2.c: ... this new file.
27048 * io/open64.c (__open64_2): Moved to ...
27049 * io/open64_2.c: ... this new file.
27050 * io/openat.c (__openat_2): Moved to ...
27051 * io/openat_2.c: ... this new file.
27052 * io/openat64.c (__openat64_2): Moved to ...
27053 * io/openat64_2.c: ... this new file.
27054 * io/Makefile (routines): Add them.
27055 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27056 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27057 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27058 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27059 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27060 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27061 (__openat64): Add hidden_ver.
27062 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27063 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27064
27065 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27066 Separately conditionalize setting of GLRO(dl_sysinfo) so
27067 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27068 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27069
27070 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27071
27072 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27073 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27074 definition.
27075 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27076 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27077 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27078 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27079 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27080
27081 2013-05-03 Joseph Myers <joseph@codesourcery.com>
27082
27083 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27084 test signgam value.
27085
27086 * math/libm-test.inc (hypot_test): Do not use
27087 IGNORE_ZERO_INF_SIGN.
27088
27089 2013-05-03 Andreas Jaeger <aj@suse.de>
27090
27091 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27092 Linux 3.9.
27093 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27094 (PF_MAX): Adjust for VSOCK change.
27095
27096 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27097
27098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27099
27100 2013-05-02 Carlos O'Donell <carlos@redhat.com>
27101
27102 [BZ #15264]
27103 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27104 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27105 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27106
27107 2013-05-02 David S. Miller <davem@davemloft.net>
27108
27109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27110
27111 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
27112
27113 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27114
27115 2013-05-01 Roland McGrath <roland@hack.frob.com>
27116
27117 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27118
27119 2013-05-01 Richard Smith <richard@metafoo.co.uk>
27120
27121 [BZ #14952]
27122 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27123 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27124 Use __attribute__ ((__gnu_inline__)).
27125 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27126 Don't use __attribute__ ((__gnu_inline__)).
27127
27128 2013-05-01 Joseph Myers <joseph@codesourcery.com>
27129
27130 [BZ #15423]
27131 * math/s_catan.c (__catan): Handle small real or imaginary part of
27132 input specially to avoid spurious underflow.
27133 * math/s_catanf.c (__catanf): Likewise.
27134 * math/s_catanh.c (__catanh): Likewise.
27135 * math/s_catanhf.c (__catanhf): Likewise.
27136 * math/s_catanhl.c (__catanhl): Likewise.
27137 * math/s_catanl.c (__catanl): Likewise.
27138 * math/libm-test.inc (catan_test): Add more tests.
27139 (catanh_test): Likewise.
27140 * sysdeps/i386/fpu/libm-test-ulps: Update.
27141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27142
27143 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27144
27145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27146
27147 2013-04-30 Joseph Myers <joseph@codesourcery.com>
27148
27149 [BZ #15416]
27150 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27151 accurately for denominator in atan2.
27152 * math/s_catanf.c (__catanf): Likewise.
27153 * math/s_catanh.c (__catanh): Likewise.
27154 * math/s_catanhf.c (__catanhf): Likewise.
27155 * math/s_catanhl.c (__catanhl): Likewise.
27156 * math/s_catanl.c (__catanl): Likewise.
27157 * math/libm-test.inc (catan_test): Add more tests.
27158 (catanh_test): Likewise.
27159 * sysdeps/i386/fpu/libm-test-ulps: Update.
27160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27161
27162 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27163
27164 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27165
27166 * benchtests/Makefile (bench): Remove slow benchmarks.
27167 * benchtests/atan-inputs: Add slow benchmark inputs.
27168 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27169 (BENCH_FUNC): Accept variant offset.
27170 (VARIANT): Define.
27171 * benchtests/bench-skeleton.c (main): Run benchmark for each
27172 variant.
27173 * benchtests/cos-inputs: Add slow benchmark inputs.
27174 * benchtests/exp-inputs: Likewise.
27175 * benchtests/pow-inputs: Likewise.
27176 * benchtests/sin-inputs: Likewise.
27177 * benchtests/slowatan-inputs: Remove.
27178 * benchtests/slowatan.c: Remove.
27179 * benchtests/slowcos-inputs: Remove.
27180 * benchtests/slowcos.c: Remove.
27181 * benchtests/slowexp-inputs: Remove.
27182 * benchtests/slowexp.c: Remove.
27183 * benchtests/slowpow-inputs: Remove.
27184 * benchtests/slowpow.c: Remove.
27185 * benchtests/slowsin-inputs: Remove.
27186 * benchtests/slowsin.c: Remove.
27187 * benchtests/slowtan-inputs: Remove.
27188 * benchtests/slowtan.c: Remove.
27189 * benchtests/tan-inputs: Add slow benchmark inputs.
27190 * scripts/bench.pl: Parse comments and directives.
27191
27192 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27193 in CPPFLAGS.
27194 ($(objpfx)bench-%.c): Remove *-ITER.
27195 * benchtests/bench-modf.c: Remove definition of ITER.
27196 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27197 (main): Loop for DURATION seconds instead of fixed number of
27198 iterations.
27199 * scripts/bench.pl: Don't expect iterations in parameters.
27200
27201 2013-04-29 Roland McGrath <roland@hack.frob.com>
27202
27203 * io/fchdir.c (__fchdir): Renamed from fchdir.
27204 (fchdir): Define as weak alias.
27205
27206 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27207
27208 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27209 (ERRNO_EDOM): Likewise.
27210 (ERRNO_ERANGE): Likewise.
27211 (noErrnoTests): New variable.
27212 (init_max_error): Set errno to 0.
27213 (test_single_errno): New function.
27214 (test_errno): Likewise.
27215 (check_float_internal): Call test_errno. Set errno to 0.
27216 (check_complex): Refer to errno tests in comment.
27217 (check_int): Call test_errno. Set errno to 0.
27218 (check_long): Likewise.
27219 (check_bool): Likewise.
27220 (check_longlong): Likewise.
27221 (cos_test): Use ERRNO_* flags for errno tests instead of
27222 check_int.
27223 (expm1_test): Likewise.
27224 (fmod_test): Likewise.
27225 (ilogb_test): Likewise.
27226 (lgamma_test): Likewise.
27227 (pow_test): Likewise.
27228 (remainder_test): Likewise.
27229 (sin_test): Likewise.
27230 (tan_test): Likewise.
27231 (yn_test): Likewise.
27232 (initialize): Set errno to 0.
27233 (main): Print number of errno tests.
27234 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27235
27236 2013-04-29 Andreas Jaeger <aj@suse.de>
27237
27238 [BZ #15084]
27239 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27240 and RES_USEVC.
27241
27242 [BZ #15085]
27243 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27244 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27245 unimplemented.
27246
27247 [BZ #15380]
27248 * stdlib/random.c (__initstate): Return NULL if
27249 __initstate fails.
27250
27251 [BZ #15086]
27252 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27253 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27254 RES_SNGLKUPREOP.
27255
27256 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27257
27258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27259
27260 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27261
27262 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27263 of individual tests.
27264 (casin_test): Likewise.
27265 (casinh_test): Likewise.
27266
27267 2013-04-27 Joseph Myers <joseph@codesourcery.com>
27268
27269 [BZ #15409]
27270 * math/s_catan.c (__catan): Handle arguments with large real or
27271 imaginary part separately without squaring.
27272 * math/s_catanf.c (__catanf): Likewise.
27273 * math/s_catanh.c (__catanh): Likewise.
27274 * math/s_catanhf.c (__catanhf): Likewise.
27275 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27276 and redefine.
27277 (__catanhl): Handle arguments with large real or imaginary part
27278 separately without squaring.
27279 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27280 and redefine.
27281 (__catanl): Handle arguments with large real or imaginary part
27282 separately without squaring.
27283 * math/libm-test.inc (catan_test): Add more tests.
27284 (catanh_test): Likewise.
27285 * sysdeps/i386/fpu/libm-test-ulps: Update.
27286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27287
27288 2013-04-27 Andreas Jaeger <aj@suse.de>
27289
27290 [BZ #15007]
27291 * stdlib/stdlib.h: Update guards for qecvt.
27292 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27293 <stdlib.h>.
27294
27295 2013-04-27 Allan McRae <allan@archlinux.org>
27296
27297 * sysdeps/i386/fpu/libm-test-ulps: Update.
27298
27299 2013-04-26 Joseph Myers <joseph@codesourcery.com>
27300
27301 [BZ #15406]
27302 * math/s_catan.c: Include <float.h>.
27303 (__catan): Ensure underflow exception occurs for underflowed
27304 result.
27305 * math/s_catanf.c: Include <float.h>.
27306 (__catanf): Ensure underflow exception occurs for underflowed
27307 result.
27308 * math/s_catanh.c: Include <float.h>.
27309 (__catanh): Ensure underflow exception occurs for underflowed
27310 result.
27311 * math/s_catanhf.c: Include <float.h>.
27312 (__catanhf): Ensure underflow exception occurs for underflowed
27313 result.
27314 * math/s_catanhl.c: Include <float.h>.
27315 (__catanhl): Ensure underflow exception occurs for underflowed
27316 result.
27317 * math/s_catanl.c: Include <float.h>.
27318 (__catanl): Ensure underflow exception occurs for underflowed
27319 result.
27320 * math/libm-test.inc (catan_test): Add more tests.
27321 (catanh_test): Likewise.
27322
27323 [BZ #15405]
27324 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27325 underflowed result.
27326 * math/s_ccoshf.c (__ccoshf): Likewise.
27327 * math/s_ccoshl.c (__ccoshl): Likewise.
27328 * math/s_csin.c (__csin): Likewise.
27329 * math/s_csinf.c (__csinf): Likewise.
27330 * math/s_csinh.c (__csinh): Likewise.
27331 * math/s_csinhf.c (__csinhf): Likewise.
27332 * math/s_csinhl.c (__csinhl): Likewise.
27333 * math/s_csinl.c (__csinl): Likewise.
27334 * math/libm-test.inc (ccos_test): Add more tests.
27335 (ccosh_test): Likewise.
27336 (csin_test): Likewise.
27337 (csinh_test): Likewise.
27338
27339 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27340
27341 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27342 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27343 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27344 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27345 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27346 powerpc/power5+/fpu folders.
27347 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27348
27349
27350 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27351
27352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27353
27354 2013-04-25 Joseph Myers <joseph@codesourcery.com>
27355
27356 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27357 additions to variable.
27358 [$(config-machine) = x86_64] (modules-names): Likewise.
27359 ($(objpfx)tst-audit3): Remove dependency.
27360 ($(objpfx)tst-audit3.out): Likewise.
27361 ($(objpfx)tst-audit4): Likewise.
27362 ($(objpfx)tst-audit4.out): Likewise.
27363 ($(objpfx)tst-audit5): Likewise.
27364 ($(objpfx)tst-audit5.out): Likewise.
27365 ($(objpfx)tst-audit6): Likewise.
27366 ($(objpfx)tst-audit6.out): Likewise.
27367 ($(objpfx)tst-audit7): Likewise.
27368 ($(objpfx)tst-audit7.out): Likewise.
27369 (tst-audit3-ENV): Remove variable.
27370 (tst-audit4-ENV): Likewise.
27371 (tst-audit5-ENV): Likewise.
27372 (tst-audit6-ENV): Likewise.
27373 (tst-audit7-ENV): Likewise.
27374 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27375 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27376 addition to variable.
27377 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27378 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27379 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27380 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27381 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27382 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27383 tst-audit3, tst-audit4 and tst-audit5.
27384 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27385 tst-audit6 and tst-audit7.
27386 [$(subdir) = elf] (modules-names): Add audit modules for those
27387 tests.
27388 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27389 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27390 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27391 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27392 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27393 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27394 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27395 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27396 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27397 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27398 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27399 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27400 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27401 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27402 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27403 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27404 Likewise.
27405 [$(subdir) = elf && $(config-cflags-avx) = yes]
27406 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27407 [$(subdir) = elf && $(config-cflags-avx) = yes]
27408 (CFLAGS-tst-auditmod4a.c): Likewise.
27409 [$(subdir) = elf && $(config-cflags-avx) = yes]
27410 (CFLAGS-tst-auditmod4b.c): Likewise.
27411 [$(subdir) = elf && $(config-cflags-avx) = yes]
27412 (CFLAGS-tst-auditmod6b.c): Likewise.
27413 [$(subdir) = elf && $(config-cflags-avx) = yes]
27414 (CFLAGS-tst-auditmod6c.c): Likewise.
27415 [$(subdir) = elf && $(config-cflags-avx) = yes]
27416 (CFLAGS-tst-auditmod7b.c): Likewise.
27417 * elf/tst-audit3.c: Move to ...
27418 * sysdeps/x86_64/tst-audit3.c: ... here.
27419 * elf/tst-audit4.c: Move to ...
27420 * sysdeps/x86_64/tst-audit4.c: ... here.
27421 * elf/tst-audit5.c: Move to ...
27422 * sysdeps/x86_64/tst-audit5.c: ... here.
27423 * elf/tst-audit6.c: Move to ...
27424 * sysdeps/x86_64/tst-audit6.c: ... here.
27425 * elf/tst-audit7.c: Move to ...
27426 * sysdeps/x86_64/tst-audit7.c: ... here.
27427 * elf/tst-auditmod3a.c: Move to ...
27428 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27429 * elf/tst-auditmod3b.c: Move to ...
27430 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27431 * elf/tst-auditmod4a.c: Move to ...
27432 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27433 * elf/tst-auditmod4b.c: Move to ...
27434 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27435 * elf/tst-auditmod5a.c: Move to ...
27436 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27437 * elf/tst-auditmod5b.c: Move to ...
27438 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27439 * elf/tst-auditmod6a.c: Move to ...
27440 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27441 * elf/tst-auditmod6b.c: Move to ...
27442 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27443 * elf/tst-auditmod6c.c: Move to ...
27444 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27445 * elf/tst-auditmod7a.c: Move to ...
27446 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27447 * elf/tst-auditmod7b.c: Move to ...
27448 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27449
27450 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27451
27452 [BZ #15366]
27453 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27454 define unconditionally.
27455 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27456 define unconditionally.
27457 (INT8_C, INT16_C, etc.): Likewise.
27458
27459 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27460
27461 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27462 __ehdr_start with hidden visibility.
27463
27464 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27465
27466 2013-04-24 Carlos O'Donell <carlos@redhat.com>
27467
27468 * math/libm-test.inc (cos_test): Use accurate hex constants.
27469 (sincost_test): Likewise.
27470
27471 2013-04-24 Joseph Myers <joseph@codesourcery.com>
27472
27473 * math/libm-test.inc (catan_test): Add more tests.
27474 (catanh_test): Likewise.
27475
27476 * math/s_catanf.c (__catanf): Use suffixed floating-point
27477 constants.
27478 * math/s_catanhf.c (__catanhf): Likewise.
27479 * math/s_catanhl.c (__catanhl): Likewise.
27480 * math/s_catanl.c (__catanl): Likewise.
27481
27482 [BZ #15394]
27483 * math/s_catan.c (__catan): Calculate imaginary part of result
27484 with log1p not log unless computing log of number close to 0.
27485 * math/s_catanf.c (__catanf): Likewise.
27486 * math/s_catanl.c (__catanl): Likewise.
27487 * math/s_catanh.c (__catanh): Calculate real part of result with
27488 log1p not log unless computing log of number close to 0.
27489 * math/s_catanhf.c (__catanhf): Likewise.
27490 * math/s_catanhl.c (__catanhl): Likewise.
27491 * math/libm-test.inc (catan_test): Add more tests.
27492 (catanh_test): Likewise.
27493 * sysdeps/i386/fpu/libm-test-ulps: Update.
27494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27495
27496 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27497
27498 * benchtests/Makefile: Mention files in which fast and slow
27499 paths of math functions are implemented.
27500
27501 2013-04-23 Roland McGrath <roland@hack.frob.com>
27502
27503 * sysdeps/posix/timespec_get.c: New file.
27504
27505 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27506
27507 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27508 POWER.
27509 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27510 for POWER.
27511 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27512 powerpc/power5/fpu folders.
27513 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27514 * benchtests/Makefile: Add modf testcase.
27515 * benchtests/bench-modf.c: New file: Benchmark test for mo
27516
27517 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27518
27519 [BZ #14888]
27520 * time/Makefile (tests): Add tst-strptime-whitespace.
27521 * time/strptime_l.c (get_number): Use ISSPACE.
27522 (__strptime_internal): Likewise.
27523 * time/tst-strptime-whitespace.c: New test case.
27524
27525 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27526
27527 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27528 member.
27529 (_nss_files_init): Set it here.
27530
27531 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27532
27533 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27534 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27535 unsigned.
27536
27537 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27538
27539 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27540
27541 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27542
27543 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27544 size just once.
27545
27546 2013-04-21 David S. Miller <davem@davemloft.net>
27547
27548 * po/ru.po: Update Russion translation from translation project.
27549
27550 2013-04-17 Adam Conrad <adconrad@0c3.net>
27551
27552 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27553 and setfsgid.
27554
27555 2013-04-17 Carlos O'Donell <carlos@redhat.com>
27556
27557 * configure.in: Remove i386 configure warning. Remove i386 case.
27558 * configure: Regenerate.
27559 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27560 Add example to error message.
27561 * sysdeps/i386/configure: Regenerate.
27562
27563 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27564
27565 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27566 slowtan.
27567 * benchtests/cos-inputs: New file.
27568 * benchtests/slowcos-inputs: New file.
27569 * benchtests/slowcos.c: New file.
27570 * benchtests/slowtan-inputs: New file.
27571 * benchtests/slowtan.c: New file.
27572 * benchtests/tan-inputs: New file.
27573
27574 2013-04-16 Roland McGrath <roland@hack.frob.com>
27575
27576 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27577 considered kosher.
27578
27579 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27580
27581 * benchtests/Makefile: Include cppflags-iterator.mk to add
27582 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27583
27584 * Makefile.in (bench-clean): New target.
27585 * benchtests/Makefile (bench-clean): Likewise.
27586
27587 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27588
27589 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27590
27591 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27592
27593 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27594
27595 2013-04-15 Andreas Schwab <schwab@suse.de>
27596
27597 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27598 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27599 * nscd/pwdcache.c (cache_addpw): Likewise.
27600 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27601 more than recsize.
27602
27603 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27604
27605 * benchtests/Makefile (bench): Write all output to
27606 bench-out.tmp together.
27607
27608 2013-04-15 Andreas Schwab <schwab@suse.de>
27609
27610 * nscd/nscd.c (main): Don't fork again after closing files.
27611
27612 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27613
27614 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27615
27616 * benchtests/Rules (bench-deps): Collect dependencies into a
27617 single variable. Add Makefile to dependencies.
27618 ($(objpfx)bench-%.c): Depend on bench-deps.
27619
27620 2013-04-12 Roland McGrath <roland@hack.frob.com>
27621 Xavier Roche <roche+kml2@exalead.com>
27622
27623 [BZ #15361]
27624 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27625 just that it's a file descriptor.
27626 * manual/llio.texi (Synchronizing AIO Operations): Update description
27627 for EBADF error from aio_fsync.
27628
27629 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27630
27631 * Rules (bench): Move target definition...
27632 * benchtests/Makefile: ... here.
27633
27634 2013-04-11 Carlos O'Donell <carlos@redhat.com>
27635
27636 * math/libm-test.inc (cos_test): Fix PI/2 test.
27637 (sincos_test): Likewise.
27638 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27639 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27640
27641 2013-04-11 Andreas Schwab <schwab@suse.de>
27642
27643 [BZ #13988]
27644 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27645 accept exponent character only when digits were seen.
27646 * stdio-common/Makefile (tests): Add bug26.
27647 * stdio-common/bug26.c: New file.
27648
27649 [BZ #14293]
27650 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27651 non-freeable.
27652
27653 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27654
27655 * Makeconfig (rtld-prefix): Define built linker prefix.
27656 * Rules (run-bench): Use it.
27657 * math/Makefile (run-regen-ulps): Likewise.
27658
27659 * Rules (bench): Remove eval.
27660
27661 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27662 Roland McGrath <roland@hack.frob.com>
27663 Ondrej Bilka <neleai@seznam.cz>
27664
27665 [BZ #15346]
27666 * time/getdate.c: Include ctype.h and alloca.h.
27667 (__getdate_r): Trim leading and trailing spaces of input.
27668 * time/tst-getdate.c (tests): Add tests with leading and
27669 trailing spaces.
27670
27671 2013-04-08 Roland McGrath <roland@hack.frob.com>
27672
27673 [BZ #14280]
27674 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27675 when computing value.
27676
27677 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27678
27679 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27680 Use testrun.sh to run libm tests.
27681
27682 [BZ #15309]
27683 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27684
27685 2013-04-06 Marko Myllynen <myllynen@redhat.com>
27686
27687 [BZ #15264]
27688 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27689
27690 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27691
27692 * Makefile.in (regen-ulps): New target.
27693 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27694 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27695 [ifneq (no,$(PERL)] (regen-ulps): New target.
27696 [ifeq (no,$(PERL)] (regen-ulps): New target.
27697 * math/libm-test.inc (ulps_file_name): Define.
27698 (output_dir): New variable.
27699 (options): Add "output-dir" option.
27700 (parse_opt): Handle 'o' case.
27701 (main): If output_dir is non-NULL use it as a prefix
27702 otherwise use "".
27703 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27704
27705 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27706
27707 [BZ #10060, #10062]
27708 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27709 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27710 fail configure if __sync_val_compare_and_swap is not inlined.
27711 * sysdeps/i386/configure: Regenerate.
27712 * configure.in: Build for i686 when configured for i386.
27713 * configure: Regenerate.
27714 * README: Remove i386 reference.
27715
27716 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27717
27718 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27719 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27720
27721 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27722
27723 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27724 (lmsnanval): New variables.
27725 (F): Add conversion tests.
27726 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27727 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27728
27729 * stdio-common/tstdiomisc.c (F): Properly collect individual
27730 tests' results.
27731
27732 [BZ #14686, #15336]
27733 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27734 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27735 Instead, use input NaN values or generate a qNaN by arithmetic
27736 operation. Also fix bugs to comply with the standard.
27737 * math/libm-test.inc (remainder_test): Add more tests.
27738
27739 [BZ #15335, #15342]
27740 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27741 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27742 input NaN values or generate a qNaN by arithmetic operation.
27743
27744 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27745 unreachable code.
27746
27747 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27748 definitions.
27749
27750 2013-04-03 Joseph Myers <joseph@codesourcery.com>
27751
27752 [BZ #14478]
27753 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27754 underflowed result.
27755 * math/s_cexpf.c (__cexpf): Likewise.
27756 * math/s_cexpl.c (__cexpl): Likewise.
27757 * math/libm-test.inc (cexp_test): Add more tests.
27758
27759 2013-04-03 Andreas Schwab <schwab@suse.de>
27760
27761 [BZ #15330]
27762 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27763 order arrays from heap if bigger than alloca cutoff.
27764
27765 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27766
27767 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27768 (SNAN_TESTS_double): Refer to GCC PR56831.
27769 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27770 GCC PR56828.
27771
27772 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27773
27774 * Rules (bench): Move bench.out after the run is complete.
27775
27776 * Rules (bench): Echo currently running benchmark.
27777
27778 * benchtests/Makefile (bench): Add atan and slowatan.
27779 * benchtests/atan-inputs: New file.
27780 * benchtests/slowatan-inputs: New file.
27781 * benchtests/slowatan.c: New file.
27782
27783 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27784 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27785 its value.
27786
27787 [BZ #15305]
27788 * sysdeps/unix/sysv/linux/kernel-features.h
27789 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27790 __ASSUME_XFS_RESTRICTED_CHOWN.
27791 * sysdeps/unix/sysv/linux/pathconf.c
27792 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27793 Save and restore errno.
27794
27795 2013-04-02 Joseph Myers <joseph@codesourcery.com>
27796
27797 [BZ #15327]
27798 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27799 arguments using __kernel_casinh.
27800 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27801 arguments using __kernel_casinhf.
27802 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27803 arguments using __kernel_casinhl.
27804 * math/libm-test.inc (cacosh_test): Add more tests.
27805 * sysdeps/i386/fpu/libm-test-ulps: Update.
27806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27807
27808 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27809
27810 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27811 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27812
27813 * bench/Makefile (bench): Add sin and slowsin.
27814 * benchtests/sin-inputs: New file.
27815 * benchtests/slowsin-inputs: New file.
27816 * benchtests/slowsin.c: New file.
27817
27818 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27819 (bench): Add slowexp and slowpow.
27820 (exp-ITER): Increase iterations.
27821 (pow-ITER): Likewise.
27822 * benchtests/exp-inputs: Change input.
27823 * benchtests/pow-inputs: Likewise.
27824 * benchtests/slowexp-inputs: New file.
27825 * benchtests/slowexp.c: New file.
27826 * benchtests/slowpow-inputs: New file.
27827 * benchtests/slowpow.c: New file.
27828
27829 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27830
27831 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27832 instructions.
27833 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27834 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27835 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27836 * benchtests/Makefile: Add rint benchtest.
27837 * benchtests/rint-inputs: Input for rint benchtest.
27838
27839 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27840
27841 * Versions.def (libm): Add GLIBC_2.18.
27842 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27843 hidden libm prototypes.
27844 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27845 * math/Makefile (libm-calls): Add s_issignaling.
27846 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27847 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27848 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27849 declaration.
27850 * math/math.h [__USE_GNU] (issignaling): New macro.
27851 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27852 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27853 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27854 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27855 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27856 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27857 * manual/arith.texi (issignaling): New section.
27858 * manual/libm-err-tab.pl (@all_functions): Update comment.
27859 * math/gen-libm-test.pl (parse_args): Apply special handling for
27860 issignaling.
27861 * math/libm-test.inc (print_float, issignaling_test): New
27862 functions.
27863 (check_float_internal): Add issignaling checks.
27864 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27865 default definition.
27866 * sysdeps/powerpc/math-tests.h: New file.
27867 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27868 tests.
27869 * math/test-snan.c (TEST_FUNC): Likewise.
27870
27871 2013-03-30 David S. Miller <davem@davemloft.net>
27872
27873 * po/de.po: Update from translation team.
27874
27875 2013-03-30 Joseph Myers <joseph@codesourcery.com>
27876
27877 [BZ #10357]
27878 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27879 imaginary part less than 1.0 and real part less than 0.5
27880 specially.
27881 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27882 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27883 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27884 (cacos_test): Add more tests.
27885 (casin_test): Likewise.
27886 (casinh_test): Likewise.
27887 * sysdeps/i386/fpu/libm-test-ulps: Update.
27888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27889
27890 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27891
27892 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27893 ONE with its value.
27894
27895 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27896 (__pow_mp): Replace ONE and MONE with their values.
27897 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27898 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27899 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27900 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27901 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27902 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27903
27904 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27905
27906 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27907 (__pow_mp): Replace ZERO and MZERO with their values.
27908 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27909 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27910 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27911 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27912 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27913 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27914 (__sqr): Likewise.
27915
27916 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27917
27918 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27919
27920 2013-03-28 Roland McGrath <roland@hack.frob.com>
27921
27922 * include/stdlib.h [!SHARED] (__call_tls_dtors):
27923 Declare with __attribute__ ((weak)).
27924 * stdlib/exit.c (__libc_atexit) [!SHARED]:
27925 Call __call_tls_dtors only if it's not NULL.
27926
27927 2013-03-28 Roland McGrath <roland@hack.frob.com>
27928
27929 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27930 didn't do it already, then set _dl_phdr and _dl_phnum based on the
27931 magic __ehdr_start linker symbol if it's defined.
27932 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27933 them up here if it was already done.
27934
27935 * elf/dl-support.c (_dl_phdr): Make pointer to const.
27936 (_dl_aux_init): Use const in cast when setting it.
27937 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27938 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27939 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27940
27941 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27942 Declare them here.
27943 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27944 * csu/libc-tls.c: Nor here.
27945 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27946
27947 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27948 (__libc_message): Never call vsyslog.
27949
27950 2013-03-28 Alan Modra <amodra@gmail.com>
27951
27952 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27953 Define as empty.
27954 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27955 Likewise.
27956
27957 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27958
27959 [BZ #15214]
27960 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27961 underflow.
27962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27963
27964 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27965
27966 [BZ #15304]
27967 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27968 Don't add gid passed as argument.
27969
27970 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27971
27972 2013-03-27 Joseph Myers <joseph@codesourcery.com>
27973
27974 [BZ #15307]
27975 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27976 imaginary part between 1.0 and 1.5 and real part less than 0.5
27977 specially.
27978 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27979 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27980 * math/libm-test.inc (cacos_test): Add more tests.
27981 (casin_test): Likewise.
27982 (casinh_test): Likewise.
27983 * sysdeps/i386/fpu/libm-test-ulps: Update.
27984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27985
27986 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27987
27988 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27989 constants.
27990 (norm): Likewise.
27991 (denorm): Likewise.
27992 (__dbl_mp): Likewise.
27993 (add_magnitudes): Likewise.
27994 (sub_magnitudes): Likewise.
27995 (__add): Likewise.
27996 (__sub): Likewise.
27997 (__mul): Likewise.
27998 (__sqr): Likewise.
27999 (__inv): Likewise.
28000 (__dvd): Likewise.
28001
28002 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28003 commented code.
28004 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28005 (__dubcos): Likewise.
28006 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28007 (__ieee754_acos): Likewise.
28008 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28009 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28010 (__exp1): Likewise.
28011 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28012 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28013 (log1): Likewise.
28014 (my_log2): Likewise.
28015 (checkint): Likewise.
28016 * sysdeps/ieee754/dbl-64/e_remainder.c
28017 (__ieee754_remainder): Likewise.
28018 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28019 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28020 (bsloww): Likewise.
28021 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28022
28023 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28024 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28025 MANTISSA_STORE_T to store computations on mantissa. Use
28026 macros for rounding and division.
28027 (denorm): Likewise.
28028 (__dbl_mp): Likewise.
28029 (add_magnitudes): Likewise.
28030 (sub_magnitudes): Likewise.
28031 (__mul): Likewise.
28032 (__sqr): Likewise.
28033 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28034 powers of two in terms of TWOPOW macro.
28035 (mp_no): Make type of mantissa as MANTISSA_T.
28036 [!RADIXI]: Define RADIXI.
28037 [!TWO52]: Define TWO52.
28038 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28039
28040 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28041
28042 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28043 llroundl symbol when building for PPC32.
28044
28045 2013-03-24 Mark H Weaver <mhw@netris.org>
28046
28047 * manual/arith.texi (Normalization Functions): Fix prototypes for
28048 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28049
28050 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28051
28052 [BZ #13889]
28053 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28054 high value to check if expl overflow.
28055 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28056 to check for underflow and overflow.
28057 * math/libm-test.inc: Add exp test.
28058
28059 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28060
28061 [BZ #11120]
28062 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28063 with NOT_IN_libc.
28064
28065 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28066
28067 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28068 symbol.
28069
28070 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28071
28072 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28073 wrap blocks consisting of several statements.
28074
28075 * sysdeps/generic/math-tests.h: New file.
28076 * sysdeps/i386/fpu/math-tests.h: Likewise.
28077 * math/test-snan.c: Include it.
28078 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28079
28080 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28081
28082 [BZ #15285]
28083 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28084 (__ieee754_j0l): Do not improve calculations using cos of twice
28085 input for inputs above LDBL_MAX / 2.0L.
28086 (__ieee754_y0l): Likewise.
28087 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28088 (__ieee754_j1l): Do not improve calculations using cos of twice
28089 input for inputs above LDBL_MAX / 2.0L.
28090 (__ieee754_y1l): Likewise.
28091 * math/libm-test.inc (j0_test): Add another test.
28092 (j1_test): Likewise.
28093 (y0_test): Likewise.
28094 (y1_test): Likewise.
28095 * sysdeps/i386/fpu/libm-test-ulps: Update.
28096
28097 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28098
28099 * Rules ($(objpfx)bench-%.c): Include code from a C source
28100 file.
28101
28102 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28103
28104 [BZ #15287]
28105 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28106 imaginary part 1.0 and real part less than 0.5 specially.
28107 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28108 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28109 * math/libm-test.inc (cacos_test): Add more tests.
28110 (casin_test): Likewise.
28111 (casinh_test): Likewise.
28112 * sysdeps/i386/fpu/libm-test-ulps: Update.
28113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28114
28115 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28116
28117 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28118 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28119
28120 2013-03-20 Joseph Myers <joseph@codesourcery.com>
28121
28122 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28123 * config.make.in (config-cflags-sse4): Remove variable.
28124 (config-cflags-avx): Likewise.
28125 (config-cflags-sse2avx): Likewise.
28126 (config-cflags-novzeroupper): Likewise.
28127 (config-asflags-i686): Likewise.
28128 (have-mfma4): Likewise.
28129 (have-as-vis3): Likewise.
28130 (MIG): Likewise.
28131 * configure.in (MIG): Do not AC_SUBST.
28132 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28133 (libc_cv_cc_sse4): Do not AC_SUBST.
28134 (libc_cv_cc_avx): Likewise.
28135 (libc_cv_cc_sse2avx): Likewise.
28136 (libc_cv_cc_novzeroupper): Likewise.
28137 (libc_cv_cc_fma4): Likewise.
28138 (libc_cv_as_i686): Likewise.
28139 (libc_cv_sparc_as_vis3): Likewise.
28140 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28141 LIBC_CONFIG_VAR.
28142 (config-asflags-i686): Likewise.
28143 (config-cflags-avx): Likewise.
28144 (config-cflags-sse2avx): Likewise.
28145 (have-mfma4): Likewise.
28146 (config-cflags-novzeroupper): Likewise.
28147 * sysdeps/mach/configure.in (MIG): Likewise.
28148 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28149 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28150 LIBC_CONFIG_VAR.
28151 (config-cflags-avx): Likewise.
28152 (config-cflags-sse2avx): Likewise.
28153 (have-mfma4): Likewise.
28154 (config-cflags-novzeroupper): Likewise.
28155 * configure: Regenerated.
28156 * sysdeps/i386/configure: Likewise.
28157 * sysdeps/mach/configure: Likewise.
28158 * sysdeps/sparc/configure: Likewise.
28159 * sysdeps/x86_64/configure: Likewise.
28160
28161 2013-03-20 Roland McGrath <roland@hack.frob.com>
28162
28163 [BZ #14812]
28164 * locale/programs/localedef.c (options): Put N_ translation marker
28165 on argument names, not just descriptions.
28166
28167 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28168
28169 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28170
28171 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
28172
28173 [BZ #14176]
28174 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28175
28176 2013-03-19 Roland McGrath <roland@hack.frob.com>
28177
28178 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28179 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28180 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28181 [!BEFORE_ABORT] (before_abort): New function.
28182 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28183 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28184 (writev_for_fatal): New function.
28185 (WRITEV_FOR_FATAL): New macro; call that.
28186 (backtrace_and_maps): New function.
28187 (BEFORE_ABORT): New macro; call that.
28188 (struct str_list): Type removed.
28189 (__libc_message, __libc_fatal): Functions removed.
28190 Include <sysdeps/posix/libc_fatal.c> instead.
28191
28192 2013-03-19 Joseph Myers <joseph@codesourcery.com>
28193
28194 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28195 constants.
28196 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28197 double constants.
28198
28199 2013-03-19 Andreas Schwab <schwab@suse.de>
28200
28201 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28202 * sysdeps/gnu/configure: Regenerate.
28203
28204 * configure.in: Substitute libc_cv_rtlddir.
28205 * configure: Regenerate.
28206 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28207 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28208 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28209 * elf/Makefile (install-others, CFLAGS-interp.c)
28210 (ldso_install, common-ldd-rewrite): Likewise.
28211 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28212 $(inst_slibdir)/$(rtld-installed-name).
28213 * scripts/rellns-sh: Add -p option.
28214 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28215 for source.
28216
28217 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28218
28219 * manual/nptl.texi: Renamed to ...
28220 * manual/threads.texi: ... this.
28221 * manual/Makefile (chapters): Update.
28222
28223 2013-03-18 Roland McGrath <roland@hack.frob.com>
28224
28225 [BZ #14812]
28226 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28227 on argument names, not just descriptions.
28228 * malloc/memusagestat.c (options): Likewise.
28229 * nss/getent.c (options): Likewise.
28230
28231 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
28232
28233 [BZ #14812]
28234 * iconv/iconv_prog.c (options): Put N_ translation marker
28235 on argument names, not just descriptions.
28236 * iconv/iconvconfig.c (options): Likewise.
28237
28238 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
28239
28240 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28241 implementation which is faster on all x86_64 architectures.
28242 Tested on AMD, Intel Nehalem, SNB, IVB.
28243 * sysdeps/x86_64/strnlen.S: Likewise.
28244
28245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28246 Remove all multiarch strlen and strnlen versions.
28247 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28248 Remove strlen and strnlen related parts.
28249
28250 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28251 Inline strlen part.
28252 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28253
28254 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28255 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28256 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28257 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28258 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28259 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28260
28261 2013-03-17 Carlos O'Donell <carlos@redhat.com>
28262
28263 * manual/memory.texi (Malloc Tunable Parameters):
28264 Sort parameters alphabetically. Add comments for missing entries.
28265
28266 2013-03-17 David S. Miller <davem@davemloft.net>
28267
28268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28269
28270 2013-03-16 Joseph Myers <joseph@codesourcery.com>
28271
28272 [BZ #15283]
28273 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28274 for arguments at most half maximum finite value.
28275 * math/libm-test.inc (j0_test): Add more tests.
28276 (j1_test): Likewise.
28277 (y0_test): Likewise.
28278 (y1_test): Likewise.
28279 * sysdeps/i386/fpu/libm-test-ulps: Update.
28280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28281
28282 [BZ #14155]
28283 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28284 1 / x and functions P and Q for arguments above 0x1p256L.
28285 (__ieee754_y0l): Likewise.
28286 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28287 (__ieee754_y1l): Likewise.
28288 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28289 (j1_test): Likewise.
28290 (y0_test): Likewise.
28291 (y1_test): Likewise.
28292
28293 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28294
28295 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28296 variable.
28297
28298 2013-03-15 Roland McGrath <roland@hack.frob.com>
28299
28300 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28301 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28302 zero since it's initialized to EXEC_PAGESIZE.
28303
28304 * sysdeps/unix/sysv/linux/ldsodefs.h
28305 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28306 * sysdeps/generic/ldsodefs.h: ... here.
28307
28308 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28309
28310 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28311
28312 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28313 math/test-snan.c.
28314 * math/test-snan.c: Renamed from
28315 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28316 * math/Makefile (tests): Add test-snan.
28317 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28318 test-powerpc-snan.
28319
28320 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28321 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28322 functions.
28323 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28324 __builtin_nan family of functions.
28325 * math/libm-test.inc (initialize): Initialize qnan_value with
28326 __builtin_nan family of functions.
28327 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28328 Remove variables.
28329 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28330 Remove functions.
28331 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28332 storage class. Initialize qNaN_var and sNaN_var with
28333 __builtin_nan and __builtin_nans families of functions,
28334 respectively.
28335
28336 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28337 (sqrt_test): Remove duplicate test with qNaN input.
28338 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28339 (round_test, signbit_test, significand_test): Note missing +/-Inf
28340 as well as qNaN tests.
28341
28342 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28343 qNaN_var. Fix a few strings, too.
28344 * math/libm-test.inc (nan_value): Rename to qnan_value.
28345 * math/gen-libm-test.pl (%beautify): Adjust to that.
28346 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28347 * math/test-misc.c (main): Likewise.
28348 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28349 to __qnan_bytes, and __qnan_union, respectively.
28350 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28351 Likewise.
28352 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28353 and lqnanval, respectively.
28354 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28355 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28356 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28357 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28358
28359 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28360 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28361 doubles.
28362
28363 * math/test-misc.c (main): Fix copy'n'pastos.
28364 * misc/tst-efgcvt.c (special): Likewise.
28365
28366 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28367 Remove declarations.
28368
28369 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28370
28371 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28372 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28373 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28374 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28375
28376 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28377
28378 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28379 macro to return vdso values correctly in IFUNC implementations.
28380 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28381 Optimization by using IFUNC.
28382
28383 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28384 Richard Henderson <rth@redhat.com>
28385 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28386
28387 * Makefile.in (bench): New target.
28388 * NEWS: Mention the benchmark framework.
28389 * Rules (bench): Likewise.
28390 (binaries-bench): Generate binaries for functions to
28391 benchmark.
28392 * benchtests/Makefile: New makefile for benchmark tests.
28393 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28394 programs.
28395 * benchtests/exp-inputs: New input file for EXP function.
28396 * benchtests/pow-inputs: New input file for POW function.
28397 * scripts/bench.pl: New script to generate source files for
28398 benchmark programs.
28399
28400 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28401
28402 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28403 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28404 computations on mantissa. Use macros for rounding and
28405 division.
28406 (denorm): Likewise.
28407 (__dbl_mp): Likewise.
28408 (add_magnitudes): Likewise.
28409 (sub_magnitudes): Likewise.
28410 (__mul): Likewise.
28411 (__sqr): Likewise.
28412 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28413 powers of two in terms of TWOPOW macro.
28414 (mp_no): Make type of mantissa as MANTISSA_T.
28415 [!RADIXI]: Define RADIXI.
28416 [!TWO52]: Define TWO52.
28417 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28418
28419 * manual/nptl.texi (cindex): Modify threads to pthreads.
28420
28421 2013-03-15 Joseph Myers <joseph@codesourcery.com>
28422
28423 * sysdeps/x86_64/preconfigure: Regenerated.
28424
28425 2013-03-14 Joseph Myers <joseph@codesourcery.com>
28426
28427 [BZ #14155]
28428 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28429 0x1p28 and above.
28430 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28431 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28432 0x1p28 and above.
28433 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28434 * math/libm-test.inc (j0_test): Do not allow one spurious
28435 underflow exception.
28436 (y1_test): Likewise.
28437
28438 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28439
28440 * manual/Makefile (chapters): Add nptl.
28441 * manual/debug.texi (Debugging Support): Add link to Threads
28442 chapter.
28443 * manual/nptl.texi: New file.
28444
28445 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28446
28447 2013-03-14 Petr Baudis <pasky@ucw.cz>
28448
28449 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28450 for non-NULL pointer before the memory validity test. Pointed
28451 out by Holger Brunck <holger.brunck@keymile.com>.
28452
28453 2013-03-13 Andreas Schwab <schwab@suse.de>
28454
28455 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28456 instead of .os.
28457
28458 2013-03-13 Joseph Myers <joseph@codesourcery.com>
28459
28460 * timezone/zic.c: Update from tzcode 2013b.
28461
28462 2013-03-12 Carlos O'Donell <carlos@redhat.com>
28463
28464 * manual/install.texi (Configuring and compiling):
28465 Mention i686 and i586.
28466 * INSTALL: Regenerate.
28467
28468 2013-03-12 Roland McGrath <roland@hack.frob.com>
28469
28470 * sysdeps/init_array/elf-init.c: New file.
28471 * csu/elf-init.c
28472 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28473 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28474
28475 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28476 __gmon_start__ as global, but as static with a .preinit_array pointer.
28477 * sysdeps/init_array/gmon-start.c: New file. Use that.
28478 * sysdeps/init_array/crti.S: New file, empty except for comments.
28479 * sysdeps/init_array/crtn.S: Likewise.
28480
28481 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
28482
28483 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28484 definining bcopy.
28485 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28486 Remove Prefer_SSE_for_memop.
28487 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28488 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28489 HAS_PREFER_SSE_FOR_MEMOP.
28490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28491 memset-x86-64.
28492 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28493 Remove bzero, memset ifunc support.
28494 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28495 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28496 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28497 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28498
28499 2013-03-11 Andreas Schwab <schwab@suse.de>
28500
28501 [BZ #15234]
28502 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28503 by SHLIB_COMPAT.
28504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28505 (GLIBC_2.16): Remove pthread_atfork.
28506
28507 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28508
28509 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28510 (ptestcases.h): Likewise.
28511
28512 2013-03-08 Roland McGrath <roland@hack.frob.com>
28513
28514 * Makeconfig ($(common-objpfx)config.status): Depend on
28515 sysdeps/*/preconfigure{,.in} too.
28516
28517 2013-03-08 Joseph Myers <joseph@codesourcery.com>
28518
28519 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28520 (__free_hook): Use void * instead of __malloc_ptr_t.
28521 (__malloc_hook): Likewise.
28522 (__realloc_hook): Likewise.
28523 (__memalign_hook): Likewise.
28524 (__after_morecore_hook): Likewise.
28525 * malloc/arena.c (save_malloc_hook): Likewise.
28526 (save_free_hook): Likewise.
28527 * malloc/hooks.c (malloc_hook_ini): Likewise.
28528 (realloc_hook_ini): Likewise.
28529 (memalign_hook_ini): Likewise.
28530 * malloc/malloc.c (malloc_hook_ini): Likewise.
28531 (realloc_hook_ini): Likewise.
28532 (memalign_hook_ini): Likewise.
28533 (__free_hook): Likewise.
28534 (__malloc_hook): Likewise.
28535 (__realloc_hook): Likewise.
28536 (__memalign_hook): Likewise.
28537 (__libc_malloc): Likewise.
28538 (__libc_free): Likewise.
28539 (__libc_realloc): Likewise.
28540 (__libc_memalign): Likewise.
28541 (__libc_valloc): Likewise.
28542 (__libc_pvalloc): Likewise.
28543 (__libc_calloc): Likewise.
28544 (__posix_memalign): Likewise.
28545 * malloc/morecore.c (__sbrk): Likewise.
28546 (__default_morecore): Likewise.
28547
28548 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28549
28550 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28551 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28552 __malloc_ptrdiff_t.
28553
28554 * malloc/malloc.h (__malloc_size_t): Remove macro.
28555 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28556 __malloc_size_t.
28557 (old_memalign_hook): Likewise.
28558 (old_realloc_hook): Likewise.
28559 (struct hdr): Likewise.
28560 (flood): Likewise.
28561 (mallochook): Likewise.
28562 (memalignhook): Likewise.
28563 (reallochook): Likewise.
28564 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28565 (tr_old_realloc_hook): Likewise.
28566 (tr_old_memalign_hook): Likewise.
28567 (tr_mallochook): Likewise.
28568 (tr_reallochook): Likewise.
28569 (tr_memalignhook): Likewise.
28570
28571 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28572
28573 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28574 default_ldbl_pack and using as default implementation.
28575 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28576 implementation.
28577 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28578 redundant definition.
28579 (ldbl_insert_mantissa): Likewise.
28580 (ldbl_canonicalize): Likewise.
28581 (ldbl_nearbyint): Likewise.
28582 (ldbl_pack): Rename to ldbl_pack_ppc.
28583 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28584 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28585 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28586
28587 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28588
28589 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28590 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28591 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28592 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28594 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28595 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28596 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28597
28598 2013-03-07 Andreas Jaeger <aj@suse.de>
28599
28600 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28601 bits/mman-linux.h.
28602
28603 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28604
28605 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28606 Include mpa.h and declare __MPEXP.
28607 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28608 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28609 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28610 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28611 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28612 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28613 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28614
28615 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28616 (__slowpow): Use long double EXPL and LOGL functions to
28617 compute POW.
28618 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28619 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28620 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28621 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28622 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28623 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28624
28625 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28626 intermediate variable to calculate exponent.
28627 (__sqr): Likewise.
28628 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28629 Likewise.
28630 (__sqr): Likewise.
28631
28632 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28633 [!NO__SQR]: Define __sqr.
28634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28635 and NO__SQR. Remove all code except __mul and __sqr. Include
28636 sysdeps/ieee754/dbl-64/mpa.c.
28637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28638
28639 [BZ #12723]
28640 * posix/Makefile (tests): Add tst-pathconf.
28641 * posix/tst-pathconf.c: New test case.
28642 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28643 _PC_PIPE_BUF.
28644 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28645
28646 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
28647
28648 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28649
28650 2013-03-06 Andreas Jaeger <aj@suse.de>
28651
28652 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28653 definition via __MAP_ANONYMOUS.
28654
28655 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28656 it's not part of Linux headers.
28657
28658 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28659 (MAP_HUGE_MASK): Define.
28660
28661 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28662 Define.
28663 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28664 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28665 Define.
28666 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28667 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28668 Define.
28669 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28670 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28671 Define.
28672 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28673
28674 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28675 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28676 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28677 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28678 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28679 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28680
28681 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28682 Handle f2fs.
28683
28684 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28685 Handle f2fs and efivarfs.
28686
28687 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28688 f2fs.
28689
28690 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28691 (EFIVARFS_MAGIC): Add.
28692 (F2FS_LINK_MAX): Add.
28693
28694 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28695
28696 * stdio-common/vfprintf.c: Replace __builtin_expect with
28697 __glibc_unlikely.
28698
28699 2013-03-06 Joseph Myers <joseph@codesourcery.com>
28700
28701 [BZ #13550]
28702 * sysdeps/generic/bp-sym.h: Remove file.
28703 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28704 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28705 <bp-sym.h> and <bp-asm.h>.
28706 (__longjmp): Don't use BP_SYM.
28707 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28708 and <bp-asm.h>.
28709 (memcpy): Don't use BP_SYM.
28710 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28711 <bp-sym.h> and <bp-asm.h>.
28712 (memcpy): Don't use BP_SYM.
28713 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28714 <bp-asm.h>.
28715 (memcpy): Don't use BP_SYM.
28716 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28717 <bp-asm.h>.
28718 (memset): Don't use BP_SYM.
28719 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28720 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28721 (__bzero): Don't use BP_SYM.
28722 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28723 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28724 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28725 <bp-sym.h> and <bp-asm.h>.
28726 (memcmp): Don't use BP_SYM. Remove comment about bounded
28727 pointers.
28728 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28729 <bp-sym.h> and <bp-asm.h>.
28730 (memcpy): Don't use BP_SYM.
28731 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28732 <bp-sym.h> and <bp-asm.h>.
28733 (memset): Don't use BP_SYM.
28734 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28735 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28736 (__bzero): Don't use BP_SYM.
28737 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28738 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28739 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28740 <bp-sym.h> and <bp-asm.h>.
28741 (strncmp): Don't use BP_SYM. Remove comment about bounded
28742 pointers.
28743 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28744 <bp-sym.h> and <bp-asm.h>.
28745 (memcpy): Don't use BP_SYM.
28746 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28747 <bp-sym.h> and <bp-asm.h>.
28748 (memset): Don't use BP_SYM.
28749 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28750 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28751 (__bzero): Don't use BP_SYM.
28752 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28753 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28754 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28755 <bp-sym.h> and <bp-asm.h>.
28756 (__memchr): Don't use BP_SYM.
28757 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28758 <bp-sym.h> and <bp-asm.h>.
28759 (memcmp): Don't use BP_SYM. Remove comment about bounded
28760 pointers.
28761 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28762 <bp-sym.h> and <bp-asm.h>.
28763 (memcpy): Don't use BP_SYM.
28764 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28765 <bp-sym.h> and <bp-asm.h>.
28766 (__mempcpy): Don't use BP_SYM.
28767 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28768 <bp-sym.h> and <bp-asm.h>.
28769 (__memrchr): Don't use BP_SYM.
28770 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28771 <bp-sym.h> and <bp-asm.h>.
28772 (memset): Don't use BP_SYM.
28773 (__bzero): Likewise.
28774 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28775 <bp-sym.h> and <bp-asm.h>.
28776 (__rawmemchr): Don't use BP_SYM.
28777 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28778 <bp-sym.h> and <bp-asm.h>.
28779 (__STRCMP): Don't use BP_SYM.
28780 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28781 <bp-sym.h> and <bp-asm.h>.
28782 (strchr): Don't use BP_SYM.
28783 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28784 <bp-sym.h> and <bp-asm.h>.
28785 (__strchrnul): Don't use BP_SYM.
28786 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28787 <bp-sym.h> and <bp-asm.h>.
28788 (strlen): Don't use BP_SYM.
28789 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28790 <bp-sym.h> and <bp-asm.h>.
28791 (strncmp): Don't use BP_SYM. Remove comment about bounded
28792 pointers.
28793 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28794 <bp-sym.h> and <bp-asm.h>.
28795 (__strnlen): Don't use BP_SYM.
28796 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28797 <bp-sym.h> and <bp-asm.h>.
28798 (__GI__setjmp): Don't use BP_SYM.
28799 (_setjmp): Likewise.
28800 (__sigsetjmp): Likewise.
28801 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28802 (L(start_addresses)): Don't use BP_SYM.
28803 (_start): Likewise.
28804 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28805 <bp-asm.h>.
28806 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28807 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28808 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28809 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28810 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28811 <bp-asm.h>.
28812 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28813 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28814 about bounded pointers.
28815 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28816 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28817 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28818 <bp-asm.h>.
28819 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28820 about bounded pointers. Remove GKM FIXME comments.
28821 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28822 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28823 <bp-asm.h>.
28824 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28825 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28826 Remove GKM FIXME comments.
28827 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28828 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28829 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28830 <bp-asm.h>.
28831 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28832 about bounded pointers. Remove GKM FIXME comment.
28833 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28834 and <bp-asm.h>.
28835 (strncmp): Don't use BP_SYM. Remove comment about bounded
28836 pointers.
28837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28838 <bp-sym.h> and <bp-asm.h>.
28839 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28841 <bp-sym.h> and <bp-asm.h>.
28842 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28843 comment.
28844
28845 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28846
28847 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28848 call free(NULL).
28849
28850 2013-03-05 David S. Miller <davem@davemloft.net>
28851
28852 * po/es.po: Update from translation team.
28853
28854 2013-03-05 Andreas Jaeger <aj@suse.de>
28855
28856 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28857 <bits/mman-linux.h>.
28858 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28859 is fine.
28860 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28861 <bits/mman-linux.h> to end of file.
28862 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28863 is fine.
28864 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28865 <bits/mman-linux.h> to end of file.
28866 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28867 is fine.
28868 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28869 <bits/mman-linux.h> to end of file.
28870
28871 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28872 (MCL_CURRENT, MCL_FUTURE): Define here.
28873
28874 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28875
28876 [BZ #15232]
28877 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28878 attribute_hidden.
28879 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28880
28881 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28882
28883 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28884 fourth parameter needed for rt_sigprocmask syscall.
28885 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28886 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28887 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28888 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28889 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28890 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28891
28892 2013-03-04 Joseph Myers <joseph@codesourcery.com>
28893
28894 [BZ #13550]
28895 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28896 comment about bounded pointers.
28897 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28898 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28899
28900 2013-03-04 Andreas Jaeger <aj@suse.de>
28901
28902 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28903 common definitions.
28904
28905 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28906 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28907 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28908 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28909 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28910 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28911
28912 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28913
28914 [BZ #15055]
28915 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28916 __ieee754_sqrl instead of __sqrl.
28917
28918 2013-03-01 Joseph Myers <joseph@codesourcery.com>
28919
28920 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28921 * sysdeps/powerpc/fpu_control.h: ... here.
28922 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28923 * sysdeps/powerpc/bits/fenvinline.h: ... here.
28924 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28925 * sysdeps/powerpc/bits/mathinline.h: ... here.
28926
28927 2013-03-01 Roland McGrath <roland@hack.frob.com>
28928
28929 * elf/dl-hwcaps.c (_dl_important_hwcaps):
28930 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28931 to just [NEED_DL_SYSINFO_DSO].
28932 * elf/dl-support.c: Likewise.
28933 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28934 * elf/rtld.c (dl_main): Likewise.
28935 * elf/setup-vdso.h (setup_vdso): Likewise.
28936 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28937 * sysdeps/unix/sysv/linux/dl-sysdep.c
28938 (_dl_discover_osversion): Likewise.
28939
28940 2013-03-01 Carlos O'Donell <carlos@redhat.com>
28941
28942 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28943 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28944
28945 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28946
28947 * NEWS: Mention libm performance improvements and non-x86 PI
28948 futex support.
28949
28950 * csu/libc-start.c (__pthread_initialize_minimal): Change
28951 function arguments.
28952 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28953
28954 2013-02-28 Joseph Myers <joseph@codesourcery.com>
28955
28956 [BZ #13550]
28957 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28958 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28959 <bp-sym.h> and <bp-asm.h>.
28960 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28961 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28962 and <bp-asm.h>.
28963 (memcpy): Don't use BP_SYM.
28964 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28965 <bp-asm.h>.
28966 (__mpn_add_n): Don't use BP_SYM.
28967 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28968 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28969 and <bp-asm.h>.
28970 (__mpn_addmul_1): Don't use BP_SYM.
28971 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28972 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28973 <bp-sym.h>.
28974 (_setjmp): Don't use BP_SYM.
28975 (__novmx_setjmp): Likewise.
28976 (__GI__setjmp): Likewise.
28977 (__vmx_setjmp): Likewise.
28978 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28979 <bp-sym.h>.
28980 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28981 (__bzero): Don't use BP_SYM.
28982 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28983 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28984 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28985 <bp-sym.h> and <bp-asm.h>.
28986 (memcpy): Don't use BP_SYM.
28987 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28988 <bp-sym.h> and <bp-asm.h>.
28989 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28990 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28991 <bp-sym.h> and <bp-asm.h>.
28992 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28993 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28994 <bp-asm.h>.
28995 (__mpn_lshift): Don't use BP_SYM.
28996 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28997 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28998 <bp-asm.h>.
28999 (memset): Don't use BP_SYM.
29000 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29001 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29002 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29003 <bp-asm.h>.
29004 (__mpn_mul_1): Don't use BP_SYM.
29005 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29006 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29007 <bp-sym.h> and <bp-asm.h>.
29008 (memcmp): Don't use BP_SYM.
29009 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29010 <bp-sym.h> and <bp-asm.h>.
29011 (memcpy): Don't use BP_SYM.
29012 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29013 <bp-sym.h> and <bp-asm.h>.
29014 (memset): Don't use BP_SYM.
29015 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29016 <bp-sym.h> and <bp-asm.h>.
29017 (strncmp): Don't use BP_SYM.
29018 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29019 <bp-sym.h> and <bp-asm.h>.
29020 (memcpy): Don't use BP_SYM.
29021 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29022 <bp-sym.h> and <bp-asm.h>.
29023 (memset): Don't use BP_SYM.
29024 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29025 <bp-sym.h> and <bp-asm.h>.
29026 (__memchr): Don't use BP_SYM.
29027 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29028 <bp-sym.h> and <bp-asm.h>.
29029 (memcmp): Don't use BP_SYM.
29030 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29031 <bp-sym.h> and <bp-asm.h>.
29032 (memcpy): Don't use BP_SYM.
29033 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29034 <bp-sym.h> and <bp-asm.h>.
29035 (__mempcpy): Don't use BP_SYM.
29036 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29037 <bp-sym.h> and <bp-asm.h>.
29038 (__memrchr): Don't use BP_SYM.
29039 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29040 <bp-sym.h> and <bp-asm.h>.
29041 (memset): Don't use BP_SYM.
29042 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29043 <bp-sym.h> and <bp-asm.h>.
29044 (__rawmemchr): Don't use BP_SYM.
29045 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29046 <bp-sym.h> and <bp-asm.h>.
29047 (__STRCMP): Don't use BP_SYM.
29048 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29049 <bp-sym.h> and <bp-asm.h>.
29050 (strchr): Don't use BP_SYM.
29051 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29052 <bp-sym.h> and <bp-asm.h>.
29053 (__strchrnul): Don't use BP_SYM.
29054 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29055 <bp-sym.h> and <bp-asm.h>.
29056 (strlen): Don't use BP_SYM.
29057 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29058 <bp-sym.h> and <bp-asm.h>.
29059 (strncmp): Don't use BP_SYM.
29060 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29061 <bp-sym.h> and <bp-asm.h>.
29062 (__strnlen): Don't use BP_SYM.
29063 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29064 <bp-asm.h>.
29065 (__mpn_rshift): Don't use BP_SYM.
29066 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29067 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29068 <bp-sym.h> and <bp-asm.h>.
29069 (__sigsetjmp): Don't use BP_SYM.
29070 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29071 (L(start_addresses)): Don't use BP_SYM.
29072 (_start): Likewise.
29073 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29074 <bp-asm.h>.
29075 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29076 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29077 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29078 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29079 <bp-asm.h>.
29080 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29081 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29082 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29083 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29084 <bp-asm.h>.
29085 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29086 comments.
29087 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29088 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29089 <bp-asm.h>.
29090 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29091 FIXME comments.
29092 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29093 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29094 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29095 <bp-asm.h>.
29096 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29097 comment.
29098 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29099 and <bp-asm.h>.
29100 (strncmp): Don't use BP_SYM,
29101 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29102 <bp-asm.h>.
29103 (__mpn_sub_n): Don't use BP_SYM.
29104 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29105 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29106 and <bp-asm.h>.
29107 (__mpn_submul_1): Don't use BP_SYM.
29108 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29110 <bp-sym.h> and <bp-asm.h>.
29111 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29113 <bp-sym.h> and <bp-asm.h>.
29114 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29115 comment.
29116
29117 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29118
29119 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29120 Use ZK to minimize writes to Z.
29121 (sub_magnitudes): Simplify code a bit.
29122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29123 Use ZK to minimize writes to Z.
29124 (sub_magnitudes): Simplify code a bit.
29125
29126 2013-02-27 Roland McGrath <roland@hack.frob.com>
29127
29128 * csu/gmon-start.c: Add special exception to license text.
29129
29130 2013-02-27 Richard Henderson <rth@redhat.com>
29131
29132 * scripts/config.guess: Update from config.git.
29133 * scripts/config.sub: Likewise.
29134
29135 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29136
29137 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29138
29139 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29140
29141 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29142
29143 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29144
29145 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29146
29147 2013-02-26 Roland McGrath <roland@hack.frob.com>
29148
29149 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29150 [$(build-shared = yes].
29151
29152 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29153
29154 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29155 (__mul): Reduce iterations for calculating mantissa.
29156
29157 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29158 MPTWO.
29159 (__mpranred): Likewise.
29160
29161 [BZ #15160]
29162 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29163 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29164
29165 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29166
29167 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29168 Define __attribute__.
29169
29170 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29171
29172 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29173 unused.
29174 * posix/regex_internal.h (__attribute): Remove.
29175 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29176 (re_string_context_at): Likewise.
29177 (bitset_not): Use __attribute__ and mark function as possibly
29178 unused.
29179 (bitset_merge): Likewise.
29180 (bitset_mask): Likewise.
29181 (re_string_char_size_at): Likewise.
29182 (re_string_wchar_at): Likewise.
29183 (re_string_elem_size_at): Likewise.
29184
29185 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29186
29187 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29188 code.
29189 (cc32): Likewise.
29190
29191 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29192 (__acr): Likewise.
29193 (__cpy): Likewise.
29194 (norm): Likewise.
29195 (denorm): Likewise.
29196 (__dbl_mp): Likewise.
29197 (add_magnitudes): Likewise.
29198 (sub_magnitudes): Likewise.
29199 (__mul): Likewise.
29200 (__inv): Likewise.
29201
29202 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29203 style.
29204
29205 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29206 style.
29207
29208 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29209 code.
29210
29211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29212 up changes with default code.
29213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29214 Likewise.
29215
29216 2013-02-24 Allan McRae <allan@archlinux.org>
29217
29218 * manual/socket.texi (The Internet Namespace): Order menu items
29219 to match that in the file.
29220
29221 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29222 node listing of the info page menu.
29223
29224 2013-02-21 Joseph Myers <joseph@codesourcery.com>
29225
29226 [BZ #13550]
29227 * sysdeps/i386/bp-asm.h: Remove file.
29228 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29229 (PARMS): Do not use macros from bp-asm.h.
29230 (S1): Likewise.
29231 (S2): Likewise.
29232 (SIZE): Likewise.
29233 (__mpn_add_n): Do not use BP_SYM
29234 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29235 "bp-asm.h".
29236 (PARMS): Do not use macros from bp-asm.h.
29237 (S1): Likewise.
29238 (SIZE): Likewise.
29239 (__mpn_addmul_1): Do not use BP_SYM
29240 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29241 "bp-asm.h".
29242 (PARMS): Do not use macros from bp-asm.h.
29243 (SIGMSK): Likewise.
29244 (_setjmp): Likewise. Do not use BP_SYM.
29245 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29246 "bp-asm.h".
29247 (PARMS): Do not use macros from bp-asm.h.
29248 (SIGMSK): Likewise.
29249 (setjmp): Likewise. Do not use BP_SYM.
29250 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29251 "bp-asm.h".
29252 (PARMS): Do not use macros from bp-asm.h.
29253 (__frexp): Do not use BP_SYM.
29254 (frexp): Likewise.
29255 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29256 "bp-asm.h".
29257 (PARMS): Do not use macros from bp-asm.h.
29258 (__frexpf): Do not use BP_SYM.
29259 (frexpf): Likewise.
29260 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29261 "bp-asm.h".
29262 (PARMS): Do not use macros from bp-asm.h.
29263 (__frexpl): Do not use BP_SYM.
29264 (frexpl): Likewise.
29265 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29266 "bp-asm.h".
29267 (PARMS): Do not use macros from bp-asm.h.
29268 (__remquo): Do not use BP_SYM.
29269 (remquo): Likewise.
29270 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29271 "bp-asm.h".
29272 (PARMS): Do not use macros from bp-asm.h.
29273 (__remquof): Do not use BP_SYM.
29274 (remquof): Likewise.
29275 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29276 "bp-asm.h".
29277 (PARMS): Do not use macros from bp-asm.h.
29278 (__remquol): Do not use BP_SYM.
29279 (remquol): Likewise.
29280 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29281 "bp-asm.h".
29282 (PARMS): Do not use macros from bp-asm.h.
29283 (DEST): Likewise.
29284 (SRC): Likewise.
29285 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29286 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29287 "bp-asm.h".
29288 (PARMS): Do not use macros from bp-asm.h.
29289 (strlen): Do not use BP_SYM.
29290 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29291 "bp-asm.h".
29292 (PARMS): Do not use macros from bp-asm.h.
29293 (S1): Likewise.
29294 (S2): Likewise.
29295 (SIZE): Likewise.
29296 (__mpn_add_n): Do not use BP_SYM.
29297 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29298 "bp-asm.h".
29299 (PARMS): Do not use macros from bp-asm.h.
29300 (S1): Likewise.
29301 (SIZE): Likewise.
29302 (__mpn_addmul_1): Do not use BP_SYM.
29303 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29304 weak_alias.
29305 (bzero): Likewise.
29306 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29307 "bp-asm.h".
29308 (PARMS): Do not use macros from bp-asm.h.
29309 (S): Likewise.
29310 (SIZE): Likewise.
29311 (__mpn_lshift): Do not use BP_SYM.
29312 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29313 "bp-asm.h".
29314 (PARMS): Do not use macros from bp-asm.h.
29315 (DEST): Likewise.
29316 (SRC): Likewise.
29317 (LEN): Likewise.
29318 (memcpy): Likewise. Do not use BP_SYM.
29319 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29320 libc_hidden_def and weak_alias.
29321 (mempcpy): Do not use BP_SYM in weak_alias.
29322 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29323 "bp-asm.h".
29324 (PARMS): Do not use macros from bp-asm.h.
29325 (DEST): Likewise.
29326 (LEN): Likewise.
29327 [!BZERO_P] (CHR): Likewise.
29328 (memset): Likewise. Do not use BP_SYM.
29329 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29330 "bp-asm.h".
29331 (PARMS): Do not use macros from bp-asm.h.
29332 (S1): Likewise.
29333 (SIZE): Likewise.
29334 (__mpn_mul_1): Do not use BP_SYM.
29335 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29336 "bp-asm.h".
29337 (PARMS): Do not use macros from bp-asm.h.
29338 (S): Likewise.
29339 (SIZE): Likewise.
29340 (__mpn_rshift): Do not use BP_SYM.
29341 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29342 "bp-asm.h".
29343 (PARMS): Do not use macros from bp-asm.h.
29344 (STR): Likewise.
29345 (CHR): Likewise.
29346 (strchr): Likewise. Do not use BP_SYM.
29347 (index): Do not use BP_SYM in weak_alias.
29348 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29349 "bp-asm.h".
29350 (PARMS): Do not use macros from bp-asm.h.
29351 (DEST): Likewise.
29352 (SRC): Likewise.
29353 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29354 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29355 "bp-asm.h".
29356 (PARMS): Do not use macros from bp-asm.h.
29357 (strlen): Do not use BP_SYM.
29358 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29359 "bp-asm.h".
29360 (PARMS): Do not use macros from bp-asm.h.
29361 (S1): Likewise.
29362 (S2): Likewise.
29363 (SIZE): Likewise.
29364 (__mpn_sub_n): Do not use BP_SYM.
29365 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29366 "bp-asm.h".
29367 (PARMS): Do not use macros from bp-asm.h.
29368 (S1): Likewise.
29369 (SIZE): Likewise.
29370 (__mpn_submul_1): Do not use BP_SYM.
29371 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29372 "bp-asm.h".
29373 (PARMS): Do not use macros from bp-asm.h.
29374 (S1): Likewise.
29375 (S2): Likewise.
29376 (SIZE): Likewise.
29377 (__mpn_add_n): Do not use BP_SYM.
29378 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29379 weak_alias.
29380 (bzero): Likewise.
29381 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29382 "bp-asm.h".
29383 (PARMS): Do not use macros from bp-asm.h.
29384 (BLK2): Likewise.
29385 (LEN): Likewise.
29386 (memcmp): Do not use BP_SYM.
29387 (bcmp): Do not use BP_SYM in weak_alias.
29388 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29389 "bp-asm.h".
29390 (PARMS): Do not use macros from bp-asm.h.
29391 (DEST): Likewise.
29392 (SRC): Likewise.
29393 (LEN): Likewise.
29394 (memcpy): Likewise. Do not use BP_SYM.
29395 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29396 "bp-asm.h".
29397 (PARMS): Do not use macros from bp-asm.h.
29398 (DEST): Likewise.
29399 (SRC): Likewise.
29400 (LEN): Likewise.
29401 (memmove): Likewise. Do not use BP_SYM.
29402 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29403 "bp-asm.h".
29404 (PARMS): Do not use macros from bp-asm.h.
29405 (DEST): Likewise.
29406 (SRC): Likewise.
29407 (LEN): Likewise.
29408 (__mempcpy): Likewise. Do not use BP_SYM.
29409 (mempcpy): Do not use BP_SYM in weak_alias.
29410 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29411 "bp-asm.h".
29412 (PARMS): Do not use macros from bp-asm.h.
29413 (DEST): Likewise.
29414 (LEN): Likewise.
29415 [!BZERO_P] (CHR): Likewise.
29416 (memset): Likewise. Do not use BP_SYM.
29417 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29418 "bp-asm.h".
29419 (PARMS): Do not use macros from bp-asm.h.
29420 (STR2): Likewise.
29421 (strcmp): Do not use BP_SYM.
29422 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29423 "bp-asm.h".
29424 (PARMS): Do not use macros from bp-asm.h.
29425 (STR): Likewise.
29426 (DELIM): Likewise.
29427 [USE_AS_STRTOK_R] (SAVE): Likewise.
29428 (FUNCTION): Likewise. Do not use BP_SYM.
29429 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29430 aliases.
29431 (strtok_r): Likewise.
29432 (__GI___strtok_r): Likewise.
29433 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29434 (PARMS): Do not use macros from bp-asm.h.
29435 (S): Likewise.
29436 (SIZE): Likewise.
29437 (__mpn_lshift): Do not use BP_SYM.
29438 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29439 (PARMS): Do not use macros from bp-asm.h.
29440 (STR): Likewise.
29441 (CHR): Likewise.
29442 (__memchr): Do not use BP_SYM.
29443 (memchr): Do not use BP_SYM in weak_alias.
29444 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29445 (PARMS): Do not use macros from bp-asm.h.
29446 (BLK2): Likewise.
29447 (LEN): Likewise.
29448 (memcmp): Do not use BP_SYM.
29449 (bcmp): Do not use BP_SYM in weak_alias.
29450 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29451 (PARMS): Do not use macros from bp-asm.h.
29452 (S1): Likewise.
29453 (SIZE): Likewise.
29454 (__mpn_mul_1): Do not use BP_SYM.
29455 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29456 "bp-asm.h".
29457 (PARMS): Do not use macros from bp-asm.h.
29458 (STR): Likewise.
29459 (CHR): Likewise.
29460 (__rawmemchr): Do not use BP_SYM.
29461 (rawmemchr): Do not use BP_SYM in weak_alias.
29462 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29463 (PARMS): Do not use macros from bp-asm.h.
29464 (S): Likewise.
29465 (SIZE): Likewise.
29466 (__mpn_rshift): Do not use BP_SYM.
29467 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29468 (PARMS): Do not use macros from bp-asm.h.
29469 (SIGMSK): Likewise.
29470 (__sigsetjmp): Likewise. Do not use BP_SYM.
29471 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29472 (_start): Do not use BP_SYM.
29473 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29474 (PARMS): Do not use macros from bp-asm.h.
29475 (DEST): Likewise.
29476 (SRC): Likewise.
29477 (__stpcpy): Likewise. Do not use BP_SYM.
29478 (stpcpy): Do not use BP_SYM in weak_alias.
29479 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29480 "bp-asm.h".
29481 (PARMS): Do not use macros from bp-asm.h.
29482 (DEST): Likewise.
29483 (SRC): Likewise.
29484 (LEN): Likewise.
29485 (__stpncpy): Likewise. Do not use BP_SYM.
29486 (stpncpy): Do not use BP_SYM in weak_alias.
29487 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29488 (PARMS): Do not use macros from bp-asm.h.
29489 (STR): Likewise.
29490 (CHR): Likewise.
29491 (strchr): Likewise. Do not use BP_SYM.
29492 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29493 "bp-asm.h".
29494 (PARMS): Do not use macros from bp-asm.h.
29495 (STR): Likewise.
29496 (CHR): Likewise.
29497 (__strchrnul): Likewise. Do not use BP_SYM.
29498 (strchrnul): Do not use BP_SYM in weak_alias.
29499 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29500 "bp-asm.h".
29501 (PARMS): Do not use macros from bp-asm.h.
29502 (STOP): Likewise.
29503 (strcspn): Do not use BP_SYM.
29504 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29505 "bp-asm.h".
29506 (PARMS): Do not use macros from bp-asm.h.
29507 (STR): Likewise.
29508 (STOP): Likewise.
29509 (strpbrk): Likewise. Do not use BP_SYM.
29510 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29511 "bp-asm.h".
29512 (PARMS): Do not use macros from bp-asm.h.
29513 (STR): Likewise.
29514 (CHR): Likewise.
29515 (strrchr): Likewise. Do not use BP_SYM.
29516 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29517 (PARMS): Do not use macros from bp-asm.h.
29518 (SKIP): Likewise.
29519 (strspn): Do not use BP_SYM.
29520 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29521 (PARMS): Do not use macros from bp-asm.h.
29522 (STR): Likewise.
29523 (DELIM): Likewise.
29524 (SAVE): Likewise.
29525 (FUNCTION): Likewise. Do not use BP_SYM.
29526 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29527 aliases.
29528 (strtok_r): Likewise.
29529 (__GI___strtok_r): Likewise.
29530 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29531 (PARMS): Do not use macros from bp-asm.h.
29532 (S1): Likewise.
29533 (S2): Likewise.
29534 (SIZE): Likewise.
29535 (__mpn_sub_n): Do not use BP_SYM.
29536 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29537 "bp-asm.h".
29538 (PARMS): Do not use macros from bp-asm.h.
29539 (S1): Likewise.
29540 (SIZE): Likewise.
29541 (__mpn_submul_1): Do not use BP_SYM.
29542 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29543 <bp-sym.h>.
29544 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29545 and <bp-asm.h>.
29546 (PARMS): Do not use macros from bp-asm.h.
29547 (FLAGS): Likewise.
29548 (PTID): Likewise.
29549 (TLS): Likewise.
29550 (CTID): Likewise.
29551 (__clone): Do not use BP_SYM.
29552 (clone): Do not use BP_SYM in weak_alias.
29553 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29554 and <bp-asm.h>.
29555 (PARMS): Do not use macros from bp-asm.h.
29556 (LEN): Likewise.
29557 (__mmap64): Do not use BP_SYM.
29558 (mmap64): Do not use BP_SYM in weak_alias.
29559 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29560 <bp-sym.h> and <bp-asm.h>.
29561 (PARMS): Do not use macros from bp-asm.h.
29562 (__posix_fadvise64_l64): Do not use BP_SYM.
29563 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29564 (PARMS): Do not use macros from bp-asm.h.
29565 (NSOPS): Likewise.
29566 (semtimedop): Do not use BP_SYM.
29567 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29568 and <bp-asm.h>.
29569
29570 2013-02-21 Allan McRae <allan@archlinux.org>
29571
29572 * manual/message.texi (Charset conversion in gettext):
29573 Move @end statement to beginning of line.
29574
29575 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29576
29577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29578 static.
29579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29580 Likewise.
29581
29582 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29583 (denorm): Likewise.
29584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29585 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29586
29587 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29588
29589 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29590 tail-call to the resolved function if pltexit isn't needed.
29591
29592 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29593
29594 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29595 or Y being zero as being unlikely.
29596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29597 Likewise.
29598
29599 2013-02-20 Carlos O'Donell <carlos@redhat.com>
29600
29601 * manual/nss.texi (System Databases and Name Service Switch):
29602 Remove frobnicate @pxref.
29603
29604 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29605
29606 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29607 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29608
29609 2013-02-20 Petr Machata <pmachata@redhat.com>
29610
29611 * elf/elf.h (R_ARM_TARGET1): New macro.
29612 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29613 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29614 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29615 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29616 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29617 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29618 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29619 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29620 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29621 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29622 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29623 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29624 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29625 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29626 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29627 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29628 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29629 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29630 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29631 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29632 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29633 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29634 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29635 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29636 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29637 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29638 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29639 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29640 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29641 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29642 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29643 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29644 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29645 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29646 (R_ARM_THM_GOT_BREL12): Likewise.
29647 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29648 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29649 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29650 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29651 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29652 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29653 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29654 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29655 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29656
29657 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29658
29659 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29660 __attribute_used__ to __attribute__ ((unused)).
29661
29662 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29663
29664 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29665 powerpc mpa.c.
29666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29667 comment formatting.
29668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29669
29670 2013-02-19 Joseph Myers <joseph@codesourcery.com>
29671
29672 [BZ #13550]
29673 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29674 Remove macro.
29675 (ENTER): Remove both macro definitions.
29676 (LEAVE): Likewise.
29677 (CHECK_BOUNDS_LOW): Likewise.
29678 (CHECK_BOUNDS_HIGH): Likewise.
29679 (CHECK_BOUNDS_BOTH): Likewise.
29680 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29681 (RETURN_BOUNDED_POINTER): Likewise.
29682 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29683 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29684 (POP_ERRNO_LOCATION_RETURN): Likewise.
29685 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29686 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29687 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29688 macros.
29689 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29690 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29691 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29692 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29693 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29694 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29695 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29696 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29697 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29698 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29699 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29700 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29701 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29702 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29703 removed macros.
29704 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29705 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29706 macros.
29707 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29708 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29709 * sysdeps/i386/i586/memset.S (memset): Likewise.
29710 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29711 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29712 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29713 macros.
29714 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29715 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29716 Change uses of L(2) to L(out).
29717 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29718 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29719 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29720 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29721 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29722 removed macros.
29723 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29724 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29725 macros.
29726 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29727 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29728 (RETURN): Do not use macro LEAVE.
29729 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29730 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29731 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29732 * sysdeps/i386/i686/memset.S (memset): Likewise.
29733 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29734 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29735 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29736 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29737 Likewise.
29738 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29739 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29740 L(1_2) and L(1_3) into L(1).
29741 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29742 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29743 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29744 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29745 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29746 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29747 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29748 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29749 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29750 macros.
29751 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29752 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29753 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29754 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29755 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29756 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29757 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29758 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29759 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29760 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29761 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29762 * sysdeps/i386/strspn.S (strspn): Likewise.
29763 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29764 conditional code.
29765 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29766 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29767 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29768 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29769 L(1_3) into L(1_1).
29770 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29771 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29772 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29773 macros.
29774 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29775
29776 2013-02-19 Jakub Jelinek <jakub@redhat.com>
29777
29778 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29779 macro.
29780
29781 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29782
29783 * math/atest-exp.c (exp_mpn): Remove ROUND.
29784 * math/atest-exp2.c (exp_mpn): Likewise.
29785 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29786
29787 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29788 * stdlib/tst-tls-atexit-lib.c: Likewise.
29789 * stdlib/tst-tls-atexit.c: Likewise.
29790
29791 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29792
29793 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29794 and __attribute_alloc_size__.
29795
29796 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29797
29798 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29799 __attribute_alloc_size__.
29800 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29801 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29802
29803 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29804
29805 * include/programs/xmalloc.h: New file.
29806 * catgets/gencat.c: Include it.
29807 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29808 * elf/pldd.c: Likewise.
29809 * iconv/iconv_charmap.c: Likewise.
29810 * iconv/iconvconfig.c: Likewise.
29811 * iconv/strtab.c: Likewise.
29812 * locale/programs/locale.c: Likewise.
29813 * locale/programs/localedef.h: Likewise.
29814 * locale/programs/simple-hash.c: Likewise.
29815 * nscd/nscd.h: Likewise.
29816 * nss/makedb.c: Likewise.
29817 * sysdeps/generic/ldconfig.h: Likewise.
29818
29819 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29820
29821 * Versions.def: Add GLIBC_2.18.
29822 * include/link.h (struct link_map): New member l_tls_dtor_count.
29823 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29824 (__call_tls_dtors): Likewise.
29825 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29826 __cxa_thread_atexit_impl.
29827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29828 Likewise.
29829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29830 Likewise.
29831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29832 Likewise.
29833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29834 Likewise.
29835 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29837 Likewise.
29838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29839 Likewise.
29840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29842 Likewise.
29843 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29844 (tests): Add test case tst-tls-atexit.
29845 (modules-names): Add shared library for tst-tls-atexit.
29846 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29847 (GLIBC_PRIVATE): Add __call_tls_dtors.
29848 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29849 for libstdc++.
29850 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29851 * stdlib/tst-tls-atexit.c: New test case.
29852 * stdlib/tst-tls-atexit-lib.c: New test case.
29853
29854 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29855
29856 * elf/Versions (ld): Add _dl_find_dso_for_object.
29857 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29858 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29859 (dl_open_worker): Use _dl_find_dso_for_object.
29860 * elf/dl-sym.c (do_sym): Likewise.
29861 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29862
29863 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29864
29865 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29866 Syntactic changes only.
29867 (_dl_runtime_profile): Do a tail-call to the resolved function.
29868
29869 2013-02-17 Joseph Myers <joseph@codesourcery.com>
29870
29871 [BZ #13550]
29872 * sysdeps/x86_64/bp-asm.h: Remove file.
29873 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29874 <bp-sym.h> and <bp-asm.h>.
29875 (__clone): Do not use BP_SYM.
29876 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29877 <bp-sym.h> and <bp-asm.h>.
29878 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29879 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29880 "bp-asm.h".
29881 (_setjmp): Do not use BP_SYM.
29882 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29883 "bp-asm.h".
29884 (setjmp): Do not use BP_SYM.
29885 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29886 libc_hidden_def.
29887 (mempcpy): Do not use BP_SYM in weak_alias.
29888 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29889 "bp-asm.h".
29890 (strchr): Do not use BP_SYM.
29891 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29892 "bp-asm.h".
29893 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29894 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29895 (_start): Do not use BP_SYM.
29896 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29897 "bp-asm.h".
29898 (strcat): Do not use BP_SYM.
29899 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29900 "bp-asm.h".
29901 (STRCMP): Do not use BP_SYM.
29902 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29903 "bp-asm.h".
29904 (STRCPY): Do not use BP_SYM.
29905 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29906 "bp-asm.h".
29907 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29908 "bp-asm.h".
29909 (FUNCTION): Do not use BP_SYM.
29910 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29911 weak_alias.
29912 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29913
29914 2013-02-17 Andreas Jaeger <aj@suse.de>
29915
29916 * time/Versions: Sort entries.
29917 * string/Versions: Likewise.
29918 * resolv/Versions: Likewise.
29919 * posix/Versions: Likewise.
29920 * iconv/Versions: Likewise.
29921 * elf/Versions: Likewise.
29922 * wcsmbs/Versions: Likewise.
29923
29924 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29925
29926 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29927 loop termination condition.
29928
29929 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29930 variable to calculate EZ.
29931 (__sqr): Likewise.
29932
29933 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29934 the lower precision input.
29935
29936 2013-02-15 Joseph Myers <joseph@codesourcery.com>
29937
29938 [BZ #13550]
29939 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29940 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29941 (run-via-rtld-prefix): Do not handle %-bp tests.
29942 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29943 (all-object-suffixes): Remove .ob.
29944 (bppfx): Remove variable.
29945 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29946 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29947 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29948 [$(build-bounded) = yes] (libtype.ob): Likewise.
29949 * Makerules (elide-routines.ob): Remove variable.
29950 (do-tests-clean): Do not handle *-bp.out.
29951 (common-mostlyclean): Do not handle *-bp and *-bp.out.
29952 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29953 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29954 (tests): Do not include $(tests-bp.out).
29955 (xtests): Do not include $(xtests-bp.out).
29956 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29957 [$(build-bounded) = yes] ($(addprefix
29958 $(objpfx),$(binaries-bounded))): Remove rule.
29959 ($(objpfx)%-bp.out): Remove rule.
29960 * config.make.in (build-bounded): Remove variable.
29961 * crypt/Makefile [$(build-bounded) = yes]
29962 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29963 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29964 append to variable.
29965 [$(build-bounded) = yes] (install-lib): Likewise.
29966 [$(build-bounded) = yes] (generated): Likewise.
29967 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29968 Remove rule.
29969 * intl/Makefile [$(build-bounded) = yes]
29970 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29971 * math/Makefile [$(build-bounded) = yes]
29972 ($(tests:%=$(objpfx)%-bp): Likewise.
29973 * misc/Makefile [$(build-bounded) = yes]
29974 ($(objpfx)tst-tsearch-bp): Likewise.
29975 * nptl/Makeconfig (bounded-thread-library): Remove variable.
29976 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29977 Remove dependency.
29978 * string/Makefile (o-objects.ob): Remove variable.
29979 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29980 (CFLAGS-.ob): Remove variable.
29981 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29982 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29983 both definitions of variable.
29984 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29985 (ASFLAGS-.ob): Remove variable.
29986
29987 2013-02-14 Joseph Myers <joseph@codesourcery.com>
29988
29989 [BZ #13550]
29990 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29991 Remove __BOUNDED_POINTERS__ from condition.
29992 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29993 * string/bits/string2.h [!__NO_STRING_INLINES &&
29994 !__BOUNDED_POINTERS__]: Likewise.
29995 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29996 Likewise.
29997 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29998 Remove conditional code.
29999 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30000 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30001 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30002 condition.
30003
30004 [BZ #13550]
30005 * csu/libc-start.c: Do not include <bp-sym.h>.
30006 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30007 * elf/dl-open.c: Do not include <bp-sym.h>.
30008 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30009 * math/fegetenv.c: Do not include <bp-sym.h>.
30010 (fegetenv): Do not use BP_SYM in versioned symbols.
30011 * nptl/sysdeps/pthread/bits/libc-lockP.h
30012 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30013 <bp-sym.h>.
30014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30015 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30017 (__pthread_mutex_destroy): Likewise.
30018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30019 (__pthread_mutex_lock): Likewise.
30020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30021 (__pthread_mutex_trylock): Likewise.
30022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30023 (__pthread_mutex_unlock): Likewise.
30024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30025 (__pthread_mutexattr_init): Likewise.
30026 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30027 (__pthread_mutexattr_destroy): Likewise.
30028 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30029 (__pthread_mutexattr_settype): Likewise.
30030 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30031 (__pthread_rwlock_init): Likewise.
30032 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30033 (__pthread_rwlock_destroy): Likewise.
30034 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30035 (__pthread_rwlock_rdlock): Likewise.
30036 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30037 (__pthread_rwlock_tryrdlock): Likewise.
30038 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30039 (__pthread_rwlock_wrlock): Likewise.
30040 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30041 (__pthread_rwlock_trywrlock): Likewise.
30042 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30043 (__pthread_rwlock_unlock): Likewise.
30044 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30045 (__pthread_key_create): Likewise.
30046 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30047 (__pthread_setspecific): Likewise.
30048 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30049 (__pthread_getspecific): Likewise.
30050 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30051 Likewise.
30052 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30053 (_pthread_cleanup_push_defer): Likewise.
30054 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30055 (_pthread_cleanup_pop_restore): Likewise.
30056 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30057 (pthread_setcancelstate): Likewise.
30058 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30059 <bp-sym.h>.
30060 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30061 (memchr): Do not use BP_SYM in weak_alias.
30062 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30063 (fegetenv): Do not use BP_SYM in versioned symbols.
30064 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30065 (fesetenv): Do not use BP_SYM in versioned symbols.
30066 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30067 (feupdateenv): Do not use BP_SYM in versioned symbols.
30068 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30069 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30070 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30071 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30072 (open64): Do not use BP_SYM in weak_alias.
30073 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30074 (fegetenv): Do not use BP_SYM in versioned symbols.
30075 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30076 (fesetenv): Do not use BP_SYM in versioned symbols.
30077 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30078 (feupdateenv): Do not use BP_SYM in versioned symbols.
30079 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30080 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30081 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30082 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30083 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30084 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30085 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30086 <bp-sym.h>.
30087 (__libc_start_main): Do not use BP_SYM.
30088
30089 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30090
30091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30092 redundant return line.
30093 (norm): Likewise.
30094 (denorm): Likewise.
30095 (dbl_mp): Likewise.
30096 (sub_magnitudes): Likewise.
30097 (__add): Likewise.
30098 (__sub): Likewise.
30099 (__mul): Likewise.
30100 (__inv): Likewise.
30101 (__dvd): Likewise.
30102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30103 (norm): Likewise.
30104 (denorm): Likewise.
30105 (dbl_mp): Likewise.
30106 (sub_magnitudes): Likewise.
30107 (__add): Likewise.
30108 (__sub): Likewise.
30109 (__mul): Likewise.
30110 (__inv): Likewise.
30111 (__dvd): Likewise.
30112
30113 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30114 instead of __mul.
30115 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30116 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30117 (cc32): Likewise.
30118
30119 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30120 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30121 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30122 of __mul for squares.
30123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30124 function
30125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30126 Likewise.
30127 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30128 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30129
30130 2013-02-13 Joseph Myers <joseph@codesourcery.com>
30131
30132 [BZ #13550]
30133 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30134 code.
30135 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30136 prototype or function definition. Rename ubp_* variables and
30137 parameters. Remove argv definitions conditional on
30138 [__BOUNDED_POINTERS__].
30139 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30140 * elf/dl-runtime.c (_dl_fixup): Likewise.
30141 * include/set-hooks.h (RUN_HOOK): Likewise.
30142 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30143 definition.
30144 * string/strcpy.c (strcpy): Do not use __unbounded.
30145 * sysdeps/generic/frame.h (struct layout): Likewise.
30146 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30147 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30148 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30149 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30150 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30151 (__backtrace): Likewise.
30152 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30153 use __ptrvalue.
30154 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30155 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30156 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30157 Likewise.
30158 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30159 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30160 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30161 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30162 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30163 Do not use __unbounded.
30164 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30165 Rename __unboundedrlimits parameter to rlimits in prototype.
30166 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30167 Do not use __unbounded.
30168 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30169 not use __ptrvalue.
30170 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30171 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30172 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30173 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30174 __ptrvalue or __unbounded.
30175 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30176 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30177 use __unbounded.
30178 (__new_msgctl): Do not use __ptrvalue.
30179 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30180 __unbounded.
30181 (__libc_msgrcv): Do not use __ptrvalue.
30182 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30183 startup_info): Do not use __unbounded.
30184 (__libc_start_main): Likewise. Rename ubp_* variables and
30185 parameters. Remove argv definitions conditional on
30186 [__BOUNDED_POINTERS__].
30187 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30188 __ptrvalue.
30189 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30190 use __unbounded.
30191 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30192 or __ptrvalue.
30193 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30194 use __unbounded.
30195 (__new_shmctl): Do not use __ptrvalue.
30196 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30197 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30198 Likewise.
30199 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30200 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30201 (__libc_sigaction): Likewise.
30202 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30203 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30204 Likewise.
30205 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30206
30207 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
30208
30209 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30210
30211 * string/mempcpy.c: Implement by calling memcpy.
30212
30213 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30214
30215 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30216
30217 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30218 evaluation.
30219
30220 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30221 values in the mantissa.
30222
30223 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30224 minimize writes to Z.
30225 (sub_magnitudes): Simplify code a bit.
30226
30227 2013-02-12 Roland McGrath <roland@hack.frob.com>
30228
30229 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30230 from the message. The linker prefixes all warnings with that already.
30231
30232 2013-02-12 Andreas Schwab <schwab@suse.de>
30233
30234 [BZ #15078]
30235 * posix/regexec.c (extend_buffers): Add parameter min_len.
30236 (check_matching): Pass minimum needed length.
30237 (clean_state_log_if_needed): Likewise.
30238 (get_subexp): Likewise.
30239 * posix/Makefile (tests): Add bug-regex34.
30240 (bug-regex34-ENV): Define.
30241 * posix/bug-regex34.c: New file.
30242
30243 [BZ #11561]
30244 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30245 elements compare against the byte sequence of it, not its name.
30246 * posix/Makefile (tests): Add bug-regex35.
30247 (bug-regex35-ENV): Define.
30248 * posix/bug-regex35.c: New file.
30249
30250 2013-02-11 Tom de Vries <tom@codesourcery.com>
30251
30252 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30253 comment.
30254 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30255 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30256 (CHECK_EOL): Add undef.
30257
30258 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
30259
30260 * bits/stdlib-bsearch.h: New file.
30261 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30262 * stdlib/stdlib.h: Likewise.
30263
30264 2013-02-11 Roland McGrath <roland@hack.frob.com>
30265
30266 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30267 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30268 declaration.
30269 * manual/search.texi (Array Search Function): Add missing const in
30270 lfind prototype.
30271 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30272 declaration to use rlim_t.
30273 (Basic Scheduling Functions): Remove erroneous const from
30274 sched_getparam prototype. Remove erroneous * from
30275 sched_get_priority_max and sched_get_priority_min prototypes.
30276 (Resource Usage): Fix summary @comment on vtimes to refer to
30277 sys/vtimes.h rather than vtimes.h.
30278 Add missing *s in vtimes prototype.
30279 (Limits on Resources): Fix ulimit prototype to return long int.
30280 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30281 prototypes to use long int rather than double.
30282 (BSD Random): Fix initstate and setstate to use char *, not void *.
30283 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30284 prototype to make second argument 'struct aiocb64 *const[]'.
30285 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30286 (Status of AIO Operations): Remove erroneous const in aio_return and
30287 aio_return64 prototypes.
30288 (Synchronizing I/O): Fix sync prototype to return void.
30289 * manual/startup.texi (Suboptions): Remove an erroneous const in
30290 getsubopt prototype.
30291 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30292 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30293 use size_t rather than int.
30294 (Scanning All Users): Likewise for getpwent_r.
30295 (Setting Groups): Add missing const to setgroups prototype.
30296 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30297 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30298 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30299 'const void *' rather than 'const char *'.
30300 (Host Address Functions): Likewise for inet_ntop.
30301 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30302 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30303 ssize_t for return value.
30304 (Sending Data): Likewise for send, sendto, sendmsg.
30305 (Socket Option Functions): Add a missing const in setsockopt prototype.
30306 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30307 use wchar_t for the argument.
30308 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30309 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30310 take no arguments.
30311 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30312 double/float/long double for second argument.
30313 Fix return types of significand, significandf, significandl.
30314 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30315 argument in fchmod prototype.
30316 (File Owner): Use uid_t and gid_t in fchown prototype.
30317 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30318 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30319 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30320 use 'const struct dirent **' as argument types to CMP function pointer
30321 argument.
30322 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30323 (File Times): Fix summary magic @comment for struct utimbuf and utime
30324 to refer to utime.h, not time.h.
30325 * manual/string.texi (Argz Functions): Add missing const in
30326 argz_extract and argz_next prototypes.
30327 (Finding Tokens in a String): Likewise for basename.
30328 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30329 (Copying and Concatenation): Fix typo in wmemmove prototype.
30330 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30331 (Signal Stack): Remove erroneous const in sigstack prototype.
30332 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30333 prototype.
30334 (Simple Calendar Time): Likewise for stime.
30335 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30336 prototype.
30337 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30338 say sys/sysctl.h instead.
30339 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30340 and vsyslog prototypes.
30341
30342 2013-02-11 Tom de Vries <tom@codesourcery.com>
30343
30344 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30345 Remove.
30346
30347 2013-02-11 Roland McGrath <roland@hack.frob.com>
30348
30349 * misc/sys/mman.h: Fix typo in mremap comment.
30350
30351 2013-02-08 Roland McGrath <roland@hack.frob.com>
30352
30353 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30354 the '\0' terminator.
30355
30356 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30357
30358 [BZ #13550]
30359 * debug/segfault.c: Don't include <bp-checks.h>.
30360 * sysdeps/generic/bp-checks.h: Remove file.
30361 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30362 (__GETDENTS): Don't use CHECK_N.
30363 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30364 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30365 (__getgroups): Don't use CHECK_N.
30366 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30367 (setgroups): Don't use CHECK_N.
30368 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30369 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30370 (__libc_msgrcv): Don't use CHECK_N.
30371 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30372 (__libc_msgsnd): Don't use CHECK_N.
30373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30374 <bp-checks.h>.
30375 (__libc_pread): Don't use CHECK_N.
30376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30377 include <bp-checks.h>.
30378 (__libc_pread64): Don't use CHECK_N.
30379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30380 include <bp-checks.h>.
30381 (__libc_pwrite): Don't use CHECK_N.
30382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30383 include <bp-checks.h>.
30384 (__libc_pwrite64): Don't use CHECK_N.
30385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30386 <bp-checks.h>.
30387 (__libc_pread): Don't use CHECK_N.
30388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30389 include <bp-checks.h>.
30390 (__libc_pread64): Don't use CHECK_N.
30391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30392 include <bp-checks.h>.
30393 (__libc_pwrite): Don't use CHECK_N.
30394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30395 include <bp-checks.h>.
30396 (__libc_pwrite64): Don't use CHECK_N.
30397 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30398 (do_pread): Don't use CHECK_N.
30399 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30400 (do_pread64): Don't use CHECK_N.
30401 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30402 (do_pwrite): Don't use CHECK_N.
30403 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30404 (do_pwrite64): Don't use CHECK_N.
30405 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30406 (__libc_readv): Don't use CHECK_N.
30407 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30408 (semop): Don't use CHECK_N.
30409 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30410 <bp-checks.h>.
30411 (semtimedop): Don't use CHECK_N.
30412 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30413 (__libc_pread): Don't use CHECK_N.
30414 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30415 <bp-checks.h>.
30416 (__libc_pread64): Don't use CHECK_N.
30417 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30418 <bp-checks.h>.
30419 (__libc_pwrite): Don't use CHECK_N.
30420 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30421 <bp-checks.h>.
30422 (__libc_pwrite64): Don't use CHECK_N.
30423 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30424 <bp-checks.h>.
30425 (__libc_msgrcv): Don't use CHECK_N.
30426 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30427 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30428 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30429 (__libc_writev): Don't use CHECK_N.
30430
30431 2013-02-08 Roland McGrath <roland@hack.frob.com>
30432
30433 * string/strcpy.c: Removed unused variable.
30434
30435 * Makeconfig (+sysdep-includes): Define with := rather than =.
30436 Use an existing include/ subdir of each sysdeps dir before it.
30437
30438 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30439
30440 * nscd/connection.c (register_traced_file): Comment function.
30441 [HAVE_INOTIFY] (union __inev): Define.
30442 [HAVE_INOTIFY] (inotify_check_files): New function.
30443 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30444 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30445 clear_db_cache.
30446 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30447
30448 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30449
30450 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30451 loaded if not already and that a failure is permanent.
30452
30453 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30454
30455 [BZ #15006]
30456 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30457 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30458
30459 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30460
30461 [BZ #13550]
30462 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30463 (CHECK_1_NULL_OK): Likewise.
30464 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30465 (__fxstat): Do not use CHECK_1.
30466 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30467 <bp-checks.h>.
30468 (___fxstat64): Do not use CHECK_1.
30469 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30470 <bp-checks.h>.
30471 (__fxstatat): Do not use CHECK_1.
30472 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30473 <bp-checks.h>.
30474 (__fxstatat64): Do not use CHECK_1.
30475 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30476 <bp-checks.h>.
30477 (__fxstat): Do not use CHECK_1.
30478 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30479 <bp-checks.h>.
30480 (__fxstatat): Do not use CHECK_1.
30481 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30482 <bp-checks.h>.
30483 (__getresgid): Do not use CHECK_1.
30484 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30485 <bp-checks.h>.
30486 (__getresuid): Do not use CHECK_1.
30487 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30488 <bp-checks.h>.
30489 (__lxstat): Do not use CHECK_1.
30490 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30491 <bp-checks.h>.
30492 (__old_msgctl): Do not use CHECK_1.
30493 (__new_msgctl): Likewise.
30494 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30495 <bp-checks.h>.
30496 (__new_setrlimit): Do not use CHECK_1.
30497 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30498 <bp-checks.h>.
30499 (__old_shmctl): Do not use CHECK_1.
30500 (__new_shmctl): Likewise.
30501 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30502 <bp-checks.h>.
30503 (__xstat): Do not use CHECK_1.
30504 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30505 (__lxstat): Do not use CHECK_1.
30506 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30507 <bp-checks.h>.
30508 (___lxstat64): Do not use CHECK_1.
30509 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30510 (__old_msgctl): Do not use CHECK_1.
30511 (__new_msgctl): Likewise.
30512 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30513 <bp-checks.h>.
30514 (__gettimeofday): Do not use CHECK_1.
30515 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30516 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30517 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30518 <bp-checks.h>.
30519 (__gettimeofday): Do not use CHECK_1.
30520 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30521 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30522 (__new_shmctl): Do not use CHECK_1.
30523 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30524 <bp-checks.h>.
30525 (do_sigtimedwait): Do not use CHECK_1.
30526 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30527 <bp-checks.h>.
30528 (do_sigwaitinfo): Do not use CHECK_1.
30529 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30530 <bp-checks.h>.
30531 (msgctl): Do not use CHECK_1.
30532 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30533 <bp-checks.h>.
30534 (shmctl): Do not use CHECK_1.
30535 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30536 (ustat): Do not use CHECK_1.
30537 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30538 <bp-checks.h>.
30539 (__fxstat): Do not use CHECK_1.
30540 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30541 <bp-checks.h>.
30542 (__fxstatat): Do not use CHECK_1.
30543 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30544 <bp-checks.h>.
30545 (__lxstat): Do not use CHECK_1.
30546 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30547 <bp-checks.h>.
30548 (__xstat): Do not use CHECK_1.
30549 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30550 (__xstat): Do not use CHECK_1.
30551 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30552 (___xstat64): Do not use CHECK_1.
30553
30554 [BZ #13550]
30555 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30556 definitions.
30557 (CHECK_BOUNDS_HIGH): Likewise.
30558 * string/strcpy.c: Do not include <bp-checks.h>.
30559 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30560
30561 2013-02-07 Roland McGrath <roland@hack.frob.com>
30562
30563 * nscd/nscd-client.h (__nscd_drop_map_ref):
30564 Add __attribute__ ((unused)).
30565 * nis/nss-nisplus.h (niserr2nss): Likewise.
30566
30567 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30568 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30569
30570 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30571 Remove inline keyword.
30572 * include/rounding-mode.h (round_away): Likewise.
30573 * libio/wfileops.c (adjust_wide_data): Likewise.
30574 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30575 (__m128i_strloadu_tolower): Likewise.
30576 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30577 (__m128i_strloadu_tolower): Likewise.
30578 * time/mktime.c (ydhms_diff): Likewise.
30579 * locale/elem-hash.h (elem_hash): Likewise.
30580 * locale/setlocale.c (setdata): Likewise.
30581 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30582 (re_string_wchar_at): Likewise.
30583 (bitset_not, bitset_merge, bitset_mask): Likewise.
30584 [!(__GNUC__ > 3)] (inline): Remove macro.
30585 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30586 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30587 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30588 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30589 * string/memcmp.c (memcmp_bytes): Likewise.
30590 * locale/programs/locarchive.c (compute_hashval): Likewise.
30591 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30592 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30593 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30594 * nss/getent.c (print_rpc, print_protocols): Likewise.
30595 (print_passwd, print_group, print_aliases): Likewise.
30596 * nis/nss-nisplus.h (niserr2nss): Likewise.
30597 * nscd/connections.c (restart_p): Likewise.
30598 Change return type to bool.
30599
30600 2013-02-05 Roland McGrath <roland@hack.frob.com>
30601
30602 * Makeconfig (all-Depend-files): Add existing
30603 $(sorted-subdirs:=/Depend) files.
30604 (all-subdirs): Remove nss.
30605 * sysdeps/unix/inet/Subdirs: Add it here instead.
30606 * hesiod/Depend: New file.
30607
30608 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30609 instead of calling alloca.
30610
30611 * io/lseek.c (__lseek): Rename to __libc_lseek.
30612 Define __lseek as an alias.
30613
30614 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30615
30616 2013-02-04 Carlos O'Donell <carlos@redhat.com>
30617
30618 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30619 else clause and remove check for non-standard endianness.
30620
30621 2013-02-04 David S. Miller <davem@davemloft.net>
30622
30623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30624
30625 2013-02-04 Joseph Myers <joseph@codesourcery.com>
30626
30627 [BZ #13550]
30628 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30629 (__ubp_memchr): Remove prototype.
30630 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30631 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30632 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30633 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30634 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30635 Remove alias.
30636 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30637 (__ubp_memchr): Likewise.
30638 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30639 (__ubp_memchr): Likewise.
30640 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30641 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30642 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30643 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30644 CHECK_STRING.
30645 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30646 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30647 (__getcwd): Do not use CHECK_STRING.
30648 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30649 <bp-checks.h>.
30650 (__real_chown): Do not use CHECK_STRING.
30651 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30652 <bp-checks.h>.
30653 (fchownat): Do not use CHECK_STRING.
30654 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30655 CHECK_STRING.
30656 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30657 <bp-checks.h>.
30658 (__lchown): Do not use CHECK_STRING.
30659 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30660 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30661 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30662 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30664 include <bp-checks.h>.
30665 (truncate64): Do not use CHECK_STRING.
30666 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30667 <bp-checks.h>.
30668 (__real_chown): Do not use CHECK_STRING.
30669 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30670 <bp-checks.h>.
30671 (__lchown): Do not use CHECK_STRING.
30672 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30673 <bp-checks.h>.
30674 (__chown): Do not use CHECK_STRING.
30675 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30676 <bp-checks.h>.
30677 (truncate64): Do not use CHECK_STRING.
30678 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30679 Likewise.
30680 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30681 (__xmknod): Do not use CHECK_STRING.
30682 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30683 <bp-checks.h>.
30684 (__xmknodat): Do not use CHECK_STRING.
30685 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30686 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30687
30688 2013-02-04 Andreas Schwab <schwab@suse.de>
30689
30690 [BZ #14142]
30691 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30692 * include/netdb.h: Likewise for h_errno.
30693 * elf/tst-stackguard1.c: Include <tls.h>.
30694
30695 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30696
30697 * elf/link.h (struct link_map): Extend the l_addr comment.
30698 * include/link.h (struct link_map): Likewise.
30699
30700 2013-02-01 Joseph Myers <joseph@codesourcery.com>
30701
30702 [BZ #13550]
30703 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30704 (BOUNDED_1): Remove macro.
30705 * debug/backtrace.c: Don't include <bp-checks.h>.
30706 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30707 (__backtrace): Likewise.
30708 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30709 <bp-checks.h>.
30710 (__backtrace): Don't use BOUNDED_1.
30711 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30712 <bp-checks.h>.
30713 (__backtrace): Don't use BOUNDED_1.
30714 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30715 (__backtrace): Don't use BOUNDED_1.
30716 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30717 (shmat): Don't use BOUNDED_N.
30718
30719 2013-01-31 Joseph Myers <joseph@codesourcery.com>
30720
30721 [BZ #13550]
30722 * sysdeps/generic/bp-start.h: Remove file.
30723 * csu/libc-start.c: Don't include <bp-start.h>.
30724 (LIBC_START_MAIN): Set up __environ directly instead of using
30725 INIT_ARGV_and_ENVIRON.
30726 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30727 <bp-start.h>.
30728
30729 [BZ #13550]
30730 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30731 definitions.
30732 (CHECK_FCNTL): Likewise.
30733 (CHECK_N_PAGES): Likewise.
30734
30735 [BZ #13550]
30736 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30737 definitions.
30738 (CHECK_SIGSET_NULL_OK): Likewise.
30739 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30740 <bp-checks.h>.
30741 (sigpending): Don't use CHECK_SIGSET.
30742 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30743 <bp-checks.h>.
30744 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30745 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30746 <bp-checks.h>.
30747 (do_sigsuspend): Don't use CHECK_SIGSET.
30748 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30749 use CHECK_SIGSET.
30750 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30751 (do_sigwait): Don't use CHECK_SIGSET.
30752 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30753 use CHECK_SIGSET.
30754 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30755 include <bp-checks.h>.
30756 (sigpending): Don't use CHECK_SIGSET.
30757 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30758 include <bp-checks.h>.
30759 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30760 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30761 <bp-checks.h>.
30762 (sigpending): Don't use CHECK_SIGSET.
30763 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30764 <bp-checks.h>.
30765 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30766
30767 [BZ #13550]
30768 * sysdeps/generic/bp-semctl.h: Remove file.
30769 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30770 <bp-checks.h> and <bp-semctl.h>.
30771 (__old_semctl): Don't use CHECK_SEMCTL.
30772 (__new_semctl): Likewise.
30773 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30774 and <bp-semctl.h>.
30775 (__old_semctl): Don't use CHECK_SEMCTL.
30776 (__new_semctl): Likewise.
30777 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30778 <bp-checks.h> and <bp-semctl.h>.
30779 (__old_semctl): Don't use CHECK_SEMCTL.
30780 (__new_semctl): Likewise.
30781 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30782 <bp-checks.h> and <bp-semctl.h>.
30783 (semctl): Don't use CHECK_SEMCTL.
30784
30785 [BZ #13550]
30786 * Makerules (elide-bp-thunks): Remove variable.
30787 (elide-routines.oS): Don't use $(elide-bp-thunks).
30788 (elide-routines.os): Likewise.
30789 (elide-routines.o): Likewise.
30790 (elide-routines.op): Likewise.
30791 (elide-routines.og): Likewise.
30792 (objects): Don't use $(bp-thunks).
30793 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30794 include.
30795 (common-generated): Do not add s-proto-bp.d.
30796 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30797 (int): Likewise.
30798 (typ): Likewise.
30799 Do not generate makefile rules for bounded-pointer thunks.
30800 * sysdeps/generic/bp-thunks.h: Remove file.
30801 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30802 * sysdeps/unix/s-proto-bp.S: Likewise.
30803
30804 [BZ #15062]
30805 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30806 parts of result separately when argument is not close to line from
30807 -i to i and one part of argument is small.
30808 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30809 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30810 * math/libm-test.inc (cacos_test): Add more tests.
30811 (casin_test): Likewise.
30812 (casinh_test): Likewise.
30813 * sysdeps/i386/fpu/libm-test-ulps: Update.
30814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30815
30816 2013-01-31 David S. Miller <davem@davemloft.net>
30817
30818 * po/de.po: Update from translation team.
30819
30820 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30821
30822 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30823
30824 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30825
30826 * configure.in (_AC_PROG_CC_C89): New definition.
30827 * configure: Regenerate.
30828
30829 * configure.in (AC_PROG_CPP): New definition.
30830 * configure: Regenerate.
30831
30832 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30833
30834 * debug/tst-backtrace.h: New file.
30835 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30836 (ret): Remove variable.
30837 (x): Likewise.
30838 (FAIL): Remove macro.
30839 (NO_INLINE): Likewise.
30840 (fn1): Use match function instead of strstr.
30841 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30842 (ret): Remove variable.
30843 (x): Likewise.
30844 (FAIL): Remove macro.
30845 (NO_INLINE): Likewise.
30846 (fn): Use match function instead of strstr.
30847 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30848 (ret): Remove variable.
30849 (x): Likewise.
30850 (FAIL): Remove macro.
30851 (NO_INLINE): Likewise.
30852 (handle_signal): Use match function instead of strstr.
30853 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30854 (ret): Remove variable.
30855 (x): Likewise.
30856 (FAIL): Remove macro.
30857 (NO_INLINE): Likewise.
30858 (handle_signal): Use match function instead of strstr.
30859
30860 2013-01-23 Roland McGrath <roland@hack.frob.com>
30861
30862 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30863
30864 2013-01-23 David S. Miller <davem@davemloft.net>
30865
30866 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30867 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30868 argument of CAS if possible.
30869 * sysdeps/sparc/sparc64/bits/atomic.h
30870 (__arch_compare_and_exchange_val_32_acq): Likewise.
30871 (__arch_compare_and_exchange_val_64_acq): Likewise.
30872
30873 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30874
30875 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30876 * sysdeps/posix/ulimit.c: ... this.
30877 Include <limits.h>.
30878 * sysdeps/unix/bsd/ulimit.c: Remove file.
30879
30880 2013-01-23 Adam Conrad <adconrad@0c3.net>
30881
30882 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30883 (LDFLAGS-tst-array5): Likewise.
30884
30885 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30886
30887 [BZ #15036]
30888 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30889 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30890 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30891 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30892
30893 2013-01-21 David S. Miller <davem@davemloft.net>
30894
30895 * sysdeps/sparc/backtrace.c: New file.
30896 * sysdeps/sparc/sparc32/backtrace.h: New file.
30897 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30898 * sysdeps/sparc/sparc64/backtrace.h: New file.
30899 * sysdeps/sparc/sparc64/backtrace.c: Delete.
30900 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30901 -funwind-tables.
30902
30903 2013-01-21 Andreas Schwab <schwab@suse.de>
30904
30905 [BZ #15020]
30906 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30907 closed its stdout.
30908
30909 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
30910
30911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30912 "mpa2.h".
30913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30914
30915 2013-01-18 Joseph Myers <joseph@codesourcery.com>
30916 Mark Mitchell <mark@codesourcery.com>
30917 Tom de Vries <tom@codesourcery.com>
30918 Paul Pluzhnikov <ppluzhnikov@google.com>
30919
30920 * debug/tst-backtrace2.c: New file.
30921 * debug/tst-backtrace3.c: Likewise.
30922 * debug/tst-backtrace4.c: Likewise.
30923 * debug/tst-backtrace5.c: Likewise.
30924 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30925 (CFLAGS-tst-backtrace3.c): Likewise.
30926 (CFLAGS-tst-backtrace4.c): Likewise.
30927 (CFLAGS-tst-backtrace5.c): Likewise.
30928 (LDFLAGS-tst-backtrace2): Likewise.
30929 (LDFLAGS-tst-backtrace3): Likewise.
30930 (LDFLAGS-tst-backtrace4): Likewise.
30931 (LDFLAGS-tst-backtrace5): Likewise.
30932 (tests): Add new tests tst-backtrace2, tst-backtrace3,
30933 tst-backtrace4 and tst-backtrace5.
30934
30935 2013-01-18 Anton Blanchard <anton@samba.org>
30936 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30937
30938 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30939 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30940 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30941 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30943 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30944 "+r" and remove output regs list as redundant. Add explicit inline
30945 asm to specify register of return val to work around compiler codegen
30946 bug. Remove (int) cast on return value. Add return type parameter to
30947 use in macro so that this macro does not truncate return value for
30948 64-bit values.
30949 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30950 pass to INTERNAL_VSYSCALL_NCS.
30951 (INLINE_VSYSCALL): Add 'long int' as return type to
30952 INTERNAL_VSYSCALL_NCS macro invocation.
30953 (INTERNAL_VSYSCALL): Add 'long int' as return type to
30954 INTERNAL_VSYSCALL_NCS macro invocation.
30955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30956
30957 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30958
30959 [BZ #14496]
30960 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30961 Fix application of SIMD FP exception mask.
30962
30963 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30964 mp_no from a power of two.
30965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30966 __mpexp_twomm1. Use __pow_mp.
30967
30968 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30969 multiplication.
30970
30971 2013-01-17 David S. Miller <davem@davemloft.net>
30972
30973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30974
30975 2013-01-17 Joseph Myers <joseph@codesourcery.com>
30976
30977 [BZ #15023]
30978 * include/complex.h: Condition contents on [!_COMPLEX_H].
30979 (__kernel_casinhf): New prototype.
30980 (__kernel_casinh): Likewise.
30981 (__kernel_casinhl): Likewise.
30982 * math/Makefile (libm_calls): Add k_casinh.
30983 * math/k_casinh.c: New file.
30984 * math/k_casinhf.c: Likewise.
30985 * math/k_casinhl.c: Likewise.
30986 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30987 finite nonzero arguments.
30988 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30989 finite nonzero arguments.
30990 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30991 finite nonzero arguments.
30992 * math/s_casinh.c: Do not include <float.h>.
30993 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30994 * math/s_casinhf.c: Do not include <float.h>.
30995 (__casinhf): Move code for finite nonzero arguments to
30996 k_casinhf.c.
30997 * math/s_casinhl.c: Do not include <float.h>.
30998 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30999 redefine.
31000 (__casinhl): Move code for finite nonzero arguments to
31001 k_casinhl.c.
31002 * math/libm-test.inc (cacos_test): Add more tests.
31003 * sysdeps/i386/fpu/libm-test-ulps: Update.
31004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31005
31006 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31007
31008 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31009 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31010 [!HAVE_MREMAP]: Remove [defined linux] case.
31011 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31012
31013 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31014
31015 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31016
31017 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
31018
31019 * elf/elf.h (R_386_SIZE32): New relocation.
31020 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31021 R_386_SIZE32.
31022 (elf_machine_rela): Likewise.
31023 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31024 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31025
31026 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31027
31028 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31029 (FP_FAST_FMA): Do not define.
31030 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31031 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31032 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31033 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31034 !_SOFT_FLOAT]: Likewise.
31035 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31036 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31037 value.
31038 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31039 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31040 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31041 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31042 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31043 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31044 file.
31045
31046 2013-01-16 Andreas Schwab <schwab@suse.de>
31047
31048 [BZ #14327]
31049 * include/stdlib.h (__mktemp): Add declaration.
31050 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31051 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31052
31053 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31054
31055 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31056 definitions.
31057 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31058 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31059 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31060 definitions here.
31061 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31062 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31063 definitions.
31064 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31065 and ONE.
31066 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31067 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31068 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31069 definitions.
31070 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31071 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31072 definitions.
31073 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31074
31075 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31076
31077 2013-01-15 David S. Miller <davem@davemloft.net>
31078
31079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31080 trunc{,f} to libm-sysdep_routes.
31081 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31083 file.
31084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31086 file.
31087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31088 file.
31089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31091 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31092 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31093 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31094 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31095 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31096 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31097
31098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31099 nearbyint{,f} to libm-sysdep_routes.
31100 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31102 New file.
31103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31104 file.
31105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31106 New file.
31107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31108 file.
31109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31111 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31112 file.
31113 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31114 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31115 file.
31116 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31117 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31118 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31119
31120 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31121 libc_feholdexcept and libc_fesetenv.
31122
31123 2013-01-15 Mike Frysinger <vapier@gentoo.org>
31124
31125 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31126
31127 2013-01-14 David S. Miller <davem@davemloft.net>
31128
31129 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31130 (SPARC_ASM_VIS2_IFUNC): Likewise.
31131 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31133 use of 'siam' instruction.
31134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31135 Likewise.
31136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31137 Likewise.
31138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31139 Likewise.
31140 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31143 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31145 file.
31146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31147 file.
31148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31149 file.
31150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31151 file.
31152 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31153 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31157 new VIS2 routines.
31158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31161 Likewise.
31162 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31163 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31167 routines to libm-sysdep_routines.
31168 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31169
31170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31171 fdim/fdimf to libm-sysdep_routines.
31172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31173 file.
31174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31176 file.
31177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31180 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31181 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31182 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31183 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31184
31185 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31186
31187 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31188 to optimize copies.
31189
31190 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31192 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31193
31194 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31195 local variable MPTWO.
31196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31197 Likewise.
31198
31199 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31200
31201 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31202 GLOB_NOESCAPE.
31203
31204 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31205
31206 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31207
31208 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31209
31210 * manual/pattern.texi (glob_t): Document gl_flags.
31211 (glob64_t): Likewise.
31212
31213 2013-01-11 David S. Miller <davem@davemloft.net>
31214
31215 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31216 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31217 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
31218 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31219 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31220 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31221 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31222 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31223 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31224 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31225 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31226 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31227 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31228
31229 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31230 sparc V9 rather than using V8 code.
31231 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31232 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31233
31234 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31235 Move to...
31236 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31237 Here.
31238
31239 2013-01-11 Roland McGrath <roland@hack.frob.com>
31240
31241 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31242 not in the main loop.
31243 * configure: Regenerated.
31244
31245 2013-01-11 Joseph Myers <joseph@codesourcery.com>
31246
31247 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31248 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31249 to just #else.
31250 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31251 [!__GLIBC_HAVE_LONG_LONG] case.
31252 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31253 condition to just #else.
31254 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31255 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31256 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31257 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31258 unconditional.
31259 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31260 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31261 #elif condition to just #else.
31262 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31263 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31264 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31265 #elif condition to just #else.
31266
31267 2013-01-11 Steve Ellcey <sellcey@mips.com>
31268
31269 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31270 (EF_MIPS_ARCH_64): Fix value.
31271 (EF_MIPS_ARCH_32R2): New.
31272 (EF_MIPS_ARCH_64R2): New.
31273
31274 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31275
31276 * Makeconfig (+link-pie-before-libc): New.
31277 (+link-pie-after-libc): Likewise.
31278 (+link-pie-tests): Likewise.
31279 (+link-pie): Rewritten.
31280 (link-before-libc): Remove $(config-LDFLAGS).
31281 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31282 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31283 (config-LDFLAGS): Renamed to ...
31284 (rtld-LDFLAGS): This.
31285 (rtld-tests-LDFLAGS): New macro.
31286 (link-libc-rpath-link): Likewise.
31287 (link-libc-tests-rpath-link): Likewise.
31288 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31289 (link-libc): Prepand $(link-libc-rpath-link).
31290 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31291 (test-program-prefix): New macro.
31292 (test-via-rtld-prefix): Likewise.
31293 (test-program-cmd): Likewise.
31294 (host-test-program-cmd): Likewise.
31295 * Makefile ($(common-objpfx)testrun.sh): Replace
31296 $(run-program-prefix) with $(test-program-prefix).
31297 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31298 $(rtld-LDFLAGS).
31299 ($(common-objpfx)shlib.lds): Likewise.
31300 (build-module-helper): Likewise.
31301 ($(common-objpfx)format.lds): Likewise.
31302 * Rules (binaries-pie-tests): New.
31303 (binaries-pie-notests): Likewise.
31304 (binaries-pie): Rewritten.
31305 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31306 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31307 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31308 (make-test-out): Replace $(host-built-program-cmd) with
31309 $(host-test-program-cmd).
31310 * config.make.in (build-hardcoded-path-in-tests): New variable.
31311 * configure.in (--enable-hardcoded-path-in-tests): New configure
31312 option.
31313 (hardcoded_path_in_tests): New AC_SUBST.
31314 * configure: Regenerated.
31315 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31316 $(built-program-cmd) with $(test-program-cmd).
31317 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31318 (test_program_cmd): This.
31319 * elf/Makefile ($(objpfx)order.out): Run test with
31320 $(test-program-prefix).
31321 ($(objpfx)order2.out): Likewise.
31322 ($(objpfx)tst-initorder.out): Likewise.
31323 ($(objpfx)tst-initorder2.out): Likewise.
31324 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31325 $(test-program-cmd).
31326 ($(objpfx)tst-array1-static.out): Likewise.
31327 ($(objpfx)tst-array2.out): Likewise.
31328 ($(objpfx)tst-array3.out): Likewise.
31329 ($(objpfx)tst-array4.out): Likewise.
31330 ($(objpfx)tst-array5.out): Likewise.
31331 ($(objpfx)tst-array5-static.out): Likewise.
31332 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31333 $(test-program-cmd).
31334 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31335 $(run-program-prefix) with $(test-program-prefix).
31336 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31337 (test_program_prefix): This.
31338 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31339 $(run-program-prefix) with $(test-program-prefix).
31340 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31341 (test_program_prefix): This.
31342 * iconvdata/tst-tables.sh: Likewise.
31343 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31344 $(run-program-prefix) with $(test-program-prefix).
31345 ($(objpfx)tst-translit.out): Likewise.
31346 ($(objpfx)tst-gettext2.out): Likewise.
31347 ($(objpfx)tst-gettext4.out): Likewise.
31348 ($(objpfx)tst-gettext6.out): Likewise.
31349 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31350 (test_program_prefix): This.
31351 * intl/tst-gettext2.sh: Likewise.
31352 * intl/tst-gettext4.sh Likewise.
31353 * intl/tst-gettext6.sh: Likewise.
31354 * intl/tst-translit.sh: Likewise.
31355 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31356 with $(test-program-cmd).
31357 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31358 $(run-program-prefix) with $(test-program-prefix).
31359 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31360 (test_program_prefix): This.
31361 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31362 $(run-program-prefix) with $(test-program-prefix).
31363 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31364 (test_program_prefix): This.
31365 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31366 * posix/Makefile ($(objpfx)globtest.out): Replace
31367 $(run-via-rtld-prefix) and $(test-wrapper) with
31368 $(test-program-prefix) and $(test-via-rtld-prefix).
31369 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31370 $(test-program-prefix).
31371 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31372 $(host-test-program-cmd).
31373 (tst-spawn-ARGS): Likewise.
31374 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31375 $(test-program-prefix).
31376 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31377 (test_via_rtld_prefix): This.
31378 (test_wrapper): Renamed to ...
31379 (test_program_prefix): This.
31380 (run_program_prefix): Replaced by test_program_prefix.
31381 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31382 (test_program_prefix): This.
31383 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31384 with $(host-test-program-cmd).
31385 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31386 $(run-program-prefix) with $(test-program-prefix).
31387 ($(objpfx)tst-printf.out): Likewise.
31388 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31389 $(test-program-cmd).
31390 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31391 (test_program_prefix): This.
31392 * stdio-common/tst-unbputc.sh: Likewise.
31393 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31394 $(run-program-prefix) with $(test-program-prefix).
31395 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31396 (test_program_prefix): This.
31397 * string/Makefile ($(objpfx)tst-svc.out): Replace
31398 $(built-program-cmd) with $(test-program-cmd).
31399
31400 2013-01-11 Andreas Jaeger <aj@suse.de>
31401
31402 [BZ #15003]
31403 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31404 value. Sync with Linux 3.7.
31405
31406 2013-01-10 David S. Miller <davem@davemloft.net>
31407
31408 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31409 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31410 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31411
31412 2013-01-10 Roland McGrath <roland@hack.frob.com>
31413
31414 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31415 never set.
31416 * configure: Regenerated.
31417
31418 2013-01-10 David S. Miller <davem@davemloft.net>
31419
31420 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31421 sparc V9 rather than using V8 code.
31422 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31423 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31424
31425 2013-01-10 Roland McGrath <roland@hack.frob.com>
31426
31427 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31428 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31429 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31430 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31431 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31432 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31433 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31434 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31435 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31436 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31437 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31438 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31439 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31440 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31441 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31442 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31443 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31444 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31445 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31446 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31447 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31448 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31449 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31450 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31451 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31452 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31453 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31454
31455 2013-01-10 David S. Miller <davem@davemloft.net>
31456
31457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31458
31459 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31460
31461 * posix/Makefile (tests-static): New variable.
31462 (tests): Add $(tests-static).
31463 (tst-exec-static-ARGS): New variable.
31464 (tst-spawn-static-ARGS): Likewise.
31465 * posix/tst-exec-static.c: New file.
31466 * posix/tst-spawn-static.c: Likewise.
31467 * posix/tst-exec.c: Support run directly.
31468 * posix/tst-spawn.c: Likewise.
31469
31470 2013-01-10 Joseph Myers <joseph@codesourcery.com>
31471
31472 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31473 long.
31474 * math/bits/mathcalls.h (llrint): Likewise.
31475 (llround): Likewise.
31476 * stdlib/stdlib.h (struct drand48_data): Likewise.
31477 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31478 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31479 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31480 Likewise.
31481 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31482 Likewise.
31483 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31484 (elf_greg_t): Likewise.
31485 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31486 (__jmp_buf): Likewise.
31487 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31488 definitions.
31489 (llrint): Likewise, for all definitions.
31490 (llrintl): Likewise.
31491
31492 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31493 Remove [__GNUC__] condition.
31494 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31495 condition to just [__USE_ISOC99].
31496 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31497
31498 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31499
31500 [BZ #14200]
31501 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31502 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31503 defined.
31504 (_POSIX_V6_ILP32_OFF32): Likewise.
31505 (_XBS5_ILP32_OFF32): Likewise.
31506 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31507 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31508
31509 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31510
31511 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31512
31513 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31514 doubles __mpexp_twomm1. Adjust usage.
31515 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31516 Remove.
31517
31518 2013-01-10 Andreas Schwab <schwab@suse.de>
31519
31520 [BZ #14964]
31521 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31522 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31523
31524 2013-01-09 David S. Miller <davem@davemloft.net>
31525
31526 [BZ #15003]
31527 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31528 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31529 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31530 (TCP_FASTOPEN): Define.
31531 (tcp_repair_opt): New structure.
31532 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31533 enum values.
31534 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31535 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31536 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31537 (tcp_cookie_transactions): New structure.
31538
31539 2013-01-09 Anton Blanchard <anton@samba.org>
31540
31541 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31542 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31543 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31544 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31545
31546 2013-01-09 Joseph Myers <joseph@codesourcery.com>
31547
31548 * include/features.h (__USE_ANSI): Remove.
31549
31550 2013-01-09 Roland McGrath <roland@hack.frob.com>
31551
31552 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31553
31554 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31555
31556 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31557
31558 * sysdeps/s390/fpu/libm-test-ulps: Update.
31559
31560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31561
31562 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31563 (__acr): Likewise.
31564 (__cpy): Likewise.
31565 (norm): Likewise.
31566 (denorm): Likewise.
31567 (__mp_dbl): Likewise.
31568 (__dbl_mp): Likewise.
31569 (add_magnitudes): Likewise.
31570 (sub_magnitudes): Likewise.
31571 (__add): Likewise.
31572 (__sub): Likewise.
31573 (__mul): Likewise.
31574 (__inv): Likewise.
31575 (__dvd): Likewise.
31576 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31577 (__acr): Likewise.
31578 (__cpy): Likewise.
31579 (norm): Likewise.
31580 (denorm): Likewise.
31581 (__mp_dbl): Likewise.
31582 (__dbl_mp): Likewise.
31583 (add_magnitudes): Likewise.
31584 (sub_magnitudes): Likewise.
31585 (__add): Likewise.
31586 (__sub): Likewise.
31587 (__mul): Likewise.
31588 (__inv): Likewise.
31589 (__dvd): Likewise.
31590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31591 (__acr): Likewise.
31592 (__cpy): Likewise.
31593 (norm): Likewise.
31594 (denorm): Likewise.
31595 (__mp_dbl): Likewise.
31596 (__dbl_mp): Likewise.
31597 (add_magnitudes): Likewise.
31598 (sub_magnitudes): Likewise.
31599 (__add): Likewise.
31600 (__sub): Likewise.
31601 (__mul): Likewise.
31602 (__inv): Likewise.
31603 (__dvd): Likewise.
31604
31605 2013-01-08 Joseph Myers <joseph@codesourcery.com>
31606
31607 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31608 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31609 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31610 2 && __USE_EXTERN_INLINES]: Likewise.
31611
31612 2013-01-08 Andreas Jaeger <aj@suse.de>
31613
31614 [BZ# 14985]
31615 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31616 Remove.
31617 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31618 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31619
31620 2013-01-07 Anton Blanchard <anton@samba.org>
31621
31622 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31623 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31624 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31625 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31626 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31627 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31628 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31629 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31631 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31632 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31633 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31634 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31635 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31636 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31637 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31638 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31639 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31640 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31641 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31642 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31643 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31644 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31645 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31646 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31647 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31648 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31649 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31650 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31651 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31652 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31654 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31655 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31656 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31657 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31658 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31659 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31660 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31661 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31662 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31663 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31664 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31665
31666 2013-01-07 Joseph Myers <joseph@codesourcery.com>
31667
31668 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31669 (__MALLOC_PMT): Likewise.
31670 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31671 [__GNUC__], only on [_LIBC].
31672 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31673 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31674 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31675 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31676 forward declaration.
31677 (realloc_hook_ini): Likewise.
31678 (memalign_hook_ini): Likewise.
31679 (__libc_memalign): Do not use __MALLOC_PMT in variable
31680 declaration.
31681 (__libc_valloc): Likewise.
31682 (__libc_pvalloc): Likewise.
31683 (__libc_calloc): Likewise.
31684 (__posix_memalign): Likewise.
31685
31686 [BZ #14996]
31687 * math/s_casinh.c: Include <float.h>.
31688 (__casinh): Do not do computation with squaring and square root
31689 for large arguments.
31690 * math/s_casinhf.c: Include <float.h>.
31691 (__casinhf): Do not do computation with squaring and square root
31692 for large arguments.
31693 * math/s_casinhl.c: Include <float.h>.
31694 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31695 (__casinhl): Do not do computation with squaring and square root
31696 for large arguments.
31697 * math/libm-test.inc (casin_test): Add more tests.
31698 (casinh_test): Likewise.
31699 * sysdeps/i386/fpu/libm-test-ulps: Update.
31700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31701
31702 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31703
31704 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31705 (__x86_64_raw_data_cache_size): Likewise.
31706 (__x86_64_data_cache_size_half): Likewise.
31707 (__x86_64_raw_data_cache_size_half): Likewise.
31708 (__x86_64_shared_cache_size): Likewise.
31709 (__x86_64_raw_shared_cache_size): Likewise.
31710 (__x86_64_shared_cache_size_half): Likewise.
31711 (__x86_64_raw_shared_cache_size_half): Likewise.
31712 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31713 to ...
31714 (__x86_data_cache_size): This.
31715 (__x86_64_raw_data_cache_size): Renamed to ...
31716 (__x86_raw_data_cache_size): This.
31717 (__x86_64_data_cache_size_half): Renamed to ...
31718 (__x86_data_cache_size_half): This.
31719 (__x86_64_raw_data_cache_size_half): Renamed to ...
31720 (__x86_raw_data_cache_size_half): This.
31721 (__x86_64_shared_cache_size): Renamed to ...
31722 (__x86_shared_cache_size): This.
31723 (__x86_64_raw_shared_cache_size): Renamed to ...
31724 (__x86_raw_shared_cache_size): This.
31725 (__x86_64_shared_cache_size_half): Renamed to ...
31726 (__x86_shared_cache_size_half): This.
31727 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31728 (__x86_raw_shared_cache_size_half): This.
31729 * sysdeps/x86_64/memcpy.S: Updated.
31730 * sysdeps/x86_64/memset.S: Likewise.
31731 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31732 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31733 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31734
31735 2013-01-04 David S. Miller <davem@davemloft.net>
31736
31737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31738
31739 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31740
31741 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31742 1 to avoid redefinition warning.
31743 (__USE_GNU): Don't define.
31744 (init_signaling_nan): Protoize.
31745
31746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31747
31748 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31749
31750 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31752 (__cpymn): Likewise.
31753 (norm): Remove commented code.
31754 (denorm): Likewise.
31755 (__mp_dbl): Likewise.
31756 (__inv): Likewise.
31757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31758 (__cpymn): Likewise.
31759 (norm): Remove commented code.
31760 (denorm): Likewise.
31761 (__mp_dbl): Likewise.
31762 (__inv): Likewise.
31763
31764 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31765 mp_no value for 1.0 and 2.0.
31766 (norm): Use RADIXI instead of radixi.d.
31767 (denorm): Likewise.
31768 (__mul): Use 0.0 instead of zero.d.
31769 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31770 mp_no value for 1.0 and 2.0.
31771 (norm): Use RADIXI instead of radixi.d.
31772 (denorm): Likewise.
31773 (__mul): Use 0.0 instead of zero.d.
31774
31775 2013-01-04 Joseph Myers <joseph@codesourcery.com>
31776
31777 [BZ #14994]
31778 * math/s_casinh.c (__casinh): Reduce finite argument to first
31779 quadrant then set signs of results at the end.
31780 * math/s_casinhf.c (__casinhf): Likewise.
31781 * math/s_casinhl.c (__casinhl): Likewise.
31782 * math/libm-test.inc (casin_test): Add more tests.
31783 (casinh_test): Likewise.
31784 * sysdeps/i386/fpu/libm-test-ulps: Update.
31785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31786
31787 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31788
31789 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31790
31791 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31792
31793 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31794 declarations.
31795 (denorm): Likewise.
31796 (__mp_dbl): Likewise.
31797 (__inv): Likewise.
31798
31799 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31800 and adjust the header comment.
31801
31802 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31803 variable name from declaration.
31804
31805 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31806
31807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31808 Initialize COMMON_CPUID_INDEX_7 element.
31809 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31810 (CPUID_RTM): Likewise.
31811 (HAS_RTM): Likewise.
31812 (COMMON_CPUID_INDEX_7): New enum.
31813
31814 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31815
31816 [BZ #14981]
31817 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31818 size is zero, record memory as freed.
31819
31820 2013-01-03 Andreas Jaeger <aj@suse.de>
31821
31822 * po/ia.po: Add new Interlingua translation.
31823
31824 2012-01-03 Allan McRae <allan@archlinux.org>
31825
31826 * locale/programs/localedef.c: Fix description of '--posix' flag.
31827
31828 2013-01-02 Joseph Myers <joseph@codesourcery.com>
31829
31830 * NEWS: Update dates in second copyright notice.
31831 * README: Update copyright dates in example.
31832 * manual/libc.texinfo: Update copyright dates.
31833 * scripts/test-installation.pl: Update copyright date in --version
31834 output.
31835
31836 * hurd/ctty-input.c: Fix copyright notice formatting.
31837 * hurd/ctty-output.c: Likewise.
31838 * hurd/dtable.c: Likewise.
31839 * hurd/hurd-raise.c: Likewise.
31840 * hurd/hurdprio.c: Likewise.
31841 * hurd/msgportdemux.c: Likewise.
31842 * misc/sys/file.h: Likewise.
31843 * misc/sys/ioctl.h: Likewise.
31844 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31845 * sysdeps/mach/hurd/chdir.c: Likewise.
31846 * sysdeps/mach/hurd/fchdir.c: Likewise.
31847 * sysdeps/mach/hurd/rename.c: Likewise.
31848 * sysdeps/mach/hurd/rmdir.c: Likewise.
31849 * sysdeps/mach/hurd/seekdir.c: Likewise.
31850 * sysdeps/mach/hurd/setsid.c: Likewise.
31851 * sysdeps/posix/wait3.c: Likewise.
31852
31853 * All files with FSF copyright notices: Update copyright dates
31854 using scripts/update-copyrights.
31855 * intl/plural.c: Regenerated.
31856 * locale/programs/charmap-kw.h: Likewise.
31857 * locale/programs/locfile-kw.h: Likewise.
31858
31859 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31860
31861 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31862 four values.
31863
31864 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31865 calculation loop and add branch prediction.
31866
31867 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31868 check access beyond bounds of m1np.
31869
31870 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31871 MPTWO.
31872 (__inv): Remove local variable MPTWO to use the global
31873 constant.
31874 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31875 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31876 variable MPTWO.
31877 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31878 MP3HALFS static const.
31879
31880 2013-01-01 David S. Miller <davem@davemloft.net>
31881
31882 * po/ca.po: Update from translation team.
31883
31884 2013-01-01 Joseph Myers <joseph@codesourcery.com>
31885
31886 * scripts/update-copyrights: New file.
31887 * Makeconfig: Reformat copyright notice.
31888 * ctype/ctype.h: Likewise.
31889 * debug/swprintf_chk.c: Likewise.
31890 * elf/dl-cache.c: Likewise.
31891 * elf/dl-debug.c: Likewise.
31892 * elf/dl-object.c: Likewise.
31893 * grp/initgroups.c: Likewise.
31894 * hurd/Makefile: Likewise.
31895 * hurd/hurd/signal.h: Likewise.
31896 * hurd/hurdfault.c: Likewise.
31897 * hurd/hurdioctl.c: Likewise.
31898 * hurd/hurdlookup.c: Likewise.
31899 * hurd/intr-msg.c: Likewise.
31900 * iconv/gconv_open.c: Likewise.
31901 * libio/swprintf.c: Likewise.
31902 * locale/lc-ctype.c: Likewise.
31903 * locale/nl_langinfo.c: Likewise.
31904 * mach/Machrules: Likewise.
31905 * mach/Makefile: Likewise.
31906 * malloc/obstack.h: Likewise.
31907 * manual/Makefile: Likewise.
31908 * manual/tsort.awk: Likewise.
31909 * misc/bits/stab.def: Likewise.
31910 * nis/nis_print_group_entry.c: Likewise.
31911 * nis/nis_table.c: Likewise.
31912 * nis/nss_compat/compat-pwd.c: Likewise.
31913 * nis/nss_compat/compat-spwd.c: Likewise.
31914 * po/Makefile: Likewise.
31915 * posix/fnmatch.c: Likewise.
31916 * posix/regex.h: Likewise.
31917 * resolv/Makefile: Likewise.
31918 * resolv/nss_dns/dns-network.c: Likewise.
31919 * resolv/res_hconf.c: Likewise.
31920 * scripts/gen-sorted.awk: Likewise.
31921 * soft-fp/soft-fp.h: Likewise.
31922 * stdio-common/printf.h: Likewise.
31923 * stdlib/monetary.h: Likewise.
31924 * stdlib/random.c: Likewise.
31925 * stdlib/random_r.c: Likewise.
31926 * sysdeps/generic/Makefile: Likewise.
31927 * sysdeps/gnu/Makefile: Likewise.
31928 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31930 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31932 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31933 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31934 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31935 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31936 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31937 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31938 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31939 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31940 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31941 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31942 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31943 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31944 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31945 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31946 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31947 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31948 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31949 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31950 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31951 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31952 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31953 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31954 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31955 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31956 * sysdeps/mach/hurd/errnos.awk: Likewise.
31957 * sysdeps/mach/hurd/fork.c: Likewise.
31958 * sysdeps/mach/hurd/getcwd.c: Likewise.
31959 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31960 * sysdeps/mach/hurd/mmap.c: Likewise.
31961 * sysdeps/mach/hurd/utimes.c: Likewise.
31962 * sysdeps/mach/hurd/xmknod.c: Likewise.
31963 * sysdeps/posix/profil.c: Likewise.
31964 * sysdeps/posix/readdir_r.c: Likewise.
31965 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31966 * sysdeps/powerpc/bits/setjmp.h: Likewise.
31967 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31968 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31970 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31971 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31972 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31974 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31975 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31976 * sysdeps/pthread/lio_listio.c: Likewise.
31977 * sysdeps/sparc/dl-procinfo.h: Likewise.
31978 * sysdeps/unix/i386/sysdep.S: Likewise.
31979 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31980 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31981 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31982 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31984 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31985 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31986 * sysdeps/unix/sysv/linux/speed.c: Likewise.
31987 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31988 * sysdeps/wordsize-32/divdi3.c: Likewise.
31989 * time/sys/time.h: Likewise.
31990 * wcsmbs/Makefile: Likewise.
31991
31992 2013-01-01 David S. Miller <davem@davemloft.net>
31993
31994 * po/fr.po: Update from translation team.
31995
31996 * catgets/gencat.c: Update copyright year.
31997 * csu/version.c: Likewise.
31998 * debug/catchsegv.sh: Likewise.
31999 * debug/pcprofiledump.c: Likewise.
32000 * debug/xtrace.sh: Likewise.
32001 * elf/ldconfig.c: Likewise.
32002 * elf/ldd.bash.in: Likewise.
32003 * elf/pldd.c: Likewise.
32004 * elf/sotruss.ksh: Likewise.
32005 * elf/sprof.c: Likewise.
32006 * iconv/iconv_prog.c: Likewise.
32007 * iconv/iconvconfig.c: Likewise.
32008 * locale/programs/locale.c: Likewise.
32009 * locale/programs/localedef.c: Likewise.
32010 * login/programs/pt_chown.c: Likewise.
32011 * malloc/memusage.sh: Likewise.
32012 * malloc/memusagestat.c: Likewise.
32013 * malloc/mtrace.pl: Likewise.
32014 * nscd/nscd.c: Likewise.
32015 * nss/getent.c: Likewise.
32016 * nss/makedb.c: Likewise.
32017 * posix/getconf.c: Likewise.
32018
32019 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32020
32021 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32022 numbers.
32023
32024 2012-12-30 Mike Frysinger <vapier@gentoo.org>
32025
32026 * math/bits/mathcalls.h (modf): Use __nonnull.
32027
32028 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32029
32030 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32031 (split): Use macro CN instead of the bare value.
32032 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32033 could be used.
32034 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32035 instead of the bare value.
32036 (power1): Likewise.
32037
32038 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32039
32040 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32041 __ATAN_TWOM.
32042 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32043
32044 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32045 their values.
32046 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32047 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32048 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32049 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32050
32051 2012-12-28 Andreas Jaeger <aj@suse.de>
32052
32053 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32054 values are from Linux 3.7.
32055
32056 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32057 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32058
32059 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32060
32061 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32062 TRUE case.
32063
32064 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32065 (norm): Likewise.
32066 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32067 variables with preprocessor constants.
32068 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32069 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32070 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32071
32072 2012-12-27 Bruno Haible <bruno@clisp.org>
32073
32074 [BZ #14317]
32075 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32076 only if needed.
32077
32078 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32079
32080 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32081 and use variable directly.
32082 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32083
32084 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32085 MPONE.
32086 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32087 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32088 variable MPONE.
32089 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32090 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32091 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32092 include directive. Remove local variable MPONE.
32093 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32094 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32095 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32096
32097 2012-12-25 David S. Miller <davem@davemloft.net>
32098
32099 * version.h (RELEASE): Set to "development".
32100 (VERSION): Set to "2.17.90".
32101 * NEWS: Add 2.18 section.
32102
32103 2012-12-21 David S. Miller <davem@davemloft.net>
32104
32105 * po/hr.po: Update from translation team.
32106
32107 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32108
32109 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32110
32111 2012-12-19 Steve Ellcey <sellcey@mips.com>
32112
32113 * NEWS: Mention new memcpy for MIPS.
32114
32115 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32116
32117 * manual/contrib.texi (Contributors): Spelling correction.
32118
32119 2012-12-15 David S. Miller <davem@davemloft.net>
32120
32121 * po/ru.po: Update from translation team.
32122
32123 2012-12-13 David S. Miller <davem@davemloft.net>
32124
32125 * NEWS: Mention IFUNC testsuite enhancements.
32126
32127 * po/pl.po: Update from translation team.
32128 * po/bg.po: Likewise.
32129
32130 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32131 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32132
32133 2012-12-11 David S. Miller <davem@davemloft.net>
32134
32135 * po/sv.po: Update from translation team.
32136
32137 * po/vi.po: Update from translation team.
32138
32139 * po/cs.po: Update from translation team.
32140
32141 * po/de.po: Update from translation team.
32142 * po/eo.po: Likewise.
32143 * po/nl.po: Likewise.
32144
32145 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32146
32147 [BZ #14246]
32148 * manual/argp.texi (Argp Helper Functions): Move node to follow
32149 Argp Parsing State.
32150
32151 [BZ #14872]
32152 * manual/conf.texi (Limits on File System Capacity): Mention if
32153 terminating null is included in the max size.
32154
32155 2012-12-10 Andreas Jaeger <aj@suse.de>
32156
32157 * po/cs.po: Update from translation team.
32158
32159 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32160
32161 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32162 void pointer and cast to uintptr_t.
32163 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32164 path.
32165 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32166 * sysdeps/s390/s390-64/memset.S: Likewise.
32167
32168 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
32169
32170 [BZ #14833]
32171 * menual/message.texi (Message Translation): Fix typos.
32172 (Helper programs for gettext): Likewise.
32173
32174 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32175
32176 [BZ #14898]
32177 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32178 Change to -1.
32179
32180 2012-12-07 David S. Miller <davem@davemloft.net>
32181
32182 * po/libc.pot: Update.
32183
32184 2012-12-07 Richard Henderson <rth@redhat.com>
32185
32186 [BZ #10114]
32187 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32188 normal/normal case to before the switch.
32189 (_FP_DIV): Likewise.
32190
32191 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32192 Mike Frysinger <vapier@gentoo.org>
32193
32194 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32195 check for __NR_fadvise64_64.
32196
32197 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32198
32199 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32200 0, not just to plain "0" as a statement.
32201 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32202 with cw.
32203
32204 2012-12-06 Joseph Myers <joseph@codesourcery.com>
32205
32206 * NEWS: Use sourceware.org in Bugzilla URL.
32207
32208 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32209
32210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32211 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32212
32213 * stdio-common/tst-put-error.c (do_test): Add newline to the
32214 padded test to ensure flush.
32215
32216 2012-12-05 Jeff Law <law@redhat.com>
32217
32218 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32219
32220 2012-12-05 Joseph Myers <joseph@codesourcery.com>
32221
32222 * README: Don't refer to ports add-on as distributed separately.
32223 Mention AArch64 in list of systems supported in the ports add-on.
32224
32225 * LICENSES: Add more non-FSF copyright and license notices.
32226
32227 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32228 ((unused)).
32229
32230 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32231
32232 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32233 10000 as width of padded output.
32234
32235 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32236
32237 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32238
32239 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32240 variable LX with __attribute__ ((unused)).
32241 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32242 Likewise.
32243 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32244 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32245 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32246 with __attribute__ ((unused)).
32247
32248 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
32249
32250 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32251
32252 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32253
32254 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32255 (CFLAGS-nldbl-acos.c): New variable.
32256 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32257 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32258 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32259 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32260 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32261 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32262 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32263 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32264 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32265 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32266 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32267 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32268 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32269 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32270 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32271 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32272 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32273 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32274 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32275 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32276 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32277 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32278 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32279 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32280 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32281 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32282 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32283 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32284 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32285 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32286 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32287 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32288 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32289 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32290 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32291 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32292 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32293 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32294 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32295 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32296 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32297 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32298 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32299 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32300 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32301 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32302 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32303 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32304 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32305 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32306 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32307 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32308 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32309 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32310 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32311 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32312 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32313 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32314 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32315 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32316 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32317 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32318 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32319 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32320 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32321 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32322 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32323 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32324 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32325 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32326 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32327 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32328 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32329 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32330 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32331 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32332 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32333 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32334 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32335 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32336 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32337 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32338 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32339 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32340 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32341 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32342 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32343 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32344 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32345 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32346 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32347 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32348 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32349 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32350 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32351 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32352 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32353
32354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32355 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32356
32357 [BZ #14914]
32358 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32359 whole low double instead of just low 47 bits when splitting values
32360 into two parts.
32361
32362 2012-12-03 Allan McRae <allan@archlinux.org>
32363
32364 * manual/stdio.texi (Predefined Printf Handlers): Remove
32365 @hsep and @vsep usage.
32366
32367 2012-12-03 Mike Frysinger <vapier@gentoo.org>
32368
32369 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32370 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32371
32372 2012-12-03 Jeff Law <law@redhat.com>
32373
32374 * time/sys/time.h (settimeofday): Do not mark TV argument
32375 as __nonnull.
32376
32377 2012-12-01 Mike Frysinger <vapier@gentoo.org>
32378
32379 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32380 when currently writing and seek to current position when not.
32381 * libio/Makefile (tests): Remove bug-fclose1.
32382 * libio/bug-fclose1.c: Delete.
32383
32384 2012-12-01 Joseph Myers <joseph@codesourcery.com>
32385
32386 * manual/arith.texi (feenableexcept): Fix typo.
32387 (fedisableexcept): Likewise.
32388
32389 2012-11-30 Roland McGrath <roland@hack.frob.com>
32390
32391 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32392 second, differently-typed declaration, rather than a cast.
32393
32394 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32395
32396 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32397 * include/rpc/svc.h: ... here.
32398
32399 2012-11-30 Aurelien Jarno <aurel32@debian.org>
32400
32401 [BZ #13013]
32402 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32403 depending n and resplen2 to catch cases where answer
32404 equals answerp2.
32405
32406 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32407
32408 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32409 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32410
32411 2012-11-29 Mike Frysinger <vapier@gentoo.org>
32412
32413 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32414
32415 2012-11-29 Roland McGrath <roland@hack.frob.com>
32416
32417 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32418
32419 2012-11-28 Jeff Law <law@redhat.com>
32420
32421 [BZ #13761]
32422 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32423 dataset_temporary. Track alloca usage into alloca_used.
32424 If dataset is large allocate and release it via malloc/free.
32425
32426 2012-06-04 Florian Weimer <fweimer@redhat.com>
32427
32428 [BZ #14197]
32429 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32430
32431 2012-11-28 David S. Miller <davem@davemloft.net>
32432
32433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32434
32435 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32436
32437 [BZ #14803]
32438 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32439 of pi/2 rounded to nearest to 64 bits.
32440 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32441 nearest to 64 bits.
32442 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32443 bits.
32444
32445 2012-11-28 Jeff Law <law@redhat.com>
32446 Martin Osvald <mosvald@redhat.com>
32447
32448 [BZ #14889]
32449 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32450 * sunrpc/svc.c: Include time.h.
32451 (__svc_accept_failed): New function.
32452 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32453 any reason other than EINTR, call __svc_accept_failed.
32454 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32455 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32456
32457 2012-11-28 Andreas Schwab <schwab@suse.de>
32458
32459 * scripts/abilist.awk: Also handle indirect functions in .opd
32460 section.
32461
32462 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32463
32464 [BZ #13881]
32465 * sysdeps/x86/fpu/powl_helper.c: New file.
32466 * sysdeps/x86/fpu/Makefile: Likewise.
32467 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32468 (p3): New object.
32469 (__ieee754_powl): Use __powl_helper for finite arguments except
32470 integer exponents below 8.
32471 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32472 (p3): New object.
32473 (__ieee754_powl): Use __powl_helper for finite arguments except
32474 integer exponents below 8.
32475 * math/libm-test.inc (pow_test): Add more tests and enable some
32476 previously disabled tests.
32477 * sysdeps/i386/fpu/libm-test-ulps: Update.
32478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32479
32480 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32481 Carlos O'Donell <carlos_odonell@mentor.com>
32482
32483 * nss/makedb.c (is_prime): Assert that input is odd and greater
32484 than 4. Note that fact in a comment too.
32485 (next_prime): Add 4 to input.
32486
32487 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32488
32489 [BZ #11741]
32490 * libio/Makefile (tests): Add test case tst-fwrite-error.
32491 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32492 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32493 * libio/tst-fwrite-error.c: New test case.
32494
32495 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32496
32497 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32498 before casting to void *.
32499 * include/libc-internal.h (__pointer_type): New macro.
32500 (__integer_if_pointer_type_sub): Likewise.
32501 (__integer_if_pointer_type): Likewise.
32502 (cast_to_integer): Likewise.
32503 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32504 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32505 before casting to atomic64_t.
32506 (atomic_exchange_acq): Likewise.
32507 (__arch_exchange_and_add_body): Likewise.
32508 (__arch_add_body): Likewise.
32509 (atomic_add_negative): Likewise.
32510 (atomic_add_zero): Likewise.
32511
32512 2012-11-26 Joseph Myers <joseph@codesourcery.com>
32513
32514 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32515 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32516 (add_fdes): Likewise.
32517 (linear_search_fdes): Likewise.
32518 (binary_search_unencoded_fdes): Likewise.
32519
32520 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32521
32522 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32523
32524 2012-11-24 Adam Conrad <adconrad@0c3.net>
32525
32526 * configure.in: Autodetect C++ header directories.
32527 * configure: Regenerated.
32528
32529 2012-11-23 Mike Frysinger <vapier@gentoo.org>
32530
32531 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32532
32533 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32534
32535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32536
32537 2012-11-22 Joseph Myers <joseph@codesourcery.com>
32538
32539 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32540 LDBL_MANT_DIG == 106]: Disable some tests.
32541 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32542 Likewise.
32543 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32544 Likewise.
32545
32546 [BZ #14871]
32547 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32548 input for small inputs. Return +/- pi/2 for large inputs.
32549 * math/libm-test.inc (atan_test): Add more tests.
32550
32551 * sysdeps/generic/unwind-dw2-fde-glibc.c
32552 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32553 __attribute__ ((unused)).
32554
32555 [BZ #14645]
32556 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32557 x * y if x and y are nonzero and z is zero.
32558
32559 [BZ #14811]
32560 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32561 nonzero exponents with absolute value below 0x1p-117 to +/-
32562 0x1p-117.
32563
32564 [BZ #14869]
32565 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32566 up arguments below 2**-450, not just those below 2**-500.
32567 * math/libm-test.inc (hypot_test): Add another test.
32568
32569 [BZ #14868]
32570 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32571 Return a+b for ratio over 2**120, not 2**60.
32572 * math/libm-test.inc (hypot_test): Add another test.
32573
32574 * math/libm-test.inc (clog_test): Use
32575 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32576 (clog10_test): Likewise.
32577
32578 [BZ #6778]
32579 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32580
32581 2012-11-22 Andreas Schwab <schwab@suse.de>
32582
32583 * sysdeps/i386/fpu/libm-test-ulps: Update.
32584
32585 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32586
32587 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32588 printf output with newline.
32589
32590 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32591
32592 [BZ #14865]
32593 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32594 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32595 -z nodlopen, -z initfirst and -z execstack support.
32596 * configure: Regenerated.
32597
32598 * elf/elf.h (DF_1_NODIRECT): New macro.
32599 (DF_1_IGNMULDEF): Likewise.
32600 (DF_1_NOKSYMS): Likewise.
32601 (DF_1_NOHDR): Likewise.
32602 (DF_1_EDITED): Likewise.
32603 (DF_1_NORELOC): Likewise.
32604 (DF_1_SYMINTPOSE): Likewise.
32605 (DF_1_GLOBAUDIT): Likewise.
32606 (DF_1_SINGLETON): Likewise.
32607 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32608 DT_1_SUPPORTED_MASK bits.
32609 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32610
32611 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32612
32613 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32614
32615 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32616
32617 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32618 macro.
32619
32620 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32621 (sendmmsg): Move declarations...
32622 * socket/sys/socket.h: ... here.
32623 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32624 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32625 include it from...
32626 * socket/recvmmsg.c: ... this new file.
32627 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32628 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32629 definition of __sendmmsg hidden.
32630 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32631 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32632 Move ENOSYS stub into and include it from...
32633 * socket/sendmmsg.c: ... this new file.
32634 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32635 (sysdep_routines): Move recvmmsg and sendmmsg...
32636 * socket/Makefile (routines): ... here.
32637 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32638 (GLIBC_PRIVATE): Add __sendmmsg.
32639 * include/sys/socket.h (__sendmmsg): Add declarations.
32640 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32641 sendmmsg.
32642
32643 2012-11-20 Joseph Myers <joseph@codesourcery.com>
32644
32645 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32646 variable I1 with __attribute__ ((unused)).
32647 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32648
32649 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32650
32651 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32652 DUMMY variables with __attribute__ ((unused)).
32653
32654 * bits/byteswap.h: Include <bits/types.h>.
32655 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32656
32657 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32658
32659 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32660 string_t. Do not manually set errno.
32661 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32662 length with __strnlen. Make sure to both set errno and return it on
32663 failure.
32664
32665 2012-11-19 David S. Miller <davem@davemloft.net>
32666
32667 With help from Joseph Myers.
32668 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32669 very large arguments properly.
32670 * math/libm-test.inc (atan_test): New tests.
32671 (atan2_test): New tests.
32672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32674
32675 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32676
32677 [BZ #14856]
32678 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32679 Define to 3.
32680
32681 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32682 [POSIX] (EADDRNOTAVAIL): Likewise.
32683 [POSIX] (EAFNOSUPPORT): Likewise.
32684 [POSIX] (EALREADY): Likewise.
32685 [POSIX] (ECONNABORTED): Likewise.
32686 [POSIX] (ECONNREFUSED): Likewise.
32687 [POSIX] (ECONNRESET): Likewise.
32688 [POSIX] (EDESTADDRREQ): Likewise.
32689 [POSIX] (EDQUOT): Likewise.
32690 [POSIX] (EHOSTUNREACH): Likewise.
32691 [POSIX] (EIDRM): Likewise.
32692 [POSIX] (EISCONN): Likewise.
32693 [POSIX] (ELOOP): Likewise.
32694 [POSIX] (EMULTIHOP): Likewise.
32695 [POSIX] (ENETDOWN): Likewise.
32696 [POSIX] (ENETUNREACH): Likewise.
32697 [POSIX] (ENOBUFS): Likewise.
32698 [POSIX] (ENODATA): Likewise.
32699 [POSIX] (ENOLINK): Likewise.
32700 [POSIX] (ENOMSG): Likewise.
32701 [POSIX] (ENOPROTOOPT): Likewise.
32702 [POSIX] (ENOSR): Likewise.
32703 [POSIX] (ENOSTR): Likewise.
32704 [POSIX] (ENOTCONN): Likewise.
32705 [POSIX] (ENOTSOCK): Likewise.
32706 [POSIX] (EOPNOTSUPP): Likewise.
32707 [POSIX] (EOVERFLOW): Likewise.
32708 [POSIX] (EPROTO): Likewise.
32709 [POSIX] (EPROTONOSUPPORT): Likewise.
32710 [POSIX] (EPROTOTYPE): Likewise.
32711 [POSIX] (ESTALE): Likewise.
32712 [POSIX] (ETIME): Likewise.
32713 [POSIX] (ETXTBSY): Likewise.
32714 [POSIX] (EWOULDBLOCK): Likewise.
32715 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32716 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32717 [POSIX] (SEEK_CUR): Likewise.
32718 [POSIX] (SEEK_END): Likewise.
32719 [POSIX || UNIX98] (mode_t): Do not require.
32720 [POSIX] (off_t): Likewise.
32721 [POSIX] (pid_t): Likewise.
32722 [POSIX] (sys/stat.h): Do not allow header.
32723 [POSIX] (unistd.h): Likewise.
32724 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32725 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32726 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32727 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32728 require.
32729 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32730 sigevent): Specify elements.
32731 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32732 entry.
32733 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32734 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32735
32736 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32737 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32738 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32739 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32740 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32741 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32742 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32743 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32744 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32745 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32746 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32747 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32748 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32749 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32750 Likewise.
32751 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32752 Likewise.
32753 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32754 Likewise.
32755 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32756 Likewise.
32757 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32758 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32759 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32760 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32761 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32762 Specify lower bound on value.
32763 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32764 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32765 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32766 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32767 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32768 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32769 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32770 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32771 value.
32772 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32773 as optional.
32774 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32775 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32776 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32777 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32778 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32779 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32780 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32781 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32782 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32783 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32784 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32785 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32786 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32787 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32788 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32789 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32790 entry.
32791 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32792 optional.
32793 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32794 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32795 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32796 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32797 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32798 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32799 Likewise.
32800 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32801 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32802 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32803 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32804 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32805 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32806 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32807 as optional.
32808 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32809 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32810 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32811 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32812 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32813 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32814 specify as optional.
32815 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32816 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32817 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32818 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32819 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32820 [XPG3] (NL_LANGMAX): Likewise.
32821 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32822 [POSIX || XPG3] (NL_NMAX): Likewise.
32823 [POSIX || XPG3] (NL_SETMAX): Likewise.
32824 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32825 [XPG3] (NZERO): Likewise.
32826 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32827 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32828 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32829 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32830 (REG_ERANGE): Expect.
32831 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32832 optional-constant.
32833 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32834 Use (void) in prototype.
32835 [POSIX] (*_t): Allow.
32836 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32837 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32838 (WRDE_BADVAL): Expect.
32839
32840 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32841 expect.
32842 [XPG3 || XPG4] (O_RSYNC): Likewise.
32843 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32844 Likewise.
32845 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32846 [XPG3 || XPG4] (sigqueue): Likewise.
32847 [XPG3 || XPG4] (sigtimedwait): Likewise.
32848 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32849 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32850 [XPG3 || XPG4] (vsnprintf): Likewise.
32851 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32852 Likewise.
32853 [XPG3 || XPG4] (blksize_t): Likewise.
32854 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32855 Likewise.
32856 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32857 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32858 [XPG3 || XPG4] (struct itimerspec): Likewise.
32859 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32860 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32861 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32862 [XPG3 || XPG4] (clockid_t): Likewise.
32863 [XPG3 || XPG4] (timer_t): Likewise.
32864 [XPG3 || XPG4] (clock_getres): Likewise.
32865 [XPG3 || XPG4] (clock_gettime): Likewise.
32866 [XPG3 || XPG4] (clock_settime): Likewise.
32867 [XPG3 || XPG4] (nanosleep): Likewise.
32868 [XPG3 || XPG4] (timer_create): Likewise.
32869 [XPG3 || XPG4] (timer_delete): Likewise.
32870 [XPG3 || XPG4] (timer_gettime): Likewise.
32871 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32872 [XPG3 || XPG4] (timer_settime): Likewise.
32873 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32874 [XPG3 || XPG4] (getlogin_r): Likewise.
32875 [XPG3 || XPG4] (pread): Likewise.
32876 [XPG3 || XPG4] (pthread_atfork): Likewise.
32877 [XPG3 || XPG4] (pwrite): Likewise.
32878
32879 [BZ #14835]
32880 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32881 <bits/siginfo.h>.
32882
32883 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32884
32885 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32886 finalizing MALLSTREAM.
32887
32888 * sysdeps/mach/hurd/syncfs.c: New file.
32889
32890 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32891
32892 [BZ #14719]
32893 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32894 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32895 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32896 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32897 (_nss_dns_gethostbyname4_r): Likewise.
32898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32899 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32900
32901 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
32902
32903 [BZ #13763]
32904 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32905
32906 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32907
32908 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32909 * elf/cache.c (print_entry): Print ",AArch64" for
32910 FLAG_AARCH64_LIB64
32911
32912 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32913 * elf/cache.c (print_entry): Print ",hard-float" for
32914 FLAG_ARM_LIBHF.
32915
32916 2012-11-18 David S. Miller <davem@davemloft.net>
32917
32918 With help from Joseph Myers.
32919 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32920 cutoff to 2**-13.
32921 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32922 cutoff to 2**-25.
32923 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32924 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32925 small.
32926 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32927 * math/libm-test.inc (y0_test): New tests.
32928 (y1_test): New tests.
32929 * sysdeps/i386/fpu/libm-test-ulps: Update.
32930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32932
32933 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
32934
32935 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32936 64-bit targets.
32937 * configure: Regenerated.
32938
32939 2012-11-17 David S. Miller <davem@davemloft.net>
32940
32941 [BZ #14811]
32942 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32943 nonzero exponents with absolute value below 0x1p-128 to +/-
32944 0x1p-128.
32945
32946 2012-11-17 Joseph Myers <joseph@codesourcery.com>
32947
32948 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32949
32950 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32951
32952 * posix/getconf-speclist.c: New file.
32953 * posix/posix-envs.def: Likewise.
32954 * posix/confstr.c (START_ENV_GROUP): New macro.
32955 (END_ENV_GROUP): Likewise.
32956 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32957 (KNOWN_PRESENT_ENV_STRING): Likewise.
32958 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32959 (UNKNOWN_ENVIRONMENT): Likewise.
32960 (confstr): Include posix-envs.def instead of handling
32961 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32962 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32963 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32964 (END_ENV_GROUP): Likewise.
32965 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32966 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32967 (UNKNOWN_ENVIRONMENT): Likewise.
32968 (__sysconf): Include posix-envs.def instead of handling associated
32969 cases directly here.
32970 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32971 preprocessing getconf-speclist.c rather than running getconf or
32972 generating empty file.
32973
32974 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
32975
32976 * scripts/check-local-headers.sh: Ignore 'mach' headers.
32977
32978 2012-11-16 Andrej Lajovic <natrij@gmail.com>
32979
32980 [BZ #14672]
32981 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32982
32983 2012-11-16 David S. Miller <davem@davemloft.net>
32984
32985 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32986 smaller than LDBL_EPSILON/2.0L, just return xm1.
32987
32988 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
32989
32990 * elf/tst-array1.c (init): Set constructor priority to 1000.
32991 (fini): Set destructor priority to 1000.
32992 * elf/tst-array2dep.c: Likewise.
32993
32994 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32995
32996 [BZ #11741]
32997 * libio/fileops.c (_IO_new_file_write): Correctly return error.
32998 (_IO_new_file_xsputn): Also return EOF if none of the input
32999 data was written when overflow failed.
33000 * libio/iopadn.c (_IO_padn): Likewise.
33001 * libio/iowpadn.c (_IO_wpadn): Likewise.
33002 * stdio-common/tst-put-error.c: Add copyright notice.
33003 (do_test): Add case for printing padded string.
33004 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33005 _IO_padn returned error.
33006 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33007 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33008 return EOF.
33009
33010 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33011
33012 * libio/libioP.h: Add comment note that the references to C++
33013 bits are now obsolete.
33014
33015 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33016
33017 * math/libm-test.inc (check_complex): Use asprintf.
33018
33019 2012-11-14 Joseph Myers <joseph@codesourcery.com>
33020
33021 * debug/pcprofiledump.c (print_version): Update copyright year.
33022 * malloc/memusagestat.c (print_version): Likewise.
33023
33024 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33025
33026 [BZ #14831]
33027 * elf/Makefile (tests): Add tst-audit8.
33028 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33029 ($(objpfx)tst-audit8.out): New target.
33030 (tst-audit8-ENV): New variable.
33031 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33032 audit if l_reloc_result is NULL.
33033 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33034 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33035 * elf/tst-audit8.c: New file.
33036
33037 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33038
33039 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33040 * misc/Makefile (CFLAGS-select.c): Define.
33041 * posix/Makefile (CFLAGS-pause.c): Define.
33042
33043 2012-11-13 David S. Miller <davem@davemloft.net>
33044
33045 * crypt/Makefile: Move test targets after toplevel Rules
33046 inclusion. Grab any necessary sysdep routines when linking.
33047 * crypt/md5.c (md5_process_block): Remove define, we will always
33048 name it __md5_process_block.
33049 (md5_finish_ctx): Update md5_process_block call.
33050 (md5_stream): Likewise.
33051 (md5_process_bytes): Likewise.
33052 (md5_process_block): Rename to __md5_process_block and move to ...
33053 * crypt/md5-block.c: ... here.
33054 * crypt/sha256.c (sha256_process_block): Move to ...
33055 * crypt/sha256-block.c: ... here.
33056 * crypt/sha512.c (sha512_process_block): Move to ...
33057 * crypt/sha512-block.c: ... here.
33058 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33059 path.
33060 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33061 * sysdeps/sparc/sparc64/multiarch/Makefile
33062 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33063 crypt subdir.
33064 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33065 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33066 multiarch changes.
33067 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33068 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33069 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33070 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33071 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33072 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33073 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33074 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33075 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33076 file.
33077 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33078 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33079 file.
33080 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33081
33082 2012-11-13 Joseph Myers <joseph@codesourcery.com>
33083
33084 * timezone/tzselect.ksh: Update from tzcode git revision
33085 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33086 * timezone/zdump.c: Likewise.
33087 * timezone/zic.c: Likewise.
33088 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33089 in TZVERSION setting, not $(PKGVERSION).
33090 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33091 REPORT_BUGS_TO settings.
33092
33093 [BZ #14838]
33094 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33095 macro.
33096
33097 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33098
33099 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33100 detection to immediately after _FP_ROUND().
33101 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33102 bits are 0.
33103
33104 2012-11-11 David S. Miller <davem@davemloft.net>
33105
33106 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33107 inttypes.h
33108 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33109 __close rather than their public counterparts.
33110
33111 2012-11-10 Joseph Myers <joseph@codesourcery.com>
33112
33113 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33114 file.
33115 [UNIX98] (sem_timedwait): Do not expect.
33116 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33117 [XPG4 || UNIX98] (sockatmark): Do not expect.
33118 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33119 (clock_getcpuclockid): Do not expect.
33120 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33121 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33122 Do not expect.
33123 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33124 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33125 [UNIX98] (vwscanf): Likewise.
33126 [UNIX98] (vswscanf): Likewise.
33127
33128 2012-11-09 Joseph Myers <joseph@codesourcery.com>
33129
33130 * timezone/version.h: Remove file.
33131 * timezone/README: Do not refer to version.h.
33132 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33133 $(objpfx)version.h.
33134 ($(objpfx)zdump.o): Likewise.
33135 ($(objpfx)version.h): New target.
33136
33137 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33138 2012i.
33139 * timezone/README: Don't mention modification to tzselect.ksh.
33140 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33141 work on unmodified tzselect.ksh. Substitute version numbers in
33142 tzselect.ksh.
33143
33144 * Makefile (format-me): Remove.
33145 (INSTALL): Adjust indentation. Use commands directly instead of
33146 using $(format-me).
33147
33148 * aclocal.m4 (ACX_PKGVERSION): New macro.
33149 (ACX_BUGURL): Likewise.
33150 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33151 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33152 (REPORT_BUGS_TO): Likewise.
33153 * configure: Regenerated.
33154 * config.h.in (PKGVERSION): New macro.
33155 (REPORT_BUGS_TO): Likewise.
33156 * config.make.in (PKGVERSION): New variable.
33157 (PKGVERSION_TEXI): Likewise.
33158 (REPORT_BUGS_TO): Likewise.
33159 (REPORT_BUGS_TEXI): Likewise.
33160 * Makefile (format-me): Use -I$(common-objpfx)manual.
33161 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33162 ($(common-objpfx)manual/%): New target.
33163 (manual/%): Remove target.
33164 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33165 (print_version): Use PKGVERSION.
33166 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33167 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33168 and REPORT_BUGS_TO.
33169 ($(objpfx)xtrace): Likewise.
33170 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33171 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33172 (print_version): Use PKGVERSION.
33173 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33174 (do_version): Use PKGVERSION.
33175 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33176 REPORT_BUGS_TO.
33177 (common-ldd-rewrite): Likewise.
33178 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33179 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33180 (print_version): Use PKGVERSION.
33181 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33182 * elf/pldd.c (argp_program_bug_address): Remove variable.
33183 (more_help): New function.
33184 (argp): Use more_help.
33185 (print_version): Use PKGVERSION.
33186 * elf/sln.c (main): Use PKGVERSION.
33187 (usage): Use REPORT_BUGS_TO.
33188 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33189 (top level): Use PKGVERSION.
33190 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33191 (print_version): Use PKGVERSION.
33192 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33193 (print_version): Use PKGVERSION.
33194 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33195 (print_version): Use PKGVERSION.
33196 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33197 (print_version): Use PKGVERSION.
33198 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33199 (print_version): Use PKGVERSION.
33200 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33201 (print_version): Use PKGVERSION.
33202 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33203 and BUGURL.
33204 ($(objpfx)memusage): Likewise.
33205 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33206 (do_version): Use PKGVERSION.
33207 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33208 (print_version): Use PKGVERSION.
33209 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33210 ($PKGVERSION): New variable.
33211 ($REPORT_BUGS_TO): Likewise.
33212 (usage): Use $REPORT_BUGS_TO.
33213 (top level): Use $PKGVERSION.
33214 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33215 ($(objpfx)pkgvers.texi): New rule.
33216 ($(objpfx)stamp-pkgvers): Likewise.
33217 * manual/install.texi: Include pkgvers.texi.
33218 (--with-pkgversion): Document new configure option.
33219 (--with-bugurl): Likewise.
33220 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33221 than necessarily for this particular distribution. Use
33222 REPORT_BUGS_TO for where to report bugs.
33223 * INSTALL: Regenerated.
33224 * manual/libc.texinfo: Include pkgvers.texi.
33225 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33226 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33227 (print_version): Use PKGVERSION.
33228 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33229 (print_version): Use PKGVERSION.
33230 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33231 (print_version): Use PKGVERSION.
33232 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33233 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33234 macro.
33235 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33236 (print_version): Use PKGVERSION.
33237 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33238 (print_version): Use PKGVERSION.
33239 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33240 and PKGVERSION.
33241
33242 * timezone/checktab.awk: Update from tzcode 2012i.
33243 * timezone/ialloc.c: Likewise.
33244 * timezone/private.h: Likewise.
33245 * timezone/scheck.c: Likewise.
33246 * timezone/tzfile.h: Likewise.
33247 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33248 (TZVERSION): Hardcode tzcode version number.
33249 * timezone/zdump.c: Update from tzcode 2012i.
33250 * timezone/zic.c: Likewise.
33251 * timezone/version.h: New file.
33252 * timezone/README: Describe version.h. Update upstream location.
33253
33254 [BZ #14824]
33255 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33256 (mktemp): Enable declaration.
33257 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33258 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33259 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33260 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33261 Likewise.
33262 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33263 Likewise.
33264 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33265 Likewise.
33266 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33267 Likewise.
33268 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33269 Likewise.
33270 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33271 Likewise.
33272
33273 [BZ #14821]
33274 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33275 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33276 for copies of such integer values.
33277 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33278 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33279
33280 2012-11-09 Andreas Jaeger <aj@suse.de>
33281
33282 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33283 definitions and declarations that are provided by
33284 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33285
33286 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33287
33288 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33289 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33290 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33291 definition.
33292
33293 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33294
33295 * elf/elf.h: Update comment before AArch64 relocations.
33296
33297 2012-11-07 David S. Miller <davem@davemloft.net>
33298
33299 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33300 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33301 (__start_context): Declare.
33302 (__makecontext_ret): Delete.
33303 (__makecontext): Hook up __start_context instead of
33304 __makecontext_ret.
33305 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33306 (sysdep_routines): Add __start_context when in stdlib.
33307
33308 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33309
33310 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33311 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33312 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33313 hardcoded "nm".
33314 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33315 (READELF): New variable. Use it instead of hardcoded "readelf".
33316
33317 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33318
33319 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33320 * sysdeps/x86/Makefile: Here.
33321 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33322 * sysdeps/x86/tst-xmmymm.sh: This.
33323
33324 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33325
33326 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33327 expectations.
33328 [UNIX98] (pthread_barrier_t): Do not expect.
33329 [UNIX98] (pthread_barrierattr_t): Likewise.
33330 [UNIX98] (pthread_spinlock_t): Likewise.
33331 [UNIX98] (pthread_barrier_destroy): Likewise.
33332 [UNIX98] (pthread_barrier_init): Likewise.
33333 [UNIX98] (pthread_barrier_wait): Likewise.
33334 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33335 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33336 [UNIX98] (pthread_barrierattr_init): Likewise.
33337 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33338 [UNIX98] (pthread_getcpuclockid): Likewise.
33339 [UNIX98] (pthread_mutex_timedlock): Likewise.
33340 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33341 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33342 [UNIX98] (pthread_sigmask): Likewise.
33343 [UNIX98] (pthread_spin_destroy): Likewise.
33344 [UNIX98] (pthread_spin_init): Likewise.
33345 [UNIX98] (pthread_spin_lock): Likewise.
33346 [UNIX98] (pthread_spin_trylock): Likewise.
33347 [UNIX98] (pthread_spin_unlock): Likewise.
33348 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33349 Do not expect.
33350 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33351 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33352 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33353 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33354 [XPG3 || XPG4] (pthread_key_t): Likewise.
33355 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33356 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33357 [XPG3 || XPG4] (pthread_once_t): Likewise.
33358 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33359 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33360 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33361 [XPG3 || XPG4] (pthread_t): Likewise.
33362
33363 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33364 not expect.
33365 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33366
33367 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33368 Change function return type to int.
33369
33370 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33371 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33372 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33373 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33374 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33375 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33376 [!POSIX] (posix_madvise): Likewise.
33377 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33378 && !UNIX98].
33379 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33380 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33381 (mode_t): Likewise.
33382 (posix_mem_offset): Likewise.
33383 (posix_typed_mem_get_info): Likewise.
33384 (posix_typed_mem_open): Likewise.
33385
33386 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33387 Change condition to [XOPEN2K8].
33388
33389 * conform/conformtest.pl: Preprocess allow-header data with -x c
33390 instead of from stdin.
33391 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33392 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33393 [C99-based standards] (cerfc): Likewise.
33394 [C99-based standards] (cexp2): Likewise.
33395 [C99-based standards] (cexpm1): Likewise.
33396 [C99-based standards] (clog10): Likewise.
33397 [C99-based standards] (clog1p): Likewise.
33398 [C99-based standards] (clog2): Likewise.
33399 [C99-based standards] (clgamma): Likewise.
33400 [C99-based standards] (ctgamma): Likewise.
33401 [C99-based standards] (cerff): Likewise.
33402 [C99-based standards] (cerfcf): Likewise.
33403 [C99-based standards] (cexp2f): Likewise.
33404 [C99-based standards] (cexpm1f): Likewise.
33405 [C99-based standards] (clog10f): Likewise.
33406 [C99-based standards] (clog1pf): Likewise.
33407 [C99-based standards] (clog2f): Likewise.
33408 [C99-based standards] (clgammaf): Likewise.
33409 [C99-based standards] (ctgammaf): Likewise.
33410 [C99-based standards] (cerfl): Likewise.
33411 [C99-based standards] (cerfcl): Likewise.
33412 [C99-based standards] (cexp2l): Likewise.
33413 [C99-based standards] (cexpm1l): Likewise.
33414 [C99-based standards] (clog10l): Likewise.
33415 [C99-based standards] (clog1pl): Likewise.
33416 [C99-based standards] (clog2l): Likewise.
33417 [C99-based standards] (clgammal): Likewise.
33418 [C99-based standards] (ctgammal): Likewise.
33419 * conform/data/inttypes.h-data [C99-based standards]: Include
33420 stdint.h-data. Remove all expectations for stdint.h contents.
33421 [C99-based standards] (PRI*): Do not allow.
33422 [C99-based standards] (SCN*): Likewise.
33423 [C99-based standards] (*_t): Likewise.
33424 [C99-based-standards] (PRId8): Expect macro.
33425 [C99-based-standards] (PRIi8): Likewise.
33426 [C99-based-standards] (PRIo8): Likewise.
33427 [C99-based-standards] (PRIu8): Likewise.
33428 [C99-based-standards] (PRIx8): Likewise.
33429 [C99-based-standards] (PRIX8): Likewise.
33430 [C99-based-standards] (SCNd8): Likewise.
33431 [C99-based-standards] (SCNi8): Likewise.
33432 [C99-based-standards] (SCNo8): Likewise.
33433 [C99-based-standards] (SCNu8): Likewise.
33434 [C99-based-standards] (SCNx8): Likewise.
33435 [C99-based-standards] (PRIdLEAST8): Likewise.
33436 [C99-based-standards] (PRIiLEAST8): Likewise.
33437 [C99-based-standards] (PRIoLEAST8): Likewise.
33438 [C99-based-standards] (PRIuLEAST8): Likewise.
33439 [C99-based-standards] (PRIxLEAST8): Likewise.
33440 [C99-based-standards] (PRIXLEAST8): Likewise.
33441 [C99-based-standards] (SCNdLEAST8): Likewise.
33442 [C99-based-standards] (SCNiLEAST8): Likewise.
33443 [C99-based-standards] (SCNoLEAST8): Likewise.
33444 [C99-based-standards] (SCNuLEAST8): Likewise.
33445 [C99-based-standards] (SCNxLEAST8): Likewise.
33446 [C99-based-standards] (PRIdFAST8): Likewise.
33447 [C99-based-standards] (PRIiFAST8): Likewise.
33448 [C99-based-standards] (PRIoFAST8): Likewise.
33449 [C99-based-standards] (PRIuFAST8): Likewise.
33450 [C99-based-standards] (PRIxFAST8): Likewise.
33451 [C99-based-standards] (PRIXFAST8): Likewise.
33452 [C99-based-standards] (SCNdFAST8): Likewise.
33453 [C99-based-standards] (SCNiFAST8): Likewise.
33454 [C99-based-standards] (SCNoFAST8): Likewise.
33455 [C99-based-standards] (SCNuFAST8): Likewise.
33456 [C99-based-standards] (SCNxFAST8): Likewise.
33457 [C99-based-standards] (PRId16): Likewise.
33458 [C99-based-standards] (PRIi16): Likewise.
33459 [C99-based-standards] (PRIo16): Likewise.
33460 [C99-based-standards] (PRIu16): Likewise.
33461 [C99-based-standards] (PRIx16): Likewise.
33462 [C99-based-standards] (PRIX16): Likewise.
33463 [C99-based-standards] (SCNd16): Likewise.
33464 [C99-based-standards] (SCNi16): Likewise.
33465 [C99-based-standards] (SCNo16): Likewise.
33466 [C99-based-standards] (SCNu16): Likewise.
33467 [C99-based-standards] (SCNx16): Likewise.
33468 [C99-based-standards] (PRIdLEAST16): Likewise.
33469 [C99-based-standards] (PRIiLEAST16): Likewise.
33470 [C99-based-standards] (PRIoLEAST16): Likewise.
33471 [C99-based-standards] (PRIuLEAST16): Likewise.
33472 [C99-based-standards] (PRIxLEAST16): Likewise.
33473 [C99-based-standards] (PRIXLEAST16): Likewise.
33474 [C99-based-standards] (SCNdLEAST16): Likewise.
33475 [C99-based-standards] (SCNiLEAST16): Likewise.
33476 [C99-based-standards] (SCNoLEAST16): Likewise.
33477 [C99-based-standards] (SCNuLEAST16): Likewise.
33478 [C99-based-standards] (SCNxLEAST16): Likewise.
33479 [C99-based-standards] (PRIdFAST16): Likewise.
33480 [C99-based-standards] (PRIiFAST16): Likewise.
33481 [C99-based-standards] (PRIoFAST16): Likewise.
33482 [C99-based-standards] (PRIuFAST16): Likewise.
33483 [C99-based-standards] (PRIxFAST16): Likewise.
33484 [C99-based-standards] (PRIXFAST16): Likewise.
33485 [C99-based-standards] (SCNdFAST16): Likewise.
33486 [C99-based-standards] (SCNiFAST16): Likewise.
33487 [C99-based-standards] (SCNoFAST16): Likewise.
33488 [C99-based-standards] (SCNuFAST16): Likewise.
33489 [C99-based-standards] (SCNxFAST16): Likewise.
33490 [C99-based-standards] (PRId32): Likewise.
33491 [C99-based-standards] (PRIi32): Likewise.
33492 [C99-based-standards] (PRIo32): Likewise.
33493 [C99-based-standards] (PRIu32): Likewise.
33494 [C99-based-standards] (PRIx32): Likewise.
33495 [C99-based-standards] (PRIX32): Likewise.
33496 [C99-based-standards] (SCNd32): Likewise.
33497 [C99-based-standards] (SCNi32): Likewise.
33498 [C99-based-standards] (SCNo32): Likewise.
33499 [C99-based-standards] (SCNu32): Likewise.
33500 [C99-based-standards] (SCNx32): Likewise.
33501 [C99-based-standards] (PRIdLEAST32): Likewise.
33502 [C99-based-standards] (PRIiLEAST32): Likewise.
33503 [C99-based-standards] (PRIoLEAST32): Likewise.
33504 [C99-based-standards] (PRIuLEAST32): Likewise.
33505 [C99-based-standards] (PRIxLEAST32): Likewise.
33506 [C99-based-standards] (PRIXLEAST32): Likewise.
33507 [C99-based-standards] (SCNdLEAST32): Likewise.
33508 [C99-based-standards] (SCNiLEAST32): Likewise.
33509 [C99-based-standards] (SCNoLEAST32): Likewise.
33510 [C99-based-standards] (SCNuLEAST32): Likewise.
33511 [C99-based-standards] (SCNxLEAST32): Likewise.
33512 [C99-based-standards] (PRIdFAST32): Likewise.
33513 [C99-based-standards] (PRIiFAST32): Likewise.
33514 [C99-based-standards] (PRIoFAST32): Likewise.
33515 [C99-based-standards] (PRIuFAST32): Likewise.
33516 [C99-based-standards] (PRIxFAST32): Likewise.
33517 [C99-based-standards] (PRIXFAST32): Likewise.
33518 [C99-based-standards] (SCNdFAST32): Likewise.
33519 [C99-based-standards] (SCNiFAST32): Likewise.
33520 [C99-based-standards] (SCNoFAST32): Likewise.
33521 [C99-based-standards] (SCNuFAST32): Likewise.
33522 [C99-based-standards] (SCNxFAST32): Likewise.
33523 [C99-based-standards] (PRId64): Likewise.
33524 [C99-based-standards] (PRIi64): Likewise.
33525 [C99-based-standards] (PRIo64): Likewise.
33526 [C99-based-standards] (PRIu64): Likewise.
33527 [C99-based-standards] (PRIx64): Likewise.
33528 [C99-based-standards] (PRIX64): Likewise.
33529 [C99-based-standards] (SCNd64): Likewise.
33530 [C99-based-standards] (SCNi64): Likewise.
33531 [C99-based-standards] (SCNo64): Likewise.
33532 [C99-based-standards] (SCNu64): Likewise.
33533 [C99-based-standards] (SCNx64): Likewise.
33534 [C99-based-standards] (PRIdLEAST64): Likewise.
33535 [C99-based-standards] (PRIiLEAST64): Likewise.
33536 [C99-based-standards] (PRIoLEAST64): Likewise.
33537 [C99-based-standards] (PRIuLEAST64): Likewise.
33538 [C99-based-standards] (PRIxLEAST64): Likewise.
33539 [C99-based-standards] (PRIXLEAST64): Likewise.
33540 [C99-based-standards] (SCNdLEAST64): Likewise.
33541 [C99-based-standards] (SCNiLEAST64): Likewise.
33542 [C99-based-standards] (SCNoLEAST64): Likewise.
33543 [C99-based-standards] (SCNuLEAST64): Likewise.
33544 [C99-based-standards] (SCNxLEAST64): Likewise.
33545 [C99-based-standards] (PRIdFAST64): Likewise.
33546 [C99-based-standards] (PRIiFAST64): Likewise.
33547 [C99-based-standards] (PRIoFAST64): Likewise.
33548 [C99-based-standards] (PRIuFAST64): Likewise.
33549 [C99-based-standards] (PRIxFAST64): Likewise.
33550 [C99-based-standards] (PRIXFAST64): Likewise.
33551 [C99-based-standards] (SCNdFAST64): Likewise.
33552 [C99-based-standards] (SCNiFAST64): Likewise.
33553 [C99-based-standards] (SCNoFAST64): Likewise.
33554 [C99-based-standards] (SCNuFAST64): Likewise.
33555 [C99-based-standards] (SCNxFAST64): Likewise.
33556 [C99-based-standards] (PRIdMAX): Likewise.
33557 [C99-based-standards] (PRIiMAX): Likewise.
33558 [C99-based-standards] (PRIoMAX): Likewise.
33559 [C99-based-standards] (PRIuMAX): Likewise.
33560 [C99-based-standards] (PRIxMAX): Likewise.
33561 [C99-based-standards] (PRIXMAX): Likewise.
33562 [C99-based-standards] (SCNdMAX): Likewise.
33563 [C99-based-standards] (SCNiMAX): Likewise.
33564 [C99-based-standards] (SCNoMAX): Likewise.
33565 [C99-based-standards] (SCNuMAX): Likewise.
33566 [C99-based-standards] (SCNxMAX): Likewise.
33567 [C99-based-standards] (PRIdPTR): Likewise.
33568 [C99-based-standards] (PRIiPTR): Likewise.
33569 [C99-based-standards] (PRIoPTR): Likewise.
33570 [C99-based-standards] (PRIuPTR): Likewise.
33571 [C99-based-standards] (PRIxPTR): Likewise.
33572 [C99-based-standards] (PRIXPTR): Likewise.
33573 [C99-based-standards] (SCNdPTR): Likewise.
33574 [C99-based-standards] (SCNiPTR): Likewise.
33575 [C99-based-standards] (SCNoPTR): Likewise.
33576 [C99-based-standards] (SCNuPTR): Likewise.
33577 [C99-based-standards] (SCNxPTR): Likewise.
33578 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33579 allow.
33580 * conform/data/stdint.h-data: Update comments to clarify
33581 requirements.
33582 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33583 type.
33584 [C99-based standards] (INT8_MAX): Likewise.
33585 [C99-based standards] (INT16_MIN): Likewise.
33586 [C99-based standards] (INT16_MAX): Likewise.
33587 [C99-based standards] (INT32_MIN): Likewise.
33588 [C99-based standards] (INT32_MAX): Likewise.
33589 [C99-based standards] (INT64_MIN): Likewise.
33590 [C99-based standards] (INT64_MAX): Likewise.
33591 [C99-based standards] (UINT8_MAX): Likewise.
33592 [C99-based standards] (UINT16_MAX): Likewise.
33593 [C99-based standards] (UINT32_MAX): Likewise.
33594 [C99-based standards] (UINT64_MAX): Likewise.
33595 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33596 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33597 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33598 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33599 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33600 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33601 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33602 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33603 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33604 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33605 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33606 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33607 [C99-based standards] (INT_FAST8_MIN): Likewise.
33608 [C99-based standards] (INT_FAST8_MAX): Likewise.
33609 [C99-based standards] (INT_FAST16_MIN): Likewise.
33610 [C99-based standards] (INT_FAST16_MAX): Likewise.
33611 [C99-based standards] (INT_FAST32_MIN): Likewise.
33612 [C99-based standards] (INT_FAST32_MAX): Likewise.
33613 [C99-based standards] (INT_FAST64_MIN): Likewise.
33614 [C99-based standards] (INT_FAST64_MAX): Likewise.
33615 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33616 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33617 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33618 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33619 [C99-based standards] (INTPTR_MIN): Likewise.
33620 [C99-based standards] (INTPTR_MAX): Likewise.
33621 [C99-based standards] (UINTPTR_MAX): Likewise.
33622 [C99-based standards] (INTMAX_MIN): Likewise.
33623 [C99-based standards] (INTMAX_MAX): Likewise.
33624 [C99-based standards] (UINTMAX_MAX): Likewise.
33625 [C99-based standards] (PTRDIFF_MIN): Likewise.
33626 [C99-based standards] (PTRDIFF_MAX): Likewise.
33627 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33628 [C99-based standards] (SIZE_MAX): Likewise.
33629 [C99-based standards] (WCHAR_MAX): Likewise.
33630 [C99-based standards] (WINT_MAX): Likewise.
33631 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33632 constraint on value.
33633 [C99-based standards] (WCHAR_MIN): Likewise.
33634 [C99-based standards] (WINT_MIN): Likewise.
33635 [C99-based standards] (*_t): Allow.
33636 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33637 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33638 Include math.h-data and complex.h-data. Remove all expectations
33639 of math.h and complex.h contents.
33640 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33641 at end of line.
33642 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33643 (struct tm): Expect tag.
33644 [C99-based-standards] (wcstof): Expect function.
33645 [C99-based-standards] (wcstold): Likewise.
33646 [C99-based-standards] (wcstoll): Likewise.
33647 [C99-based-standards] (wcstoull): Likewise.
33648 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33649 macro-int-constant. Specify type.
33650 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33651 constraint on value.
33652 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33653 Specify type.
33654 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33655 Specify value.
33656 [ISO C standards]: Do not allow headers.
33657 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33658 wcs[abcdefghijklmnopqrstuvwxyz]*.
33659 [ISO C standards] (*_t): Do not allow.
33660 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33661 Expect function.
33662 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33663 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33664 Specify type.
33665 [ISO C standards]: Do not allow headers.
33666 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33667 is[abcdefghijklmnopqrstuvwxyz]*.
33668 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33669 to[abcdefghijklmnopqrstuvwxyz]*.
33670 [ISO C standards] (*_t): Do not allow.
33671 * conform/data/stdalign.h-data: New file.
33672 * conform/data/stdbool.h-data: Likewise.
33673 * conform/data/stdnoreturn.h-data: Likewise.
33674
33675 2012-11-07 Roland McGrath <roland@hack.frob.com>
33676
33677 [BZ #14815]
33678 * manual/filesys.texi (Directory Entries): Typo fix.
33679 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33680
33681 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33682
33683 * elf/elf.h (EM_AARCH64): New macro.
33684 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33685 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33686 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33687 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33688 (R_AARCH64_TLSDESC): Likewise.
33689 (NT_ARM_TLS): Likewise.
33690 (NT_ARM_HW_BREAK): Likewise.
33691 (NT_ARM_HW_WATCH): Likewise.
33692
33693 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33694
33695 [BZ #14811]
33696 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33697 (__ieee754_powl): Saturate nonzero exponents with absolute value
33698 below 0x1p-79 to +/- 0x1p-79.
33699 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33700 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33701 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33702 nonzero exponents with absolute value below 0x1p-32 to +/-
33703 0x1p-32.
33704 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33705 (__ieee754_powl): Saturate nonzero exponents with absolute value
33706 below 0x1p-79 to +/- 0x1p-79.
33707 * math/libm-test.inc (pow_test): Add more tests.
33708
33709 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33710
33711 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33712 _dl_s390_cap_flags with kernel. Increase string length.
33713 (_dl_s390_platforms): Add z196 and zEC12.
33714
33715 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33716
33717 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33718 Change XOPEN21K to XOPEN2K.
33719
33720 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33721
33722 * string/memmove.c: Use memcpy when possible.
33723
33724 2012-11-06 Andreas Jaeger <aj@suse.de>
33725
33726 * po/eo.po: Update from translation team.
33727
33728 2012-11-06 Joseph Myers <joseph@codesourcery.com>
33729
33730 [BZ #14793]
33731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33732 exponent and small x and y exponents, scale x or y up. Increase
33733 by 2 the exponent used in scaling up.
33734 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33735 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33736 * math/libm-test.inc (fma_test): Add more tests.
33737 (fma_test_towardzero): Likewise.
33738 (fma_test_downward): Likewise.
33739 (fma_test_upward): Likewise.
33740
33741 2012-11-05 Joseph Myers <joseph@codesourcery.com>
33742
33743 [BZ #14805]
33744 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33745 fenv_t *.
33746
33747 [BZ #14801]
33748 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33749 namespace for names of struct fields.
33750 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33751 fenv_t fields.
33752 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33753 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33754
33755 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33756
33757 [BZ #3665]
33758 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33759
33760 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33761
33762 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33763 PTR_DEMANGLE.
33764
33765 [BZ #5246]
33766 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33767 PTR_DEMANGLE.
33768
33769 2012-11-04 Joseph Myers <joseph@codesourcery.com>
33770
33771 [BZ #14797]
33772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33773 definitely overflow as x * y not x * y + z.
33774 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33775 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33776 * math/libm-test.inc (fma_test): Add more tests.
33777 (fma_test_towardzero): Likewise.
33778 (fma_test_downward): Likewise.
33779 (fma_test_upward): Likewise.
33780
33781 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33782
33783 [BZ #157]
33784
33785 * include/stub-tag.h: Remove file.
33786 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33787 '#include' of it.
33788 * manual/maint.texi (Porting): Don't reference it.
33789 * Makerules ($(objpfx)stubs): Likewise.
33790 * dirent/closedir.c: Don't include <stub-tag.h>.
33791 * dirent/dirfd.c: Likewise.
33792 * dirent/fdopendir.c: Likewise.
33793 * dirent/getdents.c: Likewise.
33794 * dirent/getdents64.c: Likewise.
33795 * dirent/opendir.c: Likewise.
33796 * dirent/readdir.c: Likewise.
33797 * dirent/readdir64.c: Likewise.
33798 * dirent/readdir64_r.c: Likewise.
33799 * dirent/readdir_r.c: Likewise.
33800 * dirent/rewinddir.c: Likewise.
33801 * dirent/seekdir.c: Likewise.
33802 * dirent/telldir.c: Likewise.
33803 * gmon/profil.c: Likewise.
33804 * grp/setgroups.c: Likewise.
33805 * inet/if_index.c: Likewise.
33806 * io/access.c: Likewise.
33807 * io/chdir.c: Likewise.
33808 * io/chmod.c: Likewise.
33809 * io/chown.c: Likewise.
33810 * io/close.c: Likewise.
33811 * io/dup.c: Likewise.
33812 * io/dup2.c: Likewise.
33813 * io/dup3.c: Likewise.
33814 * io/euidaccess.c: Likewise.
33815 * io/faccessat.c: Likewise.
33816 * io/fchdir.c: Likewise.
33817 * io/fchmod.c: Likewise.
33818 * io/fchmodat.c: Likewise.
33819 * io/fchown.c: Likewise.
33820 * io/fchownat.c: Likewise.
33821 * io/fcntl.c: Likewise.
33822 * io/flock.c: Likewise.
33823 * io/fstatfs.c: Likewise.
33824 * io/fstatfs64.c: Likewise.
33825 * io/fstatvfs.c: Likewise.
33826 * io/fstatvfs64.c: Likewise.
33827 * io/futimens.c: Likewise.
33828 * io/fxstat.c: Likewise.
33829 * io/fxstat64.c: Likewise.
33830 * io/fxstatat.c: Likewise.
33831 * io/fxstatat64.c: Likewise.
33832 * io/getcwd.c: Likewise.
33833 * io/isatty.c: Likewise.
33834 * io/lchmod.c: Likewise.
33835 * io/lchown.c: Likewise.
33836 * io/link.c: Likewise.
33837 * io/linkat.c: Likewise.
33838 * io/lseek.c: Likewise.
33839 * io/lseek64.c: Likewise.
33840 * io/lxstat64.c: Likewise.
33841 * io/mkdir.c: Likewise.
33842 * io/mkdirat.c: Likewise.
33843 * io/mkfifo.c: Likewise.
33844 * io/mkfifoat.c: Likewise.
33845 * io/open.c: Likewise.
33846 * io/open64.c: Likewise.
33847 * io/openat.c: Likewise.
33848 * io/openat64.c: Likewise.
33849 * io/pipe.c: Likewise.
33850 * io/pipe2.c: Likewise.
33851 * io/poll.c: Likewise.
33852 * io/posix_fadvise.c: Likewise.
33853 * io/posix_fadvise64.c: Likewise.
33854 * io/posix_fallocate.c: Likewise.
33855 * io/posix_fallocate64.c: Likewise.
33856 * io/read.c: Likewise.
33857 * io/readlink.c: Likewise.
33858 * io/readlinkat.c: Likewise.
33859 * io/rmdir.c: Likewise.
33860 * io/sendfile.c: Likewise.
33861 * io/sendfile64.c: Likewise.
33862 * io/statfs.c: Likewise.
33863 * io/statfs64.c: Likewise.
33864 * io/statvfs.c: Likewise.
33865 * io/statvfs64.c: Likewise.
33866 * io/symlink.c: Likewise.
33867 * io/symlinkat.c: Likewise.
33868 * io/ttyname.c: Likewise.
33869 * io/ttyname_r.c: Likewise.
33870 * io/umask.c: Likewise.
33871 * io/unlink.c: Likewise.
33872 * io/unlinkat.c: Likewise.
33873 * io/utime.c: Likewise.
33874 * io/utimensat.c: Likewise.
33875 * io/write.c: Likewise.
33876 * io/xmknod.c: Likewise.
33877 * io/xmknodat.c: Likewise.
33878 * io/xstat.c: Likewise.
33879 * io/xstat64.c: Likewise.
33880 * login/getpt.c: Likewise.
33881 * login/grantpt.c: Likewise.
33882 * login/unlockpt.c: Likewise.
33883 * math/e_acoshl.c: Likewise.
33884 * math/e_acosl.c: Likewise.
33885 * math/e_asinl.c: Likewise.
33886 * math/e_atan2l.c: Likewise.
33887 * math/e_atanhl.c: Likewise.
33888 * math/e_coshl.c: Likewise.
33889 * math/e_expl.c: Likewise.
33890 * math/e_fmodl.c: Likewise.
33891 * math/e_gammal_r.c: Likewise.
33892 * math/e_hypotl.c: Likewise.
33893 * math/e_j0l.c: Likewise.
33894 * math/e_j1l.c: Likewise.
33895 * math/e_jnl.c: Likewise.
33896 * math/e_lgammal_r.c: Likewise.
33897 * math/e_log10l.c: Likewise.
33898 * math/e_log2l.c: Likewise.
33899 * math/e_logl.c: Likewise.
33900 * math/e_powl.c: Likewise.
33901 * math/e_rem_pio2l.c: Likewise.
33902 * math/e_sinhl.c: Likewise.
33903 * math/e_sqrtl.c: Likewise.
33904 * math/fclrexcpt.c: Likewise.
33905 * math/fedisblxcpt.c: Likewise.
33906 * math/feenablxcpt.c: Likewise.
33907 * math/fegetenv.c: Likewise.
33908 * math/fegetexcept.c: Likewise.
33909 * math/fegetround.c: Likewise.
33910 * math/feholdexcpt.c: Likewise.
33911 * math/fesetenv.c: Likewise.
33912 * math/fesetround.c: Likewise.
33913 * math/feupdateenv.c: Likewise.
33914 * math/fgetexcptflg.c: Likewise.
33915 * math/fraiseexcpt.c: Likewise.
33916 * math/fsetexcptflg.c: Likewise.
33917 * math/ftestexcept.c: Likewise.
33918 * math/k_cosl.c: Likewise.
33919 * math/k_rem_pio2l.c: Likewise.
33920 * math/k_sinl.c: Likewise.
33921 * math/k_tanl.c: Likewise.
33922 * math/s_asinhl.c: Likewise.
33923 * math/s_atanl.c: Likewise.
33924 * math/s_cbrtl.c: Likewise.
33925 * math/s_erfl.c: Likewise.
33926 * math/s_expm1l.c: Likewise.
33927 * math/s_log1pl.c: Likewise.
33928 * math/s_tanhl.c: Likewise.
33929 * misc/acct.c: Likewise.
33930 * misc/brk.c: Likewise.
33931 * misc/chflags.c: Likewise.
33932 * misc/chroot.c: Likewise.
33933 * misc/fchflags.c: Likewise.
33934 * misc/fgetxattr.c: Likewise.
33935 * misc/flistxattr.c: Likewise.
33936 * misc/fremovexattr.c: Likewise.
33937 * misc/fsetxattr.c: Likewise.
33938 * misc/fsync.c: Likewise.
33939 * misc/ftruncate.c: Likewise.
33940 * misc/futimes.c: Likewise.
33941 * misc/futimesat.c: Likewise.
33942 * misc/getdomain.c: Likewise.
33943 * misc/getdtsz.c: Likewise.
33944 * misc/gethostid.c: Likewise.
33945 * misc/gethostname.c: Likewise.
33946 * misc/getloadavg.c: Likewise.
33947 * misc/getpagesize.c: Likewise.
33948 * misc/getsysstats.c: Likewise.
33949 * misc/getxattr.c: Likewise.
33950 * misc/gtty.c: Likewise.
33951 * misc/ioctl.c: Likewise.
33952 * misc/lgetxattr.c: Likewise.
33953 * misc/listxattr.c: Likewise.
33954 * misc/llistxattr.c: Likewise.
33955 * misc/lremovexattr.c: Likewise.
33956 * misc/lsetxattr.c: Likewise.
33957 * misc/lutimes.c: Likewise.
33958 * misc/madvise.c: Likewise.
33959 * misc/mincore.c: Likewise.
33960 * misc/mlock.c: Likewise.
33961 * misc/mlockall.c: Likewise.
33962 * misc/mmap.c: Likewise.
33963 * misc/mprotect.c: Likewise.
33964 * misc/msync.c: Likewise.
33965 * misc/munlock.c: Likewise.
33966 * misc/munlockall.c: Likewise.
33967 * misc/munmap.c: Likewise.
33968 * misc/preadv.c: Likewise.
33969 * misc/preadv64.c: Likewise.
33970 * misc/ptrace.c: Likewise.
33971 * misc/pwritev.c: Likewise.
33972 * misc/pwritev64.c: Likewise.
33973 * misc/readv.c: Likewise.
33974 * misc/reboot.c: Likewise.
33975 * misc/remap_file_pages.c: Likewise.
33976 * misc/removexattr.c: Likewise.
33977 * misc/revoke.c: Likewise.
33978 * misc/select.c: Likewise.
33979 * misc/setdomain.c: Likewise.
33980 * misc/setegid.c: Likewise.
33981 * misc/seteuid.c: Likewise.
33982 * misc/sethostid.c: Likewise.
33983 * misc/sethostname.c: Likewise.
33984 * misc/setregid.c: Likewise.
33985 * misc/setreuid.c: Likewise.
33986 * misc/setxattr.c: Likewise.
33987 * misc/sstk.c: Likewise.
33988 * misc/stty.c: Likewise.
33989 * misc/swapoff.c: Likewise.
33990 * misc/swapon.c: Likewise.
33991 * misc/sync.c: Likewise.
33992 * misc/syncfs.c: Likewise.
33993 * misc/syscall.c: Likewise.
33994 * misc/truncate.c: Likewise.
33995 * misc/ualarm.c: Likewise.
33996 * misc/usleep.c: Likewise.
33997 * misc/ustat.c: Likewise.
33998 * misc/utimes.c: Likewise.
33999 * misc/vhangup.c: Likewise.
34000 * misc/writev.c: Likewise.
34001 * posix/_exit.c: Likewise.
34002 * posix/alarm.c: Likewise.
34003 * posix/execve.c: Likewise.
34004 * posix/fexecve.c: Likewise.
34005 * posix/fork.c: Likewise.
34006 * posix/fpathconf.c: Likewise.
34007 * posix/getaddrinfo.c: Likewise.
34008 * posix/getegid.c: Likewise.
34009 * posix/geteuid.c: Likewise.
34010 * posix/getgid.c: Likewise.
34011 * posix/getgroups.c: Likewise.
34012 * posix/getlogin.c: Likewise.
34013 * posix/getlogin_r.c: Likewise.
34014 * posix/getpgid.c: Likewise.
34015 * posix/getpid.c: Likewise.
34016 * posix/getppid.c: Likewise.
34017 * posix/getresgid.c: Likewise.
34018 * posix/getresuid.c: Likewise.
34019 * posix/getsid.c: Likewise.
34020 * posix/getuid.c: Likewise.
34021 * posix/glob64.c: Likewise.
34022 * posix/nanosleep.c: Likewise.
34023 * posix/pathconf.c: Likewise.
34024 * posix/pause.c: Likewise.
34025 * posix/posix_madvise.c: Likewise.
34026 * posix/pread.c: Likewise.
34027 * posix/pread64.c: Likewise.
34028 * posix/pwrite.c: Likewise.
34029 * posix/pwrite64.c: Likewise.
34030 * posix/sched_getaffinity.c: Likewise.
34031 * posix/sched_getp.c: Likewise.
34032 * posix/sched_gets.c: Likewise.
34033 * posix/sched_primax.c: Likewise.
34034 * posix/sched_primin.c: Likewise.
34035 * posix/sched_rr_gi.c: Likewise.
34036 * posix/sched_setaffinity.c: Likewise.
34037 * posix/sched_setp.c: Likewise.
34038 * posix/sched_sets.c: Likewise.
34039 * posix/sched_yield.c: Likewise.
34040 * posix/setgid.c: Likewise.
34041 * posix/setlogin.c: Likewise.
34042 * posix/setpgid.c: Likewise.
34043 * posix/setresgid.c: Likewise.
34044 * posix/setresuid.c: Likewise.
34045 * posix/setsid.c: Likewise.
34046 * posix/setuid.c: Likewise.
34047 * posix/sleep.c: Likewise.
34048 * posix/spawni.c: Likewise.
34049 * posix/sysconf.c: Likewise.
34050 * posix/times.c: Likewise.
34051 * posix/wait.c: Likewise.
34052 * posix/wait3.c: Likewise.
34053 * posix/wait4.c: Likewise.
34054 * posix/waitpid.c: Likewise.
34055 * resolv/gai_sigqueue.c: Likewise.
34056 * resource/getpriority.c: Likewise.
34057 * resource/getrlimit.c: Likewise.
34058 * resource/getrusage.c: Likewise.
34059 * resource/nice.c: Likewise.
34060 * resource/setpriority.c: Likewise.
34061 * resource/setrlimit.c: Likewise.
34062 * resource/ulimit.c: Likewise.
34063 * rt/aio_cancel.c: Likewise.
34064 * rt/aio_fsync.c: Likewise.
34065 * rt/aio_read.c: Likewise.
34066 * rt/aio_sigqueue.c: Likewise.
34067 * rt/aio_suspend.c: Likewise.
34068 * rt/aio_write.c: Likewise.
34069 * rt/clock_getres.c: Likewise.
34070 * rt/clock_gettime.c: Likewise.
34071 * rt/clock_nanosleep.c: Likewise.
34072 * rt/clock_settime.c: Likewise.
34073 * rt/lio_listio.c: Likewise.
34074 * rt/mq_close.c: Likewise.
34075 * rt/mq_getattr.c: Likewise.
34076 * rt/mq_notify.c: Likewise.
34077 * rt/mq_open.c: Likewise.
34078 * rt/mq_receive.c: Likewise.
34079 * rt/mq_send.c: Likewise.
34080 * rt/mq_setattr.c: Likewise.
34081 * rt/mq_timedreceive.c: Likewise.
34082 * rt/mq_timedsend.c: Likewise.
34083 * rt/mq_unlink.c: Likewise.
34084 * rt/shm_open.c: Likewise.
34085 * rt/shm_unlink.c: Likewise.
34086 * rt/timer_create.c: Likewise.
34087 * rt/timer_delete.c: Likewise.
34088 * rt/timer_getoverr.c: Likewise.
34089 * rt/timer_gettime.c: Likewise.
34090 * rt/timer_settime.c: Likewise.
34091 * setjmp/__longjmp.c: Likewise.
34092 * setjmp/setjmp.c: Likewise.
34093 * signal/kill.c: Likewise.
34094 * signal/killpg.c: Likewise.
34095 * signal/raise.c: Likewise.
34096 * signal/sigaction.c: Likewise.
34097 * signal/sigaltstack.c: Likewise.
34098 * signal/sigblock.c: Likewise.
34099 * signal/sigignore.c: Likewise.
34100 * signal/sigintr.c: Likewise.
34101 * signal/signal.c: Likewise.
34102 * signal/sigpause.c: Likewise.
34103 * signal/sigpending.c: Likewise.
34104 * signal/sigqueue.c: Likewise.
34105 * signal/sigreturn.c: Likewise.
34106 * signal/sigset.c: Likewise.
34107 * signal/sigsetmask.c: Likewise.
34108 * signal/sigstack.c: Likewise.
34109 * signal/sigsuspend.c: Likewise.
34110 * signal/sigtimedwait.c: Likewise.
34111 * signal/sigvec.c: Likewise.
34112 * signal/sigwait.c: Likewise.
34113 * signal/sigwaitinfo.c: Likewise.
34114 * signal/sysv_signal.c: Likewise.
34115 * socket/accept.c: Likewise.
34116 * socket/accept4.c: Likewise.
34117 * socket/bind.c: Likewise.
34118 * socket/connect.c: Likewise.
34119 * socket/getpeername.c: Likewise.
34120 * socket/getsockname.c: Likewise.
34121 * socket/getsockopt.c: Likewise.
34122 * socket/isfdtype.c: Likewise.
34123 * socket/listen.c: Likewise.
34124 * socket/recv.c: Likewise.
34125 * socket/recvfrom.c: Likewise.
34126 * socket/recvmsg.c: Likewise.
34127 * socket/send.c: Likewise.
34128 * socket/sendmsg.c: Likewise.
34129 * socket/sendto.c: Likewise.
34130 * socket/setsockopt.c: Likewise.
34131 * socket/shutdown.c: Likewise.
34132 * socket/sockatmark.c: Likewise.
34133 * socket/socket.c: Likewise.
34134 * socket/socketpair.c: Likewise.
34135 * stdio-common/ctermid.c: Likewise.
34136 * stdio-common/cuserid.c: Likewise.
34137 * stdio-common/remove.c: Likewise.
34138 * stdio-common/rename.c: Likewise.
34139 * stdio-common/renameat.c: Likewise.
34140 * stdio-common/tempname.c: Likewise.
34141 * stdlib/getcontext.c: Likewise.
34142 * stdlib/makecontext.c: Likewise.
34143 * stdlib/setcontext.c: Likewise.
34144 * stdlib/swapcontext.c: Likewise.
34145 * stdlib/system.c: Likewise.
34146 * streams/fattach.c: Likewise.
34147 * streams/fdetach.c: Likewise.
34148 * streams/getmsg.c: Likewise.
34149 * streams/getpmsg.c: Likewise.
34150 * streams/putmsg.c: Likewise.
34151 * streams/putpmsg.c: Likewise.
34152 * sysdeps/unix/bsd/getpt.c: Likewise.
34153 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34154 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34155 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34157 Likewise.
34158 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34159 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34160 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34161 * sysvipc/msgctl.c: Likewise.
34162 * sysvipc/msgget.c: Likewise.
34163 * sysvipc/msgrcv.c: Likewise.
34164 * sysvipc/msgsnd.c: Likewise.
34165 * sysvipc/semctl.c: Likewise.
34166 * sysvipc/semget.c: Likewise.
34167 * sysvipc/semop.c: Likewise.
34168 * sysvipc/semtimedop.c: Likewise.
34169 * sysvipc/shmat.c: Likewise.
34170 * sysvipc/shmctl.c: Likewise.
34171 * sysvipc/shmdt.c: Likewise.
34172 * sysvipc/shmget.c: Likewise.
34173 * termios/tcdrain.c: Likewise.
34174 * termios/tcflow.c: Likewise.
34175 * termios/tcflush.c: Likewise.
34176 * termios/tcgetattr.c: Likewise.
34177 * termios/tcgetpgrp.c: Likewise.
34178 * termios/tcsendbrk.c: Likewise.
34179 * termios/tcsetattr.c: Likewise.
34180 * termios/tcsetpgrp.c: Likewise.
34181 * time/adjtime.c: Likewise.
34182 * time/clock.c: Likewise.
34183 * time/getitimer.c: Likewise.
34184 * time/gettimeofday.c: Likewise.
34185 * time/setitimer.c: Likewise.
34186 * time/settimeofday.c: Likewise.
34187 * time/stime.c: Likewise.
34188 * time/time.c: Likewise.
34189
34190 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
34191
34192 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34193 /usr/old/bin.
34194
34195 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34196 instead of spaces.
34197 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34198
34199 2012-11-03 Joseph Myers <joseph@codesourcery.com>
34200
34201 [BZ #14796]
34202 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34203 FE_TONEAREST before applying Dekker multiplication and Knuth
34204 addition. Clear inexact exceptions and check for exact zero
34205 results afterwards.
34206 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34207 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34208 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34209 * math/libm-test.inc (fma_test): Add more tests.
34210 (fma_test_towardzero): Likewise.
34211 (fma_test_downward): Likewise.
34212 (fma_test_upward): Likewise.
34213 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34214 function.
34215 (libc_fesetround): New macro.
34216 (libc_fesetroundf): Likewise.
34217 (libc_fesetroundl): Likewise.
34218 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34219 function.
34220 (libc_fesetround_387): Likewise.
34221 (libc_fesetroundf): New macro.
34222 (libc_fesetround): Likewise.
34223 (libc_fesetroundl): Likewise.
34224 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34225 function.
34226 (libc_fesetroundf): New macro.
34227 (libc_fesetround): Likewise.
34228 (libc_fesetroundl): Likewise.
34229 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34230 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34231 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34232 libm_hidden_ver.
34233 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34234 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34235 libm_hidden_def.
34236 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34237 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34238 libm_hidden_ver.
34239 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34240 libm_hidden_def.
34241
34242 [BZ #3439]
34243 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34244 integer constant usable in #if and use that to give value to enum
34245 constant.
34246 (FE_DIVBYZERO): Likewise.
34247 (FE_UNDERFLOW): Likewise.
34248 (FE_OVERFLOW): Likewise.
34249 (FE_INVALID): Likewise.
34250 (FE_INVALID_SNAN): Likewise.
34251 (FE_INVALID_ISI): Likewise.
34252 (FE_INVALID_IDI): Likewise.
34253 (FE_INVALID_ZDZ): Likewise.
34254 (FE_INVALID_IMZ): Likewise.
34255 (FE_INVALID_COMPARE): Likewise.
34256 (FE_INVALID_SOFTWARE): Likewise.
34257 (FE_INVALID_SQRT): Likewise.
34258 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34259 (FE_TONEAREST): Likewise.
34260 (FE_TOWARDZERO): Likewise.
34261 (FE_UPWARD): Likewise.
34262 (FE_DOWNWARD): Likewise.
34263 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34264 (FE_DIVBYZERO): Likewise.
34265 (FE_OVERFLOW): Likewise.
34266 (FE_UNDERFLOW): Likewise.
34267 (FE_INEXACT): Likewise.
34268 (FE_TONEAREST): Likewise.
34269 (FE_DOWNWARD): Likewise.
34270 (FE_UPWARD): Likewise.
34271 (FE_TOWARDZERO): Likewise.
34272 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34273 (FE_UNDERFLOW): Likewise.
34274 (FE_OVERFLOW): Likewise.
34275 (FE_DIVBYZERO): Likewise.
34276 (FE_INVALID): Likewise.
34277 (FE_TONEAREST): Likewise.
34278 (FE_TOWARDZERO): Likewise.
34279 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34280 (FE_OVERFLOW): Likewise.
34281 (FE_UNDERFLOW): Likewise.
34282 (FE_DIVBYZERO): Likewise.
34283 (FE_INEXACT): Likewise.
34284 (FE_TONEAREST): Likewise.
34285 (FE_TOWARDZERO): Likewise.
34286 (FE_UPWARD): Likewise.
34287 (FE_DOWNWARD): Likewise.
34288 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34289 (FE_DIVBYZERO): Likewise.
34290 (FE_OVERFLOW): Likewise.
34291 (FE_UNDERFLOW): Likewise.
34292 (FE_INEXACT): Likewise.
34293 (FE_TONEAREST): Likewise.
34294 (FE_DOWNWARD): Likewise.
34295 (FE_UPWARD): Likewise.
34296 (FE_TOWARDZERO): Likewise.
34297
34298 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34299
34300 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34301
34302 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34303
34304 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34305 commands. Quote $PWD.
34306 (blacklist_exports): Don't use remove_newlines. Replace "declare
34307 -x" by "export".
34308 (remove_newlines): Remove.
34309
34310 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34311
34312 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34313 * stdlib/stdlib.h (atof): Moved to ...
34314 * include/bits/stdlib-float.h: Here. New file.
34315 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34316 * stdlib/bits/stdlib-float.h: New file.
34317 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34318 -mno-sse -mno-mmx.
34319 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34320 <xmmintrin.h>.
34321
34322 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34323
34324 * conform/conformtest.pl (@headers): Add fenv.h.
34325 * conform/data/fenv.h-data: New file.
34326 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34327 include of <math/fenv.h>.
34328
34329 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34330 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34331 && !UNIX98]. Enables tests for XOPEN2K8.
34332 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34333 POSIX2008]: Likewise.
34334
34335 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34336 (struct rusage): Do not expect type or its members.
34337
34338 [BZ #3439]
34339 * math/math.h (FP_NAN): Define macro to integer constant usable in
34340 #if and use that to give value to enum constant.
34341 (FP_INFINITE): Likewise.
34342 (FP_ZERO): Likewise.
34343 (FP_SUBNORMAL): Likewise.
34344 (FP_NORMAL): Likewise.
34345
34346 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34347
34348 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34349 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34350 arguments.
34351
34352 2012-11-02 Roland McGrath <roland@hack.frob.com>
34353
34354 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34355 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34356 autoconf-time if not.
34357 * configure.in: Remove AC_PREREQ.
34358
34359 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34360
34361 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34362 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34363 of the internal implementation.
34364
34365 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34366
34367 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34368 except include of <misc/sys/syslog.h>.
34369
34370 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34371
34372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34373 function returns with a NULL context exit with zero.
34374
34375 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34376
34377 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34378
34379 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34380
34381 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34382 (run_program_cmd): This.
34383 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34384 (tst_langinfo): New variable. Use it.
34385
34386 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34387
34388 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34389 floating point opcodes.
34390
34391 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34392
34393 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34394 variable.
34395
34396 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34397
34398 * sysdeps/mach/hurd/powerpc: Remove directory.
34399 * sysdeps/mach/powerpc: Likewise.
34400
34401 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34402
34403 * scripts/check-local-headers.sh: Ignore c++ headers.
34404
34405 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34406
34407 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34408 __libc_cleanup_region_start argument.
34409
34410 2012-11-01 Joseph Myers <joseph@codesourcery.com>
34411
34412 [BZ #14784]
34413 [BZ #14785]
34414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34415 x * y using scaling, not as x * y + z.
34416 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34417 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34418 * math/libm-test.inc (fma_test): Add more tests.
34419 (fma_test_towardzero): Likewise.
34420 (fma_test_downward): Likewise.
34421 (fma_test_upward): Likewise.
34422
34423 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34424
34425 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34426
34427 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34428
34429 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34430 New variable.
34431
34432 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34433
34434 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34435
34436 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34437
34438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34439 Fix sort order.
34440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34441 Likewise.
34442
34443 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34444
34445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34446 Fix the order of the list for glibc 2.17.
34447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34448 Likewise.
34449
34450 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34451
34452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34453
34454 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34455
34456 [BZ #14610]
34457 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34458 for low part of x being zero before using __atanl (y).
34459 * math/libm-test.inc (atan2_test): Add another test.
34460
34461 * manual/install.texi (Configuring and compiling): Document
34462 general use of test-wrapper and test-wrapper-env.
34463 * INSTALL: Regenerated.
34464
34465 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34466 (__fma): Do not extract and scale down low bits on after-rounding
34467 systems when result rounded to normal precision would have normal
34468 exponent.
34469 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34470 (__fmal): Do not extract and scale down low bits on after-rounding
34471 systems when result rounded to normal precision would have normal
34472 exponent.
34473 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34474 (__fmal): Do not extract and scale down low bits on after-rounding
34475 systems when result rounded to normal precision would have normal
34476 exponent.
34477 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34478 macro.
34479 (fma_test): Add more tests.
34480 (fma_test_towardzero): Likewise.
34481 (fma_test_downward): Likewise.
34482 (fma_test_upward): Likewise.
34483
34484 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34485
34486 * sysdeps/i386/tininess.h: Renamed to ...
34487 * sysdeps/x86/tininess.h: This.
34488 * sysdeps/x86_64/tininess.h: Removed.
34489
34490 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34491
34492 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34493 input. Use $(build-program-cmd).
34494 ($(objpfx)tst-array1-static.out): Likewise.
34495 ($(objpfx)tst-array2.out): Likewise.
34496 ($(objpfx)tst-array3.out): Likewise.
34497 ($(objpfx)tst-array4.out): Likewise.
34498 ($(objpfx)tst-array5.out): Likewise.
34499 ($(objpfx)tst-array5-static.out): Likewise.
34500
34501 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34502
34503 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34504 if defined.
34505
34506 * nss/nsswitch.h (nss_interface_function): Provide new
34507 macro for use with NSS functions.
34508 * grp/initgroups.c: Use new macro.
34509 * nss/getXXbyYY.c: Likewise.
34510 * nss/getXXbyYY_r.c: Likewise.
34511 * nss/getXXent.c: Likewise.
34512 * nss/getXXent_r.c: Likewise.
34513 * sysdeps/posix/getaddrinfo.c: Likewise.
34514
34515 2012-10-30 Andreas Jaeger <aj@suse.de>
34516
34517 * po/ru.po: Update Russion translation from translation project.
34518
34519 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34520
34521 [BZ #14152]
34522 [BZ #14783]
34523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34524 result and shift together with sticky bit instead of replicating
34525 round-to-nearest rounding.
34526 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34527 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34528 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34529 missing underflow exceptions.
34530 (fma_test_towardzero): Add more tests.
34531 (fma_test_downward): Likewise.
34532 (fma_test_upward): Likewise.
34533
34534 [BZ #14047]
34535 * sysdeps/generic/tininess.h: New file.
34536 * sysdeps/i386/tininess.h: Likewise.
34537 * sysdeps/sh/tininess.h: Likewise.
34538 * sysdeps/x86_64/tininess.h: Likewise.
34539 * stdlib/tst-strtod-underflow.c: Likewise.
34540 * stdlib/tst-tininess.c: Likewise.
34541 * stdlib/strtod_l.c: Include <tininess.h>.
34542 (round_and_return): Do not set errno for exact underflow cases.
34543 Force an underflow exception when setting errno for underflow.
34544 Determine underflow based on rounding to normal precision if
34545 TININESS_AFTER_ROUNDING.
34546 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34547 ERANGE for exact underflow cases.
34548 * stdlib/Makefile (tests): Add tst-tininess and
34549 tst-strtod-underflow.
34550 ($(objpfx)tst-tininess): Use $(link-libm).
34551 ($(objpfx)tst-strtod-underflow): Likewise.
34552
34553 2012-10-30 Andreas Jaeger <aj@suse.de>
34554
34555 [BZ#14767]
34556 * elf/Makefile (tests): Remove conditional for have-initfini-array
34557 since this is now always required and the variable does not exist
34558 anymore.
34559 (tests-static): Likewise.
34560 (modules-names): Likewise.
34561
34562 * po/eo.po: Add Esperanto translation from translation project.
34563
34564 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34565 merged with constructor/destructor.
34566 (init_array): Likewise.
34567 * elf/tst-array2dep.c (fini_array): Likewise.
34568 (init_array): Likewise.
34569
34570 2012-10-29 Mike Frysinger <vapier@gentoo.org>
34571
34572 * manual/message.texi: Delete @cartouche tags.
34573
34574 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34575
34576 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34577 EOPNOTSUPP.
34578 * sysdeps/mach/hurd/fsync.c: Likewise.
34579
34580 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34581 [_POSIX_REALTIME_SIGNALS]: Change condition to
34582 [_POSIX_REALTIME_SIGNALS > 0].
34583
34584 2012-10-27 Andreas Jaeger <aj@suse.de>
34585
34586 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34587 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34588 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34589 [__WORDSIZE != 64]: Likewise.
34590
34591 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34592
34593 * iconvdata/tst-table.sh: Remove ${SHELL}.
34594 * iconvdata/tst-tables.sh: Likewise.
34595
34596 2012-10-25 David S. Miller <davem@davemloft.net>
34597
34598 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34599 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34600 of strtoull.
34601
34602 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34603 ifunc-impl-list.c
34604 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34605 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34606 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34607 file.
34608
34609 2012-10-25 Roland McGrath <roland@hack.frob.com>
34610
34611 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34612 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34613 __getdirentries.
34614
34615 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34616 Jim Blandy <jimb@codesourcery.com>
34617
34618 * scripts/cross-test-ssh.sh: New file.
34619 * manual/install.texi (Configuring and compiling): Document use of
34620 cross-test-ssh.sh.
34621 * INSTALL: Regenerated.
34622
34623 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34624
34625 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34626 EOPNOTSUPP.
34627
34628 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34629
34630 * Makeconfig (run-program-prefix): Fix comment.
34631
34632 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34633 Jim Blandy <jimb@codesourcery.com>
34634
34635 * Makeconfig (test-wrapper): New variable,
34636 (test-wrapper-env): Likewise.
34637 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34638 (run-built-tests): Define to yes.
34639 (run-program-prefix): Use $(test-wrapper).
34640 (built-program-cmd): Likewise.
34641 * Rules (make-test-out): Use $(test-wrapper-env) and
34642 $(host-built-program-cmd).
34643 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34644 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34645 tst-pathopt.sh.
34646 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34647 $(test-wrapper-env) to tst-rtld-load-self.sh.
34648 ($(objpfx)order2.out): Use $(test-wrapper).
34649 ($(objpfx)tst-initorder.out): Likewise.
34650 ($(objpfx)tst-initorder2.out): Likewise.
34651 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34652 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34653 (test_wrapper_env): New variable. Use it to run ld.so.
34654 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34655 Use it to run ld.so.
34656 (test_wrapper_env): Likewise.
34657 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34658 $(test-wrapper) to run-iconv-test.sh.
34659 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34660 (ICONV): Use $test_wrapper.
34661 * posix/Makefile ($(objpfx)globtest.out): Pass
34662 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34663 globtest.sh, not $(run-program-prefix).
34664 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34665 (test_wrapper): Likewise.
34666 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34667 set together with run_via_rtld_prefix.
34668 (run_program_prefix): Define in terms of test_wrapper and
34669 run_via_rtld_prefix.
34670
34671 2012-10-24 Roland McGrath <roland@hack.frob.com>
34672
34673 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34674 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34675 Targets removed.
34676
34677 [BZ #14743]
34678 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34679 Declare __clock_getres, __clock_gettime, __clock_settime,
34680 __clock_nanosleep, and __clock_getcpuclockid.
34681 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34682 Remove librt_hidden_def (clock_gettime).
34683 * sysdeps/unix/clock_gettime.c: Likewise.
34684 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34685 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34686 * rt/clock_getres.c: Define __clock_getres as an alias.
34687 * sysdeps/posix/clock_getres.c: Likewise.
34688 * rt/clock_settime.c: Define __clock_settime as an alias.
34689 * sysdeps/unix/clock_settime.c: Likewise.
34690 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34691 * sysdeps/unix/clock_nanosleep.c: Likewise.
34692 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34693 * rt/clock-compat.c: New file.
34694 * rt/Makefile (librt-routines): Add clock-compat and move
34695 $(clock-routines) to ...
34696 (routines): ... here, new variable.
34697 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34698 Don't add get_clockfreq here.
34699 * rt/Versions (libc: GLIBC_2.17): New version set.
34700 Add clock_* symbols here.
34701 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34702 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34703 (GLIBC_2.17): Add clock_* symbols.
34704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34706 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34708 Likewise.
34709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34710 Likewise.
34711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34715 * NEWS: Mention the move.
34716
34717 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34718 Use __open, __read, __close rather than their public counterparts.
34719 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34720 (__get_clockfreq_via_cpuinfo): Likewise.
34721 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34722 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34723
34724 * config.h.in (HAVE_IFUNC): New #undef.
34725 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34726 was successful.
34727 * configure: Regenerated.
34728
34729 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34730
34731 * configure.in: Move READELF check to start of file.
34732 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34733 libc_cv_asm_gnu_indirect_function in the process.
34734 * configure: Regenerated.
34735
34736 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34737
34738 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34739 send the output to /dev/null.
34740 (libc_cv_cc_with_libunwind): Likewise.
34741 (libc_cv_as_noexecstack): Likewise.
34742 * configure: Regenerate.
34743
34744 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34745
34746 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34747
34748 * posix/globtest.sh (TMPDIR): Do not set.
34749 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34750 (testout): Likewise.
34751
34752 2012-10-24 Andreas Jaeger <aj@suse.de>
34753
34754 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34755 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34756 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34757 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34758 posix_fadvise64, posix_fallocate64.
34759
34760 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34761 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34762 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34763 Likewise.
34764 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34765 Likewise.
34766 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34767
34768 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34769 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34770 <bits/fcntl-linux.h>.
34771 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34772
34773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34774 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34775 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34776 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34777 [__WORDSIZE != 64]: Likewise.
34778
34779 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34780
34781 * Makeconfig (run-built-tests): New variable.
34782 * Rules [$(cross-compiling) = yes]: Change condition to
34783 [$(run-built-tests) = no].
34784 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34785 to [$(run-built-tests) = yes].
34786 * elf/Makefile [$(cross-compiling) = no]: Likewise
34787 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34788 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34789 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34790 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34791 * io/Makefile [$(cross-compiling) = no]: Likewise.
34792 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34793 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34794 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34795 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34796 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34797 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34798 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34799 * string/Makefile [$(cross-compiling) = no]: Likewise.
34800
34801 * posix/Makefile ($(objpfx)globtest.out): Pass
34802 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34803 $(rtld-installed-name).
34804 * posix/globtest.sh (elf_objpfx): Remove variable.
34805 (rtld_installed_name): Likewise.
34806 (library_path): Likewise.
34807 (run_program_prefix): New variable. Use for running globtest
34808 binary.
34809
34810 2012-10-23 Jim Blandy <jimb@codesourcery.com>
34811 Joseph Myers <joseph@codesourcery.com>
34812
34813 * Makeconfig (host-built-program-cmd): New variable.
34814 * elf/Makefile (tst-stackguard1-ARGS): Use
34815 $(host-built-program-cmd).
34816 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34817 (tst-spawn-ARGS): Likewise.
34818 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34819
34820 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34821 Jim Blandy <jimb@codesourcery.com>
34822
34823 * Makeconfig (run-via-rtld-prefix): New variable.
34824 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34825 (built-program-cmd): Likewise.
34826
34827 2012-10-22 Andreas Jaeger <aj@suse.de>
34828
34829 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34830 __O_RSYNC if it exists, otherwise to O_SYNC.
34831
34832 2012-10-22 Jim Blandy <jimb@codesourcery.com>
34833 Joseph Myers <joseph@codesourcery.com>
34834
34835 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34836 /dev/null.
34837 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34838 from /dev/null
34839 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34840 /dev/null.
34841
34842 2012-10-22 Andreas Jaeger <aj@suse.de>
34843
34844 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34845 Define always.
34846 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34847
34848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34849 bits/fcntl-linux.h.
34850
34851 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34852 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34853
34854 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34855 to __O_LARGEFILE.
34856 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34857 to __O_LARGEFILE.
34858
34859 2012-10-21 Jim Blandy <jimb@codesourcery.com>
34860 Joseph Myers <joseph@codesourcery.com>
34861
34862 * config.make.in (NM): New variable.
34863
34864 2012-10-21 Andreas Jaeger <aj@suse.de>
34865
34866 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34867 definitions and declarations that are provided by
34868 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34869
34870 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34871
34872 [BZ #14683]
34873 * elf/Makefile (tests-static): Add tst-leaks1-static.
34874 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34875 ($(objpfx)tst-leaks1-static): New rule.
34876 ($(objpfx)tst-leaks1-static-mem): Likewise.
34877 (tst-leaks1-static-ENV): New macro.
34878 * elf/dl-open.c (dl_open_worker): Check the main application
34879 only if SHARED is defined.
34880 * elf/tst-leaks1-static.c: New file.
34881
34882 2012-10-20 Andreas Jaeger <aj@suse.de>
34883
34884 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34885 generic values for Linux.
34886 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34887 and declarations that are provided by <bits/fcntl-linux.h> and
34888 include <bits/fcntl-linux.h>.
34889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34890 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34891
34892 2012-10-20 Roland McGrath <roland@hack.frob.com>
34893
34894 * io/fcntl.h: Move include of <bits/types.h> to the top and
34895 include it unconditionally.
34896
34897 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34898
34899 * wcsmbs/Makefile (tests-ifunc): New variable.
34900 (tests): Add $(tests-ifunc).
34901 * wcsmbs/test-wcschr-ifunc.c: New file.
34902 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34903 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34904 * wcsmbs/test-wcslen-ifunc.c: Likewise.
34905 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34906 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34907
34908 * string/Makefile (tests-ifunc): New variable.
34909 (tests): Add $(tests-ifunc).
34910 * string/test-memccpy.c (TEST_NAME): New macro.
34911 * string/test-memchr.c (TEST_NAME): Likewise.
34912 * string/test-memcmp.c (TEST_NAME): Likewise.
34913 * string/test-memcpy.c (TEST_NAME): Likewise.
34914 * string/test-memmem.c (TEST_NAME): Likewise.
34915 * string/test-memmove.c (TEST_NAME): Likewise.
34916 * string/test-memset.c (TEST_NAME): Likewise.
34917 * string/test-rawmemchr.c (TEST_NAME): Likewise.
34918 * string/test-stpcpy.c (TEST_NAME): Likewise.
34919 * string/test-stpncpy.c (TEST_NAME): Likewise.
34920 * string/test-strcasecmp.c (TEST_NAME): Likewise.
34921 * string/test-strcasestr.c (TEST_NAME): Likewise.
34922 * string/test-strcat.c (TEST_NAME): Likewise.
34923 * string/test-strchr.c (TEST_NAME): Likewise.
34924 * string/test-strcmp.c(TEST_NAME): Likewise.
34925 * string/test-strcpy.c (TEST_NAME): Likewise.
34926 * string/test-strcspn.c (TEST_NAME): Likewise.
34927 * string/test-strlen.c (TEST_NAME): Likewise.
34928 * string/test-strncasecmp.c (TEST_NAME): Likewise.
34929 * string/test-strncmp.c (TEST_NAME): Likewise.
34930 * string/test-strncpy.c (TEST_NAME): Likewise.
34931 * string/test-strnlen.c (TEST_NAME): Likewise.
34932 * string/test-strpbrk.c (TEST_NAME): Likewise.
34933 * string/test-strrchr.c (TEST_NAME): Likewise.
34934 * string/test-strspn.c (TEST_NAME): Likewise.
34935 * string/test-strstr.c (TEST_NAME): Likewise.
34936 * string/test-bcopy-ifunc.c: New file.
34937 * string/test-bzero-ifunc.c: Likewise.
34938 * string/test-memccpy-ifunc.c: Likewise.
34939 * string/test-memchr-ifunc.c: Likewise.
34940 * string/test-memcmp-ifunc.c: Likewise.
34941 * string/test-memcpy-ifunc.c: Likewise.
34942 * string/test-memmem-ifunc.c: Likewise.
34943 * string/test-memmove-ifunc.c: Likewise.
34944 * string/test-mempcpy-ifunc.c: Likewise.
34945 * string/test-memset-ifunc.c: Likewise.
34946 * string/test-rawmemchr-ifunc.c: Likewise.
34947 * string/test-stpcpy-ifunc.c: Likewise.
34948 * string/test-stpncpy-ifunc.c: Likewise.
34949 * string/test-strcasecmp-ifunc.c: Likewise.
34950 * string/test-strcasestr-ifunc.c: Likewise.
34951 * string/test-strcat-ifunc.c: Likewise.
34952 * string/test-strchr-ifunc.c: Likewise.
34953 * string/test-strchrnul-ifunc.c: Likewise.
34954 * string/test-strcmp-ifunc.c: Likewise.
34955 * string/test-strcpy-ifunc.c: Likewise.
34956 * string/test-strcspn-ifunc.c: Likewise.
34957 * string/test-strlen-ifunc.c: Likewise.
34958 * string/test-strncasecmp-ifunc.c: Likewise.
34959 * string/test-strncat-ifunc.c: Likewise.
34960 * string/test-strncmp-ifunc.c: Likewise.
34961 * string/test-strncpy-ifunc.c: Likewise.
34962 * string/test-strnlen-ifunc.c: Likewise.
34963 * string/test-strpbrk-ifunc.c: Likewise.
34964 * string/test-strrchr-ifunc.c: Likewise.
34965 * string/test-strspn-ifunc.c: Likewise.
34966 * string/test-strstr-ifunc.c: Likewise.
34967
34968 * debug/Makefile (tests-ifunc): New variable.
34969 (tests): Add $(tests-ifunc).
34970 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34971 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34972 * debug/test-stpcpy_chk-ifunc.c: New file.
34973 * debug/test-strcpy_chk-ifunc.c: Likewise.
34974
34975 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34976
34977 [BZ #13601]
34978 * elf/dl-load.c (open_verify): Retry read if the entire ELF
34979 header is not read in.
34980
34981 2012-10-19 Joseph Myers <joseph@codesourcery.com>
34982
34983 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
34984 script to $(SHELL) as $<. Pass $(common-objpfx) to script
34985 directly. Pass built executable to script as
34986 $(built-program-cmd).
34987 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
34988 $testprogram without using LD_LIBRARY_PATH and $ldso.
34989
34990 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34991 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34992 $(rtld-installed-name).
34993 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34994 (rtld_installed_name): Likewise.
34995 (library_path): Likewise.
34996 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
34997 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34998 $(run-program-prefix) to tst-tables.sh.
34999 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35000 it to run tst-table-from and tst-table-to.
35001 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35002 Pass it to tst-table.sh.
35003 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35004 $(run-program-prefix) to tst-gettext.sh.
35005 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35006 tst-translit.sh.
35007 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35008 tst-gettext2.sh.
35009 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35010 to run tst-gettext.
35011 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35012 to run tst-gettext2.
35013 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35014 to run tst-translit.
35015 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35016 $(run-program-prefix) to tst-mtrace.sh.
35017 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35018 to run tst-mtrace.
35019 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35020 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35021 $(rtld-installed-name).
35022 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35023 (rtld_installed_name): Likewise.
35024 (run_program_prefix): New variable. Use it to run wordexp-test.
35025
35026 * Makeconfig (ARCH): Remove all definitions.
35027 (machine): Likewise.
35028 [ARCH]: Remove conditional code.
35029 [!objdir]: Give error.
35030 [!objdir] (objpfx): Remove.
35031 [!objdir] (common-objpfx): Likewise.
35032 [!objdir] (common-objdir): Likewise.
35033 * configure.in (config_makefile): Remove. Hardcode Makefile in
35034 AC_CONFIG_FILES call.
35035 * configure: Regenerated.
35036
35037 [BZ #13888]
35038 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35039 or TMPDIR.
35040 (testout): Likewise.
35041
35042 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35043 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35044 $(rtld-installed-name).
35045 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35046 (rtld_installed_name): Likwise.
35047 (runit): Remove function.
35048 (run_getconf): New variable, Use it for running getconf binary.
35049
35050 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35051
35052 [BZ #14716]
35053 * string/test-memmem.c (check_result): New function.
35054 (do_one_test): Use it.
35055 (check1): New function.
35056 (test_main): Use it.
35057
35058 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35059
35060 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35061
35062 2012-10-18 Joseph Myers <joseph@codesourcery.com>
35063
35064 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35065 (_G_LSEEK64): Likewise.
35066 (_G_MMAP64): Likewise.
35067 (_G_FSTAT64): Likewise.
35068 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35069 (_G_LSEEK64): Likewise.
35070 (_G_MMAP64): Likewise.
35071 (_G_FSTAT64): Likewise.
35072 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35073 unconditional. Call __mmap64 directly.
35074 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35075 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35076 __lseek64 directly.
35077 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35078 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35079 __mmap64 directly.
35080 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35081 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35082 __lseek64 directly.
35083 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35084 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35085 __lseek64 directly.
35086 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35087 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35088 __lseek64 directly.
35089 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35090 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35091 __fxstat64 directly.
35092 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35093 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35094 unconditional.
35095 (freopen64) [!_G_OPEN64]: Remove conditional code.
35096 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35097 unconditional.
35098 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35099 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35100 unconditional.
35101 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35102 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35103 unconditional.
35104 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35105 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35106 unconditional.
35107 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35108 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35109 unconditional.
35110 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35111 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35112 unconditional.
35113 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35114 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35115 unconditional.
35116 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35117
35118 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35119
35120 [BZ #12140]
35121 * manual/memory.texi (Malloc Tunable Parameters): Add note
35122 about free list pointers overwriting some perturb bytes.
35123 Wording suggested by Roland McGrath.
35124
35125 2012-10-17 Joseph Myers <joseph@codesourcery.com>
35126
35127 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35128 (lgamma_test): Likewise.
35129 (tgamma_test): Likewise.
35130
35131 2012-10-16 Florian Weimer <fweimer@redhat.com>
35132
35133 [BZ #14700]
35134 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35135 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35136
35137 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35138
35139 * NEWS: Mention BZ #14716.
35140 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35141 when removing AVAILABLE1_USES_J macro.
35142
35143 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35144
35145 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35146 (__bswap_64): __uint64_t for unsigned 64-bit int.
35147
35148 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35149
35150 * include/string.h (memmem): Declare libc hidden alias.
35151 * string/memmem.c (memmem): Define libc hidden alias.
35152 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35153 __read, __close instead of open, read, close.
35154
35155 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35156
35157 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35158 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35159 global and hidden.
35160 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35161 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35162 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35163 Likewise.
35164 (__rawmemchr_sse2): Likewise.
35165 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35166 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35167 (__strchr_sse2): Likewise.
35168 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35169 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35170 (__strcasecmp_sse2): Likewise.
35171 (__strncasecmp_sse2): Likewise.
35172 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35173 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35174 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35175 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35176 (__strrchr_sse2): Likewise.
35177 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35178 ifunc-impl-list.c.
35179 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35180 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35181 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35182 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35183 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35184 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35185 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35186 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35187 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35188 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35189 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35190 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35191 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35192 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35193 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35194 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35195 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35196 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35197 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35198 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35199 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35200 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35201 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35202 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35203 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35204 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35205 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35206 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35207 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35208 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35209
35210 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35211 global and hidden.
35212 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35213 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35214 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35215 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35216 Likewise.
35217 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35218 Likewise.
35219 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35220 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35221 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35222 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35223 ifunc-impl-list.c.
35224 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35225 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35226 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35227 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35228 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35229 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35230 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35231 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35232 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35233 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35234 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35235 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35236 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35237 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35238 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35239 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35240 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35241 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35242 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35243 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35244 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35245 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35246 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35247 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35248 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35249 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35250 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35251 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35252 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35253 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35254 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35255 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35256 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35257 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35258 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35259 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35260 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35261 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35262 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35263 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35264 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35265
35266 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35267 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35268 * include/ifunc-impl-list.h: New file.
35269 * misc/ifunc-impl-list.c: Likewise.
35270 * misc/Makefile (routines): Add ifunc-impl-list.
35271 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35272 * string/test-string.h: Include <ifunc-impl-list.h>.
35273 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35274 TEST_NAME]: New variables.
35275 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35276 are defined.
35277 (test_init): Call __libc_ifunc_impl_list to initialize
35278 func_list if TEST_IFUNC and TEST_NAME are defined.
35279
35280 * string/Makefile (strop-tests): Add bcopy and bzero.
35281 * string/test-bcopy.c: New file.
35282 * string/test-bzero.c: Likewise.
35283 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35284 defined.
35285 * string/test-memset.c: Support bzero test if TEST_BZERO is
35286 defined.
35287 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35288 __libc_memmove.
35289 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35290 __libc_memset.
35291 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35292 of memset.
35293
35294 2012-10-10 Joseph Myers <joseph@codesourcery.com>
35295
35296 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35297 * configure: Regenerated.
35298
35299 * Makeconfig (+link-static-before-libc): Don't include
35300 $(link-static-libc).
35301
35302 * libio/libio.h (_IO_pos_t): Remove.
35303
35304 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35305
35306 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35307 McGrath.
35308
35309 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35310
35311 * crypt/crypt-entry.c: Include fips-private.h.
35312 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35313 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35314 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35315 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35316
35317 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35318
35319 * crypt/crypt-private.h: Include stdbool.h.
35320 (_ufc_setup_salt_r): Return bool.
35321 * crypt/crypt-entry.c: Include errno.h.
35322 (__crypt_r): Return NULL with EINVAL for bad salt.
35323 * crypt/crypt_util.c (bad_for_salt): New.
35324 (_ufc_setup_salt_r): Check that salt is long enough and within
35325 the specified alphabet.
35326 * crypt/badsalttest.c: New file.
35327 * crypt/Makefile (tests): Add it.
35328 ($(objpfx)badsalttest): New.
35329
35330 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35331
35332 * NEWS: Add entry for BZ #14602.
35333
35334 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35335
35336 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35337 type-generic.
35338 * math/libm-test.inc: Update comment listing what functions and
35339 macros are tested.
35340 (isgreater_test): New function.
35341 (isgreaterequal_test): Likewise.
35342 (isless_test): Likewise.
35343 (islessequal_test): Likewise.
35344 (islessgreater_test): Likewise.
35345 (isunordered_test): Likewise.
35346 (main): Call the new functions.
35347
35348 2012-10-09 Roland McGrath <roland@hack.frob.com>
35349
35350 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35351 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35352 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35353 * sysdeps/i386/configure: Regenerated.
35354 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35355 * sysdeps/mach/configure: Regenerated.
35356 * sysdeps/mach/hurd/configure: Regenerated.
35357 * sysdeps/powerpc/configure: Regenerated.
35358 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35359 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35360 * sysdeps/s390/s390-32/configure: Regenerated.
35361 * sysdeps/s390/s390-64/configure: Regenerated.
35362 * sysdeps/sh/configure: Regenerated.
35363 * sysdeps/sparc/configure: Regenerated.
35364 * sysdeps/unix/sysv/linux/configure: Regenerated.
35365 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35366 * sysdeps/x86_64/configure: Regenerated.
35367
35368 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35369 defined. Don't check if MAP is NULL.
35370
35371 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35372
35373 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35374 (_G_stat64): Likewise.
35375 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35376 (_G_stat64): Likewise.
35377 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35378 instead of struct _G_stat64.
35379 * libio/fileops.c (mmap_remap_check): Likewise.
35380 (decide_maybe_mmap): Likewise.
35381 (_IO_new_file_seekoff): Likewise.
35382 (_IO_file_stat): Likewise.
35383 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35384 _G_off64_t.
35385 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35386 instead of struct _G_stat64.
35387 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35388
35389 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35390
35391 [BZ #14602]
35392 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35393 Replace with ...
35394 (CHECK_EOL): New macro.
35395 (two_way_short_needle): Check beginning of haystack for EOL. Use
35396 CHECK_EOL.
35397 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35398 Replace with CHECK_EOL.
35399 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35400 Replace with CHECK_EOL.
35401
35402 2012-10-08 Joseph Myers <joseph@codesourcery.com>
35403
35404 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35405 type-generic.
35406 * math/libm-test.inc: Update comment listing what functions and
35407 macros are tested.
35408 (finite_test): New function.
35409 (isinf_test): Likewise.
35410 (isnan_test): Likewise.
35411 (fpclassify_test): Test subnormal input.
35412 (isfinite_test): Likewise.
35413 (isnormal_test): Likewise.
35414 (main): Call the new functions.
35415
35416 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35417
35418 [BZ #14660]
35419 * Makerules (%.dynsym): Force C locale when running
35420 $(OBJDUMP) --dynamic-syms.
35421
35422 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35423
35424 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35425 <stdint.h>.
35426
35427 2012-10-06 David S. Miller <davem@davemloft.net>
35428
35429 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35430 upper 32-bits of the length value in %o2 since we use branch-on-register
35431 tests which consider the entire 64-bit register.
35432
35433 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35434
35435 * string/test-strstr.c (check2): Add a test for page boundary.
35436
35437 2012-10-05 David S. Miller <davem@davemloft.net>
35438
35439 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35440 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35441 file.
35442 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35443 sysdep_routines.
35444 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35445 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35446 and bzero when HWCAP_SPARC_CRYPTO is present.
35447
35448 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35449
35450 [BZ #14602]
35451 * string/test-strstr.c (check2): New function.
35452 (test_main): Call check2.
35453
35454 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35455 and bug-strchr1.
35456 * string/bug-strcasestr1.c (do_test): Moved to ...
35457 * string/test-strcasestr.c (check1): Here. New function.
35458 (do_one_test): Break out result checking code into ...
35459 (check_result): This. New function.
35460 (do_one_test): Call check_result.
35461 (test_main): Call check1.
35462 * string/bug-strchr1.c (do_test): Moved to ...
35463 * string/test-strchr.c (check1): Here. New function.
35464 (do_one_test): Break out result checking code into ...
35465 (check_result): This. New function.
35466 (do_one_test): Call check_result.
35467 (test_main): Call check1.
35468 * string/bug-strstr1.c (main): Moved to ...
35469 * string/test-strstr.c (check1): Here. New function.
35470 (do_one_test): Break out result checking code into ...
35471 (check_result): This. New function.
35472 (do_one_test): Call check_result.
35473 (test_main): Call check1.
35474 * string/bug-strcasestr1.c: Removed.
35475 * string/bug-strchr1.c: Likewise.
35476 * string/bug-strstr1.c: Likewise.
35477
35478 * elf/Makefile (dl-routines): Add hwcaps.
35479 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35480 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35481 (_dl_important_hwcaps): Moved to ...
35482 * elf/dl-hwcaps.c: Here. New file.
35483 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35484
35485 [BZ #14557]
35486 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35487 if IS_IN_rtld isn't defined.
35488
35489 * elf/dl-support.c (_dl_sysinfo_map): New.
35490 Include "get-dynamic-info.h" and "setup-vdso.h".
35491 (_dl_non_dynamic_init): Call setup_vdso.
35492 * elf/dynamic-link.h: Don't include <assert.h>.
35493 (elf_get_dynamic_info): Moved to ...
35494 * elf/get-dynamic-info.h: Here. New file.
35495 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35496 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35497 * elf/setup-vdso.h: Here. New file.
35498 * elf/rtld.c: Include "setup-vdso.h".
35499 (dl_main): Call setup_vdso.
35500
35501 2012-10-05 Joseph Myers <joseph@codesourcery.com>
35502
35503 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35504 creal in comment listing functions tested. List finite, isinf,
35505 isnan, isless, islessequal, isgreater, isgreaterequal,
35506 islessgreater, isunordered, lgamma_r and pow10 as functions and
35507 macros not tested. Mention which functions not tested are aliases
35508 for other functions. Fix typo. Note that signs of NaNs are not
35509 tested.
35510
35511 * scripts/config.guess: Update from config.git.
35512 * scripts/config.sub: Likewise.
35513
35514 2012-10-04 Roland McGrath <roland@hack.frob.com>
35515
35516 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35517 * misc/madvise.c (madvise): Renamed to __madvise.
35518 Make madvise a weak alias.
35519 * include/sys/mman.h: Declare __madvise.
35520 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35521 * sysdeps/unix/syscalls.list
35522 (madvise): Make __madvise the strong name, and madvise a weak alias.
35523 * sysdeps/unix/sysv/linux/syscalls.list
35524 (madvise, mmap): Remove redundant entries.
35525 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35526 * malloc/malloc.c (mtrim): Likewise.
35527 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35528
35529 2012-10-03 Roland McGrath <roland@hack.frob.com>
35530
35531 * sysdeps/mach/hurd/dl-cache.c: File removed.
35532 * config.h.in (USE_LDCONFIG): New #undef.
35533 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35534 * configure: Regenerated.
35535 * elf/Makefile (dl-routines): Add dl-cache only under
35536 [$(use-ldconfig) = yes].
35537 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35538 cache on [USE_LDCONFIG].
35539 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35540 [USE_LDCONFIG].
35541 * elf/rtld.c (dl_main): Likewise.
35542
35543 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35544
35545 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35546 _SC_LEVEL4_CACHE_LINESIZE.
35547
35548 2012-10-03 Roland McGrath <roland@hack.frob.com>
35549
35550 * sysdeps/unix/bsd/confstr.h: File removed.
35551
35552 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
35553
35554 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35555 sys/sdt-config.h.
35556
35557 2012-10-02 Roland McGrath <roland@hack.frob.com>
35558
35559 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35560 Make 'mapoff' field ElfW(Off) rather than off_t.
35561
35562 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35563
35564 * nscd/Makefile: Remove nscd-cflags and all its users.
35565 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35566 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35567
35568 [BZ #10631]
35569 * malloc.c (malloc_printerr): Clarify error message.
35570
35571 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35572
35573 [BZ #14648]
35574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35575 Set bit_FMA_Usable if FMA is supported.
35576 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35577 macro.
35578 (bit_FMA4_Usable): Updated.
35579 (index_FMA_Usable): New macro.
35580 (CPUID_FMA): Likewise
35581 (HAS_FMA): Defined with bit_FMA_Usable.
35582
35583 2012-10-01 Roland McGrath <roland@hack.frob.com>
35584
35585 * bits/types.h (__swblk_t): Type removed.
35586 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35587 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35588 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35589 (__SWBLK_T_TYPE): Likewise.
35590 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35591 (__SWBLK_T_TYPE): Likewise.
35592 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35593 (__SWBLK_T_TYPE): Likewise.
35594 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35595 (__SWBLK_T_TYPE): Likewise.
35596
35597 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
35598 Honza Horak <hhorak@redhat.com>
35599
35600 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35601 (xdr_mapname): Use YPMAXMAP as maxsize.
35602 (xdr_peername): Use YPMAXPEER as maxsize.
35603 (xdr_keydat): Use YPAXRECORD as maxsize.
35604 (xdr_valdat): Use YPMAXRECORD as maxsize.
35605
35606 2012-10-01 Roland McGrath <roland@hack.frob.com>
35607
35608 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35609
35610 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35611 * csu/init-first.c: ... here.
35612 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35613 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35614 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35615 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35616 * sysdeps/i386/init-first.c: File removed.
35617 * sysdeps/sh/init-first.c: File removed.
35618
35619 2012-10-01 Joseph Myers <joseph@codesourcery.com>
35620
35621 [BZ #14645]
35622 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35623 if x * y might underflow to zero and z is zero.
35624 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35625 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35626 * math/libm-test.inc (min_subnorm_value): New variable.
35627 (fma_test): Add more tests.
35628 (fma_test_towardzero): Likewise.
35629 (fma_test_downward): Likewise
35630 (fma_test_upward): Likewise.
35631 (initialize): Set min_subnorm_value.
35632
35633 2012-09-29 Joseph Myers <joseph@codesourcery.com>
35634
35635 [BZ #14638]
35636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35637 0 + 0.
35638 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35639 mode for addition resulting in exact zero.
35640 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35641 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35642 exact 0 + 0.
35643 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35644 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35645 * math/libm-test.inc (fma_test): Add more tests.
35646 (fma_test_towardzero): New function.
35647 (fma_test_downward): Likewise.
35648 (fma_test_upward): Likewise.
35649 (main): Call the new functions.
35650
35651 2012-09-28 David S. Miller <davem@davemloft.net>
35652
35653 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35654
35655 2012-09-28 Roland McGrath <roland@hack.frob.com>
35656
35657 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35658 instead of SIGALRM.
35659
35660 * sysdeps/gnu/_G_config.h: Moved to ...
35661 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35662 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35663 * sysdeps/generic/_G_config.h: ... here.
35664
35665 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35666
35667 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35668
35669 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35670 Conditionalize target on [libnss_test1.so-version].
35671
35672 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35673
35674 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35675 (elfobjdir): Move out of conditionals.
35676
35677 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35678 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35679 (__nss_lookup_function): Conditionalize label remove_from_tree on
35680 [!DO_STATIC_NSS || SHARED], matching its only use.
35681
35682 2012-09-28 David S. Miller <davem@davemloft.net>
35683
35684 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35685 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35686 file.
35687 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35688 sysdep_routines.
35689 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35690 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35691 when HWCAP_SPARC_CRYPTO is present.
35692
35693 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35694
35695 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35696
35697 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35698
35699 [BZ #6530]
35700 * stdio-common/vfprintf.c (process_string_arg): Revert
35701 2000-07-22 change.
35702
35703 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35704
35705 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35706 for testcase.
35707 * stdio-common/tst-sprintf.c: Include <locale.h>
35708 (main): Test sprintf's handling of incomplete multibyte
35709 characters.
35710
35711 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35712
35713 * elf/dl-runtime.c (VERSYMIDX): Removed.
35714 * elf/dl-version.c (VERSYMIDX): Likewise.
35715 * elf/do-rel.h (VERSYMIDX): Likewise.
35716 (VALIDX): Likewise.
35717 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35718 * elf/rtld.c (VALIDX): Likewise.
35719 (ADDRIDX): Likewise.
35720 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35721 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35722 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35723 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35724 (VALIDX): Likewise.
35725 (ADDRIDX): Likewise.
35726
35727 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35728
35729 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35730
35731 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35732
35733 [BZ #11438]
35734 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35735 to global scope.
35736 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35737 addresses are in the same scope as 192.0.2/24.
35738 * posix/gai.conf: Document new scope table defaults.
35739
35740 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35741
35742 [BZ #5298]
35743 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35744 for ftell. Compute offsets from write pointers instead.
35745 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35746
35747 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35748
35749 [BZ #14543]
35750 * libio/Makefile (tests): New test case tst-fseek.
35751 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35752 combination works in wide mode.
35753 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35754 state when the external buffer state changes.
35755
35756 2012-09-27 David S. Miller <davem@davemloft.net>
35757
35758 [BZ #14376]
35759 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35760 pass reloc->r_addend in as the 'high' argument to
35761 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35762
35763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35764
35765 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35766
35767 * rt/tst-aio2.c: Include <pthread.h>.
35768 * rt/tst-aio3.c: Likewise.
35769
35770 2012-09-27 Steve Ellcey <sellcey@mips.com>
35771
35772 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35773
35774 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35775
35776 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35777 contents on [SHARED].
35778
35779 2012-09-26 Marek Polacek <polacek@redhat.com>
35780
35781 [BZ #14530]
35782 [BZ #13741]
35783 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35784 for C++ and GCC <4.3 as well as for non GCC compilers.
35785
35786 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35787
35788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35789
35790 2012-09-25 Roland McGrath <roland@hack.frob.com>
35791
35792 * Makefile.in (all, install): Declare with .PHONY.
35793 Reported by Michael Hope <michael.hope@linaro.org>.
35794
35795 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35796
35797 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35798 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35799 system header.
35800 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35801 Likewise.
35802 (sydep_routines): Add the new and the internal functions.
35803 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35804 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35806 (GLIBC_2.17): Add the new function.
35807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35808 (GLIBC_2.17): Likewise.
35809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35810 (GLIBC_2.17): Likewise.
35811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35812 (GLIBC_2.17): Likewise.
35813 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35814
35815 2012-09-25 Alan Modra <amodra@gmail.com>
35816
35817 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35818 Add release barrier before setting once_control to say
35819 initialisation is done. Add hints on lwarx. Use macro in
35820 place of isync.
35821 (clear_once_control): Add release barrier.
35822
35823 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35824
35825 [BZ #13629]
35826 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35827 specially.
35828 * math/s_clog10.c (__clog10): Likewise.
35829 * math/s_clog10f.c (__clog10f): Likewise.
35830 * math/s_clog10l.c (__clog10l): Likewise.
35831 * math/s_clogf.c (__clogf): Likewise.
35832 * math/s_clogl.c (__clogl): Likewise.
35833 * math/Makefile (libm-calls): Add x2y2m1.
35834 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35835 (__x2y2m1): Likewise.
35836 (__x2y2m1l): Likewise.
35837 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35838 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35839 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35840 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35841 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35842 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35843 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35844 * sysdeps/i386/fpu/libm-test-ulps: Update.
35845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35846
35847 [BZ #14621]
35848 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35849 int as type of variable DEPTH.
35850 (glob): Use size_t instead of int as type of variables NEWCOUNT
35851 and OLD_PATHC.
35852
35853 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35854
35855 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35856 Add s_sincosf-sse2.
35857 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35858 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35859 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35860 macros for using routine as __sincosf_ia32.
35861 Use macro for function declaration and weak_alias.
35862 * sysdeps/i386/fpu/libm-test-ulps: Update.
35863
35864 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35865 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35866
35867 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35868 subnormal argument.
35869 * math/s_cexpf.c (__cexpf): Likewise.
35870 * math/s_csinf.c (__csinf): Likewise.
35871 * math/s_csinhf.c (__csinhf): Likewise.
35872 * math/s_ctanf.c (__ctanf): Likewise.
35873 * math/s_ctanhf.c (__ctanhf): Likewise.
35874 * math/s_ccosh.c (__ccoshf): Likewise.
35875 * math/s_cexp.c (__cexpl): Likewise.
35876 * math/s_csin.c (__csin): Likewise.
35877 * math/s_csinh.c (__csinh): Likewise.
35878 * math/s_ctan.c (__ctan): Likewise.
35879 * math/s_ctanh.c (ctanh): Likewise.
35880 * math/s_ccoshl.c (__ccoshl): Likewise.
35881 * math/s_cexpl.c (__cexpl): Likewise.
35882 * math/s_csinl.c (__csinl): Likewise.
35883 * math/s_csinhl.c (__csinhl): Likewise.
35884 * math/s_ctanl.c (__ctanl): Likewise.
35885 * math/s_ctanhl.c (__ctanhl): Likewise.
35886
35887 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35888
35889 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35890 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35891 (_IO_off_t): Define to __off_t, not _G_off_t.
35892 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35893 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35894 (_IO_wint_t): Define to wint_t, not _G_wint_t.
35895 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35896 type of __dummy and __dummy2 fields.
35897 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35898 (_G_ssize_t): Likewise.
35899 (_G_off_t): Likewise.
35900 (_G_pid_t): Likewise.
35901 (_G_uid_t): Likewise.
35902 (_G_wchar_t): Likewise.
35903 (_G_wint_t): Likewise.
35904 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35905 (_G_ssize_t): Likewise.
35906 (_G_off_t): Likewise.
35907 (_G_pid_t): Likewise.
35908 (_G_uid_t): Likewise.
35909 (_G_wchar_t): Likewise.
35910 (_G_wint_t): Likewise.
35911 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35912 (_G_ssize_t): Likewise.
35913 (_G_off_t): Likewise.
35914 (_G_pid_t): Likewise.
35915 (_G_uid_t): Likewise.
35916 (_G_wchar_t): Likewise.
35917 (_G_wint_t): Likewise.
35918
35919 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35920
35921 * malloc/arena.c: Include malloc-sysdep.h.
35922 (shrink_heap): Use check_may_shrink_heap to decide if madvise
35923 is sufficient to shrink the heap or an unmap is needed.
35924 * sysdeps/generic/malloc-sysdep.h: New file. Define
35925 new function check_may_shrink_heap.
35926 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
35927 new function check_may_shrink_heap.
35928
35929 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35930
35931 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35932 comments.
35933
35934 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
35935
35936 * catgets/test-gencat.sh: Add "set -e".
35937 * elf/tst-pathopt.sh: Likewise.
35938 * grp/tst_fgetgrent.sh: Likewise.
35939 * iconvdata/run-iconv-test.sh: Likewise.
35940 * intl/tst-gettext.sh: Likewise.
35941 * intl/tst-gettext2.sh: Likewise.
35942 * intl/tst-gettext4.sh: Likewise.
35943 * intl/tst-gettext6.sh: Likewise.
35944 * intl/tst-translit.sh: Likewise.
35945 * io/ftwtest-sh: Likewise.
35946 * libio/test-freopen.sh: Likewise.
35947 * malloc/tst-mtrace.sh: Likewise.
35948 * posix/globtest.sh: Likewise.
35949 * posix/tst-getconf.sh: Likewise.
35950 * posix/wordexp-tst.sh: Likewise.
35951 * stdio-common/tst-printf.sh: Likewise.
35952 * stdio-common/tst-unbputc.sh: Likewise.
35953 * stdlib/tst-fmtmsg.sh: Likewise.
35954 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35955 * catgets/Makefile: Do not specify -e option when running
35956 testsuite shell scripts.
35957 * elf/Makefile: Likewise.
35958 * grp/Makefile: Likewise.
35959 * iconvdata/Makefile: Likewise.
35960 * intl/Makefile: Likewise.
35961 * io/Makefile: Likewise.
35962 * libio/Makefile: Likewise.
35963 * malloc/Makefile: Likewise.
35964 * posix/Makefile: Likewise.
35965 * stdio-common/Makefile: Likewise.
35966 * stdlib/Makefile: Likewise.
35967 * sysdeps/x86_64/Makefile: Likewise.
35968
35969 * io/ftwtest-sh: Add copyright header.
35970 * posix/globtest.sh: Likewise.
35971 * posix/tst-getconf.sh: Likewise.
35972 * posix/wordexp-tst.sh: Likewise.
35973 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35974
35975 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
35976
35977 [BZ #13679]
35978 * Makeconfig (+link): Defined as $(+link-static) if
35979 $(build-shared) isn't yes.
35980 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35981 isn't yes.
35982 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35983
35984 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35985
35986 [BZ #14562]
35987 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35988 new chunk size with MALLOC_ALIGN_MASK.
35989
35990 2012-09-24 Joseph Myers <joseph@codesourcery.com>
35991
35992 [BZ #5044]
35993 * stdio-common/printf_fphex.c: Include <stdbool.h> and
35994 <rounding-mode.h>.
35995 (__printf_fphex): Determine rounding using get_rounding_mode and
35996 round_away.
35997 * stdio-common/tst-printf-round.c (struct hex_test): New
35998 structure.
35999 (hex_tests): New variable.
36000 (test_hex_in_one_mode): New function.
36001 (do_test): Also run tests for hex float output.
36002
36003 2012-09-21 Joseph Myers <joseph@codesourcery.com>
36004
36005 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36006 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36007 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36008 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36009 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36010 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36011 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36012 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36013
36014 2012-09-20 Joseph Myers <joseph@codesourcery.com>
36015
36016 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36017 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36018 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36019 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36020
36021 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36022
36023 [BZ #14579]
36024 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36025 mode only.
36026 * elf/tst-rtld-load-self.sh: New test.
36027 * elf/Makefile: Run it.
36028
36029 2012-09-18 Joseph Myers <joseph@codesourcery.com>
36030
36031 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36032 (tst-writev-ENV): Remove.
36033 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36034
36035 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36036
36037 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36038
36039 2012-09-17 Joseph Myers <joseph@codesourcery.com>
36040
36041 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36042 unconditional.
36043 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36044 Likewise.
36045 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36046 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36047 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36048 Likewise.
36049
36050 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36051
36052 [BZ #14587]
36053 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36054 * config.make.in (have-cpp-asm-debuginfo): Removed.
36055 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36056 * configure: Regenerated.
36057
36058 2012-09-14 Joseph Myers <joseph@codesourcery.com>
36059
36060 [BZ #5044]
36061 * stdio-common/printf_fp.c: Include <stdbool.h> and
36062 <rounding-mode.h>.
36063 (___printf_fp): Determine rounding using get_rounding_mode and
36064 round_away.
36065 * stdio-common/tst-printf-round.c: New file.
36066 * stdio-common/Makefile (tests): Add tst-printf-round.
36067 (link-libm): New variable.
36068 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36069
36070 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36071
36072 [BZ #14576]
36073 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36074 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36075 Likewise.
36076 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36077 Likewise.
36078
36079 2012-09-13 Joseph Myers <joseph@codesourcery.com>
36080
36081 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36082 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36083 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36084 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36085
36086 2012-09-12 Joseph Myers <joseph@codesourcery.com>
36087
36088 [BZ #14518]
36089 * include/rounding-mode.h: New file.
36090 * sysdeps/generic/get-rounding-mode.h: Likewise.
36091 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36092 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36093 (MAX_VALUE): New macro.
36094 (MIN_VALUE): Likewise.
36095 (overflow_value): New function.
36096 (underflow_value): Likewise.
36097 (round_and_return): Use overflow_value and underflow_value to
36098 determine return values in overflow and underflow cases. Use
36099 round_away to determine rounding depending on rounding mode.
36100 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36101 determine return values in overflow and underflow cases.
36102 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36103 (struct test_results): New structure.
36104 (struct test): Use struct test_results to store expected results
36105 for all rounding modes.
36106 (TEST): Include expected results for all rounding modes.
36107 (test_in_one_mode): New function.
36108 (do_test): Use test_in_one_mode to compute and check results.
36109 Check results for all rounding modes.
36110 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36111 $(link-libm).
36112
36113 2012-12-09 Allan McRae <allan@archlinux.org>
36114
36115 * sysdeps/i386/fpu/libm-test-ulps: Update
36116
36117 2012-09-11 Joseph Myers <joseph@codesourcery.com>
36118
36119 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36120 (_G_int32_t): Likewise.
36121 (_G_uint16_t): Likewise.
36122 (_G_uint32_t): Likewise.
36123 (_G_HAVE_BOOL): Likewise.
36124 (_G_HAVE_ATEXIT): Likewise.
36125 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36126 (_G_HAVE_IO_FILE_OPEN): Likewise.
36127 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36128 (_G_int32_t): Likewise.
36129 (_G_uint16_t): Likewise.
36130 (_G_uint32_t): Likewise.
36131 (_G_HAVE_BOOL): Likewise.
36132 (_G_HAVE_ATEXIT): Likewise.
36133 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36134 (_G_HAVE_IO_FILE_OPEN): Likewise.
36135 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36136 (_G_int32_t): Likewise.
36137 (_G_uint16_t): Likewise.
36138 (_G_uint32_t): Likewise.
36139 (_G_HAVE_BOOL): Likewise.
36140 (_G_HAVE_ATEXIT): Likewise.
36141 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36142 (_G_HAVE_IO_FILE_OPEN): Likewise.
36143
36144 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36145
36146 * csu/libc-tls.c: Update copyright years.
36147
36148 2012-09-10 Joseph Myers <joseph@codesourcery.com>
36149
36150 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36151 [!_G_USING_THUNKS]: Remove conditional code.
36152 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36153 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36154
36155 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36156 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36157 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36158 (_G_VTABLE_LABEL_PREFIX): Likewise.
36159 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36160 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36161 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36162 (_G_VTABLE_LABEL_PREFIX): Likewise.
36163 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36164 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36165 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36166 (_G_VTABLE_LABEL_PREFIX): Likewise.
36167 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36168
36169 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36170
36171 * libio/Makefile: Include ../Makeconfig before tests.
36172 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36173 only if $(build-shared) is yes.
36174
36175 * iconv/gconv_db.c: Update copyright years.
36176
36177 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36178
36179 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36180 unwind info if defined PIC. Fix special cases description.
36181 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36182
36183 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36184 DP_HI_MASK entry.
36185 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36186
36187 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36188
36189 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36190
36191 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36192 is NULL.
36193
36194 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36195 (LDLIBS-tst-chk4): This.
36196 (LDFLAGS-tst-chk5): Renamed to ...
36197 (LDLIBS-tst-chk5): This.
36198 (LDFLAGS-tst-chk6): Renamed to ...
36199 (LDLIBS-tst-chk6): This.
36200 (LDFLAGS-tst-lfschk4): Renamed to ...
36201 (LDLIBS-tst-lfschk4): This.
36202 (LDFLAGS-tst-lfschk5): Renamed to ...
36203 (LDLIBS-tst-lfschk5): This.
36204 (LDFLAGS-tst-lfschk6): Renamed to ...
36205 (LDLIBS-tst-lfschk6): This.
36206
36207 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36208 on $(common-objpfx)soversions.mk.
36209
36210 2012-09-07 Joseph Myers <joseph@codesourcery.com>
36211
36212 [BZ #10014]
36213 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36214 example host name.
36215
36216 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36217
36218 * malloc/arena.c (arena_get_retry): New function that gets
36219 another arena for the caller to try its request on.
36220 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36221 current arena cannot fulfill the request.
36222 (__libc_memalign): Likewise.
36223 (__libc_memalign): Likewise.
36224 (__libc_pvalloc): Likewise.
36225 (__libc_calloc): Likewise.
36226
36227 2012-09-05 John Tobey <john.tobey@gmail.com>
36228
36229 [BZ #13542]
36230 * manual/arith.texi (Operations on Complex): Fix description
36231 of carg branch cut.
36232
36233 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36234
36235 [BZ #10014]
36236 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36237 host name.
36238
36239 [BZ #10038]
36240 * manual/memory.texi (Memory): Make order of menu items match
36241 order of sections.
36242
36243 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36244
36245 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36246 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36247 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36248
36249 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36250
36251 * csu/libc-tls.c (static_dtv): Renamed to ...
36252 (_dl_static_dtv): This. Make it global.
36253 (_dl_initial_dtv): Removed.
36254 (__libc_setup_tls): Updated.
36255 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36256 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36257 DL_INITIAL_DTV.
36258
36259 2012-09-06 Petr Machata <pmachata@redhat.com>
36260
36261 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36262 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36263 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36264 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36265
36266 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36267
36268 [BZ #14545]
36269 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36270 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36271 freeing dtv[-1].
36272
36273 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36274
36275 [BZ #14544]
36276 * Makeconfig (link-static-before-libc): Replace $(+prector)
36277 with $(+prectorT).
36278 (link-static-after-libc): Replace $(+postctor) with
36279 $(+postctorT).
36280 (link-bounded): Replace $(+prector)/$(+postctor) with
36281 $(+prectorT)/$(+postctorT).
36282 (+prectorT): New macro.
36283 (+postctorT): Likewise.
36284
36285 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36286
36287 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36288 (round_str): Handle values above the maximum for IBM long double
36289 as inexact.
36290 * stdlib/tst-strtod-round.c (tests): Regenerated.
36291
36292 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36293
36294 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36295 assembler flag.
36296 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36297 zarch_nohighgprs around the zarch optimized routines.
36298 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36299 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36300 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36301 for zarch.
36302
36303 2012-09-05 David S. Miller <davem@davemloft.net>
36304
36305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36306
36307 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36308 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36309 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36310 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36311 entries.
36312
36313 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36314
36315 * malloc/arena.c: Fold copyright years.
36316 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36317
36318 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36319
36320 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36321
36322 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36323
36324 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36325
36326 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36327
36328 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36329 change internal state upon failure.
36330
36331 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36332
36333 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36334 * malloc/memusage.c (mmap): Likewise.
36335 (mmap64, mremap): Likewise. Adjust name in comment.
36336
36337 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36338
36339 * libio/fileops.c: Fix typos in comments.
36340 * libio/oldfileops.c: Likewise.
36341 * libio/wfileops.c: Likewise.
36342
36343 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36344
36345 [BZ #1349]
36346 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36347 (tst-malloc-usable-ENV): Set environment for test case.
36348 * malloc/hooks.c (malloc_check_get_size): New function to get
36349 requested size.
36350 * malloc/malloc.c (musable): Use malloc_check_get_size.
36351 * malloc/tst-malloc-usable.c: New test case.
36352
36353 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36354
36355 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36356
36357 2012-09-05 Allan McRae <allan@archlinux.org>
36358
36359 [BZ #13966]
36360 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36361 determine header location.
36362 * configure: Regenerated.
36363
36364 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36365
36366 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36367 float format.
36368 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36369 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36370 format.
36371 (test): Regenerate.
36372
36373 2012-09-04 David S. Miller <davem@davemloft.net>
36374
36375 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36376 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36377 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36378
36379 2012-09-04 Florian Weimer <fweimer@redhat.com>
36380
36381 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36382 failures.
36383
36384 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36385
36386 2012-09-04 Joseph Myers <joseph@codesourcery.com>
36387
36388 [BZ #9914]
36389 * libio/iogetdelim.c: Include <limits.h>.
36390 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36391 + len + 1 would overflow.
36392
36393 2012-09-03 Andreas Jaeger <aj@suse.de>
36394
36395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36396 * sysdeps/i386/fpu/libm-test-ulps: Update.
36397
36398 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36399
36400 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36401 Add s_sinf-sse2, s_conf-sse2.
36402
36403 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36404 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36405 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36406 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36407
36408 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36409 for using routine as __sinf_ia32.
36410 Use macro for function declaration and weak_alias.
36411 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36412 for using routine as __cosf_ia32.
36413 Use macro for function declaration and weak_alias.
36414
36415 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36416 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36417
36418 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36419 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36420 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36421
36422 * math/libm-test.inc (cos_test): Add more test cases.
36423 (sin_test): Likewise.
36424 (sincos_test): Likewise.
36425
36426 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36427
36428 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36429 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36430 hidden.
36431 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36432
36433 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36434
36435 [BZ #14538]
36436 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36437 first element of the GOT.
36438 (elf_machine_load_address): Return the difference between
36439 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36440
36441 2012-09-01 Allan McRae <allan@archlinux.org>
36442
36443 [BZ #13412]
36444 * configure.in (AWK): Require gawk version 3.0 or later.
36445 * configure: Regenerated.
36446
36447 2012-09-01 Joseph Myers <joseph@codesourcery.com>
36448
36449 * sysdeps/unix/sysv/linux/kernel-features.h
36450 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36451 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36452 [__NR_clock_getres]: Make code unconditional.
36453 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36454 (clock_getcpuclockid): Remove code left unreachable by removal of
36455 conditionals.
36456 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36457 code unconditional.
36458 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36459 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36460 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36461 Make code unconditional.
36462 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36463 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36464 * sysdeps/unix/sysv/linux/clock_settime.c
36465 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36466 conditional code.
36467 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36468 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36469
36470 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36471
36472 [BZ #14476]
36473 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36474 scripts/test-installation.pl.
36475
36476 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36477 and $ld_so_version if it is set.
36478
36479 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36480
36481 [BZ #14516]
36482 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36483 failure if reading from procfs failed.
36484 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36485
36486 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36487
36488 * sysdeps/unix/sysv/linux/kernel-features.h
36489 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36490 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36491 Remove conditional code.
36492 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36493 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36494 Remove conditional code.
36495 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36496 * sysdeps/unix/sysv/linux/i386/fxstat.c
36497 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36498 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36499 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36500 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36501 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36502 * sysdeps/unix/sysv/linux/i386/lxstat.c
36503 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36504 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36505 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36506 Remove conditional code.
36507 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36508 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36509 Remove conditional code.
36510 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36511 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36512 <kernel-features.h>.
36513 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36514 Remove.
36515 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36516 Remove conditional code.
36517 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36518 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36519 Remove conditional.
36520
36521 2012-08-27 Mike Frysinger <vapier@gentoo.org>
36522
36523 [BZ #5400]
36524 * NEWS: Add fixed bug number.
36525
36526 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36527
36528 [BZ #14519]
36529 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36530 underflowing exponent in case of negative sign.
36531 * stdlib/tst-strtod-round-data: Add more tests.
36532 * stdlib/tst-strtod-round.c (tests): Regenerated.
36533
36534 [BZ #3479]
36535 * stdlib/strtod_l.c (NDIG): Remove.
36536 (HEXNDIG): Likewise.
36537 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36538 smallest representable value.
36539 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36540 lie within an exact representation of 1/2 ulp of the result.
36541 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36542 unconditionally.
36543 (TENS_P9_IDX): Define unconditionally.
36544 (TENS_P9_SIZE): Likewise.
36545 (TENS_P10_IDX): Likewise.
36546 (TENS_P10_SIZE): Likewise.
36547 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36548 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36549 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36550 entries for 10^2^13 and 10^2^14.
36551 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36552 (TENS_P13_IDX): Define.
36553 (TENS_P13_SIZE): Likewise.
36554 (TENS_P14_IDX): Likewise.
36555 (TENS_P14_SIZE): Likewise.
36556 (_fpioconst_pow10): Change array size to
36557 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36558 unconditional.
36559 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36560 1024]: Add entries for 10^2^13 and 10^2^14.
36561 [LAST_POW10 > _LAST_POW10]: Remove #error.
36562 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36563 (_fpioconst_pow10): Change array size to
36564 FPIOCONST_POW10_ARRAY_SIZE.
36565 * stdlib/gen-fpioconst.c: New file.
36566 * stdlib/gen-tst-strtod-round.c: Likewise.
36567 * stdlib/tst-strtod-round-data: Likewise.
36568 * stdlib/tst-strtod-round.c: Likewise.
36569 * stdlib/Makefile (tests): Add tst-strtod-round.
36570
36571 [BZ #14459]
36572 * stdlib/strtod_l.c: Include <stdint.h>.
36573 (NDEBUG): Do not define.
36574 (round_and_return): Change EXPONENT parameter to type intmax_t.
36575 Rearrange calculations to avoid internal overflow possibilities.
36576 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36577 Rearrange calculations to avoid internal overflow possibilities.
36578 Assert that number fits inside MPNSIZE limbs.
36579 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36580 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36581 calculations and add assertions to avoid internal overflow
36582 possibilities. Add casts to avoid signed/unsigned operations.
36583 * stdlib/tst-strtod-overflow.c: New file.
36584 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36585
36586 2012-08-25 Marek Polacek <polacek@redhat.com>
36587
36588 * time/time.h: Fix some typos in comments.
36589
36590 2012-08-23 Roland McGrath <roland@hack.frob.com>
36591
36592 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36593 * posix/tst-rfc3484-2.c: Likewise.
36594 * posix/tst-rfc3484-3.c: Likewise.
36595
36596 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36597
36598 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36599 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36600
36601 2012-08-23 Joseph Myers <joseph@codesourcery.com>
36602
36603 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36604 #include of fxstatat64.c.
36605
36606 2012-08-22 Roland McGrath <roland@hack.frob.com>
36607
36608 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36609 * shadow/getspent_r.c: Likewise.
36610 * shadow/getspnam.c: Likewise.
36611 * shadow/getspnam_r.c: Likewise.
36612 * gshadow/getsgent.c: Likewise.
36613 * gshadow/getsgent_r.c: Likewise.
36614 * gshadow/getsgnam.c: Likewise.
36615 * gshadow/getsgnam_r.c: Likewise.
36616 * inet/getnetbyad.c: Likewise.
36617 * inet/getnetbyad_r.c: Likewise.
36618 * inet/getnetbynm.c: Likewise.
36619 * inet/getnetbynm_r.c: Likewise.
36620 * inet/getnetent.c: Likewise.
36621 * inet/getnetent_r.c: Likewise.
36622 * inet/getproto.c: Likewise.
36623 * inet/getproto_r.c: Likewise.
36624 * inet/getprtent.c: Likewise.
36625 * inet/getprtent_r.c: Likewise.
36626 * inet/getprtname.c: Likewise.
36627 * inet/getprtname_r.c: Likewise.
36628 * inet/getrpcbyname.c: Likewise.
36629 * inet/getrpcbyname_r.c: Likewise.
36630 * inet/getrpcbynumber.c: Likewise.
36631 * inet/getrpcbynumber_r.c: Likewise.
36632 * inet/getrpcent.c: Likewise.
36633 * inet/getrpcent_r.c: Likewise.
36634 * inet/getaliasent.c: Likewise.
36635 * inet/getaliasent_r.c: Likewise.
36636 * inet/getaliasname.c: Likewise.
36637 * inet/getaliasname_r.c: Likewise.
36638 * nscd/getgrgid_r.c: Likewise.
36639 * nscd/getgrnam_r.c: Likewise.
36640 * nscd/gethstbyad_r.c: Likewise.
36641 * nscd/gethstbynm3_r.c: Likewise.
36642 * nscd/getpwnam_r.c: Likewise.
36643 * nscd/getpwuid_r.c: Likewise.
36644 * nscd/getsrvbynm_r.c: Likewise.
36645 * nscd/getsrvbypt_r.c: Likewise.
36646 * nscd/gai.c: Likewise.
36647
36648 * configure.in (build_nscd): New substituted variable, set
36649 by --disable-build-nscd and defaults to $use_nscd.
36650 * configure: Regenerated.
36651 * config.make.in (build-nscd): New substituted variable.
36652 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36653 Change conditional to require [$(build-nscd) = yes] as well.
36654 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36655
36656 [BZ# 13696]
36657 * configure.in (use_nscd): New substituted variable, set by
36658 --disable-nscd. If enabled, define USE_NSCD.
36659 * configure: Regenerated.
36660 * config.h.in: Add USE_NSCD.
36661 * config.make.in (use-nscd): New substituted variable.
36662 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36663 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36664 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36665 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36666 (CFLAGS-getgrnam_r.c): Likewise.
36667 (CFLAGS-initgroups.c): Likewise.
36668 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36669 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36670 Variables removed.
36671 * inet/getnetgrent_r.c
36672 (nscd_setnetgrent): New function, broken out of ...
36673 (setnetgrent): ... here. Call it.
36674 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36675 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36676 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36677 * nscd/Makefile (routines, aux): Move definitions after include of
36678 Makeconfig. Conditionalize on [$(use-nscd) != no].
36679 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36680 Conditionalize on [USE_NSCD].
36681 (is_nscd, nscd_init_cb): Likewise.
36682 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36683 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36684 * nss/nss_db/db-init.c: Likewise.
36685 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36686 [USE_NSCD].
36687 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36688 (make_request): Use it.
36689 (cache_valid_p): New function.
36690 (__check_pf): Use it.
36691 * NEWS: Add item for --disable-nscd.
36692
36693 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36694
36695 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36696 to support sed >= 4.2.1-20-ga9bf076.
36697 * configure: Regenerated.
36698
36699 2012-08-22 Roland McGrath <roland@hack.frob.com>
36700
36701 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36702 Conditionalize whole body on [IREL].
36703
36704 2012-08-22 Jeff Law <law@redhat.com>
36705
36706 [BZ #14505]
36707 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36708 if the family is PF_UNSPEC.
36709
36710 2012-08-22 Mike Frysinger <vapier@gentoo.org>
36711
36712 * Makerules (lib-version): Rename from V.
36713 (install-lib-nosubdir): Change V to lib-version.
36714
36715 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36716
36717 [BZ #14252]
36718 * powerpc32/power6/wcschr.c: New file.
36719 * powerpc32/power6/wcscpy.c: New file.
36720 * powerpc32/power6/wcsrchr.c: New file.
36721 * powerpc64/power6/wcschr.c: New file.
36722 * powerpc64/power6/wcscpy.c: New file.
36723 * powerpc64/power6/wcsrchr.c: New file.
36724
36725 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36726
36727 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36728 (two_way_short_needle): Use it.
36729 * string/strstr.c (AVAILABLE1_USES_J): Define.
36730 * string/strcasestr.c: Likewise.
36731
36732 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36733 array references.
36734 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36735
36736 [BZ #11607]
36737 * NEWS: Add an entry.
36738 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36739 define their defaults.
36740 (two_way_short_needle): Detect end-of-string on-the-fly.
36741 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36742 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36743 * string/bug-strcasestr1.c: New test.
36744 * string/Makefile: Run it.
36745
36746 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36747
36748 [BZ #11607]
36749 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36750 the first character.
36751
36752 2012-08-21 Roland McGrath <roland@hack.frob.com>
36753
36754 * csu/elf-init.c (__libc_csu_irel): Function removed.
36755 * csu/libc-start.c (apply_irel): New function.
36756 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36757
36758 2012-08-21 Joseph Myers <joseph@codesourcery.com>
36759
36760 * sysdeps/unix/sysv/linux/kernel-features.h
36761 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36762 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36763 <kernel-features.h>.
36764 [__NR_fadvise64_64]: Make code unconditional.
36765 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36766 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36767 !__NR_fadvise64_64)]: Likewise.
36768 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36769 !__NR_fadvise64_64))]: Likewise.
36770 [__NR_fadvise64]: Make code unconditional.
36771 [!__NR_fadvise64]: Remove conditional code.
36772 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36773 <kernel-features.h>.
36774 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36775 unconditional.
36776 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36777 conditional code.
36778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36779 not include <kernel-features.h>.
36780 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36781 unconditional.
36782 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36783 conditional code.
36784 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36785 include <kernel-features.h>.
36786 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36787 unconditional.
36788 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36789 conditional code.
36790
36791 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36792
36793 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36794 slight instruction rearrangements per scrollpipe analysis.
36795 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36796
36797 2012-08-20 Roland McGrath <roland@hack.frob.com>
36798
36799 * manual/syslog.texi (syslog; vsyslog, closelog):
36800 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36801 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36802
36803 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36804 DSOCAPS to match condition on defining it.
36805
36806 2012-08-20 Joseph Myers <joseph@codesourcery.com>
36807
36808 * sysdeps/unix/sysv/linux/kernel-features.h
36809 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36811 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36812 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36814 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36815 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36817 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36818 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36819
36820 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36821 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36822
36823 * sysdeps/unix/sysv/linux/kernel-features.h
36824 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36825 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36826 unconditional.
36827 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36828 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36829 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36830 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36831 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36832 Make code unconditional.
36833 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36834 (__mmap64) [!__NR_mmap2]: Likewise.
36835 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36836 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36837 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36838 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36839 [__NR_mmap2]: Make code unconditional.
36840 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36841 (__mmap64) [!__NR_mmap2]: Likewise.
36842
36843 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36844
36845 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36846
36847 2012-08-18 Andreas Jaeger <aj@suse.de>
36848
36849 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36850
36851 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36852
36853 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36854 * include/unistd.h (__have_sock_cloexec): Likewise.
36855 (__have_pipe2): Likewise.
36856 (__have_dup3): Likewise.
36857
36858 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36859
36860 [BZ #9685]
36861 * include/unistd.h (__have_pipe2): Change define into an extern int.
36862 (__have_dup3): Likewise.
36863 * socket/have_sock_cloexec.c: Include fcntl.h.
36864 (__have_pipe2): New variable.
36865 (__have_dup3): Likewise.
36866
36867 2012-08-17 Mike Frysinger <vapier@gentoo.org>
36868
36869 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36870
36871 2012-08-17 Marek Polacek <polacek@redhat.com>
36872
36873 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36874 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36875
36876 2012-08-17 Roland McGrath <roland@hack.frob.com>
36877
36878 * configure.in: Add AC_SUBST for sysheaders.
36879 * configure: Regenerated.
36880 * config.make.in (sysheaders): New substituted variable.
36881
36882 * sysdeps/unix/mkfifo.c: Moved ...
36883 * sysdeps/posix/mkfifo.c: ... here.
36884 * sysdeps/unix/mkfifoat.c: Moved ...
36885 * sysdeps/posix/mkfifoat.c: ... here.
36886
36887 * sysdeps/unix/utime.c: Moved ...
36888 * sysdeps/posix/utime.c: ... here.
36889
36890 * sysdeps/unix/time.c: Moved ...
36891 * sysdeps/posix/time.c: ... here.
36892 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36893 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36894
36895 * sysdeps/unix/nice.c: Moved ...
36896 * sysdeps/posix/nice.c: ... here.
36897
36898 * sysdeps/unix/alarm.c: Moved ...
36899 * sysdeps/posix/alarm.c: ... here.
36900
36901 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36902
36903 2012-08-17 Jeff Law <law@redhat.com>
36904
36905 * intl/Makefile (codeset_mo): New variable.
36906 ($(codeset_mo)): New target.
36907 (tst-codeset.out): Depend on that. Remove explicit rule.
36908 (tst-gettext3.out, tst-gettext5.out): Likewise.
36909 (LOCPATH-ENV, tst-codeset-ENV): New variables.
36910 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36911 * intl/tst-codeset.sh: Remove.
36912 * intl/tst-gettext3.sh: Likewise.
36913 * intl/tst-gettext5.sh: Likewise.
36914
36915 2012-08-17 Roland McGrath <roland@hack.frob.com>
36916
36917 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
36918 * sysdeps/unix/syscalls.list: ... here.
36919
36920 * sysdeps/posix/getaddrinfo.c
36921 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36922 (gaiconf_init, gaiconf_reload): Use them.
36923 [!_STATBUF_ST_NSEC]
36924 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36925 Define using time_t rather than struct timespec.
36926
36927 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36928 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36929 Macros removed.
36930 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36931 [!NO_THREADS].
36932 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36933 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36934 Likewise.
36935
36936 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36937 __libc_cleanup_push argument.
36938
36939 * bits/param.h: New file.
36940 * misc/sys/param.h: New file.
36941 * include/sys/param.h: New file.
36942 * misc/Makefile (headers): Add bits/param.h.
36943 * sysdeps/generic/sys/param.h: File removed.
36944 * sysdeps/unix/sysv/linux/bits/param.h: New file.
36945 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36946 * sysdeps/mach/hurd/bits/param.h: New file.
36947 * sysdeps/mach/hurd/sys/param.h: File removed.
36948
36949 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36950 last change.
36951
36952 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36953 [_IO_MTSAFE_IO].
36954 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36955 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36956 New macros.
36957
36958 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36959 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36960 rather than -D_IO_MTSAFE_IO conditionally.
36961 * stdio-common/Makefile (CPPFLAGS): Likewise.
36962 * wcsmbs/Makefile (CPPFLAGS): Likewise.
36963 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36964 Use $(libio-mtsafe).
36965 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36966 of -D_IO_MTSAFE_IO.
36967 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36968 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36969 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36970 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36971 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36972 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36973 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36974 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36975 (CFLAGS-fread_u_chk.c): Likewise.
36976 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36977 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36978 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36979 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36980 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36981 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36982 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36983 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36984 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36985
36986 * libio/Makefile: Test [$(libc-reentrant) = yes]
36987 instead of [$(filter %REENTRANT, $(defines)) nonempty].
36988
36989 * Makeconfig
36990 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36991 * sysdeps/pthread/configure: File removed.
36992 * sysdeps/pthread/Makeconfig: New file.
36993 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36994 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36995
36996 2012-08-16 Gary Benson <gbenson@redhat.com>
36997
36998 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36999 unmapping the first object in a namespace.
37000
37001 2012-08-16 Roland McGrath <roland@hack.frob.com>
37002
37003 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37004 (__internal_setnetgrent): ... this. Add internal_function to
37005 definition. Add libc_hidden_def.
37006 (setnetgrent): Update caller.
37007 (internal_endnetgrent): Renamed to ...
37008 (__internal_endnetgrent): ... this. Add internal_function to
37009 definition. Add libc_hidden_def.
37010 (endnetgrent): Update caller.
37011 (internal_getnetgrent_r): Renamed to ...
37012 (__internal_getnetgrent_r): ... this. Add internal_function to
37013 definition. Add libc_hidden_def.
37014 (__getnetgrent_r): Update caller.
37015 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37016
37017 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37018
37019 * stdlib/longlong.h: Update from GCC.
37020
37021 2012-08-16 Roland McGrath <roland@hack.frob.com>
37022
37023 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37024 on _QL, which is set by umul_ppmm but never used.
37025 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37026 variables, which are set by GMP macros but never used.
37027 * stdio-common/_itowa.c (_itowa): Likewise.
37028 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37029 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37030
37031 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37032
37033 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37034 struct La_sh_regs is not constant.
37035 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37036 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37037 and struct La_sparc64_regs are not constant.
37038
37039 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37040
37041 * sysdeps/unix/sysv/linux/kernel-features.h
37042 (__ASSUME_POSIX_TIMERS): Remove.
37043 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37044 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37045 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37046 Make code unconditional.
37047 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37048 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37049 Make code unconditional.
37050 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37051 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37052 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37053 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37054 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37055 Make code unconditional.
37056 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37057 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37058 (__libc_missing_posix_timers): Remove.
37059
37060 2012-08-15 Roland McGrath <roland@hack.frob.com>
37061
37062 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37063 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37064
37065 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37066
37067 * elf/dl-sym.c: Include <stdlib.h>.
37068
37069 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37070 constants, which avoids warnings in 32-bit builds.
37071
37072 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37073 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37074
37075 * misc/lseek.c: File moved to ...
37076 * io/lseek.c: ... here.
37077
37078 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37079
37080 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37081 shifting LEN more than 31 bits at once.
37082
37083 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37084
37085 [BZ #14195]
37086 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37087 segmentation fault for a case of two empty input strings.
37088 * string/test-strncasecmp.c (check1): Renamed to...
37089 (bz12205): ...this.
37090 (bz14195): Add new testcase for two empty input strings and N > 0.
37091 (test_main): Call new testcase, adapt for renamed function.
37092
37093 2012-08-15 Andreas Jaeger <aj@suse.de>
37094
37095 [BZ #14090]
37096 * crypt/md5test2.c: New test, based on test supplied by Serge
37097 Belyshev <belyshev@depni.sinp.msu.ru>.
37098 * crypt/Makefile (xtests): Add md5test-giant..
37099 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37100
37101 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37102
37103 [BZ #14090]
37104 * crypt/md5.c (md5_process_block): Don't assume the buffer
37105 length is less than 2**32.
37106 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37107 length is less than 2**64.
37108
37109 2012-08-15 Roland McGrath <roland@hack.frob.com>
37110
37111 * string/str-two-way.h: Include <sys/param.h>.
37112 (MAX): Macro removed.
37113
37114 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37115 Move #define and #undef of memmove to just before and after
37116 including <string.h>.
37117
37118 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37119 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37120 and after including <string.h>. Move declarations of
37121 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37122 to before #include "string/memmove.c".
37123
37124 * include/dirent.h: Declare __getdirentries.
37125
37126 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37127 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37128
37129 2012-08-14 Mike Frysinger <vapier@gentoo.org>
37130
37131 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37132 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37133 * sysdeps/i386/configure: Regenerated.
37134 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37135 STABS_CURRENT_FILE, and STABS_FUN.
37136 (END): Remove call to STABS_FUN_END.
37137 (STABS_CURRENT_FILE1): Delete.
37138 (STABS_CURRENT_FILE): Likewise.
37139 (STABS_FUN): Likewise.
37140 (STABS_FUN_END): Likewise.
37141 (STABS_FUN2): Likewise.
37142 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37143 * sysdeps/x86_64/configure: Regenerated.
37144
37145 2012-08-14 Roland McGrath <roland@hack.frob.com>
37146
37147 * elf/dl-open.c: Include <atomic.h>.
37148 * elf/dl-lookup.c: Likewise.
37149
37150 2012-08-14 Joseph Myers <joseph@codesourcery.com>
37151
37152 * sysdeps/unix/sysv/linux/kernel-features.h
37153 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37154 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37155 unconditionally.
37156 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37157 unconditionally.
37158 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37159 condition on __ASSUME_CLONE_THREAD_FLAGS.
37160
37161 2012-08-14 Andreas Jaeger <aj@suse.de>
37162
37163 * sysdeps/i386/fpu/libm-test-ulps: Update.
37164
37165 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37166
37167 * include/atomic.h (atomic_exchange_and_add): Split into ...
37168 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37169 New atomic macros.
37170
37171 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37172
37173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37174
37175 2012-08-13 Jeff Law <law@redhat.com>
37176
37177 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37178 null byte in the output string.
37179
37180 2012-08-10 Joseph Myers <joseph@codesourcery.com>
37181
37182 * sysdeps/unix/sysv/linux/kernel-features.h
37183 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37184 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37185 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37186 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37187 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37188 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37189 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37190
37191 2012-08-09 Jeff Law <law@redhat.com>
37192
37193 [BZ #13939]
37194 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37195 When avoid_arena is set, don't retry in the that arena. Pick the
37196 next one, whatever it might be.
37197 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37198 (arena_lock): Pass in new parameter to arena_get2.
37199 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37200 arena_get2.
37201 (__libc_malloc): Unify retrying after main arena failure with
37202 __libc_memalign version.
37203 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37204
37205 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37206
37207 [BZ #14166]
37208 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37209 to __redirect_strstr.
37210 (__strstr_sse42): Use typeof __redirect_strstr.
37211 (__strstr_ia32): Likewise.
37212 (__libc_strstr): New prototype.
37213 (strstr): Renamed to ...
37214 (__libc_strstr): This.
37215 (strstr): New strong alias of __libc_strstr.
37216 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37217 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37218 __redirect_time.
37219 Include <time.h>.
37220 (__libc_time): New prototype.
37221 (time_ifunc): Replace time with __libc_time.
37222 (time): New strong alias and hidden definition of __libc_time.
37223 (__GI_time): Remove strong alias.
37224 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37225 Include <stddef.h>.
37226 (memmove): Redefined to __redirect_memmove.
37227 (__memmove_sse2): Use typeof __redirect_memmove.
37228 (__memmove_ssse3): Likewise.
37229 (__memmove_ssse3_back): Likewise.
37230 (__libc_memmove): New prototype.
37231 (memmove): Renamed to ...
37232 (__libc_memmove): This.
37233 (memmove): New strong alias of __libc_memmove.
37234
37235 2012-08-08 Mark Salter <msalter@redhat.com>
37236
37237 * elf/elf.h
37238 (R_MN10300_TLS_GD): Define.
37239 (R_MN10300_TLS_LD): Likewise.
37240 (R_MN10300_TLS_LDO): Likewise.
37241 (R_MN10300_TLS_GOTIE): Likewise.
37242 (R_MN10300_TLS_IE): Likewise.
37243 (R_MN10300_TLS_LE): Likewise.
37244 (R_MN10300_TLS_DTPMOD): Likewise.
37245 (R_MN10300_TLS_DTPOFF): Likewise.
37246 (R_MN10300_TLS_TPOFF): Likewise.
37247 (R_MN10300_SYM_DIFF): Likewise.
37248 (R_MN10300_ALIGN): Likewise.
37249 (R_MN10300_NUM): Update.
37250
37251 2012-08-08 Joseph Myers <joseph@codesourcery.com>
37252
37253 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37254 Remove.
37255
37256 2012-08-08 Roland McGrath <roland@hack.frob.com>
37257
37258 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37259
37260 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37261 sysdeps/unix -> sysdeps/posix move.
37262 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37263
37264 2012-08-07 Allan McRae <allan@archlinux.org>
37265
37266 [BZ #14303]
37267 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37268 (SUNOS_CPP): Likewise.
37269 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37270 not found.
37271 (open_input): Call CPP using execvp.
37272
37273 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37274
37275 * sysdeps/unix/sysv/linux/kernel-features.h
37276 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37277 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37278 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37279 (__ASSUME_WAITID_SYSCALL): Likewise.
37280 * sysdeps/unix/sysv/linux/dl-execstack.c
37281 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37282 code unconditional.
37283 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37284 conditional code.
37285 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37286 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37287 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37288 code.
37289 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37290 unconditional.
37291 [__ASSUME_WAITID_SYSCALL]: Likewise.
37292 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37293
37294 2012-08-07 Roland McGrath <roland@hack.frob.com>
37295
37296 * sysdeps/unix/closedir.c: Renamed to ...
37297 * sysdeps/posix/closedir.c: ... here.
37298 * sysdeps/unix/dirfd.c: Renamed to ...
37299 * sysdeps/posix/dirfd.c: ... here.
37300 * sysdeps/unix/dirstream.h: Renamed to ...
37301 * sysdeps/posix/dirstream.h: ... here.
37302 * sysdeps/unix/fdopendir.c: Renamed to ...
37303 * sysdeps/posix/fdopendir.c: ... here.
37304 * sysdeps/unix/opendir.c: Renamed to ...
37305 * sysdeps/posix/opendir.c: ... here.
37306 * sysdeps/unix/readdir.c: Renamed to ...
37307 * sysdeps/posix/readdir.c: ... here.
37308 * sysdeps/unix/readdir_r.c: Renamed to ...
37309 * sysdeps/posix/readdir_r.c: ... here.
37310 * sysdeps/unix/rewinddir.c: Renamed to ...
37311 * sysdeps/posix/rewinddir.c: ... here.
37312 * sysdeps/unix/seekdir.c: Renamed to ...
37313 * sysdeps/posix/seekdir.c: ... here.
37314 * sysdeps/unix/telldir.c: Renamed to ...
37315 * sysdeps/posix/telldir.c: ... here.
37316 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37317 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37318 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37319 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37320
37321 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37322 * bits/fcntl.h: ... here.
37323
37324 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37325 not 0.
37326 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37327 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37328 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37329 (struct flock): Move l_start, l_len to the beginning.
37330 Use __pid_t for l_pid.
37331 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37332 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37333 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37334 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37335 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37336 [__USE_LARGEFILE64] (struct flock64): New type.
37337 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37338
37339 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37340 * bits/dirent.h: ... here.
37341
37342 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37343 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37344
37345 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37346
37347 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37348 Change from 2.6.0 to 2.6.16.
37349 * sysdeps/unix/sysv/linux/configure: Regenerated.
37350 * sysdeps/unix/sysv/linux/kernel-features.h
37351 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37352 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37353 version.
37354 (__ASSUME_UTIMES): Likewise.
37355 (__ASSUME_CLONE_STOPPED): Remove.
37356 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37357 architectures, not kernel version.
37358 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37359 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37360 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37361 (__ASSUME_WAITID_SYSCALL): Likewise.
37362 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37363 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37364 * README: State 2.6.16 as minimum Linux kernel version. Do not
37365 refer to older versions.
37366
37367 2012-08-06 Roland McGrath <roland@hack.frob.com>
37368
37369 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37370 Define alphasort64 as an alias.
37371 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37372 Define versionsort64 as an alias.
37373 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37374 Define scandir64 as an alias.
37375 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37376 Define scandirat64 as an alias.
37377 * dirent/alphasort64.c (alphasort64):
37378 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37379 * dirent/versionsort64.c: Likewise.
37380 * dirent/scandir64.c: Likewise.
37381 * dirent/scandirat64.c: Likewise.
37382 * sysdeps/wordsize-64/alphasort.c: File removed.
37383 * sysdeps/wordsize-64/alphasort64.c: File removed.
37384 * sysdeps/wordsize-64/scandir.c: File removed.
37385 * sysdeps/wordsize-64/scandir64.c: File removed.
37386 * sysdeps/wordsize-64/scandirat.c: File removed.
37387 * sysdeps/wordsize-64/scandirat64.c: File removed.
37388 * sysdeps/wordsize-64/versionsort.c: File removed.
37389 * sysdeps/wordsize-64/versionsort64.c: File removed.
37390 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37391 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37392 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37393 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37394 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37395 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37396 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37397 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37398
37399 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37400 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37401 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37402 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37403 [defined __arch64__ || defined __sparcv9]
37404 (__INO_T_MATCHES_INO64_T): New macro.
37405 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37406 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37407 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37408 * sysdeps/unix/sysv/linux/bits/dirent.h
37409 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37410 (_DIRENT_MATCHES_DIRENT64): New macro.
37411
37412 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37413 Define lockf64 as an alias.
37414 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37415 Define fseeko64 as an alias.
37416 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37417 Define ftello64 as an alias.
37418 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37419 Define _IO_fgetpos64 and fgetpos64 as aliases.
37420 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37421 Define _IO_fsetpos64 and fsetpos64 as aliases.
37422 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37423 Conditionalize body on this.
37424 * libio/fseeko64.c: Likewise.
37425 * libio/ftello64.c: Likewise.
37426 * libio/iofgetpos64.c: Likewise.
37427 * libio/iofsetpos64.c: Likewise.
37428 * sysdeps/wordsize-64/lockf.c: File removed.
37429 * sysdeps/wordsize-64/lockf64.c: File removed.
37430 * sysdeps/wordsize-64/fseeko.c: File removed.
37431 * sysdeps/wordsize-64/fseeko64.c: File removed.
37432 * sysdeps/wordsize-64/ftello.c: File removed.
37433 * sysdeps/wordsize-64/ftello64.c: File removed.
37434 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37435 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37436 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37437 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37438 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37439 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37440 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37441 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37442 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37443 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37444 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37445 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37446 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37447 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37448
37449 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37450 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37451 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37452 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37453 [defined __arch64__ || defined __sparcv9]
37454 (__OFF_T_MATCHES_OFF64_T): New macro.
37455 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37456 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37457 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37458 (__OFF_T_MATCHES_OFF64_T): New macro.
37459
37460 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37461
37462 * stdlib/secure-getenv.c (__secure_getenv): Replace
37463 GLIBC_2_16 with GLIBC_2_17.
37464
37465 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37466
37467 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37468 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37469
37470 2012-08-03 David S. Miller <davem@davemloft.net>
37471
37472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37473
37474 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37475
37476 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37477 Remove.
37478 (__ASSUME_CORRECT_SI_PID): Likewise.
37479 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37480 (__ASSUME_TMPFS_NAME): Likewise.
37481 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37482 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37483 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37484 (HAVE_AUX_SECURE): Make definition unconditional.
37485 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37486 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37487
37488 2012-08-03 Roland McGrath <roland@hack.frob.com>
37489
37490 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37491 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37492 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37493 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37494 __eloop_threshold instead of SYMLOOP_MAX.
37495
37496 * sysdeps/generic/eloop-threshold.h: New file.
37497 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37498 of MAXSYMLINKS.
37499 * elf/chroot_canon.c (chroot_canon): Likewise.
37500
37501 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37502
37503 [BZ #13717]
37504 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37505 Change to 2.6.0 everywhere.
37506 * sysdeps/unix/sysv/linux/configure: Regenerated.
37507 * sysdeps/unix/sysv/linux/kernel-features.h
37508 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37509 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37510 kernel versions.
37511 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37512 (__ASSUME_FUTEX_REQUEUE): Remove.
37513 (__ASSUME_STATFS64): Define unconditionally.
37514 (__ASSUME_AT_SECURE): Likewise.
37515 (__ASSUME_CORRECT_SI_PID): Likewise.
37516 (__ASSUME_TGKILL): Define without depending on kernel version for
37517 i386.
37518 (__ASSUME_UTIMES): Likewise.
37519 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37520 kernel version.
37521 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37522 (__ASSUME_TMPFS_NAME): Likewise.
37523 * README: Update reference to Linux kernel versions.
37524
37525 2012-08-02 Marek Polacek <polacek@redhat.com>
37526
37527 [BZ# 14150]
37528 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37529 libc_cv_asm_type_prefix with %.
37530 * configure: Regenerated.
37531 * include/libc-symbols.h: Remove comment about
37532 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37533 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37534 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37535 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37536 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37537 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37538 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37539 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37540 * elf/tst-unique2mod1.c: Likewise.
37541 * elf/tst-unique1mod2.c: Likewise.
37542 * elf/tst-unique1mod1.c: Likewise.
37543 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37544 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37545 Replace ASM_TYPE_DIRECTIVE with .type.
37546 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37547 * sysdeps/i386/sysdep.h: Likewise.
37548 * sysdeps/x86_64/sysdep.h: Likewise.
37549 * sysdeps/sh/sysdep.h: Likewise.
37550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37551 Do not define ASM_TYPE_DIRECTIVE.
37552 * sysdeps/powerpc/sysdep.h: Likewise.
37553 * sysdeps/powerpc/powerpc32/sysdep.h:
37554 Replace ASM_TYPE_DIRECTIVE with .type.
37555 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37556 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37557 * sysdeps/i386/fpu/e_powf.S: Likewise.
37558 * sysdeps/i386/fpu/e_expl.S: Likewise.
37559 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37560 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37561 * sysdeps/i386/fpu/e_pow.S: Likewise.
37562 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37563 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37564 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37565 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37566 * sysdeps/i386/fpu/e_log2.S: Likewise.
37567 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37568 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37569 * sysdeps/i386/fpu/e_powl.S: Likewise.
37570 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37571 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37572 * sysdeps/i386/fpu/e_logl.S: Likewise.
37573 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37574 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37575 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37576 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37577 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37578 * sysdeps/i386/fpu/e_log.S: Likewise.
37579 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37580 * sysdeps/i386/fpu/e_logf.S: Likewise.
37581 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37582 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37583 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37584 * sysdeps/i386/fpu/e_log10.S: Likewise.
37585 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37586 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37587 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37588 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37589 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37590 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37591 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37592 * sysdeps/i386/i686/strtok.S: Likewise.
37593 * sysdeps/i386/i386-mcount.S: Likewise.
37594 * sysdeps/i386/strtok.S: Likewise.
37595 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37596 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37597 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37598 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37599 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37600 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37601 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37602 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37603 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37604 * sysdeps/x86_64/_mcount.S: Likewise.
37605 * sysdeps/x86_64/strtok.S: Likewise.
37606 * sysdeps/sh/_mcount.S: Likewise.
37607
37608 2012-08-01 Roland McGrath <roland@hack.frob.com>
37609
37610 * libio/iofopen.c: Include <fcntl.h>.
37611 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37612 (_IO_fopen64, fopen64): Define as aliases.
37613 * libio/iofopen64.c: Include <fcntl.h>.
37614 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37615 Conditionalize body on this.
37616 * sysdeps/wordsize-64/iofopen.c: File removed.
37617 * sysdeps/wordsize-64/iofopen64.c: File removed.
37618
37619 2012-08-01 Marek Polacek <polacek@redhat.com>
37620
37621 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37622 Use dlfcn directly instead of a variable.
37623 (binfmt-subdir): Do not define.
37624 (dlfcn): Likewise.
37625
37626 2012-08-01 Joseph Myers <joseph@codesourcery.com>
37627
37628 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37629 Remove all definitions.
37630 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37631 <kernel-features.h>.
37632 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37633 (miss_F_GETOWN_EX): Remove all definitions.
37634 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37635 macro definition.
37636 [!__ASSUME_FCNTL64]: Remove conditional code.
37637 [__ASSUME_FCNTL64]: Make code unconditional.
37638 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37639 <kernel-features.h>.
37640 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37641 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37642 (lockf64) [__NR_fcntl64]: Make code unconditional.
37643 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37644
37645 * sysdeps/unix/sysv/linux/kernel-features.h
37646 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37647 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37648 Make code unconditional.
37649 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37650 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37652 [__NR_vfork]: Make code unconditional.
37653 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37654 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37656 [__NR_vfork]: Make code unconditional.
37657 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37658 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37659
37660 2012-08-01 Roland McGrath <roland@hack.frob.com>
37661
37662 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37663 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37664
37665 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37666 Define mkstemp64 as an alias.
37667 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37668 Define mkstemps64 as an alias.
37669 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37670 Define mkostemp64 as an alias.
37671 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37672 Define mkostemps64 as an alias.
37673 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37674 Conditionalize body on this.
37675 * misc/mkostemp64.c: Likewise.
37676 * misc/mkostemps64.c: Likewise.
37677 * misc/mkstemps64.c: Likewise.
37678 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37679 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37680 * sysdeps/wordsize-64/mkostemp.c: File removed.
37681 * sysdeps/wordsize-64/mkstemp.c: File removed.
37682 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37683 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37684 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37685 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37686
37687 [BZ #14138]
37688 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37689 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37690 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37691 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37692
37693 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37694 compat_symbol macros from <shlib-compat.h> rather than the underlying
37695 default_symbol_version and symbol_version macros, so that DEFAULT
37696 lines in shlib-versions are respected.
37697 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37698
37699 2012-08-01 Florian Weimer <fweimer@redhat.com>
37700
37701 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37702 Declare with warn_unused_result.
37703 (setgid, setregid, setegid, setresgid): Likewise.
37704 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37705 Likewise.
37706 * WUR-REPORT: Remove set*id functions.
37707
37708 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37709
37710 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37711
37712 2012-07-31 Roland McGrath <roland@hack.frob.com>
37713
37714 [BZ #10191]
37715 * include/sys/socket.h (__libc_accept, __libc_accept4):
37716 Add attribute_hidden.
37717 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37718
37719 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37720 use of PTR_MANGLE.
37721 * inet/getnetgrent_r.c (setup): Likewise.
37722
37723 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37724
37725 2012-07-31 David S. Miller <davem@davemloft.net>
37726
37727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37728
37729 2012-07-31 Joseph Myers <joseph@codesourcery.com>
37730
37731 [BZ #13629]
37732 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37733 value between 1.0 and 2.0 and smaller part has absolute value less
37734 than 1.0.
37735 * math/s_clog10.c (__clog10): Likewise.
37736 * math/s_clog10f.c (__clog10f): Likewise.
37737 * math/s_clog10l.c (__clog10l): Likewise.
37738 * math/s_clogf.c (__clogf): Likewise.
37739 * math/s_clogl.c (__clogl): Likewise.
37740 * math/libm-test.inc (clog_test): Add more tests.
37741 (clog10_test): Likewise.
37742 * sysdeps/i386/fpu/libm-test-ulps: Update.
37743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37744
37745 2012-07-31 Florian Weimer <fweimer@redhat.com>
37746
37747 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37748 Exit with zero in case no suitable GID is found, and write a
37749 message to standard error.
37750
37751 2012-07-30 Roland McGrath <roland@hack.frob.com>
37752
37753 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37754 rather than to 1.
37755 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37756 (MAXPATHLEN): Removed.
37757 (NOGROUP, NODEV): New macros.
37758 (setbit, clrbit, isset, isclr): New macros.
37759 (howmany, roundup, powerof2): New macros.
37760 (DEV_BSIZE): New macro.
37761
37762 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37763 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37764
37765 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37766 definition on [!__NO_LONG_DOUBLE_MATH].
37767
37768 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37769 PTR_MANGLE and PTR_DEMANGLE.
37770
37771 * socket/accept4.c (accept4): Rename to __libc_accept4.
37772 Define accept4 as a weak alias.
37773
37774 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37775 on [_DIRENT_HAVE_D_TYPE].
37776 * io/ftw.c (ftw_dir): Likewise.
37777
37778 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37779
37780 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37781
37782 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37783 Use the BSD numbers rather than the arbitrary ones we had.
37784 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37785 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37786 (SIGXCPU, SIGXFSZ): New macros.
37787 (_NSIG): Now 32.
37788
37789 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37790 initializer on [_LIBC_REENTRANT].
37791
37792 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37793 definitions inside [_POSIX_MAPPED_FILES].
37794
37795 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37796
37797 * dirent/opendir.c: Include <fcntl.h>.
37798
37799 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37800 (__libc_getspecific): Likewise.
37801 (__libc_key_create): Likewise.
37802
37803 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37804 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37805 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37806 (tmpfile64): Define as alias.
37807 * sysdeps/wordsize-64/tmpfile.c: File removed.
37808 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37809 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37810 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37811
37812 * stdio-common/vfscanf.c: Include <stdbool.h>.
37813 * nss/makedb.c: Likewise.
37814 * stdio-common/_i18n_number.h: Likewise.
37815 * argp/argp-help.c: Likewise.
37816 * posix/wordexp.c: Likewise.
37817 * sysdeps/posix/spawni.c: Likewise.
37818 * nss/nss_files/files-initgroups.c: Likewise.
37819 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37820 * nss/nss_files/files-initgroups.c: Likewise.
37821 * nss/nss_db/db-netgrp.c: Likewise.
37822 * nss/nss_db/db-initgroups.c: Likewise.
37823 * io/fchmodat.c: Include <sys/stat.h>.
37824
37825 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37826 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37827
37828 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37829 [HAVE_MMAP].
37830
37831 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37832 Add multiple inclusion protection.
37833
37834 2012-07-27 David S. Miller <davem@davemloft.net>
37835
37836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37837
37838 2012-07-27 Gary Benson <gbenson@redhat.com>
37839
37840 [BZ #14298]
37841 * elf/rtld.c: Include <stap-probe.h>.
37842 (dl_main): Added static probes "init_start" and "init_complete".
37843 * elf/dl-load.c: Include <stap-probe.h>.
37844 (lose): Take new parameter "nsid".
37845 Added static probe "map_failed".
37846 (_dl_map_object_from_fd): Pass namespace id to lose.
37847 Added static probe "map_start".
37848 (open_verify): Pass namespace id to lose.
37849 * elf/dl-open.c: Include <stap-probe.h>.
37850 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37851 and "reloc_complete".
37852 * elf/dl-close.c: Include <stap-probe.h>.
37853 (_dl_close_worker): Added static probes "unmap_start" and
37854 "unmap_complete".
37855 * elf/rtld-debugger-interface.txt: New file documenting the above.
37856
37857 2012-07-26 Roland McGrath <roland@hack.frob.com>
37858
37859 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37860 rather than a string variable.
37861 * sunrpc/rpc_main.c (h_output): Likewise.
37862 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37863
37864 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37865
37866 * inet/check_native.c: New file.
37867
37868 2012-07-26 Joseph Myers <joseph@codesourcery.com>
37869
37870 [BZ #13629]
37871 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37872 if larger part has absolute value 1.0.
37873 * math/s_clog10.c (__clog10): Likewise.
37874 * math/s_clog10f.c (__clog10f): Likewise.
37875 * math/s_clog10l.c (__clog10l): Likewise.
37876 * math/s_clogf.c (__clogf): Likewise.
37877 * math/s_clogl.c (__clogl): Likewise.
37878 * math/libm-test.inc (clog_test): Add more tests.
37879 (clog10_test): Likewise.
37880 * sysdeps/i386/fpu/libm-test-ulps: Update.
37881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37882
37883 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37884 (pltexit): Likewise.
37885 (La_regs): Likewise.
37886 (La_retval): Likewise.
37887 (int_retval): Likewise.
37888 Update #error for removed macros to refer only to definitions in
37889 tst-audit.h.
37890 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37891 macro.
37892 (pltexit): Likewise.
37893 (La_regs): Likewise.
37894 (La_retval): Likewise.
37895 (int_retval): Likewise.
37896 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37897 macro.
37898 (pltexit): Likewise.
37899 (La_regs): Likewise.
37900 (La_retval): Likewise.
37901 (int_retval): Likewise.
37902 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37903 macro.
37904 (pltexit): Likewise.
37905 (La_regs): Likewise.
37906 (La_retval): Likewise.
37907 (int_retval): Likewise.
37908 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37909 macro.
37910 (pltexit): Likewise.
37911 (La_regs): Likewise.
37912 (La_retval): Likewise.
37913 (int_retval): Likewise.
37914 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37915 macro.
37916 (pltexit): Likewise.
37917 (La_regs): Likewise.
37918 (La_retval): Likewise.
37919 (int_retval): Likewise.
37920 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37921 macro.
37922 (pltexit): Likewise.
37923 (La_regs): Likewise.
37924 (La_retval): Likewise.
37925 (int_retval): Likewise.
37926 * sysdeps/generic/tst-audit.h: Update comment to refer only to
37927 macro definitions in tst-audit.h.
37928 * sysdeps/i386/tst-audit.h: New file.
37929 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37930 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37931 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37932 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37933 * sysdeps/sh/tst-audit.h: Likewise.
37934 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37935 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37936 * sysdeps/x86_64/tst-audit.h: Likewise.
37937
37938 2012-07-26 Andreas Jaeger <aj@suse.de>
37939
37940 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37941 ptrace.
37942
37943 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37944 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37945 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37946 PTRACE_O_MASK.
37947 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37948 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37949 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37950
37951 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37952 value.
37953
37954 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37955 _sigsys.
37956 (si_call_addr, si_syscall, si_arch): Define new macro.
37957 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37958 _sigsys.
37959 (si_call_addr, si_syscall, si_arch): Define new marcro.
37960 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37961 _sigsys.
37962 (si_call_addr, si_syscall, si_arch): Define new macro.
37963 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37964 _sigsys.
37965 (si_call_addr, si_syscall, si_arch): Define new macro.
37966
37967 2012-07-25 Joseph Myers <joseph@codesourcery.com>
37968
37969 [BZ #13717]
37970 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37971 Change to 2.4.21 where previously 2.4.1.
37972 * sysdeps/unix/sysv/linux/configure: Regenerated.
37973 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37974 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37975 Linux kernel version.
37976 (__ASSUME_STD_AUXV): Remove.
37977 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37978 kernel version.
37979 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37980 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37981 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37982 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37983 (__ASSUME_NETLINK_SUPPORT): Likewise.
37984 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37985 (__no_netlink_support): Remove conditional definition.
37986 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37987 Remove.
37988 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37989 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37990 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37991 (if_nameindex_ioctl): Remove.
37992 (if_nameindex_netlink): Do not handle __no_netlink_support.
37993 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37994 code.
37995 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37996 Remove conditional code.
37997 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37998 code.
37999 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38000 unconditional.
38001 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38002 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38003 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38004 Remove.
38005 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38006 [!__ASSUME_STD_AUXV]: Remove conditional code.
38007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38008 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38009 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38011 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38012 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38013 code.
38014 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38016 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38017 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38018 conditional code.
38019 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38021 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38022 code.
38023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38024 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38025 conditional code.
38026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38027 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38028 code unconditional.
38029 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38030 conditional code.
38031 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38032 unconditional.
38033 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38034 conditional code.
38035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38036 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38037 unconditional.
38038 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38039 conditional code.
38040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38041 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38042 code unconditional.
38043 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38044 conditional code.
38045 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38046 unconditional.
38047 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38048 conditional code.
38049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38050 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38051 code unconditional.
38052 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38053 conditional code.
38054 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38055 unconditional.
38056 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38057 conditional code.
38058
38059 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38060
38061 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38062 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38063 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38064 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38065 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38066 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38067 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38068 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38069 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38070 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38071 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38072 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38073 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38074 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38075 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38076 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38077 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38078 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38079 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38081 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38082 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38083 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38084
38085 2012-07-25 Florian Weimer <fweimer@redhat.com>
38086
38087 * Versions.def: Add GLIBC_2.17.
38088 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38089 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38090 Introduce __libc_secure_getenv.
38091 * stdlib/Versions (2.17): Add secure_getenv
38092 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38093 * stdlib/secure-getenv.c: Rename __secure_getenv to
38094 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38095 symbol __secure_getenv for GLIBC_2.0.
38096 * stdlib/tst-secure-getenv.c: New.
38097 * stdlib/Makefile (tests): Add testcase.
38098 * manual/startup.texi (Environment Access): Document
38099 secure_getenv.
38100 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38101 __libc_secure_getenv.
38102 * inet/ruserpass.c (ruserpass): Likewise.
38103 * malloc/mtrace.c (mtrace): Likewise.
38104 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38105 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38106 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38107 * sysdeps/posix/tempname.c: Likewise. Evaluate
38108 HAVE_SECURE_GETENV.
38109 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38110 __secure_getenv to __libc_secure_getenv.
38111 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38113 Likewise.
38114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38115 Likewise.
38116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38118 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38123
38124 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38125
38126 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38127 (struct La_i86_retval): Likewise.
38128 (struct La_x86_64_regs): Likewise.
38129 (struct La_x86_64_retval): Likewise.
38130 (struct La_x32_regs): Likewise.
38131 (struct La_x32_retval): Likewise.
38132 (struct La_ppc32_regs): Likewise.
38133 (struct La_ppc32_retval): Likewise.
38134 (struct La_ppc64_regs): Likewise.
38135 (struct La_ppc64_retval): Likewise.
38136 (struct La_sh_regs): Likewise.
38137 (struct La_sh_retval): Likewise.
38138 (struct La_s390_32_regs): Likewise.
38139 (struct La_s390_32_retval): Likewise.
38140 (struct La_s390_64_regs): Likewise.
38141 (struct La_s390_64_retval): Likewise.
38142 (struct La_sparc32_regs): Likewise.
38143 (struct La_sparc32_retval): Likewise.
38144 (struct La_sparc64_regs): Likewise.
38145 (struct La_sparc64_retval): Likewise.
38146 (struct audit_ifaces): Remove architecture-specific pltenter and
38147 pltexit members.
38148 * sysdeps/i386/ldsodefs.h: New file.
38149 * sysdeps/powerpc/ldsodefs.h: Likewise.
38150 * sysdeps/s390/ldsodefs.h: Likewise.
38151 * sysdeps/sh/ldsodefs.h: Likewise.
38152 * sysdeps/sparc/ldsodefs.h: Likewise.
38153 * sysdeps/x86_64/ldsodefs.h: Likewise.
38154
38155 2012-07-25 Marek Polacek <polacek@redhat.com>
38156
38157 [BZ #6808]
38158 * math/libm-test.inc (yn_test): Add another test.
38159 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38160 to ERANGE when the result is +-Inf.
38161 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38162 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38163 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38164 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38165
38166 2012-07-24 Joseph Myers <joseph@codesourcery.com>
38167
38168 * conform/data/time.h-data (NULL): Use macro-constant. Require
38169 equal to 0.
38170 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38171 clock_t.
38172 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38173
38174 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38175
38176 * configure.in <sysdeps resolving>: Correct printing
38177 Implies_before.
38178 * configure: Regenerate.
38179
38180 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38181
38182 * math/w_ilogb.c: Include <limits.h>.
38183 * math/w_ilogbl.c: Likewise.
38184
38185 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38186
38187 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38188 va_copy. Document allowing for unavailable va_copy only as
38189 pre-C99 compatibility.
38190 * manual/string.texi (Copying and Concatenation): Use va_copy
38191 instead of __va_copy in concat example.
38192
38193 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38194
38195 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38196 (__sendto): Use create_address_port. Initialize APORT and deallocate
38197 it if not null.
38198
38199 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38200 with O_NOLINK passed to __file_name_lookup.
38201
38202 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38203 with O_NOLINK passed to __file_name_lookup.
38204
38205 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38206 negative N or less than NGIDS.
38207
38208 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38209 type to string_t. Set ERANGE as errno and return it if NAME is not big
38210 enough. Use memcpy instead of strncpy.
38211
38212 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38213
38214 * elf/Makefile (check-data): Remove.
38215 (localplt.data): New vpath directive.
38216 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38217 instead of $(check-data).
38218 * scripts/data/localplt-generic.data: Move to ...
38219 * sysdeps/generic/localplt.data: ... here.
38220 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38221 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38222 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38224 ... here.
38225 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38227 ... here.
38228 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38230 ... here.
38231 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38233 ... here.
38234 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38236 ... here.
38237 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38239 ... here.
38240
38241 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38242
38243 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38244 PPC32 and PPC64 files.
38245 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38246 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38247
38248 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38249
38250 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38251 __makecontext_ret to ...
38252 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38253 ... here and call exit if uc_link is NULL. New file.
38254 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38255 __makecontext_ret.S.
38256 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38257 __makecontext_ret to ...
38258 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38259 ... here and call exit if uc_link is NULL. New file.
38260 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38261 __makecontext_ret.S.
38262
38263 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38264
38265 * elf/elf.h (R_390_IRELATIVE): New definition.
38266 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38267 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38268 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38269 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38270 (elf_machine_lazy_rel): Likewise.
38271 * sysdeps/s390/dl-irel.h: New file.
38272 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38273 * sysdeps/s390/s390-64/memset.S: New asm code.
38274 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38275 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38276 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38277 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38278 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38279 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38280 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38281 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38282 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38283 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38284 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38285 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38286 * sysdeps/s390/s390-32/memset.S: New asm code.
38287 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38288
38289 2012-07-17 Marek Polacek <polacek@redhat.com>
38290
38291 [BZ #14349]
38292 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38293 * sysdeps/s390/s390-64/configure.in: Likewise.
38294 * sysdeps/sparc/configure.in: Likewise.
38295 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38296 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38297 * sysdeps/i386/configure.in: Likewise.
38298 * sysdeps/x86_64/configure.in: Likewise.
38299 * sysdeps/sh/configure.in: Likewise.
38300 * sysdeps/s390/s390-32/configure: Regenerated.
38301 * sysdeps/s390/s390-64/configure: Likewise.
38302 * sysdeps/x86_64/configure: Likewise.
38303 * sysdeps/sh/configure: Likewise.
38304 * sysdeps/powerpc/powerpc64/configure: Likewise.
38305 * sysdeps/powerpc/powerpc32/configure: Likewise.
38306 * sysdeps/sparc/configure: Likwise.
38307 * sysdeps/i386/configure: Likewise.
38308
38309 * elf/dl-open.c: Comment fixes.
38310
38311 2012-07-17 Joseph Myers <joseph@codesourcery.com>
38312
38313 * Makefile [CXX] (check-data): Remove.
38314 [CXX] (c++-types.data): New vpath directive.
38315 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38316 vpath. Do not allow for C++ type data being missing.
38317 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38318 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38319 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38320 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38321 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38322 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38323 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38325 ... here.
38326 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38328 ... here.
38329 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38331 ... here.
38332 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38334 ... here.
38335 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38337 ... here.
38338 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38340 ... here.
38341 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38343 ... here.
38344 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38345 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38346
38347 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38348 definitions to architecture-specific files.
38349 (TLS_IE): Likewise.
38350 (TLS_LD): Likewise.
38351 (TLS_GD): Likewise.
38352 * sysdeps/i386/tls-macros.h: New file.
38353 * sysdeps/powerpc/tls-macros.h: Likewise.
38354 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38355 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38356 * sysdeps/sh/tls-macros.h: Likewise.
38357 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38358 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38359 * sysdeps/x86_64/tls-macros.h: Likewise.
38360
38361 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38362
38363 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38364 zero value for regular exit case.
38365
38366 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38367 (__start_context): Preserve zero value for regular exit case.
38368
38369 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38370 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38371
38372 * manual/setjmp.texi (setcontext): Clarify normal process
38373 termination when uc_link is the null pointer.
38374 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38375 exit call.
38376
38377 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38378
38379 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38380 preprocessor. Test for each exception mask separately.
38381
38382 2012-07-16 Andreas Jaeger <aj@suse.de>
38383
38384 * po/ru.po: Update from translation team.
38385
38386 2012-07-15 Joseph Myers <joseph@codesourcery.com>
38387
38388 * conform/data/string.h-data (NULL): Use macro-constant. Require
38389 equal to 0.
38390 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38391 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38392 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38393 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38394 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38395
38396 2012-07-13 Andreas Jaeger <aj@suse.de>
38397
38398 * po/fr.po: Update from translation team.
38399
38400 2012-07-12 Marek Polacek <polacek@redhat.com>
38401
38402 [BZ #14173]
38403 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38404 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38405 loop condition.
38406
38407 2012-07-12 Joseph Myers <joseph@codesourcery.com>
38408
38409 [BZ #13717]
38410 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38411 Change to 2.4.1 where previously 2.4.0.
38412 * sysdeps/unix/sysv/linux/configure: Regenerated.
38413 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38414 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38415 version.
38416 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38417 (__ASSUME_AT_CLKTCK): Remove.
38418 (__ASSUME_AT_PAGESIZE): Likewise.
38419 (__ASSUME_AT_XID): Likewise.
38420 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38421 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38422 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38423 unconditionally.
38424 (HAVE_AUX_PAGESIZE): Likewise.
38425 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38426 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38427 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38428
38429 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38430
38431 [BZ #14307]
38432 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38433 the temporary buffer used to invoke __gethostbyname2_r,
38434 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38435 host_data / struct gaih_addrtuple.
38436 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38437 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38438 header file nss/nsswitch.h.
38439 * nss/nsswitch.h (global scope): Add definition of implementation
38440 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38441 resolv/nss_dns/dns-host.c).
38442
38443 2012-07-11 Andreas Jaeger <aj@suse.de>
38444
38445 * po/fr.po: Update from translation team.
38446
38447 * po/sv.po: Update from translation team
38448 * po/fr.po: Another update from translation team.
38449
38450 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38451
38452 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38453 for subnormals or multiply small sinh result by itself.
38454 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38456
38457 2012-07-11 David S. Miller <davem@davemloft.net>
38458
38459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38460
38461 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38462
38463 [BZ #14347]
38464 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38465 (INTERNAL_MARK): Shift it here.
38466
38467 2012-07-10 Marek Polacek <polacek@redhat.com>
38468
38469 [BZ #14151]
38470 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38471 libc_cv_asm_global_directive with .globl.
38472 * configure: Regenerated.
38473 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38474 with .globl.
38475 * sysdeps/i386/configure: Regenerated.
38476 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38477 with .globl.
38478 * sysdeps/x86_64/configure: Regenerated.
38479 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38480 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38481 * elf/tst-unique2mod2.c: Likewise.
38482 * elf/tst-unique2mod1.c: Likewise.
38483 * elf/tst-unique1mod2.c: Likewise.
38484 * elf/tst-unique1mod1.c: Likewise.
38485 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38486 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38487 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38488 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38489 * sysdeps/mach/sysdep.h: Likewise.
38490 * sysdeps/i386/sysdep.h: Likewise.
38491 * sysdeps/i386/i386-mcount.S: Likewise.
38492 * sysdeps/x86_64/_mcount.S: Likewise.
38493 * sysdeps/x86_64/sysdep.h: Likewise.
38494 * sysdeps/sh/_mcount.S: Likewise.
38495 * sysdeps/sh/sysdep.h: Likewise.
38496 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38497 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38498 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38499 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38500 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38501 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38502 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38503 * locale/localeinfo.h: Likewise.
38504 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38505 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38506
38507 2012-07-09 Roland McGrath <roland@hack.frob.com>
38508
38509 [BZ #14336]
38510 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38511 system".
38512 * manual/message.texi (The Uniforum approach): Likewise.
38513 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38514 (glibc iconv Implementation): Likewise.
38515
38516 2012-07-09 Joseph Myers <joseph@codesourcery.com>
38517
38518 [BZ #14337]
38519 * math/s_clog.c (__clog): Avoid scaling a value down where that
38520 could result in underflow.
38521 * math/s_clog10.c (__clog10): Likewise.
38522 * math/s_clog10f.c (__clog10f): Likewise.
38523 * math/s_clog10l.c (__clog10l): Likewise.
38524 * math/s_clogf.c (__clogf): Likewise.
38525 * math/s_clogl.c (__clogl): Likewise.
38526 * math/libm-test.inc (clog_test): Add more tests.
38527 (clog10_test): Likewise.
38528 * sysdeps/i386/fpu/libm-test-ulps: Update.
38529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38530
38531 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38532
38533 [BZ #14283]
38534 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38535 by 7 not 8 to examine high bit of fractional part.
38536
38537 [BZ #14042]
38538 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38539 for call to __mcount_internal.
38540 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38541 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38542 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38543
38544 2012-07-06 Joseph Myers <joseph@codesourcery.com>
38545
38546 [BZ #14154]
38547 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38548 approximation for values within 0x1p-13f of an odd multiple of
38549 pi/4.
38550 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38551 exception. Add more tests.
38552 * sysdeps/i386/fpu/libm-test-ulps: Update.
38553
38554 [BZ #6778]
38555 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38556 inputs and return -1 for them. Do not check for +Inf in case not
38557 reachable for +Inf.
38558 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38559 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38560 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38561 and return -1 for them. Do not check for +Inf in case not
38562 reachable for +Inf.
38563 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38564 define.
38565 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38566 and return -1 for them. Do not check for +Inf in case not
38567 reachable for +Inf.
38568 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38569 spurious underflow.
38570 * sysdeps/i386/fpu/libm-test-ulps: Update.
38571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38572
38573 2012-07-06 Mike Frysinger <vapier@gentoo.org>
38574
38575 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38576
38577 2012-07-05 Joseph Myers <joseph@codesourcery.com>
38578
38579 [BZ #14157]
38580 [BZ #14331]
38581 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38582 could result in spurious underflow. Scale down values above
38583 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38584 * math/s_csqrtf.c (__csqrtf): Likewise.
38585 * math/s_csqrtl.c (__csqrtl): Likewise.
38586 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38587 spurious underflow.
38588 * sysdeps/i386/fpu/libm-test-ulps: Update.
38589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38590
38591 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38592
38593 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38594 xopen-msg.sed.
38595 * catgets/xopen-msg.awk: New file.
38596 * catgets/xopen-msg.sed: Removed.
38597
38598 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38599 po2text.sed.
38600 * intl/po2test.awk: New file.
38601 * intl/po2test.sed: Removed.
38602
38603 2012-07-04 Joseph Myers <joseph@codesourcery.com>
38604
38605 [BZ #14328]
38606 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38607 or multiply small sinh result by itself.
38608 * math/s_ctanf.c (__ctanf): Likewise.
38609 * math/s_ctanh.c (__ctanh): Likewise.
38610 * math/s_ctanhf.c (__ctanhf): Likewise.
38611 * math/s_ctanhl.c (__ctanhl): Likewise.
38612 * math/s_ctanl.c (__ctanl): Likewise.
38613 * math/libm-test.inc (ctan_test_tonearest): New function.
38614 (ctan_test_towardzero): Likewise.
38615 (ctan_test_downward): Likewise.
38616 (ctan_test_upward): Likewise.
38617 (ctanh_test_tonearest): Likewise.
38618 (ctanh_test_towardzero): Likewise.
38619 (ctanh_test_downward): Likewise.
38620 (ctanh_test_upward): Likewise.
38621 (main): Call these new functions.
38622 * sysdeps/i386/fpu/libm-test-ulps: Update.
38623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38624
38625 2012-07-03 Mike Frysinger <vapier@gentoo.org>
38626
38627 * .gitignore: Delete /ports entry.
38628
38629 2012-07-03 Andreas Jaeger <aj@suse.de>
38630
38631 * po/bg.po: Update from translation team.
38632 * po/cs.po: Likewise.
38633 * po/de.po: Likewise.
38634 * po/hr.po: Likewise.
38635 * po/nl.pl: Likewise.
38636 * po/pl.po: Likewise.
38637 * po/vi.po: Likewise.
38638
38639 2012-07-03 Joseph Myers <joseph@codesourcery.com>
38640
38641 * Makeconfig [!+link] (+link-before-libc): New variable.
38642 [!+link] (+link-after-libc): Likewise.
38643 [!+link] (+link-tests): Likewise.
38644 [!+link] (+link): Define in terms of $(+link-before-libc) and
38645 $(+link-after-libc).
38646 [!+link-static] (+link-static-before-libc): New variable.
38647 [!+link-static] (+link-static-after-libc): Likewise.
38648 [!+link-static] (+link-static-tests): Likewise.
38649 [!+link-static] (+link-static): Define in terms of
38650 $(+link-static-before-libc) and $(+link-static-after-libc).
38651 [build-shared] (link-libc-before-gnulib): New variable.
38652 [build-shared] (link-libc-tests): Likewise.
38653 [build-shared] (link-libc): Define in terms of
38654 $(link-libc-before-gnulib).
38655 [!build-shared] (link-libc-tests): New variable.
38656 (link-libc-static-tests): New variable.
38657 [!gnulib] (gnulib-arch): New variable.
38658 [!gnulib] (gnulib-tests): Likewise.
38659 [!gnulib] (static-gnulib-arch): Likewise.
38660 [!gnulib] (static-gnulib-tests): Likewise.
38661 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38662 Define with "=" instead of ":=".
38663 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38664 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38665 * Rules (binaries-all-notests): New variable.
38666 (binaries-all-tests): Likewise.
38667 (binaries-static-notests): Likewise.
38668 (binaries-static-tests): Likewise.
38669 (binaries-all): Define using $(binaries-all-notests) and
38670 $(binaries-all-tests).
38671 (binaries-static): Define using $(binaries-static-notests) and
38672 $(binaries-static-tests).
38673 (binaries-shared-tests): New variable.
38674 (binaries-shared-notests): Likewise.
38675 (binaries-shared): Remove variable.
38676 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38677 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38678 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38679 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38680 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38681 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38682 * elf/Makefile (sln-modules): New variable.
38683 (extra-objs): Add $(sln-modules:=.o).
38684 (ldconfig-modules): Add static-stubs.
38685 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38686 * elf/static-stubs.c: New file.
38687
38688 [BZ #14283]
38689 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38690 by 7 not 8 to examine high bit of fractional part. Use volatile
38691 variables when splitting into final array of floats if
38692 __FLT_EVAL_METHOD__ != 0.
38693 * math/libm-test.inc (cos_test): Add another test.
38694 (sin_test): Likewise.
38695 * sysdeps/i386/fpu/libm-test-ulps: Update.
38696
38697 [BZ #14273]
38698 * math/libm-test.inc (cosh_test): Add more tests.
38699
38700 * version.h (RELEASE): Set to "development".
38701 (VERSION): Set to "2.16.90".
38702
38703 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38704
38705 * NEWS: Update copyright. Remove last-updated date.
38706 Mention math library bug fixes and timezone data changes.
38707 * README: Mention GNU/Hurd, x32, and HPPA support status.
38708
38709 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38710
38711 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38712
38713 2012-06-27 Andreas Jaeger <aj@suse.de>
38714
38715 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38716
38717 2012-06-25 Andreas Jaeger <aj@suse.de>
38718
38719 * sysdeps/s390/fpu/libm-test-ulps: Update.
38720
38721 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38722 Thomas Schwinge <thomas@codesourcery.com>
38723
38724 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38725 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38726 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38727 fanotify_mark.
38728
38729 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38730
38731 * sysdeps/mach/start.c: Remove file.
38732 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38733 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38734 * sysdeps/sh/init-first.c: Likewise.
38735
38736 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38737 registers for frame unwinding purposes, add CFI directives.
38738 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38739 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38740 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38741 Likewise.
38742
38743 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38744 __fortify_fail returning.
38745 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38746
38747 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38748 sysdeps/sh/____longjmp_chk.S.
38749 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38750 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38751 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38752 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38753
38754 * sysdeps/sh/abort-instr.h: New file.
38755 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38756 process in case exit returns.
38757
38758 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38759 initialize the GOT register before use.
38760
38761 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38762 calculation of ARGC > 4.
38763
38764 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38765 meaningful names to some local labels.
38766
38767 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38768 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38769
38770 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38771 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38772 (__arch_compare_and_exchange_val_16_acq): Likewise.
38773 (__arch_compare_and_exchange_val_32_acq): Likewise.
38774 (atomic_exchange_and_add): Fix gUSA sequence.
38775 (atomic_add): Likewise.
38776 (atomic_add_negative): Likewise.
38777 (atomic_add_zero): Likewise.
38778 (atomic_bit_test_set): Likewise.
38779
38780 2012-06-22 Andreas Schwab <schwab@redhat.com>
38781
38782 [BZ #13579]
38783 * include/link.h (struct link_map): Add l_free_initfini.
38784 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38785 l_initfini.
38786 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38787 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38788 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38789 set.
38790
38791 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38792
38793 * configure.in: Use AC_LANG_SOURCE.
38794 * configure: Regenerate.
38795
38796 2012-06-22 Roland McGrath <roland@hack.frob.com>
38797
38798 * configure.in (libc_cv_localstatedir): New substituted variable.
38799 * configure: Regenerated.
38800 * config.make.in (localstatedir): New variable, substituted from
38801 libc_cv_localstatedir.
38802 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38803 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38804 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38805 * sysdeps/gnu/configure: Regenerated.
38806
38807 2012-06-21 Jeff Law <law@redhat.com>
38808
38809 [BZ #14277]
38810 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38811 free. Simplify list management for _LIBC case.
38812
38813 2012-06-21 Joseph Myers <joseph@codesourcery.com>
38814
38815 [BZ #14273]
38816 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38817 Clear sign bit of 64-bit integer value before comparing against
38818 overflow value.
38819
38820 * sysdeps/mach/configure: Regenerated.
38821
38822 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38823
38824 [BZ #14278]
38825 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38826
38827 2012-06-21 Jeff Law <law@redhat.com>
38828
38829 [BZ #13882]
38830 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38831 uint16_t for elements in the "seen" array to avoid char overflows.
38832 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38833 * elf/dl-open.c (dl_open_worker): Likewise.
38834
38835 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38836
38837 * scripts/list-sources.sh: Scan PORTS for translations.
38838 * po/libc.pot: Regenerated.
38839
38840 2012-06-21 Andreas Jaeger <aj@suse.de>
38841
38842 [BZ #12194]
38843 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38844 warning.
38845 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38846 * bits/byteswap-16.h (__bswap_16): Likewise.
38847 * bits/byteswap.h (__bswap_constant_16): Likewise.
38848
38849 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38850
38851 [BZ #14117]
38852 * sysdeps/i386/fpu_control.h: Removed.
38853 * sysdeps/x86_64/fpu_control.h: Moved to ...
38854 * sysdeps/x86/fpu_control.h: Here.
38855
38856 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38857 (_FPU_SETCW): Likewise.
38858
38859 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38860
38861 [BZ #14117]
38862 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38863 * sysdeps/x86/fpu/bits/mathinline.h: This.
38864 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38865
38866 [BZ #14050]
38867 [BZ #14117]
38868 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38869 functions if __x86_64__ is defined.
38870
38871 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38872
38873 * string/endian.h: Add !__ASSEMBLER__ condition for including
38874 conversion interfaces.
38875
38876 2012-06-15 Joseph Myers <joseph@codesourcery.com>
38877
38878 [BZ #14241]
38879 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38880 of ABS(x) in calculating zero to negative powers other than odd
38881 integers.
38882 * math/libm-test.inc (pow_test): Add more tests.
38883
38884 2012-06-15 Andreas Jaeger <aj@suse.de>
38885
38886 * manual/contrib.texi (Contributors): Update entry of Liubov
38887 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38888 Machado Filho.
38889
38890 2012-06-15 Cyril Hrubis <metan@ucw.cz>
38891
38892 * string/string.h: Add __wur to GNU version of strerror_r.
38893
38894 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
38895
38896 [BZ #14229]
38897 * string/Makefile (tests): Add tst-strtok_r.
38898 * string/tst-strtok_r.c: New file.
38899 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38900 RAX_LP/RDX_LP on SAVE_PTR.
38901
38902 2012-06-14 Roland McGrath <roland@hack.frob.com>
38903
38904 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38905
38906 2012-06-14 Joseph Myers <joseph@codesourcery.com>
38907
38908 * libm_test.inc (csqrt_test): Allow more spurious underflow
38909 exceptions.
38910 (j0_test): Likewise.
38911 (j1_test): Likewise.
38912 (y0_test): Likewise.
38913 (y1_test): Likewise.
38914
38915 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
38916
38917 * po/Makefile (libc.pot): Use UTF-8 charset.
38918
38919 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
38920
38921 [BZ #14210]
38922 Suppress sign-conversion warning from FD_SET.
38923 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38924 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38925 not unsigned long int.
38926 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38927
38928 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
38929
38930 [BZ #14050]
38931 [BZ #14117]
38932 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38933 __extern_always_inline instead of __extern_inline.
38934 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38935 (__signbit): Likewise.
38936 (__signbitl): Support C++ namespace.
38937 (lrintf): New inline function.
38938 (lrint): Likewise.
38939 (llrintf): Likewise.
38940 (llrint): Likewise.
38941 (fmaxf): Likewise.
38942 (fmax): Likewise.
38943 (fminf): Likewise.
38944 (fmin): Likewise.
38945 (rint): Likewise.
38946 (rintf): Likewise.
38947 (ceil): Likewise.
38948 (ceilf): Likewise.
38949 (floor): Likewise.
38950 (floorf): Likewise.
38951 (nearbyint): Likewise.
38952 (nearbyintf): Likewise.
38953
38954 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
38955
38956 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38957 non-default versions.
38958
38959 2012-06-11 Roland McGrath <roland@hack.frob.com>
38960
38961 [BZ #14218]
38962 * manual/argp.texi (Argp): Reword argp_parse description slightly.
38963
38964 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
38965
38966 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38967 (FE_UPWARD, FE_DOWNWARD): Don't define.
38968 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38969 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38970
38971 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38972 reading it.
38973 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38974 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38975
38976 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38977
38978 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38979 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38980 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38981 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38982
38983 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
38984
38985 [BZ #14117]
38986 * sysdeps/i386/fpu/bits/fenv.h: Removed.
38987 * sysdeps/i386/fpu/Implies: New file.
38988 * sysdeps/x86_64/fpu/Implies: Likewise.
38989 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38990 * sysdeps/x86/fpu/bits/fenv.h: This.
38991
38992 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38993 __SSE_MATH__.
38994
38995 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38996
38997 [BZ #14134]
38998 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38999 character 0xffff that matches the last element of the
39000 conversion table.
39001
39002 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39003
39004 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39005 fmodl commit.
39006
39007 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39008
39009 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39010 values higher than 25.6283.
39011
39012 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39013
39014 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39015 subnormal exponent extraction and add some __builtin_expect.
39016 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39017 Fix for subnormal mantissa calculation.
39018
39019 2012-06-04 Mike Frysinger <vapier@gentoo.org>
39020
39021 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39022 cpu2 is -1 and errno is not ENOSYS.
39023
39024 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39025
39026 [BZ #14117]
39027 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39028 * sysdeps/x86/bits/string.h: This.
39029 * sysdeps/x86_64/bits/string.h: Removed.
39030
39031 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39032 if not compiling for x86-64, but compiling for >= i486.
39033
39034 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39035 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39036
39037 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39038 New macro from Linux kernel 3.4.0.
39039 (FP_XSTATE_MAGIC2): Likewise.
39040 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39041 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39042 (struct _fpx_sw_bytes): New struct.
39043 (struct _xsave_hdr): Likewise.
39044 (struct _ymmh_state): Likewise.
39045 (struct _xstate): Likewise.
39046
39047 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39048 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39049 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39050 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39051 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39052 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39053
39054 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39055 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39056 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39057 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39058 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39059 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39060
39061 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39062
39063 [BZ #13743]
39064 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39065 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39066 (sysdep_headers): Include sys/platform/ppc.h.
39067 * sysdeps/powerpc/test-gettimebase.c: Test for
39068 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39069 * manual/Makefile (appendices): Include platform.texi.
39070 * manual/contrib.texi (Contributors): Update @node pointers.
39071 * manual/maint.texi (Maintenance): Likewise.
39072 (Platform): New node.
39073 * manual/platform.texi: New file. Document the new features.
39074
39075 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39076 Jakub Jelinek <jakub@redhat.com>
39077
39078 [BZ #14188]
39079 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39080 where __builtin_expect is unavailable.
39081
39082 2012-06-03 David S. Miller <davem@davemloft.net>
39083
39084 * stdlib/longlong.h: Updated from GCC.
39085
39086 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39087
39088 [BZ #14042]
39089 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39090 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39091 __mcount_internal.
39092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39093 (GLIBC_2.16): Likewise.
39094
39095 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39096
39097 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39098
39099 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39100
39101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39102 (default-abi): New variable.
39103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39104 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39105 variable.
39106 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39107 Likewise.
39108 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39109 Likewise.
39110 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39111 Likewise.
39112
39113 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39114 definition. Document in comment.
39115
39116 2012-06-01 David S. Miller <davem@davemloft.net>
39117
39118 * stdlib/longlong.h: Updated from GCC.
39119
39120 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39121
39122 [BZ #14117]
39123 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39124 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39125 sys/debugreg.h sys/io.h here.
39126 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39127 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39128 sys/io.h.
39129 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39130 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39131 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39132 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39133 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39134 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39135
39136 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39137 Define only if __x86_64__ is defined.
39138
39139 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39140
39141 [BZ #14048]
39142 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39143 Use int64_t for variable i.
39144 * math/libm-test.inc (fmod_test): Add more tests.
39145
39146 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39147 z computation is not scheduled after fetestexcept.
39148 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39149 Use math_force_eval instead of asm to ensure calculation scheduled
39150 before exception test.
39151 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39152 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39153
39154 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39155
39156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39157 computation is not scheduled after fetestexcept.
39158
39159 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39160
39161 [BZ #14117]
39162 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39163 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39164
39165 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39166
39167 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39168 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39169
39170 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39171
39172 [BZ #14117]
39173 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39174 <bits/wordsize.h>.
39175 (__WCHAR_MIN): Support __WORDSIZE == 64.
39176 (__WCHAR_MAX): Likewise.
39177
39178 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39179 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39180
39181 [BZ #14183]
39182 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39183 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39184
39185 [BZ #14117]
39186 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39187 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39188
39189 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39190 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39191
39192 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39193 Defined to 1 if __x86_64__ isn't defined.
39194 (_STAT_VER_LINUX_OLD): New.
39195 (st_atime): Remove duplicate.
39196 (st_mtime): Likewise.
39197 (st_ctime): Likewise.
39198
39199 2012-05-31 David S. Miller <davem@davemloft.net>
39200
39201 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39202 entries.
39203
39204 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39205
39206 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39207 gen-libm-test.pl.
39208
39209 [BZ #14132]
39210 * elf/dl-reloc.c: Include <_itoa.h>.
39211 (_dl_reloc_bad_type): Remove use of INTUSE.
39212 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39213 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39214 * stdio-common/psiginfo.c (psiginfo): Likewise.
39215 * stdio-common/psignal.c (psignal): Likewise.
39216 * string/strsignal.c (strsignal): Likewise.
39217 * include/signal.h (_sys_siglist): Declare hidden proto.
39218 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39219 INTVARDEF with libc_hidden_data_def.
39220 * stdio-common/itoa-udigits.c: Likewise.
39221 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39222 (_itoa_lower_digits_internal): Remove declaration.
39223 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39224 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39225 (_sys_sigabbrev_internal): Remove aliases.
39226 (_sys_siglist): Define hidden alias.
39227
39228 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39229
39230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39231 bits/sysctl.h.
39232
39233 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39234
39235 [BZ #14117]
39236 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39237 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39238
39239 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39240 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39241 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39242 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39243 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39244 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39245
39246 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39247 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39248 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39249
39250 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39251 with __addr.
39252 (insw): Likewise.
39253 (insl): Likewise.
39254 (outsb): Likewise.
39255 (outsw): Likewise.
39256 (outsl): Likewise.
39257
39258 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39259 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39260 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39261
39262 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39263 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39264 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39265 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39266 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39267 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39268
39269 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39270 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39271
39272 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39273 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39274
39275 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39277 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39278
39279 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39280 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39281 to ...
39282 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39283
39284 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39285 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39286 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39287
39288 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39289 for x86-64.
39290 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39291
39292 2012-05-31 Joseph Myers <joseph@codesourcery.com>
39293
39294 * math/math.h (M_El): Use two more decimal places.
39295 (M_LOG2El): Likewise.
39296 (M_LOG10El): Likewise.
39297 (M_LN2l): Likewise.
39298 (M_LN10l): Likewise.
39299 (M_PIl): Likewise.
39300 (M_PI_2l): Likewise.
39301 (M_PI_4l): Likewise.
39302 (M_1_PIl): Likewise.
39303 (M_2_PIl): Likewise.
39304 (M_2_SQRTPIl): Likewise.
39305 (M_SQRT2l): Likewise.
39306 (M_SQRT1_2l): Likewise.
39307
39308 2012-05-31 David S. Miller <davem@davemloft.net>
39309
39310 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39311 values between float registers.
39312 * sysdeps/sparc/sparc64/memset.S: Likewise.
39313 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39314
39315 2012-05-31 Mike Frysinger <vapier@gentoo.org>
39316
39317 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39318 -D_FORTIFY_SOURCE=1.
39319 (CPPFLAGS-tst-longjmp_chk.c): Define.
39320 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39321 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39322 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39323 CFLAGS-tst-wchar-h.c.
39324
39325 2012-05-31 Marek Polacek <polacek@redhat.com>
39326
39327 [BZ #14132]
39328 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39329 __endmntent_internal): Remove declaration.
39330 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39331 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39332 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39333
39334 2012-05-30 David S. Miller <davem@davemloft.net>
39335
39336 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39337 (___Q_simulate_exceptions): Use real FP ops rather than writing
39338 into the %fsr.
39339 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39340 Likewise.
39341
39342 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39343
39344 [BZ #14117]
39345 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39346 * sysdeps/x86/bits/xtitypes.h: This.
39347
39348 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39349 * sysdeps/x86/bits/wordsize.h: This.
39350
39351 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39352 * sysdeps/x86/bits/huge_vall.h: This.
39353
39354 * sysdeps/i386/bits/select.h: Removed.
39355 * sysdeps/x86_64/bits/select.h: Renamed to ...
39356 * sysdeps/x86/bits/select.h: This.
39357
39358 * sysdeps/i386/bits/setjmp.h: Removed.
39359 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39360 * sysdeps/x86/bits/setjmp.h: This.
39361
39362 * sysdeps/i386/bits/mathdef.h: Removed.
39363 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39364 * sysdeps/x86/bits/mathdef.h: This.
39365
39366 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39367
39368 [BZ #14132]
39369 * include/sys/socket.h (__connect_internal)
39370 (__libc_sa_len_internal): Remove declaration.
39371 (__connect, __libc_sa_len): Declare hidden_proto.
39372 (SA_LEN): Remove use of INTUSE.
39373 * socket/connect.c: Add libc_hidden_def.
39374 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39375 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39376 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39377 alias.
39378 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39379 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39380 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39381 of adding _internal alias.
39382
39383 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39384
39385 [BZ #14117]
39386 * sysdeps/i386/bits/link.h: Removed.
39387 * sysdeps/i386/bits/linkmap.h: Likewise.
39388 * sysdeps/x86_64/bits/link.h: Renamed to ...
39389 * sysdeps/x86/bits/link.h: This.
39390 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39391 * sysdeps/x86/bits/linkmap.h: This.
39392
39393 * sysdeps/i386/bits/endian.h: Removed.
39394 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39395 * sysdeps/x86/bits/endian.h: This.
39396
39397 * sysdeps/i386/bits/byteswap.h: Removed.
39398 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39399 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39400 * sysdeps/x86/bits/byteswap.h: This.
39401 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39402 * sysdeps/x86/bits/byteswap-16.h: This.
39403 * sysdeps/i386/Implies: Add x86.
39404 * sysdeps/x86_64/Implies: Likewise.
39405
39406 2012-05-30 David S. Miller <davem@davemloft.net>
39407
39408 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39409 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39410 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39411 (FP_TRAPPING_EXCEPTIONS): Define.
39412 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39413 (FP_TRAPPING_EXCEPTIONS): Define.
39414 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39415 subnormals only when inexact has been signalled or underflow
39416 exceptions are enabled.
39417 (_FP_PACK_CANONICAL): Likewise.
39418
39419 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39420
39421 [BZ #14183]
39422 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39423 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39424
39425 2012-05-30 Richard Henderson <rth@twiddle.net>
39426
39427 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39428 with #ifndef NOT_IN_libc.
39429
39430 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39431 marked to avoid plt entry.
39432
39433 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39434
39435 [BZ #14112]
39436 * Makeconfig (default-abi): New macro.
39437 (abi-includes): Likewise.
39438 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39439 $(abi-$(default-abi)-lib-soname) for soname if defined.
39440 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39441 abi-variants.
39442 * Makefile (installed-stubs): Likewise.
39443 * include/stubs-biarch.h: Removed.
39444 * scripts/lib-names.awk: Only handle one library at a time.
39445 * scripts/soversions.awk: Remove WORDSIZE support.
39446 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39447 entries.
39448 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39449 Removed.
39450 (syscall-list-default-condition): Likewise.
39451 (syscall-list-default-condition): Likewise.
39452 (syscall-list-includes): Likewise.
39453 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39454 syscall-list-* with abi-*. Handle undefined abi-variants.
39455 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39456 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39457 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39458 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39459 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39460 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39461 Removed.
39462 (syscall-list-32-options): Likewise.
39463 (syscall-list-32-condition): Likewise.
39464 (syscall-list-64-options): Likewise.
39465 (syscall-list-64-condition): Likewise.
39466 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39467 macro.
39468 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39469 Renamed to ...
39470 (abi-*): This.
39471 (abi-64-ld-soname): New macro.
39472 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39473 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39474 Renamed to ...
39475 (abi-*): This.
39476 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39477 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39478
39479 2012-05-30 Joseph Myers <joseph@codesourcery.com>
39480
39481 * sysdeps/unix/sysv/linux/kernel-features.h
39482 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39483 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39484 include <kernel-features.h>.
39485 [!__NR_ftruncate64]: Remove conditional code.
39486 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39487 [__NR_ftruncate64]: Make code unconditional.
39488 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39489 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39490 include <kernel-features.h>.
39491 [!__NR_ftruncate64]: Remove conditional code.
39492 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39493 [__NR_ftruncate64]: Make code unconditional.
39494 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39496 include <kernel-features.h>.
39497 [!__NR_ftruncate64]: Remove conditional code.
39498 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39499 [__NR_ftruncate64]: Make code unconditional.
39500 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39502 include <kernel-features.h>.
39503 [!__NR_ftruncate64]: Remove conditional code.
39504 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39505 [__NR_ftruncate64]: Make code unconditional.
39506 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39507
39508 * configure.in (libc_cv_fpie): Weaken to a compile test using
39509 LIBC_TRY_CC_OPTION.
39510 * configure: Regenerated.
39511
39512 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39513
39514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39518 Refreshed.
39519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39525 Refreshed.
39526
39527 2012-05-27 David S. Miller <davem@davemloft.net>
39528
39529 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39530 (___Q_zero): New.
39531 (__Q_simulate_exceptions): Return void. Change to simulate
39532 exceptions by writing into the %fsr.
39533 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39534 (__Qp_handle_exceptions): Likewise.
39535 (numbers): Delete.
39536 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39537 __Qp_handle_exceptions.
39538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39539 __Qp_handle_exceptions.
39540 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39541 as unused and give dummy FP_RND_NEAREST initializer.
39542 (FP_INHIBIT_RESULTS): Define.
39543 (___Q_simulate_exceptions): Update declaration.
39544 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39545 formatting.
39546 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39547 as unused and give dummy FP_RND_NEAREST initializer.
39548 (__Qp_handle_exceptions): Update declaration.
39549 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39550 formatting.
39551
39552 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39553
39554 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39555 the temporary FPU control word.
39556 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39557 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39558 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39559 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39560 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39561 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39562 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39563 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39564 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39565 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39566 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39567
39568 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39569
39570 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39571 fields.
39572
39573 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39574
39575 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39576 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39577 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39578 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39579 Likewise.
39580 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39581 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39582 Likewise.
39583
39584 2012-05-27 Ulrich Drepper <drepper@gmail.com>
39585
39586 * po/h.po: Update from translation team.
39587
39588 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39589
39590 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39591
39592 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39593 handling of denormals.
39594 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39595 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39596 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39597 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39598 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39599 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39600 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39601 Likewise.
39602
39603 2012-05-26 Marek Polacek <polacek@redhat.com>
39604
39605 [BZ #14152]
39606 * math/libm-test.inc (fma_test): Don't always expect underflow
39607 exception.
39608
39609 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39610
39611 [BZ #12416]
39612 * elf/tst-execstack.c: Include stackinfo.h.
39613 (do_test): Adjust test case to ensure that pthread_getattr_np
39614 behaviour remains the same after marking stack executable.
39615
39616 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39617
39618 * sysdeps/unix/sysv/linux/kernel-features.h
39619 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39620 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39621 kernel-features.h.
39622 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39623 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39624 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39625 kernel-features.h.
39626 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39627 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39628
39629 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39630
39631 * configure.in: Define the default includes to being none.
39632 * configure: Regenerated.
39633
39634 2012-05-25 Roland McGrath <roland@hack.frob.com>
39635
39636 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39637 * sysdeps/x86_64/setjmp.S: Likewise.
39638 * sysdeps/i386/bsd-setjmp.S: Likewise.
39639 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39640 * sysdeps/i386/setjmp.S: Likewise.
39641 * sysdeps/i386/__longjmp.S: Likewise.
39642 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39643 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39644
39645 * include/stap-probe.h: New file.
39646 * configure.in: Handle --enable-systemtap.
39647 * configure: Regenerated.
39648 * config.h.in (USE_STAP_PROBE): New #undef.
39649 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39650 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39651 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39652
39653 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39654
39655 [BZ #13717]
39656 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39657 to 2.4.0 where earlier.
39658 * sysdeps/unix/sysv/linux/configure: Regenerated.
39659 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39660 <kernel-features.h>.
39661 [__ASSUME_32BITUIDS]: Make code unconditional.
39662 [!__ASSUME_32BITUIDS]: Remove conditional code.
39663 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39664 <kernel-features.h>.
39665 [__ASSUME_32BITUIDS]: Make code unconditional.
39666 [!__ASSUME_32BITUIDS]: Remove conditional code.
39667 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39668 [__ASSUME_32BITUIDS]: Make code unconditional.
39669 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39670 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39671 <kernel-features.h>.
39672 [__ASSUME_32BITUIDS]: Make code unconditional.
39673 [!__ASSUME_32BITUIDS]: Remove conditional code.
39674 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39675 <kernel-features.h>.
39676 [__ASSUME_32BITUIDS]: Make code unconditional.
39677 [!__ASSUME_32BITUIDS]: Remove conditional code.
39678 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39679 <kernel-features.h>.
39680 [__ASSUME_32BITUIDS]: Make code unconditional.
39681 [!__ASSUME_32BITUIDS]: Remove conditional code.
39682 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39683 <kernel-features.h>.
39684 [__ASSUME_32BITUIDS]: Make code unconditional.
39685 [!__ASSUME_32BITUIDS]: Remove conditional code.
39686 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39687 <kernel-features.h>.
39688 [__ASSUME_32BITUIDS]: Make code unconditional.
39689 [!__ASSUME_32BITUIDS]: Remove conditional code.
39690 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39691 <kernel-features.h>.
39692 [__ASSUME_32BITUIDS]: Make code unconditional.
39693 [!__ASSUME_32BITUIDS]: Remove conditional code.
39694 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39695 <kernel-features.h>.
39696 [__ASSUME_32BITUIDS]: Make code unconditional.
39697 [!__ASSUME_32BITUIDS]: Remove conditional code.
39698 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39699 <kernel-features.h>.
39700 [__ASSUME_32BITUIDS]: Make code unconditional.
39701 [!__ASSUME_32BITUIDS]: Remove conditional code.
39702 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39703 <kernel-features.h>.
39704 [__ASSUME_32BITUIDS]: Make code unconditional.
39705 [!__ASSUME_32BITUIDS]: Remove conditional code.
39706 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39707 <kernel-features.h>.
39708 [__ASSUME_32BITUIDS]: Make code unconditional.
39709 [!__ASSUME_32BITUIDS]: Remove conditional code.
39710 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39711 <kernel-features.h>.
39712 [__NR_setresgid] (__setresgid): Do not declare.
39713 [__ASSUME_32BITUIDS]: Make code unconditional.
39714 [!__ASSUME_32BITUIDS]: Remove conditional code.
39715 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39716 <kernel-features.h>.
39717 [__NR_setresuid] (__setresuid): Do not declare.
39718 [__ASSUME_32BITUIDS]: Make code unconditional.
39719 [!__ASSUME_32BITUIDS]: Remove conditional code.
39720 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39721 <kernel-features.h>.
39722 [__ASSUME_32BITUIDS]: Make code unconditional.
39723 [!__ASSUME_32BITUIDS]: Remove conditional code.
39724 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39725 <kernel-features.h>.
39726 [__ASSUME_32BITUIDS]: Make code unconditional.
39727 [!__ASSUME_32BITUIDS]: Remove conditional code.
39728 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39729 <kernel-features.h>.
39730 [__ASSUME_32BITUIDS]: Make code unconditional.
39731 [!__ASSUME_32BITUIDS]: Remove conditional code.
39732 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39733 <kernel-features.h>.
39734 [__ASSUME_32BITUIDS]: Make code unconditional.
39735 [!__ASSUME_32BITUIDS]: Remove conditional code.
39736 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39737 <kernel-features.h>.
39738 [__ASSUME_32BITUIDS]: Make code unconditional.
39739 [!__ASSUME_32BITUIDS]: Remove conditional code.
39740 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39741 <kernel-features.h>.
39742 [__ASSUME_32BITUIDS]: Make code unconditional.
39743 [!__ASSUME_32BITUIDS]: Remove conditional code.
39744 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39745 <kernel-features.h>.
39746 [__ASSUME_32BITUIDS]: Make code unconditional.
39747 [!__ASSUME_32BITUIDS]: Remove conditional code.
39748 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39749 <kernel-features.h>.
39750 [__ASSUME_32BITUIDS]: Make code unconditional.
39751 [!__ASSUME_32BITUIDS]: Remove conditional code.
39752 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39753 <kernel-features.h>.
39754 [__ASSUME_32BITUIDS]: Make code unconditional.
39755 [!__ASSUME_32BITUIDS]: Remove conditional code.
39756 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39757 <kernel-features.h>.
39758 [__ASSUME_32BITUIDS]: Make code unconditional.
39759 [!__ASSUME_32BITUIDS]: Remove conditional code.
39760 * sysdeps/unix/sysv/linux/kernel-features.h
39761 (__ASSUME_SETRESUID_SYSCALL): Remove.
39762 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39763 (__ASSUME_32BITUIDS): Likewise.
39764 (__ASSUME_LDT_WORKS): Likewise.
39765 (__ASSUME_O_DIRECTORY): Likewise.
39766 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39767 architecture but not kernel version.
39768 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39769 (__ASSUME_MMAP2_SYSCALL): Likewise.
39770 (__ASSUME_STAT64_SYSCALL): Likewise.
39771 (__ASSUME_IPC64): Likewise.
39772 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39773 <kernel-features.h>.
39774 [__ASSUME_32BITUIDS]: Make code unconditional.
39775 [!__ASSUME_32BITUIDS]: Remove conditional code.
39776 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39777 <kernel-features.h>.
39778 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39779 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39780 132096]: Remove conditional code.
39781 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39782 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39783 <kernel-features.h>.
39784 [__ASSUME_32BITUIDS]: Make code unconditional.
39785 [!__ASSUME_32BITUIDS]: Remove conditional code.
39786 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39787 <kernel-features.h>.
39788 [__ASSUME_32BITUIDS]: Make code unconditional.
39789 [!__ASSUME_32BITUIDS]: Remove conditional code.
39790 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39791 <kernel-features.h>.
39792 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39793 unconditional.
39794 (__setresgid): Do not declare.
39795 [__ASSUME_32BITUIDS]: Make code unconditional.
39796 [!__ASSUME_32BITUIDS]: Remove conditional code.
39797 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39798 <kernel-features.h>.
39799 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39800 unconditional.
39801 (__setresuid): Do not declare.
39802 [__ASSUME_32BITUIDS]: Make code unconditional.
39803 [!__ASSUME_32BITUIDS]: Remove conditional code.
39804 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39805 <kernel-features.h>.
39806 [__ASSUME_32BITUIDS]: Make code unconditional.
39807 [!__ASSUME_32BITUIDS]: Remove conditional code.
39808 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39809 <kernel-features.h>.
39810 [__ASSUME_32BITUIDS]: Make code unconditional.
39811 [!__ASSUME_32BITUIDS]: Remove conditional code.
39812
39813 2012-05-25 Richard Henderson <rth@twiddle.net>
39814
39815 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39816 dl_hwcap to ifunc resolver.
39817 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39818 elf_ifunc_invoke.
39819 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39820 dl_hwcap to ifunc resolver.
39821 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39822
39823 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39824
39825 [BZ #14153]
39826 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39827 for |x| <= 2**-26, not 2**-57.
39828 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39829 exception.
39830
39831 2012-05-24 Jeff Law <law@redhat.com>
39832
39833 * stdio-common/Makefile (tests): Add bug25.
39834 * stdio-common/bug25.c: New test.
39835
39836 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39837
39838 [BZ #13576]
39839 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39840 multiple of MALLOC_ALIGNMENT in size.
39841 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39842
39843 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39844
39845 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39846 Require >= 256.
39847 (FILENAME_MAX): Use macro-int-constant.
39848 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39849 (_IOFBF): Use macro-int-constant.
39850 (_IOLBF): Likewise.
39851 (_IONBF): Likewise.
39852 (SEEK_CUR): Likewise.
39853 (SEEK_END): Likewise.
39854 (SEEK_SET): Likewise.
39855 (TMP_MAX): Likewise.
39856 (EOF): Use macro-int-constant. Require < 0.
39857 (NULL): Use macro-constant. Require == 0.
39858 (stdin): Require type to be FILE *.
39859 (stdout): Likewise.
39860 (stderr): Likewise.
39861 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39862 macro-int-constant.
39863 (EXIT_SUCCESS): Likewise.
39864 (NULL): Use macro-constant. Require == 0.
39865 (RAND_MAX): Use macro-int-constant.
39866 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39867 [C99-based standards] (strtof): Require function.
39868 [C99-based standards] (strtold): Likewise.
39869 [C99-based standards] (strtoll): Likewise.
39870 [C99-based standards] (strtoull): Likewise.
39871 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39872 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39873 [ISO || ISO99 || ISO11] (math.h): Likewise.
39874 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39875 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39876 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39877
39878 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
39879
39880 [BZ #14132]
39881 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39882 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39883 * intl/dgettext.c (DCGETTEXT): Likewise.
39884 * intl/gettext.c (DCGETTEXT): Likewise.
39885 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39886 * posix/regex_internal.h (gettext): Likewise.
39887 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39888 Remove declaration.
39889 * include/argz.h (__argz_count_internal)
39890 (__argz_stringify_internal): Remove declaration.
39891 (__argz_count, __argz_stringify): Declare hidden proto.
39892 * intl/dcgettext.c: Remove use of INTDEF.
39893 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39894 * string/argz-stringify.c: Likewise.
39895 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39896 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39897 Declare hidden proto.
39898 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39899 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39900 Declare hidden proto.
39901 * include/stdio.h (__asprintf_internal): Don't declare.
39902 (__asprintf): Don't define as macro. Declare hidden proto.
39903 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39904 (__fsetlocking): Declare hidden proto.
39905 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39906 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39907 hidden proto.
39908 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39909 (_IO_setlinebuf): Remove use of INTUSE.
39910 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39911 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39912 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39913 Remove declaration.
39914 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39915 (_IO_do_flush): Remove use of INTUSE.
39916 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39917 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39918 (_IO_adjust_column, _IO_least_wmarker)
39919 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39920 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39921 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39922 (_IO_default_doallocate, _IO_wdefault_doallocate)
39923 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39924 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39925 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39926 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39927 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39928 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39929 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39930 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39931 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39932 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39933 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39934 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39935 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39936 proto.
39937 (_IO_flush_all_internal, _IO_adjust_column_internal)
39938 (_IO_default_uflow_internal, _IO_default_finish_internal)
39939 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39940 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39941 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39942 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39943 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39944 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39945 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39946 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39947 (_IO_file_close_internal, _IO_file_close_it_internal)
39948 (_IO_file_underflow_internal, _IO_file_overflow_internal)
39949 (_IO_file_init_internal, _IO_file_attach_internal)
39950 (_IO_file_fopen_internal, _IO_file_read_internal)
39951 (_IO_file_sync_internal, _IO_file_seek_internal)
39952 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39953 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39954 (_IO_str_underflow_internal, _IO_str_overflow_internal)
39955 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39956 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39957 (_IO_list_all_internal, _IO_link_in_internal)
39958 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39959 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39960 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39961 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39962 (_IO_do_write_internal, _IO_padn_internal)
39963 (_IO_getline_info_internal, _IO_getline_internal)
39964 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39965 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39966 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39967 (_IO_vfscanf_internal, _IO_vfprintf_internal)
39968 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39969 (_IO_init_internal, _IO_un_link_internal): Don't declare.
39970 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39971 with libc_hidden_ver, remove use of INTUSE.
39972 * libio/genops.c: Likewise.
39973 * libio/freopen.c: Likewise.
39974 * libio/freopen64.c: Likewise.
39975 * libio/iofclose.c: Likewise.
39976 * libio/iofdopen.c: Likewise.
39977 * libio/iofflush.c: Likewise.
39978 * libio/iofflush_u.c: Likewise.
39979 * libio/iofgets.c: Likewise.
39980 * libio/iofgets_u.c: Likewise.
39981 * libio/iofopen.c: Likewise.
39982 * libio/iofopncook.c: Likewise.
39983 * libio/iofread.c: Likewise.
39984 * libio/iofread_u.c: Likewise.
39985 * libio/ioftell.c: Likewise.
39986 * libio/iofwrite.c: Likewise.
39987 * libio/iogetline.c: Likewise.
39988 * libio/iogets.c: Likewise.
39989 * libio/iogetwline.c: Likewise.
39990 * libio/iopadn.c: Likewise.
39991 * libio/iopopen.c: Likewise.
39992 * libio/ioseekoff.c: Likewise.
39993 * libio/ioseekpos.c: Likewise.
39994 * libio/iosetbuffer.c: Likewise.
39995 * libio/iosetvbuf.c: Likewise.
39996 * libio/ioungetc.c: Likewise.
39997 * libio/ioungetwc.c: Likewise.
39998 * libio/iovdprintf.c: Likewise.
39999 * libio/iovsprintf.c: Likewise.
40000 * libio/iovsscanf.c: Likewise.
40001 * libio/memstream.c: Likewise.
40002 * libio/obprintf.c: Likewise.
40003 * libio/oldfileops.c: Likewise.
40004 * libio/oldiofclose.c: Likewise.
40005 * libio/oldiofdopen.c: Likewise.
40006 * libio/oldiofopen.c: Likewise.
40007 * libio/oldiopopen.c: Likewise.
40008 * libio/oldstdfiles.c: Likewise.
40009 * libio/putc.c: Likewise.
40010 * libio/setbuf.c: Likewise.
40011 * libio/setlinebuf.c: Likewise.
40012 * libio/stdfiles.c: Likewise.
40013 * libio/strops.c: Likewise.
40014 * libio/vasprintf.c: Likewise.
40015 * libio/vscanf.c: Likewise.
40016 * libio/vsnprintf.c: Likewise.
40017 * libio/vswprintf.c: Likewise.
40018 * libio/wfiledoalloc.c: Likewise.
40019 * libio/wfileops.c: Likewise.
40020 * libio/wgenops.c: Likewise.
40021 * libio/wmemstream.c: Likewise.
40022 * libio/wstrops.c: Likewise.
40023 * libio/__fpurge.c: Likewise.
40024 * libio/__fsetlocking.c: Likewise.
40025 * assert/assert.c: Likewise.
40026 * debug/fgets_chk.c: Likewise.
40027 * debug/fgets_u_chk.c: Likewise.
40028 * debug/fread_chk.c: Likewise.
40029 * debug/fread_u_chk.c: Likewise.
40030 * debug/gets_chk.c: Likewise.
40031 * debug/obprintf_chk.c: Likewise.
40032 * debug/vasprintf_chk.c: Likewise.
40033 * debug/vdprintf_chk.c: Likewise.
40034 * debug/vsnprintf_chk.c: Likewise.
40035 * debug/vsprintf_chk.c: Likewise.
40036 * malloc/mtrace.c: Likewise.
40037 * misc/error.c: Likewise.
40038 * misc/syslog.c: Likewise.
40039 * stdio-common/asprintf.c: Likewise.
40040 * stdio-common/fxprintf.c: Likewise.
40041 * stdio-common/getw.c: Likewise.
40042 * stdio-common/isoc99_fscanf.c: Likewise.
40043 * stdio-common/isoc99_scanf.c: Likewise.
40044 * stdio-common/isoc99_vfscanf.c: Likewise.
40045 * stdio-common/isoc99_vscanf.c: Likewise.
40046 * stdio-common/isoc99_vsscanf.c: Likewise.
40047 * stdio-common/printf-prs.c: Likewise.
40048 * stdio-common/printf_fp.c: Likewise.
40049 * stdio-common/printf_fphex.c: Likewise.
40050 * stdio-common/printf_size.c: Likewise.
40051 * stdio-common/putw.c: Likewise.
40052 * stdio-common/scanf.c: Likewise.
40053 * stdio-common/sprintf.c: Likewise.
40054 * stdio-common/tmpfile.c: Likewise.
40055 * stdio-common/vfprintf.c: Likewise.
40056 * stdio-common/vfscanf.c: Likewise.
40057 * stdlib/strfmon_l.c: Likewise.
40058 * sunrpc/openchild.c: Likewise.
40059 * sunrpc/xdr_stdio.c: Likewise.
40060 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40061 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40062
40063 2012-05-24 Roland McGrath <roland@hack.frob.com>
40064
40065 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40066
40067 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40068 in the third column, to generate for the shared library an IFUNC
40069 that uses _dl_vdso_vsym.
40070 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40071 * Makeconfig (object-suffixes-noshared): New variable.
40072
40073 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40074 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40075 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40076 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40077
40078 [BZ #14132]
40079 * include/sys/time.h (__gettimeofday): Remove macro.
40080 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40081 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40082 Remove INTDEF.
40083 (__gettimeofday): Add libc_hidden_def.
40084 (gettimeofday): Add libc_hidden_weak.
40085 * sysdeps/mach/gettimeofday.c: Likewise.
40086 * sysdeps/posix/gettimeofday.c: Likewise.
40087 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40088 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40089 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40090 (__gettimeofday_internal): Remove strong_alias.
40091 (__gettimeofday): Add libc_hidden_def.
40092 (gettimeofday): Add libc_hidden_weak.
40093 * sysdeps/unix/syscalls.list (gettimeofday):
40094 Remove __gettimeofday_internal alias.
40095
40096 2012-05-24 Daniel Jacobowitz <drow@false.org>
40097 H.J. Lu <hongjiu.lu@intel.com>
40098
40099 [BZ #12495]
40100 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40101 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40102 (largebin_index_32_big): New.
40103 (largebin_index): Use it for 16-byte alignment.
40104 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40105 correction with front_misalign.
40106
40107 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40108
40109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40111 Likewise.
40112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40113 Likewise.
40114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40115 Likewise.
40116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40117 Likewise.
40118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40119 Likewise.
40120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40121 Likewise.
40122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40123 Likewise.
40124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40125 Likewise.
40126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40127 Likewise.
40128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40129 Likewise.
40130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40131 Likewise.
40132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40133 Likewise.
40134
40135 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40136 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40137
40138 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40139
40140 [BZ #10846]
40141 [BZ #14036]
40142 * math/libm-test.inc (exp_test): Add test from bug 14036.
40143 (pow_test): Add test from bug 10846.
40144
40145 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40146 and other flags.
40147 (special_function): Do not include flags in test name.
40148 (parse_args): Likewise.
40149 * sysdeps/i386/fpu/libm-test-ulps: Update.
40150 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40151 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40152 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40154
40155 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40156 exceptions.
40157 * math/libm-test.inc ("Philosophy"): Update comment about
40158 exception testing.
40159 (UNDERFLOW_EXCEPTION): New macro.
40160 (UNDERFLOW_EXCEPTION_OK): Likewise.
40161 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40162 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40163 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40164 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40165 (INVALID_EXCEPTION_OK): Update value.
40166 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40167 (OVERFLOW_EXCEPTION_OK): Likewise.
40168 (IGNORE_ZERO_INF_SIGN): Likewise.
40169 (test_exceptions): Handle underflow exceptions.
40170 (acos_test): Update for underflow exception expectations.
40171 (cexp_test): Likewise.
40172 (clog_test): Likewise.
40173 (clog10_test): Likewise.
40174 (csqrt_test): Likewise.
40175 (ctan_test): Likewise.
40176 (ctanh_test): Likewise.
40177 (exp_test): Likewise.
40178 (exp10_test): Likewise.
40179 (exp2_test): Likewise.
40180 (expm1_test): Likewise.
40181 (fma_test): Likewise.
40182 (j0_test): Likewise.
40183 (jn_test): Likewise.
40184 (nexttoward_test): Likewise.
40185 (pow_test): Likewise.
40186 (scalbn_test): Likewise.
40187 (scalbln_test): Likewise.
40188 (tan_test): Likewise.
40189 (y1_test): Likewise.
40190 * sysdeps/i386/fpu/libm-test-ulps: Update.
40191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40192
40193 2012-05-23 David S. Miller <davem@davemloft.net>
40194
40195 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40196 (__libc_sigaction): Remove unused local variables.
40197
40198 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40199
40200 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40201
40202 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40203
40204 mktime: avoid signed integer overflow
40205 * time/mktime.c (__mktime_internal): Do not mishandle the case
40206 where diff == INT_MIN.
40207
40208 mktime: simplify computation of average
40209 * time/mktime.c (ranged_convert): Use new time_t_avg function
40210 instead of rolling our own (probably-slower) code.
40211
40212 mktime: do not assume signed right shift propagates sign bit
40213 * time/mktime.c (isdst_differ): New static function.
40214 (__mktime_internal): No need to normalize tm_isdst now.
40215 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40216 tm_isdst values.
40217
40218 mktime: merge another wrapv change from gnulib
40219 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40220 from some compilers.
40221
40222 mktime: remove incorrect attempt at unusual arithmetics
40223 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40224 The code didn't really work on such machines anyway.
40225 (TYPE_MINIMUM): Assume two's complement.
40226 (twos_complement_arithmetic): Verify that long_int and time_t
40227 are two's complement (or unsigned, in the latter case).
40228
40229 mktime: check signed shifts on long_int and time_t, too
40230 * time/mktime.c (SHR): Check that shifts work as desired
40231 on the types long_int and time_t too, as SHR is used on
40232 such types.
40233
40234 mktime: do not assume 'long' is wide enough
40235 * time/mktime.c (verify): Move decl up.
40236 (long_int): New type.
40237 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40238 to remove assumption in the code that 'long' is wide enough to
40239 store year values. This assumption is not true on x32 and on
40240 some non-glibc platforms.
40241
40242 mktime: merge wrapv change from gnulib
40243 * time/mktime.c (WRAPV): New macro.
40244 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40245 (guess_time_tm, __mktime_internal): Do not assume that signed
40246 integer overflow wraps around; modern compilers generate code
40247 where this assumption is no longer valid.
40248
40249 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40250
40251 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40252 Replace "jmp L(pseudo_end)" with "ret".
40253 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40254 Likewise.
40255
40256 2012-05-23 Andreas Jaeger <aj@suse.de>
40257
40258 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40259 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40260
40261 2012-05-23 Andreas Jaeger <aj@suse.de>
40262 Maximilian Attems <max@stro.at>
40263
40264 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40265 New macros.
40266
40267 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40268
40269 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40270 code so that pseudo_end is just ret and the stack pointer is
40271 correct also for static library in error case.
40272
40273 2012-05-23 Joseph Myers <joseph@codesourcery.com>
40274
40275 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40276 move to syscalls.list.
40277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40281
40282 * manual/install.texi (Running make install): Do not mention Linux
40283 kernel version for which pt_chown is not needed.
40284 (Linux): Do not mention problems with nscd with 2.0 kernels.
40285 * INSTALL: Regenerated.
40286
40287 2012-05-23 Andreas Jaeger <aj@suse.de>
40288
40289 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40290 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40291 macro.
40292 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40293 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40294 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40295 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40296 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40297 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40298 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40299 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40300 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40301 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40302 * sysdeps/unix/sysv/linux/bits/in.h
40303 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40304
40305 2012-05-22 Roland McGrath <roland@hack.frob.com>
40306
40307 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40308 (PREPARE_VERSION): Just use assert instead, it will be elided
40309 under [NDEBUG] anyway.
40310
40311 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40312
40313 * sysdeps/unix/sysv/linux/Makefile: Include
40314 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40315 (sysdep_routines): Remove sysctl.
40316 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40317 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40318 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40319 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40320 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40321
40322 2012-05-22 Andreas Jaeger <aj@suse.de>
40323
40324 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40325 that pseudo_end is just ret and the stack pointer is correct also
40326 for static library in error case.
40327
40328 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40329
40330 [BZ #14122]
40331 * nss/nsswitch.c (defconfig_entries): New variable.
40332 (__nss_database_lookup): Don't leak defconfig entries.
40333 (nss_parse_service_list): Don't leak on error paths.
40334 (free_database_entries): New function.
40335 (free_defconfig): New function.
40336 (free_mem): Move common code to free_database_entries.
40337
40338 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40339
40340 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40341 Add arch_prctl.
40342 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40343
40344 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40345 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40347 New macro.
40348 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40349 (INTERNAL_SYSCALL_TYPES): Likewise.
40350 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40351 (LOAD_REGS_TYPES_[1-6]): Likewise.
40352 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40353 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40354
40355 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40356
40357 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40358 copysignl for GLIBC_2_0.
40359 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40360 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40361 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40362 logbl for GLIBC_2_0.
40363 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40364 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40365
40366 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40367
40368 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40369 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40370
40371 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40372 Use "neg %eax".
40373
40374 * time/mktime.c: Update copyright years.
40375
40376 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40377
40378 mktime: merge comment-quoting-style change from gnulib
40379 * time/mktime.c: Quote 'like this' in comments.
40380 The GNU coding standards suggest that we no longer quote `like this',
40381 as "`" and "'" are typically rendered asymmetrically nowadays.
40382 The typical gnulib style is to quote 'like this' when quoting
40383 code, and "like this" when quoting English.
40384
40385 * time/mktime.c (compile-command): Add "-I.".
40386
40387 mktime: merge mktime-internal.h change from gnulib
40388 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40389
40390 mktime: merge time_r change from gnulib
40391 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40392
40393 mktime: merge DEBUG change from gnulib
40394 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40395 case system <time.h> has a #define.
40396
40397 mktime: merge <sys/types.h> change from gnulib
40398 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40399 since <time.t> is now guaranteed to define time_t.
40400
40401 mktime: merge HAVE_CONFIG_H change from gnulib
40402 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40403
40404 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40405
40406 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40407 Use "neg %eax".
40408
40409 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40410 __rlim_t cast.
40411 (struct rusage): Use anonymous union to pad each field to
40412 __syscall_slong_t.
40413
40414 2012-05-21 David S. Miller <davem@davemloft.net>
40415
40416 * Makefules (o-iterator): Remove .s cases.
40417 (compile-command.s): Delete.
40418 (COMPILE.s): Delete.
40419 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40420
40421 2012-05-21 Joseph Myers <joseph@codesourcery.com>
40422
40423 * configure.in (libc_cv_predef_stack_protector): Only consider
40424 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40425 * configure: Regenerated.
40426
40427 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40428
40429 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40430 New macro. Use R*LP on int and pointer.
40431 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40432 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40433 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40434 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40435
40436 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40437 [__WORDSIZE_TIME64_COMPAT32] instead of
40438 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40439 (struct utmp): Likewise.
40440 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40441 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40442 Renamed to ...
40443 (__WORDSIZE_TIME64_COMPAT32): This.
40444 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40445 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40446 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40447 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40448 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40449 (__WORDSIZE_TIME64_COMPAT32): New macro.
40450
40451 2012-05-21 Andreas Jaeger <aj@suse.de>
40452
40453 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40454 only if [SHARED]. Add prototype for __wcschr_ia32.
40455
40456 2012-05-21 Roland McGrath <roland@hack.frob.com>
40457
40458 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40459 of %rbp unmolested in the jmp_buf while mangling the low bits.
40460 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40461 unmolested high bits of %rbp while demangling the low bits.
40462 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40463
40464 2012-05-21 Andreas Jaeger <aj@suse.de>
40465
40466 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40467 * sunrpc/svc_simple.c: Use it for registerrpc.
40468 * sunrpc/xcrypt.c: Use it for passwd2des.
40469
40470 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40471
40472 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40473
40474 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40475 Don't define if [__SYSCALL_WORDSIZE != 32].
40476 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40477 New macro.
40478
40479 2012-05-21 Bruno Haible <bruno@clisp.org>
40480 Andreas Jaeger <aj@suse.de>
40481
40482 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40483 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40484 inptr and inend for must_buffer_ch.
40485 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40486 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40487 * stdio-common/Makefile (tests): Remove bug15.
40488 (bug15-ENV): Remove macro.
40489 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40490 anymore.
40491
40492 2012-05-19 Andreas Jaeger <aj@suse.de>
40493 Roland McGrath <roland@hack.frob.com>
40494
40495 * manual/contrib.texi: Completely rewritten. It contains now an
40496 alphabetical list of contributors and their contributions.
40497
40498 2012-05-21 Richard Henderson <rth@twiddle.net>
40499
40500 * misc/getauxval.c (__getauxval): Use unsigned long int.
40501 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40502 (getauxval): Use unsigned long int.
40503
40504 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40505
40506 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40507
40508 2012-05-21 Roland McGrath <roland@hack.frob.com>
40509
40510 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40511 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40512 __alignof__ (long double).
40513
40514 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40515
40516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40517
40518 2012-05-20 Richard Henderson <rth@twiddle.net>
40519
40520 * misc/getauxval.c: New file.
40521 * misc/sys/auxv.h: New file.
40522 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40523 (routines): Add getauxval.
40524 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40525 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40526 * elf/dl-sysdep.c (_dl_auxv): Remove.
40527 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40528 * elf/dl-support.c (_dl_auxv): New variable.
40529 (_dl_aux_init): Initialize it.
40530 * manual/startup.texi (Auxiliary Vector): New node.
40531 * sysdeps/generic/bits/hwcap.h: New file.
40532 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40533 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40534 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40535 * sysdeps/sparc/sysdep.h: ... here. Include it.
40536 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40537 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40539 Update.
40540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40543 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40548
40549 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40550
40551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40552
40553 2012-05-19 David S. Miller <davem@davemloft.net>
40554
40555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40556
40557 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40558
40559 [BZ #14123]
40560 * math/s_ccosh.c: Include <float.h>
40561 (__ccosh): Avoid internal overflow calculating sinh and cosh
40562 values before multiplying by sin and cos values.
40563 * math/s_ccoshf.c: Likewise.
40564 * math/s_ccoshl.c: Likewise.
40565 * math/s_csin.c: Likewise.
40566 * math/s_csinf.c: Likewise.
40567 * math/s_csinl.c: Likewise.
40568 * math/s_csinh.c: Likewise.
40569 * math/s_csinhf.c: Likewise.
40570 * math/s_csinhl.c: Likewise.
40571 * math/libm-test.inc (ccos_test): Add more tests.
40572 (ccosh_test): Likewise.
40573 (csin_test): Likewise.
40574 (csinh_test): Likewise.
40575 * sysdeps/i386/fpu/libm-test-ulps: Update.
40576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40577
40578 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40579
40580 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40581 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40582
40583 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40584
40585 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40586
40587 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40588 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40589 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40590 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40591 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40592 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40593 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40594 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40595 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40596 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40597 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40598 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40599 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40600 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40601 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40602 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40603 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40604 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40605 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40606 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40607 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40608 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40609 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40610 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40611 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40612 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40613 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40614 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40615 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40616 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40617 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40618
40619 2012-05-18 Andreas Jaeger <aj@suse.de>
40620
40621 * csu/.gitignore: Delete.
40622
40623 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40624
40625 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40626 (timex): Use __syscall_slong_t.
40627
40628 2012-05-18 Andreas Jaeger <aj@suse.de>
40629 Carlos O'Donell <carlos_odonell@mentor.com>
40630
40631 * manual/install.texi (Configuring and compiling): Update
40632 description about files modified in the source directory.
40633 * INSTALL: Regenerated.
40634
40635 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40636
40637 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40638 value. Use "or" to set return value to -1.
40639 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40640 negate return value.
40641
40642 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40643
40644 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40645 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40646 failure if the compiler has Graphite support disabled.
40647 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40648 Likewise.
40649 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40650 (CFLAGS-memmove.c): Likewise.
40651 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40652 Likewise.
40653
40654 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40655
40656 * sysdeps/x86_64/x32/_itoa.h: New file.
40657
40658 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40659 getdents system call only if kernel and user dirents have the
40660 same d_ino and d_off.
40661
40662 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40663 LLONG_MAX != LONG_MAX.
40664 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40665 (_fitoa_word): Likewise.
40666
40667 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40668 years.
40669 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40670 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40671 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40672
40673 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40674 include <bits/wordsize.h>. Check __x86_64__ instead of
40675 __WORDSIZE.
40676 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40677 if __x86_64__ is defined. Use anonymous union on fpstate.
40678
40679 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40680 anonymous union.
40681
40682 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40683
40684 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40685 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40686 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40687 Refer to _rtld_local_ro instead of _rtld_global_ro.
40688 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40689 Likewise.
40690 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40691 Likewise.
40692 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40693 Likewise.
40694 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40695 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40696 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40697
40698 * sysdeps/powerpc/powerpc32/dl-machine.c
40699 (__elf_machine_runtime_setup) [PROF]: Don't reference
40700 _dl_prof_resolve.
40701
40702 2012-05-18 Andreas Jaeger <aj@suse.de>
40703
40704 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40705 function only available for GCCs before 3.4 since GCC 3.4
40706 introduced a builtin.
40707 (lrint): Likewise.
40708 (llrintf): Likewise.
40709 (llrint): Likewise.
40710 (fmaxf): Likewise.
40711 (fmax): Likewise.
40712 (fminf): Likewise.
40713 (fmin): Likewise.
40714 (rint): Likewise.
40715 (rintf): Likewise.
40716 (nearbyint): Likewise.
40717 (nearbyintf): Likewise.
40718 (ceil): Likewise.
40719 (ceilf): Likewise.
40720 (floor): Likewise.
40721 (floorf): Likewise.
40722
40723 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40724
40725 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40726 on both fields and cast pointer to __syscall_ulong_t.
40727
40728 * bits/types.h (__fsword_t): New type.
40729 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40730 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40731 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40732 (__FSWORD_T_TYPE): Likewise.
40733 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40734 (__FSWORD_T_TYPE): Likewise.
40735 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40736 (__FSWORD_T_TYPE): Likewise.
40737 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40738 (__FSWORD_T_TYPE): Likewise.
40739 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40740 __SWORD_TYPE with __fsword_t.
40741 (statfs64): Likewise.
40742
40743 2012-05-17 David S. Miller <davem@davemloft.net>
40744
40745 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40746
40747 2012-05-17 Andreas Jaeger <aj@suse.de>
40748
40749 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40750 warning.
40751
40752 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40753
40754 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40755
40756 2012-05-17 Andreas Jaeger <aj@suse.de>
40757
40758 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40759 when it is used.
40760
40761 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40762
40763 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40764
40765 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40766
40767 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40768 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40769
40770 2012-05-17 Andreas Jaeger <aj@suse.de>
40771 Carlos O'Donell <carlos_odonell@mentor.com>
40772
40773 [BZ #14059]
40774 * sysdeps/x86_64/multiarch/init-arch.h
40775 (bit_YMM_Usable): Rename to...
40776 (bit_AVX_Usable): ... this.
40777 (bit_FMA4_Usable): New macro.
40778 (bit_XMM_state): New macro.
40779 (bit_YMM_state): New macro.
40780 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40781 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40782 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40783 (CPUID_OSXSAVE): New macro.
40784 (CPUID_AVX): New macro.
40785 (CPUID_FMA4): New macro.
40786 (index_YMM_Usable): Rename to...
40787 (index_AVX_Usable): ... this.
40788 (HAS_AVX): Use HAS_ARCH_FEATURE.
40789 (HAS_FMA4): Likewise.
40790 (HAS_YMM_USABLE): Remove.
40791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40792 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40793 are present.
40794 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40795 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40796 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40797 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40798 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40799
40800 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40801
40802 * math/libm-test.c: Support platforms without multiple rounding modes.
40803 * math/bug-nextafter.c: Support platforms without FP exceptions.
40804 * math/bug-nexttoward.c: Likewise.
40805 * math/test-fenv.c: Likewise.
40806 * math/test-misc.c: Likewise.
40807 * stdlib/bug-getcontext.c: Likewise.
40808
40809 2012-05-17 Andreas Jaeger <aj@suse.de>
40810
40811 * manual/examples/search.c (critter_cmp): Change signature to
40812 avoid warnings.
40813 * manual/string.texi (Collation Functions): Likewise.
40814
40815 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40816
40817 * bits/types.h: Fold copyright years.
40818 * bits/typesizes.h: Likewise.
40819 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40820 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40821 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40822 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40823 * time/time.h: Likewise.
40824
40825 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40826
40827 [BZ #208]
40828 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40829 in instead of returning them. Return void.
40830 (__libc_mallinfo): Accumulate over all arenas.
40831 (__malloc_stats): Adjust for change in int_mallinfo interface.
40832
40833 2012-05-16 Roland McGrath <roland@hack.frob.com>
40834
40835 [BZ #10375]
40836 * configure.in (NM): Add AC_CHECK_TOOL for it.
40837 (libc_extra_cflags): New substituted variable.
40838 Check for -fstack-protector being used implicitly.
40839 * configure: Regenerated.
40840 * config.make.in (config-extra-cflags): New variable,
40841 gets @libc_extra_cflags@.
40842 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40843
40844 [BZ #10375]
40845 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40846 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40847 * configure: Regenerated.
40848 * config.make.in (CPPUNDEFS): New substituted variable.
40849 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40850 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40851 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40852
40853 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40854
40855 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40856 (mq_attr): Use __syscall_slong_t.
40857
40858 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40859
40860 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40861 Check __x86_64__ instead of __WORDSIZE.
40862 (_STAT_VER_LINUX): Likewise.
40863 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40864 __syscall_ulong_t and __syscall_slong_t.
40865 (stat64): Likewise.
40866
40867 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40868
40869 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40870
40871 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40872
40873 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40874
40875 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40876
40877 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40878 __syscall_ulong_t.
40879
40880 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40881 include <bits/wordsize.h>. Check __x86_64__ instead of
40882 __WORDSIZE.
40883 (greg_t): Use "__extension__ long long int" if __x86_64__ is
40884 defined.
40885 (mcontext_t): Replace "unsigned long" with "unsigned long long".
40886
40887 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40888 include <bits/wordsize.h>. Check __x86_64__ instead of
40889 __WORDSIZE.
40890 (user_regs_struct): Use "__extension__ unsigned long long"
40891 instead of "unsigned long" if __x86_64__ is defined.
40892 (user): Likewise. Pad after pointer field if __ILP32__ is
40893 defined.
40894
40895 2012-05-16 Joseph Myers <joseph@codesourcery.com>
40896
40897 * configure.in (makeinfo): Require version 4.5 or later. Allow
40898 versions 5 to 9.
40899 * configure: Regenerated.
40900 * manual/install.texi (texinfo): Increase version requirement to
40901 4.5 or later.
40902 * INSTALL: Regenerated.
40903
40904 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40905
40906 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40907
40908 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40909
40910 * sysdeps/x86_64/x32/ffs.c: New file.
40911
40912 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40913 __syscall_ulong_t.
40914 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40915 defined. Use __syscall_ulong_t.
40916 (shminfo): Use __syscall_ulong_t.
40917 (shm_info): Likewise.
40918
40919 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40920 __syscall_ulong_t.
40921
40922 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40923 <bits/wordsize.h>.
40924 (msgqnum_t): Use __syscall_ulong_t.
40925 (msglen_t): Likewise.
40926 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
40927 __syscall_ulong_t.
40928
40929 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40930 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40931
40932 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40933
40934 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40935 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40936
40937 * sysvipc/sys/msg.h (msgbuf): Replace long int with
40938 __syscall_slong_t.
40939
40940 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40941 include <bits/wordsize.h>. Check __x86_64__ instead of
40942 __WORDSIZE.
40943
40944 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40945 "unsigned long long int" if __x86_64__ is defined.
40946 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40947
40948 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40949 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40950 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40951
40952 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40953 <stdint.h>.
40954 (GET_PC): Cast to uintptr_t first.
40955 (GET_FRAME): Likewise.
40956 (GET_STACK): Likewise.
40957
40958 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40959 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40960 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40961 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40962 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40963 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40964 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40965 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40966 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40967 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40968 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40969 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40970 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40971 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40972 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40973 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40974 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40975 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40976 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40977 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40978 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40979 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40980 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40981 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40982 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40983 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40984 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40985 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40986 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40987
40988 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
40989
40990 * Makerules (+depfiles): Also collect depfiles from .oS in
40991 $(extra-objs).
40992 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40993 .oS, $(libnldbl-routines)).
40994
40995 * Makerules (native-compile-mkdep-flags): Define.
40996 * sunrpc/Makefile (extra-objs): Add $(addprefix
40997 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40998 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40999 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41000 calling $(make-target-directory).
41001
41002 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41003
41004 * bits/types.h (__snseconds_t): Removed.
41005 * time/time.h (struct timespec): Replace __snseconds_t with
41006 __syscall_slong_t.
41007 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41008 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41009 Likewise.
41010 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41011 (__SNSECONDS_T_TYPE): Likewise.
41012 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41013 (__SNSECONDS_T_TYPE): Likewise.
41014 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41015 (__SNSECONDS_T_TYPE): Likewise.
41016
41017 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41018
41019 * sysdeps/mach/hurd/bits/typesizes.h
41020 (__SYSCALL_SLONG_TYPE): New macro.
41021 (__SYSCALL_ULONG_TYPE): Likewise.
41022
41023 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41024
41025 * bits/types.h (__syscall_slong_t): New type.
41026 (__syscall_ulong_t): Likewise.
41027
41028 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41029 (__SYSCALL_ULONG_TYPE): Likewise.
41030 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41031 (__SYSCALL_SLONG_TYPE): Likewise.
41032 (__SYSCALL_ULONG_TYPE): Likewise.
41033 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41034 (__SYSCALL_SLONG_TYPE): Likewise.
41035 (__SYSCALL_ULONG_TYPE): Likewise.
41036 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41037 (__SYSCALL_SLONG_TYPE): Likewise.
41038 (__SYSCALL_ULONG_TYPE): Likewise.
41039
41040 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41041
41042 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41043 Add sigaltstack-offsets.sym.
41044 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41045 <sigaltstack-offsets.h>.
41046 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41047 longjmp_msg pointer.
41048 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41049 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41050 signal stack.
41051 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41052
41053 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41054
41055 * elf/stackguard-macros.h: Remove file.
41056 * sysdeps/generic/stackguard-macros.h: New file.
41057 * sysdeps/i386/stackguard-macros.h: Likewise.
41058 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41059 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41060 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41061 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41062 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41063 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41064 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41065 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41066 <elf/stackguard-macros.h>.
41067
41068 [BZ #14109]
41069 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41070 __aligned__ in attribute.
41071 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41072 (gregset_t): Likewise.
41073
41074 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41075
41076 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41077 * sysdeps/x86_64/64/Implies-after: Here. New file.
41078 * sysdeps/x86_64/x32/Implies-after: New file.
41079
41080 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41081
41082 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41083 and access return value for _dl_profile_fixup. Use R10_LP to
41084 load frame size.
41085
41086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41087
41088 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41089
41090 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41091
41092 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41093 * sysdeps/x86_64/x32/sysdep.h: New file.
41094
41095 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41096
41097 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41098 * sysdeps/x86_64/setjmp.S: Likewise.
41099
41100 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41101
41102 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41103 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41104 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41105 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41106 remove unused global constant.
41107
41108 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41109
41110 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41111 include of <not-cancel.h>.
41112
41113 2012-05-15 Roland McGrath <roland@hack.frob.com>
41114
41115 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41116
41117 2012-05-15 Jeff Law <law@redhat.com>
41118 Andreas Jaeger <aj@suse.de>
41119
41120 [BZ #13594]
41121 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41122 out from...
41123 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41124 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41125 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41126 code changing __hst_map_handle.map.
41127
41128 2012-05-15 Roland McGrath <roland@hack.frob.com>
41129
41130 * configure.in (sysnames): Look for Implies-before and Implies-after
41131 files.
41132 * configure: Regenerated.
41133
41134 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41135
41136 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41137 8-byte data alignment with LP_SIZE alignment.
41138
41139 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41140
41141 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41142 into R10_LP.
41143
41144 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41145
41146 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41147
41148 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41149
41150 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41151 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41152 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41153 Likewise.
41154 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41155
41156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41157
41158 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41159 (stackinfo_sub_sp): Likewise.
41160
41161 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41162
41163 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41164 RAX_LP.
41165
41166 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41167
41168 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41169 into R*_LP.
41170
41171 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41172
41173 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41174 sizes into R*_LP.
41175
41176 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41177
41178 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41179
41180 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41181
41182 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41183 into R11_LP and load __x86_64_shared_cache_size_half into
41184 R8_LP.
41185
41186 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41187
41188 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41189 R8_LP.
41190
41191 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41192
41193 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41194 logb for POWER7.
41195 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41196 logbf for POWER7.
41197 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41198 logbl for POWER7.
41199 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41200 powerpc32/power7/fpu/s_logb.c via #include.
41201 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41202 powerpc32/power7/fpu/s_logbf.c via #include.
41203 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41204 powerpc32/power7/fpu/s_logbl.c via #include.
41205
41206 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41207
41208 * README.libm: Remove file.
41209
41210 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41211
41212 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41213 count for x32. Use R*_LP and omit operand-size suffix.
41214
41215 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41216
41217 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41218 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41219 * sysdeps/x86_64/x32/shlib-versions: New file.
41220
41221 2012-05-14 Roland McGrath <roland@hack.frob.com>
41222
41223 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41224 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41225 Use _dl_fatal_printf instead.
41226
41227 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41228
41229 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41230 set if not set by the user. Do not allow for being unset.
41231 * sysdeps/unix/sysv/linux/configure: Regenerated.
41232
41233 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41234
41235 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41236 the `q' suffix from lea and replace .quad with ASM_ADDR.
41237
41238 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41239
41240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41241 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41242 instead of $17.
41243 (PTR_DEMANGLE): Likewise.
41244
41245 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41246
41247 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41248 (LP_OP): Likewise.
41249 (ASM_ADDR): Likewise.
41250 (RAX_LP): Likewise.
41251 (RBP_LP): Likewise.
41252 (RBX_LP): Likewise.
41253 (RCX_LP): Likewise.
41254 (RDI_LP): Likewise.
41255 (RSI_LP): Likewise.
41256 (RSP_LP): Likewise.
41257 (R8_LP): Likewise.
41258 (R9_LP): Likewise.
41259 (R10_LP): Likewise.
41260 (R10_LP): Likewise.
41261 (R11_LP): Likewise.
41262 (R12_LP): Likewise.
41263 (R13_LP): Likewise.
41264 (R14_LP): Likewise.
41265 (R15_LP): Likewise.
41266
41267 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41268
41269 * sysdeps/x86_64/x32/dl-machine.h: New file.
41270
41271 2012-05-14 Andreas Jaeger <aj@suse.de>
41272
41273 * manual/Makefile (subdir): Remove export of subdir.
41274 (all): Remove target.
41275 (.PHONY): Remove all from list.
41276 (mkinstalldirs): Remove.
41277 (.PHONY): Remove installdirs from list.
41278 ($(inst_infodir)/libc.info): Use make-target-directory.
41279 (installdirs): Remove.
41280 (subdir_%): Remove.
41281 (glibc-targets): Remove.
41282 (lib): Remove.
41283 (stubs): Remove.
41284 ($(objpfx)stubs ../po/manual.pot): Remove.
41285 ($(objpfx)stamp%): Remove.
41286 (make-target-directory): Remove.
41287 (subdir_install): Remove.
41288 (routines): Remove.
41289 (aux): Remove.
41290 (sources): Remove.
41291 (objects): Remove.
41292 (headers): Remove.
41293
41294 [BZ #13750]
41295 * manual/.gitignore: Remove, it's not needed anymore.
41296 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41297 all files in it.
41298 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41299 directory.
41300 (texis): Renamed to $(objpfx)texis.
41301 (texis-path): New, contains path to generated files.
41302 (chapters.%): Use texis-path for complete path, add extra argument
41303 libc-texinfo.sh.
41304 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41305 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41306 (summary,texi, stamp-summary): Use complete path of
41307 files. Generate files in build dir.
41308 (dir-add.texi): Build in build dir.
41309 (libm-err.texi,stamp-libm-err): Likewise.
41310 (version.texi, stamp-version): Likewise.
41311 (.%c.texi): Likewise.
41312 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41313 (mostlyclean): Remove target.
41314 (realclean): Remove target.
41315 (generated): Add new variable with contents from mostlyclean and
41316 realclean, remove entries duplicated in common-mostlyclean, add
41317 stamp-libm-err and stamp-version.
41318 (generated-dirs): Add libc directory.
41319 ($(inst_infodir)/libc.info): Install files from build dir.
41320
41321 * manual/install.texi (Configuring and compiling): Adjust since
41322 the info files are not part of the tar ball anymore.
41323
41324 2012-05-14 Andreas Jaeger <aj@suse.de>
41325
41326 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41327 variable.
41328
41329 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41330
41331 [BZ #13717]
41332 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41333 to 2.2.0 where earlier.
41334 * sysdeps/unix/sysv/linux/configure: Regenerated.
41335 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41336 Remove conditional code.
41337 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41338 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41339 Remove conditional code.
41340 [!__NR_lchown]: Likewise.
41341 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41342 [__NR_lchown]: Likewise.
41343 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41344 comment referencing __ASSUME_LCHOWN_SYSCALL.
41345 * sysdeps/unix/sysv/linux/i386/sigaction.c
41346 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41347 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41348 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41349 Remove conditional code.
41350 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41351 (__protocol_available): Remove #if 0 code.
41352 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41353 conditional code.
41354 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41355 * sysdeps/unix/sysv/linux/kernel-features.h
41356 (__ASSUME_GETCWD_SYSCALL): Don't define.
41357 (__ASSUME_REALTIME_SIGNALS): Likewise.
41358 (__ASSUME_PREAD_SYSCALL): Likewise.
41359 (__ASSUME_PWRITE_SYSCALL): Likewise.
41360 (__ASSUME_POLL_SYSCALL): Likewise.
41361 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41362 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41363 non-SPARC.
41364 (__ASSUME_SIOCGIFNAME): Don't define.
41365 (__ASSUME_MSG_NOSIGNAL): Likewise.
41366 (__ASSUME_SENDFILE): Define unconditionally.
41367 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41368 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41369 conditional code.
41370 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41371 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41372 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41373 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41374 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41375 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41376 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41378 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41379 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41381 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41382 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41384 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41385 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41387 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41388 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41390 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41391 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41393 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41394 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41396 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41397 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41399 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41400 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41401 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41402 Remove conditional code.
41403 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41404 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41405 Remove conditional code.
41406 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41407 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41408 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41409 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41410 Remove conditional code.
41411 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41412 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41413 Remove conditional code.
41414 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41415 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41416 Remove conditional code.
41417 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41418 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41419 Remove conditional code.
41420 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41421 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41422 Remove conditional code.
41423 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41424 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41425 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41426 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41427 * sysdeps/unix/sysv/linux/sigaction.c
41428 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41429 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41430 * sysdeps/unix/sysv/linux/sigpending.c
41431 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41432 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41433 * sysdeps/unix/sysv/linux/sigprocmask.c
41434 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41435 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41436 * sysdeps/unix/sysv/linux/sigsuspend.c
41437 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41438 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41439 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41440 (__libc_missing_rt_sigs): Remove.
41441 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41442 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41443 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41444 Remove conditional code.
41445 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41446 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41447 return 1.
41448 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41449 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41450 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41451 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41452
41453 2012-05-14 Andreas Jaeger <aj@suse.de>
41454
41455 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41456 it's not used in glibc.
41457 (__coshm1): Likewise.
41458 (__acosh1p): Likewise.
41459 (__sgn): Likewise.
41460
41461 * manual/string.texi (Copying and Concatenation): Add missing
41462 variable in concat example.
41463 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41464
41465 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41466
41467 [BZ #14103]
41468 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41469 __builtin_clzl with __builtin_clzll.
41470
41471 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41472
41473 [BZ #14104]
41474 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41475 libc_freeres_ptr.
41476
41477 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41478
41479 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41480 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41481 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41482 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41483
41484 2012-05-14 Mike Frysinger <vapier@gentoo.org>
41485
41486 * NEWS: Update ia64 info.
41487
41488 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41489
41490 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41491 used as bcopy.
41492
41493 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41494
41495 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41496 * sysdeps/unix/syscalls.list (dup3): Likewise.
41497 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41498 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41499
41500 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41501
41502 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41503 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41504
41505 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41506
41507 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41508 thread pointer.
41509 (TLS_IE): Use mov/add instead of movq/addq to load thread
41510 pointer.
41511 (TLS_GD_PREFIX): New.
41512 (TLS_GD): Use it.
41513
41514 2012-05-11 David S. Miller <davem@davemloft.net>
41515
41516 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41517 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41518 (_FPU_SETCW): Likewise.
41519
41520 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41521
41522 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41523 is 32-byte aligned.
41524
41525 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41526
41527 [BZ #11837]
41528 * iconvdata/gb18030.c: Update tables.
41529 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41530 characters specially.
41531 (BODY for TO_LOOP): Add encoding of missing ranges.
41532
41533 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41534
41535 [BZ #13673]
41536 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41537 * sysdeps/mach/hurd/dup3.c: Likewise.
41538 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41539 * sysdeps/powerpc/memmove.c:: Likewise.
41540
41541 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41542
41543 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41544 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41545
41546 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41547
41548 * elf/elf.h (R_X86_64_RELATIVE64): New.
41549 (R_X86_64_NUM): Updated.
41550 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41551 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41552 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41553 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41554 tst-quad1pie tst-quad2pie
41555 (modules-names): Add tst-quadmod1 tst-quadmod2.
41556 ($(objpfx)tst-quad1): New dependency.
41557 ($(objpfx)tst-quad2): Likewise.
41558 ($(objpfx)tst-quad1pie): Likewise.
41559 ($(objpfx)tst-quad2pie): Likewise.
41560 * sysdeps/x86_64/tst-quad1.c: New file.
41561 * sysdeps/x86_64/tst-quad1pie.c: New file.
41562 * sysdeps/x86_64/tst-quad2.c: Likewise.
41563 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41564 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41565 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41566 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41567 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41568
41569 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41570
41571 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41572 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41573 * streams/stropts.h (t_scalar_t): Define type.
41574
41575 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41576 (_PATH_PRESERVE): Set to "/var/lib".
41577 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41578
41579 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41580 instead of int.
41581
41582 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41583 if __dir_mkfile succeeded.
41584
41585 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41586 checking for _hurd_dtablesize. Unlock it right after having
41587 finished _hurd_dtable allocation.
41588
41589 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41590
41591 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41592 * sysdeps/mach/hurd/configure: Regenerated.
41593 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41594 special-casing to...
41595 * sysdeps/gnu/configure.in: ... this new file.
41596 * sysdeps/unix/sysv/linux/configure: Regenerated.
41597 * sysdeps/gnu/configure: New generated file.
41598
41599 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41600 for Linux: use nsec instead of usec, as well as:
41601 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41602 members of type struct timespec.
41603 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41604 New macros.
41605 (struct stat64): Likewise.
41606 (_STATBUF_ST_NSEC): New macro.
41607 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41608
41609 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41610 __strtoul_internal rather than strtoul.
41611
41612 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41613
41614 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41615 and reject them.
41616
41617 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41618
41619 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41620 which preserves existing values.
41621 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41622
41623 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41624
41625 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41626 TIMEOUT values. Return EINVAL for NFDS values either negative or
41627 greater than FD_SETSIZE.
41628
41629 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41630
41631 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41632 allocated, call __vm_protect to finish enabling the existing space, and
41633 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41634 allocate the remainder.
41635
41636 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41637
41638 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41639 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41640
41641 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41642
41643 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41644 sysdeps/mach/hurd/readlink.c.
41645
41646 * posix/tst-sysconf.c (posix_options): Only use
41647 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41648 _POSIX_SYNCHRONIZED_IO when they are defined
41649 * sysdeps/mach/hurd/bits/posix_opt.h:
41650 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41651 (_XOPEN_REALTIME): Undefine macro.
41652 (_XOPEN_REALTIME_THREADS): Undefine macro.
41653 (_XOPEN_SHM): Undefine macro.
41654 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41655 macro to -1.
41656 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41657 macro to -1.
41658 (_POSIX_ASYNC_IO): Undefine macro.
41659 (_POSIX_PRIORITIZED_IO): Undefine macro.
41660 (_POSIX_SPIN_LOCKS): Define macro to -1.
41661
41662 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41663 SA_NODEFER, SA_RESETHAND.
41664 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41665 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41666 F_DUPFD_CLOEXEC.
41667
41668 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41669
41670 * elf/Makefile (pldd-modules): Define unconditionally.
41671
41672 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41673
41674 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41675
41676 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41677
41678 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41679 Return ENOENT when name is empty.
41680 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41681
41682 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41683
41684 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41685
41686 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41687
41688 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41689
41690 Fix mlock in all cases except non-readable pages.
41691 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41692 instead of VM_PROT_ALL as parameter to __vm_wire function.
41693
41694 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41695 (__mkdir): When path is `/', just fail with EEXIST.
41696 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41697
41698 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41699
41700 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41701 <sys/uio.h> (for writev).
41702 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41703 and <sys/param.h> (for MIN).
41704
41705 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41706
41707 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41708 REQUESTED_TIME. Properly set the remaining time and return EINTR
41709 if interrupted.
41710
41711 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41712
41713 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41714 Depend on against $(link-rpcuserlibs).
41715
41716 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41717
41718 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41719 (__libc_stack_end): Do not use attribute_relro.
41720 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41721 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41722 to libthread-provided value.
41723 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41724 attribute_relro.
41725
41726 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41727
41728 [BZ #3748]
41729 * bits/libc-lock.h (__libc_once_get): New macro.
41730 * sysdeps/mach/bits/libc-lock.h: Likewise.
41731 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41732 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41733 instead of using implementation details.
41734
41735 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41736 * libio/freopen.c: Likewise.
41737 * libio/freopen64.c: Likewise.
41738 * misc/syslog.c: Likewise.
41739 * nscd/connections.c: Likewise.
41740 * nscd/netgroupcache.c: Likewise.
41741 * sysdeps/posix/getcwd.c: Likewise.
41742
41743 2012-05-10 Roland McGrath <roland@hack.frob.com>
41744
41745 * math/w_ilogbf.c: Add #include <limits.h>.
41746
41747 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41748
41749 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41750 path instead of returning without unlocking.
41751
41752 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41753 immediate-write ioctls.
41754 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41755
41756 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41757
41758 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41759 __builtin_frame_address instead of making assumptions about the
41760 location of the return address relative to DATA. Force early load of
41761 the return address.
41762 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41763 __builtin_frame_address.
41764
41765 dup3 for GNU Hurd.
41766 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41767 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41768 implement dup3 and do some further code clean-ups.
41769 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41770 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41771
41772 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41773
41774 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41775
41776 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41777 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41778 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41779 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41780 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41781 d->port.lock.
41782
41783 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41784 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41785 when handler == SIG_ERR, not when handler != SIG_ERR.
41786
41787 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41788
41789 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41790 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41791 definitions.
41792
41793 accept4 for GNU Hurd.
41794 * include/sys/socket.h (__libc_accept4): New prototype.
41795 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41796 to implement __libc_accept4.
41797 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41798 __libc_accept4.
41799 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41800
41801 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41802 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41803 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41804 signal-defines.sym.
41805
41806 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41807
41808 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41809
41810 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41811
41812 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41813 assertion on O_CLOEXEC flag.
41814 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41815 * hurd/intern-fd.c: Likewise.
41816 * hurd/port2fd.c: Likewise.
41817
41818 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41819
41820 [BZ #3906]
41821 * bits/in.h (IPV6_PKTINFO): Define new macro.
41822 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41823
41824 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41825
41826 [BZ #13954]
41827 [BZ #13955]
41828 [BZ #13956]
41829 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41830 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41831 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41832 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41833 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41834 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41835 * math/libm-test.inc (logb_test) : Additional logb tests.
41836
41837 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41838 Andreas Jaeger <aj@suse.de>
41839
41840 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41841 * configure: Regenerated.
41842 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41843 * config.make.in (link-obsolete-rpc): New substituted variable.
41844 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41845 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41846 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41847 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41848 so that libc.a contains the symbols.
41849 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41850 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41851 * sunrpc/auth_none.c: Likewise.
41852 * sunrpc/auth_unix.c: Likewise.
41853 * sunrpc/authdes_prot.c: Likewise.
41854 * sunrpc/authuxprot.c: Likewise.
41855 * sunrpc/clnt_gen.c: Likewise.
41856 * sunrpc/clnt_perr.c: Likewise.
41857 * sunrpc/clnt_raw.c: Likewise.
41858 * sunrpc/clnt_simp.c: Likewise.
41859 * sunrpc/clnt_tcp.c: Likewise.
41860 * sunrpc/clnt_udp.c: Likewise.
41861 * sunrpc/clnt_unix.c: Likewise.
41862 * sunrpc/des_crypt.c: Likewise.
41863 * sunrpc/des_soft.c: Likewise.
41864 * sunrpc/get_myaddr.c: Likewise.
41865 * sunrpc/key_call.c: Likewise.
41866 * sunrpc/key_prot.c: Likewise.
41867 * sunrpc/netname.c: Likewise.
41868 * sunrpc/pm_getmaps.c: Likewise.
41869 * sunrpc/pm_getport.c: Likewise.
41870 * sunrpc/pmap_clnt.c: Likewise.
41871 * sunrpc/pmap_prot.c: Likewise.
41872 * sunrpc/pmap_prot2.c: Likewise.
41873 * sunrpc/pmap_rmt.c: Likewise.
41874 * sunrpc/publickey.c: Likewise.
41875 * sunrpc/rpc_cmsg.c: Likewise.
41876 * sunrpc/rpc_common.c: Likewise.
41877 * sunrpc/rpc_dtable.c: Likewise.
41878 * sunrpc/rpc_prot.c: Likewise.
41879 * sunrpc/rpc_thread.c: Likewise.
41880 * sunrpc/rtime.c: Likewise.
41881 * sunrpc/svc.c: Likewise.
41882 * sunrpc/svc_auth.c: Likewise.
41883 * sunrpc/svc_raw.c: Likewise.
41884 * sunrpc/svc_run.c: Likewise.
41885 * sunrpc/svc_tcp.c: Likewise.
41886 * sunrpc/svc_udp.c: Likewise.
41887 * sunrpc/svc_unix.c: Likewise.
41888 * sunrpc/svcauth_des.c: Likewise.
41889 * sunrpc/xcrypt.c: Likewise.
41890 * sunrpc/xdr.c: Likewise.
41891 * sunrpc/xdr_array.c: Likewise.
41892 * sunrpc/xdr_float.c: Likewise.
41893 * sunrpc/xdr_intXX_t.c: Likewise.
41894 * sunrpc/xdr_mem.c: Likewise.
41895 * sunrpc/xdr_rec.c: Likewise.
41896 * sunrpc/xdr_ref.c: Likewise.
41897 * sunrpc/xdr_sizeof.c: Likewise.
41898 * sunrpc/xdr_stdio.c: Likewise.
41899
41900 2012-05-10 Roland McGrath <roland@hack.frob.com>
41901
41902 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41903 change. Update copyright years.
41904
41905 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41906
41907 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41908
41909 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
41910 Joseph Myers <joseph@codesourcery.com>
41911 Paul Pluzhnikov <ppluzhnikov@google.com>
41912
41913 [BZ #14012]
41914 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41915 requiring rpcgen.
41916 [cross-compiling] (extra-libs): Likewise.
41917 [cross-compiling] (extra-libs-others): Likewise.
41918 [cross-compiling] (librpcsvc-routines): Likewise.
41919 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41920 [cross-compiling] (omit-deps): Likewise.
41921 (sunrpc-CPPFLAGS): New variable.
41922 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41923 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41924 (cross-rpcgen-objs): New variable.
41925 (extra-objs): Append $(cross-rpcgen-objs).
41926 ($(cross-rpcgen-objs)): New rule.
41927 ($(objpfx)cross-rpcgen): Likewise.
41928 (rpcgen-cmd): Define to use $(built-program-file). Expand
41929 comment.
41930 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41931 ($(objpfx)x%.stmp): Likewise.
41932 * sunrpc/proto.h [IS_IN_build] (_): Define.
41933 [IS_IN_build] (_libc_intl_domainname): Likewise.
41934
41935 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41936
41937 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41938 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41939 and R_X86_64_TPOFF64.
41940
41941 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41942
41943 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41944 sysdeps/unix/sysv/syscalls.list.
41945 (stime): Likewise.
41946 (utime): Likewise.
41947 * sysdeps/unix/sysv/syscalls.list: Remove file.
41948
41949 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
41950
41951 [BZ #3440]
41952 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41953 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41954 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41955 (__LC_IDENTIFICATION): Make these macros useful in #if
41956 expressions, as required by C99.
41957
41958 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
41959
41960 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41961 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
41962 after this.
41963
41964 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
41965
41966 * stdlib/longlong.h: Updated from GCC.
41967
41968 2012-05-09 Andreas Jaeger <aj@suse.de>
41969
41970 * nscd/nscd.c (run_modes): Make named enum, reorder so that
41971 default is first entry.
41972 (run_mode): Set type.
41973 (main): Remove informal message about syslog.
41974 (options): Fix typo.
41975
41976 [BZ #14053]
41977 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41978 to asm.
41979 (lrint): Likewise.
41980 (llrintf): Likewise.
41981 (llrint): Likewise.
41982 (rint): Likewise.
41983 (rintf): Likewise.
41984 (nearbyint): Likewise.
41985 (nearbyintf): Likewise.
41986
41987 2012-05-09 Andreas Jaeger <aj@suse.de>
41988 Pedro Alves <palves@redhat.com>
41989
41990 * nscd/nscd.c (run_mode): Use enum.
41991 (main): Cleanup coding style issue.
41992
41993 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
41994 Andreas Jaeger <aj@suse.de>
41995
41996 * nscd/nscd.c (go_background): Replaced with...
41997 (run_mode): ... this.
41998 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41999 (options): Add -F --foreground.
42000 (main): Implement it.
42001 (parse_opt): Parse it.
42002
42003 2012-05-09 Andreas Jaeger <aj@suse.de>
42004
42005 [BZ #14083]
42006 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42007 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42008 -Wconversion warning.
42009 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42010 Likewise.
42011
42012 2012-05-09 Joseph Myers <joseph@codesourcery.com>
42013
42014 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42015 == 0.
42016 (LC_ALL): Use macro-int-constant.
42017 (LC_COLLATE): Likewise.
42018 (LC_CTYPE): Likewise.
42019 (LC_MESSAGES): Likewise.
42020 (LC_MONETARY): Likewise.
42021 (LC_NUMERIC): Likewise.
42022 (LC_TIME): Likewise.
42023 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42024 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42025 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42026 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42027 Specify type.
42028 [C99-based standards] (float_t): Expect type.
42029 [C99-based standards] (double_t): Expect type.
42030 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42031 type.
42032 [C99-based standards] (HUGE_VALL): Likewise.
42033 [C99-based standards] (INFINITY): Likewise.
42034 [C99-based standards] (NAN): Likewise.
42035 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42036 [C99-based standards] (FP_NAN): Likewise.
42037 [C99-based standards] (FP_NORMAL): Likewise.
42038 [C99-based standards] (FP_SUBNORMAL): Likewise.
42039 [C99-based standards] (FP_ZERO): Likewise.
42040 [C99-based standards] (FP_FAST_FMA): Use
42041 optional-macro-int-constant. Specify type. Require == 1.
42042 [C99-based standards] (FP_FAST_FMAF): Likewise.
42043 [C99-based standards] (FP_FAST_FMAL): Likewise.
42044 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42045 [C99-based standards] (FP_ILOGBNAN): Likewise.
42046 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42047 Specify type.
42048 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42049 [C99-based standards] (math_errhandling): Specify type.
42050 [ISO99 || ISO11] (signgam): Do not allow.
42051 [non-C99-based standards] (copysignf): Do not allow.
42052 [non-C99-based standards] (exp2f): Likewise.
42053 [non-C99-based standards] (log2f): Likewise.
42054 [non-C99-based standards] (modff): Allow.
42055 [non-C99-based standards] (erff): Do not allow.
42056 [non-C99-based standards] (erfcf): Likewise.
42057 [non-C99-based standards] (gammaf): Likewise.
42058 [non-C99-based standards] (hypotf): Likewise.
42059 [non-C99-based standards] (j0f): Likewise.
42060 [non-C99-based standards] (j1f): Likewise.
42061 [non-C99-based standards] (jnf): Likewise.
42062 [non-C99-based standards] (lgammaf): Likewise.
42063 [non-C99-based standards] (tgammaf): Likewise.
42064 [non-C99-based standards] (y0f): Likewise.
42065 [non-C99-based standards] (y1f): Likewise.
42066 [non-C99-based standards] (ynf): Likewise.
42067 [non-C99-based standards] (isnanf): Likewise.
42068 [non-C99-based standards] (acoshf): Likewise.
42069 [non-C99-based standards] (asinhf): Likewise.
42070 [non-C99-based standards] (atanhf): Likewise.
42071 [non-C99-based standards] (cbrtf): Likewise.
42072 [non-C99-based standards] (expm1f): Likewise.
42073 [non-C99-based standards] (ilogbf): Likewise.
42074 [non-C99-based standards] (log1pf): Likewise.
42075 [non-C99-based standards] (logbf): Likewise.
42076 [non-C99-based standards] (nextafterf): Likewise.
42077 [non-C99-based standards] (remainderf): Likewise.
42078 [non-C99-based standards] (rintf): Likewise.
42079 [non-C99-based standards] (scalbf): Likewise.
42080 [non-C99-based standards] (copysignl): Likewise.
42081 [non-C99-based standards] (exp2l): Likewise.
42082 [non-C99-based standards] (log2l): Likewise.
42083 [non-C99-based standards] (modfl): Allow.
42084 [non-C99-based standards] (erfl): Do not allow.
42085 [non-C99-based standards] (erfcl): Likewise.
42086 [non-C99-based standards] (gammal): Likewise.
42087 [non-C99-based standards] (hypotl): Likewise.
42088 [non-C99-based standards] (j0l): Likewise.
42089 [non-C99-based standards] (j1l): Likewise.
42090 [non-C99-based standards] (jnl): Likewise.
42091 [non-C99-based standards] (lgammal): Likewise.
42092 [non-C99-based standards] (tgammal): Likewise.
42093 [non-C99-based standards] (y0l): Likewise.
42094 [non-C99-based standards] (y1l): Likewise.
42095 [non-C99-based standards] (ynl): Likewise.
42096 [non-C99-based standards] (isnanl): Likewise.
42097 [non-C99-based standards] (acoshl): Likewise.
42098 [non-C99-based standards] (asinhl): Likewise.
42099 [non-C99-based standards] (atanhl): Likewise.
42100 [non-C99-based standards] (cbrtl): Likewise.
42101 [non-C99-based standards] (expm1l): Likewise.
42102 [non-C99-based standards] (ilogbl): Likewise.
42103 [non-C99-based standards] (log1pl): Likewise.
42104 [non-C99-based standards] (logbl): Likewise.
42105 [non-C99-based standards] (nextafterl): Likewise.
42106 [non-C99-based standards] (remainderl): Likewise.
42107 [non-C99-based standards] (rintl): Likewise.
42108 [non-C99-based standards] (scalbl): Likewise.
42109 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42110 [non-C99-based standards] (FP_*): Do not allow.
42111 [C99-based standards] (FP_*): Change to
42112 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42113 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42114 allow.
42115 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42116 (SIG_ERR): Likewise.
42117 [X/Open-based standards] (SIG_HOLD): Likewise.
42118 (SIG_IGN): Likewise.
42119 (SIGABRT): Use macro-int-constant. Specify type. Require
42120 positive value.
42121 (SIGFPE): Likewise.
42122 (SIGILL): Likewise.
42123 (SIGINT): Likewise.
42124 (SIGSEGV): Likewise.
42125 (SIGTER): Likewise.
42126 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42127 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42128 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42129 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42130 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42131 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42132 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42133 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42134 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42135 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42136 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42137 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42138 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42139 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42140 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42141 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42142 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42143 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42144 [X/Open-based standards] (SIGTRAP): Likewise.
42145 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42146 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42147 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42148 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42149 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42150 allow.
42151
42152 2012-05-08 Ian Wienand <ianw@vmware.com>
42153
42154 [BZ #14080]
42155 * time/tzset.c (__tzset_parse_tz): Update default rules for
42156 daylight time changes in the Energy Policy Act of 2005.
42157
42158 2012-05-09 Andreas Jaeger <aj@suse.de>
42159
42160 [BZ #13983]
42161 * elf/ldconfig.c (parse_conf): Change string to make clear that
42162 ldconfig only issued a warning if ld.so.conf does not exist.
42163
42164 2012-05-08 David S. Miller <davem@davemloft.net>
42165
42166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42167 movxtod instead of popping the value on the stack.
42168
42169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42170
42171 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42172
42173 * config.h.in: Add HAVE_ARM_PCS_VFP.
42174
42175 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
42176
42177 [BZ #13979]
42178 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42179 checking but the checks are disabled for any reason.
42180
42181 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42182
42183 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42184 and ELF64_R_TYPE with ELFW(R_TYPE).
42185
42186 2012-05-08 Joseph Myers <joseph@codesourcery.com>
42187
42188 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42189 (ulimit): Likewise.
42190
42191 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42192 (settimeofday): Likewise.
42193
42194 2012-05-08 Mike Frysinger <vapier@gentoo.org>
42195
42196 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42197 a struct th_u2 inside the union, and move tu_block/tu_code into
42198 a new th_u3 union of tu_block/tu_code inside of that. Move
42199 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42200 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42201 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42202 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42203 (th_stuff): Change to th_u1.tu_stuff.
42204 (th_data): Define.
42205 (th_msg): Change to th_u1.th_u2.tu_data.
42206
42207 2012-05-07 David S. Miller <davem@davemloft.net>
42208
42209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42210
42211 [BZ #14074]
42212 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42213 (SETUP_PIC_REG): Use it.
42214 (SETUP_PIC_REG_LEAF): Use it.
42215
42216 2012-05-07 Joseph Myers <joseph@codesourcery.com>
42217
42218 [BZ #13885]
42219 [BZ #13923]
42220 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42221 USE_AS_EXPM1L.
42222 (EXPL_FINITE): Likewise.
42223 (FLDLOG): Likewise.
42224 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42225 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42226 e_expl.S.
42227 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42228 USE_AS_EXPM1L.
42229 (EXPL_FINITE): Likewise.
42230 (FLDLOG): Likewise.
42231 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42232 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42233 e_expl.S.
42234 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42235 test of -max_value argument for long double.
42236 * sysdeps/i386/fpu/libm-test-ulps: Update.
42237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42238
42239 2012-05-06 David S. Miller <davem@davemloft.net>
42240
42241 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42242 quad soft-float symbols whose references which are compiler
42243 generated.
42244 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42245
42246 2012-05-06 Joseph Myers <joseph@codesourcery.com>
42247
42248 [BZ #13884]
42249 [BZ #13914]
42250 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42251 USE_AS_EXP10L.
42252 (EXPL_FINITE): Likewise.
42253 (FLDLOG): Likewise.
42254 (c0): Likewise.
42255 (c1): Likewise.
42256 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42257 Adjust comments for base varying.
42258 (__expl_finite): Change alias to EXPL_FINITE.
42259 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42260 e_expl.S.
42261 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42262 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42263 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42264 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42265 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42266 USE_AS_EXP10L.
42267 (EXPL_FINITE): Likewise.
42268 (FLDLOG): Likewise.
42269 (c0): Likewise.
42270 (c1): Likewise.
42271 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42272 Adjust comments for base varying.
42273 (__expl_finite): Change alias to EXPL_FINITE.
42274 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42275 tests for bugs.
42276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42277
42278 [BZ #14064]
42279 * math/libm-test.inc (check_float_internal): Correct ulp
42280 calculation for subnormal expected results.
42281
42282 2012-05-06 Andreas Jaeger <aj@suse.de>
42283
42284 * Makeconfig (+math-flags): New, set to -frounding-math.
42285 (+cflags): Add +math-flags so that all of glibc gets compiled with
42286 it.
42287
42288 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42289
42290 2012-05-05 Joseph Myers <joseph@codesourcery.com>
42291
42292 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42293 Disable one test.
42294
42295 [BZ #13787]
42296 [BZ #13922]
42297 [BZ #14036]
42298 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42299 (__ieee754_expl): Allow for and saturate large arguments.
42300 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42301 (u_threshold): Likewise.
42302 (__exp): Call __ieee754_exp before checking for overflow and
42303 underflow.
42304 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42305 (u_threshold): Likewise.
42306 (__expf): Call __ieee754_expf before checking for overflow and
42307 underflow.
42308 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42309 (u_threshold): Likewise.
42310 (__expl): Call __ieee754_expl before checking for overflow and
42311 underflow.
42312 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42313 (__ieee754_expl): Allow for and saturate large arguments.
42314 * math/libm-test.inc (exp_test): Add another test. Do not allow
42315 missing overflow exception on overflow.
42316 (expm1_test): Do not allow missing overflow exception on overflow.
42317
42318 * sysdeps/i386/fpu/e_expl.c: Move to ...
42319 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42320 rather than using inline asm.
42321 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42322 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42323 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42324
42325 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42326 (nice): Likewise.
42327 (poll): Likewise.
42328 (signal): Likewise.
42329 (time): Likewise.
42330 (times): Likewise.
42331
42332 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42333
42334 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42335 sysdeps/unix/common/syscalls.list.
42336 (fchmod): Likewise.
42337 (fchown): Likewise.
42338 (ftruncate): Likewise.
42339 (getrusage): Likewise.
42340 (gettimeofday): Likewise.
42341 (setpgid): Likewise.
42342 (setregid): Likewise.
42343 (setreuid): Likewise.
42344 (sigaction): Likewise.
42345 (truncate): Likewise.
42346 (vhangup): Likewise.
42347 * sysdeps/unix/common/syscalls.list: Remove file.
42348 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42349 * sysdeps/unix/sysv/linux/Implies: Likewise.
42350
42351 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42352
42353 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42355 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42356 Moved to ...
42357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42358 Here.
42359 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42360 to ...
42361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42362 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42363 to ...
42364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42365 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42366 to ...
42367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42368 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42369 to ...
42370 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42371 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42372 to ...
42373 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42374 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42375 to ...
42376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42377 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42378 to ...
42379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42380 Here.
42381 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42382 to ...
42383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42384 Here.
42385 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42386 to ...
42387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42388 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42389 Moved to ...
42390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42391 Here.
42392 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42393 to ...
42394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42395
42396 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42397
42398 * sysdeps/unix/common/bits/dirent.h: Remove file.
42399 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42400
42401 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42402 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42403 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42404 * sysdeps/unix/bsd/isatty.c: Likewise.
42405 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42406 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42407 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42408
42409 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42410
42411 [BZ #13563]
42412 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42413 long double comparison inaccuracies.
42414 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42416
42417 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42418
42419 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42420 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42421
42422 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42423
42424 [BZ #14049]
42425 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42426 nonzero digits before rounding a hex value.
42427 * stdlib/tst-strtod.c (tests): Add another test.
42428
42429 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42430
42431 * sysdeps/s390/fpu/libm-test-ulps: Update.
42432
42433 2012-05-03 Andreas Jaeger <aj@suse.de>
42434
42435 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42436 does not get optimized out.
42437 (malloc_opt_barrier): New.
42438
42439 2012-05-03 Andreas Jaeger <aj@suse.de>
42440 Roland McGrath <roland@hack.frob.com>
42441
42442 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42443 intermediate file deletion.
42444 (generated): Add .symlist files.
42445
42446 2012-05-03 Joseph Myers <joseph@codesourcery.com>
42447
42448 [BZ #13775]
42449 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42450 Redirect under this condition.
42451 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42452 [__USE_GNU] (__dprintf_chk): Not under this condition.
42453 [__USE_GNU] (__vdprintf_chk): Likewise.
42454 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42455 under this condition.
42456 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42457 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42458 [__USE_XOPEN2K8] (vdprintf): Likewise.
42459 [__USE_GNU] (__dprintf_chk): Not under this condition.
42460 [__USE_GNU] (__vdprintf_chk): Likewise.
42461 [__USE_GNU] (dprintf): Likewise.
42462 [__USE_GNU] (vdprintf): Likewise.
42463
42464 2012-05-03 Roland McGrath <roland@hack.frob.com>
42465
42466 * elf/Makefile (common-generated): Set this instead of generated for
42467 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42468 $(all-built-dso)-derived lists.
42469
42470 2012-05-03 Andreas Jaeger <aj@suse.de>
42471
42472 * sysdeps/i386/fpu/libm-test-ulps: Update.
42473
42474 * FAQ: Removed.
42475 * FAQ.in: Likewise.
42476 * scripts/gen-FAQ.pl: Likewise.
42477 * manual/install.texi (Installation): Point to online location of
42478 FAQ.
42479 * Makefile (files-for-dist): Remove FAQ.
42480 (FAQ): Remove.
42481
42482 2012-05-02 Allan McRae <allan@archlinux.org>
42483
42484 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42485 (LDFLAGS-reldepmod5.so): Likewise.
42486 (LDFLAGS-reldep6mod1.so): Likewise.
42487 (LDFLAGS-reldep6mod4.so): Likewise.
42488 (LDFLAGS-reldep8mod3.so): Likewise.
42489 (LDFLAGS-unload4mod1.so): Likewise.
42490 (LDFLAGS-unload4mod2.so): Likewise.
42491 (LDFLAGS-tst-initorder): Likewise.
42492 (LDFLAGS-tst-initordera2.so): Likewise.
42493 (LDFLAGS-tst-initordera3.so): Likewise.
42494 (LDFLAGS-tst-initordera4.so): Likewise.
42495 (LDFLAGS-tst-initorderb2.so): Likewise.
42496 (LDFLAGS-noload): Likewise.
42497 (LDFLAGS-next): Likewise.
42498 (LDFLAGS-order2mod1.so): Likewise.
42499 (LDFLAGS-order2mod2.so): Likewise.
42500 (LDFLAGS-tst-initorder2): Likewise.
42501 (LDFLAGS-tst-initorder2a.so): Likewise.
42502 (LDFLAGS-tst-initorder2b.so): Likewise.
42503 (LDFLAGS-tst-initorder2c.so): Likewise.
42504 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42505
42506 2012-05-02 David S. Miller <davem@davemloft.net>
42507
42508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42509
42510 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42511
42512 [BZ #14055]
42513 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42514
42515 2012-05-02 Andreas Jaeger <aj@suse.de>
42516
42517 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42518 since we manipulate rounding mode.
42519 (CPPFLAGS-test-idouble.c): Likewise.
42520 (CPPFLAGS-test-ifloat.c): Likewise.
42521 (CFLAGS-test-ldouble.c): Likewise.
42522 (CFLAGS-test-double.c): Likewise.
42523 (CFLAGS-test-float.c): Likewise.
42524 (CFLAGS-test-misc.c): Likewise.
42525 (CFLAGS-test-test-fenv.c): Likewise.
42526
42527 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42528
42529 [BZ #2550]
42530 [BZ #2570]
42531 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42532 comparisons to determine direction to adjust input.
42533
42534 2012-05-01 Roland McGrath <roland@hack.frob.com>
42535
42536 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42537 output to the target.
42538
42539 * scripts/localplt.awk: New file.
42540 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42541 (check-localplt-CFLAGS): Variable removed.
42542 ($(all-built-dso:=.jmprel)): New static pattern rule.
42543 (generated): Add those targets.
42544 (localplt-built-dso): New variable.
42545 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42546
42547 * elf/check-localplt.c: File removed.
42548
42549 * scripts/check-execstack.awk: New file.
42550 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42551 (check-execstack-CFLAGS): Variable removed.
42552 ($(objpfx)check-execstack.h): Target removed.
42553 ($(objpfx)execstack-default): New target.
42554 (generated): Add that instead of check-execstack.h.
42555 ($(all-built-dso:=.phdr)): New static pattern rule.
42556 (generated): Add those targets.
42557 * elf/check-execstack.c: File removed.
42558
42559 * scripts/check-textrel.awk: New file.
42560 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42561 (check-textrel-CFLAGS): Variable removed.
42562 (all-built-dso): Use := to define.o
42563 ($(all-built-dso:=.dyn)): New static pattern rule.
42564 (generated): Add those targets.
42565 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42566 * config.make.in (READELF): New substituted variable.
42567 * elf/check-textrel.c: File removed.
42568
42569 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42570
42571 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42572 allow.
42573 * conform/data/ctype.h-data [C99-based standards] (isblank):
42574 Expect function.
42575 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42576 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42577 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42578 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42579 Specify type. Require positive value.
42580 (EILSEQ): Likewise.
42581 (ERANGE): Likewise.
42582 [ISO || POSIX] (EILSEQ): Do not expect.
42583 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42584 Specify type. Require positive value.
42585 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42586 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42587 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42588 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42589 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42590 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42591 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42592 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42593 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42594 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42595 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42596 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42597 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42598 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42599 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42600 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42601 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42602 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42603 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42604 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42605 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42606 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42607 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42608 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42609 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42610 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42611 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42612 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42613 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42614 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42615 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42616 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42617 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42618 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42619 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42620 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42621 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42622 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42623 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42624 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42625 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42626 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42627 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42628 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42629 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42630 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42631 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42632 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42633 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42634 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42635 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42636 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42637 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42638 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42639 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42640 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42641 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42642 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42643 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42644 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42645 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42646 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42647 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42648 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42649 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42650 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42651 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42652 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42653 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42654 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42655 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42656 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42657 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42658 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42659 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42660 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42661 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42662 Require >= 2.
42663 (FLT_ROUNDS): Expect as macro, not constant.
42664 (FLT_MANT_DIG): Use macro-int-constant.
42665 (DBL_MANT_DIG): Likewise.
42666 (LDBL_MANT_DIG): Likewise.
42667 (FLT_DIG): Likewise.
42668 (DBL_DIG): Likewise.
42669 (LDBL_DIG): Likewise.
42670 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42671 (DBL_MIN_EXP): Likewise.
42672 (LDBL_MIN_EXP): Likewise.
42673 (FLT_MAX_EXP): Use macro-int-constant.
42674 (DBL_MAX_EXP): Likewise.
42675 (LDBL_MAX_EXP): Likewise.
42676 (FLT_MAX_10_EXP): Likewise.
42677 (DBL_MAX_10_EXP): Likewise.
42678 (LDBL_MAX_10_EXP): Likewise.
42679 (FLT_MAX): Use macro-constant.
42680 (DBL_MAX): Likewise.
42681 (LDBL_MAX): Likewise.
42682 (FLT_EPSILON): Use macro-constant. Give upper bound.
42683 (DBL_EPSILON): Likewise.
42684 (LDBL_EPSILON): Likewise.
42685 (FLT_MIN): Likewise.
42686 (DBL_MIN): Likewise.
42687 (LDBL_MIN): Likewise.
42688 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42689 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42690 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42691 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42692 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42693 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42694 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42695 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42696 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42697 [ISO11] (FLT_TRUE_MIN): Likewise.
42698 [ISO11] (LDBL_TRUE_MIN): Likewise.
42699 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42700 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42701 (SCHAR_MIN): Use macro-int-constant. Specify type.
42702 (SCHAR_MAX): Likewise.
42703 (UCHAR_MAX): Likewise.
42704 (CHAR_MIN): Likewise.
42705 (CHAR_MAX): Likewise.
42706 (MB_LEN_MAX): Use macro-int-constant.
42707 (SHRT_MIN): Use macro-int-constant. Specify type.
42708 (SHRT_MAX): Likewise.
42709 (USHRT_MAX): Likewise.
42710 (INT_MAX): Likewise.
42711 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42712 bound negative.
42713 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42714 bound with "U".
42715 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42716 bound with "L".
42717 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42718 bound negative. Suffix upper bound with "L".
42719 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42720 bound with "UL".
42721 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42722 Specify type.
42723 [C99-based standards] (LLONG_MAX): Likewise.
42724 [C99-based standards] (ULLONG_MAX): Likewise.
42725 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42726 == 0.
42727 [ISO11] (max_align_t): Require type.
42728 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42729
42730 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42731 from $CFLAGS, without defining away __attribute__ calls.
42732 (checknamespace): Use $CFLAGS_namespace.
42733
42734 * conform/conformtest.pl (@keywords): Only include C99 keywords
42735 for standards based on C99 or C11.
42736
42737 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42738 Disable tests.
42739 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42740 UNIX98]: Likewise.
42741
42742 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42743 usability of symbols in #if.
42744
42745 * conform/conformtest.pl: If macro or constant types start
42746 "promoted:", expect the symbol to be of the following type
42747 promoted by the integer promotions.
42748
42749 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42750 in one place. Also handle "macro-constant".
42751
42752 * conform/conformtest.pl: Only accept expected macro values with
42753 "==". Parse all "macro" lines in one place.
42754 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42755
42756 * conform/conformtest.pl: Handle braced types on "constant" lines
42757 instead of handling "typed-constant".
42758 * conform/data/signal.h-data: Use "constant" instead of
42759 "typed-constant".
42760
42761 * conform/conformtest.pl: Handle "optional-" at start of lines in
42762 one place rather than duplicating several cases. Handle each
42763 format of "macro" line with initial "optional-".
42764
42765 * conform/conformtest.pl: Only accept expected constant or
42766 optional-constant values with "==". Parse all "constant" lines in
42767 one place. Parse all "optional-constant" lines in one place.
42768 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42769 * conform/data/fmtmsg.h-data: Likewise.
42770 * conform/data/netinet/in.h-data: Likewise.
42771 * conform/data/tar.h-data: Likewise.
42772 * conform/data/limits.h-data: Use "==" form on "constant" and
42773 "optional-constant" lines.
42774
42775 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42776 Use -std=c99 for XOPEN2K.
42777 (@knownproblems): Remove.
42778 (newtoken): Don't check %isknown.
42779
42780 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42781 Do not expect macro.
42782 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42783 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42784 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42785 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42786 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42787 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42788 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42789 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42790 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42791 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42792 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42793 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42794 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42795 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42796 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42797 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42798 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42799 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42800 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42801 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42802 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42803 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42804 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42805 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42806 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42807 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42808 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42809 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42810 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42811 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42812 [XPG3] (acosh): Likewise.
42813 [XPG3] (asinh): Likewise.
42814 [XPG3] (atanh): Likewise.
42815 [XPG3] (cbrt): Likewise.
42816 [XPG3] (expm1): Likewise.
42817 [XPG3] (ilogb): Likewise.
42818 [XPG3] (log1p): Likewise.
42819 [XPG3] (logb): Likewise.
42820 [XPG3] (nextafter): Likewise.
42821 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42822 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42823 [XPG3] (remainder): Likewise.
42824 [XPG3] (rint): Likewise.
42825 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42826 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42827 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42828 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42829 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42830 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42831 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42832 [UNIX98 || XOPEN2K] (scalb): Expect.
42833 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42834 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42835 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42836 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42837 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42838 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42839 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42840 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42841 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42842 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42843 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42844 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42845 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42846 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42847 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42848 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42849 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42850 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42851 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42852 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42853 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42854 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42855 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42856 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42857 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42858 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42859 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42860 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42861 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42862 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42863 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42864 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42865 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42866 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42867 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42868 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42869 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42870 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42871 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42872 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42873 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42874 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42875 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42876 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42877 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42878 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42879 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42880 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42881 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42882 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42883 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42884 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42885 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42886 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42887 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42888 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42889 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42890 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42891 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42892 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42893 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42894 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42895 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42896 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42897 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42898 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42899 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42900 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42901 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42902 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42903 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42904 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42905 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42906 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42907 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42908 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42909 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42910 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42911 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42912 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42913 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42914 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42915 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42916 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42917 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42918 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42919 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42920 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42921 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42922 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42923 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42924 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42925 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42926 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42927 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42928 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42929 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42930 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42931 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42932 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42933 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42934 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42935 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42936 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42937 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42938 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42939 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42940 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42941 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42942 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42943 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42944 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42945 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42946 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42947 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42948 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42949 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42950 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42951 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42952 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42953 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42954 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42955 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42956 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42957 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42958 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42959 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42960 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42961 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42962 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42963 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42964 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42965 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42966 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42967 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42968 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42969 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42970
42971 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42972 _XOPEN_SOURCE_EXTENDED for XPG4.
42973
42974 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42975
42976 * Makeconfig (localtime): Remove variable.
42977 (inst_localtime-file): Likewise.
42978
42979 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42980
42981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42982 Update.
42983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42984 Update.
42985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42986 Update.
42987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42988 Update.
42989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42990 Update.
42991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42992 Update.
42993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42994 Update.
42995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42996 Update.
42997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42998 Update.
42999
43000 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43001
43002 [BZ #2550]
43003 [BZ #2570]
43004 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43005 comparisons to determine direction to adjust input.
43006 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43007 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43008 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43009 Likewise.
43010 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43011 Likewise.
43012 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43013 Likewise.
43014 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43015 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43016 Likewise.
43017 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43018 Likewise.
43019 * math/libm-test.inc (nexttoward_test): Add more tests.
43020
43021 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43022
43023 [BZ #14040]
43024 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43025 in version GLIBC_2.1, not GLIBC_2.0.
43026 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43027 Likewise.
43028
43029 2012-04-30 Joseph Myers <joseph@codesourcery.com>
43030
43031 [BZ #13942]
43032 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43033 (1 - x) * (1 + x).
43034 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43035 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43036 * math/libm-test.inc (acos_test): Add more tests.
43037 (asin_test): Likewise.
43038 * sysdeps/i386/fpu/libm-test-ulps: Update.
43039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43040
43041 [BZ #14034]
43042 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43043 of square root.
43044 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43045 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43046 * math/libm-test.inc (acos_test_tonearest): New function.
43047 (acos_test_towardzero): Likewise.
43048 (acos_test_downward): Likewise.
43049 (acos_test_upward): Likewise.
43050 (asin_test_tonearest): Likewise.
43051 (asin_test_towardzero): Likewise.
43052 (asin_test_downward): Likewise.
43053 (asin_test_upward): Likewise.
43054 (main): Call the new functions.
43055 * sysdeps/i386/fpu/libm-test-ulps: Update.
43056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43057
43058 [BZ #13884]
43059 [BZ #13924]
43060 * math/e_exp10.c: Include <float.h>.
43061 (__ieee754_exp10): Handle underflow here rather than multiplying
43062 large negative argument by M_LN10.
43063 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43064 of __ieee754_expf.
43065 * math/e_exp10l.c: Include <float.h>.
43066 (__ieee754_exp10l): Handle underflow here rather than multiplying
43067 large negative argument by M_LN10l.
43068 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43069 spurious overflow exception on underflow.
43070
43071 2012-04-29 Marek Polacek <polacek@redhat.com>
43072
43073 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43074 (__fortify_function): New macro.
43075 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43076 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43077 __extern_always_inline.
43078 * libio/bits/stdio2.h: Likewise.
43079 * libio/bits/stdio.h: Likewise.
43080 * string/string.h: Likewise.
43081 * string/bits/string3.h: Likewise.
43082 * include/stdio.h: Likewise.
43083 * stdlib/bits/stdlib.h: Likewise.
43084 * stdlib/stdlib.h: Likewise.
43085 * rt/bits/mqueue2.h: Likewise.
43086 * rt/mqueue.h: Likewise.
43087 * posix/bits/unistd.h: Likewise.
43088 * posix/unistd.h: Likewise.
43089 * io/bits/poll2.h: Likewise.
43090 * io/bits/fcntl2.h: Likewise.
43091 * io/fcntl.h: Likewise.
43092 * io/sys/poll.h: Likewise.
43093 * misc/bits/syslog.h: Likewise.
43094 * misc/bits/syslog-ldbl.h: Likewise.
43095 * misc/sys/syslog.h: Likewise.
43096 * socket/bits/socket2.h: Likewise.
43097 * socket/sys/socket.h: Likewise.
43098 * debug/tst-chk1.c: Likewise.
43099 * wcsmbs/bits/wchar2.h: Likewise.
43100 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43101 * wcsmbs/wchar.h: Likewise.
43102
43103 2012-04-29 Andreas Jaeger <aj@suse.de>
43104
43105 * Makerules (tests): Remove enable-check-abi protection.
43106 (check-abi-warn): Remove.
43107 (check-abi-%): Remove check-abi-warn usage.
43108
43109 * configure.in: Remove check-abi configure option.
43110 * configure: Regenerated.
43111 * config.make.in (enable-check-abi): Remove.
43112
43113 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43114
43115 [BZ #14033]
43116 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43117 double functions to double *_finite functions.
43118
43119 [BZ #13941]
43120 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43121 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43122 LDBL_MIN_EXP.
43123 * stdio-common/Makefile (tests): Add tst-sprintf3.
43124 * stdio-common/tst-sprintf3.c: New file.
43125
43126 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43127 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43128
43129 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43130
43131 * conform/conformtest.pl: Remove duplicate typed-constant
43132 handling.
43133
43134 2012-04-28 David S. Miller <davem@davemloft.net>
43135
43136 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43137 (check-abi-%): Remove AWK script prerequisite and explicit
43138 abilist directory.
43139 (check-abi): Rewrite to just diff the symlist with the abilist.
43140 (config-tls, config-abi-config): Delete, no longer used.
43141 (update-abi-%): Remove AWK script and explicit abilist directory.
43142 (update-abi): Rewrite to simply compare and conditionally copy the
43143 symlist and the sysdep abilist file. Remove update-abi-config
43144 checks.
43145 * abilist/ld.abilist: Remove.
43146 * abilist/libBrokenLocale.abilist: Remove.
43147 * abilist/libanl.abilist: Remove.
43148 * abilist/libcrypt.abilist: Remove.
43149 * abilist/libdl.abilist: Remove.
43150 * abilist/librt.abilist: Remove.
43151 * abilist/libthread_db.abilist: Remove.
43152 * abilist/libutil.abilist: Remove.
43153 * scripts/extract-abilist.awk: Remove.
43154 * scripts/merge-abilist.awk: Remove.
43155 * sysdeps/generic/libcidn.abilist: New file.
43156 * sysdeps/generic/libnss_compat.abilist: New file.
43157 * sysdeps/generic/libnss_db.abilist: New file.
43158 * sysdeps/generic/libnss_dns.abilist: New file.
43159 * sysdeps/generic/libnss_files.abilist: New file.
43160 * sysdeps/generic/libnss_hesiod.abilist: New file.
43161 * sysdeps/generic/libnss_nis.abilist: New file.
43162 * sysdeps/generic/libnss_nisplus.abilist: New file.
43163 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43164 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43165 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43166 file.
43167 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43168 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43169 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43170 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43171 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43172 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43173 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43174 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43175 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43176 file.
43177 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43178 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43179 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43180 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43181 file.
43182 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43183 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43184 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43185 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43186 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43187 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43188 file.
43189 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43190 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43191 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43192 file.
43193 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43194 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43195 New file.
43196 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43197 New file.
43198 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43199 New file.
43200 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43201 New file.
43202 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43203 New file.
43204 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43205 New file.
43206 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43207 New file.
43208 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43209 New file.
43210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43211 New file.
43212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43213 New file.
43214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43215 New file.
43216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43217 New file.
43218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43219 New file.
43220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43221 file.
43222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43223 New file.
43224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43225 New file.
43226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43227 file.
43228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43229 New file.
43230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43231 New file.
43232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43233 file.
43234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43235 New file.
43236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43237 New file.
43238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43239 New file.
43240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43241 New file.
43242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43243 New file.
43244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43245 New file.
43246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43248 file.
43249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43250 New file.
43251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43252 file.
43253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43254 file.
43255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43256 file.
43257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43258 file.
43259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43260 file.
43261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43262 New file.
43263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43264 file.
43265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43266 file.
43267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43268 New file.
43269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43270 file.
43271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43273 file.
43274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43275 New file.
43276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43277 file.
43278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43279 file.
43280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43281 file.
43282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43283 file.
43284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43285 file.
43286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43287 New file.
43288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43289 file.
43290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43291 file.
43292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43293 New file.
43294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43295 file.
43296 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43297 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43298 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43299 file.
43300 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43301 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43302 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43303 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43304 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43305 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43306 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43307 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43308 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43309 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43312 file.
43313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43314 New file.
43315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43316 file.
43317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43318 file.
43319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43320 file.
43321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43322 file.
43323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43324 file.
43325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43326 New file.
43327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43328 New file.
43329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43330 file.
43331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43332 New file.
43333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43334 file.
43335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43337 file.
43338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43339 New file.
43340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43341 file.
43342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43343 file.
43344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43345 file.
43346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43347 file.
43348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43349 file.
43350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43351 New file.
43352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43353 New file.
43354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43355 file.
43356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43357 New file.
43358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43359 file.
43360
43361 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43362
43363 * conform/conformtest.pl: Fix typo in handling typed-constant from
43364 allow-header.
43365
43366 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43367
43368 * README: Cut down references to pre-2.6 Linux kernels and
43369 Linuxthreads. Update lists of configurations in libc and ports
43370 and sort alphabetically. Say "or newer" with Linux kernel version
43371 requirements.
43372
43373 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43374
43375 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43376
43377 [BZ #887]
43378 * math/libm-test.inc (logb_test_downward): New test to expose
43379 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43380 rounding mode.
43381
43382 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43383
43384 [BZ #14027]
43385 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43386 to be done.
43387 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43388 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43389
43390 2012-04-26 Joseph Myers <joseph@codesourcery.com>
43391
43392 * sysdeps/unix/i386/brk.S: Remove file.
43393 * sysdeps/unix/i386/dl-brk.S: Likewise.
43394 * sysdeps/unix/i386/pipe.S: Likewise.
43395 * sysdeps/unix/i386/sigreturn.S: Likewise.
43396 * sysdeps/unix/i386/syscall.S: Likewise.
43397 * sysdeps/unix/i386/vfork.S: Likewise.
43398 * sysdeps/unix/i386/wait.S: Likewise.
43399
43400 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43401 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43402
43403 * configure.in (arm*-none*): Do not allow without
43404 --enable-hacker-mode.
43405 (netbsd*): Remove case setting base_os.
43406 (386bsd*): Likewise.
43407 (freebsd*): Likewise.
43408 (bsdi*): Likewise.
43409 (osf*): Likewise.
43410 (sunos*): Likewise.
43411 (ultrix*): Likewise.
43412 (newsos*): Likewise.
43413 (dynix*): Likewise.
43414 (*bsd*): Likewise.
43415 (sysv*): Likewise.
43416 (isc*): Likewise.
43417 (esix*): Likewise.
43418 (sco*): Likewise.
43419 (minix*): Likewise.
43420 (irix4*): Likewise.
43421 (irix6*): Likewise.
43422 (solaris[2-9]*): Likewise.
43423 (none): Likewise.
43424 * configure: Regenerated.
43425
43426 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43427
43428 [BZ #11521]
43429 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43430 overflow or cancellation in calculating denominator.
43431 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43432 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43433 down expression to avoid unexpected rounding in newer GCCs.
43434 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43435
43436 2012-04-26 David S. Miller <davem@davemloft.net>
43437
43438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43439 long-double compat symbols.
43440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43453
43454 2012-04-25 David S. Miller <davem@davemloft.net>
43455
43456 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43457 HWCAP_* values only after the memory barriers have been defined.
43458 (atomic_full_barrier): Define.
43459 (atomic_read_barrier): Define.
43460 (atomic_write_barrier): Define.
43461
43462 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43463
43464 * shlib-versions: Add libgcc_s version information.
43465 * sysdeps/generic/libgcc_s.h: Remove.
43466 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43467 libgcc_s.h.
43468 * sysdeps/gnu/unwind-resume.c: Likewise.
43469 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43470
43471 2012-04-25 David S. Miller <davem@davemloft.net>
43472
43473 * sysdeps/unix/sparc/brk.S: Delete.
43474 * sysdeps/unix/sparc/dl-brk.S: Delete.
43475 * sysdeps/unix/sparc/pipe.S: Delete.
43476 * sysdeps/unix/sparc/sysdep.S: Delete.
43477 * sysdeps/unix/sparc/sysdep.h: Delete.
43478 * sysdeps/unix/sparc/vfork.S: Delete.
43479 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43480 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43481 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43482 (ret_ERRVAL, r0, r1, MOVE): Define.
43483 (JUMPTARGET): Remove.
43484 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43485 sysdeps/unix/sparc/sysdep.h
43486 (ENTRY, END): Remove.
43487 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43488
43489 2012-04-25 Joseph Myers <joseph@codesourcery.com>
43490
43491 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43492 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43493 -DIS_IN_build.
43494
43495 * timezone/README: Update upstream location and email address for
43496 tzcode and tzdata.
43497 * timezone/zdump.c: Update from tzcode 2012b.
43498 * timezone/zic.c: Likewise.
43499
43500 * configure.in (libc_cv_as_needed): Remove test.
43501 * configure: Regenerated.
43502 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43503 conditional definition.
43504 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43505 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43506 * config.make.in (have-as-needed): Remove variable.
43507
43508 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43509 Paul Pluzhnikov <ppluzhnikov@google.com>
43510
43511 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43512 strings correctly.
43513
43514 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43515
43516 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43517 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43518 * sysdeps/sh/strlen.S: Likewise.
43519
43520 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43521
43522 * sysdeps/unix/fork.S: Remove file.
43523 * sysdeps/unix/i386/fork.S: Likewise.
43524 * sysdeps/unix/sparc/fork.S: Likewise.
43525
43526 * sysdeps/unix/system.c: Remove file.
43527 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43528
43529 * sysdeps/unix/getegid.S: Remove file.
43530 * sysdeps/unix/geteuid.S: Likewise.
43531
43532 2012-04-24 Roland McGrath <roland@hack.frob.com>
43533
43534 * scripts/check-localplt.awk: New file.
43535 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43536 of diff.
43537 * scripts/data/localplt-generic.data: Add a comment.
43538
43539 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43540 NODE when __dir_mkfile failed.
43541 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43542 Reported by Ludovic Courtès <ludo@gnu.org>.
43543
43544 2012-04-24 Andreas Jaeger <aj@suse.de>
43545
43546 * Makerules (common-clean): Also remove gen-as-const-headers
43547 files.
43548
43549 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43550
43551 * Makerules (native-compile): Do not change working directory for
43552 build. Use $(OUTPUT_OPTION) in command.
43553 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43554
43555 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43556
43557 [BZ #13886]
43558 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43559 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43560 * math/libm-test.inc (floor_test): Add more tests.
43561 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43562
43563 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43564
43565 * sysdeps/unix/getdents.c: Remove file.
43566 * sysdeps/unix/sysv/getdents.c: Likewise.
43567 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43568
43569 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43570 sysdeps/unix/mman/syscalls.list.
43571 (mmap): Likewise.
43572 (mprotect): Likewise.
43573 (msync): Likewise.
43574 (munmap): Likewise.
43575 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43576 * sysdeps/unix/mman/syscalls.list: Remove.
43577 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43578
43579 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43580 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43581 * configure: Regenerated.
43582 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43583 $(libgcc_s_suffix).
43584 * config.make.in (libgcc_s_suffix): Remove variable.
43585
43586 2012-04-23 Joseph Myers <joseph@codesourcery.com>
43587
43588 * sysdeps/unix/sysv/gethostname.c: Move to ...
43589 * sysdeps/posix/gethostname.c: ... here.
43590
43591 * sysdeps/unix/execve.S: Remove file.
43592
43593 * sysdeps/unix/_exit.S: Remove file.
43594
43595 2012-04-23 Andreas Jaeger <aj@suse.de>
43596
43597 [BZ #13739]
43598 * manual/Makefile: Remove make dist support, there's no
43599 need for a stand-alone documentation tar ball.
43600 (TEXI2DVI): Define always, it's not in Makeconfig.
43601 (dist): Removed.
43602 (tar-it): Removed.
43603 (edition): Removed.
43604 (glibc-doc-$(edition).tar): Removed
43605 (%.Z): Removed.
43606 (%.gz): Removed.
43607 (%.uu): Removed.
43608 (ETAGS): Remove, it's in Makeconfig.
43609 (move-if-change): Remove, it's in Makeconfig.
43610
43611 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
43612
43613 [BZ #13970]
43614 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43615 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43616 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43617 (strtod_l, strtof_l, strtold_l): Remove __wur.
43618 It is not necessarily an error to ignore strtol's return value.
43619 One can reliably look at the stored endptr to decide whether
43620 the number had valid syntax.
43621
43622 2012-04-21 Andreas Jaeger <aj@suse.de>
43623
43624 [BZ #13739]
43625 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43626
43627 2012-04-21 Joseph Myers <joseph@codesourcery.com>
43628
43629 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43630 * sysdeps/unix/sysv/Versions: Remove file.
43631
43632 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43633
43634 [BZ #13927]
43635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43636
43637 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
43638
43639 [BZ #7064]
43640 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43641 version from __vm86.
43642
43643 2012-04-20 Joseph Myers <joseph@codesourcery.com>
43644
43645 * sysdeps/unix/common/lxstat.c: Remove file.
43646 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43647
43648 * sysdeps/unix/sysv/Makefile: Remove file.
43649
43650 * sysdeps/unix/sysv/direct.h: Remove file.
43651
43652 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43653 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43654 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43655 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43656 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43657 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43658 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43659
43660 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43661
43662 * sysdeps/unix/xmknod.c: Remove file.
43663 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43664
43665 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43666
43667 * sysdeps/unix/sysv/i386/time.S: Remove file.
43668
43669 * sysdeps/unix/fxstat.c: Remove file.
43670 * sysdeps/unix/xstat.c: Likewise.
43671 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43672
43673 * sysdeps/unix/sysv/sigaction.c: Remove file.
43674
43675 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43676 (sysdep_headers): Remove variable.
43677 [termio.h not in sysdep_headers] (generated): Likewise.
43678 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43679 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43680 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43681 * sysdeps/unix/sysv/tcflow.c: Likewise.
43682 * sysdeps/unix/sysv/tcflush.c: Likewise.
43683 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43684 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43685 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43686 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43687 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43688
43689 * sysdeps/unix/siglist.c: Remove file.
43690
43691 * sysdeps/unix/getppid.S: Remove file.
43692
43693 * sysdeps/unix/mkdir.c: Remove file.
43694 * sysdeps/unix/rmdir.c: Likewise.
43695
43696 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43697
43698 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43699 ERR_MAX value.
43700 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43701 errlist-compat value.
43702
43703 2012-04-18 David S. Miller <davem@davemloft.net>
43704
43705 * sysdeps/generic/memcopy.h (reg_char): Delete.
43706 * debug/strcat_chk.c: Use char, not reg_char.
43707 * debug/strcpy_chk.c: Likewise.
43708 * debug/strncat_chk.c: Likewise.
43709 * debug/strncpy_chk.c: Likewise.
43710 * string/memchr.c: Likewise.
43711 * string/memrchr.c: Likewise.
43712 * string/rawmemchr.c: Likewise.
43713 * string/strcat.c: Likewise.
43714 * string/strchr.c: Likewise.
43715 * string/strchrnul.c: Likewise.
43716 * string/strcmp.c: Likewise.
43717 * string/strcpy.c: Likewise.
43718 * string/strncat.c: Likewise.
43719 * string/strncmp.c: Likewise.
43720 * string/strncpy.c: Likewise.
43721
43722 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43723
43724 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43725 __builtin_memcopy is called when src and dest ranges are known to not
43726 overlap.
43727
43728 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43729
43730 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43731 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43732 fwd_align_merge macro call.
43733 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43734 bwd_align_merge macro call.
43735 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43736
43737 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43738
43739 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43740 bwd_align_merge macros.
43741 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43742 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43743 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43744
43745 2012-04-18 David S. Miller <davem@davemloft.net>
43746
43747 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43748
43749 2012-04-18 Andreas Jaeger <aj@suse.de>
43750
43751 [BZ# 6794]
43752 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43753 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43754 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43755
43756 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43757 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43758 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43759
43760 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43761 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43762 Adjust for changed ldbl-128 files.
43763
43764 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43765 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43766 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43767
43768 2012-04-17 David S. Miller <davem@davemloft.net>
43769
43770 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43771
43772 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43773
43774 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43775 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43776 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43777 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43778 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43779 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43780
43781 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43782
43783 [BZ #6794]
43784 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43785 * math/libm-test.inc: Add ilogb errno and exception tests.
43786 * math/w_ilogb.c: New file: ilogb wrapper.
43787 * math/w_ilogbf.c: New file: ilogbf wrapper.
43788 * math/w_ilogbl.c: New file: ilogbl wrapper.
43789 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43790 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43791 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43792 exception being thrown with 0.0 as argument.
43793 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43794 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43795 exception being thrown with 0.0 as argument.
43796 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43797 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43798 exception being thrown with 0.0 as argument.
43799 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43800 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43801 exception being thrown with 0.0 as argument.
43802 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43803 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43804 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43805 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43806 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43807 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43808 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43809 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43810 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43811
43812 2012-04-17 Petr Baudis <pasky@ucw.cz>
43813
43814 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43815 with altivec.
43816
43817 2012-04-16 Marek Polacek <polacek@redhat.com>
43818
43819 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43820
43821 2012-04-16 Marek Polacek <polacek@redhat.com>
43822
43823 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43824 operands of fdivp instruction.
43825
43826 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43827
43828 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43829 * elf/tst-auditmod3b.c: Likewise.
43830 * elf/tst-auditmod4b.c: Likewise.
43831 * elf/tst-auditmod5b.c: Likewise.
43832 * elf/tst-auditmod6b.c: Likewise.
43833 * elf/tst-auditmod6c.c: Likewise.
43834 * elf/tst-auditmod7b.c: Likewise.
43835 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43836 * sysdeps/x86_64/preconfigure.in: Likewise.
43837 * sysdeps/x86_64/preconfigure: Regenerated.
43838
43839 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43840
43841 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43842 __ILP32__.
43843
43844 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
43845
43846 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43847 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43848
43849 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43850
43851 [BZ #13973]
43852 * locale/iso-639.def: Fix gl language name. Spotted by
43853 Yaron Shahrabani.
43854
43855 2012-04-12 Roland McGrath <roland@hack.frob.com>
43856
43857 [BZ #2074]
43858 * libio/libio.h (__io_write_fn): Update comment.
43859
43860 2012-04-12 Petr Baudis <pasky@ucw.cz>
43861
43862 [BZ #2074]
43863 * stdio.texi (Hook Functions): The user provided writer function
43864 is not allowed to return -1.
43865
43866 2012-04-11 David S. Miller <davem@davemloft.net>
43867
43868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43869
43870 2012-04-11 Mike Frysinger <vapier@gentoo.org>
43871
43872 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43873 Add a leading slash to rtkaio.
43874
43875 2012-04-11 Jim Meyering <meyering@redhat.com>
43876
43877 [BZ #11959]
43878 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43879 It is not necessarily an error to ignore fwrite's return
43880 value. One can reliably use ferror to test for errors after
43881 the fact.
43882
43883 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43884
43885 * bits/types.h (__snseconds_t): New type.
43886 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43887
43888 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43889 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43890 (__SNSECONDS_T_TYPE): Likewise.
43891 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43892 (__SNSECONDS_T_TYPE): Likewise.
43893 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43894 (__SNSECONDS_T_TYPE): Likewise.
43895
43896 2012-04-10 Andreas Jaeger <aj@suse.de>
43897
43898 [BZ #2636]
43899 * manual/time.texi (Processor Time): Return type of times is
43900 elapsed real time since an arbitrary point in the past.
43901 (CPU Time): Move CLK_TCK from here...
43902 (Processor Time): ...to here. Correct description.
43903 * manual/conf.texi (Constants for Sysconf): Correct description of
43904 _SC_CLK_TCK.
43905
43906 2012-04-10 David S. Miller <davem@davemloft.net>
43907
43908 [BZ #13967]
43909 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43910 where the is a gap between DT_REL(A) and DT_JMPREL.
43911
43912 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43913
43914 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43915 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43916 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43917
43918 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43919
43920 * elf/dl-support.c (_dl_inhibit_cache): New variable.
43921 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43922 (dl_main): Handle --inhibit-cache.
43923 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43924 _dl_inhibit_cache.
43925 * elf/dl-load.c (_dl_map_object): Use it.
43926 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43927
43928 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43929
43930 [BZ #13872]
43931 * sysdeps/i386/fpu/e_powl.S (p78): New object.
43932 (__ieee754_powl): Saturate large exponents rather than testing for
43933 overflow of y*log2(x).
43934 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43935 * math/libm-test.inc (pow_test): Do not permit spurious overflow
43936 exceptions.
43937
43938 [BZ #11521]
43939 * math/s_ctan.c: Include <float.h>.
43940 (__ctan): Avoid internal overflow or cancellation in calculating
43941 denominator.
43942 * math/s_ctanf.c: Likewise.
43943 * math/s_ctanl.c: Likewise.
43944 * math/s_ctanh.c: Likewise.
43945 * math/s_ctanhf.c: Likewise.
43946 * math/s_ctanhl.c: Likewise.
43947 * math/libm-test.inc (ctan_test): Add more tests.
43948 (ctanh_test): Likewise.
43949 * sysdeps/i386/fpu/libm-test-ulps: Update.
43950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43951
43952 2012-04-09 Andreas Jaeger <aj@suse.de>
43953
43954 [BZ #6894]
43955 * manual/filesys.texi (Directory Entries): Mention that d_namlen
43956 is an optional BSD extension.
43957
43958 [BZ #10254]
43959 * manual/stdio.texi (Opening Streams): Document additional fopen
43960 parameters.
43961
43962 2012-04-09 Roland McGrath <roland@hack.frob.com>
43963
43964 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43965 %eax without telling the compiler.
43966
43967 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
43968
43969 [BZ # 13963]
43970 * manual/install.texi: Use sourceware.org.
43971
43972 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43973
43974 [BZ #13873]
43975 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43976 (__ieee754_pow): Generate overflow and underflow using huge*huge
43977 and tiny*tiny rather than just returning constant infinity or zero
43978 for large exponents.
43979 * math/libm-test.inc (pow_test): Require overflow exceptions for
43980 applicable cases of large exponents.
43981
43982 [BZ #706]
43983 * sysdeps/i386/fpu/e_pow.S (p10): New object.
43984 (__ieee754_pow): Use iterative multiplication algorithm only for
43985 integer exponents with absolute value below 1024. Check for odd
43986 integer exponents when using algorithm for real exponents.
43987 * math/libm-test.inc (pow_test): Add more tests.
43988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43989
43990 2012-04-08 Joseph Myers <joseph@codesourcery.com>
43991
43992 [BZ #13705]
43993 * math/libm-test.inc (exp_test): Do not allow overflow exception
43994 on underflow test.
43995
43996 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
43997
43998 [BZ #13705]
43999 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44000 instead of __kernel_standard_f.
44001
44002 2012-04-08 Mike Frysinger <vapier@gentoo.org>
44003
44004 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44005 * sysdeps/x86_64/memset_chk.S: Likewise.
44006
44007 2012-04-08 Andreas Jaeger <aj@suse.de>
44008
44009 [BZ #10153]
44010 * manual/startup.texi (Environment Access): Describe return value
44011 for putenv and setenv.
44012
44013 [BZ #6895]
44014 * manual/filesys.texi (Directory Entries): Add description for
44015 DT_LNK.
44016
44017 [BZ #6890]
44018 * manual/filesys.texi (Directory Entries): Clarify that it's file
44019 system not operating system in the description of DT_UNKNOWN.
44020
44021 [BZ #6578]
44022 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44023
44024 2012-04-08 Stephen Compall <s11@member.fsf.org>
44025
44026 [BZ #6649]
44027 * manual/llio.texi (Opening and Closing Files): Add cross
44028 reference to explain mode argument.
44029
44030 2012-04-07 Mike Frysinger <vapier@gentoo.org>
44031
44032 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44033 * sysdeps/x86_64/memset_chk.S: Likewise.
44034
44035 2012-04-07 David S. Miller <davem@davemloft.net>
44036
44037 * elf/elf.h (R_SPARC_WDISP10): Define.
44038 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44039 R_SPARC_SIZE32.
44040 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44041 R_SPARC_SIZE64 and R_SPARC_H34.
44042
44043 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44044
44045 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44046 conditions and remove no longer applicable assertion.
44047
44048 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44049
44050 * bits/byteswap.h: Include <features.h>.
44051 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44052 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44053
44054 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44055
44056 * bits/byteswap.h (__bswap_16): Removed.
44057 Include <bits/byteswap-16.h> to get __bswap_16.
44058 * sysdeps/i386/bits/byteswap.h: Likewise.
44059 * sysdeps/s390/bits/byteswap.h: Likewise.
44060 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44061 * bits/byteswap-16.h: New file.
44062 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44063 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44064 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44065 * string/Makefile (headers): Add bits/byteswap-16.h.
44066
44067 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44068
44069 [BZ #13895]
44070 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44071 extra indirection.
44072 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44073 * nss/tst-nss-static.c: New.
44074
44075 2012-04-06 Robert Millan <rmh@gnu.org>
44076
44077 [BZ #6486]
44078 * manual/llio.texi (File Position Primitive): lseek
44079 refers to WHENCE when it really means OFFSET.
44080
44081 2012-04-06 Andreas Jaeger <aj@suse.de>
44082
44083 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44084 strncmp declarations.
44085
44086 * abilist/libc.abilist: Add __poll and __ppoll.
44087
44088 2012-04-05 David S. Miller <davem@davemloft.net>
44089
44090 * scripts/check-local-headers.sh: Accept a host triplet in the
44091 path matched by the exclude regexp.
44092
44093 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44094 definition.
44095 * sysdeps/powerpc/powerpc32/dl-machine.h
44096 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44097 * sysdeps/s390/s390-32/dl-machine.h
44098 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44099 * sysdeps/sparc/sparc32/dl-machine.h
44100 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44101 * sysdeps/sparc/sparc64/dl-machine.h
44102 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44103
44104 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44105 lazy binding.
44106 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44107 undefined symbol errors.
44108
44109 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44110 DT_NEEDED entries.
44111
44112 2012-04-05 Michael Matz <matz@suse.de>
44113
44114 [BZ #13592]
44115 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44116
44117 2012-04-05 Andreas Jaeger <aj@suse.de>
44118
44119 [BZ #13908]
44120 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44121 comment.
44122
44123 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44124
44125 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44126 which ROUND is no valid rounding mode.
44127
44128 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44129
44130 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44131 read again.
44132 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44133
44134 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44135
44136 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44137 an exception using FPU order intentionally.
44138
44139 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44140
44141 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44142 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44143 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44144 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44145
44146 2012-04-05 Simon Josefsson <simon@josefsson.org>
44147
44148 [BZ #12340]
44149 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44150 EINVAL when BUFLEN is too smal.
44151
44152 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44153
44154 [BZ #13553]
44155 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44156 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44157
44158 2012-04-03 Andreas Jaeger <aj@suse.de>
44159
44160 [BZ #13938]
44161 * manual/setjmp.texi (System V contexts): Fix sentence.
44162
44163 [BZ #13926]
44164 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44165 New macro for this case.
44166 [!__GNUC__] (__bswap_64): New inline function for this case.
44167 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44168 * bits/byteswap.h: Likewise.
44169 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44170 ull, guard with __GLIBC_HAVE_LONG_LONG.
44171
44172 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44173 __GLIBC_HAVE_LONG_LONG.
44174
44175 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44176 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44177
44178 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44179
44180 [BZ #13691]
44181 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44182 inptr and inend, rather than using last_ch.
44183
44184 2012-04-02 David S. Miller <davem@davemloft.net>
44185
44186 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44187 * stdio-common/printf-parse.h (read_int): Change return type to
44188 'int', return -1 on INT_MAX overflow.
44189 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44190 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44191 overflows INT_MAX. Check for overflow of in-format-string precision
44192 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44193 SIZE_MAX not INT_MAX for integer overflow test.
44194 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44195 skip the construct in the format string but do not record anything.
44196 * stdio-common/bug22.c: Adjust to test both width/prevision
44197 INT_MAX overflow as well as total length INT_MAX overflow. Check
44198 explicitly for proper errno values.
44199
44200 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44201
44202 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44203 CHAR_MAX.
44204 * string/test-strcmp.c [! WIDE]: Likewise.
44205 * time/tst-mktime2.c: Likewise for INT_MAX.
44206 * string/test-string.h: #include <sys/param.h> for MIN.
44207
44208 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44209 * sysdeps/i386/init-first.c (init): Likewise.
44210 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44211 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44212 * sysdeps/sh/init-first.c (init): Likewise.
44213
44214 2012-04-01 Ulrich Drepper <drepper@gmail.com>
44215
44216 * po/ru.po: Update from translation team.
44217 * po/vi.po: Likewise.
44218
44219 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44220
44221 * resolv/nss_dns/dns-host.c: Merge copyright years.
44222
44223 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44224
44225 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44226 Optimize memcpy with prefetch if
44227 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44228 src, dst pointers have unequal 16 byte alignments.
44229
44230 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44231
44232 [BZ #13928]
44233 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44234 from a CNAME entry and return the minimum ttl for the query.
44235 (gaih_getanswer_slice): Likewise.
44236
44237 2012-03-30 Jeff Law <law@redhat.com>
44238
44239 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44240 due to long keys.
44241 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44242 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44243
44244 * resolv/nss_dns/dns-host.c: Update copyright year.
44245
44246 2012-03-30 Ulrich Drepper <drepper@gmail.com>
44247
44248 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44249 requests to save a system call. Fix check that all bytes are sent.
44250
44251 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44252 comments for sendmmsg.
44253
44254 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44255
44256 [BZ #13691]
44257 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44258 with only 1 character between 0x0041 and 0x01b0.
44259 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44260 * wcsmbs/tst-mbsnrtowcs.c: New file.
44261
44262 2012-03-29 David S. Miller <davem@davemloft.net>
44263
44264 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44265 small copies by hand.
44266
44267 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44268
44269 [BZ #13761]
44270 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44271 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44272 group memberships.
44273
44274 2012-03-28 David S. Miller <davem@davemloft.net>
44275
44276 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44277 that branches into memcpy.
44278 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44279 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44280 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44281 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44282 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44283 bits.
44284 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44285 implementation too.
44286 * sysdeps/sparc/mempcpy.S: New file.
44287
44288 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44289 the IFUNC routine in the libc case.
44290 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44291
44292 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44293 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44294 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44295 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44296 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44297 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44298 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44299 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44300
44301 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44302 loop to 256 bytes instead of 64 bytes and fix test signedness.
44303
44304 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44305 * sysdeps/sparc/sparc32/Makefile: rather than here...
44306 * sysdeps/sparc/sparc64/Makefile: and here.
44307
44308 2012-03-28 Ulrich Drepper <drepper@gmail.com>
44309
44310 * malloc/mallocbug.c: Avoid warnings about unused variables.
44311
44312 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44313
44314 [BZ #13760]
44315 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44316 in the right place. Discard and retry query if response is
44317 larger than input buffer size.
44318
44319 2012-03-28 Joseph Myers <joseph@codesourcery.com>
44320
44321 [BZ #369]
44322 [BZ #2678]
44323 [BZ #3866]
44324 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44325 x for large integer exponent.
44326 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44327 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44328 sign of result as needed afterwards.
44329 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44330 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44331 result for underflowing pow the same as for overflow.
44332 (__kernel_standard_l): Handle powl overflow and underflow here
44333 rather than calling __kernel_standard.
44334 * math/libm-test.inc (pow_test): Add more tests.
44335
44336 [BZ #3868]
44337 [BZ #13879]
44338 [BZ #13910]
44339 [BZ #13911]
44340 [BZ #13912]
44341 [BZ #13913]
44342 [BZ #13915]
44343 [BZ #13916]
44344 [BZ #13917]
44345 [BZ #13918]
44346 [BZ #13919]
44347 [BZ #13920]
44348 [BZ #13921]
44349 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44350 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44351 (__kernel_standard_l): New function.
44352 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44353 __kernel_standard.
44354 * math/w_acosl.c (__acosl): Likewise.
44355 * math/w_asinl.c (__asinl): Likewise.
44356 * math/w_atan2l.c (__atan2l): Likewise.
44357 * math/w_atanhl.c (__atanhl): Likewise.
44358 * math/w_coshl.c (__coshl): Likewise.
44359 * math/w_exp10l.c (__exp10l): Likewise.
44360 * math/w_exp2l.c (__exp2l): Likewise.
44361 * math/w_fmodl.c (__fmodl): Likewise.
44362 * math/w_hypotl.c (__hypotl): Likewise.
44363 * math/w_j0l.c (__j0l, __y0l): Likewise.
44364 * math/w_j1l.c (__j1l, __y1l): Likewise.
44365 * math/w_jnl.c (__jnl, __ynl): Likewise.
44366 * math/w_lgammal.c (__lgammal): Likewise.
44367 * math/w_log10l.c (__log10l): Likewise.
44368 * math/w_log2l.c (__log2l): Likewise.
44369 * math/w_logl.c (__logl): Likewise.
44370 * math/w_powl.c (__powl): Likewise.
44371 * math/w_remainderl.c (__remainderl): Likewise.
44372 * math/w_scalbl.c (sysv_scalbl): Likewise.
44373 * math/w_sinhl.c (__sinhl): Likewise.
44374 * math/w_sqrtl.c (__sqrtl): Likewise.
44375 * math/w_tgammal.c (__tgammal): Likewise.
44376 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44377 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44378 * math/libm-test.inc (acos_test): Add more tests.
44379 (acosh_test): Likewise.
44380 (asin_test): Likewise.
44381 (atanh_test): Likewise.
44382 (exp_test): Likewise.
44383 (exp10_test): Likewise.
44384 (exp2_test): Likewise.
44385 (expm1_test): Likewise.
44386 (lgamma_test): Likewise.
44387 (log_test): Likewise.
44388 (log10_test): Likewise.
44389 (log1p_test): Likewise.
44390 (log2_test): Likewise.
44391 (pow_test): Do not allow some spurious overflow exceptions.
44392 (sqrt_test): Add more tests.
44393 (tgamma_test): Likewise.
44394 (y0_test): Likewise.
44395 (y1_test): Likewise.
44396 (yn_test): Likewise.
44397
44398 2012-03-27 Anton Blanchard <anton@samba.org>
44399
44400 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44401 MAP_HUGETLB.
44402 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44403 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44404 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44405
44406 2012-03-27 David S. Miller <davem@davemloft.net>
44407
44408 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44409
44410 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44411 have-as-vis3 check.
44412
44413 2012-03-27 Andreas Jaeger <aj@suse.de>
44414
44415 * sysdeps/x86_64/elf/configure.in: Moved to ...
44416 * sysdeps/x86_64/configure.in: ... here.
44417 * sysdeps/x86_64/elf/start.S: Moved to ...
44418 * sysdeps/x86_64/start.S: ... here.
44419 * sysdeps/x86_64/elf/configure: Delete.
44420
44421 * sysdeps/x86_64/configure.in: Merge contents from
44422 sysdeps/i386/configure.in (without i686 check).
44423
44424 * sysdeps/i386/elf/Versions: Merge into ...
44425 * sysdeps/i386/Versions: ... this.
44426 * sysdeps/i386/elf/Versions: Delete file.
44427 * sysdeps/i386/elf/start.S: Moved to ...
44428 * sysdeps/i386/start.S: ...here.
44429 * sysdeps/i386/elf/configure.in: Merge into...
44430 * sysdeps/i386/configure.in: ...here.
44431 * sysdeps/i386/elf/configure.in: Delete file.
44432 * sysdeps/i386/elf/configure: Delete file.
44433
44434 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44435 * debug/backtracesyms.c: ... here.
44436 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44437 * debug/backtracesymsfd.c: ... here.
44438 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44439 * sysdeps/generic/ifunc-sel.h: ... here.
44440
44441 * sysdeps/unix/i386/start.c: Delete file.
44442 * sysdeps/unix/sparc/start.c: Delete file.
44443 * sysdeps/unix/start.c: Delete file.
44444
44445 * sysdeps/sh/elf/configure.in: Moved to ...
44446 * sysdeps/sh/configure.in: ... here.
44447 * sysdeps/sh/elf/start.S: Moved to ...
44448 * sysdeps/sh/start.S: ... here.
44449 * sysdeps/sh/elf/configure: Delete file.
44450
44451 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44452 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44453 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44454 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44455 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44456 * sysdeps/powerpc/powerpc64/start.S: here.
44457 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44458 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44459 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44460 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44461 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44462
44463 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44464 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44465 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44466 * sysdeps/powerpc/powerpc32/start.S: ... here.
44467 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44468 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44469 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44470
44471 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44472 * sysdeps/powerpc/ifunc-sel.h: ... here.
44473 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44474 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44475
44476 * sysdeps/sparc/elf/configure.in: Moved to ...
44477 * sysdeps/sparc/configure.in: ... here.
44478 * sysdeps/sparc/elf/configure: Delete file.
44479 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44480 * sysdeps/sparc/sparc32/start.S: ... here.
44481 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44482 * sysdeps/sparc/sparc64/start.S: ... here.
44483 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44484 * sysdeps/sparc/sparc32/Makefile: ... this.
44485 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44486 * sysdeps/sparc/sparc64/Makefile: ... this.
44487
44488 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44489 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44490 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44491 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44492 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44493 * sysdeps/s390/s390-32/setjmp.S: ... here.
44494 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44495 * sysdeps/s390/s390-32/configure.in: ... here.
44496 * sysdeps/s390/s390-32/elf/configure: Delete file.
44497 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44498 * sysdeps/s390/s390-32/start.S: ... here.
44499
44500 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44501 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44502 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44503 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44504 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44505 * sysdeps/s390/s390-64/setjmp.S: ... here.
44506 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44507 * sysdeps/s390/s390-64/configure.in: ... here
44508 * sysdeps/s390/s390-64/elf/configure: Delete file.
44509 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44510 * sysdeps/s390/s390-64/start.S: ... here.
44511 * sysdeps/s390/s390-64/elf/configure: Delete.
44512
44513 * configure.in: Remove support for elf directories in sysdeps.
44514
44515 * configure: Regenerated.
44516 * sysdeps/i386/configure: Regenerated.
44517 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44518 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44519 * sysdeps/s390/s390-32/configure: Regenerated.
44520 * sysdeps/s390/s390-64/configure: Regenerated.
44521 * sysdeps/sh/configure: Regenerated.
44522 * sysdeps/sparc/configure: Regenerated.
44523 * sysdeps/x86_64/configure: Regenerated.
44524
44525 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44526
44527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44528
44529 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44530 denormal result into account.
44531
44532 2012-03-25 Roland McGrath <roland@hack.frob.com>
44533
44534 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44535 Reported by Allan McRae <allan@archlinux.org>.
44536
44537 2012-03-23 Jeff Law <law@redhat.com>
44538
44539 * nss/getnssent.c (__nss_getent): Fix typo.
44540
44541 2012-03-23 David S. Miller <davem@davemloft.net>
44542
44543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44544
44545 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44546
44547 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44548 to pad to uint64_t for each field.
44549 (dl_tls_index): Replace unsigned long with uint64_t.
44550
44551 2012-03-23 Daniel Jacobowitz <dmj@google.com>
44552 Paul Pluzhnikov <ppluzhnikov@google.com>
44553
44554 [BZ #6528]
44555 * grp/Makefile (otherlibs): Don't set it.
44556 * inet/Makefile (otherlibs): Likewise.
44557 * login/Makefile (otherlibs): Likewise.
44558 * nscd/Makefile (otherlibs): Likewise.
44559 * posix/Makefile (otherlibs): Likewise.
44560 * pwd/Makefile (otherlibs): Likewise.
44561 * rt/Makefile (otherlibs): Likewise.
44562 * sunrpc/Makefile (otherlibs): Likewise.
44563 * nss/Makefile (otherlibs): Likewise.
44564 Add libnss_files to routines and static-only-routines.
44565 ($(objpfx)getent): Remove rule.
44566 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44567 static-only-routines.
44568
44569 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44570
44571 [BZ #13892]
44572 * math/s_cexp.c: Include <float.h>.
44573 (__cexp): Handle exp result overflowing not necessarily
44574 overflowing both real and imaginary parts of result.
44575 * math/s_cexpf.c: Likewise.
44576 * math/s_cexpl.c: Likewise.
44577 * math/libm-test.inc (cexp_test): Add more tests.
44578 * sysdeps/i386/fpu/libm-test-ulps: Update.
44579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44580
44581 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44582
44583 * include/link.h (ELFW): New macro.
44584 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44585 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44586
44587 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44588
44589 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44590 with uint64_t.
44591
44592 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44593
44594 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44595 declaration.
44596 (struct La_x32_retval): Likewise.
44597
44598 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44599
44600 * sysdeps/x86_64/preconfigure.in: New file.
44601 * sysdeps/x86_64/preconfigure: New generated file.
44602
44603 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44604
44605 [BZ #13824]
44606 * math/e_exp2l.c: Include <float.h>.
44607 (__ieee754_exp2l): Handle overflow and underflow cases
44608 separately. Only pass fractional part of argument to
44609 __ieee754_expl.
44610 * math/libm-test.inc (exp2_test): Add more tests.
44611
44612 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44613 negating x to take absolute value.
44614 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44615 Likewise.
44616 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44617 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44618 Likewise.
44619 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44620 computing low part if x was negated.
44621 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44622
44623 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44624
44625 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44626 la_x32_gnu_pltexit.
44627 (pltexit): Cast int_retval to ptrdiff_t.
44628 * elf/tst-auditmod3b.c: Likewise.
44629 * elf/tst-auditmod4b.c: Likewise.
44630 * elf/tst-auditmod5b.c: Likewise.
44631 * elf/tst-auditmod6b.c: Likewise.
44632 * elf/tst-auditmod6c.c: Likewise.
44633 * elf/tst-auditmod7b.c: Likewise.
44634
44635 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44636 and x32_gnu_pltexit.
44637
44638 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44639 __ELF_NATIVE_CLASS.
44640 (La_x32_regs): New macro.
44641 (La_x32_retval): Likewise.
44642 (la_x32_gnu_pltenter): New function prototype.
44643 (la_x32_gnu_pltexit): Likewise.
44644
44645 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44646
44647 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44648 exponent.
44649
44650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44651
44652 * configure.in (libc_cv_cc_nofma): Check for option to disable
44653 generation of FMA instructions.
44654 * configure: Regenerate.
44655 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44656 * sysdeps/ieee754/dbl-64/Makefile: New file.
44657 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44658 Remove brandred-fma4.
44659 (CFLAGS-brandred-fma4.c): Remove.
44660 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44661 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44662 define.
44663 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44664 define.
44665
44666 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44667
44668 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44669 LLONG_MAX != LONG_MAX.
44670 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44671 (_fitoa_word): Likewise.
44672 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44673 LLONG_MAX != LONG_MAX.
44674 * stdio-common/_itowa.h: Include <_itoa.h>.
44675 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44676 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44677 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44678 only if not defined.
44679 (_ITOA_WORD_TYPE): Likewise.
44680 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44681 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44682
44683 2012-03-21 David S. Miller <davem@davemloft.net>
44684
44685 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44686
44687 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44688
44689 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44690 of x86_64 when setting libc_cv_slibdir, libdir and
44691 libc_cv_localedir.
44692 * sysdeps/unix/sysv/linux/configure: Regenerated.
44693
44694 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44695
44696 * manual/lang.texi (Old Varargs): Remove section.
44697 (How Variadic): Update menu.
44698 (va_start): Do not mention varargs.h.
44699
44700 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44701 Joseph Myers <joseph@codesourcery.com>
44702
44703 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44704 link test.
44705 * configure: Regenerated.
44706
44707 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44708
44709 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44710 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44711 conformtest.pl
44712
44713 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44714
44715 * NOTES: Remove.
44716 * Makefile (files-for-dist): Remove NOTES.
44717 (NOTES): Remove rule.
44718 * README: Don't refer to NOTES.
44719 * manual/creature.texi: Don't include macros.texi.
44720 * manual/intro.texi (creature.texi): Remove comment referring to
44721 NOTES.
44722
44723 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44724 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44725 * configure: Regenerated.
44726 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44727 LIBC_TRY_CC_OPTION.
44728 (libc_cv_as_i686): Likewise.
44729 (libc_cv_cc_avx): Likewise.
44730 (libc_cv_cc_sse2avx): Likewise.
44731 (libc_cv_cc_fma4): Likewise.
44732 (libc_cv_cc_novzeroupper): Likewise.
44733 * sysdeps/i386/configure: Regenerated.
44734
44735 [BZ #13883]
44736 * sysdeps/i386/fpu/s_cexp.S: Remove.
44737 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44738 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44739 * math/libm-test.inc (cexp_test): Add more tests.
44740 * sysdeps/i386/fpu/libm-test-ulps: Update.
44741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44742
44743 2012-03-21 Allan McRae <allan@archlinux.org>
44744
44745 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44746
44747 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44748
44749 [BZ #13871]
44750 * math/w_exp2.c: Do not include <float.h>.
44751 (o_threshold, u_threshold): Remove.
44752 (__exp2): Calculate result before checking finiteness and calling
44753 __kernel_standard.
44754 * math/w_exp2f.c: Likewise.
44755 * math/w_exp2l.c: Likewise.
44756 * math/libm-test.inc (exp2_test): Require overflow exception for
44757 1e6 input.
44758
44759 [BZ #3866]
44760 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44761 range of signed 64-bit integers before using fistpll. Remove
44762 checks for whether integers fit in mantissa bits.
44763 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44764 the range of signed 32-bit integers before using fistpl. Remove
44765 checks for whether integers fit in mantissa bits.
44766 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44767 (__ieee754_powl): Test for y outside the range of signed 64-bit
44768 integers before using fistpll. Reduce 64-bit values to 63-bit
44769 ones as needed.
44770 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44771 divide-by-zero is raised for zero to large negative powers.
44772 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44773 (__ieee754_powl): Test for y outside the range of signed 64-bit
44774 integers before using fistpll. Reduce 64-bit values to 63-bit
44775 ones as needed.
44776 * math/libm-test.inc (pow_test): Add more tests.
44777
44778 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44779
44780 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44781 <stdio-common/_itoa.h>.
44782 * debug/segfault.c: Likewise.
44783 * elf/dl-cache.c: Likewise.
44784 * elf/dl-minimal.c: Likewise.
44785 * elf/dl-misc.c: Likewise.
44786 * elf/dl-sysdep.c: Likewise.
44787 * elf/dl-version.c: Likewise.
44788 * elf/rtld.c: Likewise.
44789 * hurd/hurdsock.c: Likewise.
44790 * hurd/lookup-retry.c: Likewise.
44791 * malloc/malloc.c: Likewise.
44792 * malloc/mtrace.c: Likewise.
44793 * nscd/nscd_getgr_r.c: Likewise.
44794 * nscd/nscd_getpw_r.c: Likewise.
44795 * nscd/nscd_getserv_r.c: Likewise.
44796 * posix/getopt_init.c: Likewise.
44797 * posix/wordexp.c: Likewise.
44798 * stdio-common/_itoa.c: Likewise.
44799 * stdio-common/printf_fphex.c: Likewise.
44800 * stdio-common/vfprintf.c: Likewise.
44801 * string/_strerror.c: Likewise.
44802 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44803 * sysdeps/i386/i686/hp-timing.h: Likewise.
44804 * sysdeps/mach/_strerror.c: Likewise.
44805 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44806 * sysdeps/mach/hurd/sethostid.c: Likewise.
44807 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44808 * sysdeps/mach/xpg-strerror.c: Likewise.
44809 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44810 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44811 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44812 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44813 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44814 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44815 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44816 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44817 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44818 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44819 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44820 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44821 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44822 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44823 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44824 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44825 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44826 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44827 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44828 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44829 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44830
44831 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44832
44833 * stdio-common/_itoa.h: Moved to ...
44834 * sysdeps/generic/_itoa.h: Here.
44835
44836 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44837
44838 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44839 instead of "_itoa.h" and "_itowa.h".
44840 * stdio-common/vfprintf.: Likewise.
44841
44842 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44843
44844 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44845 <bits/wordsize.h>.
44846 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44847 (__signbit): Likwise.
44848 (llrintf): Likwise.
44849 (llrint): Likwise.
44850
44851 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44852
44853 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44854 __WORDSIZE != 64.
44855
44856 2012-03-20 Joseph Myers <joseph@codesourcery.com>
44857
44858 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44859 OVERFLOW_EXCEPTION_OK.
44860 * math/libm-test.inc ("Philosophy"): Update comment about
44861 exception testing.
44862 (OVERFLOW_EXCEPTION): Define.
44863 (OVERFLOW_EXCEPTION_OK): Likewise.
44864 (INVALID_EXCEPTION_OK): Renumber.
44865 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44866 (IGNORE_ZERO_INF_SIGN): Likewise.
44867 (test_exceptions): Handle FE_OVERFLOW.
44868 (exp10_test): Expect overflow exceptions.
44869 (exp2_test): Likewise.
44870 (expm1_test): Likewise.
44871 (nextafter_test): Likewise.
44872 (pow_test): Likewise.
44873 (scalbn_test): Likewise.
44874 (scalbln_test): Likewise.
44875
44876 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44877
44878 * sysdeps/x86_64/bits/atomic.h
44879 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44880 64bit integer.
44881 (atomic_exchange_acq): Likewise.
44882 (__arch_exchange_and_add_body): Likewise.
44883 (__arch_add_body): Likewise.
44884 (atomic_add_negative): Likewise.
44885 (atomic_add_zero): Likewise.
44886
44887 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44888
44889 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44890 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44891
44892 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44893
44894 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44895 Check __x86_64__ instead of __WORDSIZE.
44896
44897 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44898
44899 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44900
44901 2012-03-19 David S. Miller <davem@davemloft.net>
44902
44903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44904
44905 * sysdeps/sparc/fpu/fenv_private.h: New file.
44906 * sysdeps/sparc/fpu/math_private.h: Use it.
44907 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44908 Remove.
44909 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44910 (libc_feholdexcept_setroundl): Remove.
44911 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44912 Remove.
44913 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44914 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44915
44916 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44917
44918 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44919 int64_t instead of long int.
44920 (INSERT_WORDS64): Likwise.
44921
44922 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44923
44924 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44925 _Unwind_GetCFA return to _Unwind_Ptr first.
44926
44927 2012-03-19 Joseph Myers <joseph@codesourcery.com>
44928
44929 [BZ #13629]
44930 * math/s_clog.c: Include <float.h>.
44931 (__clog): Scale large or subnormal inputs.
44932 * math/s_clogf.c: Likewise.
44933 * math/s_clogl.c: Likewise.
44934 * math/s_clog10.c: Include <float.h>.
44935 (M_LOG10_2): Define.
44936 (__clog10): Scale large or subnormal inputs.
44937 * math/s_clog10f.c: Likewise.
44938 * math/s_clog10l.c: Likewise.
44939 * math/libm-test.inc (clog_test): Add more tests.
44940 (clog10_test): Likewise.
44941 * sysdeps/i386/fpu/libm-test-ulps: Update.
44942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44943
44944 [BZ #11451]
44945 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44946 x and y.
44947 * math/libm-test.inc (atan2_test): Add another test.
44948
44949 * Makerules (common-objdir-compile): Remove.
44950 * sysdeps/unix/Makefile (config-generated): Do not add
44951 $(unix-generated) to variable.
44952 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44953 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44954 Remove rule.
44955 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44956 Likewise.
44957 [generic bits/local_lim.h] (before-compile): Do not append to
44958 variable.
44959 [generic bits/local_lim.h] (common-generated): Likewise.
44960 [generic sys/param.h] (before-compile): Do not append to variable.
44961 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44962 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44963 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44964 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44965 include.
44966 [generic sys/param.h] (sys/param.h-includes): Remove variable.
44967 [generic sys/param.h] (sys/param.h-includes): Remove rule.
44968 [generic sys/param.h] ($(addprefix
44969 $(common-objpfx),$(sys/param.h-includes))): Likewise.
44970 [generic sys/param.h] (common-generated): Do not append to
44971 variable.
44972 [generic sys/param.h] (sysdep_headers): Likewise.
44973 [generic bits/errno.h] (before-compile): Do not append to
44974 variable.
44975 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44976 rule.
44977 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44978 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44979 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44980 [generic bits/errno.h] (common-generated): Do not append to
44981 variable.
44982 [generic bits/ioctls.h] (before-compile): Do not append to
44983 variable.
44984 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44985 rule.
44986 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44987 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44988 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44989 rule.
44990 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44991 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44992 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44993 [generic bits/ioctls.h] (common-generated): Do not append to
44994 variable.
44995 [generic sys/syscall.h] (syscall.h): Remove variable.
44996 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44997 rule.
44998 [generic sys/syscall.h] (before-compile): Do not append to
44999 variable.
45000 [generic sys/syscall.h] (common-generated): Likewise.
45001 * sysdeps/unix/errnos-tmpl.c: Remove file.
45002 * sysdeps/unix/errnos.awk: Likewise.
45003 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45004 * sysdeps/unix/ioctls.awk: Likewise.
45005 * sysdeps/unix/mk-local_lim.c: Likewise.
45006 * sysdeps/unix/snarf-ioctls: Likewise.
45007
45008 2012-03-19 Richard Henderson <rth@twiddle.net>
45009
45010 * sysdeps/i386/fpu/fenv_private.h: New file.
45011 * sysdeps/i386/fpu/math_private.h: Use it.
45012 (math_opt_barrier, math_force_eval): Remove.
45013 (libc_feholdexcept_setround_53bit): Remove.
45014 (libc_feupdateenv_53bit): Remove.
45015 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45016 (math_opt_barrier, math_force_eval): Remove.
45017 (libc_feholdexcept): Remove.
45018 (libc_feholdexcept_setround): Remove.
45019 (libc_fetestexcept, libc_fesetenv): Remove.
45020 (libc_feupdateenv_test): Remove.
45021 (libc_feupdateenv, libc_feholdsetround): Remove.
45022 (libc_feresetround): Remove.
45023
45024 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45025 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45026
45027 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45028 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45029 (libc_feupdateenv_testl): New.
45030 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45031 (libc_feupdateenv_testf): New.
45032 (libc_feupdateenv): Use libc_feupdateenv_test.
45033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45034 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45035
45036 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45037 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45038 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45039 (libc_feresetround_noex): New.
45040 (libc_feresetround_noexf): New.
45041 (libc_feresetround_noexl): New.
45042 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45043 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45044 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45045 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45046 SET_RESTORE_ROUND.
45047 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45048 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45049 (__cos): Likewise.
45050 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45051 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45052 SET_RESTORE_ROUND_NOEX.
45053 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45054 SET_RESTORE_ROUND_NOEXF.
45055 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45056 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45057 (libc_feholdsetroundf): New.
45058 (libc_feresetround, libc_feresetroundf): New.
45059
45060 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45061 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45062 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45063
45064 * sysdeps/generic/math_private.h: Include <fenv.h>.
45065 (default_libc_feholdexcept): New.
45066 (default_libc_feholdexcept_setround): New.
45067 (default_libc_fesetenv, default_libc_feupdateenv): New.
45068 (libc_feholdexcept): Only define if undefined.
45069 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45070 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45071 (libc_feholdexcept_setroundl): Likewise.
45072 (libc_feholdexcept_setround_53bit): Likewise.
45073 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45074 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45075 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45076 (libc_feupdateenv_53bit): Likewise.
45077 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45078 (libc_feholdexcept): Convert from macro to inline function.
45079 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45080 (libc_fesetenv, libc_feupdateenv): Likewise.
45081
45082 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45083 not previously defined.
45084 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45085 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45086 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45087 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45088 * sysdeps/ieee754/flt-32/math_private.h: New file.
45089 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45090 math_private.h below SET_FLOAT_WORD.
45091 (__isnan, __isinf_ns, __finite): Remove.
45092 (__isnanf, __isinf_nsf, __finitef): Remove.
45093
45094 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45095
45096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45097
45098 2012-03-17 David S. Miller <davem@davemloft.net>
45099
45100 [BZ #6471]
45101 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45102 for 2.16.
45103
45104 2012-03-16 David S. Miller <davem@davemloft.net>
45105
45106 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45107 warnings.
45108
45109 [BZ #6471]
45110 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45111 properly.
45112 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45113 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45114 sysdep_routines when subdir is sysvipc.
45115 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45116 __getshmlba helper.
45117
45118 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45119
45120 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45121
45122 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45123 [__LP64__].
45124
45125 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45126
45127 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45128 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45129 (__lround): Renamed to ...
45130 (__llround): This. Replace long int with long long int.
45131 Define lround functions as aliases of llround functions.
45132 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45133
45134 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45135
45136 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45137 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45138 adresses to uintptr_t. Replace "long int" and "unsigned long
45139 int" with "greg_t" on va_arg.
45140
45141 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45142
45143 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45144 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45145
45146 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45147 Move e_machine check before EI_CLASS check. Handle x32
45148 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45149 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45150 SKIP_EM_IA_64 and include
45151 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45152
45153 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45154 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45155 (add_system_dir): New macro.
45156
45157 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45158 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45159
45160 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45161
45162 [BZ #2551]
45163 [BZ #2552]
45164 [BZ #2553]
45165 [BZ #2554]
45166 [BZ #2562]
45167 [BZ #2563]
45168 [BZ #2565]
45169 [BZ #2566]
45170 [BZ #2576]
45171 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45172 (y0): Likewise.
45173 * math/w_j0f.c (j0f): Likewise.
45174 (y0f): Likewise.
45175 * math/w_j0l.c (__j0l): Likewise.
45176 (__y0l): Likewise.
45177 * math/w_j1.c (j1): Likewise.
45178 (y1): Likewise.
45179 * math/w_j1f.c (j1f): Likewise.
45180 (y1f): Likewise.
45181 * math/w_j1l.c (__j1l): Likewise.
45182 (__y1l): Likewise.
45183 * math/w_jn.c (jn): Likewise.
45184 (yn): Likewise.
45185 * math/w_jnf.c (jnf): Likewise.
45186 (ynf): Likewise.
45187 * math/w_jnl.c (__jnl): Likewise.
45188 (__ynl): Likewise.
45189 * math/libm-test.inc (j0_test): Add more tests.
45190 (j1_test): Likewise.
45191 (jn_test): Likewise. Add trailing semicolon to existing test.
45192 (y0_test): Likewise.
45193 (y1_test): Likewise.
45194 * sysdeps/i386/fpu/libm-test-ulps: Update.
45195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45196
45197 [BZ #13851]
45198 [BZ #13854]
45199 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45200 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45201 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45202 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45203 (__tanl): Set errno for infinite argument.
45204 * sysdeps/i386/fpu/mptan.c: Remove.
45205 * sysdeps/i386/fpu/s_tan.S: Likewise.
45206 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45207 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45208 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45209 * math/libm-test.inc (tan_test): Add more tests and enable more
45210 tests for double and long double.
45211 * sysdeps/i386/fpu/libm-test-ulps: Update.
45212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45213
45214 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45215
45216 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45217 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45218
45219 2012-03-16 Roland McGrath <roland@hack.frob.com>
45220
45221 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45222 * configure.in: Use it for both main tree and add-ons.
45223 * configure: Regenerated.
45224
45225 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45226
45227 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45228
45229 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45230
45231 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45232 in comment.
45233
45234 [BZ #13851]
45235 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45236 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45237 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45238 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45239 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45240 infinite argument.
45241 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45242 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45243 != 0 for prec == 2.
45244 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45245 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45246 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45247 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45248 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45249 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45250 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45251 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45252 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45253 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45254 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45255 * math/libm-test.inc (cos_test): Add more tests and enable more
45256 tests for long double.
45257 (sin_test): Likewise.
45258 (sincos_test): Likewise.
45259 * sysdeps/i386/fpu/libm-test-ulps: Update.
45260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45261
45262 2012-03-16 David S. Miller <davem@davemloft.net>
45263
45264 * sysdeps/sparc/fpu/math_private.h: New file.
45265
45266 2012-03-15 David S. Miller <davem@davemloft.net>
45267
45268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45269 file.
45270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45272 file.
45273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45278 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45279 sysdep routines.
45280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45281
45282 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45283 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45284
45285 * sysdeps/sparc/sparc-ifunc.h: New file.
45286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45287 sparc-ifunc.h
45288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45290 Likewise.
45291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45292 Likewise.
45293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45297 Likewise.
45298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45303 Likewise.
45304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45305 Likewise.
45306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45312 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45313 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45324 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45325 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45326 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45327 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45328 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45329 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45330
45331 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45332
45333 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45334 scaling.
45335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45336
45337 2012-03-15 Andreas Jaeger <aj@suse.de>
45338
45339 [BZ #13852]
45340 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45341 ieee754/flt-32 implementation for sin, cos and sincos.
45342 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45343 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45344 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45345 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45346 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45347 ieee754/flt-32 implementation for tan.
45348
45349 * math/libm-test.inc (cos_test): Enable some large input tests for
45350 float as well
45351 (sin_test): Likewise.
45352 (sincos_test): Likewise.
45353 (tan_test): Add tests for large input.
45354
45355 * sysdeps/i386/fpu/libm-test-ulps: Update.
45356
45357 2012-03-15 Andreas Jaeger <aj@suse.de>
45358
45359 [BZ #13658]
45360 * math/libm-test.inc (cos_test): Add more test cases.
45361 (sin_test): Likewise.
45362 (sincos_test): Likewise.
45363
45364 2012-03-15 Andreas Jaeger <aj@suse.de>
45365
45366 [BZ #13837]
45367 * math/libm-test.inc (cos_test): Add a test case for large input
45368 value.
45369 (sin_test): Likewise.
45370 (sincos_test): Likewise.
45371
45372 2012-03-15 Andreas Jaeger <aj@suse.de>
45373 Joseph Myers <joseph@codesourcery.com>
45374
45375 [BZ #13658]
45376 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45377 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45378 * sysdeps/i386/fpu/branred.c: Likewise.
45379 * sysdeps/i386/fpu/dosincos.c: Likewise.
45380 * sysdeps/i386/fpu/mpa.c: Likewise.
45381 * sysdeps/i386/fpu/s_cos.S: Likewise.
45382 * sysdeps/i386/fpu/s_sin.S: Likewise.
45383 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45384 * sysdeps/i386/fpu/sincos32.c: Likewise.
45385
45386 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45387 Define.
45388 (libc_feupdateenv_53bit): Define.
45389 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45390 Define.
45391 (libc_feupdateenv_53bit): Define.
45392
45393 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45394 53 bit (without extend i386 double precision).
45395
45396 * math/libm-test.inc (sincos_test): Add tests for large input.
45397 (sin): Likewise.
45398 (cos): Likewise.
45399
45400 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45401
45402 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45403
45404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45405
45406 2012-03-15 David S. Miller <davem@davemloft.net>
45407
45408 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45409 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45410 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45411 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45424 file.
45425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45427 file.
45428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45430 file.
45431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45433 file.
45434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45435 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45436 fmin/fmax sysdep routines.
45437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45438
45439 2012-03-14 David S. Miller <davem@davemloft.net>
45440
45441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45445 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45446 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45447 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45448 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45461 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45462 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45463 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45464 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45465 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45466 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45467 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45468 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45469 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45470 routines.
45471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45472 file.
45473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45475 file.
45476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45478 file.
45479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45481 file.
45482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45484 file.
45485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45487 file.
45488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45489 file.
45490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45491 file.
45492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45493 file.
45494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45495 New file.
45496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45497 file.
45498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45499 file.
45500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45502 file.
45503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45505 file.
45506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45508 file.
45509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45511 VIS3 routines.
45512
45513 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45514 New file.
45515
45516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45517
45518 * sysdeps/sparc/configure.in: New file.
45519 * sysdeps/sparc/configure: Generate.
45520 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45521 * configure: Regenerate.
45522 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45523 * config.make.in (have-as-vis3): New.
45524 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45525 available use -Av9d instead of -Av9a.
45526 * sysdeps/sparc/sparc64/Makefile: Likewise.
45527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45529 New file.
45530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45531 file.
45532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45533 New file.
45534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45535 file.
45536 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45537 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45538 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45539 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45540 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45541
45542 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45543 fzeros/fnegs to load 0x80000000 into a float register instead of
45544 using the stack.
45545 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45546
45547 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45548
45549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45550 bits/syscall.h.
45551 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45552 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45553 ($(inst_includedir)/bits/syscall.h): Remove rule.
45554 ($(objpfx)bits/syscall.d): Include instead of
45555 $(objpfx)syscall-list.d.
45556 (generated): Change syscall-list.h and syscall-list.d to
45557 bits/syscall.h and bits/syscall.d.
45558
45559 2012-03-14 Roland McGrath <roland@hack.frob.com>
45560
45561 [BZ #13846]
45562 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45563
45564 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45565
45566 [BZ #13841]
45567 * math/s_csqrt.c: Include <float.h>.
45568 (__csqrt): Scale large or subnormal inputs.
45569 * math/s_csqrtf.c: Likewise.
45570 * math/s_csqrtl.c: Likewise.
45571 * math/libm-test.inc (csqrt_test): Add more tests.
45572 * sysdeps/i386/fpu/libm-test-ulps: Update.
45573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45574
45575 [BZ #13840]
45576 * math/libm-test.inc (hypot_test): Add more tests.
45577
45578 2012-03-13 David S. Miller <davem@davemloft.net>
45579
45580 [BZ #13840]
45581 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45582 double-precision for the calculation instead of scaling.
45583
45584 2012-03-13 Joseph Myers <joseph@codesourcery.com>
45585
45586 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45587 manipulate bits before adding and subtracting TWO52[sx].
45588 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45589 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45590 Likewise.
45591 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45592
45593 2012-03-13 David S. Miller <davem@davemloft.net>
45594
45595 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45596 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45597 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45598 rtld-global-offsets.h
45599 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45600
45601 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45602 large parameters.
45603
45604 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45605
45606 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45607 'err' in the ifdef scope in which it is actually used.
45608
45609 * nss/nss_db/db-init.c: Include string.h
45610
45611 2012-03-12 David S. Miller <davem@davemloft.net>
45612
45613 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45614 masking out of the most significant byte of random value used.
45615 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45616 Fix coding style in previous change.
45617
45618 * sysdeps/unix/sysv/linux/kernel-features.h
45619 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45620 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45621 expression.
45622 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45623 later.
45624
45625 2012-03-11 David S. Miller <davem@davemloft.net>
45626
45627 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45628 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45629 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45630 for 'resultvar' otherwise things get truncated on 64-bit.
45631
45632 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45633 Fix masking out of the most significant byte of random value used.
45634
45635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45636
45637 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45638
45639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45640
45641 2012-03-09 David S. Miller <davem@davemloft.net>
45642
45643 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45644 variables with appropriate CPP guards.
45645 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45646 from the frame pointer, not the stack pointer. Correct layout
45647 comments. Fix test on resulting framesize and the management of
45648 the outregs buffer for pltexit. Preserve floating point return
45649 values across _dl_call_pltexit call.
45650 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45651 framesize and the management of the outregs buffer for pltexit.
45652 Preserve floating point return values across _dl_call_pltexit
45653 call.
45654 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45655 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45656 (la_sparc64_gnu_pltexit): New functions.
45657 (print_exit): Fix format string for return register value.
45658
45659 2012-03-10 Joseph Myers <joseph@codesourcery.com>
45660
45661 * sunrpc/Makefile (others): Add rpcgen.
45662 ($(objpfx)rpcgen): Remove special build rule and dependency on
45663 libc.
45664 * sunrpc/rpcgen.c: New file.
45665
45666 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45667
45668 [BZ #13673]
45669 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45670 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45671 * sysdeps/i386/crti.S: Likewise.
45672 * sysdeps/i386/crtn.S: Likewise.
45673 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45674 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45675 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45676 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45677 * sysdeps/sh/crti.S: Likewise.
45678 * sysdeps/sh/crtn.S: Likewise.
45679 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45680
45681 [BZ #13673]
45682 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45683 with URL.
45684 * locale/programs/locfile-kw.gperf: Likewise.
45685 * locale/programs/charmap-kw.h: Regenerated.
45686 * locale/programs/locfile-kw.h: Likewise.
45687
45688 [BZ #13673]
45689 * intl/plural.y: Replace FSF snail mail address with URL.
45690 * intl/plural.c: Regenerated.
45691
45692 2012-03-09 Richard Henderson <rth@twiddle.net>
45693
45694 * include/math_private.h: Remove file.
45695 * math/math_private.h: Move file ...
45696 * sysdeps/generic/math_private.h: ... here.
45697
45698 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45699 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45700 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45701
45702 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45703 and <math_private.h>.
45704 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45705 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45706 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45707 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45708 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45709 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45710 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45711 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45712 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45713 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45714 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45715 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45716 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45717 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45718 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45719 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45720 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45721 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45722 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45723 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45724 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45725 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45726 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45728 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45729 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45730 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45731 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45732 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45733 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45734 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45735 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45736 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45737 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45738 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45739 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45740 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45741 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45742 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45743 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45744 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45745 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45746 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45747 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45748 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45749 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45750 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45751 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45752 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45753 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45754 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45755 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45756 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45757 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45758 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45759 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45760 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45761 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45762 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45763 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45764 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45765 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45766 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45767 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45768 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45769 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45770 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45771 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45772 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45773 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45774 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45775 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45776 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45777 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45778 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45779 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45780 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45781 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45782 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45783 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45784 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45785 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45786 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45787 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45788 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45789 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45790 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45791 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45792 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45793 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45794 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45795 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45796 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45797 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45798 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45799 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45800 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45801 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45802 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45803 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45804 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45805 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45806 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45807 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45808 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45809 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45810 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45811 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45812 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45813 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45814 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45815 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45816 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45817 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45818 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45819 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45820 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45821 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45822 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45823 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45824 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45825 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45826 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45827 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45828 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45829 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45830 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45831 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45832 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45833 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45834 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45835 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45836 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45837 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45838 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45839 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45840 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45841 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45842 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45843 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45844 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45845 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45846 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45847 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45848 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45849 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45850 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45851 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45852 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45853 * sysdeps/ieee754/k_standard.c: Likewise.
45854 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45855 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45856 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45857 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45858 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45859 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45860 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45861 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45862 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45863 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45864 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45865 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45866 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45867 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45868 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45869 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45870 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45871 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45872 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45873 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45874 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45875 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45876 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45877 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45878 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45879 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45880 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45881 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45882 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45883 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45884 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45885 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45886 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45887 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45888 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45889 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45890 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45891 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45892 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45893 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45894 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45895 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45896 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45897 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45898 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45899 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45900 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45901 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45902 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45903 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45904 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45905 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45906 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45907 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45908 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45909 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45910 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45911 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45912 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45913 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45914 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45915 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45916 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45917 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45918 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45919 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45920 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45921 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45922 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45923 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45924 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45925 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45926 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45927 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45928 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45929 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45930 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45931 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45932 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45933 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45934 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45935 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45936 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45937 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45938 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45939 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45940 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45941 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45942 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45943 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45944 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45945 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45946 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45947 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45948 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45949 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45950 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45951 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45952 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45953 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45954 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45955 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45956 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45957 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45958 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45959 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45960 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45961 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45962 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45963 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45964 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45965 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45966 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45967 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45968 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45969 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45970 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45971 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45972 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45973 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45974 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45975 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45976 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45977 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45978 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45979 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45980 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45981 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45982 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45983 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45984 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45985 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45986 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45987 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45988 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45989 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45990 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45991 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45992 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45993 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45994 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45995 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45996 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45997 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45998 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45999 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46000 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46001 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46002 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46003 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46004 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46005 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46006 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46007 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46008 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46009 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46010 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46011 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46012 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46013 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46014 * sysdeps/ieee754/s_lib_version.c: Likewise.
46015 * sysdeps/ieee754/s_matherr.c: Likewise.
46016 * sysdeps/ieee754/s_signgam.c: Likewise.
46017 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46018 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46019 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46020 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46021 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46022 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46023 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46024 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46025 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46026 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46027 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46028 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46029 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46030 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46031 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46032 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46033 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46034 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46035 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46036 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46037 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46038
46039 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46040
46041 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46042 * sunrpc/rpc_main.c: Likewise.
46043 * sunrpc/rpc_svcout.c: Likewise.
46044
46045 2012-03-09 David S. Miller <davem@davemloft.net>
46046
46047 * include/math_private.h: New file.
46048
46049 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46050
46051 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46052 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46053 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46054 from <bits/socket_type.h>.
46055 (enum __socket_type): Don't define here.
46056 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46057 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46058 bits/socket_type.h.
46059
46060 [BZ #13566]
46061 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46062 checking __USE_GNU.
46063
46064 * Makerules ($(inst_includedir)/%.h): New rule.
46065 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46066 (install-others): Remove variable setting.
46067 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46068
46069 2012-03-08 Richard Henderson <rth@twiddle.net>
46070
46071 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46072 from macro to inline function; merge with the
46073 !__LIBC_INTERNAL_MATH_INLINES version.
46074 (__ieee754_sqrtf): Likewise.
46075
46076 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46077 to inline function.
46078 (__rintf, __floor, __floorf): Likewise.
46079
46080 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46081 macro to inline function.
46082 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46083
46084 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46085 not <math/math_private.h>.
46086
46087 2012-03-08 David S. Miller <davem@davemloft.net>
46088
46089 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46090 copyright year.
46091 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46092
46093 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46094
46095 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46096 normalization.
46097 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46098 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46099
46100 2012-03-08 Ulrich Drepper <drepper@gmail.com>
46101
46102 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46103 be defined individually, they must be defined as a block. Define
46104 S for printing a string instead of hidint the different by using a
46105 macro for adding the 'l'.
46106 * stdio-common/tst-fphex-wide.c: Adjust.
46107
46108 2012-03-07 Marek Polacek <polacek@redhat.com>
46109
46110 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46111
46112 2012-03-08 Marek Polacek <polacek@redhat.com>
46113
46114 [BZ #13806]
46115 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46116 * stdio-common/tst-fphex.c: Define a few macros to make the
46117 test reusable. Use them.
46118 * stdio-common/tst-fphex-wide.c: New file.
46119
46120 2012-03-08 Joseph Myers <joseph@codesourcery.com>
46121
46122 [BZ #6911]
46123 * manual/macros.texi (gnusystems): New macro.
46124 (nongnusystems): Likewise.
46125 (gnulinuxhurdsystems): Likewise.
46126 (gnuhurdsystems): Likewise..
46127 (gnulinuxsystems): Likewise.
46128 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46129 variants of the GNU system, not "GNU system".
46130 * manual/conf.texi: Likewise.
46131 * manual/errno.texi: Likewise. Update example of errno macro
46132 expansion.
46133 * manual/filesys.texi: Likewise.
46134 (getumask): Document as specific to GNU/Hurd.
46135 * manual/install.texi: Likewise. Reword some references to
46136 GNU/Linux.
46137 * manual/intro.texi: Likewise.
46138 * manual/io.texi: Likewise.
46139 (File Name Portability): Detail which constraints are inapplicable
46140 to all GNU systems and which are only inapplicable to GNU/Hurd.
46141 * manual/job.texi: Likewise.
46142 * manual/llio.texi: Likewise.
46143 (O_NOCTTY): Document as present on GNU/Linux.
46144 * manual/maint.texi: Likewise.
46145 * manual/memory.texi: Likewise.
46146 * manual/pattern.texi: Likewise.
46147 * manual/pipe.texi: Likewise.
46148 * manual/process.texi: Likewise.
46149 * manual/resource.texi: Likewise.
46150 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46151 child on GNU/Hurd.
46152 * manual/setjmp.texi: Likewise.
46153 * manual/signal.texi: Likewise.
46154 * manual/startup.texi: Likewise.
46155 * manual/stdio.texi: Likewise.
46156 * manual/terminal.texi: Likewise.
46157 (ONLCR): Document as POSIX.
46158 (OXTABS): Document availability on GNU/Linux as XTABS.
46159 (ONOEOT): Document availability separately from other bits.
46160 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46161 * manual/time.texi: Likewise.
46162 * manual/users.texi: Likewise.
46163 * INSTALL: Regenerated.
46164 * sysdeps/gnu/errlist.c: Regenerated.
46165
46166 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46167 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46168 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46169 puts.
46170 * configure: Regenerated.
46171
46172 2012-03-07 Joseph Myers <joseph@codesourcery.com>
46173
46174 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46175 default includes instead of AC_HEADER_CHECK.
46176 * sysdeps/i386/configure: Regenerated.
46177
46178 [BZ #10716]
46179 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46180 * math/s_cacoshf.c (__cacoshf): Likewise.
46181 * math/s_cacoshl.c (__cacoshl): Likewise.
46182 * math/s_casinh.c (__casinh): Set signs of result from argument.
46183 * math/s_casinhf.c (__casinhf): Likewise.
46184 * math/s_casinhl.c (__casinhl): Likewise.
46185 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46186 (casinh_test): Add more tests.
46187 * sysdeps/i386/fpu/libm-test-ulps: Update.
46188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46189
46190 2012-03-07 Ulrich Drepper <drepper@gmail.com>
46191
46192 * po/zh_TW.po: Update from translation team.
46193
46194 * login/Makefile (distribute): Remove variable.
46195 * catgets/Makefile: Likewise.
46196 * mach/Makefile: Likewise.
46197 * malloc/Makefile: Likewise.
46198 * misc/Makefile: Likewise.
46199 * iconv/Makefile: Likewise.
46200 * nscd/Makefile: Likewise.
46201 * hurd/Makefile: Likewise.
46202 * manual/Makefile: Likewise.
46203 * locale/Makefile: Likewise.
46204 * intl/Makefile: Likewise.
46205 * conform/Makefile: Likewise.
46206 * nss/Makefile: Likewise.
46207 * time/Makefile: Likewise.
46208 * soft-fp/Makefile: Likewise.
46209 * dirent/Makefile: Likewise.
46210 * gmon/Makefile: Likewise.
46211 * po/Makefile: Likewise.
46212 * rt/Makefile: Likewise.
46213 * socket/Makefile: Likewise.
46214 * math/Makefile: Likewise.
46215 * signal/Makefile: Likewise.
46216 * debug/Makefile: Likewise.
46217 * elf/Makefile: Likewise.
46218 * timezone/Makefile: Likewise.
46219 * stdlib/Makefile: Likewise.
46220 * iconvdata/Makefile: Likewise.
46221 * sunrpc/Makefile: Likewise.
46222 * io/Makefile: Likewise.
46223 * argp/Makefile: Likewise.
46224 * inet/Makefile: Likewise.
46225 * hesiod/Makefile: Likewise.
46226 * grp/Makefile: Likewise.
46227 * csu/Makefile: Likewise.
46228 * wctype/Makefile: Likewise.
46229 * crypt/Makefile: Likewise.
46230 * libio/Makefile: Likewise.
46231 * string/Makefile: Likewise.
46232 * nis/Makefile: Likewise.
46233 * resolv/Makefile: Likewise.
46234 * stdio-common/Makefile: Likewise.
46235 * wcsmbs/Makefile: Likewise.
46236 * dlfcn/Makefile: Likewise.
46237 * posix/Makefile: Likewise.
46238
46239 [BZ #6959]
46240 * timezone/Makefile: Don't install timezone files, just the programs
46241 and scripts.
46242
46243 2012-03-06 Ulrich Drepper <drepper@gmail.com>
46244
46245 * nss/databases.def: Add missing gshadow entry.
46246
46247 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46248
46249 2012-03-06 Marek Polacek <polacek@redhat.com>
46250
46251 [BZ #13726]
46252 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46253 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46254 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46255 * stdio-common/tst-long-dbl-fphex.c: New file.
46256
46257 2012-03-06 David S. Miller <davem@davemloft.net>
46258
46259 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46260 (set_obp_int): New function.
46261 (get_obp_int): New function.
46262 (__get_clockfreq_via_dev_openprom): Likewise.
46263 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46264 Avoid unused variable warnings on 'val' and use builtin_expect.
46265 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46266 __builtin_expect.
46267 (INLINE_CLONE_SYSCALL): Likewise.
46268
46269 2012-03-05 David S. Miller <davem@davemloft.net>
46270
46271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46272
46273 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46274
46275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46276
46277 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46278 only for |x| >= 40.
46279 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46280
46281 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
46282
46283 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46284 Replace gettimeofday with __vdso_gettimeofday.
46285
46286 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46287 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46288 __vdso_clock_gettime and __vdso_getcpu.
46289
46290 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46291 time with __vdso_time.
46292
46293 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46294
46295 * manual/lang.texi (size_t): Note types to which size_t may be
46296 equivalent with the GNU C Library, but do not describe when
46297 differences between them are significant.
46298
46299 2012-03-05 Andreas Jaeger <aj@suse.de>
46300
46301 * sysdeps/i386/fpu/libm-test-ulps: Update.
46302
46303 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46304
46305 [BZ #3976]
46306 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46307 (__ieee754_pow): Save and restore rounding mode and use
46308 round-to-nearest for main computations.
46309 * math/libm-test.inc (pow_test_tonearest): New function.
46310 (pow_test_towardzero): Likewise.
46311 (pow_test_downward): Likewise.
46312 (pow_test_upward): Likewise.
46313 (main): Call the new functions.
46314 * sysdeps/i386/fpu/libm-test-ulps: Update.
46315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46316
46317 [BZ #3976]
46318 * math/libm-test.inc (cosh_test_tonearest): New function.
46319 (cosh_test_towardzero): Likewise.
46320 (cosh_test_downward): Likewise.
46321 (cosh_test_upward): Likewise.
46322 (sinh_test_tonearest): Likewise.
46323 (sinh_test_towardzero): Likewise.
46324 (sinh_test_downward): Likewise.
46325 (sinh_test_upward): Likewise.
46326 (main): Call the new functions.
46327 * sysdeps/i386/fpu/libm-test-ulps: Update.
46328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46329
46330 2012-03-05 Tom de Vries <tom@codesourcery.com>
46331
46332 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46333 default stack guard is set in last bytes.
46334 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46335
46336 2012-03-05 Kees Cook <keescook@chromium.org>
46337
46338 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46339
46340 [BZ #13656]
46341 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46342 possibly allocate from heap instead of stack.
46343 * stdio-common/bug-vfprintf-nargs.c: New file.
46344 * stdio-common/Makefile (tests): Add nargs overflow test.
46345
46346 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46347
46348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46349
46350 2012-03-03 Marek Polacek <polacek@redhat.com>
46351
46352 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46353 * math/math_private.h: Likewise.
46354 * stdlib/tst-strtod.c: Likewise.
46355 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46356 * sysdeps/x86_64/bits/atomic.h: Likewise.
46357
46358 2012-03-02 David S. Miller <davem@davemloft.net>
46359
46360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46364 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46365 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46366 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46367 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46368
46369 2012-03-02 Roland McGrath <roland@hack.frob.com>
46370
46371 [BZ #13792]
46372 * manual/examples/README: New file, says the example source files
46373 can be used under GPL>=2.
46374 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46375 line containing just "*/".
46376 * manual/examples/add.c: Add copyright header (GPL>=2).
46377 * manual/examples/argp-ex1.c: Likewise.
46378 * manual/examples/argp-ex2.c: Likewise.
46379 * manual/examples/argp-ex3.c: Likewise.
46380 * manual/examples/argp-ex4.c: Likewise.
46381 * manual/examples/atexit.c: Likewise.
46382 * manual/examples/db.c: Likewise.
46383 * manual/examples/dir.c: Likewise.
46384 * manual/examples/dir2.c: Likewise.
46385 * manual/examples/execinfo.c: Likewise.
46386 * manual/examples/filecli.c: Likewise.
46387 * manual/examples/filesrv.c: Likewise.
46388 * manual/examples/fmtmsgexpl.c: Likewise.
46389 * manual/examples/genpass.c: Likewise.
46390 * manual/examples/inetcli.c: Likewise.
46391 * manual/examples/inetsrv.c: Likewise.
46392 * manual/examples/isockad.c: Likewise.
46393 * manual/examples/longopt.c: Likewise.
46394 * manual/examples/memopen.c: Likewise.
46395 * manual/examples/memstrm.c: Likewise.
46396 * manual/examples/mkfsock.c: Likewise.
46397 * manual/examples/mkisock.c: Likewise.
46398 * manual/examples/mygetpass.c: Likewise.
46399 * manual/examples/pipe.c: Likewise.
46400 * manual/examples/popen.c: Likewise.
46401 * manual/examples/rprintf.c: Likewise.
46402 * manual/examples/search.c: Likewise.
46403 * manual/examples/select.c: Likewise.
46404 * manual/examples/setjmp.c: Likewise.
46405 * manual/examples/sigh1.c: Likewise.
46406 * manual/examples/sigusr.c: Likewise.
46407 * manual/examples/stpcpy.c: Likewise.
46408 * manual/examples/strdupa.c: Likewise.
46409 * manual/examples/strftim.c: Likewise.
46410 * manual/examples/strncat.c: Likewise.
46411 * manual/examples/subopt.c: Likewise.
46412 * manual/examples/swapcontext.c: Likewise.
46413 * manual/examples/termios.c: Likewise.
46414 * manual/examples/testopt.c: Likewise.
46415 * manual/examples/testpass.c: Likewise.
46416 * manual/examples/timeval_subtract.c: Likewise.
46417
46418 [BZ #13792]
46419 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46420 function to ...
46421 * manual/timeval_subtract.c.texi: ... here, new file.
46422
46423 2012-03-02 David S. Miller <davem@davemloft.net>
46424
46425 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46426
46427 2012-03-02 Joseph Myers <joseph@codesourcery.com>
46428
46429 [BZ #3976]
46430 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46431 (__sin): Save and restore rounding mode and use round-to-nearest
46432 for all computations.
46433 (__cos): Save and restore rounding mode and use round-to-nearest
46434 for all computations.
46435 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46436 <fenv.h>.
46437 (tan): Save and restore rounding mode and use round-to-nearest for
46438 all computations.
46439 * math/libm-test.inc (cos_test_tonearest): New function.
46440 (cos_test_towardzero): Likewise.
46441 (cos_test_downward): Likewise.
46442 (cos_test_upward): Likewise.
46443 (sin_test_tonearest): Likewise.
46444 (sin_test_towardzero): Likewise.
46445 (sin_test_downward): Likewise.
46446 (sin_test_upward): Likewise.
46447 (tan_test_tonearest): Likewise.
46448 (tan_test_towardzero): Likewise.
46449 (tan_test_downward): Likewise.
46450 (tan_test_upward): Likewise.
46451 (main): Call the new functions.
46452 * sysdeps/i386/fpu/libm-test-ulps: Update.
46453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46454
46455 [BZ #10135]
46456 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46457 small n, then large n, before computing and testing k+n.
46458 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46459 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46460 Likewise.
46461 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46462 Likewise.
46463 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46464 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46465 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46466 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46467 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46468 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46469 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46470 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46471 * math/libm-test.inc (scalbn_test): Add more tests.
46472 (scalbln_test): Likewise.
46473
46474 * manual/filesys.texi (mode_t): Describe constraints on size and
46475 signedness, not exact equivalence to a particular type.
46476 (ino_t): Likewise.
46477 (ino64_t): Likewise.
46478 (dev_t): Likewise.
46479 (nlink_t): Likewise.
46480 (blkcnt_t): Likewise.
46481 (blkcnt64_t): Likewise.
46482 * manual/llio.texi (off_t): Likewise.
46483
46484 [BZ #3976]
46485 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46486 (__ieee754_exp): Save and restore rounding mode and use
46487 round-to-nearest for all computations.
46488 * math/libm-test.inc (exp_test_tonearest): New function.
46489 (exp_test_towardzero): Likewise.
46490 (exp_test_downward): Likewise.
46491 (exp_test_upward): Likewise.
46492 (main): Call the new functions.
46493 * sysdeps/i386/fpu/libm-test-ulps: Update.
46494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46495
46496 2012-03-01 Chris Demetriou <cgd@google.com>
46497
46498 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46499 have predictable order.
46500
46501 2012-03-01 David S. Miller <davem@davemloft.net>
46502
46503 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46504
46505 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46506 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46507 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46508 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46509
46510 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46511 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46512 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46514 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46515 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46516 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46517 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46518 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46519
46520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46521
46522 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46523 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46524 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46525
46526 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46527 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46528 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46529 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46530 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46531 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46532 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46533 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46534 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46535 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46536 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46537 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46538 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46539 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46540 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46541 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46542 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46543 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46544 * sysdeps/sparc/elf/configure: Regenerated.
46545
46546 2012-03-01 Joseph Myers <joseph@codesourcery.com>
46547
46548 * configure.in (AS, LD): Require binutils 2.20 or later.
46549 * configure: Regenerated.
46550 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46551 as required minimum version.
46552 * INSTALL: Regenerated.
46553
46554 [BZ #2541]
46555 [BZ #4108]
46556 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46557 before squaring exponent.
46558 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46559 bottom long double and 27 bits of top long double before squaring
46560 exponent.
46561 * math/libm-test.inc (erfc_test): Add more tests.
46562 * sysdeps/i386/fpu/libm-test-ulps: Update.
46563 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46565
46566 2012-03-01 Kai Tietz <ktietz@redhat.com>
46567
46568 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46569 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46570 containing bit-fields.
46571 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46572 * soft-fp/single.h (_FP_UNION_S): Likewise.
46573 * soft-fp/double.h (_FP_UNION_D): Likewise.
46574
46575 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46576
46577 [BZ #13786]
46578 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46579 not include ../strcmp.S.
46580 [USE_AS_STRNCASECMP_L]: Likewise.
46581 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46582 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46583 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46584 (__strncasecmp_l_ia32): Define as alias to
46585 __strncasecmp_l_nonascii.
46586
46587 [BZ #5794]
46588 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46589 * sysdeps/i386/fpu/libm-test-ulps: Update.
46590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46591
46592 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46594
46595 2012-02-29 Jeff Law <law@redhat.com>
46596
46597 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46598 out of bounds read.
46599
46600 2012-02-29 Marek Polacek <polacek@redhat.com>
46601
46602 [BZ #13706]
46603 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46604 * elf/Makefile: Add rules to run tst-unused-dep.out.
46605
46606 2012-02-28 David S. Miller <davem@davemloft.net>
46607
46608 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46609 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46610 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46611 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46612 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46613 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46614
46615 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46616
46617 * math/libm-test.inc (llround_test): Move one test from
46618 lround_test. Use TEST_f_L in moved test.
46619 (lround_test): Move misplaced test to llround_test. Add testcase
46620 from bug 2561.
46621
46622 2012-02-28 Ulrich Drepper <drepper@gmail.com>
46623
46624 * sysdeps/x86_64/fpu/e_expf.S: New file.
46625 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46626
46627 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46628
46629 [BZ #13637]
46630 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46631 of remain_len that may cause incomplete multi-byte character and
46632 false match.
46633 * posix/bug-regex33.c: New file.
46634 * posix/Makefile (tests): Add bug-regex33.
46635
46636 2012-02-28 Joseph Myers <joseph@codesourcery.com>
46637
46638 * manual/macros.texi: New file.
46639 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46640 * manual/libc.texinfo: Include macros.texi.
46641 * manual/creatute.texi: Likewise.
46642 * manual/install.texi: Likewise.
46643 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46644 @glibcadj{} in references to the GNU C Library.
46645 * manual/charset.texi: Likewise.
46646 * manual/conf.texi: Likewise.
46647 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46648 when not using those macros.
46649 * manual/creature.texi: Likewise.
46650 * manual/crypt.texi: Likewise.
46651 * manual/errno.texi: Likewise.
46652 * manual/filesys.texi: Likewise.
46653 * manual/header.texi: Likewise.
46654 * manual/install.texi: Likewise.
46655 * manual/intro.texi: Likewise.
46656 * manual/io.texi: Likewise.
46657 * manual/job.texi: Likewise.
46658 * manual/lang.texi: Likewise.
46659 * manual/libc.texiinfo: Likewise.
46660 * manual/llio.texi: Likewise.
46661 * manual/locale.texi: Likewise.
46662 * manual/maint.texi: Likewise.
46663 * manual/math.texi: Likewise.
46664 * manual/memory.texi: Likewise.
46665 * manual/message.texi: Likewise.
46666 * manual/nss.texi: Likewise.
46667 * manual/pattern.texi: Likewise.
46668 * manual/process.texi: Likewise.
46669 * manual/resource.texi: Likewise.
46670 * manual/search.texi: Likewise.
46671 * manual/setjmp.texi: Likewise.
46672 * manual/signal.texi: Likewise.
46673 * manual/socket.texi: Likewise.
46674 * manual/startup.texi: Likewise.
46675 * manual/stdio.texi: Likewise.
46676 * manual/string.texi: Likewise.
46677 * manual/sysinfo.texi: Likewise.
46678 * manual/syslog.texi: Likewise.
46679 * manual/terminal.texi: Likewise.
46680 * manual/time.texi: Likewise.
46681 * manual/users.texi: Likewise.
46682 * INSTALL: Regenerated.
46683 * NOTES: Regenerated.
46684 * sysdeps/gnu/errlist.c: Regenerated.
46685
46686 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46687
46688 * include/dirent.h: Include <dirstream.h> before
46689 <dirent/dirent.h>.
46690
46691 2012-02-28 David S. Miller <davem@davemloft.net>
46692
46693 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46694 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46695 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46696 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46697
46698 2012-02-27 David S. Miller <davem@davemloft.net>
46699
46700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46702 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46703 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46704
46705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46706 frame pointer instead of stack pointer relative arg slot.
46707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46708 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46709 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46710
46711 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46712
46713 [BZ #3992]
46714 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46715
46716 2012-02-27 David S. Miller <davem@davemloft.net>
46717
46718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46722 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46723 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46724 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46725 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46726
46727 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46728
46729 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46730 later. Allow versions 5-9.
46731 * configure: Regenerated.
46732 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46733 required minimum version and 4.6 as recommended version. Do not
46734 mention bugs in GCC 2.7 and 2.8.
46735 * INSTALL: Regenerated.
46736
46737 2012-02-27 David S. Miller <davem@davemloft.net>
46738
46739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46743 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46744 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46745 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46746 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46747
46748 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46749 manipulate bits before adding and subtracting TWO112[sx].
46750 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46751
46752 2012-02-27 Roland McGrath <roland@hack.frob.com>
46753
46754 [BZ #13775]
46755 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46756 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46757 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46758 being in POSIX, because they are in 1003.1-2008.
46759
46760 * rt/tst-aio.c: Include <fcntl.h>.
46761 * rt/tst-aio7.c: Likewise.
46762 * rt/tst-aio64.c: Likewise.
46763
46764 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46765
46766 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46767
46768 * manual/install.texi (--with-headers): Describe headers as
46769 interface headers, not private headers.
46770 (Specific advice for GNU/Linux systems): Describe use of headers
46771 from "make headers_install", not private headers from older
46772 kernels.
46773 * INSTALL: Regenerated.
46774 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46775 Change to 2.6.19.
46776 * sysdeps/unix/sysv/linux/configure: Regenerated.
46777
46778 * manual/llio.texi (fclean): Remove documentation.
46779
46780 * manual/Makefile (libc-texi-generated): New variable. Include
46781 version.texi.
46782 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46783 $(libc-texi-generated), not duplicated list of files.
46784 (version.texi, stamp-version): New rules.
46785 (realclean): Remove $(libc-texi-generated), not individual files
46786 from that list. Do not remove dir-add.texinfo.
46787 * manual/libc.texinfo: Comment out uses of edition numbers and
46788 references to printed manual. Remove last-updated dates.
46789 (EDITION): Comment out.
46790 (ISBN): Likewise.
46791 (VERSION, UPDATED): Remove.
46792 (version.texi): Include.
46793
46794 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46795
46796 * sysdeps/posix/spawni.c: Include <signal.h>.
46797 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46798 * sysdeps/pthread/aio_fsync.c: Likewise.
46799
46800 2012-02-26 Ulrich Drepper <drepper@gmail.com>
46801
46802 * conform/Makefile (tests): Run only when not cross-compiling and
46803 when fast-check is not defined.
46804
46805 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46806 * conform/data/limits.h-data: Fixes for POSIX2008.
46807 * conform/run-conformtest.sh: Run all tests.
46808 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46809 headers.
46810 * include/bits/dlfcn.h: Likewise.
46811 * include/langinfo.h: Likewise.
46812 * include/monetary.h: Likewise.
46813 * include/sys/poll.h: Likewise.
46814
46815 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46816 for __USE_GNU.
46817 * posix/spawn.h: Define __need_sigset_t.
46818 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46819 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46820 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46821 to get sigevent_t only.
46822 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46823 only for __USE_GNU.
46824 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46825 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46826 process_vm_writev only for __USE_GNU.
46827 * termios/termios.h: Declare tcgetsid also for POSIX2008.
46828
46829 * conform/Makefile: For now ignore errors from run-conformtest.
46830 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46831 POSIX to avoid namespace pollution. Don't prepend headers.
46832 * conform/data/aio.h-data: Fixes for POSIX testing.
46833 * conform/data/fcntl.h-data: Likewise.
46834 * conform/data/glob.h-data: Likewise.
46835 * conform/data/grp.h-data: Likewise.
46836 * conform/data/pthread.h-data: Likewise.
46837 * conform/data/pwd.h-data: Likewise.
46838 * conform/data/signal.h-data: Likewise.
46839 * conform/data/spawn.h-data: Likewise.
46840 * conform/data/stdio.h-data: Likewise.
46841 * conform/data/stdlib.h-data: Likewise.
46842 * conform/data/stropts.h-data: Likewise.
46843 * conform/data/sys/mman.h-data: Likewise.
46844 * conform/data/sys/stat.h-data: Likewise.
46845 * conform/data/sys/types.h-data: Likewise.
46846 * conform/data/sys/wait.h-data: Likewise.
46847 * conform/data/time.h-data: Likewise.
46848 * conform/data/unistd.h-data: Likewise.
46849 * conform/data/utime.h-data: Likewise.
46850
46851 * io/sys/stat.h: fchmod was always in POSIX.
46852 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46853 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46854 * rt/aio.h: Define __need_timespec before including <time.h>.
46855 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46856 struct. Add forward declaration of pthread_attr_t and use it in
46857 sigevent.
46858 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46859 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46860 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46861 always remove CLK_TCK definition.
46862
46863 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46864
46865 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46866
46867 2012-02-25 Ulrich Drepper <drepper@gmail.com>
46868
46869 * conform/run-conformtest.sh: New file.
46870 * conform/Makefile: Run run-conformtest for tests.
46871 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46872 support.
46873
46874 * conform/data/uchar.h-data: New file.
46875 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46876 * conform/data/arpa/inet.h-data: Likewise.
46877 * conform/data/assert.h-data: Likewise.
46878 * conform/data/complex.h-data: Likewise.
46879 * conform/data/cpio.h-data: Likewise.
46880 * conform/data/ctype.h-data: Likewise.
46881 * conform/data/dirent.h-data: Likewise.
46882 * conform/data/dlfcn.h-data: Likewise.
46883 * conform/data/errno.h-data: Likewise.
46884 * conform/data/fcntl.h-data: Likewise.
46885 * conform/data/float.h-data: Likewise.
46886 * conform/data/fmtmsg.h-data: Likewise.
46887 * conform/data/fnmatch.h-data: Likewise.
46888 * conform/data/ftw.h-data: Likewise.
46889 * conform/data/glob.h-data: Likewise.
46890 * conform/data/grp.h-data: Likewise.
46891 * conform/data/iconv.h-data: Likewise.
46892 * conform/data/inttypes.h-data: Likewise.
46893 * conform/data/langinfo.h-data: Likewise.
46894 * conform/data/libgen.h-data: Likewise.
46895 * conform/data/limits.h-data: Likewise.
46896 * conform/data/locale.h-data: Likewise.
46897 * conform/data/math.h-data: Likewise.
46898 * conform/data/monetary.h-data: Likewise.
46899 * conform/data/mqueue.h-data: Likewise.
46900 * conform/data/ndbm.h-data: Likewise.
46901 * conform/data/net/if.h-data: Likewise.
46902 * conform/data/netdb.h-data: Likewise.
46903 * conform/data/netinet/in.h-data: Likewise.
46904 * conform/data/nl_types.h-data: Likewise.
46905 * conform/data/poll.h-data: Likewise.
46906 * conform/data/pthread.h-data: Likewise.
46907 * conform/data/pwd.h-data: Likewise.
46908 * conform/data/regex.h-data: Likewise.
46909 * conform/data/sched.h-data: Likewise.
46910 * conform/data/search.h-data: Likewise.
46911 * conform/data/semaphore.h-data: Likewise.
46912 * conform/data/setjmp.h-data: Likewise.
46913 * conform/data/signal.h-data: Likewise.
46914 * conform/data/spawn.h-data: Likewise.
46915 * conform/data/stdarg.h-data: Likewise.
46916 * conform/data/stdio.h-data: Likewise.
46917 * conform/data/stdlib.h-data: Likewise.
46918 * conform/data/string.h-data: Likewise.
46919 * conform/data/strings.h-data: Likewise.
46920 * conform/data/stropts.h-data: Likewise.
46921 * conform/data/sys/ipc.h-data: Likewise.
46922 * conform/data/sys/mman.h-data: Likewise.
46923 * conform/data/sys/msg.h-data: Likewise.
46924 * conform/data/sys/resource.h-data: Likewise.
46925 * conform/data/sys/select.h-data: Likewise.
46926 * conform/data/sys/sem.h-data: Likewise.
46927 * conform/data/sys/shm.h-data: Likewise.
46928 * conform/data/sys/socket.h-data: Likewise.
46929 * conform/data/sys/stat.h-data: Likewise.
46930 * conform/data/sys/statvfs.h-data: Likewise.
46931 * conform/data/sys/time.h-data: Likewise.
46932 * conform/data/sys/timeb.h-data: Likewise.
46933 * conform/data/sys/times.h-data: Likewise.
46934 * conform/data/sys/types.h-data: Likewise.
46935 * conform/data/sys/uio.h-data: Likewise.
46936 * conform/data/sys/un.h-data: Likewise.
46937 * conform/data/sys/utsname.h-data: Likewise.
46938 * conform/data/sys/wait.h-data: Likewise.
46939 * conform/data/syslog.h-data: Likewise.
46940 * conform/data/tar.h-data: Likewise.
46941 * conform/data/termios.h-data: Likewise.
46942 * conform/data/utime.h-data: Likewise.
46943 * conform/data/utmpx.h-data: Likewise.
46944 * conform/data/varargs.h-data: Likewise.
46945 * conform/data/wchar.h-data: Likewise.
46946 * conform/data/wctype.h-data: Likewise.
46947 * conform/data/wordexp.h-data: Likewise.
46948
46949 * include/stropts.h: New file.
46950 * include/uchar.h: New file.
46951 * include/aio.h: Changes to allow conformtest.pl to use the headers.
46952 * include/assert.h: Likewise.
46953 * include/ctype.h: Likewise.
46954 * include/dirent.h: Likewise.
46955 * include/dlfcn.h: Likewise.
46956 * include/fcntl.h: Likewise.
46957 * include/fnmatch.h: Likewise.
46958 * include/glob.h: Likewise.
46959 * include/grp.h: Likewise.
46960 * include/libio.h: Likewise.
46961 * include/locale.h: Likewise.
46962 * include/math.h: Likewise.
46963 * include/net/if.h: Likewise.
46964 * include/netdb.h: Likewise.
46965 * include/netinet/in.h: Likewise.
46966 * include/pthread.h: Likewise.
46967 * include/pwd.h: Likewise.
46968 * include/regex.h: Likewise.
46969 * include/sched.h: Likewise.
46970 * include/search.h: Likewise.
46971 * include/setjmp.h: Likewise.
46972 * include/signal.h: Likewise.
46973 * include/stdio.h: Likewise.
46974 * include/stdlib.h: Likewise.
46975 * include/string.h: Likewise.
46976 * include/sys/cdefs.h: Likewise.
46977 * include/sys/mman.h: Likewise.
46978 * include/sys/msg.h: Likewise.
46979 * include/sys/resource.h: Likewise.
46980 * include/sys/select.h: Likewise.
46981 * include/sys/socket.h: Likewise.
46982 * include/sys/stat.h: Likewise.
46983 * include/sys/statvfs.h: Likewise.
46984 * include/sys/time.h: Likewise.
46985 * include/sys/times.h: Likewise.
46986 * include/sys/uio.h: Likewise.
46987 * include/sys/utsname.h: Likewise.
46988 * include/sys/wait.h: Likewise.
46989 * include/termios.h: Likewise.
46990 * include/time.h: Likewise.
46991 * include/ulimit.h: Likewise.
46992 * include/unistd.h: Likewise.
46993 * include/utime.h: Likewise.
46994 * include/wchar.h: Likewise.
46995 * include/wctype.h: Likewise.
46996 * include/wordexp.h: Likewise.
46997
46998 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46999
47000 * time/time.h: TIME_UTC must be a macro.
47001 Make timespec_get available for ISO C11 only as well.
47002
47003 2012-02-24 Ulrich Drepper <drepper@gmail.com>
47004
47005 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47006 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47007
47008 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47009
47010 * configure.in: Use -o not -a in test for unsupported multi-arch.
47011
47012 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47013
47014 * manual/texinfo.tex: Update to version 2012-01-19.16.
47015
47016 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47017
47018 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47019
47020 2012-02-24 Roland McGrath <roland@hack.frob.com>
47021
47022 [BZ #13738]
47023 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47024 * manual/fdl-1.3.texi: New file.
47025 * manual/fdl-1.1.texi: File removed.
47026
47027 [BZ #13738]
47028 * manual/libc.texinfo (FDL_VERSION): New @set.
47029 Use it for mention of FDL in cover text.
47030 (Documentation License): Use it in @include file name.
47031
47032 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47033 Roland McGrath <roland@hack.frob.com>
47034
47035 [BZ #5461]
47036 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47037 (not LONG_LONG_MAX and LONG_LONG_MIN.
47038 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47039 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47040 name.
47041 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47042
47043 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47044
47045 [BZ #2547]
47046 [BZ #11365]
47047 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47048 manipulate bits before adding and subtracting TWO23[sx].
47049 * math/libm-test.inc (nearbyint_test): Add more tests.
47050
47051 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47052
47053 [BZ #2548]
47054 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47055 bits before adding and subtracting TWO23[sx].
47056 * math/libm-test.inc (rint_test): Add more tests.
47057 (rint_test_tonearest): Likewise.
47058 (rint_test_towardzero): Likewise.
47059 (rint_test_downward): Likewise.
47060 (rint_test_upward: Likewise.
47061
47062 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47063
47064 [BZ #10110]
47065 * include/stdc-predef.h: New file. Extracted from features.h.
47066 * include/features.h: Include stdc-predef.h.
47067 * Makefile (headers): Add stdc-predef.h.
47068 * CONFORMANCE (Compiler limitations): Update.
47069
47070 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47071
47072 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47073
47074 2012-02-21 David S. Miller <davem@davemloft.net>
47075
47076 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47077 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47078
47079 2012-02-20 David S. Miller <davem@davemloft.net>
47080
47081 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47082 using a normal save/restore sequence, rather than allocating a
47083 dummy stack frame just to store a frame pointer and restore.
47084 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47085
47086 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47087
47088 * manual/install.texi: Fix stray word in line-wrapped comment.
47089
47090 2012-02-20 David S. Miller <davem@davemloft.net>
47091
47092 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47093 both binutils and gcc support GOTDATA.
47094
47095 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47096 "rd %pc" in the PIC register setup sequences.
47097
47098 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47099 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47100 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47101 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47102 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47103 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47104 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47105 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47106 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47107 (SYSCALL_ERROR_HANDLER): Likewise.
47108 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47109 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47110 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47111 (SYSCALL_ERROR_HANDLER): Likewise.
47112
47113 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47114 (HAVE_GCC_GOTDATA): New.
47115 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47116 relocation support in both binutils and gcc.
47117 * sysdeps/sparc/elf/configure: Regenerate.
47118
47119 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47120 * sysdeps/sparc/sparc32/elf/configure: Delete.
47121 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47122 * sysdeps/sparc/sparc64/elf/configure: Delete.
47123 * sysdeps/sparc/elf/configure.in: New file.
47124 * sysdeps/sparc/elf/configure: Generate.
47125
47126 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47127 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47128 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47129 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47130 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47131
47132 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47133
47134 * manual/install.texi: Do not mention specific glibc version
47135 numbers.
47136 * manual/libc.texinfo (VERSION, UPDATED): Update.
47137 (@copying): Use @copyright{} and range of years.
47138
47139 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47140
47141 [BZ #13695]
47142 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47143 [crti.S not in sysdirs] (generated): Do not append.
47144 [crti.S not in sysdirs] (omit-deps): Likewise.
47145 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47146 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47147 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47148 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47149 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47150 Likewise.
47151 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47152 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47153 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47154 * csu/defs.awk: Remove file.
47155 * sysdeps/generic/initfini.c: Likewise.
47156 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47157 variable.
47158 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47159 Likewise.
47160
47161 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47162
47163 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47164 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47165 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47166 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47167 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47168 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47169 <bits/epoll.h>.
47170 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47171 (__EPOLL_PACKED): Define to empty if not defined by
47172 <bits/epoll.h>.
47173 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47174 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47175 bits/epoll.h.
47176
47177 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47178
47179 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47180 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47181 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47182 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47183 <bits/timerfd.h>.
47184 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47185 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47186 bits/timerfd.h.
47187
47188 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47189
47190 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47191 in C locale.
47192 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47193 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47194 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47196
47197 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47198
47199 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47200 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47201
47202 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47203
47204 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47205 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47206 defined.
47207 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47208 Likewise.
47209 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47210 entry for 2.16.
47211
47212 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47213
47214 * math/w_acos.c: Use non-signaling floating-point comparisons.
47215 * math/w_acosf.c: Likewise.
47216 * math/w_acosh.c: Likewise.
47217 * math/w_acoshf.c: Likewise.
47218 * math/w_acoshl.c: Likewise.
47219 * math/w_acosl.c: Likewise.
47220 * math/w_asin.c: Likewise.
47221 * math/w_asinf.c: Likewise.
47222 * math/w_asinl.c: Likewise.
47223 * math/w_atanh.c: Likewise.
47224 * math/w_atanhf.c: Likewise.
47225 * math/w_atanhl.c: Likewise.
47226 * math/w_exp2.c: Likewise.
47227 * math/w_exp2f.c: Likewise.
47228 * math/w_exp2l.c: Likewise.
47229 * math/w_j0.c: Likewise.
47230 * math/w_j0f.c: Likewise.
47231 * math/w_j0l.c: Likewise.
47232 * math/w_j1.c: Likewise.
47233 * math/w_j1f.c: Likewise.
47234 * math/w_j1l.c: Likewise.
47235 * math/w_jn.c: Likewise.
47236 * math/w_jnf.c: Likewise.
47237 * math/w_log.c: Likewise.
47238 * math/w_log10.c: Likewise.
47239 * math/w_log10f.c: Likewise.
47240 * math/w_log10l.c: Likewise.
47241 * math/w_log2.c: Likewise.
47242 * math/w_log2f.c: Likewise.
47243 * math/w_log2l.c: Likewise.
47244 * math/w_logf.c: Likewise.
47245 * math/w_logl.c: Likewise.
47246 * math/w_sqrt.c: Likewise.
47247 * math/w_sqrtf.c: Likewise.
47248 * math/w_sqrtl.c: Likewise.
47249 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47250 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47251 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47252 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47253 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47254
47255 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47256
47257 [BZ #9739]
47258 * manual/string.texi (strnlen): Use correct parameter name in
47259 equivalent expression.
47260
47261 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47262
47263 [BZ #11174]
47264 * manual/users.texi (seteuid): Consistently use neweuid for
47265 argument name.
47266
47267 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47268
47269 [BZ #13704]
47270 * manual/nss.texi (Services in the NSS configuration): Correct
47271 list of services in example configuration file.
47272
47273 2012-02-19 Nick Bowler <nbowler@draconx.ca>
47274
47275 [BZ #11322]
47276 * manual/arith.texi: Remove statements about negative zero
47277 behaving identically to zero.
47278
47279 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47280
47281 [BZ #5993]
47282 * manual/install.texi: Do not document upgrading from libc5.
47283
47284 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47285
47286 [BZ #4596]
47287 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47288
47289 2012-02-18 David S. Miller <davem@davemloft.net>
47290
47291 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47292 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47293 %o7 across the call.
47294 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47295 instead.
47296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47297 SETUP_PIC_REG_LEAF.
47298 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47299 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47300 * sysdeps/sparc/crtn.S: Likewise.
47301
47302 2012-02-17 Ulrich Drepper <drepper@gmail.com>
47303
47304 * aout/Makefile: Remove.
47305
47306 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47307
47308 [BZ #13058]
47309 * manual/examples/argp-ex1.c (main): Format definition in GNU
47310 style.
47311 * manual/examples/argp-ex2.c (main): Likewise.
47312 * manual/examples/argp-ex3.c (main): Likewise.
47313 * manual/examples/argp-ex4.c (main): Likewise.
47314 * manual/examples/longopt.c (main): Use new-style prototype
47315 definition.
47316 * manual/examples/strncat.c (main): Specify return type and use
47317 (void) for arguments.
47318 * manual/examples/subopt.c (main): Use char **argv argument.
47319
47320 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47321
47322 [BZ #5077]
47323 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47324 rounding modes.
47325
47326 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47327
47328 [BZ #6907]
47329 * manual/string.texi (strchr): Change when strchrnul is
47330 recommended.
47331
47332 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47333
47334 [BZ #174]
47335 * manual/locale.texi (setlocale): Document LOCPATH.
47336
47337 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47338
47339 [BZ #10210]
47340 * manual/process.texi (execle): Move @dots{} before last argument.
47341
47342 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
47343
47344 [BZ #12047]
47345 * manual/charset.texi (Generic Charset Conversion): Fix typo
47346 (LC_TYPE -> LC_CTYPE).
47347
47348 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47349
47350 [BZ #5805]
47351 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47352 (scalbnf): Likewise.
47353 (scalbnl): Likewise.
47354 (scalbln): Likewise.
47355 (scalblnf): Likewise.
47356 (scalblnl): Likewise.
47357 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47358 (vwarnx): Likewise.
47359 (verr): Likewise.
47360 (verrx): Likewise.
47361 * manual/filesys.texi (telldir): Use braces around return type.
47362 * manual/llio.texi (mmap): Add space after comma.
47363 (mmap64): Likewise.
47364 * manual/math.texi (jn): Use @var{} on parameter names.
47365 (jnf): Likewise.
47366 (jnl): Likewise.
47367 (yn): Likewise.
47368 (ynf): Likewise.
47369 (ynl): Likewise.
47370 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47371 line.
47372 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47373 "...".
47374 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47375 (sched_get_priority_max): Likewise.
47376 * manual/signal.texi (sigvec): Add space after comma.
47377 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47378 names.
47379 (if_indextoname): Likewise.
47380 (if_freenameindex): Likewise.
47381 (sendto): Use ',' instead of '.' in prototype.
47382 * manual/startup.texi (syscall): Use @dots{} instead of literal
47383 "...".
47384 * manual/stdio.texi (__fpending): Separate initial words of
47385 paragraph from @deftypefun line.
47386 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47387 "...".
47388 (vsyslog): Use @var{} on parameter names.
47389 * manual/terminal.texi (stty): Use @var{} on parameter names.
47390 * manual/users.texi (getutmp): Use @var{} on parameter names.
47391 (getutmpx): Likewise.
47392
47393 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47394
47395 [BZ #6884]
47396 * manual/stdio.texi (fopen): Fix typos in description of
47397 ",ccs=STRING".
47398
47399 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47400
47401 [BZ #4026]
47402 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47403 get clock_id definition.
47404
47405 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
47406
47407 [BZ #4822]
47408 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47409 (madvise): Cast every argument to void on its own.
47410
47411 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47412
47413 [BZ #9902]
47414 * manual/startup.texi (Exit Status): Fix typo.
47415
47416 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47417
47418 [BZ #10140]
47419 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47420 * manual/examples/argp-ex2.c: Likewise.
47421 * manual/examples/argp-ex3.c: Likewise.
47422
47423 2012-02-16 Richard Henderson <rth@redhat.com>
47424
47425 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47426 * sysdeps/s390/s390-32/initfini.c: Remove.
47427 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47428 * sysdeps/s390/s390-64/initfini.c: Remove.
47429
47430 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47431
47432 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47433 compiler output for sysdeps/generic/initfini.c.
47434 * sysdeps/sh/elf/initfini.c: Remove file.
47435
47436 2012-02-16 David S. Miller <davem@davemloft.net>
47437
47438 [BZ #11494]
47439 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47440
47441 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47442 * sysdeps/sparc/crti.S: New file.
47443 * sysdeps/sparc/crtn.S: New file.
47444 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47445 * sysdeps/sparc/sparc64/Makefile: Likewise.
47446
47447 2012-02-15 Mike Frysinger <vapier@gentoo.org>
47448
47449 [BZ #3335]
47450 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47451
47452 2012-02-15 Roland McGrath <roland@hack.frob.com>
47453
47454 [BZ #4822]
47455 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47456
47457 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47458 (write, read, close): Likewise.
47459 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47460
47461 2012-02-15 Joseph Myers <joseph@codesourcery.com>
47462
47463 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47464 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47465 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47466 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47467 <bits/signalfd.h>.
47468 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47469 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47470 bits/signalfd.h.
47471
47472 2012-02-14 Marek Polacek <polacek@redhat.com>
47473
47474 * sysdeps/x86_64/crti.S: New file.
47475 * sysdeps/x86_64/crtn.S: New file.
47476 * sysdeps/x86_64/elf/initfini.c: Remove file.
47477
47478 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47479
47480 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47481 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47482 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47483 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47484 <bits/inotify.h>.
47485 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47486 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47487 bits/inotify.h.
47488
47489 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47490
47491 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47492 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47493 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47494 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47495 <bits/eventfd.h>.
47496 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47497 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47498 bits/eventfd.h.
47499
47500 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47501
47502 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47503 __feraiseexcept instead of feraiseexcept.
47504
47505 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47506 nanosleep invocations.
47507 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47508 strings, and add error checking for a nanosleep invocations.
47509
47510 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47511
47512 Replace FSF snail mail address with URLs, as per GNU coding standards.
47513 Most of the snail mail addresses were wrong anyway, and omitting
47514 them makes the source code easier to maintain. Almost all of the
47515 changes are to license notices and to locale LC_IDENTIFICATION
47516 addresses, except for this one:
47517 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47518 not its snail mail address.
47519
47520 2012-02-09 Richard Henderson <rth@twiddle.net>
47521
47522 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47523 of kernel-features.h.
47524
47525 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47526
47527 2012-02-08 Marek Polacek <polacek@redhat.com>
47528
47529 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47530 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47531 * sysdeps/gnu/_G_config.h: Likewise.
47532 * sysdeps/generic/_G_config.h: Likewise.
47533
47534 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47535
47536 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47537 tests.
47538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47539
47540 * sysdeps/powerpc/powerpc32/crti.S: New file.
47541 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47542 * sysdeps/powerpc/powerpc64/crti.S: New file.
47543 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47544
47545 * Makeconfig (have-initfini): Don't set.
47546 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47547 * configure.in (nopic_initfini): Don't substitute.
47548 * config.h.in (HAVE_INITFINI): Don't #undef.
47549 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47550 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47551
47552 2012-02-08 Joseph Myers <joseph@codesourcery.com>
47553
47554 Support crti.S and crtn.S provided directly by architectures.
47555 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47556 [crti.S in sysdirs] (omit-deps): Likewise.
47557 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47558 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47559 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47560 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47561 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47562 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47563 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47564 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47565 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47566 compiler output for sysdeps/generic/initfini.c.
47567 * sysdeps/i386/elf/Makefile: Remove file.
47568 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47569
47570 2012-02-07 Marek Polacek <polacek@redhat.com>
47571
47572 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47573 * sysdeps/gnu/_G_config.h: Likewise.
47574 * sysdeps/mach/hurd/_G_config.h: Likewise.
47575
47576 2012-02-07 Marek Polacek <polacek@redhat.com>
47577
47578 * math/Makefile (tests): Add tst-CMPLX2.
47579 * math/tst-CMPLX2.c: New file.
47580
47581 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47582
47583 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47584
47585 * math/libm-test.inc (jn_test): Add missing L suffix.
47586
47587 2012-02-06 Marek Polacek <polacek@redhat.com>
47588
47589 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47590 * sysdeps/i386/fpu/e_powf.S: Likewise.
47591 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47592 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47593 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47594 * sysdeps/i386/fpu/e_pow.S: Likewise.
47595 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47596 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47597 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47598 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47599 * sysdeps/i386/fpu/e_log2.S: Likewise.
47600 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47601 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47602 * sysdeps/i386/fpu/e_powl.S: Likewise.
47603 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47604 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47605 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47606 * sysdeps/i386/fpu/e_logl.S: Likewise.
47607 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47608 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47609 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47610 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47611 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47612 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47613 * sysdeps/i386/fpu/e_log.S: Likewise.
47614 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47615 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47616 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47617 * sysdeps/i386/fpu/e_logf.S: Likewise.
47618 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47619 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47620 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47621 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47622 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47623 * sysdeps/i386/fpu/e_log10.S: Likewise.
47624 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47625 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47626 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47627 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47628 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47629 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47630 * sysdeps/i386/asm-syntax.h: Likewise.
47631 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47632 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47633 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47634 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47635 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47636 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47637 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47638 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47639 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47640 * sysdeps/powerpc/sysdep.h: Likewise.
47641 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47642 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47643
47644 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47645
47646 [BZ #411]
47647 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47648
47649 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47650
47651 * sysdeps/i386/sysdep.h: Include <features.h>.
47652 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47653 version.
47654
47655 2012-02-05 Joseph Myers <joseph@codesourcery.com>
47656
47657 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47658 Define.
47659 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47660 LOAD_PIC_REG_STR.
47661
47662 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47663
47664 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47665 (SETUP_PIC_REG): Use GET_PC_THUNK.
47666 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47667 macro.
47668
47669 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47670
47671 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47672 for non-PIC compilation.
47673 (SETUP_PIC_REG): Add .p2align directive.
47674 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47675 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47676 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47677 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47678 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47679 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47680 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47681 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47682 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47683 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47684 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47685 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47686 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47687 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47688 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47689 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47690 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47691 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47692 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47693 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47694 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47695 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47696 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47697 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47698 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47699 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47700 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47701 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47702 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47703 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47704 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47705 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47706 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47707 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47708 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47709 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47710 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47711 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47712 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47713 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47714 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47715
47716 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47717
47718 * math/tst-CMPLX.c: Include <stdio.h>.
47719
47720 2012-01-31 Joseph Myers <joseph@codesourcery.com>
47721
47722 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47723 float.
47724 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47725 * sysdeps/sparc/bits/mathdef.h: Likewise.
47726
47727 2012-01-31 Marek Polacek <polacek@redhat.com>
47728
47729 * libio/libio.h: Don't define _PARAMS.
47730 * locale/programs/config.h: Don't define PARAMS.
47731 * stdlib/strtol_l.c: Likewise.
47732 (__strtol_l): Remove PARAMS from the prototype.
47733
47734 2012-01-31 Ulrich Drepper <drepper@gmail.com>
47735
47736 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47737 names. Just use the correct names. Remove unnecessary wrapper
47738 functions.
47739 * malloc/arena.c: Likewise.
47740 * malloc/hooks.c: Likewise.
47741
47742 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47743 ARENA_TEST says not to. Simplify test for creation of a new arena.
47744 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47745
47746 2012-01-30 Ulrich Drepper <drepper@gmail.com>
47747
47748 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47749 into tail calls.
47750 (update_get_addr): New function.
47751 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47752 GET_ADDR_MODULE parameter.
47753
47754 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47755
47756 * crypt/cert.c: Remove __STDC__ conditionals.
47757 * crypt/crypt-entry.c: Likewise.
47758 * crypt/crypt_util.c: Likewise.
47759 * libio/filedoalloc.c: Likewise.
47760 * libio/fileops.c: Likewise.
47761 * libio/genops.c: Likewise.
47762 * libio/iofclose.c: Likewise.
47763 * libio/iofdopen.c: Likewise.
47764 * libio/iofopen.c: Likewise.
47765 * libio/iofopen64.c: Likewise.
47766 * libio/iogetdelim.c: Likewise.
47767 * libio/iopopen.c: Likewise.
47768 * libio/obprintf.c: Likewise.
47769 * libio/oldfileops.c: Likewise.
47770 * libio/oldiofclose.c: Likewise.
47771 * libio/oldiofdopen.c: Likewise.
47772 * libio/oldiofopen.c: Likewise.
47773 * libio/oldiopopen.c: Likewise.
47774 * libio/wfiledoalloc.c: Likewise.
47775 * libio/wgenops.c: Likewise.
47776 * locale/programs/xmalloc.c: Likewise.
47777 * misc/syslog.c: Likewise.
47778 * stdio-common/xbug.c: Likewise.
47779 * string/memchr.c: Likewise.
47780 * string/memcmp.c: Likewise.
47781 * string/memrchr.c: Likewise.
47782 * string/rawmemchr.c: Likewise.
47783 * sysdeps/posix/getcwd.c: Likewise.
47784 * time/strftime_l.c: Likewise.
47785
47786 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47787
47788 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47789 * config.make.in (config-cflags-sse2avx): Define.
47790 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47791 Fix typo.
47792
47793 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47794
47795 * scripts/config.guess: Update from upstream config git repository.
47796 * scripts/config.sub: Likewise.
47797
47798 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47799
47800 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47801 (EM_NUM): Update.
47802 (R_TILEPRO_*, R_TILEGX_*): New macros.
47803
47804 * scripts/firstversions.awk: Fix bug in version range handling.
47805
47806 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47807
47808 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47809
47810 * include/sys/epoll.h: New file.
47811 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47812 libc_hidden_def.
47813
47814 2012-01-28 Ulrich Drepper <drepper@gmail.com>
47815
47816 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47817 Avoid unnecessary __WORDSIZE == 64 test.
47818 (fmaxf): Use VEX format if possible.
47819 (fmax): Likewise.
47820 (fminf): Likewise.
47821 (fmin): Likewise.
47822
47823 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47824 * math/math_private.h: Remove libc_fegetround* and
47825 libc_fesetround*.
47826 * sysdeps/i386/configure.in: Check for -msse2avx.
47827 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47828 also if SSE2AVX is defined.
47829 Remove libc_fegetround* and libc_fesetround*.
47830 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47831 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47832 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47833 of HAS_YMM_USABLE.
47834 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47835 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47836 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47837 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47838 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47839
47840 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47841
47842 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47843
47844 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47845 size is not set.
47846 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47847
47848 2012-01-27 Ulrich Drepper <drepper@gmail.com>
47849
47850 [BZ #13618]
47851 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47852 relocation.
47853 * Makeconfig (libm): Define.
47854 * elf/Makefile: Add rules to build and run tst-relsort1.
47855 * elf/tst-relsort1.c: New file.
47856 * elf/tst-relsort1mod1.c: New file.
47857 * elf/tst-relsort1mod2.c: New file.
47858
47859 2012-01-27 Joseph Myers <joseph@codesourcery.com>
47860
47861 * math/s_ldexp.c: Remove __STDC__ conditionals.
47862 * math/s_ldexpf.c: Likewise.
47863 * math/s_ldexpl.c: Likewise.
47864 * math/s_nextafter.c: Likewise.
47865 * math/s_nexttowardf.c: Likewise.
47866 * math/s_significand.c: Likewise.
47867 * math/s_significandf.c: Likewise.
47868 * math/s_significandl.c: Likewise.
47869 * math/w_jnl.c: Likewise.
47870 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47871 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47872 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47873 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47874 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47875 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47876 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47877 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47878 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47879 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47880 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47881 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47882 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47883 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47884 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47885 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47886 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47887 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47888 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47889 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47890 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47891 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47892 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47893 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47894 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47895 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47896 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47897 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47898 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47899 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47900 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47901 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47902 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47903 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47904 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47905 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47906 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47907 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47908 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47909 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47910 * sysdeps/ieee754/k_standard.c: Likewise.
47911 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47912 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47913 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47914 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47915 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47916 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47917 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47918 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47919 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47920 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47921 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47922 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47923 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47924 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47925 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47926 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47927 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47928 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47929 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47930 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47931 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47932 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47933 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47934 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47935 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47936 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47937 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47938 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47939 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47940 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47941 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47942 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47943 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47944 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47945 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47946 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47947 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47948 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47949 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47950 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47951 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47952 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47953 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47954 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47955 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47956 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47957 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47958 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47959 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47960 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47961 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47962 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47963 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47964 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47965 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47966 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47967 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47968 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47969 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47970 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47971 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47972 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47973 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47974 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47975 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47976 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47977 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47978 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47979 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47980 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47981 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47982 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47983 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47984 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47985 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47986 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47987 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47988 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47989 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47990 * sysdeps/ieee754/s_matherr.c: Likewise.
47991 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47992 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47993 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47994 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47995
47996 2012-01-26 Joseph Myers <joseph@codesourcery.com>
47997
47998 * crypt/md5.h: Remove __STDC__ conditionals.
47999 * libio/libioP.h: Likewise.
48000 * locale/programs/config.h: Likewise.
48001 * sysdeps/generic/sysdep.h: Likewise.
48002 * sysdeps/i386/asm-syntax.h: Likewise.
48003 * sysdeps/s390/asm-syntax.h: Likewise.
48004 * sysdeps/unix/sysdep.h: Likewise.
48005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48007
48008 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48009
48010 * libio/libio.h: Remove __STDC__ conditionals.
48011 * malloc/obstack.h: Likewise.
48012 * math/complex.h: Likewise.
48013 * math/math.h: Likewise.
48014 * sysdeps/generic/_G_config.h: Likewise.
48015 * sysdeps/gnu/_G_config.h: Likewise.
48016 * sysdeps/mach/hurd/_G_config.h: Likewise.
48017 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48018 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48019 * sysdeps/sparc/bits/mathdef.h: Likewise.
48020
48021 2012-01-26 Ulrich Drepper <drepper@gmail.com>
48022
48023 [BZ #13583]
48024 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48025 Clean up HAS_* macros.
48026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48027 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48028 possible.
48029 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48030 HAS_AVX.
48031 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48032 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48033 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48034 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48035 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48036
48037 2012-01-25 Joseph Myers <joseph@codesourcery.com>
48038
48039 * elf/tst-unique3.cc (gets): Remove declaration.
48040 * elf/tst-unique3lib.cc (gets): Likewise.
48041 * elf/tst-unique3lib2.cc (gets): Likewise.
48042 * elf/tst-unique4.cc (gets): Likewise.
48043
48044 2012-01-24 Ulrich Drepper <drepper@gmail.com>
48045
48046 * include/stdio.h: Add C++ protection. Add gets declarations and
48047 definitions.
48048 * debug/tst-chk1.c: Don't declare gets here.
48049 * stdio-common/tst-gets.c: Likewise.
48050
48051 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48052
48053 * posix/glob: Remove directory.
48054
48055 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48056
48057 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48058
48059 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48060
48061 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48062 of the non-standard EPFNOSUPPORT.
48063
48064 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48065
48066 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48067 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48068 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48069
48070 2012-01-21 Ulrich Drepper <drepper@gmail.com>
48071
48072 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48073
48074 2012-01-20 Ulrich Drepper <drepper@gmail.com>
48075
48076 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48077 transient errors.
48078 * nscd/grpcache.c (cache_addgr): Likewise.
48079 * nscd/hstcache.c (cache_addhst): Likewise.
48080 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48081 * nscd/pwdcache.c (cache_addpw): Likewise.
48082 * nscd/servicescache.c (cache_addserv): Likewise.
48083
48084 2012-01-16 Ulrich Drepper <drepper@gmail.com>
48085
48086 * malloc/malloc.c: Various cleanups.
48087 * malloc/hooks.c: Likewise.
48088
48089 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48090 * stdlib/bug-fmtmsg1.c: New file.
48091
48092 * stdlib/fmtmsg.c (init): Add missing unlock.
48093 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48094
48095 2012-01-12 Marek Polacek <polacek@redhat.com>
48096
48097 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48098 and _GNU_SOURCE.
48099
48100 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48101
48102 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48103 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48104 macro to ensure uniqueness of label name.
48105 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48106 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48107
48108 2012-01-11 Ulrich Drepper <drepper@gmail.com>
48109
48110 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48111
48112 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48113 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48114 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48115 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48116
48117 2012-01-10 Ulrich Drepper <drepper@gmail.com>
48118
48119 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48120
48121 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48122 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48123 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48124
48125 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48126
48127 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48128 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48129 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48130 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48131
48132 * math/bits/math-finite.h: Add ldexp support.
48133
48134 2012-01-10 Marek Polacek <polacek@redhat.com>
48135
48136 * locale/programs/localedef.h (show_archive_content): Add noreturn
48137 attribute.
48138
48139 2012-01-09 Ulrich Drepper <drepper@gmail.com>
48140
48141 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48142
48143 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48144
48145 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48146
48147 * io/Makefile (headers): Add bits/poll2.h.
48148
48149 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48150
48151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48152 typo #include statement.
48153
48154 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48155
48156 * include/sys/cdefs.h: Define __attribute_alloc_size.
48157 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48158 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48159 * elf/pldd.c: Likewise.
48160 * iconv/iconv_charmap.c: Likewise.
48161 * iconv/iconvconfig.c: Likewise.
48162 * iconv/strtab.c: Likewise.
48163 * locale/programs/locale.c: Likewise.
48164 * locale/programs/localedef.h: Likewise.
48165 * locale/programs/simple-hash.c: Likewise.
48166 * nscd/nscd.h: Likewise.
48167 * nss/makedb.c: Likewise.
48168 * sysdeps/generic/ldconfig.h: Likewise.
48169 * locale/programs/localedef.c: Remove xmalloc prototype.
48170 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48171
48172 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48173
48174 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48175 appropriate.
48176
48177 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48178
48179 * math/Makefile (tests): Add tst-CMPLX.
48180 * math/tst-CMPLX.c: New file.
48181
48182 * math/complex.h (CMPLXL): Fix typo.
48183
48184 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48185 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48186 GLIBC_2.16.
48187 * debug/tst-chk1.c: Add poll and ppoll tests.
48188 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48189 * include/sys/poll.h: Add hidden proto for ppoll.
48190 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48191 * sysdeps/mach/hurd/ppoll.c: Likewise.
48192 * io/ppoll.c: Likewise.
48193 * debug/poll_chk.c: New file.
48194 * debug/ppoll_chk.c: New file.
48195 * include/bits/poll2.h: New file.
48196 * io/bits/poll2.h: New file.
48197
48198 [BZ #1350]
48199 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48200
48201 * configure.in: static is always set to yes. Remove.
48202 * config.make.in: Don't set build-static.
48203 * Makeconfig: Remove use of build-static.
48204 * dlfcn/Makefile: Likewise.
48205 * elf/Makefile: Likewise.
48206 * math/Makefile: Likewise.
48207 * misc/Makefile: Likewise.
48208 * nptl/Makefile: Likewise.
48209 * sysdeps/mach/hurd/Makefile: Likewise.
48210
48211 * configure.in: PWD_P is not used anymore.
48212 * config.make.in: Remove PWD_P entry.
48213
48214 * configure.in: Remove last remnants of RANLIB.
48215 No need to check for signed size_t anymore.
48216 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48217 and IA-64.
48218 Remove __builtin_expect test because we require at least gcc 3.4.
48219 * aclocal.m4: Likewise.
48220
48221 * wcsmbs/mbrtoc16.c: Implement using towc function.
48222 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48223 * wcsmbs/wcsmbsload.c: Likewise.
48224 * iconv/gconv_simple.c: Likewise.
48225 * iconv/gconv_int.h: Likewise.
48226 * iconv/gconv_builtin.h: Likewise.
48227 * iconv/iconv_prog.c: Remove CHAR16 handling.
48228
48229 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48230
48231 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48232
48233 * configure.in: Remove --with-elf and --enable-bounded options.
48234 Dont set base_machine for ia64. More non-ELF conditions removed.
48235 Remove testing and setting of leading underscore information.
48236 * config.make.in (build-bounded): Set to no.
48237 * config.h.in: Remove NO_UNDERSCORES entry.
48238 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48239 them.
48240 * csu/start.c: Remove !NO_UNDERSCORE code.
48241 * locale/localeinfo.h: Likewise.
48242 * sysdeps/generic/machine-gmon.h: Likewise.
48243 * sysdeps/generic/sysdep.h: Likewise.
48244 * sysdeps/i386/sysdep.h: Likewise.
48245 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48246 * sysdeps/mach/sysdep.h: Likewise.
48247 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48248 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48249 * sysdeps/sh/sysdep.h: Likewise.
48250 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48251 * sysdeps/unix/i386/sysdep.S: Likewise.
48252 * sysdeps/unix/sparc/start.c: Likewise.
48253 * sysdeps/unix/sparc/sysdep.S: Likewise.
48254 * sysdeps/unix/sparc/sysdep.h: Likewise.
48255 * sysdeps/unix/start.c: Likewise.
48256 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48257 * sysdeps/x86_64/sysdep.h: Likewise.
48258
48259 2012-01-07 Ulrich Drepper <drepper@gmail.com>
48260
48261 [BZ #13553]
48262 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48263 for non-gcc.
48264 * argp/argp-fmtstream.h: Use const instead __const.
48265 * argp/argp.h: Likewise.
48266 * assert/assert.h: Likewise.
48267 * bits/fenv.h: Likewise.
48268 * bits/sched.h: Likewise.
48269 * bits/sigset.h: Likewise.
48270 * bits/sigthread.h: Likewise.
48271 * catgets/nl_types.h: Likewise.
48272 * conform/data/pthread.h-data: Likewise.
48273 * crypt/crypt-private.h: Likewise.
48274 * crypt/crypt.h: Likewise.
48275 * crypt/crypt_util.c: Likewise.
48276 * ctype/ctype.h: Likewise.
48277 * debug/execinfo.h: Likewise.
48278 * debug/mbsnrtowcs_chk.c: Likewise.
48279 * debug/mbsrtowcs_chk.c: Likewise.
48280 * debug/wcsnrtombs_chk.c: Likewise.
48281 * debug/wcsrtombs_chk.c: Likewise.
48282 * debug/wcstombs_chk.c: Likewise.
48283 * dirent/dirent.h: Likewise.
48284 * dlfcn/dlfcn.h: Likewise.
48285 * elf/neededtest4.c: Likewise.
48286 * grp/grp.h: Likewise.
48287 * gshadow/gshadow.h: Likewise.
48288 * iconv/gconv.h: Likewise.
48289 * iconv/gconv_int.h: Likewise.
48290 * iconv/gconv_simple.c: Likewise.
48291 * iconv/iconv.h: Likewise.
48292 * iconv/loop.c: Likewise.
48293 * iconv/skeleton.c: Likewise.
48294 * include/aio.h: Likewise.
48295 * include/aliases.h: Likewise.
48296 * include/argz.h: Likewise.
48297 * include/arpa/inet.h: Likewise.
48298 * include/assert.h: Likewise.
48299 * include/dirent.h: Likewise.
48300 * include/dlfcn.h: Likewise.
48301 * include/execinfo.h: Likewise.
48302 * include/fcntl.h: Likewise.
48303 * include/fenv.h: Likewise.
48304 * include/glob.h: Likewise.
48305 * include/grp.h: Likewise.
48306 * include/libintl.h: Likewise.
48307 * include/mntent.h: Likewise.
48308 * include/netdb.h: Likewise.
48309 * include/pwd.h: Likewise.
48310 * include/rpc/netdb.h: Likewise.
48311 * include/sched.h: Likewise.
48312 * include/search.h: Likewise.
48313 * include/shadow.h: Likewise.
48314 * include/signal.h: Likewise.
48315 * include/stdio.h: Likewise.
48316 * include/stdlib.h: Likewise.
48317 * include/string.h: Likewise.
48318 * include/sys/socket.h: Likewise.
48319 * include/sys/stat.h: Likewise.
48320 * include/sys/statfs.h: Likewise.
48321 * include/sys/statvfs.h: Likewise.
48322 * include/sys/syslog.h: Likewise.
48323 * include/sys/time.h: Likewise.
48324 * include/sys/uio.h: Likewise.
48325 * include/time.h: Likewise.
48326 * include/unistd.h: Likewise.
48327 * include/utmp.h: Likewise.
48328 * include/wchar.h: Likewise.
48329 * include/wctype.h: Likewise.
48330 * inet/aliases.h: Likewise.
48331 * inet/arpa/inet.h: Likewise.
48332 * inet/netinet/ether.h: Likewise.
48333 * inet/netinet/in.h: Likewise.
48334 * intl/libintl.h: Likewise.
48335 * io/bits/fcntl2.h: Likewise.
48336 * io/fcntl.h: Likewise.
48337 * io/ftw.h: Likewise.
48338 * io/sys/poll.h: Likewise.
48339 * io/sys/stat.h: Likewise.
48340 * io/sys/statfs.h: Likewise.
48341 * io/sys/statvfs.h: Likewise.
48342 * io/utime.h: Likewise.
48343 * libio/bits/stdio.h: Likewise.
48344 * libio/bits/stdio2.h: Likewise.
48345 * libio/libio.h: Likewise.
48346 * libio/libioP.h: Likewise.
48347 * libio/stdio.h: Likewise.
48348 * locale/lc-ctype.c: Likewise.
48349 * locale/locale.h: Likewise.
48350 * login/utmp.h: Likewise.
48351 * malloc/arena.c: Likewise.
48352 * malloc/malloc.c: Likewise.
48353 * malloc/malloc.h: Likewise.
48354 * malloc/mcheck.c: Likewise.
48355 * malloc/mtrace.c: Likewise.
48356 * math/bits/mathcalls.h: Likewise.
48357 * math/fenv.h: Likewise.
48358 * math/math_private.h: Likewise.
48359 * misc/bits/error.h: Likewise.
48360 * misc/bits/syslog.h: Likewise.
48361 * misc/err.h: Likewise.
48362 * misc/error.h: Likewise.
48363 * misc/fstab.h: Likewise.
48364 * misc/mntent.h: Likewise.
48365 * misc/regexp.h: Likewise.
48366 * misc/search.h: Likewise.
48367 * misc/sgtty.h: Likewise.
48368 * misc/sys/mman.h: Likewise.
48369 * misc/sys/syslog.h: Likewise.
48370 * misc/sys/uio.h: Likewise.
48371 * misc/sys/xattr.h: Likewise.
48372 * misc/ttyent.h: Likewise.
48373 * nis/rpcsvc/ypclnt.h: Likewise.
48374 * nss/nss.h: Likewise.
48375 * posix/bits/unistd.h: Likewise.
48376 * posix/fnmatch.h: Likewise.
48377 * posix/glob.h: Likewise.
48378 * posix/sched.h: Likewise.
48379 * posix/spawn.h: Likewise.
48380 * posix/sys/wait.h: Likewise.
48381 * posix/unistd.h: Likewise.
48382 * posix/wordexp.h: Likewise.
48383 * pwd/pwd.h: Likewise.
48384 * resolv/netdb.h: Likewise.
48385 * resource/sys/resource.h: Likewise.
48386 * rt/aio.h: Likewise.
48387 * rt/bits/mqueue2.h: Likewise.
48388 * rt/mqueue.h: Likewise.
48389 * shadow/shadow.h: Likewise.
48390 * signal/signal.h: Likewise.
48391 * socket/send.c: Likewise.
48392 * socket/sendto.c: Likewise.
48393 * socket/sys/socket.h: Likewise.
48394 * stdio-common/printf.h: Likewise.
48395 * stdlib/bits/stdlib.h: Likewise.
48396 * stdlib/fmtmsg.h: Likewise.
48397 * stdlib/monetary.h: Likewise.
48398 * stdlib/stdlib.h: Likewise.
48399 * stdlib/ucontext.h: Likewise.
48400 * streams/stropts.h: Likewise.
48401 * string/argz.h: Likewise.
48402 * string/bits/string2.h: Likewise.
48403 * string/string.h: Likewise.
48404 * string/strings.h: Likewise.
48405 * sunrpc/rpc/auth.h: Likewise.
48406 * sunrpc/rpc/auth_des.h: Likewise.
48407 * sunrpc/rpc/clnt.h: Likewise.
48408 * sunrpc/rpc/netdb.h: Likewise.
48409 * sunrpc/rpc/pmap_clnt.h: Likewise.
48410 * sunrpc/rpc/xdr.h: Likewise.
48411 * sysdeps/generic/inttypes.h: Likewise.
48412 * sysdeps/generic/net/if.h: Likewise.
48413 * sysdeps/generic/sys/swap.h: Likewise.
48414 * sysdeps/gnu/net/if.h: Likewise.
48415 * sysdeps/gnu/utmpx.h: Likewise.
48416 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48417 * sysdeps/i386/i486/bits/string.h: Likewise.
48418 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48419 * sysdeps/s390/bits/string.h: Likewise.
48420 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48421 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48422 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48423 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48424 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48425 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48426 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48427 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48428 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48429 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48430 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48431 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48432 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48433 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48434 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48435 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48436 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48437 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48438 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48439 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48440 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48441 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48442 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48443 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48444 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48445 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48446 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48447 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48448 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48449 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48450 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48451 * sysvipc/sys/ipc.h: Likewise.
48452 * sysvipc/sys/msg.h: Likewise.
48453 * sysvipc/sys/sem.h: Likewise.
48454 * sysvipc/sys/shm.h: Likewise.
48455 * termios/termios.h: Likewise.
48456 * time/sys/time.h: Likewise.
48457 * time/time.h: Likewise.
48458 * wcsmbs/bits/wchar2.h: Likewise.
48459 * wcsmbs/uchar.h: Likewise.
48460 * wcsmbs/wchar.h: Likewise.
48461 * wctype/wctype.h: Likewise.
48462
48463 [BZ #13551]
48464 * Makeconfig: Remove all but ELF support including AIX support.
48465 * Makerules: Likewise.
48466 * config.h.in: Likewise.
48467 * config.make.in: Likewise.
48468 * configure: Likewise.
48469 * configure.in: Likewise.
48470 * csu/Makefile: Likewise.
48471 * csu/version.c: Likewise.
48472 * debug/Makefile: Likewise.
48473 * dlfcn/Makefile: Likewise.
48474 * elf/Makefile: Likewise.
48475 * extra-lib.mk: Likewise.
48476 * iconv/Makefile: Likewise.
48477 * include/libc-symbols.h: Likewise.
48478 * include/shlib-compat.h: Likewise.
48479 * resolv/Makefile: Likewise.
48480 * resolv/res_libc.c: Likewise.
48481 * rt/Makefile: Likewise.
48482 * sysdeps/i386/asm-syntax.h: Likewise.
48483 * sysdeps/i386/sysdep.h: Likewise.
48484 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48485 * sysdeps/mach/sysdep.h: Likewise.
48486 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48487 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48488 * sysdeps/s390/asm-syntax.h: Likewise.
48489 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48490 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48491 * sysdeps/sh/sysdep.h: Likewise.
48492 * sysdeps/unix/sparc/sysdep.h: Likewise.
48493 * sysdeps/wordsize-32/divdi3.c: Likewise.
48494 * sysdeps/x86_64/sysdep.h: Likewise.
48495
48496 * argp/Versions: Remove _argp_unlock_xxx.
48497
48498 [BZ #13559]
48499 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48500 * abilist/libBrokenLocale.abilist: Likewise.
48501 * abilist/libanl.abilist: Likewise.
48502 * abilist/libc.abilist: Likewise.
48503 * abilist/libcrypt.abilist: Likewise.
48504 * abilist/libdl.abilist: Likewise.
48505 * abilist/libm.abilist: Likewise.
48506 * abilist/libnsl.abilist: Likewise.
48507 * abilist/libpthread.abilist: Likewise.
48508 * abilist/libresolv.abilist: Likewise.
48509 * abilist/librt.abilist: Likewise.
48510 * abilist/libthread_db.abilist: Likewise.
48511 * abilist/libutil.abilist: Likewise.
48512 * abilist/libnss_db.abilist: New file.
48513
48514 * scripts/abilist.awk: Add support for indirect functions.
48515
48516 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48517
48518 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48519
48520 * shlib-versions: Remove entries for ports architectures.
48521
48522 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48523 files in ports.
48524 * elf/stackguard-macros.h: Remove support for IA-64.
48525 * elf/tst-auditmod1.c: Likewise.
48526 * sysdeps/generic/ldsodefs.h: Likewise.
48527
48528 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48529 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48530 configure files.
48531
48532 [BZ #13552]
48533 * configure.in: Remove --enable-omitfp support.
48534 * FAQ.in: Adjust.
48535 * config.make.in: Likewise.
48536 * Makeconfig: Likewise.
48537 * manual/install.texi: Likewise.
48538
48539 In case anyone cares, the IA-64 architecture could move to ports.
48540 * sysdeps/ia64/*: Removed.
48541 * sysdeps/unix/sysv/linux/ia64/*: Removed.
48542 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48543
48544 [BZ #13555]
48545 * configure.in: Remove entries for unsupported architectures.
48546
48547 [BZ #13533]
48548 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48549 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48550 routines.
48551 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48552 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48553 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48554 fall back to using wcrtomb.
48555 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48556 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48557 renaming.
48558 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48559 * wcsmbs/tst-c16c32-1.c: New file.
48560
48561 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48562 local variable.
48563
48564 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48565
48566 * elf/tst-unique3.cc: Add explicit declaration of gets.
48567 * elf/tst-unique3lib.cc: Likewise.
48568 * elf/tst-unique3lib2.cc: Likewise.
48569 * elf/tst-unique4.cc: Likewise.
48570
48571 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48572
48573 2012-01-06 Joseph Myers <joseph@codesourcery.com>
48574
48575 [BZ #13566]
48576 * assert/assert.h (static_assert): Don't define for C++.
48577 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48578 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48579
48580 2012-01-03 Ulrich Drepper <drepper@gmail.com>
48581
48582 * iconv/loop.c (single loop): Fix assertion in storing of
48583 remaining bytes.
48584
48585 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48586
48587 2012-01-01 Ulrich Drepper <drepper@gmail.com>
48588
48589 * posix/getconf.c: Update copyright year.
48590 * nss/getent.c: Likewise.
48591 * nss/makedb.c: Likewise.
48592 * iconv/iconvconfig.c: Likewise.
48593 * iconv/iconv_prog.c: Likewise.
48594 * elf/ldconfig.c: Likewise.
48595 * elf/pldd.c: Likewise.
48596 * elf/sotruss.ksh: Likewise.
48597 * catgets/gencat.c: Likewise.
48598 * csu/version.c: Likewise.
48599 * elf/ldd.bash.in: Likewise.
48600 * elf/sprof.c (print_version): Likewise.
48601 * locale/programs/locale.c: Likewise.
48602 * locale/programs/localedef.c: Likewise.
48603 * login/programs/pt_chown.c: Likewise.
48604 * nscd/nscd.c (print_version): Likewise.
48605 * debug/xtrace.sh: Likewise.
48606 * malloc/memusage.sh: Likewise.
48607 * malloc/mtrace.pl: Likewise.
48608 * debug/catchsegv.sh: Likewise.
48609
48610 2011-12-30 Jakub Jelinek <jakub@redhat.com>
48611
48612 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48613 pure attribute.
48614
48615 2011-12-24 Ulrich Drepper <drepper@gmail.com>
48616
48617 [BZ #13533]
48618 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48619 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48620 transformations.
48621 * iconv/gconv_int.h: Likewise.
48622 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48623 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48624 from libc for GLIBC_2.16.
48625 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48626 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48627 * wcsmbs/uchar.h: Really define mbstate_t.
48628 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48629 * wcsmbs/c16rtomb.c: New file.
48630 * wcsmbs/mbrtoc16.c: New file.
48631 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48632 for C/POSIX locale.
48633 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48634 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48635
48636 * wcsmbs/wchar.h: Add missing __restrict.
48637
48638 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48639
48640 [BZ #13532]
48641 * time/Makefile (routines): Add timespec_get.
48642 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48643 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48644 timespec for ISO C11.
48645 * time/timespec_get.c: New file.
48646 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48647 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48648
48649 [BZ #13531]
48650 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48651 * stdlib/stdlib.h: Declare aligned_alloc.
48652 * Versions.def: Add GLIBC_2.16 for libc.
48653 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48654
48655 [BZ 13527]
48656 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48657 ISO C11.
48658
48659 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48660 code.
48661
48662 [BZ #13528]
48663 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48664
48665 [BZ #13529]
48666 * assert/assert.h (static_assert): Define.
48667
48668 * version.h: Update for 2.16 development version.
48669
48670 [BZ #13526]
48671 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48672 _ISOC11_SOURCE.
48673
48674 * version.h (RELEASE): Bump for 2.15 release.
48675 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48676
48677 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48678 Patch by Marek Polacek <mpolacek@redhat.com>.
48679
48680 * bits/byteswap.h: Protect long long constants with __extension__.
48681 * sysdeps/i386/bits/byteswap.h: Likewise.
48682 * sysdeps/ia64/bits/byteswap.h: Likewise.
48683 * sysdeps/s390/bits/byteswap.h: Likewise.
48684 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48685
48686 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48687
48688 [BZ #13540]
48689 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48690 destination buffer.
48691 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48692
48693 2011-12-23 Marek Polacek <polacek@redhat.com>
48694
48695 * elf/dl-addr.c (determine_info): Add inline keyword.
48696 * elf/tst-auditmod4b.c (check_avx): Likewise.
48697 * elf/tst-auditmod6b.c (check_avx): Likewise.
48698 * elf/tst-auditmod6c.c (check_avx): Likewise.
48699 * elf/tst-auditmod7b.c (check_avx): Likewise.
48700
48701 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48702
48703 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48704 !__SSE_MATH__.
48705
48706 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48707
48708 [BZ #13540]
48709 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48710 processing for last bytes.
48711
48712 2011-08-06 Bruno Haible <bruno@clisp.org>
48713
48714 [BZ #13061]
48715 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48716 U+0385, not to U+1FEE.
48717
48718 [BZ #13062]
48719 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48720 entry for U+00A5 U+0301.
48721
48722 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48723
48724 [BZ #13166]
48725 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48726 buffer for the output is too small.
48727
48728 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48729 optimization.
48730
48731 [BZ #13185]
48732 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48733 SSE flags if possible.
48734
48735 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48736
48737 [BZ #13540]
48738 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48739 processing for last bytes.
48740
48741 2011-12-22 Joseph Myers <joseph@codesourcery.com>
48742
48743 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48744 (syscall-list-default-options, syscall-list-default-condition)
48745 (syscall-list-includes): Define.
48746 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48747 list of ABIs and options and #if conditions for each ABI. Do not
48748 handle common syscalls between ABIs specially.
48749 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48750 Remove.
48751 (syscall-list-variants, syscall-list-32bit-options)
48752 (syscall-list-32bit-condition, syscall-list-64bit-options)
48753 (syscall-list-64bit-condition): Define.
48754 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48755 (syscall-list-variants, syscall-list-32bit-options)
48756 (syscall-list-32bit-condition, syscall-list-64bit-options)
48757 (syscall-list-64bit-condition): Define.
48758 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48759 Remove.
48760 (syscall-list-variants, syscall-list-32bit-options)
48761 (syscall-list-32bit-condition, syscall-list-64bit-options)
48762 (syscall-list-64bit-condition): Define.
48763 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48764 Remove.
48765 (syscall-list-variants, syscall-list-32bit-options)
48766 (syscall-list-32bit-condition, syscall-list-64bit-options)
48767 (syscall-list-64bit-condition): Define.
48768
48769 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48770
48771 * locale/iso-639.def: Add brx entry.
48772
48773 [BZ #13328]
48774 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48775 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48776
48777 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48778 __feraiseexcept_renamed.
48779
48780 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48781
48782 [BZ #13538]
48783 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48784 EPOLLET with unsigned values.
48785 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48786 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48787
48788 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48789 to large cancellation.
48790 * math/s_cacoshf.c: Likewise.
48791 * math/s_cacoshl.c: Likewise.
48792
48793 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48794
48795 [BZ #13305]
48796 [BZ #12786]
48797 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48798 * math/s_cacoshf.c: Likewise.
48799 * math/s_cacoshl.c: Likewise.
48800
48801 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48802
48803 [BZ #13439]
48804 * iconv/gconv.h: Define __GCONV_SWAP.
48805 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48806 * iconvdata/utf-16.c: Likewise.
48807 * iconvdata/utf-32.c: Likewise.
48808
48809 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48810
48811 [BZ #13524]
48812 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48813 numerator after shifting it by one limb.
48814
48815 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48816
48817 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48818 under [__USE_EXTERN_INLINES].
48819
48820 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48821
48822 [BZ #13446]
48823 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48824
48825 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48826
48827 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48828 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48829 optimized code.
48830 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48831 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48832 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48833 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48834 for strncasecmp/strncasecmp_l compilation.
48835 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48836 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48837
48838 2011-12-08 Marek Polacek <mpolacek@redhat.com>
48839
48840 [BZ #13484]
48841 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48842 of __asm__.
48843
48844 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48845
48846 [BZ #13506]
48847 * time/tzfile.c (__tzfile_read): Check values from file header.
48848
48849 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48850
48851 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48852 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48853 * powerpc/powerpc32/dl-start.S: Likewise.
48854 * powerpc/powerpc32/elf/start.S: Likewise.
48855 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48856 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48857 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48858 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48859 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48860 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48861 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48862 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48863 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48864 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48865 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48866 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48867 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48868 * powerpc/powerpc32/memset.S: Likewise.
48869 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48870 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48871 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48872 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48873 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48874 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48875 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48876 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48877 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48878 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48879 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48880 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48881 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48882
48883 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48884
48885 * math/libm-test.inc: Added more nearbyint tests.
48886 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48887 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48888 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48889 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48890
48891 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
48892
48893 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48894 FD_CLOEXEC.
48895
48896 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48897
48898 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48899 Add wcscpy-ssse3 wcscpy-c.
48900 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48901 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48902 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48903 * sysdeps/x86_64/wcschr.S: New file.
48904 * sysdeps/x86_64/wcsrchr.S: New file.
48905 * string/test-strcmp.c: Remove checking of wcscmp function for
48906 wrong alignments.
48907 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48908 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48909 wcsrchr-sse2 wcsrchr-c.
48910 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48911 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48912 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48913 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48914 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48915 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48916 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48917 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48918 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48919 * wcsmbc/wcschr.c (WCSCHR): New macro.
48920
48921 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48922
48923 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48924 * wcsmbs/test-wcsrchr.c: New file.
48925 * string/test-strrchr.c: Add wcsrchr support.
48926 (WIDE): New macro.
48927 * wcsmbs/test-wcscpy.c: New file.
48928 * string/test-strcpy.c: Add wcscpy support.
48929 (WIDE): New macro.
48930
48931 2011-12-10 Ulrich Drepper <drepper@gmail.com>
48932
48933 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48934 the inner loop.
48935
48936 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
48937
48938 [BZ #13472]
48939 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48940
48941 2011-12-04 Ulrich Drepper <drepper@gmail.com>
48942
48943 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48944 Minor optimizations.
48945
48946 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48947 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48948 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48949
48950 2011-12-03 Ulrich Drepper <drepper@gmail.com>
48951
48952 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48953 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48954 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48955 for gcc to avoid warnings.
48956 * inet/Makefile (tests): Add tst-checks.
48957 * inet/tst-checks.c: New file.
48958
48959 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48960 warning.
48961
48962 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48963 __wmemcmp_sse2.
48964
48965 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48966 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48967
48968 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48969
48970 2011-12-02 Ulrich Drepper <drepper@gmail.com>
48971
48972 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48973 problem.
48974
48975 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48976
48977 2011-11-29 Joseph Myers <joseph@codesourcery.com>
48978
48979 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48980 conditional on GCC version.
48981 (__arch_compare_and_exchange_val_8_acq)
48982 (__arch_compare_and_exchange_val_16_acq)
48983 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48984 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48985 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48986
48987 2011-12-02 Joseph Myers <joseph@codesourcery.com>
48988
48989 * sysdeps/sh/backtrace.c: New file.
48990
48991 2011-12-02 Andreas Schwab <schwab@redhat.com>
48992
48993 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
48994 parenthesis.
48995
48996 2011-12-01 Andreas Schwab <schwab@redhat.com>
48997
48998 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48999 falling back to utime.
49000
49001 2011-11-30 Andreas Schwab <schwab@redhat.com>
49002
49003 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49004 expectations for float.
49005
49006 2011-11-29 Andreas Schwab <schwab@redhat.com>
49007
49008 * locale/weight.h (findidx): Add parameter len.
49009 * locale/weightwc.h (findidx): Likewise.
49010 * posix/fnmatch_loop.c (FCT): Adjust caller.
49011 * posix/regcomp.c (build_equiv_class): Likewise.
49012 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49013 * posix/regexec.c (check_node_accept_bytes): Likewise.
49014 * string/strcoll_l.c (STRCOLL): Likewise.
49015 * string/strxfrm_l.c (STRXFRM): Likewise.
49016
49017 2011-11-17 Ulrich Drepper <drepper@gmail.com>
49018
49019 * Makefile.in: Remove CVSOPT handling.
49020 * configure.in: Remove use of AC_REVISION.
49021 * iconvdata/Makefile (distribute): No need to filter out CVS.
49022 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49023 handling.
49024
49025 2011-11-16 Andreas Schwab <schwab@redhat.com>
49026
49027 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49028 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49029 [USE_AS_STRNCASECMP_L]: Likewise.
49030 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49031 NO_TLS_DIRECT_SEG_REFS.
49032 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49033 Fix argument offsets for non-PIC.
49034 [USE_AS_STRNCASECMP_L]: Likewise.
49035 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49036 NO_TLS_DIRECT_SEG_REFS.
49037
49038 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49039
49040 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49041 O_CLOEXEC.
49042 * locale/loadlocale.c (_nl_load_locale): Likewise.
49043
49044 2011-11-15 Andreas Schwab <schwab@redhat.com>
49045
49046 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49047 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49048 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49049 (SYSCALL_GETTIME): Set errno on error.
49050
49051 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49052 count references to noai6ai_cached.
49053
49054 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49055
49056 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49057
49058 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49059 FD_CLOEXEC for /proc/self/maps.
49060
49061 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49062 FD_CLOEXEC for /proc/meminfo.
49063
49064 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49065 gai.conf.
49066
49067 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49068 FD_CLOEXEC for given file.
49069
49070 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49071
49072 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49073 FD_CLOEXEC for /etc/hosts.
49074 (_gethtent): Likewise.
49075
49076 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49077
49078 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49079 cancellation and set FD_CLOEXEC for /etc/netgroup.
49080
49081 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49082 reading /etc/publickey.
49083
49084 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49085 allow cancellation when reading /etc/group.
49086
49087 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49088 cancellation.
49089 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49090
49091 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49092 when using data file.
49093
49094 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49095
49096 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49097 (write_nis_obj): Use "c" and "e" in fopen.
49098
49099 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49100
49101 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49102
49103 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49104
49105 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49106
49107 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49108 locale.alias.
49109
49110 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49111
49112 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49113
49114 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49115
49116 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49117 file parsing and set FD_CLOEXEC.
49118
49119 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49120
49121 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49122
49123 2011-11-14 Andreas Schwab <schwab@redhat.com>
49124
49125 * malloc/arena.c (arena_get2): Don't call reused_arena when
49126 _int_new_arena failed.
49127
49128 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49129
49130 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49131 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49132 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49133 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49134 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49135 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49136 to compile strcasecmp and strncasecmp.
49137 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49138 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49139
49140 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49141
49142 2011-11-13 Ulrich Drepper <drepper@gmail.com>
49143
49144 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49145 locale-defines.sym to gen-as-const-headers.
49146 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49147 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49148 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49149 to compile strcasecmp and strncasecmp.
49150 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49151 strcasecmp_l and strncasecmp_l.
49152 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49153 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49154 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49155 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49156 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49157 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49158 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49159 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49160 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49161 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49162 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49163
49164 2011-11-12 Ulrich Drepper <drepper@gmail.com>
49165
49166 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49167 result of SYSDEP_GETTIME_CPU to retval.
49168 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49169 parameter list to macro. Remove trailing semicolon. Adjust users.
49170
49171 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49172 variable.
49173
49174 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49175 mantissa words.
49176 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49177
49178 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49179 from unused variable.
49180
49181 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49182 DWARF definitions.
49183 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49184 for assembling.
49185
49186 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49187 over namespaces.
49188
49189 * sunrpc/rpc_prot.c (rejected): Fix case value.
49190
49191 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49192 unsigned long long int to avoid warnings in shift.
49193
49194 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49195 of use of trans.
49196 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49197 variable tmp.
49198
49199 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49200 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49201 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49202
49203 * nis/nis_table.c (nis_list): Use variable of correct type for
49204 result of __follow_path call.
49205
49206 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49207
49208 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49209 of math functions ceil, trunc, floor, round, and sqrt, when
49210 avaliable on the platform.
49211 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49212 name clash.
49213 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49214 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49215 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49216
49217 2011-10-30 Marek Polacek <mpolacek@redhat.com>
49218
49219 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49220 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49221
49222 2011-11-11 Roland McGrath <roland@hack.frob.com>
49223
49224 * include/unistd.h: Fix __readlink return type.
49225 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49226
49227 2011-11-11 Ulrich Drepper <drepper@gmail.com>
49228
49229 * stdlib/ucontext.h: Undo last change for makecontext.
49230
49231 2011-11-11 Andreas Schwab <schwab@redhat.com>
49232
49233 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49234
49235 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49236 * setjmp/setjmp.h: Mark functions as non-leaf.
49237 * setjmp/bits/setjmp2.h: Likewise.
49238 * stdlib/ucontext.h: Likewise.
49239
49240 2011-11-10 Andreas Schwab <schwab@redhat.com>
49241
49242 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49243 (reused_arena): Don't check arena limit.
49244 (arena_get2): Atomically check arena limit.
49245
49246 2011-11-08 Ulrich Drepper <drepper@gmail.com>
49247
49248 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49249 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49250
49251 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49252 instructions.
49253
49254 2011-11-07 Andreas Schwab <schwab@redhat.com>
49255
49256 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49257 handler when locking.
49258
49259 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49260 Fix size of allocated buffer.
49261
49262 2011-11-04 Andreas Schwab <schwab@redhat.com>
49263
49264 [BZ #10103]
49265 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49266 declarations for long double functions.
49267 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49268
49269 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49270
49271 2011-11-03 Andreas Schwab <schwab@redhat.com>
49272
49273 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49274 installed.
49275
49276 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49277 is disabled.
49278
49279 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49280
49281 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49282
49283 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49284
49285 * include/alloca.h (stackinfo_alloca_round): Define.
49286 (extend_alloca): Use it.
49287 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49288 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49289 here.
49290
49291 * scripts/check-local-headers.sh: Ignore libaudit.h.
49292
49293 * nscd/Makefile (extra-objs): Make recursively expanded.
49294
49295 2011-11-01 Ulrich Drepper <drepper@gmail.com>
49296
49297 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49298 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49299
49300 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49301 * posix/tst-rfc3484-2.c: Likewise.
49302 * posix/tst-rfc3484-3.c: Likewise.
49303
49304 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49305 process_vm_writev.
49306 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49307 process_vm_writev.
49308 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49309 process_vm_writev from libc using GLIBC_2.15 version.
49310
49311 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49312
49313 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49314
49315 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49316 stack usage.
49317
49318 2011-10-31 Ulrich Drepper <drepper@gmail.com>
49319
49320 [BZ #13367]
49321 * nss/getent.c (initgroups_keys): Show error message in case no group
49322 names are given.
49323
49324 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49325 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49326 __bump_nl_timestamp.
49327 * nscd/connections (nscd_init): When host database is served open
49328 netlink socket and request notification about configuration changes.
49329 (main_loop_poll): Track netlink file descriptor and bump timestamp
49330 in case data becomes available.
49331 (main_loop_epoll): Likewise.
49332 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49333 (database_pers_head): Add extra_data fileds.
49334 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49335 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49336 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49337 Adjust caller.
49338 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49339 in6ai data, call __free_in6ai.
49340 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49341 Add -DHAVE_NETLINK.
49342 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49343 interface information. Reuse previous data if netlink timestamp
49344 is not changed.
49345 (__bump_nl_timestamp): New function.
49346 (__free_in6ai): New function.
49347
49348 2011-10-30 Ulrich Drepper <drepper@gmail.com>
49349
49350 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49351 close_not_cancel_no_status here.
49352 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49353
49354 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49355
49356 [BZ #13276]
49357 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49358 return value.
49359
49360 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49361 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49362 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49363
49364 2011-07-03 Andreas Jaeger <aj@suse.de>
49365
49366 [BZ #10709]
49367 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49368 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49369 * math/libm-test.inc (sin_test): Add test case.
49370
49371 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49372
49373 [BZ #13337]
49374 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49375 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49376
49377 * elf/chroot_canon.c (chroot_canon): Cleanups.
49378
49379 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49380
49381 [BZ #13335]
49382 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49383 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49384
49385 * string/test-strchr.c: Make usable for strchrnul testing.
49386 * string/test-strchrnul.c: New file.
49387 * string/Makefile (strop-tests): Add strchrnul.
49388
49389 * po/it.po: Update from translation team.
49390 * po/es.po: Likewise.
49391
49392 2011-10-28 Ulrich Drepper <drepper@gmail.com>
49393
49394 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49395 the three constants needed as parameters. Drop the others.
49396 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49397 __m128i_strloadu_tolower.
49398 Create and initialize variable zero and use it in all the places
49399 where _mm_setzero_si128 was used.
49400
49401 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49402 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49403 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49404 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49405 anymore.
49406 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49407 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49408 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49409 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49410 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49411 __mpranred, __mptan.
49412 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49413 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49414 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49415 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49416 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49417 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49418 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49419 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49420 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49421
49422 2011-10-28 Andreas Schwab <schwab@redhat.com>
49423
49424 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49425 redefine if SHARED.
49426 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49427
49428 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49429 wide char related routines to wcsmbs subdir.
49430
49431 2011-10-27 Andreas Schwab <schwab@redhat.com>
49432
49433 [BZ #13344]
49434 * misc/sys/cdefs.h (__THROWNL): Define.
49435 * posix/unistd.h: Use __THREADNL instead of __THREAD
49436 for memory synchronization functions.
49437
49438 2011-10-26 Roland McGrath <roland@hack.frob.com>
49439
49440 [BZ #13349]
49441 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49442 doesn't exist.
49443 * manual/stdio.texi (Obstack Streams): Node removed.
49444
49445 2011-10-26 Andreas Schwab <schwab@redhat.com>
49446
49447 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49448 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49449 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49450
49451 * math/math_private.h (math_force_eval): Allow non-addressable
49452 arguments.
49453 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49454
49455 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49456
49457 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49458 file is not needed.
49459
49460 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49461 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49462 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49463 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49464 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49465 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49466 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49467 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49468 Add AVX variants.
49469 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49470 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49471 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49472 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49473 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49474 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49475 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49476 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49477 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49478 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49479 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49480 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49481 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49482 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49483 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49484 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49485 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49486 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49487 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49488
49489 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49490 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49491
49492 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49493 place. Use VEX encoding when compiling for AVX.
49494
49495 2011-10-25 Andreas Schwab <schwab@redhat.com>
49496
49497 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49498 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49499
49500 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49501
49502 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49503
49504 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49505 useless if() expression.
49506 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49507 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49508 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49509 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49510 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49511 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49512 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49513 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49514 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49515 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49516 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49517 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49518 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49519 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49520 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49521 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49522 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49523 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49524 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49525
49526 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49527
49528 2011-10-25 Andreas Schwab <schwab@redhat.com>
49529
49530 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49531 condition.
49532 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49533
49534 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49535
49536 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49537 .text section. Avoid duplicate constants.
49538 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49539 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49540 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49541 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49542 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49543 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49544 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49545 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49546 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49547 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49548 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49549 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49550 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49551 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49552 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49553 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49554 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49555 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49556 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49557 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49558 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49559 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49560 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49561 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49562 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49563 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49564 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49565 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49566 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49567 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49568 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49569 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49570 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49571 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49572 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49573 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49574 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49575 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49576 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49577 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49578 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49579 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49580 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49581 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49582 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49583
49584 2011-10-24 Ulrich Drepper <drepper@gmail.com>
49585
49586 * sysdeps/x86_64/dla.h: Move to ...
49587 * sysdeps/x86_64/fpu/dla.h: ...here.
49588 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49589 situations. Use __builtin_fma only for gcc 4.6 and up.
49590
49591 * config.make.in: Add have-mfma4 entry.
49592 * configure.in: Substitute libc_cv_cc_fma4.
49593 * math/Makefile (dbl-only-routines): Add sincostab.
49594 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49595 Use __sincostab not sincos.
49596 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49597 name is a macro.
49598 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49599 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49600 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49601 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49602 using __copysign.
49603 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49604 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49605 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49606 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49607 and __inv.
49608 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49609 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49610 __copysign.
49611 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49612 define aliases when function name is a macro.
49613 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49614 sysdeps/ieee754/dbl-64/sincos.tbl.
49615 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49616 fma4-enabled routines.
49617 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49618 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49619 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49620 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49621 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49622 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49623 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49624 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49625 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49626 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49627 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49628 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49629 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49630 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49631 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49632 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49633 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49634 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49635 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49636 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49637 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49638 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49639 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49640 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49641 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49642 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49643 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49644 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49645 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49646 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49647
49648 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49649 rename.
49650 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49651 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49652 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49653 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49654 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49655 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49656 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49657 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49658
49659 2011-10-24 Andreas Schwab <schwab@redhat.com>
49660
49661 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49662
49663 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49664
49665 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49666
49667 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49668 prediction.
49669 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49670
49671 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49672 Remove unused variable magic_bits.
49673 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49674
49675 * string/strnlen.c: Define and use STRNLEN macro.
49676 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49677 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49678 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49679 * wcsmbs/wcslen.c: Define and use WCSLEN.
49680 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49681 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49682 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49683 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49684 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49685 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49686 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49687
49688 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49689
49690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49691 strnlen-sse2-no-bsf.
49692 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49693 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49694 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49695 Add strnlen support.
49696 (USE_AS_STRNLEN): New macro.
49697 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49698 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49699 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49700 * sysdeps/x86_64/wcslen.S: New file.
49701
49702 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49703
49704 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49705 XMM-moves are used for copying on small sizes.
49706
49707 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49708
49709 * wcsmbs/Makefile (strop-tests): Add wcschr.
49710 * wcsmbs/test-wcschr.c: New file.
49711 * string/test-strchr.c: Update.
49712 Add wcschr support.
49713 (WIDE): New macro.
49714
49715 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49716
49717 * wcsmbs/Makefile (strop-tests): Add wcslen.
49718 * wcsmbs/test-wcslen.c: New file.
49719 * string/test-strlen.c: Update.
49720 Add wcslen support.
49721 (WIDE): New macro.
49722
49723 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49724
49725 * po/it.po: Update from translation team.
49726
49727 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49728
49729 * sysdeps/x86_64/wcscmp.S: Update.
49730 Fix wrong comparison semantics.
49731 wcscmp shall use signed comparison not unsigned.
49732 Don't use substraction to avoid overflow bug.
49733 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49734 * wcsmbc/wcscmp.c: Likewise.
49735 * string/test-strcmp.c: Likewise.
49736 Add new tests to check cases with negative values.
49737
49738 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49739
49740 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49741 * sysdeps/x86_64/dla.h: ...here. New file.
49742 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49743 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49745 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49746 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49747 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49748 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49749 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49750 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49751
49752 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49753
49754 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49755 __ynl_finite aliases.
49756
49757 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49758
49759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49760
49761 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49762 define DLA_FMA.
49763 [DLA_FMA] (EMULV): Use DLA_FMA.
49764 [DLA_FMA] (MUL12): Use EMULV.
49765 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49766 that are not needed.
49767 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49768 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49769 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49770 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49771 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49772 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49773 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49774
49775 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49776
49777 * math/s_nan.c: Undef __nan.
49778 * math/s_nanf.c: Undef __nanf.
49779 * math/s_nanl.c: Undef __nanl.
49780 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49781 "math_private.h".
49782
49783 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49784
49785 * math/s_catan.c: Add branch predictions.
49786 * math/s_catanf.c: Likewise.
49787 * math/s_catanh.c: Likewise.
49788 * math/s_catanhf.c: Likewise.
49789 * math/s_catanhl.c: Likewise.
49790 * math/s_catanl.c: Likewise.
49791 * math/s_cexp.c: Likewise.
49792 * math/s_cexpf.c: Likewise.
49793 * math/s_cexpl.c: Likewise.
49794 * math/s_clog.c: Likewise.
49795 * math/s_clog10.c: Likewise.
49796 * math/s_clog10f.c: Likewise.
49797 * math/s_clog10l.c: Likewise.
49798 * math/s_clogf.c: Likewise.
49799 * math/s_clogl.c: Likewise.
49800 * math/s_csqrt.c: Likewise.
49801 * math/s_csqrtf.c: Likewise.
49802 * math/s_csqrtl.c: Likewise.
49803 * math/s_ctanf.c: Likewise.
49804 * math/s_ctanh.c: Likewise.
49805 * math/s_ctanhf.c: Likewise.
49806 * math/s_ctanhl.c: Likewise.
49807 * math/s_ctanl.c: Likewise.
49808
49809 * math/math_private.h: Define __nan, __nanf, __nanl.
49810 * math/s_cacosh.c: Include <math_private.h>.
49811 * math/s_cacoshl.c: Likewise.
49812 * math/s_casinh.c: Likewise.
49813 * math/s_casinhf.c: Likewise.
49814 * math/s_casinhl.c: Likewise.
49815 * math/s_ccos.c: Rely entire on ccosh.
49816 * math/s_ccosf.c: Rely entire on ccoshf.
49817 * math/s_ccosl.c: Rely entirely on ccoshl.
49818 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49819 Remove tests for FE_INVALID.
49820 * math/s_ccoshf.c: Likewise.
49821 * math/s_ccoshl.c: Likewise.
49822 * math/s_csin.c: Likewise.
49823 * math/s_csinf.c: Likewise.
49824 * math/s_csinh.c Likewise.
49825 * math/s_csinhf.c: Likewise.
49826 * math/s_csinhl.c: Likewise.
49827 * math/s_csinl.c: Likewise.
49828 * math/s_ctan.c: Likewise.
49829 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49830 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49831 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49832
49833 2011-10-21 Ulrich Drepper <drepper@gmail.com>
49834
49835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49836 compilation problems.
49837
49838 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49839 __builtin_expect.
49840
49841 2011-10-20 Ulrich Drepper <drepper@gmail.com>
49842
49843 * sysdeps/i386/configure.in: Test for -mfma4 option.
49844 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49845 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49846 COMMON_CPUID_INDEX_80000001.
49847 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49848 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49849 use it if FMA3 is not supported.
49850 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49851
49852 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49853 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49854
49855 2011-10-20 Andreas Schwab <schwab@redhat.com>
49856
49857 [BZ #12892]
49858 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49859 it would create a cycle with a link time dependency.
49860
49861 2011-10-19 Ulrich Drepper <drepper@gmail.com>
49862
49863 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49864 instruction.
49865 * string/Makefile (strop-tests): Add rawmemchr.
49866 * string/test-rawmemchr.c: New file.
49867
49868 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49869 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49870 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49871 when compiling str{,n}casecmp and when AVX is available. Hook up
49872 new optimized code in initializers.
49873
49874 2011-10-19 Andreas Schwab <schwab@redhat.com>
49875
49876 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49877 __feraiseexcept instead of feraiseexcept.
49878
49879 2011-10-18 Ulrich Drepper <drepper@gmail.com>
49880
49881 * math/math_private.h: Define defaults for libc_fetestexcept and
49882 libc_feupdateenv.
49883 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49884 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49885 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49886 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49887 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49888 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49889 libc_fetestexcept and libc_feupdateenv.
49890
49891 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49892 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49893 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49894 * sysdeps/x86_64/fpu/math_private.h: Define special version of
49895 libc_feholdexcept_setround.
49896
49897 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49898 Add s_nearbyint-c and s_nearbyintf-c.
49899 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49900 nearbyintf inlines.
49901 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49902 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49903 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49904 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49905
49906 * math/math_private.h: Define defaults for libc_fegetround,
49907 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49908 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49909 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49910 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49911 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49912 standard functions.
49913 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49914 Remove comments and hacks for old compiler versions.
49915 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49916 libc_fegetround, libc_fesetround, libc_feholdexcept, and
49917 libc_feholdexceptl.
49918
49919 2011-10-18 Andreas Schwab <schwab@redhat.com>
49920
49921 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49922 (__feraiseexcept_renamed): Add __NTH.
49923 (feraiseexcept): Add __NTH. Rename local variables to fix
49924 namespace violations.
49925
49926 2011-10-17 Ulrich Drepper <drepper@gmail.com>
49927
49928 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49929
49930 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49931
49932 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49933 recently added interfaces.
49934 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49935
49936 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49937 about macro parameter expansion.
49938
49939 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49940 __NO_MATH_INLINES is defined. Cleanups.
49941
49942 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49943 and __floorf is target has SSE4.1.
49944 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49945 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49946 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49947 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49948
49949 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49950 name.
49951 (floorf): Likewise.
49952
49953 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49954
49955 2011-10-17 Andreas Schwab <schwab@redhat.com>
49956
49957 * misc/sys/cdefs.h: Fix last change.
49958
49959 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49960 database lookup.
49961
49962 2011-10-16 Ulrich Drepper <drepper@gmail.com>
49963
49964 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49965
49966 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49967 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49968 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49969 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49970 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49971 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49972 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49973 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49974 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49975 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49976 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49977 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49978 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49979 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49980 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49981 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49982 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49983 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49984 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49985 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49986 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49987 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49988
49989 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49990 ceil, ceilf, floor, floorf.
49991
49992 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49993 Perform IRELATIVE relocations last.
49994
49995 * elf/do-rel.h: Add another parameter nrelative, replacing the
49996 local variable with the same name. Change name of the function
49997 to end in Rel or Rela (uppercase).
49998 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49999 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50000 elf_dynamic_do_##reloc function.
50001
50002 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50003
50004 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50005 is sufficient, at least on modern CPUs.
50006
50007 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50008
50009 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50010 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50011
50012 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50013 __expl_finite.
50014 * math/bits/math-finite.h: Add entries for exp.
50015 * math/e_expl.c: Add __*_finite alias.
50016 * sysdeps/i386/fpu/e_exp.S: Likewise.
50017 * sysdeps/i386/fpu/e_expf.S: Likewise.
50018 * sysdeps/i386/fpu/e_expl.c: Likewise.
50019 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50020 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50021 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50022 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50023 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50024 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50025 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50026
50027 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50028 is sufficient, at least on modern CPUs.
50029
50030 * ctype/ctype-info.c (__ctype_init): Define.
50031 * include/ctype.h (__ctype_init): Declare.
50032 (__ctype_b_loc): The variable is always initialized.
50033 (__ctype_toupper_loc): Likewise.
50034 (__ctype_tolower_loc): Likewise.
50035 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50036 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50037
50038 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50039
50040 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50041
50042 * configure.in: Also look in $cxxmachine/include for C++ system
50043 headers.
50044
50045 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50046
50047 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50048 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50049 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50050 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50051 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50052 (USE_AS_WMEMCMP): New macro.
50053 Fixing indents.
50054 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50055 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50056 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50057 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50058 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50059 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50060 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50061 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50062 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50063 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50064 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50065 (USE_AS_WMEMCMP): New macro.
50066 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50067 * sysdeps/string/test-memcmp.c: Update.
50068 Fix simple_wmemcmp.
50069 Add new tests.
50070 * wcsmbs/wmemcmp.c: Update.
50071 (WMEMCMP): New macro.
50072 Fix overflow bug.
50073
50074 2011-10-12 Andreas Jaeger <aj@suse.de>
50075
50076 [BZ #13268]
50077 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50078
50079 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50080
50081 * libio/iofwide.c (do_length): Avoid warning.
50082
50083 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50084
50085 2011-10-14 Ulrich Drepper <drepper@gmail.com>
50086
50087 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50088
50089 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50090 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50091 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50092 * sysdeps/i386/i686/fpu/e_log.S: New file.
50093 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50094 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50095
50096 * ctype/ctype.h: Add support for inlined isXXX functions when
50097 compiling C++ code.
50098
50099 2011-10-14 Andreas Schwab <schwab@redhat.com>
50100
50101 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50102
50103 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50104
50105 2011-10-13 Roland McGrath <roland@hack.frob.com>
50106
50107 [BZ #13291]
50108 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50109
50110 2011-10-13 Andreas Schwab <schwab@redhat.com>
50111
50112 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50113 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50114 feraiseexcept.
50115
50116 * sysdeps/x86_64/memrchr.S: Check for zero size.
50117
50118 * string/stratcliff.c: Add memrchr tests.
50119
50120 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50121
50122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50123 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50124 rawmemchr-sse2 rawmemchr-sse2-bsf.
50125 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50126 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50127 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50128 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50129 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50130 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50131 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50132 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50133 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50134 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50135 * string/memrchr.c (MEMRCHR): New macro.
50136
50137 2011-10-12 Ulrich Drepper <drepper@gmail.com>
50138
50139 Add integration with gcc's -ffinite-math-only and optimize wrapper
50140 functions in libm.
50141 * Versions.def: Define GLIBC_2.15 version for libm.
50142 * math/Makefile (headers): Add bits/math-finite.h.
50143 * math/bits/math-finite.h: New file.
50144 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50145 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50146 * math/e_acoshl.c: Add __*_finite alias.
50147 * math/e_acosl.c: Likewise.
50148 * math/e_asinl.c: Likewise.
50149 * math/e_atan2l.c: Likewise.
50150 * math/e_atanhl.c: Likewise.
50151 * math/e_coshl.c: Likewise.
50152 * math/e_exp10.c: Likewise.
50153 * math/e_exp10f.c: Likewise.
50154 * math/e_exp10l.c: Likewise.
50155 * math/e_exp2l.c: Likewise.
50156 * math/e_fmodl.c: Likewise.
50157 * math/e_gammal_r.c: Likewise.
50158 * math/e_hypotl.c: Likewise.
50159 * math/e_j0l.c: Likewise.
50160 * math/e_j1l.c: Likewise.
50161 * math/e_jnl.c: Likewise.
50162 * math/e_lgammal_r.c: Likewise.
50163 * math/e_log10l.c: Likewise.
50164 * math/e_log2l.c: Likewise.
50165 * math/e_logl.c: Likewise.
50166 * math/e_powl.c: Likewise.
50167 * math/e_sinhl.c: Likewise.
50168 * math/e_sqrtl.c: Likewise.
50169 * math/e_scalb.c: Completely rewritten and optimized.
50170 * math/e_scalbf.c: Likewise.
50171 * math/e_scalbl.c: Likewise.
50172 * math/w_acos.c: Likewise.
50173 * math/w_acosf.c: Likewise.
50174 * math/w_acosl.c: Likewise.
50175 * math/w_acosh.c: Likewise.
50176 * math/w_acoshf.c: Likewise.
50177 * math/w_acoshl.c: Likewise.
50178 * math/w_asin.c: Likewise.
50179 * math/w_asinf.c: Likewise.
50180 * math/w_asinl.c: Likewise.
50181 * math/w_atan2.c: Likewise.
50182 * math/w_atan2f.c: Likewise.
50183 * math/w_atan2l.c: Likewise.
50184 * math/w_atanh.c: Likewise.
50185 * math/w_atanhf.c: Likewise.
50186 * math/w_atanhl.c: Likewise.
50187 * math/w_exp10.c: Likewise.
50188 * math/w_exp10f.c: Likewise.
50189 * math/w_exp10l.c: Likewise.
50190 * math/w_fmod.c: Likewise.
50191 * math/w_fmodf.c: Likewise.
50192 * math/w_fmodl.c: Likewise.
50193 * math/w_j0.c: Likewise.
50194 * math/w_j0f.c: Likewise.
50195 * math/w_j0l.c: Likewise.
50196 * math/w_j1.c: Likewise.
50197 * math/w_j1f.c: Likewise.
50198 * math/w_j1l.c: Likewise.
50199 * math/w_jn.c: Likewise.
50200 * math/w_jnf.c: Likewise.
50201 * math/w_log.c: Likewise.
50202 * math/w_logf.c: Likewise.
50203 * math/w_logl.c: Likewise.
50204 * math/w_log10.c: Likewise.
50205 * math/w_log10f.c: Likewise.
50206 * math/w_log10l.c: Likewise.
50207 * math/w_log2.c: Likewise.
50208 * math/w_log2f.c: Likewise.
50209 * math/w_log2l.c: Likewise.
50210 * math/w_pow.c: Likewise.
50211 * math/w_powf.c: Likewise.
50212 * math/w_powl.c: Likewise.
50213 * math/w_remainder.c: Likewise.
50214 * math/w_remainderf.c: Likewise.
50215 * math/w_remainderl.c: Likewise.
50216 * math/w_scalb.c: Likewise.
50217 * math/w_scalbf.c: Likewise.
50218 * math/w_scalbl.c: Likewise.
50219 * math/w_sqrt.c: Likewise.
50220 * math/w_sqrtf.c: Likewise.
50221 * math/w_sqrtl.c: Likewise.
50222 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50223 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50224 used.
50225 * math/math_private.h: Declare __kernel_standard_f.
50226 * math/w_cosh.c: Remove cruft and optimize a bit.
50227 * math/w_coshf.c: Likewise.
50228 * math/w_coshl.c: Likewise.
50229 * math/w_exp2.c: Likewise.
50230 * math/w_exp2f.c: Likewise.
50231 * math/w_exp2l.c: Likewise.
50232 * math/w_hypot.c: Likewise.
50233 * math/w_hypotf.c: Likewise.
50234 * math/w_hypotl.c: Likewise.
50235 * math/w_lgamma.c: Likewise.
50236 * math/w_lgamma_r.c: Likewise.
50237 * math/w_lgammaf.c: Likewise.
50238 * math/w_lgammaf_r.c: Likewise.
50239 * math/w_lgammal.c: Likewise.
50240 * math/w_lgammal_r.c: Likewise.
50241 * math/w_sinh.c: Likewise.
50242 * math/w_sinhf.c: Likewise.
50243 * math/w_sinhl.c: Likewise.
50244 * math/w_tgamma.c: Likewise.
50245 * math/w_tgammaf.c: Likewise.
50246 * math/w_tgammal.c: Likewise.
50247 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50248 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50249 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50250 Minor optimizations. Pretty printing. Remove cruft.
50251 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50252 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50253 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50254 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50255 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50256 * sysdeps/i386/fpu/e_asin.S: Likewise.
50257 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50258 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50259 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50260 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50261 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50262 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50263 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50264 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50265 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50266 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50267 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50268 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50269 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50270 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50271 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50272 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50273 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50274 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50275 * sysdeps/i386/fpu/e_log.S: Likewise.
50276 * sysdeps/i386/fpu/e_log10.S: Likewise.
50277 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50278 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50279 * sysdeps/i386/fpu/e_log2.S: Likewise.
50280 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50281 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50282 * sysdeps/i386/fpu/e_logf.S: Likewise.
50283 * sysdeps/i386/fpu/e_logl.S: Likewise.
50284 * sysdeps/i386/fpu/e_pow.S: Likewise.
50285 * sysdeps/i386/fpu/e_powf.S: Likewise.
50286 * sysdeps/i386/fpu/e_powl.S: Likewise.
50287 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50288 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50289 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50290 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50291 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50292 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50293 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50294 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50295 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50296 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50297 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50298 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50299 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50300 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50301 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50302 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50303 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50304 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50305 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50306 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50307 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50308 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50309 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50310 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50311 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50312 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50313 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50314 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50315 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50316 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50317 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50318 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50319 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50320 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50321 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50322 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50323 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50324 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50325 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50326 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50327 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50328 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50329 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50330 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50331 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50332 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50333 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50334 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50335 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50336 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50337 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50338 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50339 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50340 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50341 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50342 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50343 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50344 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50345 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50346 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50347 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50348 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50349 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50350 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50351 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50352 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50353 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50354 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50355 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50356 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50357 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50358 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50359 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50360 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50361 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50362 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50363 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50364 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50365 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50366 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50367 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50368 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50369 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50370 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50371 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50372 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.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_gammal_r.c: Likewise.
50379 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50380 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50381 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50382 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50383 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50384 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50385 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50386 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50387 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50388 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50389 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50390 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50391 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50392 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50393 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50394 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50395 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50396 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50397 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50398 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50399 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50400 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50401 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50402 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50403 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50404 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50405 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50406 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50407 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50408 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50409 (__isnanf): Likewise.
50410 (__isinf_ns): Likewise.
50411 (__isinf_nsf): Likewise.
50412 (__finite): Likewise.
50413 (__finitef): Likewise.
50414 (__ieee754_sqrt): Define as macro.
50415 (__ieee754_sqrtf): Define as macro.
50416 (__ieee754_sqrtl): Define as macro.
50417 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50418 inlined copy.
50419 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50420 __FINITE_MATH_ONLY__ consistent.
50421 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50422
50423 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50424
50425 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50426 of rawmemchr.
50427
50428 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50429
50430 2011-10-09 Ulrich Drepper <drepper@gmail.com>
50431
50432 * po/ja.po: Update from translation team.
50433
50434 2011-10-08 Roland McGrath <roland@hack.frob.com>
50435
50436 * locale/programs/locarchive.c (prepare_address_space): New function.
50437 (create_archive, enlarge_archive, open_archive): Use it.
50438
50439 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50440 inside [SHARED], where it is used.
50441
50442 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50443
50444 * nss/getent.c (netgroup_keys): Remove unused variable.
50445 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50446
50447 2011-10-08 Ulrich Drepper <drepper@gmail.com>
50448
50449 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50450 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50451 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50452 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50453 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50454 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50455 * math/Makefile (libm-calls): Add s_isinf_ns.
50456 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50457 * math/multc3.c: Likewise.
50458 * math/s_casin.c: Likewise.
50459 * math/s_casinf.c: Likewise.
50460 * math/s_casinl.c: Likewise.
50461 * math/s_ccos.c: Likewise.
50462 * math/s_ccosf.c: Likewise.
50463 * math/s_ccosl.c: Likewise.
50464 * math/s_ctan.c: Likewise.
50465 * math/s_ctanf.c: Likewise.
50466 * math/s_ctanh.c: Likewise.
50467 * math/s_ctanhf.c: Likewise.
50468 * math/s_ctanhl.c: Likewise.
50469 * math/s_ctanl.c: Likewise.
50470 * math/w_fmod.c: Likewise.
50471 * math/w_fmodf.c: Likewise.
50472 * math/w_fmodl.c: Likewise.
50473 * math/w_remainder.c: Likewise.
50474 * math/w_remainderf.c: Likewise.
50475 * math/w_remainderl.c: Likewise.
50476 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50477 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50478 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50479 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50480 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50481 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50482 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50483 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50484
50485 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50486 of the number.
50487 * stdio-common/printf_fphex.c: Likewise.
50488 * stdio-common/printf_size.c: Likewise.
50489
50490 * math/e_exp10.c: Include math_private.h using <...> not "...".
50491 * math/e_exp10f.c: Likewise.
50492 * math/e_exp10l.c: Likewise.
50493 * math/e_exp2l.c: Likewise.
50494 * math/e_j0l.c: Likewise.
50495 * math/e_j1l.c: Likewise.
50496 * math/e_jnl.c: Likewise.
50497 * math/e_lgammal_r.c: Likewise.
50498 * math/e_rem_pio2l.c: Likewise.
50499 * math/e_scalb.c: Likewise.
50500 * math/e_scalbf.c: Likewise.
50501 * math/e_scalbl.c: Likewise.
50502 * math/k_cosl.c: Likewise.
50503 * math/k_sinl.c: Likewise.
50504 * math/k_tanl.c: Likewise.
50505 * math/s_cacoshf.c: Likewise.
50506 * math/s_catan.c: Likewise.
50507 * math/s_catanf.c: Likewise.
50508 * math/s_catanh.c: Likewise.
50509 * math/s_catanhf.c: Likewise.
50510 * math/s_catanhl.c: Likewise.
50511 * math/s_catanl.c: Likewise.
50512 * math/s_ccosh.c: Likewise.
50513 * math/s_ccoshf.c: Likewise.
50514 * math/s_ccoshl.c: Likewise.
50515 * math/s_cexp.c: Likewise.
50516 * math/s_cexpf.c: Likewise.
50517 * math/s_cexpl.c: Likewise.
50518 * math/s_clog.c: Likewise.
50519 * math/s_clog10.c: Likewise.
50520 * math/s_clog10f.c: Likewise.
50521 * math/s_clog10l.c: Likewise.
50522 * math/s_clogf.c: Likewise.
50523 * math/s_clogl.c: Likewise.
50524 * math/s_csin.c: Likewise.
50525 * math/s_csinf.c: Likewise.
50526 * math/s_csinh.c: Likewise.
50527 * math/s_csinhf.c: Likewise.
50528 * math/s_csinhl.c: Likewise.
50529 * math/s_csinl.c: Likewise.
50530 * math/s_csqrt.c: Likewise.
50531 * math/s_csqrtf.c: Likewise.
50532 * math/s_csqrtl.c: Likewise.
50533 * math/s_ctan.c: Likewise.
50534 * math/s_ctanf.c: Likewise.
50535 * math/s_ctanh.c: Likewise.
50536 * math/s_ctanhf.c: Likewise.
50537 * math/s_ctanhl.c: Likewise.
50538 * math/s_ctanl.c: Likewise.
50539 * math/s_ldexp.c: Likewise.
50540 * math/s_ldexpf.c: Likewise.
50541 * math/s_ldexpl.c: Likewise.
50542 * math/s_significand.c: Likewise.
50543 * math/s_significandf.c: Likewise.
50544 * math/s_significandl.c: Likewise.
50545 * math/w_acos.c: Likewise.
50546 * math/w_acosf.c: Likewise.
50547 * math/w_acosh.c: Likewise.
50548 * math/w_acoshf.c: Likewise.
50549 * math/w_acoshl.c: Likewise.
50550 * math/w_acosl.c: Likewise.
50551 * math/w_asin.c: Likewise.
50552 * math/w_asinf.c: Likewise.
50553 * math/w_asinl.c: Likewise.
50554 * math/w_atan2.c: Likewise.
50555 * math/w_atan2f.c: Likewise.
50556 * math/w_atan2l.c: Likewise.
50557 * math/w_atanh.c: Likewise.
50558 * math/w_atanhf.c: Likewise.
50559 * math/w_atanhl.c: Likewise.
50560 * math/w_cosh.c: Likewise.
50561 * math/w_coshf.c: Likewise.
50562 * math/w_coshl.c: Likewise.
50563 * math/w_dremf.c: Likewise.
50564 * math/w_exp10.c: Likewise.
50565 * math/w_exp10f.c: Likewise.
50566 * math/w_exp10l.c: Likewise.
50567 * math/w_exp2.c: Likewise.
50568 * math/w_exp2f.c: Likewise.
50569 * math/w_fmod.c: Likewise.
50570 * math/w_fmodf.c: Likewise.
50571 * math/w_fmodl.c: Likewise.
50572 * math/w_hypot.c: Likewise.
50573 * math/w_hypotf.c: Likewise.
50574 * math/w_hypotl.c: Likewise.
50575 * math/w_j0.c: Likewise.
50576 * math/w_j0f.c: Likewise.
50577 * math/w_j0l.c: Likewise.
50578 * math/w_j1.c: Likewise.
50579 * math/w_j1f.c: Likewise.
50580 * math/w_j1l.c: Likewise.
50581 * math/w_jn.c: Likewise.
50582 * math/w_jnf.c: Likewise.
50583 * math/w_jnl.c: Likewise.
50584 * math/w_lgamma.c: Likewise.
50585 * math/w_lgamma_r.c: Likewise.
50586 * math/w_lgammaf.c: Likewise.
50587 * math/w_lgammaf_r.c: Likewise.
50588 * math/w_lgammal.c: Likewise.
50589 * math/w_lgammal_r.c: Likewise.
50590 * math/w_log.c: Likewise.
50591 * math/w_log10.c: Likewise.
50592 * math/w_log10f.c: Likewise.
50593 * math/w_log10l.c: Likewise.
50594 * math/w_log2.c: Likewise.
50595 * math/w_log2f.c: Likewise.
50596 * math/w_log2l.c: Likewise.
50597 * math/w_logf.c: Likewise.
50598 * math/w_logl.c: Likewise.
50599 * math/w_pow.c: Likewise.
50600 * math/w_powf.c: Likewise.
50601 * math/w_powl.c: Likewise.
50602 * math/w_remainder.c: Likewise.
50603 * math/w_remainderf.c: Likewise.
50604 * math/w_remainderl.c: Likewise.
50605 * math/w_scalb.c: Likewise.
50606 * math/w_scalbf.c: Likewise.
50607 * math/w_scalbl.c: Likewise.
50608 * math/w_sinh.c: Likewise.
50609 * math/w_sinhf.c: Likewise.
50610 * math/w_sinhl.c: Likewise.
50611 * math/w_sqrt.c: Likewise.
50612 * math/w_sqrtf.c: Likewise.
50613 * math/w_sqrtl.c: Likewise.
50614 * math/w_tgamma.c: Likewise.
50615 * math/w_tgammaf.c: Likewise.
50616 * math/w_tgammal.c: Likewise.
50617
50618 * po/ja.po: Update from translation team.
50619
50620 2011-09-29 Andreas Jaeger <aj@suse.de>
50621
50622 [BZ #13179]
50623 * sunrpc/netname.c (netname2host): Fix logic.
50624
50625 [BZ #6779]
50626 [BZ #6783]
50627 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50628 correctly.
50629 * math/w_remainder.c (__remainder): Likewise.
50630 * math/w_remainderf.c (__remainderf): Likewise.
50631 * math/libm-test.inc (remainder_test): Add test cases.
50632
50633 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50634
50635 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50636 sdiv_qrnnd.
50637
50638 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50639
50640 * string/test-memcmp.c: Avoid unncessary #defines.
50641 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50642
50643 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50644
50645 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50646 Use new sse2 version for core i3 - i7 as it's faster
50647 than sse42 version.
50648 (bit_Prefer_PMINUB_for_stringop): New.
50649 * sysdeps/x86_64/rawmemchr.S: Update.
50650 Replace with faster SSE2 version.
50651 * sysdeps/x86_64/memrchr.S: New file.
50652 * sysdeps/x86_64/memchr.S: Update.
50653 Replace with faster SSE2 version.
50654
50655 2011-09-12 Marek Polacek <mpolacek@redhat.com>
50656
50657 * elf/dl-load.c (lose): Add cast to avoid warning.
50658
50659 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50660
50661 * po/ca.po: Update from translation team.
50662
50663 * inet/getnetgrent_r.c: Hook up nscd.
50664 * nscd/Makefile (routines): Add nscd_netgroup.
50665 (nscd-modules): Add netgroupcache.
50666 (CFLAGS-netgroupcache.c): Define.
50667 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50668 (cache_search): Add const to second parameter.
50669 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50670 INNETGR.
50671 (dbs): Add netgrdb entry.
50672 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50673 (verify_persistent_db): Handle netgrdb.
50674 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50675 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50676 GETFDNETGR.
50677 (netgroup_response_header): Define.
50678 (innetgroup_response_header): Define.
50679 (datahead): Add netgroup_response_header and innetgroup_response_header
50680 elements.
50681 * nscd/nscd.conf: Add entries for netgroup cache.
50682 * nscd/nscd.h (dbtype): Add netgrdb.
50683 (_PATH_NSCD_NETGROUP_DB): Define.
50684 (netgroup_iov_disabled): Declare.
50685 (xmalloc, xcalloc, xrealloc): Move declarations here.
50686 (cache_search): Adjust prototype.
50687 Add netgroup-related prototypes.
50688 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50689 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50690 (__nscd_innetgr): Declare.
50691 * nscd/selinux.c (perms): Use access_vector_t as element type and
50692 add netgroup-related initializers.
50693 * nscd/netgroupcache.c: New file.
50694 * nscd/nscd_netgroup.c: New file.
50695 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50696 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50697 For four parameters use innetgr.
50698 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50699 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50700 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50701 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50702
50703 * nscd/connections.c (register_traced_file): Don't register file
50704 for disabled databases.
50705
50706 2011-10-06 Ulrich Drepper <drepper@gmail.com>
50707
50708 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50709
50710 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50711 from tree and freeing node.
50712
50713 2011-09-25 Jiri Olsa <jolsa@redhat.com>
50714
50715 * nss/nsswitch.c (__nss_database_lookup): Handle
50716 nss_parse_service_list out of memory case.
50717
50718 2011-09-15 Jiri Olsa <jolsa@redhat.com>
50719
50720 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50721 out of memory case.
50722
50723 2011-10-04 Andreas Schwab <schwab@redhat.com>
50724
50725 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50726 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50727 pass it down.
50728 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50729 elf_machine_rela, elf_machine_lazy_rel.
50730 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50731 (ELF_DYNAMIC_DO_REL): Likewise.
50732 (ELF_DYNAMIC_DO_RELA): Likewise.
50733 (ELF_DYNAMIC_RELOCATE): Likewise.
50734 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50735 to ELF_DYNAMIC_DO_REL.
50736 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50737 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50738 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50739 elf_machine_rela.
50740 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50741 skip_ifunc, don't call ifunc function if non-zero.
50742 (elf_machine_rela): Likewise.
50743 (elf_machine_lazy_rel): Likewise.
50744 (elf_machine_lazy_rela): Likewise.
50745 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50746 (elf_machine_lazy_rel): Likewise.
50747 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50748 Likewise.
50749 (elf_machine_lazy_rel): Likewise.
50750 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50751 Likewise.
50752 (elf_machine_lazy_rel): Likewise.
50753 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50754 (elf_machine_lazy_rel): Likewise.
50755 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50756 (elf_machine_lazy_rel): Likewise.
50757 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50758 (elf_machine_lazy_rel): Likewise.
50759 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50760 (elf_machine_lazy_rel): Likewise.
50761 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50762 (elf_machine_lazy_rel): Likewise.
50763 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50764 (elf_machine_lazy_rel): Likewise.
50765
50766 2011-09-28 Ulrich Drepper <drepper@gmail.com>
50767
50768 * nss/nss_files/files-init.c (_nss_files_init): Use static
50769 initialization for all the *_traced_file variables.
50770
50771 2011-09-28 Andreas Schwab <schwab@redhat.com>
50772
50773 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50774
50775 2011-09-27 Roland McGrath <roland@hack.frob.com>
50776
50777 [BZ #13226]
50778 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50779
50780 2011-09-27 Andreas Schwab <schwab@redhat.com>
50781
50782 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50783 Reread the line before reparsing it.
50784
50785 2011-09-26 Andreas Schwab <schwab@redhat.com>
50786
50787 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50788
50789 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50790 Maxim Kuvyrkov <maxim@codesourcery.com>
50791 Joseph Myers <joseph@codesourcery.com>
50792
50793 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50794 if needed for __stack_chk_guard.
50795
50796 2011-09-19 Roland McGrath <roland@hack.frob.com>
50797
50798 * sysdeps/posix/spawni.c (script_execute): Always define it.
50799 It will be optimized away if unused.
50800 (maybe_script_execute): New function.
50801 (__spawni): Call it.
50802
50803 * Makerules: Don't include tls.make.
50804 (config-tls): Always set to thread.
50805 * tls.make.c: File removed.
50806
50807 2011-09-19 Mike Frysinger <vapier@gentoo.org>
50808
50809 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50810 * config.make.in (CPPFLAGS-config): New substituted variable.
50811
50812 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50813
50814 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50815
50816 [BZ #13192]
50817 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50818 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50819
50820 2011-09-15 Roland McGrath <roland@hack.frob.com>
50821
50822 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50823 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50824 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50825 (CALL_FAIL): Likewise.
50826 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50827 (CALL_FAIL): Macro removed.
50828 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50829
50830 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50831
50832 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50833 for __FINITE_MATH_ONLY__ == 1.
50834
50835 2011-09-15 Andreas Schwab <schwab@redhat.com>
50836
50837 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50838 __ieee754_sqrt instead of sqrt.
50839 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50840 __ieee754_sqrtf instead of sqrtf.
50841 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50842 __floorf instead of floorf.
50843 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50844 __floorf, __truncf instead of floorf, truncf.
50845
50846 2011-09-14 Ulrich Drepper <drepper@gmail.com>
50847
50848 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50849
50850 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50851 __extern_always_inline.
50852 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50853 32-bit.
50854
50855 2011-09-14 Andreas Schwab <schwab@redhat.com>
50856
50857 * elf/rtld.c (dl_main): Also relocate in dependency order when
50858 doing symbol dependency testing.
50859
50860 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50861
50862 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50863 Always define `refsym'.
50864
50865 2011-09-13 Andreas Schwab <schwab@redhat.com>
50866
50867 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50868 (__FD_ELT): Renamed from __FDELT.
50869 * misc/bits/select2.h (__FD_ELT): Likewise.
50870 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50871 __FD_MASK instead of __FDELT, __FDMASK.
50872 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50873 Likewise.
50874 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50875 Likewise.
50876
50877 * elf/Makefile (gen-ldd): Fix pattern.
50878
50879 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50880 (init_tls): Likewise.
50881
50882 2011-09-12 Ulrich Drepper <drepper@gmail.com>
50883
50884 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50885
50886 2011-09-12 Andreas Schwab <schwab@redhat.com>
50887
50888 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50889 `struct cmsghdr *' instead of `void *'.
50890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50891 Likewise.
50892
50893 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
50894
50895 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50896 if non-absolute.
50897 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50898 ldd_rewrite_script.
50899
50900 2011-09-11 Ulrich Drepper <drepper@gmail.com>
50901
50902 * configure.in: Remove --with-tls option.
50903 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50904 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50905 out in case it is missing.
50906 * sysdeps/ia64/elf/configure.in: Likewise.
50907 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50908 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50909 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50910 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50911 * sysdeps/sh/elf/configure.in: Likewise.
50912 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50913 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50914 * sysdeps/x86_64/elf/configure.in: Likewise.
50915 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50916 * sysdeps/mach/hurd/tls.h: Likewise.
50917
50918 [BZ #13067]
50919 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50920
50921 [BZ #13090]
50922 * configure.in: Fix use of AC_INIT.
50923
50924 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50925
50926 2011-09-10 Ulrich Drepper <drepper@gmail.com>
50927
50928 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50929 __set_errno.
50930 * malloc/hooks.c: Likewise.
50931
50932 [BZ #11929]
50933 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
50934 variables statically.
50935 (narenas): Initialize.
50936 (list_lock): Initialize.
50937 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
50938 initializtion of main_arena and list_lock. Small cleanups.
50939 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50940 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
50941 Add initializers to main_arena and mp_.
50942 (malloc_state): Remove pagesize member. Change all users to use
50943 GLRO(dl_pagesize).
50944
50945 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50946 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
50947 is always initialized.
50948
50949 * malloc/malloc.c: Removed unused configurations and dead code.
50950 * malloc/arena.c: Likewise.
50951 * malloc/hooks.c: Likewise.
50952 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50953
50954 * include/tls.h: Removed. USE___THREAD must always be defined.
50955 * bits/libc-tsd.h: Don't handle !USE___THREAD.
50956 * elf/dl-libc.c: Likewise.
50957 * elf/dl-tsd.c: Likewise.
50958 * include/errno.h: Likewise.
50959 * include/netdb.h: Likewise.
50960 * include/resolv.h: Likewise.
50961 * inet/herrno-loc.c: Likewise.
50962 * inet/herrno.c: Likewise.
50963 * malloc/arena.c: Likewise.
50964 * malloc/hooks.c: Likewise.
50965 * malloc/malloc.c: Likewise.
50966 * resolv/res-state.c: Likewise.
50967 * resolv/res_libc.c: Likewise.
50968 * sysdeps/i386/dl-machine.h: Likewise.
50969 * sysdeps/ia64/dl-machine.h: Likewise.
50970 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50971 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50972 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50973 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50974 * sysdeps/sh/dl-machine.h: Likewise.
50975 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50976 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50977 * sysdeps/unix/i386/sysdep.S: Likewise.
50978 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50979 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50980 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50981 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50982 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50983 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50984 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50985 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50986 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50987 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50988 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50989 * sysdeps/x86_64/dl-machine.h: Likewise.
50990 * tls.make.c: Likewise.
50991
50992 * configure.in: Remove --with-__thread option. Make tests for
50993 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50994 tls_model attribute fail if no support is available. Remove
50995 USE_IN_LIBIO.
50996 * Makeconfig: Adjust for dropped configure option. All features are
50997 now mandatory.
50998 * Makerules: Likewise.
50999 * Versions.def: Likewise.
51000 * argp/argp-fmtstream.c: Likewise.
51001 * argp/argp-fmtstream.h: Likewise.
51002 * argp/argp-help.c: Likewise.
51003 * assert/assert.c: Likewise.
51004 * config.h.in: Likewise.
51005 * config.make.in: Likewise.
51006 * configure: Likewise.
51007 * configure.in: Likewise.
51008 * csu/Versions: Likewise.
51009 * csu/init.c: Likewise.
51010 * elf/tst-audit2.c: Likewise.
51011 * elf/tst-tls10.c: Likewise.
51012 * elf/tst-tls10.h: Likewise.
51013 * elf/tst-tls11.c: Likewise.
51014 * elf/tst-tls12.c: Likewise.
51015 * elf/tst-tls14.c: Likewise.
51016 * elf/tst-tlsmod11.c: Likewise.
51017 * elf/tst-tlsmod12.c: Likewise.
51018 * elf/tst-tlsmod13.c: Likewise.
51019 * elf/tst-tlsmod13a.c: Likewise.
51020 * elf/tst-tlsmod14a.c: Likewise.
51021 * elf/tst-tlsmod15b.c: Likewise.
51022 * elf/tst-tlsmod16a.c: Likewise.
51023 * elf/tst-tlsmod16b.c: Likewise.
51024 * elf/tst-tlsmod7.c: Likewise.
51025 * elf/tst-tlsmod8.c: Likewise.
51026 * elf/tst-tlsmod9.c: Likewise.
51027 * gmon/gmon.c: Likewise.
51028 * grp/fgetgrent_r.c: Likewise.
51029 * grp/putgrent.c: Likewise.
51030 * hurd/fopenport.c: Likewise.
51031 * include/libc-symbols.h: Likewise.
51032 * include/tls.h: Likewise.
51033 * intl/gettextP.h: Likewise.
51034 * intl/loadinfo.h: Likewise.
51035 * locale/global-locale.c: Likewise.
51036 * locale/localeinfo.h: Likewise.
51037 * mach/devstream.c: Likewise.
51038 * malloc/arena.c: Likewise.
51039 * malloc/set-freeres.c: Likewise.
51040 * misc/err.c: Likewise.
51041 * misc/getttyent.c: Likewise.
51042 * misc/mntent_r.c: Likewise.
51043 * posix/getopt.c: Likewise.
51044 * posix/wordexp.c: Likewise.
51045 * pwd/fgetpwent_r.c: Likewise.
51046 * resolv/Versions: Likewise.
51047 * resolv/res_hconf.c: Likewise.
51048 * shadow/fgetspent_r.c: Likewise.
51049 * shadow/putspent.c: Likewise.
51050 * stdio-common/printf_fphex.c: Likewise.
51051 * stdio-common/tmpfile.c: Likewise.
51052 * stdlib/abort.c: Likewise.
51053 * stdlib/fmtmsg.c: Likewise.
51054 * sunrpc/auth_unix.c: Likewise.
51055 * sunrpc/clnt_perr.c: Likewise.
51056 * sunrpc/clnt_tcp.c: Likewise.
51057 * sunrpc/clnt_udp.c: Likewise.
51058 * sunrpc/clnt_unix.c: Likewise.
51059 * sunrpc/openchild.c: Likewise.
51060 * sunrpc/svc_simple.c: Likewise.
51061 * sunrpc/svc_tcp.c: Likewise.
51062 * sunrpc/svc_udp.c: Likewise.
51063 * sunrpc/svc_unix.c: Likewise.
51064 * sunrpc/xdr.c: Likewise.
51065 * sunrpc/xdr_array.c: Likewise.
51066 * sunrpc/xdr_rec.c: Likewise.
51067 * sunrpc/xdr_ref.c: Likewise.
51068 * sunrpc/xdr_stdio.c: Likewise.
51069
51070 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51071
51072 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51073
51074 2011-07-03 Andreas Jaeger <aj@suse.de>
51075
51076 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51077 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51078 regenerate with gen-libm-tests.pl.
51079
51080 2010-05-12 Petr Baudis <pasky@suse.cz>
51081
51082 [BZ #11589]
51083 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51084 around j0() zero points by switching to j1().
51085 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51086 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51087 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51088 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51089
51090 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51091
51092 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51093 instead of 0.
51094 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51095 instead of 0.
51096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51097 Patch in part by Pavel Roskin <proski@gnu.org>.
51098
51099 [BZ #13138]
51100 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51101 realloc.
51102 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51103 Free memory block if necessary.
51104
51105 [BZ #12847]
51106 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51107 be NULL. Don't lock in this case.
51108
51109 2011-09-09 Roland McGrath <roland@hack.frob.com>
51110
51111 * elf/elf.h (ELFOSABI_GNU): New macro.
51112 (ELFOSABI_LINUX): Define to that.
51113
51114 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51115
51116 * string/strncat.c (strncat): Undef the symbol in case it has been
51117 defined in bits/string.h.
51118
51119 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51120
51121 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51122
51123 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51124 link map.
51125
51126 2011-08-17 Andreas Jaeger <aj@suse.de>
51127
51128 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51129
51130 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51131 Ian Lance Taylor <iant@google.com>
51132
51133 * math/libm-test.inc (lround_test): New testcase.
51134 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51135
51136 2011-09-08 Ulrich Drepper <drepper@gmail.com>
51137
51138 * Makefile: Remove support for automatic cvs check-ins.
51139 * Makerules: Likewise.
51140 * config.make.in: Likewise.
51141 * configure.in: Likewise.
51142 * intl/Makefile: Likewise.
51143 * locale/Makefile: Likewise.
51144 * po/Makefile: Likewise.
51145 * posix/Makefile: Likewise.
51146 * sysdeps/gnu/Makefile: Likewise.
51147 * sysdeps/mach/hurd/Makefile: Likewise.
51148 * sysdeps/sparc/sparc32/Makefile: Likewise.
51149
51150 [BZ #13118]
51151 * posix/Makefile (bug-regex32-ENV): Define.
51152 Patch by John Stanley <jpsinthemix@verizon.net>.
51153
51154 * misc/Makefile (headers): Add bits/select2.h.
51155 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51156 * misc/bits/select2.h: New file.
51157 * include/bits/select2.h: New file.
51158 * debug/Makefile (routines): Add fdelt_chk.
51159 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51160 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51161 FD_ISSET.
51162 * debug/fdelt_chk.c: New file.
51163
51164 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51165 * wcsmbs/test-wmemcmp.c: Likewise.
51166 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51167 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51168
51169 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51170
51171 * string/Makefile (strop-tests): Add memcmp.
51172 * string/test-wmemcmp.c: New file.
51173 * string/test-memcmp.c: Add wmemcmp support.
51174
51175 2011-09-08 Roland McGrath <roland@hack.frob.com>
51176
51177 [BZ #13153]
51178 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51179 2011-07-19 change.
51180
51181 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51182 garbage value in a __mach_port_mod_refs call in the cases of the
51183 task-self and thread-self ports.
51184
51185 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51186
51187 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51188
51189 2011-09-08 Andreas Schwab <schwab@redhat.com>
51190
51191 * elf/dl-load.c (lose): Check for non-null L.
51192
51193 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51194
51195 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51196
51197 * elf/dl-libc.c (dlerror_run): Pass back error code from
51198 dl_catch_error.
51199
51200 [BZ #13123]
51201 * elf/dl-load.c (lose): Free l_origin if it is valid.
51202
51203 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51204 names.
51205 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51206 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51207 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51208 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51209 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51210 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51211
51212 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51213
51214 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51215 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51216 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51217 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51218 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51219 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51220 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51221 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51222 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51223 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51224
51225 2011-08-15 Alan Modra <amodra@gmail.com>
51226
51227 [BZ #13092]
51228 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51229 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51230 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51231 ppc_mcount to static-only-routines.
51232 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51233 __mcount_internal.
51234 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51235 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51236
51237 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51238
51239 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51240 for finite and infinity parameters.
51241
51242 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51243
51244 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51245 and add nop instructions for throughput optimization.
51246 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51247
51248 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51249
51250 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51251 aligned copy for power7 with vector-scalar instructions.
51252 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51253
51254 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51255
51256 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51257 AVX check.
51258
51259 2011-09-07 Andreas Schwab <schwab@redhat.com>
51260
51261 [BZ #13144]
51262 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51263 last change.
51264
51265 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51266
51267 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51268 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51269 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51270 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51271 clock_gettime.
51272
51273 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51274
51275 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51276 Forgot to demangle the pointer.
51277
51278 * sysdeps/i386/sysdep.h: Define atom_text_section.
51279 * sysdeps/x86_64/sysdep.h: Likewise.
51280 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51281 section with atom_text_section.
51282 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51283 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51284 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51285 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51286 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51287
51288 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51289 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51290 already be defined. Change to take two parameters and don't assign
51291 result to variable. Adjust all users.
51292 Define INTERNAL_GETTIME if not already defined.
51293 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51294 call.
51295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51296 HAVE_CLOCK_GETTIME_VSYSCALL.
51297 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51298
51299 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51300 gettimeofday vsyscall, just use time.
51301
51302 2011-09-06 Andreas Schwab <schwab@redhat.com>
51303
51304 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51305 <errno.h>.
51306
51307 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51308
51309 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51310 syscall on x86-64.
51311 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51312 syscall.
51313 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51314 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51315 syscall if possible.
51316
51317 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51318
51319 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51320 e_ident. Don't pass to find_mapsXX.
51321 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51322
51323 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51324
51325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51326 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51327 * sysdeps/x86_64/multiarch/strchr.S: Update.
51328 Check bit_slow_BSF bit.
51329 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51330 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51331 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51332
51333 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51334
51335 [BZ #13134]
51336 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51337 before glibc 2.15.
51338 (tryshell): Define.
51339 (__spawni): Change last parameter to be flag. Test
51340 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51341 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51342 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51343 * posix/spawni.c: Likewise.
51344 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51345 * posix/spawnp.c: Likewise. Change normal version to use
51346 SPAWN_XFLAGS_USE_PATH.
51347 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51348 SPAWN_XFLAGS_TRY_SHELL.
51349
51350 [BZ #13150]
51351 * posix/glob.h: Remove gcc 1.x support.
51352
51353 [BZ #13068]
51354 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51355
51356 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51357
51358 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51359 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51360 strrchr-sse2-bsf
51361 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51362 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51363 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51364 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51365 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51366 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51367
51368 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51369
51370 * sysdeps/x86_64/wcscmp.S: New file.
51371
51372 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51373 wcscmp-c wcscmp-sse2
51374 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51375 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51376 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51377 * wcsmbs/wcscmp.c: Allow renaming.
51378
51379 2011-09-05 David S. Miller <davem@davemloft.net>
51380
51381 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51382 stack slot, rather than the struct return pointer slot.
51383 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51384 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51386 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51387
51388 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51389
51390 * po/ja.po: Update from translation team.
51391
51392 [BZ #13144]
51393 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51394 kernel in 64-bit binaries.
51395
51396 2011-09-01 David S. Miller <davem@davemloft.net>
51397
51398 * elf/elf.h (HWCAP_SPARC_*): Move to..
51399 * sysdeps/sparc/sysdep.h: this new file and add new values.
51400 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51401 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51402 _DL_HWCAP_COUNT to 24.
51403 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51404 entries.
51405 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51406 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51407 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51408 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51409 instead of magic constants.
51410 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51411
51412 2011-08-31 David S. Miller <davem@davemloft.net>
51413
51414 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51415 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51416 Reimplement to do errno handling inline.
51417 (SYSCALL_ERROR_HANDLER): New macro.
51418 (__SYSCALL_STRING): Do not do errno handling in asm.
51419 (__CLONE_SYSCALL_STRING): Delete.
51420 (__INTERNAL_SYSCALL_STRING): Delete.
51421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51422 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51423 (PSEUDO): Reimplement to do errno handling inline.
51424 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51425 (SYSCALL_ERROR_HANDLER): New macro.
51426 (__SYSCALL_STRING): Do not do errno handling in asm.
51427 (__CLONE_SYSCALL_STRING): Delete.
51428 (__INTERNAL_SYSCALL_STRING): Delete.
51429 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51430 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51431 i386.
51432 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51433 (inline_syscall*): Add 'err' argument.
51434 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51435 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51436 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51437 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51438
51439 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51440 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51441
51442 2011-08-30 Andreas Schwab <schwab@redhat.com>
51443
51444 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51445
51446 2011-08-29 Jiri Olsa <jolsa@redhat.com>
51447
51448 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51449 directive.
51450
51451 2011-08-24 David S. Miller <davem@davemloft.net>
51452
51453 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51454
51455 2011-08-24 Andreas Schwab <schwab@redhat.com>
51456
51457 * elf/Makefile: Add rules to build and run unload8 test.
51458 * elf/unload8.c: New file.
51459 * elf/unload8mod1.c: New file.
51460 * elf/unload8mod1x.c: New file.
51461 * elf/unload8mod2.c: New file.
51462 * elf/unload8mod3.c: New file.
51463
51464 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51465 it wasn't used.
51466
51467 2011-08-23 David S. Miller <davem@davemloft.net>
51468
51469 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51470 subtract stack bias.
51471 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51472 %sp not %fp in calculations.
51473 (_JMPBUF_UNWINDS_ADJ): Likewise.
51474
51475 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51476 (aio_suspend): Call it to force an exception region around the
51477 AIO_MISC_WAIT() invocation.
51478
51479 2011-08-23 Andreas Schwab <schwab@redhat.com>
51480
51481 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51482 backslash.
51483
51484 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51485
51486 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51487 protection macro.
51488 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51489 and <dl-machine.h>.
51490 (Elf64_FuncDesc): Remove.
51491
51492 2011-08-22 David S. Miller <davem@davemloft.net>
51493
51494 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51495 sigaltstack check, add missing cfi directives.
51496 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51497 missing cfi directives, and sigaltstack handling.
51498
51499 2011-08-16 Andreas Schwab <schwab@redhat.com>
51500
51501 [BZ #11724]
51502 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51503 object is seen twice.
51504 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51505
51506 * elf/Makefile (distribute): Add tst-initorder2.c.
51507 (tests): Add tst-initorder2.
51508 (modules-names): Add tst-initorder2a tst-initorder2b
51509 tst-initorder2c tst-initorder2d. Add rules to build them.
51510 ($(objpfx)tst-initorder2.out): New rule.
51511 * elf/tst-initorder2.c: New file.
51512 * elf/tst-initorder2.exp: New file.
51513
51514 2011-08-22 Andreas Schwab <schwab@redhat.com>
51515
51516 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51517
51518 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51519 dependencies back to end of function.
51520
51521 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51522 $(elfobjdir)/ld.so.
51523
51524 2011-08-21 Ulrich Drepper <drepper@gmail.com>
51525
51526 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51527 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51528 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51529 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51530 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51531 of __vdso_gettimeofday.
51532 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51533 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51534 attribute_hidden.
51535 (_libc_vdso_platform_setup): Remove initialization of
51536 __vdso_gettimeofday and __vdso_time.
51537
51538 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51539
51540 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51541 and fgetc_unlocked.
51542 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51543 getc_unlocked.
51544
51545 * elf/dl-open.c (add_to_global): Report additions to the global scope
51546 for LD_DEBUG=scopes.
51547 (dl_open_worker): Also print scope of newly loaded dependencies.
51548 (_dl_show_scope): Indicate if there is no scope.
51549
51550 [BZ #13114]
51551 * stdio-common/Makefile (tests): Add bug24.
51552 * stdio-common/bug24.c: New file.
51553
51554 2011-08-19 Andreas Jaeger <aj@suse.de>
51555
51556 [BZ #13114]
51557 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51558 non-existant file when using close-on-exec mode.
51559
51560 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51561
51562 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51563 the very first instruction.
51564
51565 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51566 the CFI state in the end.
51567 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51568 inclusion of dl-trampoline.h.
51569 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51570
51571 2011-08-19 Andreas Schwab <schwab@redhat.com>
51572
51573 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51574 expectations for long double.
51575
51576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51577 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51578
51579 2011-08-14 David S. Miller <davem@davemloft.net>
51580
51581 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51582 artificual limit depends upon the system page size.
51583
51584 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51585
51586 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51587 * resolv/Makefile: Define CFLAGS-libresolv.
51588
51589 2011-08-17 Andreas Schwab <schwab@redhat.com>
51590
51591 * nss/makedb.c (compute_tables): Make variables used in nested
51592 function static.
51593
51594 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51595
51596 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51597 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51598 if buffer was too small.
51599
51600 * elf/pldd.c (main): Attach to all threads in the process.
51601 Rewrite /proc handling to use *at functions.
51602
51603 2011-08-16 Ulrich Drepper <drepper@gmail.com>
51604
51605 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51606 specifies first scope to show.
51607 (dl_open_worker): Update callers. Move printing scope of new
51608 object to before the relocation.
51609 * elf/rtld.c (dl_main): Update _dl_show_scope call.
51610 * sysdeps/generic/ldsodefs.h: Update declaration.
51611
51612 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51613 string for the scope number.
51614
51615 2011-08-14 Ulrich Drepper <drepper@gmail.com>
51616
51617 * nscd/servicescache.c (cache_addserv): Make sure written is always
51618 initialized.
51619
51620 2011-08-14 Roland McGrath <roland@hack.frob.com>
51621
51622 * sysdeps/i386/i486/bits/atomic.h
51623 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51624 statement expression, so as to suppress "set but not used" warning.
51625 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51626
51627 * string/strncat.c (STRNCAT): Use prototype definition.
51628
51629 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51630 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51631 -Iprograms here.
51632 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51633 (localedef-modules): Add localedef.
51634 (locale-modules): Add locale.
51635
51636 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51637 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51638 to avoid a warning.
51639
51640 2011-08-14 David S. Miller <davem@davemloft.net>
51641
51642 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51643 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51644
51645 2011-08-13 Ulrich Drepper <drepper@gmail.com>
51646
51647 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51648 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51649 * elf/rtld.c (dl_main): Set l_name of vDSO.
51650 Call _dl_show_scope when DL_DEBUG_SCOPES.
51651 (process_dl_debug): Recognize scopes flag and also set it for all.
51652 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51653 Declare _dl_show_scope.
51654
51655 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51656 (do_dlopen): Pass caller_dlopen to dl_open.
51657 (__libc_dlopen_mode): Initialize caller_dlopen.
51658
51659 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51660 of libc. Make tolower call locale-independent. Optimize a bit by
51661 using isdigit instead of isalnum.
51662 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51663
51664 2011-08-12 Ulrich Drepper <drepper@gmail.com>
51665
51666 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51667 was a dependency or dynamically loaded.
51668
51669 2011-08-11 Ulrich Drepper <drepper@gmail.com>
51670
51671 * intl/l10nflist.c: Allow architecture-specific pop function.
51672 * sysdeps/x86_64/l10nflist.c: New file.
51673
51674 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51675 classification.
51676
51677 2011-08-10 Andreas Schwab <schwab@redhat.com>
51678
51679 * include/dirent.h: Add libc_hidden_proto for scandirat and
51680 scandirat64. Don't declare __scandirat64.
51681 * dirent/scandirat.c: Add libc_hidden_def.
51682 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51683 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51684
51685 2011-08-10 David S. Miller <davem@davemloft.net>
51686
51687 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51688 enum.
51689 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51690 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51691 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51692
51693 2011-08-09 Ulrich Drepper <drepper@gmail.com>
51694
51695 * Versions.def [libc]: Add GLIBC_2.15.
51696 * dirent/Makefile (routines): Add scandirat and scandirat64.
51697 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51698 GLIBC_2.15.
51699 * dirent/dirent.h: Declare scandirat and scandirat64.
51700 * dirent/scandirat.c: New file.
51701 * dirent/scandirat64.c: New file.
51702 * sysdeps/wordsize-64/scandirat.c: New file.
51703 * sysdeps/wordsize-64/scandirat64.c: New file.
51704 * dirent/opendir.c: Define opendirat.
51705 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51706 using scandirat.
51707 * dirent/scandir64.c: Adjust for scandir.c change.
51708 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51709 __scandirat64, and __scandir_cancel_handler.
51710 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51711 additional parameter and use openat instead of open (outside of ld.so).
51712 Add new __opendir as wrapper around __opendirat.
51713 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51714 here without requiring old scandirat implementation.
51715
51716 2011-08-08 Ulrich Drepper <drepper@gmail.com>
51717
51718 * dirent/scandir.c (cancel_handler): Renamed to
51719 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51720 defined. Adjust users.
51721 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51722 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51723
51724 2011-08-04 Ulrich Drepper <drepper@gmail.com>
51725
51726 * string/test-string.h (IMPL): Use __STRING to expand name and then
51727 stringify it.
51728
51729 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51730 of cleanups.
51731
51732 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51733
51734 * string/Makefile: Update.
51735 (strop-tests): Append strncat.
51736 * string/test-wcscmp.c: New file.
51737 New comprehensive test for wcscmp.
51738 * string/test-strcmp.c: Update.
51739 (WIDE): New define.
51740
51741 2011-07-22 Andreas Schwab <schwab@redhat.com>
51742
51743 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51744 line.
51745
51746 2011-07-26 Andreas Schwab <schwab@redhat.com>
51747
51748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51749 encoding to ACE if AI_IDN.
51750
51751 2011-08-01 Jakub Jelinek <jakub@redhat.com>
51752
51753 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51754 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51755
51756 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51757
51758 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51759 Fix overflow bug in strncat.
51760 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51761
51762 * string/test-strncat.c: Update.
51763 Add new tests for checking overflow bugs.
51764
51765 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51766
51767 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51768 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51769 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51770 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51771 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51772 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51773 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51774 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51775 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51776
51777 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51778 (USE_AS_STRCAT): Define.
51779 Add strcat and strncat support.
51780 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51781
51782 2011-07-25 Andreas Schwab <schwab@redhat.com>
51783
51784 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51785 __n bigger than INT_MAX+1.
51786 (__strncmp_g): Likewise.
51787
51788 2011-07-23 Ulrich Drepper <drepper@gmail.com>
51789
51790 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51791 * libio/stido.h: Likewise.
51792
51793 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51794 (AF_NFC): Define.
51795 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51796 (AF_NFC): Define.
51797
51798 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51799 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51800 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51801 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51802 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51803
51804 [BZ #13021]
51805 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51806 installed.
51807
51808 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51809 typo.
51810 (_dl_x86_64_save_sse): Likewise.
51811
51812 2011-07-22 Ulrich Drepper <drepper@gmail.com>
51813
51814 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51815 OSXSAVE.
51816 (_dl_x86_64_save_sse): Likewise.
51817
51818 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51819
51820 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51821
51822 2011-07-21 Andreas Schwab <schwab@redhat.com>
51823
51824 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51825 change.
51826 (_dl_x86_64_save_sse): Use correct AVX check.
51827
51828 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51829
51830 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51831 bug in strncpy/strncat.
51832 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51833
51834 2011-07-21 Ulrich Drepper <drepper@gmail.com>
51835
51836 * string/tester.c (test_strcat): Add tests for different alignments
51837 of source and destination.
51838 (test_strncat): Likewise.
51839
51840 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51841
51842 [BZ #12852]
51843 * posix/glob.c (glob): Check passed in values before using them in
51844 expressions to avoid some overflows.
51845 (glob_in_dir): Likewise.
51846
51847 [BZ #13007]
51848 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51849 check for AVX enablement so that we don't crash with old kernels and
51850 new hardware.
51851 * elf/tst-audit4.c: Add same checks here.
51852 * elf/tst-audit6.c: Likewise.
51853
51854 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51855
51856 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51857
51858 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51859
51860 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51861
51862 * po/cs.po: Update from translation team.
51863 * po/bg.po: Likewise.
51864
51865 2011-07-12 Marek Polacek <mpolacek@redhat.com>
51866
51867 * misc/sys/cdefs.h: Add support for const attribute.
51868 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51869 to gnu_dev_{major,minor,makedev} functions.
51870
51871 2011-07-20 Marek Polacek <mpolacek@redhat.com>
51872
51873 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51874
51875 2011-07-20 Andreas Schwab <schwab@redhat.com>
51876
51877 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51878 strlen results.
51879
51880 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51881
51882 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51883 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51884 register in order to avoid conflicts with the soft frame pointer
51885 being held in r11 when necessary.
51886 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51887 (INTERNAL_VSYSCALL_NCS): Likewise.
51888
51889 2011-07-14 Marek Polacek <mpolacek@redhat.com>
51890
51891 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51892 * elf/dl-fini.c (_dl_fini): Adjust caller.
51893 * elf/dl-close.c (_dl_close_worker): Likewise.
51894 * sysdeps/generic/ldsodefs.h: Adjust declaration.
51895
51896 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51897
51898 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51899 "aux_cache->nlibs < 0".
51900
51901 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51902 in the reload-count case.
51903
51904 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51905
51906 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51907 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51908 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51909 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51910 * sysdeps/x86_64/multiarch/strcat.S: New file.
51911 * sysdeps/x86_64/multiarch/strncat.S: New file.
51912 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51913 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51914 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51915 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51916 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51917 (USE_AS_STRCAT): Define.
51918 Add strcat and strncat support.
51919 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51920 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51921 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51922 * string/strncat.c: Update.
51923 (USE_AS_STRNCAT): Define.
51924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51925 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51926 and i7.
51927 * sysdeps/x86_64/multiarch/init-arch.h
51928 (bit_Prefer_PMINUB_for_stringop): New.
51929 (index_Prefer_PMINUB_for_stringop): Likewise.
51930 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51931 bit_Prefer_PMINUB_for_stringop.
51932
51933 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51934
51935 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51936 buffer64.
51937 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51938 of casting of buffer.
51939 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51940 buffer32 and buffer64.
51941 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51942 writes instead of casting of buffer.
51943 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51944 buffer32.
51945 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51946 casting of buffer.
51947
51948 2011-07-19 Andreas Schwab <schwab@redhat.com>
51949
51950 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51951
51952 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51953
51954 * nscd/nscd.c (termination_handler): Don't do anything for a database
51955 if it has not yet been initialized.
51956
51957 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51958
51959 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51960
51961 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51962
51963 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51964
51965 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51966
51967 * po/nl.po: Update from translation team.
51968 * po/sv.po: Likewise.
51969
51970 2011-07-16 Roland McGrath <roland@hack.frob.com>
51971
51972 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51973 now disallowed by GCC.
51974
51975 * configure.in (use-default-link): Default to yes if a test -shared
51976 link meets our qualifications.
51977 * configure: Regenerated.
51978
51979 * config.make.in (output-format): New variable.
51980 * configure.in: Check for ld --print-output-format support.
51981 * configure: Regenerated.
51982 * Makerules ($(common-objpfx)format.lds)
51983 [$(output-format) != unknown]: Just use $(output-format),
51984 instead of the linker-script munging.
51985
51986 2011-07-14 Roland McGrath <roland@hack.frob.com>
51987
51988 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51989 of $(common-objpfx)shlib.lds.
51990 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51991
51992 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51993 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51994
51995 * configure.in (-z relro check): Adjust test code to add a large
51996 writable data section after it.
51997 * configure: Regenerated.
51998
51999 2011-07-11 Roland McGrath <roland@hack.frob.com>
52000
52001 * configure.in (-z relro check): Fix test code to make the variable
52002 truly const.
52003 * configure: Regenerated.
52004
52005 2011-07-11 Ulrich Drepper <drepper@gmail.com>
52006
52007 * nscd/nscd.h (struct traced_file): Define.
52008 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52009 elements. Add traced_files.
52010 (inotify_fd): Declare.
52011 (register_traced_file): Declare.
52012 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52013 (inotify_fd): Export.
52014 (resolv_conf_descr): Remove.
52015 (nscd_init): Move inotify descriptor creation to main.
52016 Don't register files for notification here.
52017 (register_traced_file): New function.
52018 (invalidate_cache): Don't use reset_res to determine whether to call
52019 res_init, go through the list of registered files.
52020 (main_loop_poll): The inotify descriptors are now stored in the
52021 structures for the traced files.
52022 (main_loop_epoll): Likewise
52023 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52024 to __nss_disable_nscd.
52025 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52026 for a database anymore. Check the records for all the registered
52027 files instead.
52028 * nss/Makefile (libnss_files-routines): Add files-init.
52029 (libnss_db-routines): Add db-init.
52030 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52031 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52032 * nss/nss_db/db-init.c: New file.
52033 * nss/nss_files/files-init.c: New file.
52034 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52035 __nss_lookup_function.
52036 (__nss_lookup_function): Call nss_load_library.
52037 (nss_load_all_libraries): New function.
52038 (__nss_disable_nscd): Take parameter with callback function for files
52039 to register. Set is_nscd. Load all the DSOs for the NSS modules
52040 used for the cached services.
52041 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52042 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52043 options for features to all the files in nscd.
52044
52045 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52046
52047 2011-07-10 Roland McGrath <roland@hack.frob.com>
52048
52049 * csu/elf-init.c (__libc_csu_init): Comment typo.
52050
52051 2011-07-09 Ulrich Drepper <drepper@gmail.com>
52052
52053 * po/pl.po: Update from translation team.
52054 * po/ja.po: Likewise.
52055 * po/ru.po: Likewise.
52056 * po/ko.po: Likewise.
52057 * po/fr.po: Likewise.
52058
52059 2011-07-09 Roland McGrath <roland@hack.frob.com>
52060
52061 * configure.in (.ctors/.dtors header and trailer check):
52062 Use an empirical test on a built program.
52063 * configure: Regenerated.
52064
52065 * configure.in (-z relro check): Use an empirical test on a built DSO.
52066 Detect, but do not require, on ia64.
52067 * configure: Regenerated.
52068
52069 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52070 Update tests that use readelf to use $READELF instead.
52071 * configure: Regenerated.
52072
52073 2011-07-08 Ulrich Drepper <drepper@gmail.com>
52074
52075 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52076 if the result is not used.
52077
52078 2011-07-05 Andreas Jaeger <aj@suse.de>
52079
52080 [BZ#9696]
52081 * stdlib/tst-strtod.c: Add testcase.
52082
52083 2011-07-07 Ulrich Drepper <drepper@gmail.com>
52084
52085 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52086 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52087 The latter has a higher limit. Take additional parameter to pass to
52088 the new function.
52089 (__pathconf): Pass file to __statfs_link_max.
52090 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52091 __statfs_link_max.
52092 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52093 __statfs_link_max.
52094
52095 [BZ #12868]
52096 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52097 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52098 Handle Lustre.
52099 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52100 (__statfs_filesize_max): Likewise.
52101 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52102
52103 2011-07-05 Andreas Jaeger <aj@suse.de>
52104
52105 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52106
52107 2011-07-06 Marek Polacek <mpolacek@redhat.com>
52108
52109 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52110 `status' variable.
52111 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52112 Likewise.
52113
52114 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52115
52116 * Makefile (strop-tests): Add strncat.
52117 * string/test-strncat.c: New file.
52118
52119 2011-06-30 Marek Polacek <mpolacek@redhat.com>
52120
52121 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52122
52123 2011-06-21 Andreas Jaeger <aj@suse.de>
52124
52125 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52126 Copy rule from iconvdata/Makefile.
52127
52128 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52129
52130 [BZ #12922]
52131 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52132 but no long options are defined, just return 'W'.
52133
52134 2011-06-22 Marek Polacek <mpolacek@redhat.com>
52135
52136 [BZ #9696]
52137 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52138
52139 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52140
52141 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52142 netgroups to read.
52143 (innetgr): Likewise.
52144
52145 2011-07-05 Roland McGrath <roland@hack.frob.com>
52146
52147 * config.make.in (install_root): Default to $(DESTDIR).
52148
52149 2011-07-05 Ulrich Drepper <drepper@gmail.com>
52150
52151 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52152
52153 2011-07-02 Roland McGrath <roland@hack.frob.com>
52154
52155 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52156
52157 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52158 containing directory rather than embedding absolute directory names.
52159
52160 * scripts/check-local-headers.sh: Rewritten using awk.
52161 Match by word, not by line. Print error messages for matches.
52162 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52163
52164 * Makerules [shlib-lds-flags empty]:
52165 ($(common-objpfx)libc_pic.opts): New target.
52166 ($(common-objpfx)libc_pic.os.clean): New target.
52167 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52168
52169 * config.make.in (OBJCOPY): New variable.
52170 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52171 * configure: Regenerated.
52172
52173 * config.make.in (use-default-link): New variable.
52174 * configure.in (use_default_link): Grok --with-default-link to set it.
52175 * configure: Regenerated.
52176 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52177 (shlib-lds, shlib-lds-flags): Define to empty.
52178
52179 * Makerules (shlib-lds): New variable.
52180 (shlib-lds-flags): New variable.
52181 (build-shlib, build-moduile, build-module-asneeded): Use it.
52182 ($(common-objpfx)libc.so): Use $(shlib-lds).
52183 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52184 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52185
52186 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52187 DT_FLAGS/DT_FLAGS_1 with zero flags.
52188
52189 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52190 linker script munging.
52191
52192 2011-07-02 Ulrich Drepper <drepper@gmail.com>
52193
52194 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52195 as 128-bit value.
52196 * crypt/sha512.c (sha512_process_block): Perform total addition using
52197 128-bit if possible.
52198 (__sha512_finish_ctx): Likewise.
52199 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52200 as 64-bit value.
52201 * crypt/sha256.c (SWAP64): Define.
52202 (sha256_process_block): Perform total addition using 64-bit if
52203 possible.
52204 (__sha256_finish_ctx): Likewise.
52205
52206 2011-07-01 Ulrich Drepper <drepper@gmail.com>
52207
52208 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52209 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52210 * nscd/hstcache.c (cache_addhst): Likewise.
52211 * nscd/grpcache.c (cache_addgr): Likewise.
52212 * nscd/aicache.c (addhstaiX): Likewise
52213 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52214
52215 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
52216
52217 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52218 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52219 * nscd/hstcache.c (cache_addhst): Likewise.
52220 * nscd/grpcache.c (cache_addgr): Likewise.
52221 * nscd/aicache.c (addhstaiX): Likewise
52222
52223 2011-07-01 Andreas Schwab <schwab@redhat.com>
52224
52225 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52226 domain only when needed.
52227
52228 2011-06-30 Andreas Schwab <schwab@redhat.com>
52229
52230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52231 is always restored.
52232
52233 2011-06-29 Ulrich Drepper <drepper@gmail.com>
52234
52235 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52236 are re-adding the entry.
52237 * nscd/servicescache.c (cache_addserv): Likewise.
52238
52239 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52240
52241 * sysdeps/generic/dl-irel.h: fix protection against multiple
52242 inclusions.
52243 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52244
52245 2011-06-28 Ulrich Drepper <drepper@gmail.com>
52246
52247 [BZ #12935]
52248 * malloc/memusage.sh: Fix quoting in message.
52249 * debug/xtrace.sh: Likewise.
52250
52251 * configure.in: Remove support for --experimental-malloc option, make
52252 it the default.
52253 * config.make.in: Likewise.
52254 * malloc/Makefile: Likewise.
52255
52256 2011-06-27 Andreas Schwab <schwab@redhat.com>
52257
52258 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52259 two-byte characters.
52260
52261 2011-06-27 Roland McGrath <roland@hack.frob.com>
52262
52263 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52264 AC_CACHE_CHECK invocation.
52265 * configure: Regenerated.
52266
52267 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52268
52269 2011-06-27 Ulrich Drepper <drepper@gmail.com>
52270
52271 [BZ #12350]
52272 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52273 bit from old_res_options.
52274
52275 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52276
52277 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52278 value type for setfct.
52279
52280 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52281
52282 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52283 __gettimeofday instead of gettimeofday.
52284
52285 2011-06-26 Ulrich Drepper <drepper@gmail.com>
52286
52287 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52288
52289 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52290
52291 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52292
52293 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52294 info.
52295
52296 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52297
52298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52299 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52300 strcpy-sse2-unaligned strncpy-sse2-unaligned
52301 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52302 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52303 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52304 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52305 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52306 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52307 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52308 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52309 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52310 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52311 (STRCPY): Support SSE2 and SSSE3 versions.
52312
52313 2011-06-24 Ulrich Drepper <drepper@gmail.com>
52314
52315 [BZ #12874]
52316 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52317 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52318 kernels which artificially limit size of requests.
52319
52320 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52321
52322 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52323 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52324 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52325 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52326 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52327 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52328 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52329 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52330 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52331 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52332 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52333 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52334 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52335 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52336 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52338 Enable unaligned load optimization for Intel Core i3, i5 and i7
52339 processors.
52340 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52341 Define.
52342 (index_Fast_Unaligned_Load): Define.
52343 (HAS_FAST_UNALIGNED_LOAD): Define.
52344
52345 2011-06-23 Marek Polacek <mpolacek@redhat.com>
52346
52347 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52348
52349 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52350
52351 [BZ #12907]
52352 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52353 until it is clear that the information is realy needed.
52354 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52355
52356 2011-06-22 Andreas Schwab <schwab@redhat.com>
52357
52358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52359
52360 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52361
52362 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52363 /sys/devices/system/cpu/online if it is usable.
52364
52365 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52366 reading the information from the /proc filesystem to once a second.
52367
52368 2011-06-21 Andreas Jaeger <aj@suse.de>
52369
52370 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52371 NULL after inclusion of kernel headers.
52372
52373 2011-06-21 Ulrich Drepper <drepper@gmail.com>
52374
52375 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52376 calls to internal_setent.
52377
52378 [BZ #12885]
52379 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52380 addresses using gethostbyname4_r ignore IPv4 addresses.
52381
52382 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52383 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52384
52385 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52386
52387 2011-06-20 David S. Miller <davem@davemloft.net>
52388
52389 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52390 inclusions.
52391 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52392
52393 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52394 (elf_irel): Use it.
52395 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52396 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52397 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52398 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52399 * sysdeps/x86_64/dl-irel.h: Likewise.
52400
52401 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52402 * elf/dl-sym.c: Likewise.
52403
52404 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52405
52406 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52407 need to dereference resplen2.
52408
52409 2011-06-14 Andreas Schwab <schwab@redhat.com>
52410
52411 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52412
52413 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52414
52415 * Makeconfig: Define vardbdir and inst_vardbdir.
52416 * nss/Makefile: Add rules to install db-Makefile.
52417
52418 * nss/nss_db/db-XXX.c: Cleanup.
52419
52420 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52421 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52422 GLIBC_PRIVATE.
52423 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52424 * nss/makedb.c: Implement -g option to specify that value strings
52425 are generated and should not be added to table iterated over for
52426 get*ent calls.
52427 * nss/nss_db/db-initgroups.c: New file.
52428
52429 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52430 interface.
52431
52432 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52433 (internal_getgrouplist): Adjust to name change.
52434 Update use_initgroups_entry if this is not the first call.
52435 * nss/databases.def: Add initgroups entry.
52436
52437 * nss/makedb.c (compute_tables): Check result of multiple hash table
52438 sizes to minimize maximum chain length.
52439
52440 2011-06-14 Ulrich Drepper <drepper@gmail.com>
52441
52442 * Versions.def: Add entry for libnss_db.
52443 * shlib-versions: Likewise.
52444 * nss/Makefile: Add rules to build libnss_db.
52445 * nss/Versions: Add libnss_db information. Organize libnss_files
52446 entries better.
52447 * nss/db-Makefile: Add gshadow support. Change rules for the new
52448 makedb progra. Some minor improvements to generate smaller files.
52449 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52450 here from...
52451 * nss/makedb.c: ...here.
52452 Improve database format to be smaller and require less memory at
52453 runtime.
52454 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52455 db anymore.
52456 * nss/nss_db/db-netgrp.c: Likewise.
52457 * nss/nss_db/db-open.c: Likewise.
52458 * nss/nss_files/flies-XXX.x: Adjust comments.
52459 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52460 * nss/nss_files/files-grp.c: Likewise.
52461 * nss/nss_files/files-hosts.c: Likewise.
52462 * nss/nss_files/files-network.c: Likewise.
52463 * nss/nss_files/files-proto.c: Likewise.
52464 * nss/nss_files/files-pwd.c: Likewise.
52465 * nss/nss_files/files-rpc.c: Likewise.
52466 * nss/nss_files/files-service.c: Likewise.
52467 * nss/nss_files/files-sgrp.c: Likewise.
52468 * nss/nss_files/files-spwd.c: Likewise.
52469 * nss/nss_db/db-alias.c: Removed.
52470 * nss/nss_db/dummy-db.h: Removed.
52471
52472 2011-06-02 Ulrich Drepper <drepper@gmail.com>
52473
52474 * nss/makedb.c: Rewritten to not use database library.
52475 * nss/Makefile: Update to build new makedb program.
52476
52477 2011-06-14 Andreas Jaeger <aj@suse.de>
52478
52479 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52480 memset declaration.
52481
52482 2011-06-10 Andreas Schwab <schwab@redhat.com>
52483
52484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52485 tmpbuf.
52486
52487 2011-06-10 Roland McGrath <roland@hack.frob.com>
52488
52489 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52490 * elf/Makefile ($(objpfx)ld.so): Likewise.
52491
52492 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52493 Don't list ld.so twice in dependencies.
52494
52495 * posix/bug-regex31.c: Include <stdlib.h>.
52496
52497 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52498
52499 * nis/nss_compat/compat-spwd.c
52500 (getspent_next_nss_netgr): Remove unused variable.
52501 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52502
52503 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52504 nonmembers" output to use the right array.
52505
52506 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52507
52508 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52509
52510 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52511 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52512 * catgets/gencat.c (read_input_file): Likewise.
52513 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52514
52515 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52516 variable definition inside #if's controlling its use.
52517
52518 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52519
52520 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52521
52522 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52523
52524 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52525 unreachable code.
52526
52527 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52528
52529 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52530 * configure: Regenerated.
52531
52532 * Makerules: Revert last change.
52533 * elf/Makefile: Likewise.
52534
52535 2011-06-09 Roland McGrath <roland@hack.frob.com>
52536
52537 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52538 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52539 (reloc-link): Likewise.
52540
52541 2011-06-09 Ulrich Drepper <drepper@gmail.com>
52542
52543 * elf/Makefile: Add rules to build pldd.
52544 * elf/pldd.c: New file.
52545 * elf/pldd-xx.c: New file.
52546
52547 2011-06-07 Ulrich Drepper <drepper@gmail.com>
52548
52549 * version.h: Update for 2.15 development version.
52550
52551 2011-06-07 David S. Miller <davem@davemloft.net>
52552
52553 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52554 ifuncs.
52555 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52556 elf_machine_lazy_rel): Likewise.
52557 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52558 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52559 elf_machine_lazy_rel): Likewise.
52560 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52561 dl_hwcap via passed in argument.
52562 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52563 Likewise.
52564
52565 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52566
52567 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52568
52569 2011-06-06 Roland McGrath <roland@hack.frob.com>
52570
52571 [BZ #12849]
52572 * manual/fdl-1.1.texi: New file, verbatim from:
52573 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52574 * manual/lgpl-2.1.texi: New file, verbatim from:
52575 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52576 * manual/Makefile (licenses): New variable, list those new file names.
52577 (texis): Use it.
52578 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52579
52580 * manual/fdl.texi: File removed.
52581 * manual/lesser.texi: File removed.
52582 * manual/libc.texinfo (Copying, Documentation License):
52583 Use new @include file names, put @appendix directive before @include.
52584
52585 2011-06-04 Jakub Jelinek <jakub@redhat.com>
52586
52587 [BZ #12841]
52588 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52589 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52590 (mq_open): Add __NTH.
52591
52592 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52593
52594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52595 Assume Intel Core i3/i5/i7 processor if AVX is available.
52596
52597 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52598
52599 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52600 typo.
52601
52602 2011-05-31 Andreas Schwab <schwab@redhat.com>
52603
52604 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52605 memory. Use alloca_account. Fix memory leak when retrying.
52606
52607 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52608
52609 * version.h (RELEASE): Bump for 2.14 release.
52610 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52611
52612 * config.make.in (RANLIB): Remove entry.
52613
52614 2011-05-30 Ulrich Drepper <drepper@gmail.com>
52615
52616 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52617 (libc.pot): Work around missing support for .ksh extension in xgettext.
52618
52619 [BZ #12684]
52620 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52621 if both request failed.
52622 (send_dg): In case of server errors clear resplen or *resplen2.
52623
52624 [BZ #12454]
52625 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52626 when there are multiple maps.
52627 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52628 (_dl_fini): Remove test here.
52629
52630 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52631
52632 2011-05-29 Ulrich Drepper <drepper@gmail.com>
52633
52634 [BZ #12350]
52635 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52636 bit from old_res_options.
52637 (gaih_inet): Likewise.
52638
52639 [BZ #11099]
52640 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52641 as signed.
52642
52643 * resolv/res_init.c (res_setoptions): Make the code more compact.
52644
52645 [BZ #11558]
52646 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52647 set RES_USEVC.
52648
52649 [BZ #11634]
52650 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52651
52652 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52653
52654 [BZ #11781]
52655 * malloc/malloc.h: Declare malloc hook variables as volatile.
52656
52657 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52658 in last patch.
52659
52660 [BZ #11799]
52661 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52662 raise in the comment.
52663 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52664 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52665 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52666
52667 2011-05-28 Ulrich Drepper <drepper@gmail.com>
52668
52669 [BZ #12811]
52670 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52671 grow the buffers more if it already has to be sufficient.
52672 (build_wcs_upper_buffer): Likewise.
52673 * posix/regexec.c (check_matching): Likewise.
52674 (clean_state_log_if_needed): Likewise.
52675 (extend_buffers): Don't enlarge buffers beyond size of the input
52676 buffer.
52677 Patches mostly by Emil Wojak <emil@wojak.eu>.
52678 * posix/bug-regex32.c: New file.
52679 * posix/Makefile (tests): Add bug-regex32.
52680
52681 * locale/findlocale.c (_nl_find_locale): Return right away if
52682 _nl_explode_name failed.
52683 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52684
52685 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52686
52687 * debug/xtrace.sh: Unify messages.
52688 * malloc/memusage.sh: Likewise.
52689
52690 [BZ #12813]
52691 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52692 time symbol from vDSO. Substitute with vsyscall if not available.
52693 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52694 __vdso_time.
52695
52696 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52697 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52698 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52699 Add sendmmsg and internal_sendmmsg.
52700 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52701 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52702 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52703
52704 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52705 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52706 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52707
52708 2011-05-27 Ulrich Drepper <drepper@gmail.com>
52709
52710 [BZ #12813]
52711 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52712 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52713 available.
52714 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52715 __vdso_getcpu.
52716
52717 [BZ #12814]
52718 * iconvdata/Makefile (tests): Add bug-iconv9.
52719 * iconvdata/bug-iconv9.c: New file.
52720
52721 2011-05-27 Andreas Schwab <schwab@redhat.com>
52722
52723 [BZ #12814]
52724 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52725
52726 2011-05-25 Jakub Jelinek <jakub@redhat.com>
52727
52728 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52729 (struct user_regs_struct): Change intcs field back to cs.
52730
52731 2011-05-25 Ulrich Drepper <drepper@gmail.com>
52732
52733 * po/ja.po: Update from translation team.
52734
52735 2011-05-23 Ulrich Drepper <drepper@gmail.com>
52736
52737 [BZ #12795]
52738 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52739 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52740
52741 2011-05-20 Andreas Schwab <schwab@redhat.com>
52742
52743 * stdlib/longlong.h: Update from GCC.
52744
52745 2011-05-23 Andreas Schwab <schwab@redhat.com>
52746
52747 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52748 parameter name.
52749 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52750 Add parameter name.
52751 (__sysconf): Pass it down.
52752
52753 2011-05-22 Ulrich Drepper <drepper@gmail.com>
52754
52755 [BZ #12671]
52756 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52757 some situations.
52758 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52759 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52760 add in in __libc_use_alloca calls. Adjust callers.
52761 (glob): Use malloc in some situations.
52762
52763 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52764 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52765 pltexit.
52766
52767 2011-05-21 Ulrich Drepper <drepper@gmail.com>
52768
52769 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52770 and CLOCK_BOOTTIME_ALARM.
52771
52772 [BZ #12782]
52773 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52774 is returned.
52775
52776 * string/_strerror.c (__strerror_r): Print negative errors as signed
52777 numbers.
52778
52779 [BZ #12777]
52780 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52781 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52782 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52783
52784 * configure.in: Fix typo in redirection and correct removal of test
52785 files in two cases.
52786
52787 [BZ #12788]
52788 * locale/setlocale.c (new_composite_name): Fix test to check for
52789 identical name of all categories.
52790
52791 [BZ #12792]
52792 * libio/filedoalloc.c (local_isatty): New function.
52793 (_IO_file_doallocate): Use local_isatty.
52794 * stdio-common/perror.c (perror): In case a new stream is used
52795 forward the stream error.
52796 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52797 error flag.
52798
52799 2011-05-20 Ulrich Drepper <drepper@gmail.com>
52800
52801 [BZ #11869]
52802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52803 alloca.
52804 * include/alloca.h (extend_alloca_account): Define.
52805
52806 [BZ #11857]
52807 * posix/regex.h: Fix comments with documentation of user-accessible
52808 fields after compilation and describe correct free'ing of pattern
52809 after re_compile_pattern.
52810 Patch by Reuben Thomas <rrt@sc3d.org>.
52811
52812 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52813
52814 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52815 and -mno-altivec to prevent the compiler from using Altivec and/or
52816 VSX instructions when the corresponding registers are not available.
52817
52818 2011-05-19 Andreas Schwab <schwab@redhat.com>
52819
52820 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52821
52822 2011-05-19 Ulrich Drepper <drepper@gmail.com>
52823
52824 * libio/freopen.c (freopen): Use __dup2, not dup2.
52825 * libio/freopen64.c (freopen64): Likewise.
52826
52827 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52828
52829 [BZ #12775]
52830 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52831 * math/Makefile (tests): Add test-powl.
52832 (CFLAGS-test-powl.c): Define.
52833 * math/test-powl.c: New file.
52834
52835 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52836
52837 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52838
52839 2011-05-17 Ulrich Drepper <drepper@gmail.com>
52840
52841 [BZ #11837]
52842 * iconvdata/gb18030.c: Update to GB18020-2005.
52843
52844 2011-05-16 Ulrich Drepper <drepper@gmail.com>
52845
52846 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52847 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52848 Patch by Aharon Robbins <arnold@skeeve.com>.
52849
52850 [BZ #11892]
52851 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52852 on the stack.
52853
52854 [BZ #11895]
52855 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52856 through underflows.
52857
52858 [BZ #12766]
52859 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52860 point to strings before performing equality test for error_one_per_line
52861 mode.
52862
52863 [BZ #11697]
52864 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52865
52866 [BZ #11820]
52867 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52868 (struct user_fpregs_struct): Avoid __uint*_t types.
52869
52870 [BZ #6420]
52871 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52872 symbol info. Use it instead of calling _dl_addr locally.
52873 (lock_and_info): New function.
52874 (tr_freehook): Call lock_and_info and pass symbol info as additional
52875 parameter to tr_where.
52876 (tr_mallochook): Likewise.
52877 (tr_reallochook): Likewise.
52878 (tr_memalignhook): Likewise.
52879
52880 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
52881 used and couldn't be at all thread-safe.
52882
52883 2011-05-15 Ulrich Drepper <drepper@gmail.com>
52884
52885 * libio/freopen.c (freopen): Don't close old file descriptor
52886 before the new one is opened. Instead dup the new file descriptor
52887 to the old one after the new stream is created.
52888 * libio/freopen64.c (freopen64): Likewise.
52889 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52890 * libio/fileops.c (_IO_new_file_close_it): Handle new
52891 _IO_FLAGS2_NOCLOSE flag.
52892 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52893 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52894 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52895 _IO_FLAGS2_NOCLOSE flag.
52896 * include/unistd.h: Add hidden_proto for dup3.
52897 Define __have_dup3.
52898 * io/dup3.c: Define hidden symbol.
52899 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52900
52901 [BZ #7101]
52902 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52903 when an incomplete long option is used.
52904 * posix/tst-getopt_long1.c: New file.
52905 * posix/Makefile (tests): Add tst-getopt_long1.
52906
52907 [BZ #10138]
52908 * scripts/config.guess: Update from autoconf-2.68.
52909 * scripts/config.sub: Likewise.
52910
52911 [BZ #10157]
52912 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52913 tests into ...
52914 (has_cpuclock): ...this. New function.
52915 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52916 macro here based on has_cpuclock code.
52917
52918 [BZ #10149]
52919 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52920 First byte (not low byte) is now always NUL.
52921 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52922
52923 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52924 Use non-cancelable interfaces.
52925
52926 [BZ #9809]
52927 * locale/iso-639.def: Add entry for Sorani.
52928
52929 [BZ #11901]
52930 * include/stdlib.h: Move include protection to the right place.
52931 Define abort_msg_s. Declare __abort_msg with it.
52932 * stdlib/abort.c (__abort_msg): Adjust type.
52933 * assert/assert.c (__assert_fail_base): New function. Majority
52934 of code from __assert_fail. Allocate memory for __abort_msg with
52935 mmap.
52936 (__assert_fail): Now call __assert_fail_base.
52937 * assert/assert-perr.c: Remove bulk of implementation. Use
52938 __assert_fail_base.
52939 * include/assert.hL Declare __assert_fail_base.
52940 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52941 mmap.
52942 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52943
52944 2011-05-14 Ulrich Drepper <drepper@gmail.com>
52945
52946 [BZ #11952]
52947 [BZ #12453]
52948 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52949 until all modules are registered in the DTV.
52950 * elf/Makefile: Add rules to build and run tst-tls19.
52951 * elf/tst-tls19.c: New file.
52952 * elf/tst-tls19mod1.c: New file.
52953 * elf/tst-tls19mod2.c: New file.
52954 * elf/tst-tls19mod3.c: New file.
52955 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52956
52957 [BZ #12083]
52958 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52959 correctly.
52960
52961 [BZ #12601]
52962 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52963 two-byte sequence errors.
52964 * iconvdata/Makefile (tests): Add bug-iconv8.
52965 * iconvdata/bug-iconv8.c: New file.
52966
52967 [BZ #12626]
52968 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52969 buf2 definition.
52970
52971 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52972
52973 [BZ #12432]
52974 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52975 (dummy_getcfa): New function.
52976 (init): Get _Unwind_GetCFA address, use dummy if not found.
52977 (backtrace_helper): In recursion check, also check whether CFA changes.
52978 (__backtrace): Completely initialize arg.
52979
52980 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52981 storing incomplete byte sequence in state object. Avoid testing for
52982 guaranteed too small input if we know there is enough data available.
52983
52984 2011-05-11 Andreas Schwab <schwab@redhat.com>
52985
52986 * Makeconfig (+link-pie): Indent.
52987 * Rules (binaries-pie): Define if $(have-fpie) and
52988 $(build-shared).
52989 (binaries-shared): Also filter out $(binaries-pie).
52990 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52991 * nscd/Makefile (others-pie): Add nscd.
52992 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52993 ($(objpfx)nscd): Remove command override.
52994 * login/Makefile (others-pie): Add pt_chown.
52995 ($(objpfx)pt_chown): Remove command override.
52996 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52997 remove command overrides.
52998
52999 2011-05-13 Ulrich Drepper <drepper@gmail.com>
53000
53001 * libio/tst_putwc.c: Fix error messages.
53002
53003 [BZ #12724]
53004 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53005 currently writing and seek to current position when not.
53006 * libio/Makefile (tests): Add bug-fclose1.
53007 * libio/bug-fclose1.c: New file.
53008
53009 2011-05-12 Ulrich Drepper <drepper@gmail.com>
53010
53011 [BZ #12511]
53012 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53013 don't set DF_1_NODELETE here.
53014 (do_lookup_x): When entering new entry test for copy relocation
53015 and if necessary set DF_1_NODELETE flag.
53016 * elf/tst-unique4.cc: New file.
53017 * elf/tst-unique4.h: New file.
53018 * elf/tst-unique4lib.cc: New file.
53019 * elf/Makefile: Add rules to build and run tst-unique4.
53020 Patch by Piotr Bury <pbury@goahead.com>.
53021
53022 2011-05-11 Ulrich Drepper <drepper@gmail.com>
53023
53024 [BZ #12052]
53025 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53026
53027 [BZ #12625]
53028 * misc/mntent_r.c (addmntent): Flush the stream after the output
53029
53030 [BZ #12393]
53031 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53032 (is_trusted_path_normalize): Skip initial colon. Append slash
53033 to empty buffer. Duplicate is_trusted_path code but allow
53034 constructed patch to be prefix.
53035 (is_dst): Allow $ORIGIN followed by /.
53036 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53037 Correct testing of result of is_trusted_path_normalize
53038 (decompose_rpath): Fix warning.
53039
53040 2011-05-10 Ulrich Drepper <drepper@gmail.com>
53041
53042 [BZ #11257]
53043 * grp/initgroups.c (internal_getgrouplist): When we found the service
53044 list through the initgroups entry in nsswitch.conf do not always
53045 continue on a successful lookup. Don't always use the
53046 __nss_group_database value if it is set.
53047 * nss/nsswitch.conf (initgroups): Change action for successful db
53048 lookup to continue for compatibility.
53049
53050 2011-05-09 Ulrich Drepper <drepper@gmail.com>
53051
53052 [BZ #11532]
53053 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53054 and CP774 modules.
53055 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53056 and CP774 modules.
53057 * iconvdata/tst-tables.sh: Likewise.
53058 * iconvdata/cp770.c: New file.
53059 * iconvdata/cp771.c: New file.
53060 * iconvdata/cp772.c: New file.
53061 * iconvdata/cp773.c: New file.
53062 * iconvdata/cp774.c: New file.
53063 * iconvdata/testdata/CP770: New file.
53064 * iconvdata/testdata/CP770..UTF8: New file.
53065 * iconvdata/testdata/CP771: New file.
53066 * iconvdata/testdata/CP771..UTF8: New file.
53067 * iconvdata/testdata/CP772: New file.
53068 * iconvdata/testdata/CP772..UTF8: New file.
53069 * iconvdata/testdata/CP773: New file.
53070 * iconvdata/testdata/CP773..UTF8: New file.
53071 * iconvdata/testdata/CP774: New file.
53072 * iconvdata/testdata/CP774..UTF8: New file.
53073
53074 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53075 END CHARMAP line.
53076 * iconvdata/gen-8bit-gap.sh: Likewise.
53077 * iconvdata/gen-8bit.sh: Likewise.
53078
53079 * locale/iso-639.def: Add ary entry.
53080
53081 [BZ #11258]
53082 * locale/C-translit.h.in: Add U20A1 transliteration.
53083
53084 [BZ #12178]
53085 * locale/iso-639.def: Add wae entry.
53086 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53087
53088 [BZ #12545]
53089 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53090 for n.
53091
53092 [BZ #12711]
53093 * locale/C-translit.h.in: Add entry for U20B9.
53094 Patch by pravin.d.s@gmail.com.
53095
53096 2011-05-08 Ulrich Drepper <drepper@gmail.com>
53097
53098 [BZ #12713]
53099 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53100 ENAMETOOLONG use generic getcwd.
53101 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53102 in rtld. Use *stat64.
53103 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53104 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53105 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53106 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53107 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53108 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53109 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53110 __fstatat64 macros.
53111 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53112 * dirent/rewinddir.c: Add libc_hidden_def.
53113 * sysdeps/mach/hurd/rewinddir.c: Likewise.
53114 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
53115
53116 * include/dirent.h (__alloc_dir): Add flags parameter.
53117 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53118 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53119 __alloc_dir.
53120 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53121 from fdopendir if O_CLOEXEC is already set.
53122
53123 2011-03-15 Alan Modra <amodra@gmail.com>
53124
53125 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53126 l_tls_firstbyte_offset non-zero. Save padding offset in
53127 l_tls_firstbyte_offset for later use.
53128 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53129 freeing static tls block.
53130
53131 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53132
53133 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53134 where #ifdef was intended. The intent is to prevent ARG_MAX from
53135 being defined by the kernel headers.
53136
53137 2011-05-07 Ulrich Drepper <drepper@gmail.com>
53138
53139 [BZ #12734]
53140 * resolv/resolv.h: Define RES_NOTLDQUERY.
53141 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53142 no-tld-query and set RES_NOTLDQUERY.
53143 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53144 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53145 modern BIND to search name as TLD unless forbidden.
53146
53147 2011-05-07 Petr Baudis <pasky@suse.cz>
53148 Ulrich Drepper <drepper@gmail.com>
53149
53150 [BZ #12393]
53151 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53152 (is_trusted_path): ...to here.
53153 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53154 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53155 using is_trusted_path_normalize() in setuid scripts.
53156
53157 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53158
53159 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53160 __BEGIN/__END_DECLS.
53161
53162 2011-05-06 Ulrich Drepper <drepper@gmail.com>
53163
53164 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53165 NSS_STATUS_NOTFOUND if no record was found.
53166
53167 2011-05-05 Andreas Schwab <schwab@redhat.com>
53168
53169 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53170 (headers-not-in-tirpc): Remove rpc/netdb.h
53171 * resolv/netdb.h: Revert last change.
53172
53173 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53174
53175 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53176 circular dependency between libgcc.a and libc.a.
53177
53178 2011-05-05 Andreas Schwab <schwab@redhat.com>
53179
53180 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53181 * nis/Makefile: Don't install rpcsvc/*.
53182 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53183 instead of <rpc/types.h>.
53184 (MAXHOSTNAMELEN): Define.
53185
53186 2011-05-03 Andreas Schwab <schwab@redhat.com>
53187
53188 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53189
53190 2011-04-28 Maciej Babinski <mbabinski@google.com>
53191
53192 [BZ #12714]
53193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53194 gethostbyname4_r when IPv6 results are possible.
53195
53196 2011-05-02 Ulrich Drepper <drepper@gmail.com>
53197
53198 [BZ #12723]
53199 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53200 _PC_PIPE_BUF handling.
53201
53202 2011-04-30 Bruno Haible <bruno@clisp.org>
53203
53204 [BZ #12717]
53205 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53206 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53207 to 'int'.
53208 * inet/getnameinfo.c (getnameinfo): Likewise.
53209
53210 2011-04-29 Ulrich Drepper <drepper@gmail.com>
53211
53212 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53213 to groups setting in database lookup.
53214 * nss/nsswitch.conf: Add initgroups entry.
53215
53216 2011-04-22 Ulrich Drepper <drepper@gmail.com>
53217
53218 [BZ #12685]
53219 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53220 mode string.
53221 Patch by Eric Blake <eblake@redhat.com>.
53222
53223 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53224
53225 * sunrpc/Makefile (need-export-routines): Add svc_run.
53226 (routines): Remove svc_run.
53227 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53228 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53229 * sunrpc/svc_run.c (svc_run): Likewise.
53230 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53231
53232 2011-04-21 Ulrich Drepper <drepper@gmail.com>
53233
53234 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53235 problem in reallocation in last patch.
53236
53237 2011-04-20 Ulrich Drepper <drepper@gmail.com>
53238
53239 * sunrpc/Makefile: Move inclusion of Rules.
53240
53241 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53242
53243 * nss/nss_files/files-initgroups.c: New file.
53244 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53245 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53246 _nss_files_initgroups_dyn.
53247
53248 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53249
53250 * elf/elf.h (R_ARM_IRELATIVE): Define.
53251
53252 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53253
53254 * po/ru.po: Update from translation team.
53255
53256 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53257
53258 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53259 dependencies.
53260
53261 2011-02-06 Mike Frysinger <vapier@gentoo.org>
53262
53263 [BZ #12653]
53264 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53265 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53266 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53267 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53268 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53269
53270 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53271
53272 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53273 differing bytes.
53274 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53275 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53276 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53277
53278 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53279
53280 [BZ #12420]
53281 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53282 storing it.
53283 * stdlib/bug-getcontext.c: New file.
53284 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53285
53286 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53287
53288 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53289 instructions into .machine "z9-109".
53290 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53291 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53292
53293 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53294
53295 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53296 between environment variables and auxiliary vector.
53297
53298 2011-04-16 Ulrich Drepper <drepper@gmail.com>
53299
53300 * Makefile: Add rules to build linkobj/libc.so.
53301 * include/libc-symbols.h: Define libc_hidden_nolink.
53302 * include/rpc/auth.h: Mark functions which are to be hidden.
53303 * include/rpc/auth_des.h: Likewise.
53304 * include/rpc/auth_unix.h: Likewise.
53305 * include/rpc/clnt.h: Likewise.
53306 * include/rpc/des_crypt.h: Likewise.
53307 * include/rpc/key_prot.h: Likewise.
53308 * include/rpc/pmap_clnt.h: Likewise.
53309 * include/rpc/pmap_prot.h: Likewise.
53310 * include/rpc/pmap_rmt.h: Likewise.
53311 * include/rpc/rpc_msg.h: Likewise.
53312 * include/rpc/svc.h: Likewise.
53313 * include/rpc/svc_auth.h: Likewise.
53314 * include/rpc/xdr.h: Likewise.
53315 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53316 * nss/Makefile: Likewise.
53317 * sunrpc/Makefile: Don't install headers. Build library with normal
53318 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53319 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53320 for the compat linking library. Remove use of INTDEF/INTUSE.
53321 * sunrpc/auth_none.c: Likewise.
53322 * sunrpc/auth_unix.c: Likewise.
53323 * sunrpc/authdes_prot.c: Likewise.
53324 * sunrpc/authuxprot.c: Likewise.
53325 * sunrpc/clnt_gen.c: Likewise.
53326 * sunrpc/clnt_perr.c: Likewise.
53327 * sunrpc/clnt_raw.c: Likewise.
53328 * sunrpc/clnt_simp.c: Likewise.
53329 * sunrpc/clnt_tcp.c: Likewise.
53330 * sunrpc/clnt_udp.c: Likewise.
53331 * sunrpc/clnt_unix.c: Likewise.
53332 * sunrpc/des_crypt.c: Likewise.
53333 * sunrpc/des_soft.c: Likewise.
53334 * sunrpc/get_myaddr.c: Likewise.
53335 * sunrpc/key_call.c: Likewise.
53336 * sunrpc/key_prot.c: Likewise.
53337 * sunrpc/netname.c: Likewise.
53338 * sunrpc/pm_getmaps.c: Likewise.
53339 * sunrpc/pm_getport.c: Likewise.
53340 * sunrpc/pmap_clnt.c: Likewise.
53341 * sunrpc/pmap_prot.c: Likewise.
53342 * sunrpc/pmap_prot2.c: Likewise.
53343 * sunrpc/pmap_rmt.c: Likewise.
53344 * sunrpc/publickey.c: Likewise.
53345 * sunrpc/rpc_cmsg.c: Likewise.
53346 * sunrpc/rpc_common.c: Likewise.
53347 * sunrpc/rpc_dtable.c: Likewise.
53348 * sunrpc/rpc_prot.c: Likewise.
53349 * sunrpc/rpc_thread.c: Likewise.
53350 * sunrpc/rtime.c: Likewise.
53351 * sunrpc/svc.c: Likewise.
53352 * sunrpc/svc_auth.c: Likewise.
53353 * sunrpc/svc_authux.c: Likewise.
53354 * sunrpc/svc_raw.c: Likewise.
53355 * sunrpc/svc_run.c: Likewise.
53356 * sunrpc/svc_simple.c: Likewise.
53357 * sunrpc/svc_tcp.c: Likewise.
53358 * sunrpc/svc_udp.c: Likewise.
53359 * sunrpc/svc_unix.c: Likewise.
53360 * sunrpc/svcauth_des.c: Likewise.
53361 * sunrpc/xcrypt.c: Likewise.
53362 * sunrpc/xdr.c: Likewise.
53363 * sunrpc/xdr_array.c: Likewise.
53364 * sunrpc/xdr_float.c: Likewise.
53365 * sunrpc/xdr_intXX_t.c: Likewise.
53366 * sunrpc/xdr_mem.c: Likewise.
53367 * sunrpc/xdr_rec.c: Likewise.
53368 * sunrpc/xdr_ref.c: Likewise.
53369 * sunrpc/xdr_sizeof.c: Likewise.
53370 * sunrpc/xdr_stdio.c: Likewise.
53371
53372 2011-04-10 Ulrich Drepper <drepper@gmail.com>
53373
53374 [BZ #12650]
53375 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53376 * sysdeps/ia64/dl-tls.h: Likewise.
53377 * sysdeps/powerpc/dl-tls.h: Likewise.
53378 * sysdeps/s390/dl-tls.h: Likewise.
53379 * sysdeps/sh/dl-tls.h: Likewise.
53380 * sysdeps/sparc/dl-tls.h: Likewise.
53381 * sysdeps/x86_64/dl-tls.h: Likewise.
53382 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53383
53384 2011-03-14 Andreas Schwab <schwab@redhat.com>
53385
53386 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53387 rpath element also skip the following colon.
53388 (expand_dynamic_string_token): Add is_path parameter and pass
53389 down to DL_DST_REQUIRED and _dl_dst_substitute.
53390 (decompose_rpath): Call expand_dynamic_string_token with
53391 non-zero is_path. Ignore empty rpaths.
53392 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53393 with zero is_path.
53394
53395 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53396
53397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53398 Make cancelable.
53399
53400 2011-04-09 Ulrich Drepper <drepper@gmail.com>
53401
53402 [BZ #12655]
53403 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53404 Patch by Filipe David Manana <fdmanana@apache.org>.
53405
53406 2011-04-07 Andreas Schwab <schwab@redhat.com>
53407
53408 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53409 Maintain aligned stack.
53410 (CHECK_RSP): Remove unused macro.
53411
53412 2011-04-03 Ulrich Drepper <drepper@gmail.com>
53413
53414 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53415 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53416
53417 2011-04-02 Ulrich Drepper <drepper@gmail.com>
53418
53419 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53420
53421 * include/features.h: Mention __USE_XOPEN2K8 in comment.
53422
53423 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53424
53425 [BZ #12518]
53426 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53427 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53428 * sysdeps/x86_64/memmove.c: New file.
53429 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53430 (memcpy): Renamed to ...
53431 (__new_memcpy): This.
53432 (memcpy): Provide GLIBC_2_14 memcpy.
53433 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53434 (memcpy): Provide GLIBC_2_2_5 memcpy.
53435
53436 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53437
53438 [BZ #12631]
53439 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53440
53441 2011-03-30 Andreas Schwab <schwab@redhat.com>
53442
53443 * misc/syncfs.c: New file.
53444 * misc/Makefile (routines): Add syncfs.
53445 * posix/unistd.h: Declare syncfs.
53446 * sysdeps/unix/syscalls.list: Add syncfs.
53447
53448 2011-04-01 Andreas Schwab <schwab@redhat.com>
53449
53450 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53451 open_by_handle_at.
53452 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53453 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53454 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53455 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53456 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53457 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53458 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53459
53460 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53461
53462 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53463 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53464 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53465 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53466 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53467 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53468 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53469
53470 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53471 sync_file_range.c with -fexceptions.
53472 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53473 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53474 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53475 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53476 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53477 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53478 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53479 sync_file_range as cancellation point
53480 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53481 now a wrapper around __call_sync_file_range with cancellation handling.
53482 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53483 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53484 function name to __call_sync_file_range.
53485 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53486 Add call_sync_file_range.
53487
53488 2011-04-01 Andreas Schwab <schwab@redhat.com>
53489
53490 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53491 bits/timex.h.
53492
53493 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53494
53495 * iconv/iconv.h: Fix typo in comment.
53496 * io/fcntl.h: Likewise.
53497 * libio/stdio.h: Likewise.
53498 * posix/spawn.h: Likewise.
53499 * posix/unistd.h: Likewise.
53500 * stdlib/stdlib.h: Likewise.
53501 * time/time.h: Likewise.
53502 * wcsmbs/wchar.h: Likewise.
53503
53504 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53505 open_by_handle): Add.
53506 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53507 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53508 Augment a few comments.
53509 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53510 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53511 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53512 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53513 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53514 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53515 open_by_handle.
53516
53517 * io/fcntl.h (AT_EMPTY_PATH): Define.
53518
53519 2011-03-30 Ulrich Drepper <drepper@gmail.com>
53520
53521 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53522 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53523 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53524 to...
53525 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
53526 * Versions.def: Add GLIBC_2.14.
53527 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53528 Export.
53529
53530 2011-03-22 Ulrich Drepper <drepper@gmail.com>
53531
53532 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53533 round counter.
53534 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53535
53536 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53537
53538 [BZ #12597]
53539 * string/test-strncmp.c (do_page_test): New function.
53540 (check2): Likewise.
53541 (test_main): Call check2.
53542 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53543
53544 2011-03-20 Ulrich Drepper <drepper@gmail.com>
53545
53546 [BZ #12587]
53547 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53548 Handle cache information in CPU leaf 4.
53549 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53550
53551 2011-03-18 Ulrich Drepper <drepper@gmail.com>
53552
53553 [BZ #12583]
53554 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53555 character representation.
53556 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53557
53558 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53559
53560 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53561 END(__isnan) to END(__isnanf) to match function entry point/label
53562 EALIGN(__isnanf,...).
53563
53564 2011-03-10 Jakub Jelinek <jakub@redhat.com>
53565
53566 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53567
53568 2011-03-10 Ulrich Drepper <drepper@gmail.com>
53569
53570 [BZ #12510]
53571 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53572 copy from the symbol referenced in the relocation to initialize the
53573 used variable.
53574 Patch by Piotr Bury <pbury@goahead.com>.
53575 * elf/Makefile: Add rules to build and tst-unique3.
53576 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53577 * elf/tst-unique3.cc: New file.
53578 * elf/tst-unique3.h: New file.
53579 * elf/tst-unique3lib.cc: New file.
53580 * elf/tst-unique3lib2.cc: New file.
53581
53582 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53583
53584 2011-03-10 Mike Frysinger <vapier@gentoo.org>
53585
53586 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53587 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53588 to _start.
53589
53590 2011-03-06 Ulrich Drepper <drepper@gmail.com>
53591
53592 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53593 to-be-loaded object along a path to loader is ld.so.
53594
53595 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53596 Ulrich Drepper <drepper@gmail.com>
53597
53598 * sysdeps/x86_64/memset.S: After aligning destination, code
53599 branches to different locations depending on the value of
53600 misalignment, when multiarch is enabled. Fix this.
53601
53602 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53603
53604 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53605 Set _x86_64_preferred_memory_instruction for AMD processsors.
53606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53607 Set bit_Prefer_SSE_for_memop for AMD processors.
53608
53609 2011-03-04 Ulrich Drepper <drepper@gmail.com>
53610
53611 * libio/fmemopen.c (fmemopen): Optimize a bit.
53612
53613 2011-03-03 Andreas Schwab <schwab@redhat.com>
53614
53615 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53616
53617 2011-03-03 Roland McGrath <roland@redhat.com>
53618
53619 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53620
53621 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53622
53623 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53624 __bzero_ultra1 instead of __memset_ultra1.
53625
53626 2011-02-23 Andreas Schwab <schwab@redhat.com>
53627 Ulrich Drepper <drepper@gmail.com>
53628
53629 [BZ #12509]
53630 * include/link.h (struct link_map): Add l_orig_initfini.
53631 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53632 returning unsuccessfully.
53633 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53634 close of a file loaded at startup, restore the original l_initfini
53635 list.
53636 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53637 list, store the pointer.
53638 * elf/Makefile ($(objpfx)noload-mem): New rule.
53639 (noload-ENV): Define.
53640 (tests): Add $(objpfx)noload-mem.
53641 * elf/noload.c: Include <memcheck.h>.
53642 (main): Call mtrace. Close all opened handles.
53643
53644 2011-02-17 Andreas Schwab <schwab@redhat.com>
53645
53646 [BZ #12454]
53647 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53648 dependencies are missing.
53649
53650 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53651
53652 Fix __if_freereq crash: Unlike the generic version which uses free,
53653 Hurd needs munmap.
53654 * sysdeps/mach/hurd/ifreq.h: New file.
53655
53656 2011-01-27 Petr Baudis <pasky@suse.cz>
53657 Ulrich Drepper <drepper@gmail.com>
53658
53659 [BZ 12445]#
53660 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53661 to extend_alloca().
53662 * stdio-common/bug23.c: New file.
53663 * stdio-common/Makefile (tests): Add bug23.
53664
53665 2010-09-28 Andreas Schwab <schwab@redhat.com>
53666 Ulrich Drepper <drepper@gmail.com>
53667
53668 [BZ #12489]
53669 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53670 before performing relro protection. At old place add assertion
53671 to make sure nothing changed.
53672
53673 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53674 Glauber de Oliveira Costa <glommer@gmail.com>
53675
53676 * elf/elf.h: Add new ARM TLS relocs.
53677
53678 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53679
53680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53681 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53682 cast from r3.
53683 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53684 'tests' variable.
53685 * sysdeps/wordsize-64/tst-writev.c: New file.
53686
53687 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53688
53689 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53690 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53691 insns in _dl_start to prevent a TOC reference before relocs are
53692 resolved.
53693
53694 2011-02-15 Ulrich Drepper <drepper@gmail.com>
53695
53696 [BZ #12469]
53697 * Makeconfig: Remove RANLIB definition.
53698 * Makerules: Don't use RANLIB.
53699 * aclocal.m4: Remove ranlib test.
53700 * configure.in: No need to check for ranlib.
53701 * elf/rtld-Rules: Don't use RANLIB.
53702
53703 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53704
53705 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53706 protection macro.
53707 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53708 inclusion protection macro.
53709
53710 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53711 SIGRTMIN and SIGRTMAX and print information in that case only when
53712 SIGRTMIN is defined.
53713
53714 2011-02-11 Jakub Jelinek <jakub@redhat.com>
53715
53716 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53717 arginfo fn returning -1.
53718
53719 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53720 and thousands string is zero terminated.
53721
53722 2011-02-03 Andreas Schwab <schwab@redhat.com>
53723
53724 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53725 sysdeps/unix/sysv/linux/bits/socket.h.
53726
53727 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53728
53729 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53730 (__CPU_COUNT): Remove old macros.
53731 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53732 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53733 (__CPU_ALLOC, __CPU_FREE): Add macros.
53734 (__sched_cpualloc, __sched_cpufree): Add declarations.
53735
53736 2011-02-05 Ulrich Drepper <drepper@gmail.com>
53737
53738 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53739 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53740 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53741 (readdhstai): Return value of addhstaiX call.
53742 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53743 (addgrbyX): Return value returned by cache_addgr.
53744 (readdgrbyname): Return value returned by addgrbyX.
53745 (readdgrbygid): Likewise.
53746 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53747 (addpwbyX): Return value returned by cache_addpw.
53748 (readdpwbyname): Return value returned by addhstbyX.
53749 (readdpwbyuid): Likewise.
53750 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53751 (addservbyX): Return value returned by cache_addserv.
53752 (readdservbyname): Return value returned by addservbyX:
53753 (readdservbyport): Likewise.
53754 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53755 (addhstbyX): Return value returned by cache_addhst.
53756 (readdhstbyname): Return value returned by addhstbyX.
53757 (readdhstbyaddr): Likewise.
53758 (readdhstbynamev6): Likewise.
53759 (readdhstbyaddrv6): Likewise.
53760 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53761 (readdinitgroups): Return value returned by addinitgroupsX.
53762 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53763 (prune_cache): Keep track of timeout value of re-added entries.
53764 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53765 * nscd/nscd.h: Adjust prototypes of readd* functions.
53766
53767 2011-02-04 Roland McGrath <roland@redhat.com>
53768
53769 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53770 (nis_stats): Likewise.
53771 * nis/nis_modify.c (nis_modify): Likewise.
53772 * nis/nis_remove.c (nis_remove): Likewise.
53773 * nis/nis_add.c (nis_add): Likewise.
53774
53775 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53776
53777 * posix/fnmatch_loop.c: Add some consts.
53778
53779 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53780
53781 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53782
53783 [BZ #12460]
53784 * config.make.in (config-cflags-novzeroupper): Define.
53785 * configure.in: Substitute libc_cv_cc_novzeroupper.
53786 * elf/Makefile (AVX-CFLAGS): Define.
53787 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53788 (CFLAGS-tst-auditmod4a.c): Likewise.
53789 (CFLAGS-tst-auditmod4b.c): Likewise.
53790 (CFLAGS-tst-auditmod6b.c): Likewise.
53791 (CFLAGS-tst-auditmod6c.c): Likewise.
53792 (CFLAGS-tst-auditmod7b.c): Likewise.
53793 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53794
53795 2011-02-02 Ulrich Drepper <drepper@gmail.com>
53796
53797 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53798 function to the callback.
53799 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53800
53801 2011-02-02 Andreas Schwab <schwab@redhat.com>
53802
53803 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53804 of errno.
53805
53806 2011-01-19 Ulrich Drepper <drepper@gmail.com>
53807
53808 [BZ #11724]
53809 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53810 of constructors.
53811 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53812 of destructors.
53813 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53814
53815 [BZ #11724]
53816 * elf/Makefile: Add rules to build and run new test.
53817 * elf/tst-initorder.c: New file.
53818 * elf/tst-initorder.exp: New file.
53819 * elf/tst-initordera1.c: New file.
53820 * elf/tst-initordera2.c: New file.
53821 * elf/tst-initordera3.c: New file.
53822 * elf/tst-initordera4.c: New file.
53823 * elf/tst-initorderb1.c: New file.
53824 * elf/tst-initorderb2.c: New file.
53825 * elf/tst-order-a1.c: New file.
53826 * elf/tst-order-a2.c: New file.
53827 * elf/tst-order-a3.c: New file.
53828 * elf/tst-order-a4.c: New file.
53829 * elf/tst-order-b1.c: New file.
53830 * elf/tst-order-b2.c: New file.
53831 * elf/tst-order-main.c: New file.
53832 New test case by George Gensure <werkt0@gmail.com>.
53833
53834 2010-10-01 Andreas Schwab <schwab@redhat.com>
53835
53836 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53837 decoding ACE if AI_CANONIDN.
53838
53839 2011-01-18 Ulrich Drepper <drepper@gmail.com>
53840
53841 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53842
53843 2011-01-17 Ulrich Drepper <drepper@gmail.com>
53844
53845 * version.h (RELEASE): Bump for 2.13 release.
53846 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53847
53848 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53849
53850 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53851 MADV_NOHUGEPAGE.
53852 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53853 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53854 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53855 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53856 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53857 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53858
53859 * posix/getconf.c: Update copyright year.
53860 * catgets/gencat.c: Likewise.
53861 * csu/version.c: Likewise.
53862 * debug/catchsegv.sh: Likewise.
53863 * debug/xtrace.sh: Likewise.
53864 * elf/ldconfig.c: Likewise.
53865 * elf/ldd.bash.in: Likewise.
53866 * elf/sprof.c (print_version): Likewise.
53867 * iconv/iconv_prog.c: Likewise.
53868 * iconv/iconvconfig.c: Likewise.
53869 * locale/programs/locale.c: Likewise.
53870 * locale/programs/localedef.c: Likewise.
53871 * malloc/memusage.sh: Likewise.
53872 * malloc/mtrace.pl: Likewise.
53873 * nscd/nscd.c (print_version): Likewise.
53874 * nss/getent.c: Likewise.
53875
53876 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53877 PF_CAIF, and PF_ALG.
53878 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53879
53880 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
53881
53882 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53883 (modules-names): Use them.
53884 (ifunc-test-modules, ifunc-pie-tests): Define.
53885 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53886 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53887 (test-extras): Likewise.
53888 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53889 $(compile-command.c).
53890 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53891 (all-built-dso): Define.
53892 (check-textrel.out, check-execstack.out): Depend on it.
53893
53894 * configure.in: Don't override --enable-multi-arch.
53895
53896 2011-01-15 Ulrich Drepper <drepper@gmail.com>
53897
53898 [BZ #6812]
53899 * nscd/hstcache.c (tryagain): Define.
53900 (cache_addhst): Return tryagain not notfound for temporary errors.
53901 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53902 failed.
53903
53904 2011-01-14 Ulrich Drepper <drepper@gmail.com>
53905
53906 [BZ #10563]
53907 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53908 to make the syscall.
53909 * sysdeps/unix/sysv/linux/setgroups.c: New file.
53910
53911 [BZ #12378]
53912 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53913 and fall back to matching as normal character if the string ends before
53914 the matching ']' is found. This is what POSIX requires.
53915 * posix/testfnm.c: Adjust test result.
53916 * posix/globtest.sh: Adjust test result. Add new test.
53917 * posix/tst-fnmatch.input: Likewise.
53918 * posix/tst-fnmatch2.c: Add new test.
53919
53920 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
53921
53922 * elf/Makefile (check-execstack): Revert last change. Depend on
53923 check-execstack.h.
53924 (check-execstack.h): New target.
53925 (generated): Add check-execstack.h.
53926 * elf/check-execstack.c: Include "check-execstack.h".
53927 (main): Revert last change.
53928 (handle_file): Return zero if GNU_STACK is absent and
53929 DEFAULT_STACK_PERMS doesn't include PF_X.
53930
53931 2011-01-13 Ulrich Drepper <drepper@gmail.com>
53932
53933 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53934 in child fails because the descriptor is already closed.
53935 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53936 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53937 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53938
53939 [BZ #12397]
53940 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53941 syscall.
53942
53943 [BZ #10484]
53944 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53945 temporary buffer used to handle multi lookups locally.
53946 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53947
53948 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53949
53950 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53951 loader is ld.so.
53952
53953 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
53954
53955 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53956 alignment for SSE2.
53957
53958 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53959
53960 [BZ #12394]
53961 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53962 characters. When rounding increased number of integer digits recompute
53963 number of groups.
53964 * stdio-common/tst-grouping.c: New file.
53965 * stdio-common/Makefile: Add rules to build and run tst-grouping.
53966
53967 2011-01-09 Ulrich Drepper <drepper@gmail.com>
53968
53969 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53970 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
53971
53972 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53973 void.
53974 * bits/select.h: Likewise.
53975
53976 2011-01-08 Ulrich Drepper <drepper@gmail.com>
53977
53978 * po/ja.po: Update from translation team.
53979
53980 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
53981
53982 [BZ #11155]
53983 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53984 implementation just like for lxstat, fxstatat, et al.
53985
53986 2010-12-27 Jim Meyering <meyering@redhat.com>
53987
53988 [BZ #12348]
53989 * posix/regexec.c (build_trtable): Return failure indication upon
53990 calloc failure. Otherwise, re_search_internal could infloop on OOM.
53991
53992 2010-12-25 Ulrich Drepper <drepper@gmail.com>
53993
53994 [BZ #12201]
53995 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53996 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53997 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53998 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53999
54000 [BZ #12207]
54001 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54002
54003 [BZ #12204]
54004 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54005 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54006
54007 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54008
54009 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54010 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54011 script has SORT_BY_INIT_PRIORITY.
54012 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54013 NO_CTORS_DTORS_SECTIONS is defined.
54014 * elf/soinit.c: Likewise.
54015 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54016 NO_CTORS_DTORS_SECTIONS is defined.
54017 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54018 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54019 * sysdeps/sh/init-first.c: Likewise.
54020 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54021
54022 2010-12-24 Ulrich Drepper <drepper@gmail.com>
54023
54024 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54025 always use the slow path.
54026
54027 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54028
54029 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54030 similar rule which adds the sysdep directories to the header search in
54031 order to pick up the correct platform stackinfo.h.
54032 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54033 perform test if it is, otherwise return successfully without testing.
54034 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54035 DEFAULT_STACK_PERMS define in stackinfo.h.
54036 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54037 defined in stackinfo.h.
54038 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54039 DEFAULT_STACK_PERMS defined in stackinfo.h.
54040 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54041 * sysdeps/ia64/stackinfo.h: Likewise.
54042 * sysdeps/s390/stackinfo.h: Likewise.
54043 * sysdeps/sh/stackinfo.h: Likewise.
54044 * sysdeps/sparc/stackinfo.h: Likewise.
54045 * sysdeps/x86_64/stackinfo.h: Likewise.
54046 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54047 PF_X for powerpc64. Retain PF_X for powerpc32.
54048
54049 2010-12-19 Ulrich Drepper <drepper@gmail.com>
54050
54051 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54052 accurately.
54053 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54054 GETDENTS_64BIT_ALIGNED.
54055
54056 2010-12-14 Ulrich Drepper <dreper@gmail.com>
54057
54058 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54059
54060 2010-12-10 Andreas Schwab <schwab@redhat.com>
54061
54062 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54063 _GNU_SOURCE.
54064
54065 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54066 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54067 Remove __restrict.
54068 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54069 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54070
54071 2010-12-09 Ulrich Drepper <drepper@gmail.com>
54072
54073 [BZ #11655]
54074 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54075 are initialized.
54076
54077 2010-12-09 Jakub Jelinek <jakub@redhat.com>
54078
54079 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54080
54081 2010-12-03 Ulrich Drepper <drepper@gmail.com>
54082
54083 * po/it.po: Update from translation team.
54084
54085 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54086
54087 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54088 unused codes.
54089
54090 2010-11-30 Ulrich Drepper <drepper@gmail.com>
54091
54092 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54093
54094 2010-11-24 Andreas Schwab <schwab@redhat.com>
54095
54096 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54097 specially.
54098 (gaih_getanswer_slice): Likewise.
54099
54100 2010-10-20 Jakub Jelinek <jakub@redhat.com>
54101
54102 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54103
54104 2010-05-31 Petr Baudis <pasky@suse.cz>
54105
54106 [BZ #11149]
54107 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54108 silently even in the chroot mode.
54109
54110 2010-11-22 Ulrich Drepper <drepper@gmail.com>
54111
54112 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54113 last patch a bit. Pretty printing
54114
54115 2010-05-31 Petr Baudis <pasky@suse.cz>
54116
54117 [BZ #10085]
54118 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54119 initialization of skip_initgroups_dyn.
54120
54121 2010-11-19 Ulrich Drepper <drepper@gmail.com>
54122
54123 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54124 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54125
54126 2010-11-16 Ulrich Drepper <drepper@gmail.com>
54127
54128 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54129
54130 2010-11-11 Andreas Schwab <schwab@redhat.com>
54131
54132 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54133 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54134 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54135 ($(objpfx)tst-fnmatch-mem): New rule.
54136 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54137 * posix/tst-fnmatch.c (main): Call mtrace.
54138
54139 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54140
54141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54142 Support Intel processor model 6 and model 0x2c.
54143
54144 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
54145
54146 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54147 signed comparison.
54148
54149 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54150
54151 [BZ #12205]
54152 * string/test-strncasecmp.c (check_result): New function.
54153 (do_one_test): Use it.
54154 (check1): New function.
54155 (test_main): Use it.
54156 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54157 Support strcasecmp and strncasecmp.
54158
54159 2010-11-08 Ulrich Drepper <drepper@gmail.com>
54160
54161 [BZ #12194]
54162 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54163 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54164
54165 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54166
54167 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54168 IFUNC support.
54169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54170 memset-x86-64.
54171 * sysdeps/x86_64/multiarch/bzero.S: New file.
54172 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54173 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54174 * sysdeps/x86_64/multiarch/memset.S: New file.
54175 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54177 Set bit_Prefer_SSE_for_memop for Intel processors.
54178 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54179 Define.
54180 (index_Prefer_SSE_for_memop): Define.
54181 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54182
54183 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
54184
54185 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54186 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54187
54188 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54189
54190 [BZ #12191]
54191 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54192 (__x86_64_raw_data_cache_size_half): Likewise.
54193 (__x86_64_raw_shared_cache_size): Likewise.
54194 (__x86_64_raw_shared_cache_size_half): Likewise.
54195
54196 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54197 (__x86_64_raw_data_cache_size_half): Likewise.
54198 (__x86_64_raw_shared_cache_size): Likewise.
54199 (__x86_64_raw_shared_cache_size_half): Likewise.
54200 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54201 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54202 and __x86_64_raw_shared_cache_size_half. Round
54203 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54204 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54205 to multiple of 256 bytes.
54206
54207 2010-11-03 Ulrich Drepper <drepper@gmail.com>
54208
54209 [BZ #12167]
54210 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54211 of inacessible symlinks. Verify result of symlink before returning it.
54212 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54213 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54214
54215 2010-10-28 Erich Ritz <erichritz@gmail.com>
54216
54217 * math/math.h (isinf): Fix typo in comment.
54218
54219 2010-11-01 Ulrich Drepper <drepper@gmail.com>
54220
54221 * po/da.po: Update from translation team.
54222
54223 2010-10-26 Ulrich Drepper <drepper@gmail.com>
54224
54225 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54226 is added to the list.
54227
54228 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54229 Ulrich Drepper <drepper@gmail.com>
54230
54231 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54232 the global list here. Move code to...
54233 (_dl_add_to_namespace_list): ...here. New function.
54234 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54235 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54236 * elf/dl-load.c (lose): Don't remove the element from the list.
54237 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54238 (_dl_map_object): Likewise.
54239
54240 2010-10-25 Ulrich Drepper <drepper@gmail.com>
54241
54242 [BZ #12159]
54243 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54244 into all bytes of SSE register.
54245 Patch by Richard Li <richardpku@gmail.com>.
54246
54247 2010-10-24 Ulrich Drepper <drepper@gmail.com>
54248
54249 [BZ #12140]
54250 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54251 perturbing.
54252
54253 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54254
54255 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54256 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54257 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54258 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54260 submachine.
54261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54262
54263 2010-10-22 Andreas Schwab <schwab@redhat.com>
54264
54265 * include/dlfcn.h (__RTLD_SECURE): Define.
54266 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54267 mode & __RTLD_SECURE instead.
54268 (open_path): Rename preloaded parameter to secure.
54269 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54270 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54271 * elf/dl-deps.c (openaux): Likewise.
54272 * elf/rtld.c (struct map_args): Remove is_preloaded.
54273 (map_doit): Don't use it.
54274 (dl_main): Likewise.
54275 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54276 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54277
54278 2010-09-09 Andreas Schwab <schwab@redhat.com>
54279
54280 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54281 (sysd-rules-targets): Remove duplicates.
54282 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54283 rtld-%.$o dependency.
54284
54285 2010-10-18 Andreas Schwab <schwab@redhat.com>
54286
54287 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54288 _dl_map_object do it.
54289
54290 2010-10-19 Ulrich Drepper <drepper@gmail.com>
54291
54292 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54293 fast fma builtins, define the macros in the C99 standard.
54294 (FP_FAST_FMAF): Likewise.
54295 (FP_FAST_FMAL): Likewise.
54296 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54297
54298 * bits/mathdef.h: Update copyright year.
54299 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54300
54301 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54302
54303 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54304 builtins, define the macros in the C99 standard.
54305 (FP_FAST_FMAF): Likewise.
54306 (FP_FAST_FMAL): Likewise.
54307 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54308 multiply/add.
54309 (FP_FAST_FMAF): Likewise.
54310
54311 2010-10-15 Jakub Jelinek <jakub@redhat.com>
54312
54313 [BZ #3268]
54314 * math/libm-test.inc (fma_test): Some new testcases.
54315 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54316 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54317 y and infinite z. Do multiplication by C already in long double.
54318 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54320 y and infinite z. Do bitwise or of inexact bit into u.d.
54321 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54322 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54323 * sysdeps/i386/fpu/s_fma.S: Removed.
54324 * sysdeps/i386/fpu/s_fmal.S: Removed.
54325
54326 2010-10-16 Jakub Jelinek <jakub@redhat.com>
54327
54328 [BZ #3268]
54329 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54330 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54331 computation is not scheduled after fetestexcept. Fix value
54332 of minimum denormal long double.
54333
54334 2010-10-14 Jakub Jelinek <jakub@redhat.com>
54335
54336 [BZ #3268]
54337 * math/libm-test.inc (fma_test): Add some more tests.
54338 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54339 correctly.
54340
54341 2010-10-15 Andreas Schwab <schwab@redhat.com>
54342
54343 * scripts/data/localplt-s390-linux-gnu.data: New file.
54344 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54345
54346 2010-10-13 Jakub Jelinek <jakub@redhat.com>
54347
54348 [BZ #3268]
54349 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54350 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54351 instead of dbl-64.
54352 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54353 inlines.
54354 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54355 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54356 if one of x and y is very large and the other is subnormal.
54357 * sysdeps/s390/fpu/s_fmaf.c: New file.
54358 * sysdeps/s390/fpu/s_fma.c: New file.
54359 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54360 * sysdeps/powerpc/fpu/s_fma.S: New file.
54361 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54362 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54363 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54364
54365 2010-10-12 Jakub Jelinek <jakub@redhat.com>
54366
54367 [BZ #3268]
54368 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54369 fma tests.
54370 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54371 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54372 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54373 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54374 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54375 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54376 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54377
54378 2010-10-12 Ulrich Drepper <drepper@redhat.com>
54379
54380 [BZ #12078]
54381 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54382 * posix/bug-regex31.input: Add test case.
54383
54384 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54385
54386 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54387 * posix/bug-regex31.input: New file.
54388
54389 [BZ #12078]
54390 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54391 (parse_sub_exp): Fix last change, use postorder.
54392
54393 * posix/bug-regex31.c: New file.
54394 * posix/Makefile: Add rules to build and run bug-regex31.
54395
54396 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54397
54398 [BZ #12078]
54399 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54400
54401 [BZ #12108]
54402 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54403 to have entries in sys_siglist.
54404
54405 [BZ #12093]
54406 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54407 be NULL.
54408
54409 2010-10-07 Jakub Jelinek <jakub@redhat.com>
54410
54411 [BZ #3268]
54412 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54413 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54414 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54415 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54416 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54417 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54418 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54419 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54420 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54421 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54422 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54423 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54424 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54425 * math/ftestexcept.c (fetestexcept): Likewise.
54426 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54427 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54428 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54429 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54430 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54431 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54432 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54433
54434 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54435
54436 [BZ #12107]
54437 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54438 newline.
54439
54440 2010-10-06 Ulrich Drepper <drepper@gmail.com>
54441
54442 * string/bug-strstr1.c: New file.
54443 * string/Makefile: Add rules to build and run bug-strstr1.
54444
54445 2010-10-05 Eric Blake <eblake@redhat.com>
54446
54447 [BZ #12092]
54448 * string/str-two-way.h (two_way_long_needle): Always clear memory
54449 when skipping input due to the shift table.
54450
54451 2010-10-03 Ulrich Drepper <drepper@gmail.com>
54452
54453 [BZ #12005]
54454 * malloc/mcheck.c: Handle large requests.
54455
54456 [BZ #12077]
54457 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54458 for strncmp and strncasecmp.
54459 * string/stratcliff.c: Add tests for strcmp and strncmp.
54460 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54461
54462 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54463
54464 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54465 __set_fpscr.
54466
54467 2010-09-30 Andreas Jaeger <aj@suse.de>
54468
54469 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54470 (CGROUP_SUPER_MAGIC): Define.
54471 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54472 Handle btrfs and cgroup file systems.
54473 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54474 Likewise.
54475
54476 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
54477
54478 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54479 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54480
54481 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54482
54483 [BZ #12067]
54484 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54485 trying to locate the ELF header.
54486
54487 2010-09-27 Andreas Schwab <schwab@redhat.com>
54488
54489 [BZ #11611]
54490 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54491 Mask out sign-bit copies when constructing f_fsid.
54492
54493 2010-09-24 Petr Baudis <pasky@suse.cz>
54494
54495 * debug/stack_chk_fail_local.c: Add missing licence exception.
54496 * debug/warning-nop.c: Likewise.
54497
54498 2010-09-15 Joseph Myers <joseph@codesourcery.com>
54499
54500 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54501 implementing getdents64 using getdents syscall, set d_type if
54502 __ASSUME_GETDENTS32_D_TYPE.
54503
54504 2010-09-16 Andreas Schwab <schwab@redhat.com>
54505
54506 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54507 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54508
54509 2010-09-21 Ulrich Drepper <drepper@redhat.com>
54510
54511 [BZ #12037]
54512 * posix/unistd.h: Undo change of feature selection for ftruncate from
54513 2010-01-11.
54514
54515 2010-09-20 Ulrich Drepper <drepper@redhat.com>
54516
54517 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54518 detection.
54519
54520 2010-09-20 Andreas Schwab <schwab@redhat.com>
54521
54522 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54523 fanotify_mark.
54524 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54525
54526 2010-09-14 Andreas Schwab <schwab@redhat.com>
54527
54528 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54529 variables after CHECK_SP call.
54530 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54531
54532 2010-09-13 Andreas Schwab <schwab@redhat.com>
54533 Ulrich Drepper <drepper@redhat.com>
54534
54535 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54536 re-relocationg ld.so.
54537 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54538 _dl_init_paths call.
54539 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54540 here anymore.
54541
54542 2010-09-14 Ulrich Drepper <drepper@redhat.com>
54543
54544 * resolv/res_init.c (__res_vinit): Count the default server we added.
54545
54546 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54547 Ulrich Drepper <drepper@redhat.com>
54548
54549 [BZ #11968]
54550 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54551 (____longjmp_chk): Use %ebx for saving value across system call.
54552 Add unwind info.
54553
54554 2010-09-06 Andreas Schwab <schwab@redhat.com>
54555
54556 * manual/Makefile: Don't mix pattern rules with normal rules.
54557
54558 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54559
54560 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54561 operation.
54562 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54563 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54564 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54565 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54566 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54567 Likewise.
54568
54569 2010-09-04 Ulrich Drepper <drepper@redhat.com>
54570
54571 [BZ #11979]
54572 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54573 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54574
54575 2010-09-02 Ulrich Drepper <drepper@redhat.com>
54576
54577 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54578 * sysdeps/x86_64/addmul_1.S: Likewise.
54579 * sysdeps/x86_64/lshift.S: Likewise.
54580 * sysdeps/x86_64/mul_1.S: Likewise.
54581 * sysdeps/x86_64/rshift.S: Likewise.
54582 * sysdeps/x86_64/sub_n.S: Likewise.
54583 * sysdeps/x86_64/submul_1.S: Likewise.
54584
54585 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54586
54587 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54588 Define __sched_param instead of SCHED_* and sched_param when
54589 <bits/sched.h> is included with __need_schedparam defined.
54590 * bits/sched.h [__need_schedparam]
54591 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54592 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54593 (__defined_schedparam): Define to 1.
54594 (__sched_param): New structure, identical to sched_param.
54595 (__need_schedparam): Undefine.
54596
54597 2010-08-31 Mike Frysinger <vapier@gentoo.org>
54598
54599 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54600 (epoll_create1): Declare.
54601
54602 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54603
54604 2010-08-31 Andreas Schwab <schwab@redhat.com>
54605
54606 [BZ #7066]
54607 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54608 shifting retval into place.
54609
54610 2010-09-01 Ulrich Drepper <drepper@redhat.com>
54611
54612 * nis/rpcsvc/nis.h: Update copyright notice.
54613 * nis/rpcsvc/nis.x: Likewise.
54614 * nis/rpcsvc/nis_callback.h: Likewise.
54615 * nis/rpcsvc/nis_callback.x: Likewise.
54616 * nis/rpcsvc/nis_object.x: Likewise.
54617 * nis/rpcsvc/nis_tags.h: Likewise.
54618 * nis/rpcsvc/yp.h: Likewise.
54619 * nis/rpcsvc/yp.x: Likewise.
54620 * nis/rpcsvc/ypupd.h: Likewise.
54621 * nis/yp_xdr.c: Likewise.
54622 * nis/ypupdate_xdr.c: Likewise.
54623
54624 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54625 mainly the body of pmap_getport. Add parameters to specify timeouts.
54626 (pmap_getport): Use __libc_rpc_getport.
54627 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54628 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54629 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54630
54631 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54632
54633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54634 fanotify_mark.
54635
54636 2010-08-27 Roland McGrath <roland@redhat.com>
54637
54638 * sysdeps/i386/i686/multiarch/Makefile
54639 (CFLAGS-varshift.c): New variable.
54640
54641 2010-08-27 Ulrich Drepper <drepper@redhat.com>
54642
54643 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54644 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54645
54646 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54647
54648 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54649
54650 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54651
54652 * sysdeps/x86_64/strlen.S: Unroll the loop.
54653 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54654 strlen-sse2 strlen-sse2-bsf.
54655 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54656 __strlen_no_bsf if bit_Slow_BSF is set.
54657 (__strlen_sse42): Removed.
54658 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54659 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54660
54661 2010-08-25 Roland McGrath <roland@redhat.com>
54662
54663 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54664 * sysdeps/x86_64/multiarch/varshift.c: New file.
54665 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54666 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54667 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54668 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54669
54670 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54671
54672 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54673 strlen-sse2 strlen-sse2-bsf.
54674 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54675 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54676 (__strlen_sse2): Removed.
54677 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54678 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54680 bit_Slow_BSF for Atom.
54681 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54682 (index_Slow_BSF): Define.
54683 (HAS_SLOW_BSF): Define.
54684
54685 2010-08-25 Ulrich Drepper <drepper@redhat.com>
54686
54687 [BZ #10851]
54688 * resolv/res_init.c (__res_vinit): When no server address at all
54689 is given default to loopback.
54690
54691 2010-08-24 Roland McGrath <roland@redhat.com>
54692
54693 * configure.in: Remove config-name.h generation.
54694 * configure: Regenerated.
54695 * config-name.in: File removed.
54696 * scripts/config-uname.sh: New file.
54697 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54698 ($(objdir)config-name.h): New target.
54699
54700 * sunrpc/rpc_parse.h: Avoid nested comment.
54701
54702 2010-08-24 Richard Henderson <rth@redhat.com>
54703 Ulrich Drepper <drepper@redhat.com>
54704 H.J. Lu <hongjiu.lu@intel.com>
54705
54706 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54708 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54709 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54710 _mm_alignr_epi8 with _mm_loadu_si128.
54711 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54712 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54713 (__m128i_shift_right): Removed.
54714 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54715 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54716 * sysdeps/x86_64/multiarch/varshift.h: New file.
54717 * sysdeps/x86_64/multiarch/varshift.S: New file.
54718
54719 2010-08-21 Mike Frysinger <vapier@gentoo.org>
54720
54721 * configure.in: Move assembler checks to before sysdep dir checking.
54722
54723 2010-08-20 Petr Baudis <pasky@suse.cz>
54724
54725 * LICENSES: Sync the sunrpc license.
54726
54727 2010-08-19 Ulrich Drepper <drepper@redhat.com>
54728
54729 * sunrpc/auth_des.c: Update copyright notice once again.
54730 * sunrpc/auth_none.c: Likewise.
54731 * sunrpc/auth_unix.c: Likewise.
54732 * sunrpc/authdes_prot.c: Likewise.
54733 * sunrpc/authuxprot.c: Likewise.
54734 * sunrpc/bindrsvprt.c: Likewise.
54735 * sunrpc/clnt_gen.c: Likewise.
54736 * sunrpc/clnt_perr.c: Likewise.
54737 * sunrpc/clnt_raw.c: Likewise.
54738 * sunrpc/clnt_simp.c: Likewise.
54739 * sunrpc/clnt_tcp.c: Likewise.
54740 * sunrpc/clnt_udp.c: Likewise.
54741 * sunrpc/clnt_unix.c: Likewise.
54742 * sunrpc/des_crypt.c: Likewise.
54743 * sunrpc/des_soft.c: Likewise.
54744 * sunrpc/get_myaddr.c: Likewise.
54745 * sunrpc/getrpcport.c: Likewise.
54746 * sunrpc/key_call.c: Likewise.
54747 * sunrpc/key_prot.c: Likewise.
54748 * sunrpc/openchild.c: Likewise.
54749 * sunrpc/pm_getmaps.c: Likewise.
54750 * sunrpc/pm_getport.c: Likewise.
54751 * sunrpc/pmap_clnt.c: Likewise.
54752 * sunrpc/pmap_prot.c: Likewise.
54753 * sunrpc/pmap_prot2.c: Likewise.
54754 * sunrpc/pmap_rmt.c: Likewise.
54755 * sunrpc/rpc/auth.h: Likewise.
54756 * sunrpc/rpc/auth_unix.h: Likewise.
54757 * sunrpc/rpc/clnt.h: Likewise.
54758 * sunrpc/rpc/des_crypt.h: Likewise.
54759 * sunrpc/rpc/key_prot.h: Likewise.
54760 * sunrpc/rpc/netdb.h: Likewise.
54761 * sunrpc/rpc/pmap_clnt.h: Likewise.
54762 * sunrpc/rpc/pmap_prot.h: Likewise.
54763 * sunrpc/rpc/pmap_rmt.h: Likewise.
54764 * sunrpc/rpc/rpc.h: Likewise.
54765 * sunrpc/rpc/rpc_des.h: Likewise.
54766 * sunrpc/rpc/rpc_msg.h: Likewise.
54767 * sunrpc/rpc/svc.h: Likewise.
54768 * sunrpc/rpc/svc_auth.h: Likewise.
54769 * sunrpc/rpc/types.h: Likewise.
54770 * sunrpc/rpc/xdr.h: Likewise.
54771 * sunrpc/rpc_clntout.c: Likewise.
54772 * sunrpc/rpc_cmsg.c: Likewise.
54773 * sunrpc/rpc_common.c: Likewise.
54774 * sunrpc/rpc_cout.c: Likewise.
54775 * sunrpc/rpc_dtable.c: Likewise.
54776 * sunrpc/rpc_hout.c: Likewise.
54777 * sunrpc/rpc_main.c: Likewise.
54778 * sunrpc/rpc_parse.c: Likewise.
54779 * sunrpc/rpc_parse.h: Likewise.
54780 * sunrpc/rpc_prot.c: Likewise.
54781 * sunrpc/rpc_sample.c: Likewise.
54782 * sunrpc/rpc_scan.c: Likewise.
54783 * sunrpc/rpc_scan.h: Likewise.
54784 * sunrpc/rpc_svcout.c: Likewise.
54785 * sunrpc/rpc_tblout.c: Likewise.
54786 * sunrpc/rpc_util.c: Likewise.
54787 * sunrpc/rpc_util.h: Likewise.
54788 * sunrpc/rpcinfo.c: Likewise.
54789 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54790 * sunrpc/rpcsvc/key_prot.x: Likewise.
54791 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54792 * sunrpc/rpcsvc/mount.x: Likewise.
54793 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54794 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54795 * sunrpc/rpcsvc/rex.x: Likewise.
54796 * sunrpc/rpcsvc/rstat.x: Likewise.
54797 * sunrpc/rpcsvc/rusers.x: Likewise.
54798 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54799 * sunrpc/rpcsvc/spray.x: Likewise.
54800 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54801 * sunrpc/rtime.c: Likewise.
54802 * sunrpc/svc.c: Likewise.
54803 * sunrpc/svc_auth.c: Likewise.
54804 * sunrpc/svc_authux.c: Likewise.
54805 * sunrpc/svc_raw.c: Likewise.
54806 * sunrpc/svc_run.c: Likewise.
54807 * sunrpc/svc_simple.c: Likewise.
54808 * sunrpc/svc_tcp.c: Likewise.
54809 * sunrpc/svc_udp.c: Likewise.
54810 * sunrpc/svc_unix.c: Likewise.
54811 * sunrpc/svcauth_des.c: Likewise.
54812 * sunrpc/xcrypt.c: Likewise.
54813 * sunrpc/xdr.c: Likewise.
54814 * sunrpc/xdr_array.c: Likewise.
54815 * sunrpc/xdr_float.c: Likewise.
54816 * sunrpc/xdr_mem.c: Likewise.
54817 * sunrpc/xdr_rec.c: Likewise.
54818 * sunrpc/xdr_ref.c: Likewise.
54819 * sunrpc/xdr_sizeof.c: Likewise.
54820 * sunrpc/xdr_stdio.c: Likewise.
54821
54822 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54823 handling.
54824
54825 2010-08-19 Andreas Schwab <schwab@redhat.com>
54826
54827 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54828
54829 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
54830
54831 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54832 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54833 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54834 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54835 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54836 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54837 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54838 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54839 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54840 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54841 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54842 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54843 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54844 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54845
54846 2010-07-26 Anton Blanchard <anton@samba.org>
54847
54848 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54849 * malloc/arena.c (heap_trim): Likewise.
54850
54851 2010-08-16 Ulrich Drepper <drepper@redhat.com>
54852
54853 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54854 here. Not...
54855 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54856 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54857
54858 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54859
54860 * sysdeps/i386/elf/Makefile: New file.
54861
54862 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54863
54864 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54865 from fanotify_init.
54866 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54867 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54868
54869 2010-08-15 Ulrich Drepper <drepper@redhat.com>
54870
54871 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54872 of strncasecmp_l.
54873 * sysdeps/multiarch/strcmp.S: Likewise.
54874
54875 2010-08-14 Ulrich Drepper <drepper@redhat.com>
54876
54877 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54878 strncase_l-nonascii.
54879 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54880 Add strncase_l-ssse3.
54881 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54882 * sysdeps/x86_64/strcmp.S: Likewise.
54883 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54884 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54885 * sysdeps/x86_64/strncase.S: New file.
54886 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54887 * sysdeps/x86_64/strncase_l.S: New file.
54888 * string/Makefile (strop-tests): Add strncasecmp.
54889 * string/test-strncasecmp.c: New file.
54890
54891 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54892 warning.
54893
54894 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54895 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54896
54897 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54898
54899 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54900
54901 2010-08-12 Ulrich Drepper <drepper@redhat.com>
54902
54903 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54904 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54905 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54906
54907 2010-05-01 Alan Modra <amodra@gmail.com>
54908
54909 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54910 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54911 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54912 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54913 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54914 tidying. Don't tail-call __sigjmp_save for static lib.
54915 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54916 save location.
54917 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54918 (CALL_MCOUNT): Add eh info, and nop after bl.
54919 (TAIL_CALL_SYSCALL_ERROR): New macro.
54920 (PSEUDO_RET): Use it.
54921 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54922 Correct save location of integer regs and cr.
54923 (_dl_profile_resolve): Correct cr save location. Delete nops
54924 after bl when SHARED. Reduce cfi size a little by better
54925 placement of cfi directives.
54926 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54927 make a stack frame. Instead use parm save area as a temp.
54928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54929 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
54930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54931 Don't make a stack frame for parent, use parm save area.
54932 Increase child stack frame to 112 bytes. Don't save unused reg,
54933 and adjust reg usage. Set up cfi on error recovery and
54934 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54936 (__makecontext): Add dummy nop after jump to exit.
54937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54938 Use correct parm save area and cr save, reduce stack frame.
54939 Correct cfi for possible PSEUDO_RET frame setup.
54940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54941 Branch to local label emitted by PSEUDO_RET rather than
54942 __syscall_error.
54943
54944 2010-08-12 Andreas Schwab <schwab@redhat.com>
54945
54946 [BZ #11904]
54947 * locale/programs/locale.c (print_assignment): New function.
54948 (show_locale_vars): Use it.
54949
54950 2010-08-11 Ulrich Drepper <drepper@redhat.com>
54951
54952 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54953 field.
54954 (struct statfs64): Likewise.
54955 (_STATFS_F_FLAGS): Define.
54956 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54957 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54958 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54959 (ST_VALID): Define locally.
54960 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54961 __statvfs_getflags, use the provided value.
54962 * sysdeps/unix/sysv/linux/kernel-features.h: Define
54963 __ASSUME_STATFS_F_FLAGS.
54964
54965 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54966
54967 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54968 Add sys/fanotify.h.
54969 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54970 fanotify_mask for GLIBC_2.13.
54971 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54972 fanotify_init and fanotify_mark.
54973 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54974 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54975
54976 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54977 Add prlimit.
54978 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54979 prlimit64 for GLIBC_2.13.
54980 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54981 prlimit64.
54982 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54983 syscall.
54984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54985 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54986 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54987 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54988 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
54989 add prlimit alias.
54990 * sysdeps/unix/sysv/linux/prlimit.c: New file.
54991
54992 [BZ #11903]
54993 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54994 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54995
54996 * nss/Makefile: Add rules to build and run tst-nss-test1.
54997 * shlib-versions: Add entry for libnss_test1.
54998 * nss/nss_test1.c: New file.
54999 * nss/tst-nss-test1.c: New file.
55000
55001 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55002 (__nss_configure_lookup): Set appropriate entry in
55003 __nss_configure_lookup to true.
55004 * nss/nsswitch.h: Define enum with indeces of databases in
55005 databases and __nss_database_custom arrays. Declare
55006 __nss_database_custom.
55007 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55008 to avoid using nscd when custom rules are installed.
55009 * nss/getXXbyYY_r.c: Likewise.
55010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55011
55012 * nss/nss_files/files-parse.c: Whitespace fixes.
55013
55014 2010-08-09 Ulrich Drepper <drepper@redhat.com>
55015
55016 [BZ #11883]
55017 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55018 * posix/fnmatch_loop.c: Likewise.
55019
55020 2010-07-17 Andi Kleen <ak@linux.intel.com>
55021
55022 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55023 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55024 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55025 * Versions.def [GLIBC_2.13]: Add.
55026
55027 2010-08-06 Ulrich Drepper <drepper@redhat.com>
55028
55029 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55030 Also fail if tpwd after pwuid call is NULL.
55031
55032 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55033
55034 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55035 when converting to ms.
55036
55037 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55038
55039 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55040 EOPNOTSUPP errors with ENOTTY.
55041 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55042 EOPNOTSUPP errors with ENOTTY.
55043
55044 2010-07-31 Ulrich Drepper <drepper@redhat.com>
55045
55046 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55047 Add strcasecmp_l-ssse3.
55048 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55049 strcasecmp.
55050 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55051 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55052 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55053
55054 2010-07-30 Ulrich Drepper <drepper@redhat.com>
55055
55056 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55057
55058 * string/Makefile (strop-tests): Add strcasecmp.
55059 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55060 strcasecmp_l-nonascii.
55061 (gen-as-const-headers): Add locale-defines.sym.
55062 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55063 * sysdeps/x86_64/strcasecmp.S: New file.
55064 * sysdeps/x86_64/strcasecmp_l.S: New file.
55065 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55066 * sysdeps/x86_64/locale-defines.sym: New file.
55067 * string/test-strcasecmp.c: New file.
55068
55069 * string/test-strcasestr.c: Test both ends of the range of characters.
55070 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55071
55072 2010-07-29 Roland McGrath <roland@redhat.com>
55073
55074 [BZ #11856]
55075 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55076
55077 2010-07-27 Ulrich Drepper <drepper@redhat.com>
55078
55079 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55080 for ld.so.
55081
55082 2010-07-27 Andreas Schwab <schwab@redhat.com>
55083
55084 * manual/memory.texi (Malloc Tunable Parameters): Document
55085 M_PERTURB.
55086
55087 2010-07-26 Roland McGrath <roland@redhat.com>
55088
55089 [BZ #11840]
55090 * configure.in (-fgnu89-inline check): Set and substitute
55091 gnu89_inline, not libc_cv_gnu89_inline.
55092 * configure: Regenerated.
55093 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55094
55095 2010-07-26 Ulrich Drepper <drepper@redhat.com>
55096
55097 * string/test-strnlen.c: New file.
55098 * string/Makefile (strop-tests): Add strnlen.
55099 * string/tester.c (test_strnlen): Add a few more test cases.
55100 * string/tst-strlen.c: Better error reporting.
55101
55102 * sysdeps/x86_64/strnlen.S: New file.
55103
55104 2010-07-24 Ulrich Drepper <drepper@redhat.com>
55105
55106 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55107 lower-latency instructions.
55108
55109 2010-07-23 Ulrich Drepper <drepper@redhat.com>
55110
55111 * string/test-strcasestr.c: New file.
55112 * string/test-strstr.c: New file.
55113 * string/Makefile (strop-tests): Add strstr and strcasestr.
55114 * string/str-two-way.h: Don't undefine MAX.
55115 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55116
55117 2010-07-21 Andreas Schwab <schwab@redhat.com>
55118
55119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55120 strcasestr-nonascii.
55121 (CFLAGS-strcasestr-nonascii.c): Define.
55122 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55123 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55124 Remove unused attribute.
55125
55126 2010-07-20 Roland McGrath <roland@redhat.com>
55127
55128 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55129 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55130 ld.so.cache was broken. With it, there is no way to disable dsocaps
55131 like LD_HWCAP_MASK can disable hwcaps.
55132
55133 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55134
55135 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55136
55137 2010-07-16 Ulrich Drepper <drepper@redhat.com>
55138
55139 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55140 call in strcasestr.
55141 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55142 __strcasestr_sse42_nonascii.
55143 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55144 strcasestr-nonascii.c.
55145 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55146
55147 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
55148
55149 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55150 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55151 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55152 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55153
55154 2010-07-09 Ulrich Drepper <drepper@redhat.com>
55155
55156 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55157 fcntl.
55158
55159 2010-07-06 Andreas Schwab <schwab@redhat.com>
55160
55161 [BZ #11577]
55162 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55163 dl_signal_cerror.
55164
55165 2010-07-06 Ulrich Drepper <drepper@redhat.com>
55166
55167 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55168 _PC_PIPE_BUF using F_GETPIPE_SZ.
55169
55170 2010-07-05 Roland McGrath <roland@redhat.com>
55171
55172 * manual/arith.texi (Rounding Functions): Fix rint description
55173 implicit in round description.
55174
55175 2010-07-02 Ulrich Drepper <drepper@redhat.com>
55176
55177 * elf/Makefile: Fix linking for a few tests to make recent linker
55178 happy.
55179
55180 2010-06-30 Andreas Schwab <schwab@redhat.com>
55181
55182 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55183 $(common-objpfx)libc_nonshared.a.
55184
55185 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
55186
55187 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55188 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55189 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55190 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55191 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55192 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55193 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55194 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55209 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55210 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55211 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55212 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55213 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55214 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55215 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55216 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55217 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55218 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55219 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55220 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55235
55236 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55237
55238 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55239 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55240 * string/memmove.c (memmove): Renamed to ...
55241 (MEMMOVE): ...this. Default to memmove.
55242 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55243 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55244 (END_CHK): Define.
55245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55246 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55247 mempcpy-ssse3-back memmove-ssse3-back.
55248 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55249 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55250 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55251 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55252 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55253 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55254 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55255 * sysdeps/x86_64/multiarch/memmove.c: New file.
55256 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55257 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55258 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55259 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55260 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55261 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55262 Define.
55263 (index_Fast_Copy_Backward): Define.
55264 (HAS_ARCH_FEATURE): Define.
55265 (HAS_FAST_REP_STRING): Define.
55266 (HAS_FAST_COPY_BACKWARD): Define.
55267
55268 2010-06-21 Andreas Schwab <schwab@redhat.com>
55269
55270 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55271 Restore proper fallback handling.
55272
55273 2010-06-19 Ulrich Drepper <drepper@redhat.com>
55274
55275 [BZ #11701]
55276 * posix/group_member.c (__group_member): Correct checking loop.
55277
55278 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55279 OOM in getpwuid_r correctly. Return error number when the caller
55280 should return, otherwise -1.
55281 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55282 call returning > 0 value.
55283 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55284
55285 2010-06-07 Andreas Schwab <schwab@redhat.com>
55286
55287 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55288 libc_nonshared.a from targets in modules-names.
55289
55290 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55291
55292 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55293 requires it.
55294
55295 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
55296
55297 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55298 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55299 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55300 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55301
55302 2010-06-02 Andreas Schwab <schwab@redhat.com>
55303
55304 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55305
55306 2010-06-14 Ulrich Drepper <drepper@redhat.com>
55307
55308 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55309 and F_GETPIPE_SZ.
55310 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55311 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55312 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55313 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55314 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55315 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55316
55317 2010-06-14 Roland McGrath <roland@redhat.com>
55318
55319 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55320
55321 2010-06-07 Jakub Jelinek <jakub@redhat.com>
55322
55323 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55324 __REDIRECT followed by __THROW.
55325 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55326 * posix/getopt.h (getopt): Likewise.
55327
55328 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55329
55330 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55331 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55332 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55333 in AT_FLAGS.
55334 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55335 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55336
55337 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
55338
55339 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55340
55341 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55342
55343 [BZ #11640]
55344 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55345 Properly check family and model.
55346
55347 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55348
55349 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55350
55351 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
55352
55353 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55354
55355 2010-05-21 Ulrich Drepper <drepper@redhat.com>
55356
55357 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55358 symbol reference.
55359
55360 2010-05-19 Andreas Schwab <schwab@redhat.com>
55361
55362 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55363 symbol reference.
55364
55365 2010-05-21 Andreas Schwab <schwab@redhat.com>
55366
55367 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55368 and internal_recvmmsg.
55369 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55370 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55371 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55372 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55373
55374 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55375 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55376 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55377
55378 2010-05-20 Andreas Schwab <schwab@redhat.com>
55379
55380 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55381
55382 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
55383
55384 POWER7 optimizations.
55385 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55386 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55387
55388 2010-05-19 Ulrich Drepper <drepper@redhat.com>
55389
55390 * version.h: Update for 2.13 development version.
55391
55392 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
55393
55394 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55395 exceptions. Return 0.
55396
55397 2010-05-07 Roland McGrath <roland@redhat.com>
55398
55399 * elf/ldconfig.c (main): Add a const.
55400
55401 2010-05-06 Ulrich Drepper <drepper@redhat.com>
55402
55403 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55404 (args_options): Add no-idn option.
55405 (ahosts_keys_int): Add idn_flags to ai_flags.
55406 (parse_option): Handle 'i' option to clear idn_flags.
55407
55408 * malloc/malloc.c (_int_free): Possible race in the most recently
55409 added check. Only act on the data if no current modification
55410 happened.
55411
55412 See ChangeLog.17 for earlier changes.
This page took 2.691048 seconds and 6 git commands to generate.